/* ================================================================
   01. 테마별 대표 색상 5개 / 공통 색상 토큰
   색상 변수 및 테마별 기본값 | 22개 규칙
   ================================================================ */


/* ================================================================
   02. 최상단 헤더 / 로고 / 퀵링크
   로고·헤더·상단 바로가기 | 11개 규칙
   ================================================================ */


/* ================================================================
   03. 상단 내비게이션 / 전체 플랫폼
   메인 메뉴·선택 상태·드롭다운 | 56개 규칙
   ================================================================ */
html .head_div_row:has(> .head_div_warp > .head_div_right[style*="width:212px"]) .menu_divid_rsub {display:none!important;}html .head_div_warp .menu_divid_sub,
html .head_div_warp .menu_divid_rsub {border-right-color:var(--eh-border-level4,var(--theme-divider))!important;
  border-left-color:transparent!important;}

/* ================================================================
   04. 상단 검색창
   검색 필드·버튼 | 12개 규칙
   ================================================================ */
html .eh-header-search.eh-search-blue .eh-search-action button,
html .eh-header-search.eh-search-blue .eh-search-action button {background:var(--theme-main)!important;
  background-image:none!important;
  border-color:var(--eh-border-level4,var(--theme-divider))!important;
  color:var(--theme-button)!important;}html .eh-header-search.eh-search-blue .eh-search-action button:hover {background:var(--theme-main)!important;
  background-image:none!important;}

/* ================================================================
   05. 이벤트 목록 / 보기 전환
   목록 헤더·행·정렬·목록 전환 | 45개 규칙
   ================================================================ */
.eh-list-switch {display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:600;line-height:23px;vertical-align:middle;color:var(--theme-button)!important;white-space:nowrap}
.eh-list-switch::before {content:"";display:inline-block;flex:none;width:13px;height:13px;box-sizing:border-box;background:currentColor}
.eh-list-switch--list::before {background:repeating-linear-gradient(to bottom,currentColor 0 2px,transparent 2px 5px);border-left:1px solid currentColor}
.eh-list-switch--preview::before {border:1px solid currentColor;border-radius:2px;background:linear-gradient(currentColor,currentColor) 2px 2px / 3px 3px no-repeat,linear-gradient(currentColor,currentColor) 7px 2px / 3px 3px no-repeat,linear-gradient(currentColor,currentColor) 2px 7px / 3px 3px no-repeat,linear-gradient(currentColor,currentColor) 7px 7px / 3px 3px no-repeat}
.eh-list-switch {color:var(--theme-button)!important}
.eh-list-switch::before {content:""!important;display:inline-block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;box-sizing:border-box!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;vertical-align:middle!important}
.eh-list-switch--list::before {background:linear-gradient(to bottom, currentColor 0 2px, transparent 2px 6px, currentColor 6px 8px, transparent 8px 12px, currentColor 12px 14px)!important}
.eh-list-switch--preview::before {border:1px solid currentColor!important;border-radius:2px!important;background:linear-gradient(currentColor,currentColor) 6px 0 / 1px 100% no-repeat,linear-gradient(currentColor,currentColor) 0 6px / 100% 1px no-repeat!important}html .head_div_row {box-sizing:border-box;width:100%;
  border:1px solid var(--eh-border-level4,var(--theme-divider))!important;
  border-left-width:1px!important;
  border-right-width:1px!important;
  border-bottom-width:1px!important;
  border-radius:0 0 10px 10px;}html .head_div_row > .head_div_warp {box-sizing:border-box;
  height:100%;
  border:0!important;
  border-radius:0 0 8px 8px;}html .head_div_row > .head_div_warp {background:none!important;
  background-image:none!important;}html .head_div_warp .head_div_left,
html .head_div_warp .head_div_right,
html .head_div_warp .head_div_left *,
html .head_div_warp .head_div_right * {color:var(--eh-t-accent,var(--theme-dark))!important;
  -webkit-text-fill-color:var(--eh-t-accent,var(--theme-dark))!important;
  text-shadow:none!important;}

/* ================================================================
   06. AJAX 상세보기 / 상세 팝업
   상세 정보·모달·주최회사 | 29개 규칙
   ================================================================ */
html .list_detail .detail_td,html .eh-detail-modal__body .detail_td {display:flex!important;align-items:stretch!important;clear:both!important;float:none!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:38px!important;padding:0!important;overflow:visible!important}html .list_detail .detail_td>.td_left,
html .eh-detail-modal__body .detail_td>.td_left {float:none!important;flex:0 0 76px!important;width:76px!important;min-width:76px!important;box-sizing:border-box!important;height:auto!important;min-height:38px!important;padding:8px 4px!important;white-space:nowrap!important}html .list_detail .detail_td>.td_r,
html .list_detail .detail_td>.td_rd,
html .eh-detail-modal__body .detail_td>.td_r,
html .eh-detail-modal__body .detail_td>.td_rd {float:none!important;flex:1 1 0!important;min-width:0!important;width:auto!important;box-sizing:border-box!important;height:auto!important;min-height:38px!important;padding:7px 9px!important;overflow:visible!important;overflow-wrap:anywhere!important;word-break:break-word!important}html .list_detail .detail_td>.td_r {display:block!important}html .eh-detail-modal__panel {width:min(900px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}html .eh-detail-modal__body {overflow-x:hidden!important;overflow-y:auto!important;min-width:0!important}html .eh-detail-modal__body .list_detail {width:100%!important;min-width:0!important;box-sizing:border-box!important}html .list_detail .detail_td .td_right {margin-left:auto!important}html .list_detail .detail_td .div_gift_sort {max-width:100%!important}html .list_detail .detail_td.detail_name,
html .eh-detail-modal__body .detail_td.detail_name {display:flex!important;align-items:center!important;flex-wrap:nowrap!important;min-height:44px!important;height:auto!important}html .list_detail .detail_name>.td_name_r,
html .eh-detail-modal__body .detail_name>.td_name_r {display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;min-height:42px!important;height:auto!important;box-sizing:border-box!important;padding:7px 8px 7px 44px!important;background-image:url("../../img/detail/eventhome.gif")!important;background-repeat:no-repeat!important;background-position:10px center!important;overflow:visible!important}html .list_detail .detail_name>.td_name_r>a,
html .eh-detail-modal__body .detail_name>.td_name_r>a {display:inline-block!important;position:relative!important;margin:0!important;padding:0!important;max-width:100%!important;overflow-wrap:anywhere!important;line-height:1.4!important}html .list_detail .detail_name>.td_right,
html .eh-detail-modal__body .detail_name>.td_right {display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-end!important;float:none!important;width:auto!important;max-width:90px!important;height:auto!important;margin:0!important;padding:4px 5px!important;box-sizing:border-box!important}html .list_detail .detail_name>.td_right img {max-width:100%!important;height:auto!important}html .eh-detail-modal__body .detail_list,
html .eh-detail-modal__body .list_detail,
html .eh-detail-modal__body .detail_td {max-width:100%!important;box-sizing:border-box!important}html .eh-detail-modal__body .detail_td>.td_rd {overflow-wrap:anywhere!important}html .list_detail,
html .eh-detail-modal__body .list_detail {--eh-detail-line:var(--theme-main);--eh-detail-label-line:var(--theme-main)}html .list_detail .detail_img,
html .eh-detail-modal__body .detail_img {max-width:100%;box-sizing:border-box}html .list_detail .d_imgw,
html .eh-detail-modal__body .d_imgw {max-width:100%;box-sizing:border-box}html .list_detail .d_imgw img,
html .eh-detail-modal__body .d_imgw img {max-width:100%;height:auto}html .list_detail .detail_list,
html .eh-detail-modal__body .detail_list {max-width:100%;box-sizing:border-box}html .list_detail .detail_td,
html .eh-detail-modal__body .detail_td {overflow-wrap:anywhere}html .list_detail .detail_td.detail_name,
html .eh-detail-modal__body .detail_td.detail_name,
html .eh-detail-modal__body .list_detail:not(.eh-point-detail) .detail_td.detail_name {border-bottom-color:var(--eh-border-level4,var(--theme-divider))!important}

/* ================================================================
   07. 열람확인 / 임시저장 / 응모저장
   저장 버튼·상태별 스타일 | 63개 규칙
   ================================================================ */
html .detail_td:has(> .td_r > .d_save) {display:flex!important;align-items:stretch!important;clear:both!important;float:none!important;width:100%!important;min-height:38px!important;height:auto!important;box-sizing:border-box!important;padding:0!important;overflow:visible!important}html .detail_td:has(> .td_r > .d_save)>.td_left {float:none!important;flex:0 0 76px!important;width:76px!important;min-width:76px!important;box-sizing:border-box!important;height:auto!important;min-height:38px!important;padding:8px 4px!important;margin:0!important;border-right:1px solid var(--eh-border-level4,var(--theme-divider))!important;white-space:nowrap!important;overflow:visible!important}html .detail_td:has(> .td_r > .d_save)>.td_r {float:none!important;display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:wrap!important;gap:5px!important;width:auto!important;height:auto!important;margin:0!important;padding:2px 0 2px 8px!important;overflow:visible!important}html .detail_td .td_r>.d_save {display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;float:none!important;flex:0 0 72px!important;width:72px!important;max-width:72px!important;height:26px!important;box-sizing:border-box!important;padding:0 3px!important;margin:0!important;overflow:hidden!important;white-space:nowrap!important;gap:3px!important;border:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:5px!important;background:var(--theme-light)!important;color:var(--theme-text)!important;font:500 10px/1 "Malgun Gothic",sans-serif!important;cursor:pointer!important}html .detail_td .td_r>.d_save img {position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;z-index:2!important;cursor:pointer!important}html .detail_td .td_r>.d_save::before,
html .detail_td .td_r>.d_save::after {position:static!important;display:inline!important;pointer-events:none!important}html .detail_td .d_save:has(img[id^="e_"])::before {content:"✓"}html .detail_td .d_save:has(img[id^="e_"])::after {content:"방문완료"}html .detail_td .d_save:has(img[id^="t_"])::before {content:"▣"}html .detail_td .d_save:has(img[id^="t_"])::after {content:"임시보관"}html .detail_td .d_save:has(img[id^="s_"])::before {content:"★"}html .detail_td .d_save:has(img[id^="s_"])::after {content:"응모저장"}html .detail_td .td_r>.d_save:has(img[src*="dt_ok"]),
html .detail_td .td_r>.d_save:has(img[data-eh-saved="1"][id^="t_"]) {background:#fff0d7!important;border-color:var(--eh-border-level4,var(--theme-divider))!important;color:#925400!important;font-weight:700!important}html .detail_td .td_r>.d_save:has(img[src*="ds_ok"]),
html .detail_td .td_r>.d_save:has(img[data-eh-saved="1"][id^="s_"]) {background:var(--theme-light,#e1edff)!important;border-color:var(--eh-border-level4,var(--theme-divider))!important;color:var(--theme-dark,#205eb1)!important;font-weight:700!important}html .detail_td.eh-save-row {display:flex!important;align-items:center!important;gap:0!important;float:none!important;clear:both!important;box-sizing:border-box!important;width:100%!important;min-height:38px!important;height:auto!important;padding:4px 5px!important;overflow:visible!important}html .eh-save-row .eh-save-heading {flex:0 0 76px!important;width:76px!important;min-width:76px!important;margin:0!important;padding:4px 0!important;border-right:1px solid var(--eh-border-level4,var(--theme-divider))!important;white-space:nowrap!important;font-size:13px!important;font-weight:700!important}html .eh-save-row .eh-save-actions {display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;flex-wrap:wrap!important;gap:5px!important;margin:0!important;padding:2px 0 2px 8px!important}html .eh-save-row .eh-save-btn img {position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}html .eh-save-row .eh-save-icon {font-size:11px!important}html .eh-save-row .eh-save-visit.is-saved {background:var(--theme-light,#f2f3f5)!important;border-color:var(--theme-border,#d6d9dd)!important;color:var(--theme-text,#666b73)!important}html .list_detail .detail_td:has(> .td_r > .d_save)>.td_r {display:flex!important}html .detail_td .d_save:has(img[id^="e_"])::before {content:""!important}html .detail_td .d_save:has(img[id^="e_"])::after {content:"방문안함"!important}html .detail_td .d_save:has(img[id^="e_"][src*="do_ok"])::before {content:"✓"!important}html .detail_td .d_save:has(img[id^="e_"][src*="do_ok"])::after {content:"방문완료"!important}html .eh-save-row .eh-save-visit:not(.is-saved) .eh-save-icon {display:none!important}html .eh-save-row .eh-save-visit.is-saved .eh-save-icon {display:inline!important}html .eh-save-row .eh-save-visit,
html .eh-save-row .eh-save-visit.is-saved {background:var(--theme-light,#f2f3f5)!important;border-color:var(--theme-border,#d6d9dd)!important;color:var(--theme-text,#666b73)!important}html .eh-save-row .eh-save-temp:not(.is-saved),
html .eh-save-row .eh-save-entry:not(.is-saved) {background:var(--theme-light,#f2f3f5)!important;border-color:var(--theme-border,#d6d9dd)!important;color:var(--theme-text,#666b73)!important;font-weight:500!important}html .list_detail .detail_td,
html .eh-detail-modal__body .detail_td,
html .list_detail .detail_td.eh-save-row,
html .eh-detail-modal__body .detail_td.eh-save-row {border-color:var(--eh-border-level4,var(--theme-divider))!important;background-color:transparent!important}html .list_detail .detail_td > .td_left,
html .eh-detail-modal__body .detail_td > .td_left,
html .list_detail .detail_td.eh-save-row > .eh-save-heading,
html .eh-detail-modal__body .detail_td.eh-save-row > .eh-save-heading {border-right-color:var(--eh-border-level4,var(--theme-divider))!important;background-color:transparent!important}html .list_detail > .detail_td.eh-save-row,
html .list_detail .detail_td.eh-save-row,
html .eh-detail-modal__body .detail_td.eh-save-row {display:flex!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;padding:0!important;min-height:38px!important;height:auto!important;float:none!important;clear:both!important}html .list_detail .detail_td.eh-save-row > .eh-save-heading,
html .eh-detail-modal__body .detail_td.eh-save-row > .eh-save-heading {display:flex!important;align-items:center!important;flex:0 0 76px!important;width:76px!important;min-width:76px!important;min-height:38px!important;height:auto!important;box-sizing:border-box!important;margin:0!important;padding:8px 4px!important;border-right:1px solid var(--eh-border-level4,var(--theme-divider))!important;font-size:13px!important;white-space:nowrap!important}html .list_detail .detail_td.eh-save-row > .eh-save-actions,
html .eh-detail-modal__body .detail_td.eh-save-row > .eh-save-actions {flex:1 1 0!important;min-width:0!important;width:auto!important;box-sizing:border-box!important;margin:0!important;padding:4px 8px!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px!important}html .list_detail .detail_td.eh-save-row > .eh-save-heading,
html .eh-detail-modal__body .detail_td.eh-save-row > .eh-save-heading {color:var(--eh-t-muted,var(--theme-text))!important;font-weight:700!important}

/* ================================================================
   08. 당첨자발표 / 키워드 검색
   발표 목록·키워드·검색폼 | 45개 규칙
   ================================================================ */
.header_title_sub_t .eh-winner-search-label {box-sizing:border-box!important;width:112px!important;min-width:112px!important;height:29px!important;line-height:27px!important;margin:0 7px 0 0!important;padding:0 8px!important;border:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:7px!important;background:var(--theme-light)!important;color:var(--theme-dark)!important;text-align:center!important;font-size:12px!important;font-weight:700!important;letter-spacing:-.4px!important;white-space:nowrap!important}
.eh-fta-search {box-sizing:border-box;display:block;width:100%;margin:0;padding:9px 8px 8px;background:var(--eh-fta-form-bg,var(--theme-light));border:1px solid var(--eh-border-level4,var(--theme-divider));border-top:0}
.eh-fta-search__inputs {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.eh-fta-search__input {box-sizing:border-box;width:100%;min-width:0;height:28px;padding:3px 4px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:4px;background:var(--theme-surface);color:var(--theme-dark);font:normal 11px/1.3 "Malgun Gothic",sans-serif}
.eh-fta-search__input:focus {outline:2px solid var(--eh-fta-focus,var(--theme-border));outline-offset:0}
.eh-fta-search__actions {display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:7px}
.eh-fta-search__save {white-space:nowrap;color:var(--eh-fta-text,var(--theme-text));font-size:10px;cursor:pointer}
.eh-fta-search__save input {vertical-align:middle;margin:0 2px 0 0}
.eh-fta-search__submit {min-height:28px;padding:4px 10px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:4px;background:var(--eh-fta-button-bg,var(--theme-main));color:var(--eh-fta-button-text,#FFFFFF);font:700 11px "Malgun Gothic",sans-serif;cursor:pointer}
.eh-fta-search__submit:hover {filter:brightness(.96)}
.fta .eh-fta-search {display:block!important;visibility:visible!important}
.fta .eh-fta-search__inputs {display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))}
.fta .eh-fta-search__input {display:block!important;visibility:visible!important}
.header_title_sub_t.eh-winner-search-panel {display:block!important;visibility:visible!important;overflow:visible!important;box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:0!important;padding:10px 12px!important;margin:0 auto 8px!important;background:var(--eh-t-surface,var(--theme-light))!important;border:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:6px!important;color:var(--eh-t-text,var(--theme-text))!important}
.eh-winner-search-panel .eh-winner-search-form {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;height:auto!important;min-height:34px!important;margin:0!important}
.eh-winner-search-panel .smenus,
.eh-winner-search-panel .smenu {float:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;min-height:30px!important;margin:0!important;padding:0!important;color:var(--eh-t-text,var(--theme-text))!important}
.eh-winner-search-panel .eh-winner-search-label {width:auto!important;min-width:90px!important;font-size:12px!important;font-weight:700!important;color:var(--eh-t-text,var(--theme-text))!important}
.eh-winner-search-panel .eh-winner-search-field {flex:1 1 90px!important;min-width:72px!important}
.eh-winner-search-panel .smenu_input {display:block!important;visibility:visible!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:31px!important;padding:5px 7px!important;border:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:5px!important;background:var(--theme-surface)!important;color:var(--theme-text)!important;font:normal 12px/1.3 "Malgun Gothic",sans-serif!important}
.eh-winner-search-panel .eh-winner-search-submit {display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:5px 13px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:5px;background:var(--theme-main);color:var(--theme-button);font:700 12px "Malgun Gothic",sans-serif;cursor:pointer}
.eh-winner-search-panel .eh-winner-search-form > div[style*="float:right"] {margin-left:2px!important}
.eh-winner-search-panel .eh-winner-search-form > div[style*="float:right"] img {max-height:25px}
.eh-winner-search-panel .eh-winner-search-button {width:auto!important;height:auto!important}html .header_title_sub_t.eh-winner-search-panel {margin-top:8px!important;}html .header_title_sub_t.eh-winner-search-panel > form.eh-winner-search-form {display:flow-root;
  min-height:22px;}

/* ================================================================
   09. 오른쪽 메뉴 / 테마 선택 / 추천배너
   사이드바·테마 선택·추천 영역 | 113개 규칙
   ================================================================ */
.eh-theme-picker {box-sizing:border-box;width:100%;max-width:100%;margin:0 0 10px;padding:10px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:8px;background:var(--theme-surface);font-family:"Malgun Gothic",sans-serif;color:var(--theme-main)}
.eh-theme-picker * {box-sizing:border-box}
.eh-theme-picker__heading {display:flex;align-items:center;justify-content:space-between;margin:0 0 9px;font-size:12px;font-weight:800}
.eh-theme-picker__heading span {font-size:9px;font-weight:600;letter-spacing:1px;color:var(--theme-dark)}
.eh-theme-picker__options {display:grid;grid-template-columns:1fr 1fr;gap:6px}
.eh-theme-picker__options button {display:flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0;min-height:34px;padding:5px 7px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:6px;background:var(--theme-light);color:var(--theme-text);cursor:pointer;font-size:11px;font-weight:500;white-space:nowrap}
.eh-theme-picker__options button:hover {border-color:var(--theme-border);background:var(--theme-light)}
.eh-theme-picker__options button[aria-pressed="true"] {border-color:var(--theme-dark);background:var(--theme-light);color:var(--theme-dark);font-weight:800;box-shadow:inset 0 0 0 1px var(--theme-light)}
.eh-theme-picker__options button:focus-visible {outline:2px solid var(--theme-dark);outline-offset:2px}
.eh-theme-dot {display:inline-block;flex:none;width:11px;height:11px;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:50%}
.eh-theme-dot--clean {background:var(--theme-surface)}
.eh-theme-dot--classic {background:var(--theme-main)}
.eh-theme-dot--rose {background:linear-gradient(135deg,var(--theme-main),var(--theme-main))}
.ehsm > .eh-theme-picker {margin-top:0!important;margin-bottom:12px!important;padding:6px!important;max-width:none!important}
.ehsm > .eh-theme-picker .eh-theme-picker__heading {display:none!important}
.ehsm > .eh-theme-picker .eh-theme-picker__options {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.ehsm > .eh-theme-picker .eh-theme-picker__options button {min-width:0!important;justify-content:center!important;gap:4px!important;padding:7px 2px!important;white-space:nowrap}
.eh-sidebar-theme-top {width:100%;margin:0 0 10px;box-sizing:border-box}
.eh-sidebar-theme-top .eh-theme-picker {margin:0!important;padding:6px!important;max-width:none!important;box-sizing:border-box}
.eh-sidebar-theme-top .eh-theme-picker__heading {display:none!important}
.eh-sidebar-theme-top .eh-theme-picker__options {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.eh-sidebar-theme-top .eh-theme-picker__options button {min-width:0!important;justify-content:center!important;white-space:nowrap;padding:7px 2px!important}html .eh-weekhead.eh-menu-header strong,
html .eh-weekhead.eh-menu-header small {display:block!important;visibility:visible!important;opacity:1!important;}html .tab_warper {box-sizing:border-box;width:100%;border-top-color:var(--eh-border-level4,var(--theme-divider))!important;
  border-left-color:var(--eh-border-level4,var(--theme-divider))!important;
  border-right-color:var(--eh-border-level4,var(--theme-divider))!important;
  border-bottom:0!important;}
.eh-sidebar-theme-top,
.eh-sidebar-theme-top .eh-theme-picker,
.eh-sidebar-theme-top .eh-theme-picker__options {margin-left:0!important; padding-left:0!important;
  width:100%!important; max-width:none!important; box-sizing:border-box!important;}
.eh-sidebar-theme-top .eh-theme-picker {padding:0!important;}
.eh-sidebar-theme-top .eh-theme-picker__options {display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; gap:5px!important;}
.eh-sidebar-theme-top .eh-theme-picker__options button[data-eh-theme-choice] {min-width:0!important; width:100%!important; justify-content:center!important;
  background-image:none!important; box-sizing:border-box!important;}html .eh-sidebar-theme-top .eh-theme-picker__options button[data-eh-theme-choice="classic"] {background:var(--theme-main)!important; background-color:var(--theme-main)!important;
  background-image:none!important; color:var(--theme-button)!important; -webkit-text-fill-color:var(--theme-button)!important;
  border-color:var(--eh-border-level4,var(--theme-divider))!important; box-shadow:none!important;}
.eh-sidebar-theme-top .eh-theme-picker__options button[data-eh-theme-choice]::after {content:none!important;}

/* ================================================================
   10. 달력 / 설문 / 공지
   주간 달력·설문 배너·공지 | 28개 규칙
   ================================================================ */
.eh-vote-banner__header-link {display:flex;text-decoration:none;cursor:pointer}
.eh-vote-banner__header-link:hover {text-decoration:none}
.eh-vote-live {padding:12px!important}
.eh-vote-live__status {display:inline-block;padding:4px 8px;background:var(--eh-t-surface,#FFFFFF);border:1px solid var(--eh-border-level4,var(--theme-divider));color:var(--eh-t-accent2,var(--theme-dark));font-size:11px;font-weight:700}
.eh-vote-live__question {margin:10px 0;padding:10px;background:var(--eh-t-surface,var(--theme-light));border-left:1px solid var(--eh-border-level4,var(--theme-divider));font-size:13px;font-weight:700;color:var(--eh-t-text,var(--theme-text));overflow-wrap:anywhere}
.eh-vote-live__heading {margin:12px 0 9px;font-size:12px;font-weight:700;color:var(--eh-t-text,var(--theme-text))}
.eh-vote-live__result {margin:0 0 10px}
.eh-vote-live__line {display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;color:var(--eh-t-text,var(--theme-text))}
.eh-vote-live__line span {min-width:0;overflow-wrap:anywhere}
.eh-vote-live__line b {flex:none;color:var(--eh-t-accent2,var(--theme-dark))}
.eh-vote-live__track {height:5px;margin-top:5px;background:var(--theme-light);overflow:hidden}
.eh-vote-live__track span {display:block;height:100%;background:var(--eh-t-accent2,var(--theme-main))}
.eh-vote-live__empty {font-size:12px;color:var(--eh-t-text,var(--theme-text))}
.eh-vote-live__action {display:block;margin-top:12px;padding-top:10px;border-top:1px solid var(--eh-border-level4,var(--theme-divider));text-align:right;color:var(--eh-t-accent2,var(--theme-dark));font-size:12px;font-weight:700;text-decoration:none}

/* ================================================================
   11. 페이징 / 하단 통계 / 푸터
   페이지 버튼·통계·하단 | 5개 규칙
   ================================================================ */


/* ================================================================
   12. 반응형 / 브라우저 호환
   미디어쿼리·브라우저별 예외 | 10개 규칙
   ================================================================ */





@supports (-moz-appearance: none) {html .detail_td .td_r > .d_save img {position:static!important; inset:auto!important; display:block!important;
    width:auto!important; max-width:100%!important; height:auto!important;
    max-height:24px!important; opacity:1!important; z-index:auto!important;
    cursor:pointer!important;}html .detail_td .td_r > .d_save::before,
html .detail_td .td_r > .d_save::after {content:none!important; display:none!important;}
}

body.eh-sidebar-hidden .fcontents .list_detail {display:flex!important;
    flex-direction:row!important;
    align-items:flex-start!important;
    flex-wrap:nowrap!important;
    gap:14px!important;
    width:100%!important;
    box-sizing:border-box!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_img {float:none!important;
    flex:0 0 320px!important;
    width:320px!important;
    max-width:320px!important;
    margin:0!important;
    box-sizing:border-box!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_img .d_imgw {width:100%!important;
    height:auto!important;
    max-width:100%!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_img .d_imgw img {max-width:100%!important;
    height:auto!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_list {float:none!important;
    flex:1 1 0!important;
    min-width:0!important;
    width:auto!important;
    max-width:none!important;
    box-sizing:border-box!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_list .detail_td {font-size:12px!important;
    line-height:1.45!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_list .detail_td > .td_left {flex:0 0 68px!important;
    width:68px!important;
    min-width:68px!important;
    padding-left:5px!important;
    padding-right:4px!important;
    font-size:11px!important;
    box-sizing:border-box!important;}
body.eh-sidebar-hidden .fcontents .list_detail > .detail_list .detail_td > .td_r,
  body.eh-sidebar-hidden .fcontents .list_detail > .detail_list .detail_td > .td_rd {font-size:12px!important;
    min-width:0!important;
    overflow-wrap:anywhere!important;}


/* ================================================================
   13. 공통 기반 / 기타
   여러 기능에 걸친 공통 규칙 | 12개 규칙
   ================================================================ */
html:not([data-eh-theme]),
html {--eh-unified-header-bg:linear-gradient(116deg,var(--theme-main) 0%,var(--theme-main) 70%,var(--theme-main) 100%);}

/* ================================================================
   공통 테마 색상 적용: 블루 기준의 크기/간격/구조는 변경하지 않음
   모던/로제 전용 레이아웃 삭제, 색상만 공통 선택자로 통합
   ================================================================ */
html .logo .eh-site-text-logo { color:var(--theme-text) !important; }html .logo .eh-site-text-logo:link { color:var(--theme-text) !important; }html .logo .eh-site-text-logo:visited { color:var(--theme-text) !important; }html .logo .eh-site-text-logo:hover { color:var(--theme-text) !important; }html .logo .eh-site-text-logo .eh-site-text-logo-accent { color:var(--theme-dark) !important; }html .header_link_right.eh-quick-links .eh-quick-link:hover { background:var(--theme-light) !important; color:var(--theme-dark) !important; border-color:var(--theme-border) !important; text-shadow: none !important; }html .header_link_right.eh-quick-links .eh-quick-link:focus-visible { background:var(--theme-light) !important; color:var(--theme-dark) !important; border-color:var(--theme-border) !important; text-shadow: none !important; }html .header_link_right.eh-quick-links .eh-quick-link:hover * { color:var(--theme-dark) !important; text-shadow: none !important; }html .header_link_right.eh-quick-links .eh-quick-link:focus-visible * { color:var(--theme-dark) !important; text-shadow: none !important; }html .header_link .eh-welcome { color:var(--eh-t-text,var(--theme-dark)) !important; }html .header_link .eh-welcome-brand { color:var(--eh-t-accent,var(--theme-dark)) !important; background:transparent !important; }html .header_link_right.eh-quick-links .eh-quick-link { color:var(--eh-t-text,var(--theme-dark)) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .header_link_right.eh-quick-links .eh-quick-link.is-current { color:var(--eh-t-accent2,var(--theme-dark)) !important; }html .header_link_right.eh-quick-links .eh-quick-link.eh-quick-mobile { background:transparent !important; }html .header_link_right.eh-quick-links .eh-quick-link.eh-quick-mobile:hover { background:transparent !important; }html .header_link_right.eh-quick-links .eh-quick-link.eh-quick-mobile:focus-visible { background:transparent !important; }html .body_header_menu { background:var(--theme-top-menu-bg) !important; border-color:var(--eh-nav-border,var(--theme-palette-level3)) !important; }html .body_header_menu .header_menu a { color:var(--theme-menu) !important; text-shadow: none !important; }html .body_header_menu .header_menu summary { color:var(--theme-menu) !important; text-shadow: none !important; }
/* 공통 상단 메뉴: 선택 여부와 관계없이 배경 유지 */
html .body_header_menu .header_menu .menu_default,
html .body_header_menu .header_menu .menu_default > a,
html .body_header_menu .header_menu .menu_default > summary { background:transparent !important; color:var(--theme-menu) !important; text-shadow: none !important; box-shadow: none !important; }
/* 플랫폼 버튼 자체: 펼침 목록에는 적용하지 않음 */
html .body_header_menu .header_menu > details.eh-platform-menu,
html .body_header_menu .header_menu > details.eh-platform-menu > summary {
  background:transparent !important;
  color:var(--theme-menu) !important;
  -webkit-text-fill-color:var(--theme-menu) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}html .eh-platform-dropdown { background:var(--eh-t-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; box-shadow: 0 8px 22px rgba(111,54,83,.11); }html .eh-platform-dropdown a { color:var(--theme-menu) !important; }html .eh-platform-dropdown a:hover { background:var(--eh-t-hover) !important; color:var(--theme-menu) !important; }html .head_div_warp .menu_divid_sub { background:none !important; box-shadow: none !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; border-left-color:transparent !important; }html .head_div_warp .menu_divid_rsub { background:none !important; box-shadow: none !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; border-left-color:transparent !important; }html .body_header_menu .eh-platform-dropdown { border-color:var(--eh-border-level4,var(--theme-divider)) !important; box-shadow: 0 8px 22px rgba(111,54,83,.11); }html .body_header_menu .eh-platform-dropdown a { color:var(--theme-menu) !important; }html .body_header_menu .eh-platform-dropdown a:hover { color:var(--theme-menu) !important; }html .body_header_menu .eh-mobile-version-link > a { color:var(--theme-dark) !important; text-shadow: none !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .body_header_menu .eh-mobile-version-link > a:link { color:var(--theme-dark) !important; text-shadow: none !important; }html .body_header_menu .eh-mobile-version-link > a:visited { color:var(--theme-dark) !important; text-shadow: none !important; }html .body_header_menu .eh-mobile-version-link > a span { color:var(--theme-dark) !important; text-shadow: none !important; }html .body_header_menu .eh-mobile-version-link > a:hover { border-color:var(--theme-border) !important; }html .body_header_menu .eh-mobile-version-link > a:focus-visible { border-color:var(--theme-border) !important; }html .body_header_menu::before { background:transparent !important; }html .body_header_menu::after { background:transparent !important; }html .body_header_menu .header_menu .menu_default_s > a > .eh-menu-check { color:var(--theme-dark) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a { color:var(--theme-menu) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a span { color:var(--theme-menu) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a:hover { color:var(--theme-menu) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a:hover span { color:var(--theme-menu) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a.eh-platform-current { color:var(--theme-menu) !important; }html .body_header_menu .header_menu .eh-platform-dropdown a.eh-platform-current span { color:var(--theme-menu) !important; }html .eh-header-search.eh-search-blue .searchborder { background:var(--eh-t-surface); border-color:var(--theme-palette-level3,var(--theme-border)); box-shadow: none; }html .eh-header-search.eh-search-blue .eh-search-scope { background:var(--eh-t-soft); border-color:var(--eh-border-level4,var(--theme-divider)); }html .eh-header-search.eh-search-blue .eh-search-action button { background:var(--theme-main) !important; color:var(--theme-button) !important; text-shadow: none; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-header-search .eh-search-input input { color:var(--eh-t-text); }html .eh-header-search .searchkeyfield { color:var(--eh-t-text); }html .eh-header-search.eh-search-blue .eh-search-action button:hover { background:var(--theme-dark) !important; }html .head_div_warp { background:var(--eh-t-head) !important; border:1px solid var(--eh-border-level4,var(--theme-divider)); border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .head_div_warp .head_div_left { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_warp .head_div_right { color:var(--theme-dark) !important; text-shadow: none !important; }html .list_row:hover { background:var(--eh-t-hover); color:var(--theme-dark) !important; border-top-color:var(--eh-menu-divider) !important; border-bottom-color:var(--eh-menu-divider) !important; }html .list_row:hover .list_subject { color:var(--eh-t-accent); }html .tad_list { background:var(--eh-t-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .tad_list_right { background:var(--eh-t-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .tad_list:hover { border-color:var(--theme-divider) !important; box-shadow: none !important; }html .eh-list-switch { color:var(--theme-text) !important; }html .head_div_warp .head_div_left * { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_warp .head_div_right * { color:var(--theme-dark) !important; text-shadow: none !important; }html .list_row { border-top-color:var(--eh-border-level4,var(--theme-divider)) !important; border-bottom-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .head_div_row > .head_div_warp { background:transparent !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; background-color:transparent !important; }html .head_div_row { border-color:var(--eh-border-level4,var(--theme-divider)) !important; background:transparent !important; background-color:transparent !important; }html .head_div_row > .head_div_warp 
html .head_div_warp .head_div_left { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_row > .head_div_warp .head_div_left { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_row > .head_div_warp .head_div_right { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_row > .head_div_warp .head_div_left * { color:var(--theme-dark) !important; text-shadow: none !important; }html .head_div_row > .head_div_warp .head_div_right * { color:var(--theme-dark) !important; text-shadow: none !important; }html .list_detail { background-color:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; }html .eh-detail-modal__body .list_detail { background-color:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; }html .list_detail .detail_list { background-color:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-detail-modal__body .detail_list { background-color:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .list_detail .detail_td { border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--eh-t-text) !important; }html .eh-detail-modal__body .detail_td { border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--eh-t-text) !important; }html .list_detail .detail_td > .td_left { color:var(--eh-t-muted) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-detail-modal__body .detail_td > .td_left { color:var(--eh-t-muted) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .list_detail:not(.eh-point-detail) .detail_td.detail_name { border-bottom-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-detail-modal__body .list_detail:not(.eh-point-detail) .detail_td.detail_name { border-bottom-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .ehsm-header.eh-menu-header {  border-color:var(--eh-border-level4,var(--theme-divider)) !important;  }html .eh-weekhead.eh-menu-header {  border-color:var(--eh-border-level4,var(--theme-divider)) !important;  }html .header_title_sub_t { background:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; box-shadow: 0 2px 9px rgba(0,0,0,.045); border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .header_title_sub_t .smenu { background:var(--eh-t-soft) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--eh-t-text) !important; }html .header_title_sub_t .smenu_input { background:transparent !important; color:var(--eh-t-text) !important; }html .header_title_sub_t .smenus { color:var(--eh-t-text) !important; }html .header_title_sub_t .eh-winner-search-label { background:var(--theme-light,#edf5fc) !important; color:var(--theme-palette-level1,var(--theme-dark,#1754a4)) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-winner-search-panel .eh-winner-search-submit { background:var(--theme-main); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--theme-button) !important; }html .eh-winner-search-panel .smenu_input { border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-winner-search-panel { border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-vote-banner__button { background:var(--eh-t-accent2); border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-button) !important; }html .eh-fta-search__submit { background:var(--theme-main) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-button) !important; }html .eh-vote-banner__button:hover { background:var(--theme-dark) !important; }html .eh-winner-search-panel .eh-winner-search-submit:hover { background:var(--theme-dark) !important; }html .ehsm { color:var(--eh-t-text); }html .ehsm-panel { background:var(--theme-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-dark) !important; }html .ehsm-body { background:var(--eh-t-surface); color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .ehsm-item { color:var(--eh-t-text) !important; border-color:var(--eh-border-level4,var(--theme-divider)); }html .ehsm-item:hover { color:var(--theme-dark) !important; background:var(--theme-light) !important; }html .ehsm-group-title { background:var(--theme-light) !important; color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .eh-theme-picker { background:var(--eh-t-surface); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--eh-t-text); }html .eh-theme-picker__options button { background:var(--eh-t-soft); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--eh-t-text); }html .eh-theme-picker__options button[aria-pressed=true] { background:var(--eh-t-selected); border-color:var(--eh-t-accent2); color:var(--eh-t-accent); box-shadow: none; }html .tab_warper { background:var(--eh-t-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; border-bottom:0!important; border-top-color:var(--eh-border-level4,var(--theme-divider)) !important; border-left-color:var(--eh-border-level4,var(--theme-divider)) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .tab_warper_right { background:var(--eh-t-surface) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; border-top-color:var(--eh-border-level4,var(--theme-divider)) !important; border-left-color:var(--eh-border-level4,var(--theme-divider)) !important; border-right-color:var(--eh-border-level4,var(--theme-divider)) !important; }html .tab_warper .tad_warp { background:transparent !important; }html .tab_warper .tad_list { border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; }html .tab_warper .tad_list:hover { border-color:var(--theme-divider) !important; }html .fmenu a { color:var(--theme-dark) !important; }html .fmenu a:hover { color:var(--theme-dark) !important; }html .ehsm-item:focus-visible { color:var(--theme-dark) !important; background:var(--theme-light) !important; }html #ehsm-sidebar .ehsm-panel > .ehsm-header { border-color:var(--eh-border-level4,var(--theme-divider)) !important;   }html #ehsm-sidebar .ehsm-panel > .ehsm-header[aria-expanded="true"] { border-color:var(--eh-border-level4,var(--theme-divider)) !important;   }html #ehsm-sidebar .ehsm-panel > .ehsm-header:hover { border-color:var(--theme-border) !important;    }html .eh-vote-banner { background:var(--eh-t-surface); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--eh-t-text); }html .eh-notice__card { background:var(--eh-t-surface); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--eh-t-text); }html .ehsc { background:var(--eh-t-surface); border-color:var(--eh-border-level4,var(--theme-divider)); color:var(--eh-t-text); }html .eh-theme-picker__options button[aria-pressed="true"] { background:var(--theme-light) !important; border-color:var(--theme-border) !important; color:var(--theme-dark) !important; background-color:var(--theme-dark) !important; }html .eh-weekbar { border-color:var(--eh-border-level4,var(--theme-divider)); background:var(--eh-t-surface); }html .ehsc-main { color:var(--theme-dark) !important; }html .ehsc-main .ehsc-calendar { color:var(--theme-dark) !important; }html .ehsc-main .ehsc-weekdays { color:var(--theme-dark) !important; }html .list_row:hover .list_subject { color:var(--theme-dark) !important; }html .ehsc-main .ehsc-monthbar { color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; background:var(--theme-light) !important; }html .eh-weekday.selected strong { background:var(--eh-t-selected); border-color:var(--eh-t-accent2); color:var(--theme-button) !important; background-color:var(--theme-dark) !important; }html .page_b_warps strong { background:var(--theme-main) !important; background-color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-button) !important; border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; box-shadow: none !important; }html .page_b_warps b { background:var(--theme-main) !important; background-color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-button) !important; border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; box-shadow: none !important; }html .page_b_warps .on { background:var(--theme-main) !important; background-color:var(--theme-dark) !important; border-color:var(--theme-dark) !important; color:var(--theme-button) !important; }html .page_b_warps .active { background:var(--theme-main) !important; background-color:var(--theme-dark) !important; border-color:var(--theme-dark) !important; color:var(--theme-button) !important; }html .page_b_warps [aria-current="page"] { background:var(--theme-main) !important; background-color:var(--theme-dark) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-button) !important; }html .eh-weekdays { background:var(--eh-t-surface); }html .eh-weekday { color:var(--eh-t-text) !important; }html .eh-weekmove { background:var(--eh-t-soft); color:var(--eh-t-accent) !important; border-color:var(--eh-border-level4,var(--theme-divider)); }html .eh-notice__copy p { color:var(--eh-t-text); }html .eh-notice__copy h2 { color:var(--eh-t-accent); }html .ehsc-monthbar { color:var(--theme-dark) !important; }html .ehsc-monthbar * { color:var(--theme-dark) !important; }html .ehsc-monthtitle { color:var(--theme-dark) !important; }html .ehsc-monthbar strong { color:var(--theme-dark) !important; }html .page_borders { box-shadow: 0 3px 12px rgba(147,75,109,.055) !important; }html .page_b_warps a { border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; background:var(--theme-surface) !important; color:var(--theme-dark) !important; box-shadow: none !important; }html .page_b_warps span { border:1px solid var(--eh-border-level4,var(--theme-divider)) !important; background:var(--theme-surface) !important; color:var(--theme-dark) !important; box-shadow: none !important; }html .page_b_warps a:hover { border-color:var(--theme-dark) !important; color:var(--theme-dark) !important; }html .page_b_warps a:focus-visible { border-color:var(--theme-dark) !important; color:var(--theme-dark) !important; }html body { background:var(--theme-page) var(--theme-wallpaper,none) var(--theme-wall-repeat,no-repeat) var(--theme-wall-position,center) / var(--theme-wall-size,cover) var(--theme-wall-attachment,scroll) !important; color:var(--theme-text); }html .tad_warp { background:var(--eh-t-surface) !important; }html .tad_warp_right { background:var(--eh-t-surface) !important; }html .adb_text { background:var(--eh-t-surface) !important; color:var(--eh-t-text) !important; text-shadow: none !important; }html .ad_tnum { color:var(--eh-t-accent) !important; text-shadow: none !important; }html .fta .eh-fta-update { background:var(--theme-light) !important; border-color:var(--eh-border-level4,var(--theme-divider)) !important; color:var(--theme-dark) !important; }html .fta .eh-fta-update strong { color:var(--theme-dark) !important; }html .fta .eh-fta-update sup { color:var(--theme-dark) !important; }

.eh-theme-settings-link{display:block;margin:6px 0 0;padding:7px;text-align:center;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:5px;color:var(--theme-menu)!important;background:var(--theme-light);font-size:12px;text-decoration:none}

.eh-theme-settings-link[hidden]{display:none!important}
.eh-theme-modal{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;padding:12px}.eh-theme-modal-box{width:1280px;max-width:100%;height:90vh;background:var(--theme-surface);border-radius:10px;display:flex;flex-direction:column;overflow:hidden}.eh-theme-modal-box button{align-self:flex-end;margin:6px;padding:8px 16px;cursor:pointer}.eh-theme-modal-box iframe{border:0;width:100%;flex:1;min-height:0}

/* Shared interaction states */
html .eh-theme-picker__options button[data-eh-theme-choice][aria-pressed="true"]{background:var(--theme-main)!important;border-color:var(--theme-dark)!important;color:var(--theme-button)!important;box-shadow:none!important}
#minical{background:var(--theme-light);border:1px solid var(--eh-border-level4,var(--theme-divider));color:var(--theme-text)}
#minical .eh-cal-hover,#minical .eh-cal-selected{border-color:var(--eh-border-level4,var(--theme-divider))!important}
.eh-semantic-alert{color:var(--eh-state-alert,#b42318)} .eh-semantic-accent{color:var(--theme-dark)} .eh-semantic-bold{font-weight:bold}

/* 독립형 추천이벤트 및 게시판 헤더: 운영 목록에만 적용 */
html .eh-separated-recommendations .tab_warper {border-bottom:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:6px!important;}
html .eh-separated-recommendations {margin-bottom:12px;}
html body .head_div_row.eh-separated-board-header {overflow:hidden!important;height:53px!important;min-height:53px!important;box-sizing:border-box;border:0!important;border-bottom:2px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:0!important;background:transparent!important;}
html body .head_div_row.eh-separated-board-header > .head_div_warp {position:relative;display:flex;align-items:flex-start;padding-top:5px;padding-bottom:5px;box-sizing:border-box;width:100%;height:100%!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--theme-dark);font-size:14px!important;font-weight:400;isolation:isolate;}
html .eh-separated-board-header:not(.eh-board-preview) .head_div_warp::before {content:none!important;display:none!important;}
html .eh-separated-board-header:not(.eh-board-preview) .head_div_warp::after {content:none!important;display:none!important;}
html .eh-separated-board-header .head_div_warp > div {box-sizing:border-box;height:41px;line-height:39px;box-shadow:none;min-width:0;position:relative;z-index:1;isolation:isolate;font-size:14px!important;font-weight:400!important;text-align:center;white-space:nowrap;overflow:hidden;color:var(--theme-dark)!important;}
html .eh-separated-board-header .eh-board-no {flex:0 0 40px;}
html .eh-separated-board-header .eh-board-category {flex:0 0 60px;padding-right:0;font-size:14px!important;}
html .eh-separated-board-header .eh-board-title {flex:1 1 auto;text-align:left!important;padding-left:10px;}
html .eh-separated-board-header .eh-board-gift {flex:0 0 70px;}
html .eh-separated-board-header .eh-board-date {flex:0 0 45px;}
html .eh-separated-board-header .eh-board-entry {flex:0 0 46px;}
html .eh-separated-board-header .head_div_warp > div::before {content:"";position:absolute;inset:0 2px;z-index:-1;box-sizing:border-box;border:1px solid var(--eh-border-level4,var(--theme-divider));border-radius:5px;background:transparent;pointer-events:none;}

html .header_link {display:flex;align-items:center;justify-content:flex-start;gap:8px;height:auto;min-height:30px;flex-wrap:wrap;}
html .header_link .header_link_left {width:auto;flex:0 1 auto;}
html .header_link .eh-quick-links {display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;white-space:normal;margin-right:auto;}
html .eh-quick-view-icons {display:inline-flex;gap:3px;align-items:center;}
html .eh-quick-view-icons .eh-quick-view {display:inline-flex;align-items:center;justify-content:center;width:28px;height:26px;padding:3px;border:1px solid var(--theme-border);background:var(--theme-light);color:var(--theme-main);border-radius:3px;}
html .eh-quick-view-icons .eh-quick-view.is-current {background:var(--theme-main);color:#fff;}
html .eh-quick-view-icons .eh-quick-view:disabled {opacity:.55;cursor:default;}
html .eh-quick-view-icons svg {width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}

/* 달력 상단 보기 방식 */
html .eh-calendar-view-tools{display:flex;justify-content:center;align-items:center;box-sizing:border-box;padding:4px 0;gap:3px;}

/* 상단메뉴 원본 규칙 공유: 목록헤더 제외 */
html body .eh-menu-header{border:1px solid var(--eh-border-level4,var(--theme-divider))!important;border-radius:0!important;box-shadow:none!important;}
html body .eh-menu-header {  border-color:var(--eh-border-level4,var(--theme-divider)) !important; border-top-color:var(--eh-border-level4,var(--theme-divider)) !important; }

/* 당첨자발표 및 하단 통계: 공통 메뉴 규격 적용 (상단메뉴/목록 제외) */
html body .fta > .eh-fta-button.eh-menu-header,
html body .eh-footer-stats > .eh-footer-stats__heading.eh-menu-header {
  box-sizing:border-box!important;
  height:var(--eh-menu-header-height,57px)!important;
  min-height:var(--eh-menu-header-height,57px)!important;
  max-height:var(--eh-menu-header-height,57px)!important;
  padding:var(--eh-menu-header-padding,0 12px)!important;
  border-radius:var(--eh-menu-header-radius,9px) var(--eh-menu-header-radius,9px) 0 0!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  overflow:hidden!important;
}
html body .eh-footer-stats {min-height:var(--eh-menu-header-height,57px)!important;align-items:center!important;}
html body .eh-footer-stats > .eh-footer-stats__data {align-self:stretch;}
html body .eh-footer-stats .eh-footer-stats__item {padding-block:5px;gap:3px;}
html body .fta > .eh-fta-button.eh-menu-header .eh-menu-header__label strong,
html body .eh-footer-stats > .eh-footer-stats__heading.eh-menu-header .eh-menu-header__label strong {font-size:13px!important;font-weight:900!important;line-height:1.1!important;}
html body .fta > .eh-fta-button.eh-menu-header .eh-menu-header__label small,
html body .eh-footer-stats > .eh-footer-stats__heading.eh-menu-header .eh-menu-header__label small {font-size:9px!important;font-weight:700!important;line-height:1.2!important;}

/* 상단 플랫폼 링크 일체형 및 사이드 메뉴 공통 폭 */
html body .header_link .header_link_right.eh-quick-links {
  margin-left:auto!important;margin-right:0!important;justify-content:flex-end!important;
  flex:0 0 auto;gap:0!important;flex-wrap:nowrap!important;
}
html body .header_link .eh-quick-links > .eh-quick-link {
  box-sizing:border-box;padding:2px 7px!important;line-height:17px!important;
  border-radius:0!important;margin:0!important;
}
html body .header_link .eh-quick-links > .eh-quick-link + .eh-quick-link {border-left:0!important;}
html body .header_link .eh-quick-links > .eh-quick-link:first-child {border-radius:4px 0 0 4px!important;}
html body .header_link .eh-quick-links > .eh-quick-link:last-child {border-radius:0 4px 4px 0!important;}
html body .top_header_title {grid-template-columns:240px minmax(0,1fr) var(--eh-sidebar-width,240px)!important;}
html body .top_header_title > .fta {width:var(--eh-sidebar-width,240px)!important;flex-basis:var(--eh-sidebar-width,240px)!important;box-sizing:border-box;}
html body .fta > .eh-fta-button.eh-menu-header,
html body .fta > .eh-fta-update {width:100%!important;box-sizing:border-box!important;}
html body .bottom_border .eh-footer-stats > .eh-footer-stats__heading.eh-menu-header {
  flex:0 0 var(--eh-sidebar-width,240px)!important;width:var(--eh-sidebar-width,240px)!important;
  max-width:var(--eh-sidebar-width,240px)!important;border-radius:0!important;
}
html body .bottom_border .eh-footer-stats {border-top-left-radius:0!important;border-top-right-radius:0!important;}

/* 주간응모스케줄: 사이드 메뉴 공통 폭 및 위치 연동 */
html body .eh-weekbar > .eh-weekhead.eh-menu-header {
  flex:0 0 var(--eh-sidebar-width,240px)!important;
  width:var(--eh-sidebar-width,240px)!important;
  max-width:var(--eh-sidebar-width,240px)!important;
  box-sizing:border-box!important;
  order:1;
}
html body.eh-sidebar-left .eh-weekbar > .eh-weekhead.eh-menu-header {order:-1;}

/* 주간응모스케줄: 선택 날짜 배경 제거, 선택 테두리 유지 */
html body .eh-weekbar .eh-weekday.selected,
html body .eh-weekbar .eh-weekday.selected strong {background:transparent!important;}
html body .eh-weekbar .eh-weekday.selected strong {color:var(--theme-dark)!important;}
html body .eh-weekbar .eh-weekday.selected.today strong {color:#dd0000!important;}

/* 외곽 1px 보더와 헤더 상단 보더 중복 제거 */
html body :is(.eh-vote-banner,.eh-today-events,.ehsc,.eh-prize-dashboard,.ehsm-panel) .eh-menu-header{border-top-width:0!important;border-left-width:0!important;border-right-width:0!important;}

/* 53차: 사이드 메뉴 외곽선만 상단 1px 유지 */
html body .fmenu :is(.ehsc,.eh-vote-banner,.eh-today-events,.ehsm-panel) {border-top:1px solid var(--eh-border-level4,var(--theme-divider))!important;}
html body .fmenu :is(.ehsc,.eh-vote-banner,.eh-today-events,.ehsm-panel) > .eh-menu-header {border-top:0!important;box-shadow:none!important;}
/* PICK 달력 월 이동 영역 배경 제거, 요일 및 선택 날짜 유지 */
html body .fmenu .ehsc .ehsc-main .ehsc-monthbar {background:transparent!important;}


/* 공통 블루형 메뉴 디자인: 테마별 팔레트 및 회원 설정 연동 */
html[data-eh-theme] body .body_header_menu {
 background-color:var(--theme-top-menu-bg,transparent)!important;
 background-image:var(--eh-top-decoration,none)!important;
 background-size:100% 100%!important;background-repeat:no-repeat!important;
}
html[data-eh-theme] body .body_header_menu::before,html[data-eh-theme] body .body_header_menu::after {content:none!important;display:none!important;}
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default,
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default > :is(a,summary),
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default > :is(a,summary) :is(span,i,svg),
html[data-eh-theme] body .body_header_menu .header_menu > .eh-platform-menu > summary::after {
 color:var(--theme-top-menu-text)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a {color:var(--theme-dark)!important;}
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a:is(:hover,.eh-platform-current,:focus-visible) {background:#FFFFFF!important;color:var(--theme-dark)!important;}
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a span {color:inherit!important;}
html[data-eh-theme] body .eh-menu-header::before,
html[data-eh-theme] body .eh-menu-header::after {content:none!important;display:none!important;}
html[data-eh-theme] body .fta .eh-fta-update {background:var(--theme-light)!important;border-color:var(--eh-border-level4,var(--theme-divider))!important;color:var(--theme-dark)!important;}
html[data-eh-theme] body .fta .eh-fta-update :is(strong,sup) {color:inherit!important;}

/* 공통 메뉴: 2단계 헤더, 하위 메뉴 투명, 테마별 글자 강조 */
html[data-eh-theme] body .body_header_menu > .body_warp_1050,
html[data-eh-theme] body .body_header_menu .header_menu {background:transparent!important;}
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel > .ehsm-header,
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel > .ehsm-header:is(:hover,:focus,:active,[aria-expanded="true"]) {
 background-color:transparent!important;background-image:none!important;
 background-size:100% 100%!important;box-shadow:none!important;
}
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel > .ehsm-header::before,
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel > .ehsm-header::after {content:none!important;display:none!important;}
html[data-eh-theme] body .eh-location-bar,
html[data-eh-theme] body .eh-location-bar .eh-location-inner,
html[data-eh-theme] body .eh-location-bar .eh-location-filter,
html[data-eh-theme] body #ehsm-sidebar .ehsm-body,
html[data-eh-theme] body #ehsm-sidebar .ehsm-group-title,
html[data-eh-theme] body #ehsm-sidebar .ehsm-item,
html[data-eh-theme] body #ehsm-sidebar .ehsm-item:is(:hover,:focus-visible),
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a {background:transparent!important;}
html[data-eh-theme] body #ehsm-sidebar .ehsm-item:is(:hover,:focus-visible,[aria-current="page"]),
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a:is(:hover,:focus-visible,.eh-platform-current) {color:var(--theme-dark)!important;text-decoration:underline!important;}

/* PICK and sidebar menu bodies: white in all themes; headers unchanged. */
html[data-eh-theme] body .fmenu .ehsc .ehsc-main,
html[data-eh-theme] body .fmenu .ehsc .ehsc-main :is(.ehsc-monthbar,.ehsc-table,.ehsc-table tr,.ehsc-table td,.ehsc-weekday,.ehsc-arrow,.ehsc-day),
html[data-eh-theme] body .fmenu .ehsc .ehsc-main :is(.ehsc-arrow,.ehsc-day):is(:hover,:focus-visible,.ehsc-selected),
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel .ehsm-body,
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel .ehsm-body :is(.ehsm-group-title,.ehsm-item,.ehsm-submit,input,select),
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel .ehsm-body :is(.ehsm-item,.ehsm-submit):is(:hover,:focus-visible,:active,[aria-current]) {
 background:#FFFFFF!important;background-image:none!important;
}
html[data-eh-theme] body .fmenu .ehsc .ehsc-main .ehsc-day.ehsc-selected {
 color:var(--theme-dark)!important;box-shadow:inset 0 0 0 2px var(--theme-main)!important;
}

/* Top navigation: existing PHP check mark is the only selected-state decoration. */
html body .body_header_menu .header_menu > .menu_default,
html body .body_header_menu .header_menu > .menu_default:is(.menu_default_s,:hover,:focus-within),
html body .body_header_menu .header_menu > .menu_default > :is(a,summary),
html body .body_header_menu .header_menu > .menu_default > :is(a,summary):is(:hover,:focus,:active) {
 background:transparent!important;box-shadow:none!important;color:var(--theme-top-menu-text)!important;
 -webkit-text-fill-color:currentColor!important;font-weight:600!important;
}
html body .body_header_menu .header_menu > .menu_default_s > a {border:0!important;}
html body .body_header_menu .header_menu > .menu_default_s::before,
html body .body_header_menu .header_menu > .menu_default_s::after {content:none!important;}
html body .body_header_menu .eh-platform-dropdown a {background:#FFFFFF!important;font-weight:600!important;}
/* 사이드 메뉴 외곽: 모든 테마에서 투명. 개별 메뉴 내부 배경과 분리. */
html[data-eh-theme] body .fmain > .fmenu,
html[data-eh-theme] body #eh-mobile-panel.fmenu {
 background:transparent!important;background-image:none!important;
}
html[data-eh-theme] body #eh-mobile-panel .ehsc,
html[data-eh-theme="classic"] body #eh-mobile-panel :is(.eh-vote-banner,.eh-today-events,.eh-prize-dashboard.eh-dashboard-ad-active) {
 background-color:#FFFFFF!important;background-image:none!important;
}
/* PICK 내부 메뉴: 흰색 바탕 위 투명 헤더/패널. 사이드 외곽 배경과 분리. */
html[data-eh-theme] body #ehsm-sidebar {
 background:#FFFFFF!important;background-image:none!important;
}
html[data-eh-theme] body #ehsm-sidebar > .ehsm-panel {
 background:transparent!important;background-image:none!important;
}
/* 경품현황판: 내용 및 행의 배경만 흰색. 그래프와 선택 버튼은 유지. */
html[data-eh-theme] body .eh-prize-dashboard:not(.eh-dashboard-ad-active),
html[data-eh-theme] body .eh-prize-dashboard :is(.eh-dashboard-stats,.eh-dashboard-tabs,.eh-dashboard-rows,.eh-dashboard-row,.eh-dashboard-retention),
html[data-eh-theme] body .eh-prize-dashboard .eh-dashboard-retention::before {
 background:#FFFFFF!important;background-image:none!important;
}
/* 사이드 메뉴 내부 본문과 선택 상태는 기존 흰색 유지. */
html body #eh-mobile-panel .ehsc-main,
html body #eh-mobile-panel .ehsc-main *,
html body #ehsm-sidebar .ehsm-body,
html body #ehsm-sidebar .ehsm-body * {
 background-color:#FFFFFF!important;background-image:none!important;
}
html body #ehsm-sidebar .ehsm-body :is(a,button,input,select,label):is(:hover,:focus,:active,[aria-current]),
html body #eh-mobile-panel .ehsc-main :is(a,button):is(:hover,:focus,:active,.ehsc-selected) {background:#FFFFFF!important;}

/* Sidebar section separators only: use the existing lighter theme divider. */
html[data-eh-theme] body .fmenu #ehsm-sidebar > .ehsm-panel + .ehsm-panel {border-top-color:var(--eh-border-level4,var(--theme-divider))!important;}

/* 목록 헤더 외곽 및 항목 구분선: 공통 4단계 색상 */
html[data-eh-theme] body .head_div_row,
html[data-eh-theme] body .head_div_row .head_div_warp,
html[data-eh-theme] body .head_div_row .head_div_warp > div,
html[data-eh-theme] body .head_div_row .head_div_warp > div::before,
html[data-eh-theme] body .head_div_row :is(.menu_divid_sub,.menu_divid_rsub,.eh-entry-heading-divider) {border-color:var(--eh-border-level4,var(--theme-divider))!important;}

/* 공통 메뉴 헤더: 배경과 글자색은 이 클래스에서만 결정 */
html[data-eh-theme] body .eh-menu-header:not(.ehsm-header),
html[data-eh-theme] body .eh-menu-header:not(.ehsm-header):is(:hover,:focus,:active,[aria-expanded="true"]) {
 background-color:var(--theme-header-bg,transparent)!important;
 background-image:var(--eh-header-decoration,none)!important;
 background-size:100% 100%!important;background-repeat:no-repeat!important;
 color:var(--theme-header-text,var(--theme-dark))!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}
html[data-eh-theme] body .eh-menu-header:not(.ehsm-header) :is(strong,small,h2,.eh-menu-header__label,.eh-menu-header__mark) {color:var(--theme-header-text,var(--theme-dark))!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html[data-eh-theme] body .eh-menu-header.ehsm-header :is(strong,small,.ehsm-header-label,.ehsm-heading-dot,.ehsm-chevron) {color:var(--theme-dark)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html[data-eh-theme] body .eh-menu-header:not(.ehsm-header) .eh-menu-header__mark {background-color:var(--eh-header-mark-bg,var(--theme-surface))!important;}

/* PICK 내부 메뉴: 원본 sidebar_menu.css 높이 및 여백 복구 */
html body #ehsm-sidebar .ehsm-panel > .ehsm-header.eh-menu-header {height:35px!important;min-height:35px!important;max-height:35px!important;padding:0 9px!important;gap:6px!important;}
html body #ehsm-sidebar .ehsm-panel > .ehsm-header .ehsm-header-label strong {line-height:35px!important;}

/* PICK 내부 메뉴: 패널 외곽선과 헤더 테두리 중복 제거 */
html body #ehsm-sidebar .ehsm-panel > .ehsm-header.eh-menu-header {border-top-width:0!important;border-bottom-width:0!important;}


/* Transparent top navigation: readable foreground in every existing state. */
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default:is(.menu_default_s,:hover,:focus-within),
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default > :is(a,summary):is(:hover,:focus,:active,:visited),
html[data-eh-theme] body .body_header_menu .header_menu > .menu_default > :is(a,summary) :is(.eh-menu-check,span,i,svg),
html[data-eh-theme] body .body_header_menu .header_menu > .eh-platform-menu > summary::after {color:var(--theme-top-menu-text)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a,
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a:is(:hover,:focus-visible,.eh-platform-current),
html[data-eh-theme] body .body_header_menu .eh-platform-dropdown a span {
 color:var(--theme-dark)!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
}

/* 공통 헤더 외곽선: 부모 외곽선과 공유하여 한 줄만 표시 */
html[data-eh-theme] body :is(.eh-vote-banner,.eh-today-events,.ehsc,.eh-prize-dashboard,.eh-weekbar,.eh-footer-stats) {
 border-top:1px solid var(--eh-border-level4,var(--theme-divider))!important;
 border-left:1px solid var(--eh-border-level4,var(--theme-divider))!important;
 border-right:1px solid var(--eh-border-level4,var(--theme-divider))!important;
}
html[data-eh-theme] body :is(.eh-weekbar,.eh-footer-stats){border-bottom:1px solid var(--eh-border-level4,var(--theme-divider))!important;}
html[data-eh-theme] body :is(.eh-weekbar,.eh-footer-stats) > .eh-menu-header {
 border-top-width:0!important;border-bottom-width:0!important;border-right-width:0!important;
 border-left:1px solid var(--eh-border-level4,var(--theme-divider))!important;
}
html[data-eh-theme] body.eh-sidebar-left .eh-weekbar > .eh-menu-header {border-left-width:0!important;border-right:1px solid var(--eh-border-level4,var(--theme-divider))!important;}
html[data-eh-theme] body .eh-footer-stats__item:last-child {border-right-width:0!important;}
html[data-eh-theme] body .eh-notice--grouped .eh-notice__card,
html[data-eh-theme] body .eh-notice--grouped .eh-qna-menu-bottom__link {border:1px solid var(--eh-border-level4,var(--theme-divider))!important;}

/* 좌우 공통 개별 메뉴 외곽선: 기존 4단계보다 한 단계 진한 3단계.
   기존 선 두께 및 공유 경계 유지, 내부 구분선에는 적용하지 않음. */
html[data-eh-theme] body .fmain > .fmenu :is(.eh-prize-dashboard,.eh-theme-picker,.ehsc,.eh-vote-banner,.eh-today-events,.eh-notice__card),
html[data-eh-theme] body .fmain > .fmenu #ehsm-sidebar > .ehsm-panel {
 border-color:var(--eh-menu-left-outline,var(--theme-palette-level3))!important;
}
/* 맞닿는 PICK 패널은 기존처럼 다음 패널의 상단 한 줄만 공유. */
html[data-eh-theme] body .fmain > .fmenu #ehsm-sidebar > .ehsm-panel + .ehsm-panel {
 border-top-color:var(--eh-menu-left-outline,var(--theme-palette-level3))!important;
}

/* PC 목록 응모 상태 버튼: 기존 목록 크기·모바일 구성 유지 */
.eh-list-entry-status {display:none;}
@media (min-width:768px) {
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-link {display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;vertical-align:middle;}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-legacy {display:none!important;}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-status {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:64px;height:28px;white-space:nowrap;border:1px solid var(--theme-palette-level3);border-radius:3px;font-size:13px;font-weight:600;line-height:1;color:var(--theme-palette-level1)!important;-webkit-text-fill-color:currentColor!important;background:var(--theme-surface);}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-status[data-state="visited"] {background:var(--theme-light);}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-status[data-state="held"] {background:var(--eh-border-level4,var(--theme-divider));}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-status[data-state="saved"] {background:var(--theme-palette-level2);border-color:var(--theme-palette-level1);color:#FFFFFF!important;}
 html body .list_row :is(.list_entry,.list_en) .eh-list-entry-link:focus-visible .eh-list-entry-status {outline:1px solid var(--theme-palette-level1);outline-offset:1px;}
}


/* 추천정보 배너 전용: 기존 레이아웃을 유지하며 테두리와 리본만 개선 */
html[data-eh-theme] body .tab_warper.eh-mag-banner {
 border:1px solid var(--theme-palette-level3,var(--theme-border))!important;
 border-radius:10px!important;
 box-shadow:none!important;
}
/* PC 웹진 카드의 액자/정보 박스: 두께·크기·회전값 유지 */
html[data-eh-theme] body .eh-mag-banner .eh-mag-premium .eh-mag-image {
 border-color:var(--theme-palette-level3,var(--theme-border));
}
html[data-eh-theme] body .eh-mag-banner .eh-mag-premium .eh-mag-copy {
 border-color:var(--theme-palette-level3,var(--theme-border));
}
html[data-eh-theme] body .eh-mag-banner .eh-mag-premium > a:hover .eh-mag-copy,
html[data-eh-theme] body .eh-mag-banner .eh-mag-premium > a:focus-visible .eh-mag-copy {
 border-color:var(--theme-main);
}
/* 모바일 카드: 기존 카드 크기는 유지하고 내부에 1px 시각적 테두리만 표시 */
@media(max-width:767px){
 html[data-eh-theme] body .eh-mag-banner .eh-mag-card.eh-mag-premium {
  outline:1px solid var(--theme-palette-level3,var(--theme-border));outline-offset:-1px;
 }
}
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon {
 background:linear-gradient(110deg,var(--theme-palette-level1,var(--theme-dark)),var(--theme-main))!important;
 color:#FFFFFF!important;border-radius:3px 0 0 3px!important;
}
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon::after {
 border:0!important;width:7px;height:100%;background:var(--theme-main);
 clip-path:polygon(0 0,100% 0,48% 50%,100% 100%,0 100%);
}


/* 추천정보 리본 확대: 본체 80×34px, 글자 14px. 기존 배너·이미지 높이 유지. */
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon {
 box-sizing:border-box!important;width:80px!important;height:34px!important;
 line-height:34px!important;padding:0!important;font-size:14px!important;font-weight:700!important;
}
@media(min-width:768px){
 /* 리본 끝 7px까지 포함한 여유 공간 확보. */
 html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref {width:88px;}
 html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .eh-mag-track {left:88px;}
}
@media(max-width:767px){
 html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-inquiry {left:94px!important;}
}

/* 왼쪽 상단 모서리: 왼쪽 아래에서 오른쪽 위로 올라가는 리본. */
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon {
 position:absolute!important;left:-5px!important;top:-5px!important;right:auto!important;bottom:auto!important;
 width:82px!important;height:86px!important;transform:none!important;
 line-height:normal!important;padding:0!important;background:none!important;box-shadow:none!important;
 border-radius:0!important;overflow:visible!important;z-index:13!important;font-size:0!important;
}
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon::before {
 content:"";display:block!important;position:absolute;inset:0!important;width:82px!important;height:86px!important;
 transform:none!important;border:0!important;background:var(--theme-palette-level2,var(--theme-main))!important;
 clip-path:polygon(0 55px,55px 0,82px 0,82px 5px,77px 5px,5px 77px,5px 86px,0 82px)!important;
}
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .ref .eh-ad-ribbon::after {
 content:"RECOMMEND";display:block!important;position:absolute;left:-15.5px!important;top:26.5px!important;right:auto!important;bottom:auto!important;
 width:100px!important;height:16px!important;line-height:16px!important;text-align:center;
 font:700 10px/16px Arial,sans-serif;letter-spacing:0;color:#fff!important;
 background:none!important;border:0!important;transform-origin:50% 50%!important;
 transform:rotate(-45deg)!important;clip-path:none!important;
}
html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine {overflow:visible!important;}
@media(min-width:768px){
 html[data-eh-theme] body .eh-mag-banner.eh-mag-mode-webzine .eh-mag-controls {top:91px;}
}

/* 당첨자발표 시스템 전용 색상: 공통 헤더 규격 및 나머지 메뉴 설정 유지. */
html[data-eh-theme] body .fta > .eh-fta-button.eh-menu-header {
 --theme-header-bg:var(--eh-winner-bg,var(--theme-palette-level2));
 --theme-header-text:var(--eh-winner-text,#FFFFFF);
 --eh-header-decoration:var(--eh-winner-decoration,none);
 --eh-header-mark-bg:transparent;
}

/* 그룹형 테마 설정: 영역별 색상 연결. 기존 선 두께/레이아웃 유지. */
html[data-eh-theme] body .body_header_menu {border-color:var(--eh-nav-border,var(--theme-palette-level3))!important;}
/* 상단 메뉴 구분선: 연한 음각 효과 (메뉴 배경 및 글자색 유지) */
html[data-eh-theme] body .body_header_menu .header_menu > .menu_divid {
 background:rgba(0,0,0,.10)!important;
 border:0!important;
 box-shadow:1px 0 0 rgba(255,255,255,.30)!important;
}
html[data-eh-theme] body #ehsm-sidebar .ehsm-panel > .ehsm-header {color:var(--theme-dark)!important;}
html[data-eh-theme] body :is(.fmenu,.eh-weekbar,.eh-footer-stats,.fta) {--eh-border-level4:var(--eh-menu-border,var(--theme-divider));}
html[data-eh-theme] body :is(.fmenu,.eh-weekbar,.eh-footer-stats,.fta) .eh-menu-header {border-color:var(--eh-menu-border,var(--theme-divider))!important;}
html[data-eh-theme] body .head_div_row {--eh-border-level4:var(--theme-palette-level3,var(--eh-list-divider,var(--theme-divider)));}

/* 목록 헤더 하단선만 2단계 대표색으로 적용. */
html[data-eh-theme] body .head_div_row.eh-separated-board-header {border-bottom-color:var(--theme-palette-level2,var(--theme-main))!important;}

/* 주간응모스케줄: PICK 공통 헤더의 아이콘, 글자 및 여백 규격 사용. */
html[data-eh-theme] body .eh-weekbar > .eh-weekhead.eh-menu-header {
 flex-direction:row;align-items:center;justify-content:flex-start;
 gap:9px;padding:var(--eh-menu-header-padding,0 12px);min-height:var(--eh-menu-header-height,57px);
 border-radius:0!important;
}
html[data-eh-theme] body .eh-weekhead.eh-menu-header::before,
html[data-eh-theme] body .eh-weekhead.eh-menu-header::after {content:none!important;}
html[data-eh-theme] body .eh-weekhead .eh-menu-header__label strong {font-size:13px;font-weight:900;line-height:1.1;letter-spacing:-.45px;}
html[data-eh-theme] body .eh-weekhead .eh-menu-header__label small {font-size:9px;font-weight:700;line-height:1.2;letter-spacing:.25px;opacity:1;}
html[data-eh-theme] body .eh-weekbar {border-radius:var(--eh-menu-header-radius,9px);}
/* PICK 개별 메뉴와 동일한 외곽 테두리: 좌우 공통. */
html[data-eh-theme] body .body_warp_1050 > .eh-weekbar {
 border:1px solid var(--eh-menu-left-outline,var(--theme-palette-level3))!important;
}


/* 투표 그래프 공통 색상: 모든 테마에서 동일, 테마 CSS 맨 마지막에 배치.
   banner.php 내부의 기존 테마색보다 높은 선택자 우선순위 적용. */
html body .eh-vote-banner .eh-vote-flow .vf-c0 {--vf-segment:#4196CA;}
html body .eh-vote-banner .eh-vote-flow .vf-c1 {--vf-segment:#339933;}
html body .eh-vote-banner .eh-vote-flow .vf-c2 {--vf-segment:#E9A23B;}
html body .eh-vote-banner .eh-vote-flow .vf-c3 {--vf-segment:#E75A5A;}
html body .eh-vote-banner .eh-vote-flow .vf-c4 {--vf-segment:#8668B3;}
html body .eh-vote-banner .eh-vote-flow .vf-c5 {--vf-segment:#42A6A1;}
html body .eh-vote-banner .eh-vote-flow .vf-chart circle[class*="vf-c"] {stroke:var(--vf-segment)!important;}
html body .eh-vote-banner .eh-vote-flow .vf-legend .vf-row i {background-color:var(--vf-segment)!important;}

/* PC 목록 응모 버튼 및 헤더 열 너비 통일 */
@media(min-width:768px){
 html body .list_row :is(.list_entry,.list_en){width:70px;height:28px;padding-top:5px;text-align:center;}
 html .eh-separated-board-header .eh-board-entry{flex:0 0 70px;}
}
