@charset "utf-8";
.passwordFieldWrap {
  position: relative;
}
.passwordFieldWrap .mypageInput {
  padding-right: 56px;
}
.passwordVisibilityToggle {
  --password-visibility-icon: url("/assets/images/eye1.svg");
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #77859a;
  cursor: pointer;
}
.passwordVisibilityToggle:hover {
  color: #1d4ed8;
  background: #f8fbff;
}
.passwordVisibilityToggle:focus-visible {
  outline: 2px solid #e60413;
  outline-offset: 1px;
}
.passwordVisibilityToggle[aria-pressed="true"] {
  --password-visibility-icon: url("/assets/images/eye2.svg");
}
.passwordVisibilityToggle::before {
  content: "";
  width: 19px;
  height: 19px;
  background-color: currentColor;
  -webkit-mask: var(--password-visibility-icon) center / contain no-repeat;
  mask: var(--password-visibility-icon) center / contain no-repeat;
}
/*폰트설정 : 시작*/
/*@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-display: swap;
    src: local('Pretendard Black'), url('../fonts/pretendard/Pretendard-Black.subset.woff2') format('woff2'), url('./woff-subset/Pretendard-Black.woff') format('woff');
}*/

@font-face {
  font-family: "Pretendard";
  font-weight: 800;
  font-display: swap;
  src:
    url("../fonts/pretendard/Pretendard-ExtraBold.subset.woff2") format("woff2"),
    url("../fonts/pretendard/Pretendard-ExtraBold.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-display: swap;
  src:
    url("../fonts/pretendard/Pretendard-Bold.subset.woff2") format("woff2"),
    url("../fonts/pretendard/Pretendard-Bold.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 600;
  font-display: swap;
  src:
    url("../fonts/pretendard/Pretendard-SemiBold.subset.woff2") format("woff2"),
    url("../fonts/pretendard/Pretendard-SemiBold.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-display: swap;
  src:
    url("../fonts/pretendard/Pretendard-Medium.subset.woff2") format("woff2"),
    url("../fonts/pretendard/Pretendard-Medium.woff") format("woff");
}

@font-face {
  font-family: "Pretendard";
  font-weight: 400;
  font-display: swap;
  src:
    url("../fonts/pretendard/Pretendard-Regular.subset.woff2") format("woff2"),
    url("../fonts/pretendard/Pretendard-Regular.woff") format("woff");
}

/*@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-display: swap;
    src: local('Pretendard Light'), url('../fonts/pretendard/Pretendard-Light.subset.woff2') format('woff2'), url('./woff-subset/Pretendard-Light.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-display: swap;
    src: local('Pretendard ExtraLight'), url('../fonts/pretendard/Pretendard-ExtraLight.subset.woff2') format('woff2'), url('./woff-subset/Pretendard-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-display: swap;
    src: local('Pretendard Thin'), url('../fonts/pretendard/Pretendard-Thin.subset.woff2') format('woff2'), url('./woff-subset/Pretendard-Thin.woff') format('woff');
}*/
/*폰트설정 : 끝*/
/*@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 100;
	src:
		url(../fonts/NotoSansKR-Thin.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Thin.woff) format("woff"),
		url(../fonts/NotoSansKR-Thin.otf) format("opentype");
}

@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 300;
	src:
		url(../fonts/NotoSansKR-Light.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Light.woff) format("woff"),
		url(../fonts/NotoSansKR-Light.otf) format("opentype");
}

@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 400;
	src:
		url(../fonts/NotoSansKR-Regular.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Regular.woff) format("woff"),
		url(../fonts/NotoSansKR-Regular.otf) format("opentype");
}

@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 500;
	src:
		url(../fonts/NotoSansKR-Medium.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Medium.woff) format("woff"),
		url(../fonts/NotoSansKR-Medium.otf) format("opentype");
}

@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 700;
	src:
		url(../fonts/NotoSansKR-Bold.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Bold.woff) format("woff"),
		url(../fonts/NotoSansKR-Bold.otf) format("opentype");
}

@font-face {
	font-family: "Noto Sans KR";
	font-style: normal;
	font-weight: 900;
	src:
		url(../fonts/NotoSansKR-Black.woff2) format("woff2"),
		url(../fonts/NotoSansKR-Black.woff) format("woff"),
		url(../fonts/NotoSansKR-Black.otf) format("opentype");
}*/

/* montserrat-regular - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-v14-latin-regular.eot"); /* IE9 Compat Modes */
  src:
    local("Montserrat Regular"),
    local("Montserrat-Regular"),
    url("../fonts/montserrat-v14-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v14-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v14-latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v14-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v14-latin-regular.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-600 - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/montserrat-v14-latin-600.eot"); /* IE9 Compat Modes */
  src:
    local("Montserrat SemiBold"),
    local("Montserrat-SemiBold"),
    url("../fonts/montserrat-v14-latin-600.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v14-latin-600.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/montserrat-v14-latin-600.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v14-latin-600.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v14-latin-600.svg#Montserrat") format("svg"); /* Legacy iOS */
}

html {
  -webkit-text-size-adjust: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dt,
dd,
table,
tr,
th,
td,
form,
fieldset,
label,
legend,
input,
textarea,
button,
menu {
  margin: 0px;
  padding: 0px;
  -webkit-text-size-adjust: none;
}
body,
input,
textarea,
select,
table,
div,
a,
ui,
li,
th,
tr,
td,
button,
code {
  color: #333333;
  letter-spacing: 0; /* 서브픽셀 자간(-0.1px)은 번짐 유발로 제거 */
  font-weight: 400;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Noto Sans KR",
    "Malgun Gothic",
    "Apple SD Gothic Neo",
    sans-serif;
  text-align: left;
}
body {
  width: 100%;
  position: relative;
  word-wrap: break-word;
  word-break: break-all;
  min-width: 280px;
}

nav,
menu,
ul,
li,
ol {
  list-style: none;
}
div {
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img,
fieldset {
  border: none;
}
section,
article,
header,
footer,
nav,
aside,
hgroup {
  display: block;
}
button {
  border: none;
  background: none;
}
input:focus,
button:focus,
textarea:focus {
  outline: none;
}
a {
  margin: 0px;
  padding: 0px;
  text-decoration: none;
  cursor: pointer;
}
/*a:link{color:#fff;}
a:visited{color:#fff;}
*/

:root {
  --main: #e60413;
  --bg1:#f7f8fa;
  --bg2:linear-gradient(180deg, #f6f9ff 0, #fff 300px);
  --tableLabel: #f3f8ff;
  --tableLabelTxt: #444;
  --skyblue: #61c9ff;
  --green2: #10972a;
  --sub2: #ffcf67;
  --border1:#e9ecef;
}

/*fix*/
.hidden_fix {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  line-height: 0;
  text-indent: -10000px;
}
legend,
caption {
  overflow: hidden;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  line-height: 0;
}

input[type="text"],
input[type="password"] {
  height: 60px;
  border: 1px solid #e2e2e2;
  padding: 0px 12px;
  color: #777;
  font-size: 15px;
}
.main-c04-wrap.mobile {
  display: none;
}

#goto_top {
  position: fixed;
  display: none;
  z-index: 49;
  width: 60px;
  height: 60px;
  background: url(../images/goto_top.svg) center no-repeat;
  background-size: 60px 60px;
  bottom: 56px;
  right: 50px;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7));
  will-change: filter;
}

/*헤더 기본*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  z-index: 50;
  border-bottom: 1px solid var(--border1);
  box-shadow: none;
  transition: box-shadow 0.3s ease;

}
.header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 헤더 내부 컨테이너 */
.header .centerWrap {
  display: flex;
  align-items: center;
  height: 60px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

/* 로고 */
.gnbLogo {
  display: flex;
  width: 120px;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.gnbLogo img {
  display: block;
  width: 100%;
}

/* GNB 메뉴 */
.gnbMenu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  margin: 0 0 0 30px;
}
.gnbMenu .navItem {
  display: flex;
  align-items: center;
  height: 36px;
  font-size: 17px;
  font-weight: 600;
  color: #333 !important;
}
.gnbMenu .navItem:hover {
  color: #333;
}
.gnbMenu .navItem.active span {
  color: var(--main);
}
.mobileMenuToggle {
  display: none;
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

/* 헤더 검색 */
.headerSearch {
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
  flex-shrink: 0;
}
.headerSearch form {
  display: flex;
  align-items: center;
  /*border: 1px solid #ddd;*/
  background: #f1f3f5;
  border-radius: 6px;
  overflow: hidden;
  height: 36px;
  border-radius: 18px;
  padding: 0 9px 0 16px;
  transition: border-color 0.2s ease;
}
.headerSearch form:focus-within {
  border-color: #0b60b0;
}
.headerSearch input[type="text"] {
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
  width: 180px;
  height: 100%;
  padding: 0;
  background: transparent;
}
.headerSearch input[type="text"]::placeholder {
  color: #aaa;
}
.headerSearch .btnSearch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}
.headerSearch .btnSearch:hover {
  color: #0b60b0;
}

/* 인증 메뉴 (로그인/마이페이지) */
.authMenu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 12px;
  flex-shrink: 0;
}
.authMenu .btnLogout,
.authMenu .btnMypage {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.authMenu .btnLogout:hover,
.authMenu .btnMypage:hover {
  color: #111;
}
.authMenu .btnLogin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d5dbe5;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.authMenu .btnLogin:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.authMenu .btnRegister {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--main);
  border-radius: 8px;
  background: var(--main);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.authMenu .btnRegister:hover {
  border-color: #c30310;
  background: #c30310;
}
.authMenu .btnRegister:focus-visible {
  outline: 2px solid #e60413;
  outline-offset: 2px;
}
.authMenu .btnLogin:focus-visible {
  outline: 2px solid #e60413;
  outline-offset: 2px;
}
.authMenu .btnLogin img {
  display: block;
  width: 20px;
  height: 20px;
}
.authMenu .welcomeText {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

/* 사용자 아바타 메뉴 */
.userMenu {
  position: relative;
  display: inline-block;
}
.userMenuBtn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  position: relative;
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: block;
  overflow: hidden;
  /*transition: border-color 0.2s;*/
}
.userMenuBtn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
  transform: none;
}

.userMenuBtn:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: 10;
  box-sizing: border-box;
  left: 0;
  top: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.userMenu:hover .userMenuBtn,
.userMenu.isOpen .userMenuBtn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  /*border-color: var(--main);
	transition: border-color 0.2s;*/
}
.userMenuDropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 30;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  padding: 8px 10px;
}
.userMenu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  display: none;
}
.userMenu:hover::after,
.userMenu.isOpen::after {
  display: block;
}
.userMenu:hover .userMenuDropdown,
.userMenu.isOpen .userMenuDropdown,
.userMenuDropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.userMenuDropdown .customSelectOption {
  text-decoration: none;
}
.userMenu:focus-within .userMenuBtn {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.userMenuDropdown {
  top: calc(100% + 10px);
  width: 280px;
  min-width: 0;
  padding: 20px 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
  box-sizing: border-box;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s ease;
}
.userMenu::after {
  left: auto;
  right: 0;
  width: 280px;
}
.userMenu:focus-within::after {
  display: block;
}
.userMenu:focus-within .userMenuDropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.userMenuProfile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 16px;
}
.userMenuProfileImage {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
  filter: none !important;
  transform: none !important;
}
.userMenuProfileInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.userMenuProfileInfo strong,
.userMenuProfileInfo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.userMenuProfileInfo strong {
  color: #1f2937;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.userMenuProfileInfo span {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.3;
}
.userMenuShortcuts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 22px 18px;
  border-bottom: 1px solid #eef0f3;
}
.userMenuShortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  box-sizing: border-box;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}
.userMenuShortcut:hover {
  border-color: #aeb8c6;
  background: #f8fafc;
  color: #111827;
}
.userMenuShortcutPrimary {
  border-color: #9ee5d7;
  background: #f3fffc;
  color: #087f68;
}
.userMenuShortcutPrimary:hover {
  border-color: #55cdb6;
  background: #ecfcf8;
  color: #066b58;
}
.userMenuLinks {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.userMenuLinks a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 22px;
  box-sizing: border-box;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.userMenuLinks a:hover {
  background: #f5f7fa;
  color: var(--main);
}

.userMenuLinks .userMenuLogout {
  color: #4b5563;
}

.allWrap {
  display: block;
  width: 100%;
  padding: 60px 0 120px;
}

.allWrap.contestAllWrap{
  background: var(--bg1);
}

/* 모바일 전용 메뉴 (PC에서 숨김) */
.onlyMoMenu {
  display: none;
}
.gnbwrap {
  position: relative;
  min-height: 80px;
  transition: all 0.5s;
  background: #fff;
}

.gnb-inner .gnb-logo {
  position: absolute;
  display: block;
  top: 16px;
  left: 50px;
  width: 100px;
  line-height: 0;
}
.gnb-inner .gnb-logo img {
  display: block;
  width: 100%;
}
.gnb-inner .gnb {
  width: 800px;
  margin: 0px auto;
  display: flex;
  flex-wrap: wrap;
}
/*.gnb-inner .gnb:after{content:""; display:block; clear:both;}*/
.gnb-inner .gnb-unit {
  flex: 1;
  display: block;
}
.gnb-inner .gnb-unit .parent {
  display: block;
  height: 79px;
  line-height: 80px;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  color: #333;
}
.gnb-inner .right-btns {
  position: absolute;
  top: 27px;
  right: 107px;
}
.gnb-inner .right-btns:after {
  content: "";
  display: block;
  clear: both;
}
.gnb-inner .right-btns .lang {
  float: left;
  display: block;
  font-family: "Montserrat";
  font-weight: 600;
  color: #fff;
  padding-top: 5px;
  font-size: 15px;
  width: 30px;
  height: 30px;
  text-align: center;
  margin-left: 15px;
}
.gnb-inner .sitemap-go {
  position: absolute;
  top: 0px;
  right: 0px;
}
.gnb-inner .sitemap-go .sitemap-btn {
  display: block;
  width: 80px;
  height: 80px;
  background: #333 url(../images/sitemap-btn.png) 28px 34px no-repeat;
  background-size: 24px 18px;
}
.gnb-inner .sitemap-go .sitemap-btn.active {
  display: block;
  width: 80px;
  height: 80px;
  background: #3a3d3e url(../images/sitemap-btn-a.png) 29px 32px no-repeat;
  background-size: 22px 22px;
}
.gnb-inner .momenu-go {
  position: absolute;
  top: 0px;
  right: 0px;
}
.gnb-inner .momenu-go .momenu-btn {
  display: none;
  width: 30px;
  height: 30px;
  background: url(../images/momenu-btn.png) center no-repeat;
  background-size: 24px 18px;
  margin-top: 28px;
  margin-right: 25px;
}

/*헤더 GNB 메뉴 펼침 관련*/
.child {
  height: 0px;
  overflow: hidden;
  transition: all 0.5s;
  border-right: 1px solid #f0f0f0;
  padding-left: 10px;
}
.gnb-unit:first-child .child {
  border-left: 1px solid #f0f0f0;
}
.child:hover {
}
.gnb:hover .child {
  display: block;
}
/*.gnbwrap.active{border-bottom:1px solid #f0f0f0;}*/
.gnbwrap.active,
.gnbwrap.sub {
  background-color: #fff;
}
.type2 {
  display: none;
}
.gnbwrap.active .type2,
.gnbwrap.sub .type2 {
  display: inline-block;
}

.gnbwrap.active .vline {
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  top: 79px;
  left: 0px;
  background: #f0f0f0;
}

.gnb.active .gnb-unit .parent,
.gnbwrap.sub .parent {
  color: #808080;
}
.gnb.active .gnb-unit .parent:hover span,
.gnb.active .gnb-unit .parent:focus span,
.gnb.active .gnb-unit:hover .parent span,
.gnb.active .gnb-unit:focus .parent span,
.gnb.active .gnb-unit .parent.active {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
}

.gnb .parent.active {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  /*border-bottom:3px solid var(--main);*/
}

.gnb.active .gnb-unit .parent:hover,
.gnb.active .gnb-unit .parent:focus,
.gnb.active .gnb-unit:hover .parent,
.gnb.active .gnb-unit:focus .parent,
.gnb.active .gnb-unit .parent.active,
.gnb .gnb-unit .parent.active {
  color: var(--main);
  font-weight: 700;
}
.gnb.active .child {
  height: 288px;
  transition: all 0.5s;
  padding-top: 8px;
}
.child .child-unit {
  display: block;
  width: 98%;
  margin: 0px auto;
  font-size: 15px;
  text-align: left;
  color: #808080;
  height: 45px;
  line-height: 45px;
}
.child .child-unit:focus,
.child .child-unit:hover,
.child .child-unit.active {
  color: var(--main); /*text-decoration: underline;*/
}
.gnbwrap.active .gnb-inner .right-btns .lang,
.gnbwrap.sub .gnb-inner .right-btns .lang {
  color: #53585a;
}
.gnbwrap.active .gnb-inner .right-btns .lang.on,
.gnbwrap.sub .gnb-inner .right-btns .lang.on {
  color: var(--main);
}
.gnbwrap.active .gnb-inner .right-btns .search,
.gnbwrap.sub .gnb-inner .right-btns .search {
  background: url(../images/hd-search-t2.png) center no-repeat;
}
.gnb.active2 {
}
.gnb.active2 .gnb-unit .parent,
.gnbwrap.sub .parent {
  color: #333;
}
.gnb.active2 .gnb-unit .parent:hover span,
.gnb.active2 .gnb-unit .parent:focus span {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  border-bottom: 2px solid var(--main);
}
.gnb.active2 .gnb-unit .parent:hover,
.gnb.active2 .gnb-unit .parent:focus {
  color: var(--main);
  font-weight: 700;
}

/*상단 검색창*/
.top-search-bar {
  display: none;
}
.top-search-bar.active {
  position: fixed;
  display: block;
  top: 80px;
  left: 0px;
  background: #fff;
  width: 100%;
  height: 200px;
  z-index: 200;
  text-align: center;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}
.tsb-close {
  position: absolute;
  width: 80px;
  height: 80px;
  top: 0px;
  right: 0px;
  background: url(../images/quick-close.png) center no-repeat;
  background-size: 22px 22px;
}

/*사이트맵*/
.sitemap {
  display: none;
}
.sitemap.active {
  position: fixed;
  display: block;
  top: 80px;
  left: 0px;
  background: #fff;
  width: 100%;
  height: calc(100vh - 80px);
  z-index: 200;
  text-align: center;
  padding-top: 8%;
}

.sitemap .sitemap-unit {
  float: left;
  width: 195px;
  margin-left: 79px;
}
.sitemap .sitemap-unit:fisrt-child {
  margin-left: 0px;
}
.sitemap .sitemap-unit .parent {
  display: block;
  height: 79px;
  line-height: 80px;
  font-size: 25px;
  font-weight: 500;
  text-align: left;
  color: #222;
  border-bottom: 1px solid #707070;
}
.sitemap .child {
  height: auto;
  transition: all 0.5s;
  padding-top: 8px;
  padding-left: 0px;
  border: none;
}
.sitemap .child .child-unit {
  display: block;
  width: 98%;
  margin: 14px auto;
  font-size: 18px;
  text-align: left;
  color: #808080;
  height: 34px;
  line-height: 34px;
}
.sitemap .child .child-unit.on {
  color: var(--main);
}

/*모바일전용 메뉴*/
.only-mo-menu {
  display: none;
}
.only-mo-menu.active {
  display: block !important;
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 100000;
  top: 0px;
}
.omm-left {
  float: left;
  width: 24%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

/*.omm-close{position: absolute; top:calc(50vh - 50px); left:calc(24% - 50px); width:50px;
height:100px; z-index: 10100; border-top-left-radius: 10px; border-bottom-left-radius: 10px;
background: var(--main) url(../images/quick-close-w.png) center no-repeat;
background-size:22px 22px;}*/
.omm-close {
  position: absolute;
  top: 17px;
  right: 0px;
  width: 50px;
  height: 50px;
  z-index: 10100;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background: url(../images/quick-close.png) center no-repeat;
  background-size: 22px 22px;
}



.omm-parent {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 59px;
  border-bottom: 1px solid #d0d0d0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  padding-left: 15px;
  color: #333;
  background: #fff url(../images/bg_select.png) no-repeat;
  background-position: calc(100% - 14px) center;
}
.omm-parent:first-child {
  border-top: 1px solid #d0d0d0;
  background-image: none;
}
.omm-parent.active {
  background: #fff url(../images/bg_select_u.png) no-repeat;
  background-position: calc(100% - 14px) center;
}
.omm-parent.active:first-child {
  background-image: none;
}


.omm-parent.active + .omm-child {
  display: block;
}

/*퀵메뉴 바깥*/

.quick-menu.active {
  right: 280px;
  transition: all 0.5s;
}


.quick-btn.on {
  background: url(../images/quick-on.png) center no-repeat;
}

/*퀵메뉴 메인*/
.q_close {
  position: absolute;
  display: block;
  width: 22px;
  height: 22px;
  background: url(../images/quick-close.png) center no-repeat;
  background-size: 20px 18px;
  top: 26px;
  right: 16px;
}

/*푸터 기본*/

.footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 40px 0 30px;
}
.footer .centerWrap {
  margin: 0 auto;
}

/* 로고 영역 */
.footerLogoArea {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px 0;
}
.footerLogoGongmonara {
  height: 20px;
  width: auto;
  opacity: 0.8;
  filter: grayscale(1);
}
.footerLogoBrisak {
  height: 20px;
  width: auto;
  opacity: 0.4;
}

/* 회사 정보 */
.footerInfoArea {
  margin: 0 0 24px 0;
}
.footerInfoArea p {
  font-size: 13px;
  color: #888;
  line-height: 2;
  margin: 0;
}
.footerInfoArea .t1 {
  font-weight: 700;
  color: #666;
}
.footerInfoArea a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footerInfoArea a:hover {
  color: #333;
}
.footerInfoArea a svg {
  vertical-align: middle;
  margin: 0 0 0 2px;
}

/* 구분선 */
.footerDivider {
  width: 100%;
  height: 1px;
  background: #e9ecef;
  margin: 0 0 20px 0;
}

/* 저작권 영역 */
.footerCopyrightArea {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyrightText {
  font-size: 12px;
  color: #aaa;
}
.copyrightText a {
  color: #888;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.copyrightText a:hover {
  color: #333;
}
.footerLinks {
  display: flex;
  gap: 16px;
}
.footerLinks a {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footerLinks a:hover {
  color: #333;
}

/*메인 컨텐츠*/
/*.content.c001{width:100%; height:100vh;
background:url(../images/main-c001a.jpg) top center no-repeat ; background-size: 1920px auto}*/
.swiper.main01 {
  display: block;
  width: 100%;
  max-height: 985px;
}



.content_info img {
  max-width: 100%;
  border: none !important;
}

.content_info.size2 img {
  max-width: 700px;
}

.content_info.size3 {
  gap: 0;
}

.content_info.size3 img {
  max-width: 700px;
}

.content_info.size3 .ciTxt1 {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: #111;
  font-weight: 400;
  word-break: keep-all;
  padding: 5px 0 40px;
}

.content_info .txt_info {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: #111;
  font-weight: 400;
  word-break: keep-all;
}

/*.main-txt1{
  font-family: 'Nanum Myeongjo', serif;
  font-weight: 700;
}*/

/* 메인 슬라이더 슬라이드 : 이미지 높이 고정 컨테이너 */
.main01 .swiper-slide {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

/* 슬라이드 배경 이미지 : 절대위치로 꽉 채움 */
.main01 .swiper-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 텍스트 오버레이 wrapper */


.buttonLink1 {
  display: block;
  max-width: 240px;
  width: calc(100% - 40px);
  height: 56px;
  background: #fff /*var(--main)*/;
  color: #111 !important;
  line-height: 56px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  margin: 30px 0 0;
  pointer-events: all;
  position: relative;
}
.buttonLink1::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: rotate(45deg);
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* mti_wrap : 항상 슬라이드 정중앙에 고정 */
.mti_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 20px;
}




/* main01 페이지네이션 : 12x4 사각형 bullet */
.main01 .swiper-pagination {
  bottom: 24px !important;
  z-index: 10;
}
.main01 .swiper-pagination-bullet {
  width: 24px !important;
  height: 4px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  margin: 0 4px !important;
  transition: all 0.3s !important;
}
.main01 .swiper-pagination-bullet-active {
  background: #fff !important;
  width: 28px !important;
}

/*.swiper-button-next.swiper-button-white, .swiper-button-prev.swiper-button-white,
.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction
{display: none;}*/



/*메인 : 청하람 새소식*/


.m-c02-news:hover,










/*.main-pic-btn001 .m4-cover{line-height: 330px;}
.main-pic-btn002 .m4-cover{line-height: 430px;}
.main-pic-btn003 .m4-cover{line-height: 330px;}*/


.main-v-btn.active {
  display: block;
  position: absolute;
  width: 783px;
  height: 443px;
  top: 220px;
  left: calc(50% - 245px);
  z-index: 30;
}

.main-v-btn img {
  width: 100%;
  height: 100%;
}









.main-block-tv.active {
  display: block;
  width: 74vw;
  position: absolute;
  height: 460px;
  top: 300px;
  left: 0px;
  background: #121618;
  z-index: 20;
  transition: all 0.5s;
}
/*.main-block-tv2{background:#0c549e;}

*/



.main-c04-menu.active {
  color: #fff;
  font-weight: 500;
}

.mv-bt-txt.active {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  position: absolute;
  z-index: 30;
  left: calc(50% - 245px);
  top: 693px;
}

/*서브 컨텐츠*/

.page-title-bar h2 {
  color: #fff;
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  margin-top: 170px;
  height: 52px;
  line-height: 52px;
}
.page-title-bar h3 {
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  height: 22px;
  line-height: 22px;
  margin-top: 30px;
}
.page-title-bar .m_line {
  width: 34px;
  height: 1px;
  background: #b4bbc2;
  margin: 0px auto;
  margin-top: 30px;
}






.select {
  width: 100%;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  color: #3a3d3e;
  font-size: 17px;
}
.select dt a {
  width: 100%;
  display: block;
  height: 80px;
  padding: 0 40px 0 20px;
  background: url(../images/bg_select.png) no-repeat 196px center;
  color: #3a3d3e;
  font-size: 17px;
  line-height: 80px;
  border-right: 1px solid #e2e2e2;
}
.select dt a.on {
  background: url(../images/bg_select_u.png) no-repeat 196px center;
}
.select dd {
  display: none;
  position: absolute;
  top: 79px;
  left: 0;
  width: 100%;
  padding: 0 !important;
  border: 1px solid #e2e2e2;
  max-height: 440px;
  overflow-y: auto;
  background: #fff;
  color: #3a3d3e;
  font-size: 17px;
  z-index: 90;
}
.select dd ul {
  padding: 0;
}
.select dd ul a {
  display: block;
  padding: 10px 0 13px 20px;
  line-height: 25px;
  color: #3a3d3e;
}
.select dd ul a:hover {
  background: #f0f0f0;
}
.select dd.on {
  display: block;
}

.content {
}



/*페이지, 버튼*/

/*컨텐츠 페이지*/

/*서브페이지들 상단이미지*/
.sub-a .page-title-bar {
  background: url(../images/sub1.webp) 50% calc(50% + 50px);
}
.sub-b .page-title-bar {
  background: url(../images/sub2.webp) 50% calc(50% + 50px);
}
.sub-c .page-title-bar {
  background: url(../images/sub3.webp) 50% calc(50% + 50px);
}

/*대표이사 인사말*/






.sa001-01 .content-in {
  min-height: 1370px;
}

/*조직도*/






.tab-a5-content.active {
  display: block;
  position: relative;
}




.ci-row1 .ci-txt {
  position: relative;
  margin-top: 40px;
  margin-left: 76px;
}

/*오시는 길*/
.content-in.a008-bot {
  min-height: 10px;
}







.addr-right .addr-tr {
  height: 88px;
  border-bottom: 1px solid #f2f2f2;
}








.fsg-002 img {
  width: 173px;
  height: auto;
  vertical-align: middle;
}

/*
게시판류 넓이*/

/* Accessibility */
#accessibility {
}
#accessibility a {
  display: block;
  position: absolute;
  z-index: 99999;
  top: 0;
  left: -99999px;
  width: 100%;
  padding: 10px 0;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
  color: #fff;
}
#accessibility a:focus,
#accessibility li a:active {
  left: 0;
}
.hidden {
  display: block;
  overflow: hidden;
  position: absolute;
  left: -9999999999999999px;
  top: -999999px;
  width: 0;
  height: 0;
  font-size: 0;
}

/* 반응형 대표 인사말 (sub_a001.html) 리팩토링 */
.sa001-01 .content-in {
  min-height: auto !important;
}



.first.sa001-01 .txt1 {
  position: static !important;
  padding: 0px 0px 0px 110px !important;
  margin-top: 60px !important;
  margin-bottom: 40px !important;
  background-position: left top !important;
}
.first.sa001-01 .txt2 {
  position: static !important;
  margin-top: 0 !important;
}
.first.sa001-01 .img-sa001-01 {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin-bottom: 20px !important;
}
.first.sa001-01 .txt3 {
  position: static !important;
  margin-bottom: 10px !important;
  text-align: right !important;
}
.first.sa001-01 .txt4 {
  position: static !important;
  text-align: right !important;
}

/* 특허출원 내용 (sub_a002a.html) 반응형 리팩토링 */
.sa007-01 .patent-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}
.sa007-01 .patent-wrap .ci-row1 {
  width: 100%;
  max-width: 800px;
  height: auto !important;
  border: 1px solid #f2f2f2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
}
.sa007-01 .patent-wrap .ci-row1 .ci-001 {
  margin: 0 !important;
  position: static !important;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.sa007-01 .patent-wrap .ci-row1 .ci-txt {
  margin: 30px 0 0 0 !important;
  position: static !important;
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  word-break: keep-all;
}

/* 모든 서브페이지 하단 공통 여백 (홈화면 제외) */
#contentsarea:not(.index) {
  padding-bottom: 150px;
}

/* --- FROM alt_col.css --- */

/* Alternating Background Color for Prize Columns */
.expertMasterTable td.prize-col-alt {
  background-color: #f4f4f4;
}

/* Make sure hovered row doesn't break alt background but still shows feedback */
.expertMasterTable tbody tr:hover td.prize-col-alt {
  background-color: #e9e9e9;
}

/* --- FROM expert.css --- */

/* User requested: Make centerWrap 100% max-width on expert board only */

/* --- FROM expert2.css --- */

/* Scoped Override for Contest Expert layout (top filter, 100% width) */

.expert .contestsSidebar {
  width: 100% !important;
}

/* ── 엑스퍼트 필터: 다나와식 테이블 레이아웃 (좌측 제목 셀 + 우측 옵션) ── */
.expert .filterBox {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  background: #fff !important;
  border: 1px solid #c0c0c0 !important;
  border-radius: 8px !important;
  margin: 20px 0 0;
}

/* 모서리 제목 셀 라운드 처리 (overflow:hidden은 드롭다운을 잘라서 사용 불가) */
.expert .filterBox > .filterGroup:first-of-type .filterGroupTitle {
  border-top-left-radius: 7px !important;
}
.expert .filterBox > .filterGroup:last-child .filterGroupTitle,
.expert
  .filterBox
  > .filterGroupRow:last-child
  > .filterGroup:first-child
  .filterGroupTitle {
  border-bottom-left-radius: 7px !important;
}

/* 각 필터 그룹 = 테이블 행 */
.expert .filterGroup {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 0 !important;
  border-right: none !important;
  border-bottom: 1px solid #e8e8e8 !important;
}
.expert .filterGroup:last-child {
  border-bottom: none !important;
}

/* filterGroup1(진행상태+초기화) - 홈 전용 */
.expert .filterGroup.filterGroup1 {
  min-width: 0 !important;
}

/* 좌측 제목 셀 */
.expert .filterGroupTitle {
  flex: 0 0 150px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 150px !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  border-top: none !important;
  border-right: 1px solid #e8e8e8 !important;
  background: var(--tableLabel) !important;
  color: var(--tableLabelTxt) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* 우측 옵션 셀 */
.expert .filterOptions {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 6px 18px !important;
  align-items: center !important;
  padding: 10px 16px !important;
}

.expert .fgSearch .filterOptions {
  padding: 8px 16px !important;
}

/* 셀렉트/슬라이더가 행 전체를 차지하지 않도록 폭 제한 */
.expert .filterOptions .customSelect.w-100 {
  width: 100% !important;
  max-width: 220px !important;
}

/* 최고 상금 / 총 수상 인원 옵션 셀 패딩 축소 */
.expert .fgPrize .filterOptions,
.expert .fgWinners .filterOptions {
  padding: 8px 16px !important;
}
/* 총 상금: 슬라이더 + 값 텍스트를 한 줄에 (텍스트 우측 배치) */
.expert .fgTotalPrize .filterOptions {
  flex-wrap: nowrap !important;
  gap: 6px 12px !important;
}
.expert .fgTotalPrize .filterOptions input[type="range"] {
  flex: 0 0 160px !important;
  width: 160px !important;
}
.expert .fgTotalPrize .filterOptions #totalPrizeVal {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  margin-top: 0 !important;
}

/* ── 결과내 검색 행 (상금표 전용, 홈 사이드바에서는 숨김) ── */
.filterGroup.fgSearch {
  display: none;
}
.expert .filterGroup.fgSearch {
  display: flex !important;
}
/* 포상 형태(2/3) + 결과내 검색(1/3, 총 상금 열과 정렬) */
.expert .filterGroupRow .filterGroup.fgTax {
  flex: 2 1 0 !important;
}
/* 응모 대상(2/3) + AI 사용(1/3, 총 상금 열과 정렬) */
.expert .filterGroupRow .filterGroup.fgAudience {
  flex: 2 1 0 !important;
}
.expert .fgSearch .filterSearchWrap {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 280px;
}
.expert .fgSearch .filterSearchInput {
  flex: 1 1 auto;
  min-width: 0;
  height: 28px;
  box-sizing: border-box;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
}
.expert .fgSearch .filterSearchInput:focus {
  border-color: var(--main);
}
.expert .fgSearch .filterSearchInput::placeholder {
  color: #aaa;
}
.expert .fgSearch .filterSearchBtn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.expert .fgSearch .filterSearchBtn:hover {
  border-color: #aaa;
  color: #333;
}

/* ── 그룹 묶음 행: 최고 상금 | 총 수상 인원 | 총 상금 규모 ── */
.filterGroupRow {
  display: contents; /* 홈(세로 사이드바)에서는 래퍼 무시 */
}
.filterGroupRow .filterGroup:last-child {
  border-bottom: 1px solid #e9ecef;
}
.filterGroupRow:last-child .filterGroup:last-child {
  border-bottom: none;
}
.expert .filterGroupRow {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  border-bottom: 1px solid #e8e8e8 !important;
}
.expert .filterBox > .filterGroupRow:last-child {
  border-bottom: none !important;
}
.expert .filterGroupRow .filterGroup {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  border-bottom: none !important;
  border-right: 1px solid #e8e8e8 !important;
}
.expert .filterGroupRow .filterGroup:last-child {
  border-right: none !important;
}

/* 모바일: 제목 셀 축소 */

/* --- FROM expert_all_wrap.css --- */

/* Extend 100% width to ALL centerWrap elements on expert page (Header, Footer, Banner) */
body


/* --- FROM expert_table.css --- */

/* --- Expert Master Table Layout --- */




.expertMasterTable thead {
  background-color: #f1f3f5;
  border-bottom: 2px solid #333;
}

.expertMasterTable th {
  padding: 12px 10px;
  font-weight: bold;
  color: #333;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

.expertMasterTable td {
  padding: 10px 8px;
  border: 1px solid #e0e0e0;
  font-size: 13px;
  vertical-align: middle;
  word-break: keep-all;
}

/* Base styles for the first 3 columns */
.expertMasterTable .colTitle {
  width: 350px;
}
.expertMasterTable .colFav {
  width: 70px;
}
.expertMasterTable .colLink {
  width: 110px;
}

/* Styles for column content */






.btnOpenLink {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
}

.btnOpenLink:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}



.expertMasterTable tbody tr:hover td {
  background-color: #fafbfc;
}

/* Re-style the heart button for table */
.expertMasterTable .btnFavList {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /*border: 1px solid #dbe2ec;*/
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.expertMasterTable .btnFavList:hover {
  border-color: #f2a4b3;
  background: #fff4f6;
  transform: translateY(-1px);
}

.expertMasterTable .btnFavList.active {
  border-color: #f7a3b1;
  background: #fff0f3;
}

/* --- FROM hide_toggle.css --- */

/* Hide the global prize toggle on expert page since prize table is always on */
.expert .global-prize-toggle {
  display: none !important;
}

/* --- FROM nolink_css.css --- */

.noLinkText {
  font-size: 12px;
  color: #999;
  display: inline-block;
  padding: 6px 12px;
  background-color: #f1f3f5;
  border-radius: 4px;
}

/* --- 좌측 사이드바 필터 레이아웃 --- */

.btnCloseFilter {
  display: none;
}

.filterSidebarHeader {
  display: none;
}

.contestsSidebar {
  width: 250px;
  flex-shrink: 0;
}

.filterBox {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filterGroup {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid #e9ecef;
  padding: 20px 0;
}
.filterGroup:last-child {
  border-bottom: none;
}
.allWrap:not(.expert) .filterGroup.fgTax {
  border-bottom: none;
  padding-bottom: 5px;
}

.filterGroupTitle {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  padding: 0 0 16px;
  border-top: none;
}

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

/* 홈 사이드바에서만 체크박스 라벨의 클릭 영역을 내용 폭으로 제한 */
.contestAllWrap--home .contestsSidebar .filterOptions > .filterLabel {
  align-self: flex-start;
}

.contestAllWrap--home .contestsSidebar .filterGroup1 .filterOptions > .filterLabel{
  align-self: center;
}


/* 모바일 필터 오버라이드 */

/* --- FROM premium_header.css --- */

/* --- Premium Header Redesign --- */
.expertMasterTable thead {
  background-color: #2c3e50 !important; /* Deep modern slate blue */
  border-bottom: 3px solid #1a252f !important;
}

.expertMasterTable th {
  color: #ffffff !important;
  border: 1px solid #34495e !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

.expertMasterTable th.colTitle {
  background-color: #2c3e50 !important;
  border-right: 2px solid #1a252f !important;
}

/* --- FROM prize_css.css --- */

/* Prize Table Styles */



.prizeTableContainer {
  padding: 0 15px 15px 15px;
  background: #fdfdfd;
  border-bottom: 1px solid #eee;
}


.contestPrizeTable th,
.contestPrizeTable td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 13px;
}
.contestPrizeTable th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}








/* --- FROM sticky.css --- */

/* Sticky First Column & Table Cell Minimum Width */
.expertMasterTable td,
.expertMasterTable th {
  min-width: 42px;
}

/* Explicit widths for sticky and fixed columns overrides min-width */
.expertMasterTable .colTitle {
  width: 350px;
  min-width: 350px;
}
.expertMasterTable .colFav {
  width: 60px;
  min-width: 60px;
}
.expertMasterTable .colLink {
  width: 100px;
  min-width: 100px;
}
.expertMasterTable .colCat {
  width: 80px;
  min-width: 80px;
}

/* Sticky Title Column */
.expertMasterTable th.colTitle {
  position: sticky;
  left: 0;
  background-color: #f1f3f5;
  z-index: 3;
  border-right: 2px solid #ccc;
}

.expertMasterTable td.stickyTitleCol {
  position: sticky;
  left: 0;
  background-color: #fff;
  z-index: 2;
  border-right: 2px solid #ccc;
}

/* Make sure hovered row doesn't break sticky background */
.expertMasterTable tbody tr:hover td.stickyTitleCol {
  background-color: #fafbfc;
}

/* Enable custom scrolling behavior */



/* Fix stickyTitleCol textLeft removal */
.expertMasterTable td.stickyTitleCol {
  position: sticky;
  left: 0;
  background-color: #fff;
  z-index: 2;
  border-right: 2px solid #ccc;
  text-align: left;
  vertical-align: middle;
}

/* Also add the classes from remove_inline.php because they were NOT saved as a .css artifact! */
.expertContestMeta {
  margin-bottom: 3px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.statusBadge.expertBadge {
  padding: 2px 6px;
  font-size: 11px;
}
.expertContestMeta .endDate {
  color: #555;
}
.contestSpecialBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  background: #e53935;
  color: #fff;
  padding: 0 13px;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  border-radius: 3px !important;
  white-space: nowrap;
  box-sizing: border-box;
  margin-right: 5px;
}
.expertMasterTable td.expertCatCell {
  width: 80px;
  font-weight: bold;
  color: #333 !important;
  background-color: /*#fff9c4*/ var(--tableLabel);
}
.expertMasterTable td.expertCatCellEmpty {
  width: 80px;
  background-color: /*#fff9c4*/ var(--tableLabel);
}
.contestPrizeTable td.cardCatCell {
  width: 80px;
  background-color: #f8f9fa !important;
  font-weight: bold;
  color: #333 !important;
}

.expert .contestsContainer .centerWrap {
  max-width: 100%;
  flex-direction: column;
}
.expert .contestsSidebar {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.expert .contestsMain {
  width: 100%;
}
/* ==================================================
   MAIN CONTEST PAGE REBUILD (EMERGENCY FIX)
   ================================================== */
.centerWrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.contestsContainer {
  display: block;
  width: 100%;
  margin: 20px 0 0;
}

/*.expert .contestsContainer{
	margin:20px 0 0;
}*/

.contestListContainer {
  margin: 16px 0 0;
  position: relative;
}

.contestListContainer #contest-list-wrapper {
  position: relative;
}

.loaderOverlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 30;
  align-items: flex-start;
  justify-content: center;
  padding-top: 72px;
  background: rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.loaderOverlay .spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #d7e3ef;
  border-top-color: #0b60b0;
  border-radius: 50%;
  animation: loaderSpin 0.75s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Banner */
.homeBannerWrapper {
  padding: 20px 0 0;
}

.homeBannerWrapper .swiper{
  border-radius: 10px;
}
.homeBannerWrapper .swiper-slide {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #2b5c8f !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.homeBannerWrapper .slideContent h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}
.homeBannerWrapper .slideContent p {
  font-size: 16px;
  opacity: 0.9;
}

/* Layout */
.contestsPageTitleWrap {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 15px;
}
.contestsPageTitleControls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.prizeTableBannerZone {
  --prize-table-banner-zone-width: 620px;
  position: absolute;
  z-index: 10;
  top: -10px;
  right: 0;
  width: var(--prize-table-banner-zone-width);
  min-width: 0;
  margin: 0;
}
.prizeTableBannerZone--1 {
  --prize-table-banner-zone-width: 200px;
}
.prizeTableBannerZone--2 {
  --prize-table-banner-zone-width: 410px;
}
.prizeTableBannerSwiper {
  overflow: hidden;
}
.prizeTableBanner {
  display: flex;
  width: 200px;
  height: 54px;
  box-sizing: border-box;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe7f8;
  border-radius: 10px;
  background: #1677f2;
  color: #fff;
  text-decoration: none;
}
.prizeTableBannerImage {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.prizeTableBannerText {
  padding: 0 14px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contestsHeaderExcludeCheckbox {
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
  gap: 5px;
}
/* 최고 상금 범위 입력 (필터) */
.prizeRangeRow {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.prizeRangeField {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.prizeRangeInput {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}
.prizeRangeInput:focus {
  outline: none;
  border-color: var(--main);
}
.prizeRangeUnit {
  flex-shrink: 0;
  font-size: 13px;
  color: #555;
}
.prizeRangeTilde {
  flex-shrink: 0;
  color: #888;
}

.contestsPageTitle {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  color: #333;
  letter-spacing: -0.5px;
  text-align: left;
}

.contestsContainer .centerWrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Sidebar */
.contestsSidebar {
  width: 250px;
  flex-shrink: 0;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 0 20px 20px;
  background: #fff;
}

/* Main Content */
.contestsMain {
  flex: 1;
  min-width: 0;
}

/* List Header */
.contestsListHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contestsListHeaderInner {
  display: flex;
  align-items: center;
}
.contestsListTitle {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
}
.contestsListTitle .contestsCount {
  color: #0b60b0;
}

/* Toggle & Sort */
.global-prize-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}
.toggle-switch {
  position: relative;
  width: 32px;
  height: 20px;
  margin-top: 2px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}
.toggle-switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.toggle-switch input:checked + .slider {
  background-color: #0b60b0;
}
.toggle-switch input:checked + .slider:before {
  transform: translateX(12px);
}
.customSelect {
  position: relative;
  display: inline-block;
  width: 130px;
}
.customSelectTrigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s ease;
}
.customSelectTrigger:hover {
  border-color: #aaa;
}
.customSelectTrigger .arrow {
  flex-shrink: 0;
  color: #999;
  transition: transform 0.2s ease;
}
.customSelect.open .customSelectTrigger {
  border-color: var(--main);
}
.customSelect.open .customSelectTrigger .arrow {
  transform: rotate(180deg);
}

/* 드롭다운 패널 */
.customSelectDropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 20;
  display: none;
  overflow: hidden;
}
.customSelect.open .customSelectDropdown {
  display: block;
}

/* 드롭다운 헤더 */
.customSelectHeader {
  padding: 10px 14px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
}

/* 옵션 목록 */
.selectOptions {
  padding: 4px 0;
}


/* 옵션 아이템 */
.customSelectOption {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 9px 36px 9px 14px;
  cursor: pointer;
  color: #555;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  border-radius: 5px;
}
.customSelectOption:hover {
  background: #f8f9fa;
}
.customSelectOption.selected {
  color: #333;
  font-weight: 600;
}

/* 체크 아이콘 */
.customSelectOption .checkIcon {
  position: absolute;
  top: 50%;
  right: 14px;
  display: none;
  width: 16px;
  height: 16px;
  color: var(--main);
  transform: translateY(-50%);
}
.customSelectOption.selected .checkIcon {
  display: block;
}

/* 표시 개수: 트리거 폭은 유지하고 옵션 패널만 한 줄로 표시 */
#customPerPageSelect .customSelectDropdown {
  min-width: 140px;
}
#customPerPageSelect .customSelectOption {
  white-space: nowrap;
}

/* w-100 변형 (사이드바 필터용) */
.customSelect.w-100 {
  width: 100%;
}

/* type2 변형: 컴팩트 사이즈 (트리거 높이 28px) - 상금표 필터용 */
.customSelect.type2 .customSelectTrigger {
  height: 28px;
  box-sizing: border-box;
  padding: 0 10px;
  font-size: 13px;
  border-radius: 4px;
  line-height: 26px;
}
.customSelect.type2 .customSelectTrigger .arrow {
  width: 14px;
  height: 14px;
}

/* List Items (테이블형: 간격 없이 선 하나로 구분) */
.contestListRowContainer {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.contestListItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  transition: background-color 0.15s ease;
}
.contestListItem:last-child {
  border-bottom: none;
}
/*.contestListItem:hover {
  background: #fffacd;
}*/
.contestListItem.contestPinnedRow,
.contestListItem.contestPinnedRow:hover {
  background: #fff7f8;
}

/* 목차(헤더) 행 */
.contestListItem.contestListHeadRow {
  padding: 11px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}
.contestListItem.contestListHeadRow:hover {
  background: #f8f9fa;
}
.contestListHeadRow .colBadge,
.contestListHeadRow .colHost,
.contestListHeadRow .colAction {
  text-align: center;
}
.contestListLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  gap: 16px;
}

/* 제목 영역 */
.contestListItem .colTitle {
  flex: 2;
  min-width: 0;
  padding: 0 20px 0 0;
}
.contestListItem .contestTitle {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contestListItem:hover .contestTitle {
  color: #2b6cb0;
  text-decoration: underline;
}
.contestCategory {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 2px 0 0;
}
.contestCategoryTags {
  display: contents;
}
.contestListItem .mobileDDayBadge {
  display: none;
}

/* 분야 해시태그 (텍스트만) */
.categoryTag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  line-height: 18px;
  white-space: nowrap;
}
/* 태그 사이 구분점 (2x2 동그라미) */
.categoryTag + .categoryTag::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #666;
  margin-right: 6px;
}

/* D-Day 배지 (리스트형) */
.contestListItem .colBadge {
  flex: 0 0 58px;
  text-align: center;
}
.contestListItem .colBadge .expertDDayBadge {
  margin: 0;
  padding: 3px 0;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* 주최기관 */
.contestListItem .colHost {
  flex: 0 0 auto;
  width: 140px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contestListItem.contestListHeadRow .colHost {
  font-size: 14px;
  color: #333;
}

/* D-Day 영역 */
.contestListItem .colDday {
  flex: 0 0 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0;
}
.dDayText {
  font-size: 16px;
  font-weight: 800;
  color: #e53e3e;
  margin: 0;
  width: 100%;
  text-align: center;
}
.dDayText em {
  font-style: normal;
}

/* 상태 배지 */

.statusBadge.statusClosed {
  background: #adb5bd;
}
.statusBadge.statusUpcoming {
  background: #38a169;
}
.statusBadge.statusOngoing {
  background: #2b6cb0;
}

/* 관심(하트) 버튼 열 - 헤더와 정렬되도록 고정 폭 */
.colAction {
  flex: 0 0 48px;
  display: flex;
  justify-content: center;
  padding: 0;
}

/* 목록 모바일: 주최기관 열 숨기고 여백 축소 */

.btnFavList {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /*border: 1px solid #dbe2ec;*/
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contestListItem .btnFavList{
  transform: translateY(-2px);
}

.btnFavList:hover {
  border-color: #f2a4b3;
  background: #fff4f6;
  transform: translateY(-1px);
}

/* Pagination */
.paginationWrapper {
  display: flex;
  justify-content: center;
  padding: 30px 0 10px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination .pageBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.pagination .pageBtn:hover {
  background: #f0f0f0;
  border-color: #ccc;
}
.pagination .pageBtn img {
  display: block;
}
.pagination .pageNum {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: all 0.15s ease;
}
.pagination .pageNum:hover {
  color: #333;
  background: #f5f5f5;
  border-color: #e0e0e0;
}
.pagination .pageNum.active {
  background: #333;
  color: #fff;
  font-weight: 700;
  border-color: #333;
  pointer-events: none;
}
/* Sidebar Checkboxes & Radios */

/* 첫 번째 필터그룹: 마감제외 + 초기화 한 줄 */
.filterGroup1 .filterOptionsRow {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

/* 초기화 버튼 */
.btnResetFilter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  font-size: 13px;
  color: #666;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btnResetFilter:hover {
  border-color: #999;
  color: #333;
}
.btnResetFilter svg {
  vertical-align: middle;
  flex-shrink: 0;
}

/* 필터 레이블 (체크박스/라디오 공통) */
.filterLabel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #444;
  cursor: pointer;
  width: auto;
  height: 24px;
  box-sizing: border-box;
  line-height: 24px;
  margin: 0;
  padding: 0;
  font-weight: 500;
}
.filterLabel:last-child {
  margin: 0;
}

.contestsSidebar .filterLabel {
  height: 18px;
}

/* 기본 체크박스 숨기고 커스텀 아이콘 적용 */
.filterLabel input[type="checkbox"],
.filterLabel input[type="radio"],
.authConsent input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  background: url("/assets/images/off-20.svg") no-repeat center center;
  background-size: 16px 16px;
  transform: translateY(1px);
}
.filterLabel input[type="checkbox"]:checked,
.authConsent input[type="checkbox"]:checked {
  background-image: url("/assets/images/check-on-20.svg");
}
.filterLabel input[type="radio"]:checked {
  background-image: url("/assets/images/radio-on-20.svg");
}

.filterGroup {
  margin: 0 0 0 0;
}
.filterGroup h4 {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 15px 0;
}

/* ============================================================
   EXPERT CONTEST TABLE (30 COLUMNS)
   ============================================================ */
.expertTableZoomControls {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  color: #4b5563;
  font-size: 12px;
}

.expertTableZoomButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid #d5dce8;
  border-radius: 6px;
  background: #fff;
  color: #1c4d87;
  font-size: 17px;
  line-height: 1;
}
.expertTableZoomButton:disabled {
  color: #b7c0cc;
  background: #f7f9fc;
}
.expertTableZoomValue {
  min-width: 46px;
  color: #1f3655;
  font-weight: 600;
  text-align: center;
}
.expert .expertTheadOnly,
.expert .contestListTableScroll .expertContestTable {
  zoom: var(--expert-table-scale, 1);
}

.contestListTableWrap {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 8px;
}

/* 스크롤 컨테이너: sticky는 이 안에서 동작 */
.contestListTableScroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e0e0e0;
  cursor: grab;
  scrollbar-width: none; /* 기본 스크롤바 숨김 - 커스텀으로 대체 */
}
/*.contestListTableScroll:before{
	content: "";
	width: 100%;
	height: calc(100% - 12px);
	border:1px solid #e0e0e0;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	top:0;
	border-radius: 8px;
}*/

.contestListTableScroll::-webkit-scrollbar {
  display: none;
}
.contestListTableScroll:active {
  cursor: grabbing;
}

/* 커스텀 스크롤바 - 좌측 고정 4열 이후부터 시작 */
.expertTableScrollbar {
  display: none; /* JS가 스크롤 필요 여부 판단 후 표시 */
  position: relative;
  height: 8px;
  background: #e8e8e8;
  margin: 4px 0 6px 600px; /* 좌측 고정 4열 너비: 350 + 46 + 84 + 120 */
  border-radius: 4px;
  cursor: pointer;
}
.expertTableScrollbarThumb {
  position: absolute;
  top: 0;
  height: 100%;
  background: #b0b0b0;
  border-radius: 4px;
  cursor: grab;
  transition: background 0.15s;
  min-width: 30px;
}
.expertTableScrollbarThumb:hover {
  background: #888;
}
.expertTableScrollbarThumb.dragging {
  background: #666;
  cursor: grabbing;
}

.expertContestTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: center;
  border: 1px solid #c0c0c0;
  border-bottom: none;
}

/* thead 전용: 화면 너비에 고정, 좌우 스크롤 없음 */
.expertTheadOnly {
  table-layout: fixed;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
/* 상금 헤더는 나머지 너비 제운 */
.expertTheadOnly th.colPrizeGroup {
  width: auto;
}

/* tbody 전용: 좌우 스크롤, 컨텐츠 반응 너비 */
.expertTbodyOnly {
  min-width: 1200px; /* 콜럼 스크롤이 일어나는 최소 폭 */
  border-top: 1px solid #e0e0e0;
}

.expertContestTable thead {
  background-color: var(--tableLabel);
}

.expertContestTable th {
  padding: 12px 2px;
  font-weight: bold;
  color: #fff;
  font-size: 14px;
  text-align: center;
  /*border: 1px solid #1e456d;*/
  vertical-align: middle;
  background-color: #00336f;
}

.expertContestTable td {
  padding: 3px 2px;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-left: none;
  font-size: 13px;
  vertical-align: middle;
  word-break: keep-all;
  white-space: nowrap;
  text-align: center;
}

/* Fixed column widths */
.expertContestTable .colTitle {
  width: 350px;
  min-width: 350px;
  text-align: left;
  padding: 0; /* 패딩은 내부 .contestTitleLink(a)가 담당 */
  white-space: normal;
}

.expertContestTable th.colTitle {
  text-align: center;
}

.expertContestTable .colFav {
  width: 46px;
  min-width: 46px;
  text-align: center;
}
.expertContestTable td.colFav .btnFavList {
  margin: 0 auto;
}
.expertContestTable .colLink {
  width: 84px;
  min-width: 84px;
}
.expertContestTable .colCategory {
  width: 120px;
  min-width: 120px;
}
.expertContestTable td.colCategory {
  font-weight: 500;
}

/* Sticky columns: expertTbodyOnly 안에서 td만 sticky (th는 이제 별도 테이블) */
.expertContestTable td.colTitle {
  position: sticky;
  left: 0;
  z-index: 2;
  vertical-align: middle;
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
  border-left: 1px solid #e0e0e0;
}
.expertContestTable td.colTitle.contestPinnedTitle {
  background-color: #fff7f8;
}
.expertContestTable td.colFav {
  position: sticky;
  left: 350px;
  z-index: 2;
  background-color: #fff;
}
.expertContestTable td.colLink {
  position: sticky;
  left: 396px;
  z-index: 2;
  background-color: #fff;
}
.expertContestTable td.colCategory {
  position: sticky;
  left: 480px;
  z-index: 2; /* 350+46+84 */
  background-color: /*#fff9c4*/ var(--tableLabel);
}

/* expertTheadOnly의 th는 colTitle/colFav/colLink/colCategory sticky 적용 */
.expertTheadOnly th.colTitle,
.expertTheadOnly th.colFav,
.expertTheadOnly th.colLink,
.expertTheadOnly th.colCategory {
  background-color: #00336f;
}

/* tbody 고정열 배경 */
.expertContestTable tbody td.colTitle,
.expertContestTable tbody td.colFav,
.expertContestTable tbody td.colLink {
  background-color: #fff;
}
.expertContestTable tbody td.colCategory {
  background-color: /*#fff9c4*/ var(--tableLabel) !important;
}

/* Expert D-day Badge */
.expertContestMeta {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  margin: 0 0 4px;
}
.expertDDayBadge {
  display: inline-block;
  width: 48px;
  padding: 2px 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  vertical-align: middle;
  line-height: 24px;
  text-align: center;
}
/* 10일 이상: 연한 파랑 배경 + 파란 글씨 */
.expertDDayBadge.ddaySafe {
  /*background-color: #fffbdd;
	color: #1565c0;*/
  background-color: #f3f9ff;
  color: #1565c0;
}
/* 10일 미만: 연한 빨강 배경 + 붉은 글씨 */
.expertDDayBadge.ddayUrgent {
  background-color: #fff3f2;
  color: #c62828;
}
/* 마감: 연한 회색 배경 + 검정 글씨 */
.expertDDayBadge.ddayClosed {
  background-color: #ebebeb;
  color: #333;
}

.expertContestTable .colPrize {
  min-width: 40px;
}

/* 상금 열은 5개 단위로 은은한 구분선을 표시한다. */
.expertContestTable td.colPrize.colPrizeGroupEnd {
  border-right-color: #bfc8d2;
}

/* Content Styles */
/* td 전체를 감싸는 링크 - 셀 전체 클릭 가능 */
.expertContestTable .contestTitleLink {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px 5px 5px 13px;
  text-decoration: none;
  color: inherit;
  word-break: break-all;
}
.expertContestTable .contestTitleLink:hover {
  background-color: #fffacd;
}
.expertContestTable .contestTitleLink:hover .contestTitle {
  color: #0b60b0;
  text-decoration: underline;
}
/* 제목 텍스트 스타일 (strong으로 변경) */
.expertContestTable .contestTitle {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  line-height: 20px;
}

.expertContestTable .contestHost {
  font-size: 13px;
  color: #666;
  display: block;
}

.expertContestTable .btnOpenLink {
  display: inline-block;
  padding: 6px 8px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
}

.expertContestTable .btnOpenLink:hover {
  background-color: #0b60b0;
  color: #fff;
  border-color: #0b60b0;
}

.expertContestTable .noLinkText {
  font-size: 12px;
  color: #999;
}

.expertContestTable tbody tr:hover td {
  background-color: #fafbfc;
}

/* ============================================================
   INDEX.PHP REFACTOR STYLES
   ============================================================ */
.listControlsWrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hiddenSelect {
  display: none;
}

.emptyResult {
  padding: 80px 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btnFavList svg {
  fill: none;
  stroke: #b8c1cc;
  stroke-width: 1.8px;
  width: 16px;
  height: 16px;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}
.btnFavList:hover svg {
  stroke: #e23e57;
}
.btnFavList.active svg {
  fill: #ff6177;
  stroke: #e23e57;
  transform: none;
}
.btnFavList.active {
  border-color: #f7a3b1;
  background: #fff0f3;
}
.btnFavList:focus-visible,
.btn-fav-detail:focus-visible {
  outline: 3px solid rgba(20, 122, 240, 0.25);
  outline-offset: 2px;
}

/* Expert Header/Footer Full Width */
body.expert header .centerWrap,
body.expert footer .centerWrap {
  max-width: 100%;
}

/* ==========================================
   인증 페이지 (로그인/회원가입/비밀번호 찾기)
   ========================================== */
.authContainer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 20px 80px;
  min-height: 60vh;
  background: var(--bg1);
}

.authCard {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 40px 36px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.authTitle {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-align: center;
}

.authDesc {
  margin: -16px 0 24px;
  font-size: 14px;
  color: #777;
  text-align: center;
  line-height: 1.6;
}

.authFormGroup {
  margin-bottom: 24px;
}

.authLabel {
  display: block;
  padding: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

input.authInput {
  width: 100%;
  height: 46px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
}
input.authInput:focus {
  border-color: var(--main);
}
input.authInput::placeholder {
  color: #aaa;
}

.authBtn {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: var(--main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: center;
}
.authBtn:hover {
  background: #c30310;
}

.authLinks {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.authLinks a {
  margin-left: 4px;
  color: var(--main);
  font-weight: 600;
  text-decoration: none;
}
.authLinks a:hover {
  text-decoration: underline;
}

.authActionLinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.authActionLinks.authSingleActionLink {
  grid-template-columns: minmax(0, 168px);
  justify-content: center;
}
.authActionLinks.authSingleActionLink a {
  border: 0;
}
.authActionLinks a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid #d6deeb;
  border-radius: 8px;
  color: var(--main);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.authActionLinks a:hover {
  border-color: var(--main);
  background: #fff5f5;
  color: var(--main);
}
/* 알림 박스 */
.authResendLink {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}
.withdrawalRecoveryDescription {
  font-size: 14px;
  line-height: 1.6;
}
.withdrawalRecoveryForm {
  margin-top: 24px;
}
.authCompletionThanks {
  margin: -10px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
.authCompletionRecovery {
  margin-top: 24px;
  padding: 20px 18px;
  border-radius: 8px;
  background: #f3f6fa;
  color: #596273;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}
.authCompletionRecovery p {
  margin: 0;
}
.authCompletionRecovery p + p {
  margin-top: 8px;
}
.authCompletionRecovery strong {
  color: var(--main);
  font-weight: 700;
}
.authCompletionHome {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border-radius: 8px;
  background: var(--main);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s ease;
}
.authCompletionHome:hover {
  background: #c30310;
}
.authResendLink a {
  color: var(--main);
  font-weight: 600;
  text-decoration: underline;
}
.alert {
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.alert ul {
  margin: 0;
  padding-left: 18px;
}
.alertSuccess {
  background: #eaf7ee;
  border: 1px solid #bfe5cb;
  color: #1e7a35;
}
.alertError {
  background: #fdeeee;
  border: 1px solid #f3c6c6;
  color: #c0392b;
}

/* 모바일 */

/* 인증 페이지: 헤더/푸터 없이 화면 정중앙 배치 */
body.authPage {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg1);
}
body.authPage .authContainer {
  flex: 1;
  align-items: center;
  padding: 40px 20px;
}

/* 카드 내부 로고 (타이틀 위) */
.authLogo {
  display: block;
  text-align: center;
  margin-bottom: 18px;
}
.authLogo img {
  height: 32px;
  vertical-align: middle;
}
/* end auth */

/* ==========================================
   공모전 상세 페이지
   ========================================== */
.contestDetailWrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px 0 0;
}

/* 좌측 메인 */
.contestDetailWrapper .contestMain {
  flex: 1;
  min-width: 0;
}

/* 모바일 포스터 (데스크톱에선 숨김) */
.mobilePoster {
  display: none;
}

/* 헤더 영역 */
.contest-header {
  padding: 0 0 24px;
  border-bottom: 1px solid #eee;
}
.headerBadges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
.contestMain .contestTitle {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  word-break: keep-all;
}

/* 본문 */
.contest-content {
  padding: 28px 0 0;
}
.contestGallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contestGallery img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.htmlContent {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  word-break: keep-all;
  margin: 50px 0 0 !important;
}
.htmlContent img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ---- 게시판 글 스타일: Toast UI 공식 뷰어 CSS(toastui-editor-contents) 체계 사용 ----
   상세 태그 스타일은 CDN의 toastui-editor-viewer.min.css가 담당.
   아래는 우리 사이트 톤에 맞춘 최소 오버라이드만 정의 (2클래스 셀렉터로 공식 CSS보다 우선) */
.htmlContent.toastui-editor-contents {
  font-size: 15px;
  font-family: inherit;
  word-break: keep-all;
}
/* 공식 CSS의 ':not(table){line-height:160%}'보다 우선해 사이트 줄간격 유지 */
.htmlContent.toastui-editor-contents :not(table) {
  line-height: 1.8;
}
.htmlContent.toastui-editor-contents img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.htmlContent.toastui-editor-contents a {
  color: var(--main);
}
.htmlContent.toastui-editor-contents ul > li::before {
  width: 3px;
  height: 3px;
  margin-top: 11px;
  margin-left: -14px;
}
/* ---- end 게시판 글 스타일 ---- */

/* 상세내용 안내 카드 */
.detailNoticeCard {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 50px 0 0;
  padding: 16px 20px;
  background: #f0f6ff;
  border: 1px solid #d9e6f8;
  border-radius: 12px;
}
.detailNoticeIcon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e1edfc;
  border-radius: 10px;
  color: var(--main);
  font-size: 18px;
}
.detailNoticeIcon img {
  display: block;
  width: 24px;
  height: 24px;
}
.detailNoticeText {
  min-width: 0;
}
.detailNoticeText strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 3px;
}
.detailNoticeText span {
  font-size: 13px;
  color: #667085;
}

/* 우측 고정영역 */
.contestSidebar {
  width: 360px;
  flex-shrink: 0;
}
.sidebarSticky {
  /* 화면 내 고정 (fixed). 헤더(60px)에 가려지지 않게 아래로 내림 */
  position: fixed;
  top: 90px;
  width: 360px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.sidebarInfoBox {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.infoRow {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
}
.infoLabel {
  flex: 0 0 70px;
  font-size: 13px;
  color: #999;
}
.infoValue {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  word-break: keep-all;
}

/* 액션 버튼 행 (사이드바 최하단) */
.actionRow {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #eee;
}
.btnApplyMain {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: var(--main);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btnApplyMain:hover {
  background: #c30310;
}
.btnApplyMain.disabled {
  background: #ced4da;
  cursor: not-allowed;
}
.btnIcon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #666;
  font-size: 17px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.btnIcon:hover {
  border-color: #aaa;
  color: #333;
}
.btnIcon.btn-fav-detail {
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btnIcon.btn-fav-detail:hover {
  border-color: #f2a4b3;
  background: #fff4f6;
  transform: translateY(-1px);
}
.btnIcon.favActive {
  color: #e23e57;
  border-color: #f7a3b1;
  background: #fff0f3;
}
/* 찜(하트) 아이콘: 목록(.btnFavList)과 동일한 스타일 */
.btn-fav-detail svg {
  fill: none;
  stroke: #b8c1cc;
  stroke-width: 1.8px;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}
.btn-fav-detail.favActive svg {
  fill: #ff6177;
  stroke: #e23e57;
  transform: scale(1.06);
}

/* 반응형 */

/* end contest detail */

/* ==========================================
   공지사항 (목록 / 상세)
   ========================================== */
.noticePageWrap {
  padding-top: 80px;
  padding-bottom: 120px;
}

.noticeContainer,
.noticeDetailContainer {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

/* 목록 헤더 */
.noticeContainer .noticeHeader {
  margin: 0 0 24px;
}
.noticeContainer .noticeHeader h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.5px;
}

/* 목록 테이블 */
.noticeTable {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
  background: #fff;
}
.noticeTable th {
  padding: 13px 10px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.noticeTable td {
  padding: 14px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #666;
  text-align: center;
}
.noticeTable .colId {
  width: 80px;
}
.noticeTable .colDate {
  width: 130px;
}
.noticeTable td.colTitle {
  text-align: left;
}
.noticeTable td.colTitle a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.noticeTable td.colTitle a:hover {
  color: var(--main);
  text-decoration: underline;
}
.noticeTable tbody tr:hover td {
  background: #fafbfc;
}

/* 상세 헤더 */
.noticeDetailContainer .noticeHeader {
  padding: 0 0 18px;
  border-bottom: 1px solid #e5e5e5;
}
.noticeDetailContainer .noticeTitle {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  word-break: keep-all;
}
.noticeDetailContainer .noticeMeta {
  margin: 12px 0 0;
  font-size: 13px;
  color: #999;
}

/* 상세 본문 */
.noticeBody {
  padding: 30px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.noticeContent {
  white-space: pre-line;
  word-break: keep-all;
  font-size: 15px;
  line-height: 25px;
  font-weight: 400;
}
.noticeBody img {
  max-width: 100%;
  height: auto;
}
.noticeBody p {
  margin: 0 0 1em;
}

/* 유튜브 영상 (16:9) */
.videoWrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 20px 0;
}
.videoWrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* 첨부파일/링크 박스 */
.noticeAttachments {
  padding: 18px 20px;
  background: #f8f9fa;
  border: 1px solid #eef0f2;
  border-radius: 8px;
  margin: 0 0 30px;
}
.attachmentItem {
  display: flex;
  align-items: center;
  margin: 6px 0;
  font-size: 14px;
  color: #555;
  min-width: 0;
}
.attachmentItem a {
  color: var(--main);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachmentItem a:hover {
  text-decoration: underline;
}

/* 목록으로 버튼 */
.textCenter {
  text-align: center;
  padding: 10px 0 0;
}
.btnList {
  display: inline-block;
  height: 44px;
  line-height: 42px;
  padding: 0 32px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btnList:hover {
  border-color: #999;
  color: #333;
  background: #fafafa;
}

/* 공지 목록 페이지네이션 (CI 기본 ul/li 템플릿) */
.noticeContainer ul.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.noticeContainer ul.pagination li {
  list-style: none;
}
.noticeContainer ul.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: all 0.15s ease;
}
.noticeContainer ul.pagination li a:hover {
  color: #333;
  background: #f5f5f5;
  border-color: #e0e0e0;
}
.noticeContainer ul.pagination li.active a {
  background: #333;
  color: #fff;
  font-weight: 700;
  border-color: #333;
  pointer-events: none;
}

/* 공지 모바일 */

/* end notices */

/* 공지사항 UI 고도화 */
.noticePageWrap {
  padding: 88px 0 120px;
  background: var(--bg1);
  /*background: linear-gradient(180deg, #f6f9ff 0, #fff 300px);*/
}
.noticeContainer,
.noticeDetailContainer {
  max-width: 960px;
  padding: 0 20px;
}
.noticeContainer .noticeHeader {
  margin: 0 0 32px;
  text-align: center;
}
.noticeContainer .noticeHeader h2 {
  color: #1d2433;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1.4px;
}
.noticeContainer .noticeHeader p {
  margin: 12px 0 0 !important;
  color: #667085 !important;
  font-size: 15px;
  letter-spacing: -0.3px;
}
.noticeTable {
  border: 1px solid #e0e6ef;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.noticeTable th {
  padding: 16px 14px;
  border-bottom: 1px solid #e0e6ef;
  background: #f6f8fb;
  color: #334155;
  font-size: 13px;
}
.noticeTable thead th:first-child {
  border-top-left-radius: 9px;
}
.noticeTable thead th:last-child {
  border-top-right-radius: 9px;
}
.noticeTable td {
  padding: 18px 14px;
  border-bottom-color: #edf0f4;
  background: #fff;
  color: #64748b;
  transition: background-color 0.15s ease;
}
.noticeTable tbody tr:last-child td {
  border-bottom: 0;
}
.noticeTable tbody tr:last-child td:first-child {
  border-bottom-left-radius: 9px;
}
.noticeTable tbody tr:last-child td:last-child {
  border-bottom-right-radius: 9px;
}
.noticeTable .colId {
  width: 92px;
}
.noticeTable td.colTitle a {
  color: #1d2433;
  font-weight: 600;
  transition: color 0.15s ease;
}
.noticeTable td.colTitle a::after {
  content: none;
}
.noticeTable td.colTitle a:hover {
  color: var(--main);
  text-decoration: none;
}
.noticeTable tbody tr:hover td {
  background: #f7fbff;
}
.noticeTable tbody td[colspan] {
  height: 230px;
  color: #98a2b3 !important;
  font-size: 15px;
}
.noticeDetailContainer .noticeHeader {
  padding: 34px 40px 30px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fff;
}
.noticeDetailContainer .noticeTitle {
  color: #1d2433;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
}
.noticeDetailContainer .noticeMeta {
  margin-top: 18px;
  color: #98a2b3;
}
.noticeBody {
  padding: 44px 40px;
  margin: 16px auto 40px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  line-height: 1.9;
}
.noticeBody img,
.videoWrapper iframe {
  border-radius: 10px;
}
.videoWrapper {
  margin: 30px 0;
}
.noticeAttachments {
  padding: 24px 28px;
  margin: 16px 0 30px;
  border-color: #e0e6ef;
  border-radius: 10px;
  background: #f8fbff;
}
.attachmentItem {
  gap: 12px;
  padding: 10px 0;
}
.attachmentItem + .attachmentItem {
  border-top: 1px solid #dce8fb;
}
.attachmentItem a {
  font-weight: 600;
}
.textCenter {
  padding-top: 2px;
}
.btnList {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 46px;
  padding: 0 28px;
  border-color: #d0d5dd;
  border-radius: 8px;
  color: #475467;
}
.btnList:hover {
  border-color: var(--main);
  background: var(--main);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(20, 122, 240, 0.2);
}
.noticeContainer ul.pagination {
  gap: 6px;
}
.noticeContainer ul.pagination li a {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
}
.noticeContainer ul.pagination li.active a {
  border-color: var(--main);
  background: var(--main);
}

/* Auth UX additions */
.authCardWide {
  max-width: 480px;
}
.authHelp {
  margin: 7px 2px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e60413;
  font-weight: 500;
}
.authAvailability {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}
.authAvailability.isAvailable {
  min-height: 21px;
  margin: 4px 2px 0;
  color: #15803d;
}
.authAvailability.isUnavailable {
  min-height: 21px;
  margin: 4px 2px 0;
  color: #dc2626;
}
.authNicknameCheck {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.authNicknameCheck .authInput {
  min-width: 0;
  flex: 1 1 auto;
}
.authCheckButton {
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid var(--main);
  border-radius: 8px;
  background: #fff;
  color: var(--main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.authCheckButton:hover {
  background: #fff5f5;
}
.authCheckButton:disabled {
  opacity: 0.55;
  cursor: wait;
}
.authPasswordWrap {
  position: relative;
}
.authPasswordWrap .authInput {
  padding-right: 60px;
}

.authConsent {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  color: #4b5563;
  cursor: pointer;
}
.authConsentRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.authSaveLogin {
  margin: 22px 0 0;
}
.authSaveLogin .authConsent {
  display: inline-flex;
}
.authSaveLogin .authConsent input[type="checkbox"] {
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
}
.authConsentList {
  display: grid;
  gap: 24px;
  margin: 16px 0 24px;
}
.authConsent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  transform: none;
}
.authLabelRow a {
  color: var(--main);
  text-decoration: underline;
  line-height: 18px;
  margin: 0 0 8px;
}
.authConsentView {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 52px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.authConsentView:hover {
  border-color: var(--main);
  background: #fff5f5;
  color: var(--main);
}

.authLabelRow .authLabel {
  margin-bottom: 0;
}
.authEmailSummary {
  padding: 12px;
  border-radius: 8px;
  background: #f3f6fa;
  font-weight: 600;
  text-align: center;
  word-break: break-all;
}
.authChecklist {
  margin: 20px 0;
  color: #596273;
  font-size: 13px;
  line-height: 1.8;
}

.authChecklist li {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  line-height: 26px;
  padding: 0 0 0 10px;
}

.authChecklist li:before {
  content: "";
  width: 3px;
  height: 3px;
  background: #596273;
  border-radius: 50%;
  left: 0;
  top: 11px;
  z-index: 1;
  position: absolute;
}

.authChecklist li + li {
  margin: 5px 0 0;
}

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


.nicknameChangeNotice.locked {
  color: #d14343;
}
.formInput[aria-disabled="true"] {
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}

/* end auth UX additions */
/* ==========================================
   마이페이지
   ========================================== */
.mypagePage {
  min-height: 640px;
  background: var(--bg1);
  padding: 90px 0 150px;
}
.mypageContainer {
  width: 100%;
}
.mypageLayout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.mypageSidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
}
.mypageSidebarPanel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.mypageProfileCard {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 18px;
  border: 0;
  border-bottom: 1px solid #e9ecef;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}
.mypageProfileImage {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  object-fit: cover;
  filter: none !important;
  transform: none !important;
}
.mypageProfileInfo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
.mypageProfileInfo strong,
.mypageProfileInfo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mypageProfileInfo strong {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.mypageProfileInfo span {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}
.mypageNav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}
.mypageNavItem {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.mypageNavItem:hover {
  background: #f3f4f6;
  color: #111827;
}
.mypageNavItem.active {
  background: #eaf3ff;
  color: var(--main);
  font-weight: 700;
}
.mypageMain {
  min-width: 0;
}
.mypageSectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 106px;
  padding: 12px 30px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 24px;
  box-sizing: border-box;
}
.mypageSectionTitle {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.mypageSectionTitleRow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mypageSectionDesc {
  margin: 7px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}
.mypageCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 48px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: var(--main);
  font-size: 13px;
  font-weight: 700;
  box-sizing: border-box;
}
.mypageFavoriteActions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mypageSortForm {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mypageSortForm label {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}
.mypageSortSelect {
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid #d5dce6;
  border-radius: 7px;
  background-color: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.mypageSortSelect:focus {
  border-color: var(--main);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(20, 122, 240, 0.12);
}
.mypageContestListHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.mypageContestTotal {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
}
.mypageContestTotal span {
  color: var(--main);
}
.mypageContestListControls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mypageContestListControls .mypageSortSelect {
  min-width: 130px;
}
.mypagePanel {
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
.mypagePanel form {
  max-width: 640px;
}
.mypageFormGroup {
  margin-bottom: 36px;
}
.mypageLabel {
  display: block;
  margin-bottom: 9px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
}
input.mypageInput,
.mypageTextarea {
  display: block;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
input.mypageInput {
  height: 48px;
  padding: 0 14px;
}
.mypageTextarea {
  min-height: 140px;
  padding: 13px 14px;
  line-height: 1.65;
  resize: vertical;
}
.mypageInput:focus,
.mypageTextarea:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(20, 122, 240, 0.1);
}
.mypageInput::placeholder,
.mypageTextarea::placeholder {
  color: #9ca3af;
}
.mypageInput:disabled,
.mypageInput[aria-disabled="true"] {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
}
.mypageHelp {
  margin: 8px 2px 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
}


.marketingConsentOptions {
  display: flex;
  gap: 10px;
}
.marketingConsentOption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.marketingConsentOption:has(input:checked) {
  border-color: var(--main);
  background: #fff5f5;
  color: var(--main);
}
.marketingConsentOption input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--main);
}
.mypageButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--main);
  border-radius: 8px;
  background: var(--main);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.mypageButton:hover {
  border-color: #c30310;
  background: #c30310;
}
.mypageButton:disabled {
  border-color: #cbd5e1;
  background: #cbd5e1;
  cursor: not-allowed;
}
.mypageButtonOutline {
  border-color: #bfdbfe;
  background: #fff;
  color: var(--main) !important;
}
.mypageButtonOutline:hover {
  border-color: var(--main);
  background: #fff5f5;
}
.mypageButtonDanger {
  border-color: #d92d20;
  background: #d92d20;
}
.mypageButtonDanger:hover {
  border-color: #b42318;
  background: #b42318;
}
.profileImageDropzone {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 148px;
  padding: 22px 24px;
  border: 1px dashed #b8c4d4;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.profileImageDropzone:hover,
.profileImageDropzone.active {
  border-color: var(--main);
  background: #f1f7ff;
}
.profileImageDropzone:focus-visible {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(20, 122, 240, 0.12);
  outline: none;
}
.profileImagePreview {
  display: block;
  flex: 0 0 104px;
  width: 104px;
  height: 104px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  filter: none !important;
  box-sizing: border-box;
}
.profileImageDropzoneText {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.profileImageDropzoneText strong {
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
}
.profileImageActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.profileImageActionButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  box-sizing: border-box;
}
.profileImageActionButton[hidden] {
  display: none;
}
.profileImageActionButton:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}
.profileImageResetButton {
  color: #b42318;
}
.profileImageStatusError {
  color: #b42318;
}
body.profileCropOpen {
  overflow: hidden;
}
.profileCropModal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.68);
  box-sizing: border-box;
}
.profileCropModal[hidden] {
  display: none;
}
.profileCropDialog {
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24);
  overflow-y: auto;
  box-sizing: border-box;
}
.profileCropHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.profileCropHeader h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.profileCropHeader p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}
.profileCropClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.profileCropStage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 12px;
  background: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: grab;
  overflow: hidden;
  touch-action: none;
}
.profileCropStage.active {
  cursor: grabbing;
}
.profileCropStage img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  max-height: none;
  object-fit: fill;
  filter: none !important;
  transform-origin: 0 0;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}
.profileCropGrid {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 200px;
  height: 200px;
  border: 0;
  background-image:
    linear-gradient(
      to right,
      transparent 33.1%,
      rgba(255, 255, 255, 0.45) 33.3%,
      transparent 33.6%,
      transparent 66.4%,
      rgba(255, 255, 255, 0.45) 66.7%,
      transparent 66.9%
    ),
    linear-gradient(
      to bottom,
      transparent 33.1%,
      rgba(255, 255, 255, 0.45) 33.3%,
      transparent 33.6%,
      transparent 66.4%,
      rgba(255, 255, 255, 0.45) 66.7%,
      transparent 66.9%
    );
  box-shadow:
    inset 0 0 0 2px #fff,
    0 0 0 9999px rgba(2, 6, 23, 0.68),
    0 0 0 1px rgba(15, 23, 42, 0.35);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.profileCropGrid::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  content: "200 × 200";
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}
.profileCropControls {
  display: grid;
  grid-template-columns: auto 36px minmax(0, 1fr) 36px 48px;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.profileCropControlLabel {
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.profileCropControls input {
  width: 100%;
  margin: 0;
  accent-color: var(--main);
}
.profileCropZoomButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}
.profileCropZoomButton:hover:not(:disabled) {
  border-color: var(--main);
  color: var(--main);
}
.profileCropZoomButton:disabled {
  background: #f1f5f9;
  color: #a8b2c1;
  cursor: not-allowed;
}
.profileCropControls output {
  min-width: 48px;
  color: #334155;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}
.profileCropSize {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.profileCropButtons {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.profileCropButtons .profileImageActionButton {
  height: 46px;
  padding: 0 20px;
  font-size: 14px;
}
.profileCropButtons .mypageButton {
  min-width: 120px;
}
.mypageDangerPanel {
  border-color: #f4c7c3;
  background: #fffafa;
}
.mypageDangerTitle {
  margin: 0 0 10px;
  color: #b42318;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
}
.mypageWithdrawalGuide {
  max-width: 680px;
  margin: 30px 0 ;
  color: #6b3b37;
  font-size: 14px;
  line-height: 1.8;
}

.mypageWithdrawalGuide li{
  display: block;
  position: relative;
  font-size: 15px;
  line-height: 22px;
  padding:0 0 0 11px;
}

.mypageWithdrawalGuide li + li{
  margin:10px 0 0;
}

.mypageWithdrawalGuide li:before{
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #777;
  left: 0;
  top:9px;
  z-index: 6;
  position: absolute;
}


.mypageWithdrawalActions {
  display: flex;
  gap: 10px;
}

.mypageEmpty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 40px 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.mypageEmpty strong {
  color: #374151;
  font-size: 17px;
}
.mypageEmpty p {
  margin: 9px 0 22px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}
.inquiryFormPanel {
  margin-bottom: 38px;
}
.inquiryPanelTitle {
  margin: 0 0 24px;
  color: #222;
  font-size: 18px;
  font-weight: 750;
}
.inquiryListHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.inquiryListHeader h3 {
  margin: 0;
  color: #222;
  font-size: 19px;
  font-weight: 750;
}
.inquiryListHeader span {
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
}
.inquiryList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.inquiryItem {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.inquiryItemHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid #eef0f3;
  background: #fafafa;
}
.inquiryTitleWrap {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}
.inquiryTitleWrap h4 {
  overflow: hidden;
  margin: 0;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inquiryItemHeader time {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 13px;
}
.inquiryStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.inquiryStatus.pending {
  background: #fff7d6;
  color: #8a6116;
}
.inquiryStatus.answered {
  background: #eaf7ee;
  color: #1e7a35;
}
.inquiryItemBody {
  padding: 22px 20px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
}
.inquiryQuestion {
  word-break: break-word;
}
.inquiryAnswer {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cce8d4;
  border-radius: 9px;
  background: #f2fbf5;
  color: #285f38;
}
.inquiryAnswerHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}
.inquiryAnswerHeader strong {
  font-size: 14px;
}
.inquiryAnswerHeader time {
  color: #4d7a59;
  font-size: 12px;
}

/* 약관·개인정보 처리방침 */
.terms-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 40px;
}
.terms-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}
.terms-content {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.terms-section {
  margin-bottom: 30px;
}
.terms-section h3 {
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 3px;
  color: #222;
  font-size: 18px;
  font-weight: bold;
}
.terms-section p {
  margin-bottom: 10px;
}
.terms-section ul {
  margin-bottom: 10px;
  padding-left: 20px;
  list-style: none;
}
.terms-section li {
  position: relative;
  margin-bottom: 6px;
}
.terms-section li::before {
  position: absolute;
  top: 0.85em;
  left: -11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #777;
  content: '';
}
.terms-addendum {
  margin-top: 20px;
  font-weight: bold;
}

/* 사용자 사이트 반응형 보완 */
.btnMobileFilter,
.filterOverlay {
  display: none;
}

/* Responsive styles */












/*반응형 1000px의 끝*/
































































/* ???? */
.searchPage {
  min-height: calc(100vh - 60px);
  background: var(--bg1);
}
.searchContainer {
  max-width: 980px;
  padding-top: 70px;
}
.searchPageHeader {
  text-align: center;
}
.searchPageEyebrow {
  margin: 0 0 12px;
  color: var(--main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.searchPageHeader h1 {
  margin: 0;
  color: #1f2937;
  font-size: 30px;
  letter-spacing: -1.2px;
}
.searchPageForm {
  display: flex;
  align-items: center;
  max-width: 680px;
  height: 58px;
  margin: 30px auto 0;
  padding: 0 7px 0 20px;
  border: 2px solid var(--main);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.searchPageForm:focus-within {
  box-shadow: 0 0 0 4px rgba(20, 122, 240, 0.12);
}
.searchPageForm input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: #1f2937;
  font-size: 16px;
  background: transparent;
}
.searchPageForm input::placeholder {
  color: #a0a7b3;
}
.searchPageForm button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  height: 44px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  background: var(--main);
  cursor: pointer;
}

.searchResultSummary strong {
  color: #1f2937;
}
.searchResultTabs {
  display: flex;
  margin-top: 38px;
  border-bottom: 1px solid #dce1e7;
}
.searchResultTabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 16px;
  color: #64748b;
  font-size: 16px;
  font-weight: 600;
}
.searchResultTabs a.active {
  color: var(--main);
}
.searchResultTabs a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--main);
}
.searchResultTabs span {
  color: inherit;
  font-size: 14px;
}
.searchResultSection {
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  background: #fff;
}
.searchSectionHeading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f3;
}
.searchSectionHeading h2 {
  margin: 0;
  color: #1f2937;
  font-size: 20px;
}
.searchSectionHeading p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}
.searchSectionHeading strong {
  color: var(--main);
}
.searchContestList {
  display: flex;
  flex-direction: column;
}
.searchContestItem {
  display: block;
  padding: 24px 2px;
  border-bottom: 1px solid #edf0f3;
}
.searchContestItem:hover h3 {
  color: var(--main);
  text-decoration: underline;
}
.searchContestMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7b8491;
  font-size: 13px;
}
.searchContestMeta .expertDDayBadge {
  min-width: 42px;
  padding: 3px 7px;
  font-size: 11px;
  text-align: center;
}
.searchContestItem h3 {
  margin: 10px 0 8px;
  overflow: hidden;
  color: #202938;
  font-size: 18px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.searchContestDescription {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.searchContestFooter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 13px;
}
.searchContestHost {
  color: #475569;
  font-weight: 600;
}
.searchContestTags {
  display: flex;
  gap: 5px;
  overflow: hidden;
}
.searchContestTags span {
  color: #718096;
  white-space: nowrap;
}
.searchEmptyState {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  margin-top: 48px;
  padding: 30px;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  color: #9aa4b2;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
}
.searchEmptyState h2,
.searchEmptyState h3 {
  margin: 16px 0 7px;
  color: #334155;
  font-size: 18px;
}
.searchEmptyState p {
  margin: 0;
  color: #7b8491;
  font-size: 14px;
}
.searchNoResult {
  min-height: 220px;
  margin-top: 24px;
  border: 0;
  background: #fafbfc;
}





/* Home promo banner zone */
.homeBannerWrapper .swiper {
  overflow: hidden;
}
.homeBannerWrapper .swiper-slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.homeBannerWrapper .slideContent {
  padding: 12px 24px;
}
.homeBannerWrapper .slideContent h2 {
  margin: 0 0 5px;
  font-size: 28px;
  line-height: 1.2;
}
.homeBannerWrapper .slideContent p {
  margin: 0;
  font-size: 14px;
}
.homePromoBannerZone {
  margin: 0 0 18px;
}.homeLatestNotice {
  margin: 0 0 16px;
}
.homeLatestNoticeLink {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  text-decoration: none;
}
.homeLatestNoticeLabel {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  margin-right: 12px;
  color: #e60413;
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
}
.homeLatestNoticeLabel img {
  width: 18px;
  height: 18px;
}
.homeLatestNoticeTitle {
  overflow: hidden;
  min-width: 0;
  padding-right: 72px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}
.homeLatestNoticeArrow {
  position: absolute;
  top: 50%;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  gap: 4px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  font-size: 13px;
  line-height: 20px;
}
.homeLatestNoticeArrow img {
  width: 16px;
  height: 16px;
}
.homePromoBannerSwiper {
  overflow: hidden;
}
.homePromoBannerSwiper:not(.swiper-initialized) {
  visibility: hidden;
}
.homePromoBannerSwiper .swiper-wrapper {
  align-items: stretch;
}
.homePromoBannerSwiper .swiper-slide {
  height: auto;
}
.homePromoBannerSwiper .homePromoBanner {
  height: 100%;
}
.homePromoBannerPagination {
  position: static !important;
  margin-top: 10px;
  line-height: 1;
}
.homePromoBannerPagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px !important;
  border-radius: 50%;
  opacity: 1;
  background: #cbd5e1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.homePromoBannerPagination .swiper-pagination-bullet-active {
  background: #e60413;
  transform: scale(1.15);
}
.homePromoBanner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 100 / 140;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff5f5, #dbeafe);
  color: #1d4f91;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-align: center;
  text-decoration: none;
}
.homePromoBannerImage {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}
.homePromoBannerText {
  position: relative;
  z-index: 1;
}
.homePromoBanner[href]:hover .homePromoBannerImage {
  transform: scale(1.05);
}
.homePromoBanner:focus-visible {
  outline: 3px solid rgba(20, 122, 240, 0.25);
  outline-offset: 2px;
}



/* 제휴문의 */
.partnershipPage {
  background: #fff;
  padding: 100px 0;
}

.partnershipContainer {
  max-width: 760px;
  margin: 0 auto;
}

.partnershipHeader {
  margin-bottom: 40px;
  text-align: center;
}

.partnershipHeader h1 {
  margin: 0;
  color: #1b2430;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.partnershipHeader p {
  margin: 12px 0 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
}

.partnershipForm {
  max-width: 408px;
  margin: 0 auto;
}




/* Home contest list: two-column cards */
.contestAllWrap--home .contestListRowContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.contestAllWrap--home .contestListItem.contestListHeadRow {
  display: none;
}
.contestAllWrap--home .contestListItem {
  position: relative;
  display: block;
  height: 100px;
  min-width: 0;
  padding: 13px 14px 10px 14px;
  box-sizing: border-box;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contestAllWrap--home .contestListItem:last-child {
  border-bottom: 1px solid #e0e6ef;
}
.contestAllWrap--home .contestListItem:hover {
  border-color: #b8cae4;
  box-shadow: 0 3px 10px rgba(24, 71, 127, 0.08);
}
.contestAllWrap--home .contestListItem.contestPinnedRow,
.contestAllWrap--home .contestListItem.contestPinnedRow:hover {
  background: #fff7f8;
}
.contestAllWrap--home .contestListLink {
  display: block;
  height: 100%;
  min-width: 0;
}
.contestAllWrap--home .contestListItem .colTitle {
  display: block;
  min-width: 0;
  padding: 0;
}
.contestAllWrap--home .contestListItem .contestTitle {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden !important;
  min-height: 38px;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 19px;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}
.contestAllWrap--home .contestListItem .contestCategory {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  height: 18px;
  overflow: hidden;
  white-space: nowrap;
}
.contestAllWrap--home .contestListItem .mobileDDayBadge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 18px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 1;
}
.contestAllWrap--home .contestListItem .categoryTag {
  overflow: hidden;
  text-overflow: ellipsis;
}
.contestAllWrap--home .contestListItem .colBadge {
  display: none;
}
.contestAllWrap--home .contestListItem .colHost {
  position: absolute;
  right: 44px;
  bottom: 10px;
  left: 14px;
  display: block;
  width: auto;
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  text-align: left;
}
.contestAllWrap--home .contestListItem .colAction {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}


.contestAllWrap--home .contestListItem .homeContestCardMeta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 24px;
  color: #7b8491;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.contestAllWrap--home .contestListItem .homeContestCardMeta .expertDDayBadge {
  flex: 0 0 auto;
  box-sizing: border-box;
  font-size: 12px;
  text-align: center;
}
.contestAllWrap--home .contestListItem .homeContestCardEndDate {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contestAllWrap--home .contestListItem .contestTitle {
  min-height: 0;
  margin: 13px 0 0;
}
.contestAllWrap--home .contestListItem .contestCategory,
.contestAllWrap--home .contestListItem .colHost {
  display: none;
}

.contestAllWrap--home .contestListItem .homeContestCardMeta {
  height: 20px;
}
.contestAllWrap--home .contestListItem .homeContestCardMeta .expertDDayBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 22px;
  padding: 0;
  line-height: 22px;
}

.contestAllWrap--home .contestListItem .contestCategory {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  height: 18px;
  overflow: hidden;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
  margin:6px 0 0;
}
.contestAllWrap--home .contestListItem .mobileDDayBadge {
  display: none;
}
.contestAllWrap--home .contestListItem .categoryTag {
  flex: 0 0 auto;
}
.contestAllWrap--home .contestListItem .colHost {
  display: none;
}

.contestAllWrap--home .contestListItem .contestCategory {
  align-items: center;
  gap: 12px;
}
.contestAllWrap--home .contestListItem .homeContestCardHost {
  flex: 0 1 38%;
  min-width: 0;
  overflow: hidden;
  color: #475569;
  font-weight: 600;
  text-overflow: ellipsis;
}
.contestAllWrap--home .contestListItem .contestCategoryTags {
  display: flex;
  flex: 1 1 auto;
  gap: 5px;
  min-width: 0;
  overflow: hidden;
}
.contestAllWrap--home .contestListItem .categoryTag {
  color: #718096;
}
.contestAllWrap--home .contestListItem .categoryTag::before,
.contestAllWrap--home .contestListItem .categoryTag + .categoryTag::before {
  content: "#";
  display: inline;
  width: auto;
  height: auto;
  margin-right: 0;
  border-radius: 0;
  background: transparent;
}

.contestAllWrap--home .contestListItem:hover {
  box-shadow: none;
}
.contestAllWrap--home .contestListItem .homeContestCardHost {
  flex: 0 1 auto;
  max-width: 38%;
}

.contestAllWrap--home .contestListItem .homeContestCardHost,
.contestAllWrap--home .contestListItem .contestCategoryTags,
.contestAllWrap--home .contestListItem .categoryTag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  line-height: 18px;
}
.contestAllWrap--home .contestListItem .contestCategoryTags {
  display: flex;
}




.partnershipFormLabel .required {
  margin-left: 3px;
  color: #e5484d;
}

.partnershipFormControl {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #1b2430;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.partnershipFormControl::placeholder {
  color: #98a2b3;
}

.partnershipFormControl:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(20, 122, 240, .12);
}

textarea.partnershipFormControl {
  min-height: 190px;
  line-height: 1.6;
  resize: vertical;
}

.partnershipConsent {
  margin-top: 28px;
}



.partnershipConsent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--main);
}

.partnershipConsent a:not(.authConsentView) {
  color: var(--main);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.partnershipSubmit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 32px;
  color: #fff;
  background: var(--main);
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

.partnershipSubmit:hover {
  background: #0967d7;
}

.partnershipSubmit:active {
  transform: translateY(1px);
}



.partnershipAlert ul {
  margin: 0;
  padding-left: 20px;
}

/* ==========================================
   Responsive styles (largest max-width first)
   ========================================== */

/* Home contest card prize summary */
.contestAllWrap--home .contestListItem {
  height: auto;
  min-height: 144px;
}
.contestAllWrap--home .contestListItem .homeContestPrizeSummary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 12px;
  min-width: 0;
  min-height: 24px;
  margin: 10px 0 0;
  overflow: hidden;
  color: #64748b;
  font-size: 15px;
  line-height: 24px;
  white-space: nowrap;
}
.contestAllWrap--home .homeContestPrizeTop,
.contestAllWrap--home .homeContestPrizeTotal {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
}
.contestAllWrap--home .homeContestPrizeTop {
  flex: 0 1 auto;
  overflow: hidden;
}
.contestAllWrap--home .homeContestPrizeTotal {
  flex: 0 0 auto;
}
.contestAllWrap--home .homeContestPrizeLabel {
  flex: 0 0 auto;
  color: #64748b;
  font-weight: 500;
}
.contestAllWrap--home .homeContestPrizeSummary strong {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  font-weight: 600;
  text-overflow: ellipsis;
}
.contestAllWrap--home .homeContestPrizeSummary em {
  flex: 0 0 auto;
  color: #64748b;
  font-style: normal;
}
.contestAllWrap--home .contestListItem .contestCategory {
  margin-top: 8px;
}


@media screen and (max-width: 1400px) {
.sitemap .sitemap-unit {
    margin-left: 40px;
  }
  .gnb-inner .gnb-logo {
    left: 33px;
  }
  .right-btns .lang {
    display: none !important;
  }


  .page-title-bar h2 {
    font-size: 40px;
    padding-top: 53px;
    margin-top: 120px;
  }
  .sub-a .page-title-bar {
    background: url(../images/sub1.webp) 50% calc(50% + 40px);
    background-size: auto 400px;
  }
  .sub-b .page-title-bar {
    background: url(../images/sub2.webp) 50% calc(50% + 40px);
    background-size: auto 400px;
  }
  .sub-c .page-title-bar {
    background: url(../images/sub3.webp) 50% calc(50% + 40px);
    background-size: auto 400px;
  }
}

@media screen and (max-width: 1370px) {

  .first.sa001-01 .txt1 {
    top: 150px;
  }
  .first.sa001-01 .txt2 {
    top: auto;
    position: relative;
    margin-top: 230px;
    font-size: 15px;
    line-height: 24px;
  }
  .gnb-inner .gnb {
    width: 600px;
  }
  .child .child-unit {
    font-size: 13px;
  }

  .first.sa001-01 .txt1 {
    font-size: 30px;
    line-height: 40px;
    padding: 0px 0px 0px 40px !important;
  }

  /*a002*/

  /*a003*/

  /*a005*/


  /*a007*/


  .ci-row1 .ci-txt {
    margin-top: 40px;
    margin-left: 36px;
    font-size: 16px;
    padding-right: 20px;
  }

  /*b001*/

  /*c002*/

  /*d005*/

  /*게시판류 넓이*/

  /*.main-c05-wrap{display: none;}*/
}

@media screen and (max-width: 1250px) {

  .prizeTableBannerZone{
    display: none;
  }
  
  .main-c02-wrap .content-in {
    padding-bottom: 60px;
  }



}

@media screen and (max-width: 1200px) {
.prizeTableBannerZone {
    width: min(var(--prize-table-banner-zone-width), calc(100vw - 40px));
  }
.gnb {
    display: none;
  }

  .contestSidebar{
    width: 300px;
  }

  .sidebarSticky{
    width: 300px;
  }

  .infoLabel{
    flex: 0 0 54px;
  }


  .sitemap.active {
    display: none;
  }
  .gnb-inner .momenu-go .momenu-btn {
    display: block;
  }
  .gnb-inner .right-btns {
    right: 86px;
  }

  /*a003*/

  /*a005*/




  /*a008*/





  .addr-right .addr-tr {
    height: auto;
    padding: 30px 0px;
  }




  /*게시판류 넓이*/
  /*.sd001-01 .content-in{width:1200px !important; margin:0px auto;}*/
}

@media screen and (max-width: 1110px) {

  .page-title-bar h2 {
    height: auto;
    margin-top: 34px;
  }
  .sub-a .page-title-bar {
    background: url(../images/sub1.webp) 50% calc(50% + 40px);
    background-size: auto 300px;
  }
  .sub-b .page-title-bar {
    background: url(../images/sub2.webp) 50% calc(50% + 40px);
    background-size: auto 300px;
  }
  .sub-c .page-title-bar {
    background: url(../images/sub3.webp) 50% calc(50% + 40px);
    background-size: auto 300px;
  }

  /*통합검색결과*/

  /*a003*/



  /*foot*/

  /*a002*/
}

@media screen and (max-width: 1000px) {
.gnbMenu{
    gap:20px;
  }

  .gnbMenu .navItem{
    font-size: 16px;
  }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  .expert .filterGroupRow {
    flex-wrap: wrap !important;
  }
  .expert .filterGroupRow .filterGroup.fgPrize,
  .expert .filterGroupRow .filterGroup.fgWinners {
    flex: 0 0 50% !important;
  }
  .expert .filterGroupRow .filterGroup.fgWinners {
    border-right: 0 !important;
  }
  .expert .filterGroupRow .filterGroup.fgTotalPrize {
    flex: 0 0 100% !important;
    border-top: 1px solid #e8e8e8 !important;
  }
}
@media screen and (min-width: 901px) and (max-width: 1200px) {
  .expert .filterGroupRow:has(.fgAiUsage),
  .expert .filterGroupRow:has(.fgWinners) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAudience {
    grid-column: 1 / -1;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAiUsage,
  .expert .filterGroupRow:has(.fgAiUsage) .fgPrize {
    min-width: 0 !important;
  }
  .expert .filterGroupRow:has(.fgWinners) .fgWinners,
  .expert .filterGroupRow:has(.fgWinners) .fgTotalPrize {
    min-width: 0 !important;
    border-top: 0 !important;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAudience {
    border-bottom: 1px solid #e8e8e8 !important;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAiUsage {
    border-right: 0 !important;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgPrize,
  .expert .filterGroupRow:has(.fgWinners) .fgTotalPrize {
    border-left: 1px solid #e8e8e8 !important;
  }
}

@media screen and (max-width: 900px) {

  /* Prize table: one drag-scroll area for the header and body. */
  .expertTheadOnly,
  .expertTbodyOnly {
    width: 1760px;
    min-width: 1760px;
  }
  .expertTheadOnly th.colPrizeGroup {
    padding-left: 15px;
    text-align: left;
  }
  .expertTheadOnly th.colTitle {
    padding-left: 15px;
    text-align: left;
  }
  .contestListTableScroll {
    border: 0;
    border-radius: 8px;
    scrollbar-width: none;
  }

  /*.mypageContainer{
    padding-top:20px !important;
  }*/

  .mypageSectionHeader{
    background: none;
    border-radius: 0;
    border:none;
    padding:24px 0 20px;
    min-height: 0;
    margin-bottom:0 !important;
  }

  .expertContestTable .contestTitleLink{
    padding: 5px 6px 7px 13px;
  }
  .expertTableScrollbar {
    margin: 4px 0 6px;
  }
  .expertTableZoomControls {
    display: flex;
  }

  .expert .listControlsWrap{
    gap: 8px;
  }

  .expertContestMeta{
    margin:0 0 2px;
  }
  .expertContestTable td.colTitle,
  .expertContestTable td.colFav,
  .expertContestTable td.colLink,
  .expertContestTable td.colCategory {
    position: static;
    left: auto;
    z-index: auto;
    box-shadow: none;
  }
  .detailNoticeCard{
    margin:40px 0 0;
  }

  .colAction{
    flex: 0 0 30px;
  }

  .contestListItem .colBadge{
    flex: 0 0 42px;
  }

  .contestListContainer .expertDDayBadge{
    font-size: 12px;
  }

  .contestListLink{
    gap:7px;
  }

  .contestListItem .colTitle{
    padding:0 8px 0 0;
  }

  .expertContestTable .colPrize{
    min-width: 30px;
  }

  .expertContestTable td{
    font-size: 12px;
  }



  .header .centerWrap {
    position: relative;
    padding: 0 16px;
  }
  .headerSearch,
  .authMenu {
    display: none;
  }
  .mobileMenuToggle {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    display: block;
    width: 46px;
    height: 46px;
    background: url(../images/momenu-btn.png) center no-repeat;
    background-size: 16px 12px;
  }
  .mobileMenuToggle:focus-visible,
  .ommClose:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: -2px;
  }
  .onlyMoMenu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }
  .onlyMoMenu.isOpen {
    visibility: visible;
    pointer-events: auto;
  }
  .ommLeft {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .onlyMoMenu.isOpen .ommLeft {
    opacity: 1;
  }
  .ommRight {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(82vw, 320px);
    height: 100dvh;
    background: #fff;
    box-shadow: -8px 0 24px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }
  .onlyMoMenu.isOpen .ommRight {
    transform: translateX(0);
  }
  .ommTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 14px 0 20px;
    border-bottom: 1px solid var(--border1);
  }
  .ommTopLogo {
    display: block;
    width: 120px;
  }
  .ommClose {
    position: relative;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateX(7px);
  }
  .ommAccount {
    padding: 16px 20px;
    /*border-bottom: 1px solid #eef1f5;*/
  }
  .ommGuestActions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .ommGuestActions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    box-sizing: border-box;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .ommGuestActions a:last-child {
    border-color: var(--main);
    background: var(--main);
    color: #fff;
  }
  .ommUserProfile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: #1f2937;
    text-decoration: none;
  }
  .ommProfileManage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    border: 1px solid #9ee5d7;
    border-radius: 8px;
    box-sizing: border-box;
    background: #f3fffc;
    color: #087f68;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }
  .ommProfileManage:hover {
    border-color: #55cdb6;
    background: #ecfcf8;
    color: #066b58;
  }
  .ommUserProfile > img {
    display: block;
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    flex: 0 0 46px;
    box-sizing: border-box;
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    object-fit: cover;
  }
  .ommUserProfileInfo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
  }
  .ommUserProfileInfo strong,
  .ommUserProfileInfo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ommUserProfileInfo strong {
    font-size: 15px;
  }
  .ommUserProfileInfo span {
    color: #6b7280;
    font-size: 13px;
  }
  .ommClose::before,
  .ommClose::after {
    position: absolute;
    top: 22px;
    left: 13px;
    width: 20px;
    height: 2px;
    background: #334155;
    content: "";
  }
  .ommClose::before {
    transform: rotate(45deg);
  }
  .ommClose::after {
    transform: rotate(-45deg);
  }
  .ommSearch {
    padding: 0 20px 14px;
    border-bottom: 1px solid #eef1f5;
  }
  .ommSearch form {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 8px 0 14px;
    border-radius: 8px;
    background: #f1f3f5;
  }
  .ommSearch input[type="text"] {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #333;
    font-size: 14px;
  }
  .ommSearch input[type="text"]::placeholder {
    color: #aaa;
  }
  .ommSearch button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 100%;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
  }
  .ommSearch button:hover {
    color: #0b60b0;
  }
  .ommMenus {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 20px;
  }
  .ommParent {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid #eef1f5;
    color: #1f2937;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
  }
  .ommParent.active {
    color: var(--main);
  }

  .ommLogout {
    position: sticky;
    bottom: 20px;
    display: inline-flex;
    width: fit-content;
    min-height: 0;
    margin-top: auto;
    border-bottom: 0;
    background: transparent;
    color: #64748b;
    font-size: 15px;
    line-height: 1.4;
  }

  .htmlContent{
    margin: 40px 0 0 !important;
  }

  .footer .footer-top {
    height: auto;
    padding: 30px 0;
  }
  .footer .footer-top .gnb-logo {
    position: relative;
    top: 0;
  }
  .footer .footer-top .footer-logo-wrap {
    transform: none;
    display: inline-flex;
  }
  .footer .footer-top .right-btns {
    width: 100%;
    margin-top: 80px;
  }
  .footer .footer-top .i1 {
    display: none;
  }
  .footer .footer-bot {
    padding-bottom: 40px;
  }

  .contest-header{
    padding:0 0 16px;
  }

  .headerSearch{
    display: none;
  }

  .contestDetailWrapper {
    flex-direction: column;
    gap: 0;
    /*padding: 16px 0 calc(88px + env(safe-area-inset-bottom));*/
  }
  .contestMain .contestTitle {
    font-size: 22px;
  }
  /* 좁은 화면: 사이드바를 본문 아래 일반 블록으로 */
  .contestDetailWrapper > .contestMain {
    display: contents;
  }
  .contestDetailWrapper .contest-header {
    order: 2;
  }
  .contestDetailWrapper .contestSidebar {
    order: 3;
    width: 100%;
  }
  .contestDetailWrapper .contest-content {
    order: 4;
  }
  .sidebarSticky {
    position: static;
    width: auto;
    max-height: none;
    overflow-y: visible;
  }
  .contestDetailWrapper .actionRow {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 8px;
    margin: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12);
  }
.mypageContainer {
    padding: 38px 20px 0;
  }
  .mypageLayout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .mypageLayout:has(.mypageSidebarAccount) {
    gap: 0;
  }
  .mypageSidebar {
    position: static;
    padding: 0;
  }
  .mypageSidebar:not(.mypageSidebarAccount) {
    display: none;
  }



  .mypageSidebarPanel{
    width: calc(100% + 40px);
    transform: translateX(-20px);
    border-radius: 0;
    border-top:none;
    border-right:none;
    border-left:none;
  }

  .mypageNav {
    display: grid;
    padding:6px 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mypageProfileCard{
    display: none;
  }



  .mypageSectionTitle{
    font-size: 22px;
  }

  .mypageNavItem{
    justify-content: center;
  }
  .mypageSidebarAccount .mypageNav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mypageSidebarAccount .mypageNavItem--favorites,
  .mypageSidebarAccount .mypageNavItem--inquiries {
    display: none;
  }
  .centerWrap {
    padding: 0 20px;
  }

  .searchContainer{
    padding-top:40px !important;
  }

  /*.contestsContainer .centerWrap {
    padding: 0 20px 20px;
  }*/

  .homeLatestNoticeLink{
    width: calc(100% + 40px);
    transform: translateX(-20px);
    border-radius: 0;
    border-top:none;
    border-right:none;
    border-left:none;
  }


  .header {
    height: 56px;
  }
  .header .centerWrap {
    height: 56px;
    padding: 0 20px;
  }
  .gnbLogo {
    width: 108px;
  }
  .gnbMenu {
    gap: 18px;
    margin-left: 24px;
  }
  .gnbMenu .navItem {
    height: 56px;
  }
  .headerSearch form {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border-radius: 50%;
  }
  .headerSearch input[type="text"] {
    display: none;
  }
  .headerSearch .btnSearch {
    width: 36px;
  }
  .authMenu {
    margin-left: 8px;
  }
  .userMenuDropdown,
  .userMenu::after {
    width: min(280px, calc(100vw - 32px));
  }
  .allWrap {
    padding-top: 56px;
    padding-bottom: 72px;
  }
  .homeBannerWrapper {
    padding-top: 0;
  }

  .homeBannerWrapper .slideContent h2 {
    margin-bottom: 8px;
    font-size: 24px;
  }
  .homeBannerWrapper .slideContent p {
    font-size: 14px;
  }
  .homeBannerWrapper .swiper-button-next,
  .homeBannerWrapper .swiper-button-prev {
    display: none;
  }
  .contestsContainer {
    margin: 0;
  }

  .contestAllWrap.expert .contestsContainer{
    margin:20px 0 0;
  }
  .contestsContainer .centerWrap {
    display: block;
  }
  .contestsPageTitleWrap {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding:0 0 10px;
  }

  .contestsPageTitle{
    font-size: 24px;
  }

  .contestsPageTitleControls {
    flex-wrap: wrap;
    gap: 8px;
  }
  .contestsPageTitleControls .btnResetFilter,
  .contestsPageTitleControls .contestsHeaderExcludeCheckbox {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .filterOverlay {
    position: fixed;
    z-index: 90;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
  }
  .filterOverlay.open {
    display: block;
  }
  .contestsSidebar,
  .allWrap.expert .contestsSidebar {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: min(340px, calc(100vw - 36px)) !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    overscroll-behavior: contain;
  }
  .contestsSidebar.open,
  .allWrap.expert .contestsSidebar.open {
    transform: translateX(0);
  }
  .filterSidebarHeader {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
    flex: 0 0 auto;
    padding: 0 14px 0 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
  }
  .filterSidebarTitle {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
  }
  .filterSidebarHeader .btnResetFilter {
    margin: 0 0 0 12px !important;
  }
  .filterSidebarHeader .btnCloseFilter {
    display: block;
    flex: 0 0 46px;
    margin: 0 0 0 auto;
    border: 0;
  }
  .contestsSidebar > form {
    min-height: 0;
    flex: 1 1 auto;
    padding: 0px 20px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .contestsSidebar .fgCategory .filterOptions,
  .contestsSidebar .fgAudience .filterOptions,
  .contestsSidebar .fgTax .filterOptions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }
  .contestsSidebar .fgCategory .filterLabel,
  .contestsSidebar .fgAudience .filterLabel,
  .contestsSidebar .fgTax .filterLabel {
    width: 100%;
    min-width: 0;
  }

  .expert .filterMenuControls {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 20px 0 !important;
  }
  .expert .filterMenuControls .filterOptionsRow {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px 16px !important;
    padding: 0 !important;
  }
  .expert .filterMenuControls .filterOptionsRow .btnResetFilter {
    order: 2;
    margin-left: auto !important;
  }
  .expert .filterMenuControls .filterOptionsRow .contestsHeaderExcludeCheckbox {
    order: 1;
  }
  .expert .filterBox {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }
  .expert .filterGroupRow {
    display: contents !important;
  }
  .expert .filterGroupRow:has(.fgAiUsage) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAudience {
    grid-column: 1 / -1;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAiUsage,
  .expert .filterGroupRow:has(.fgAiUsage) .fgWinners {
    grid-column: auto;
    min-width: 0 !important;
  }
  .expert .filterGroup,
  .expert .filterGroupRow .filterGroup {
    flex: initial !important;
    flex-direction: column !important;
    align-items: initial !important;
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 20px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e9ecef !important;
  }
  .expert .filterGroupTitle {
    flex: initial !important;
    display: block !important;
    width: auto !important;
    padding: 0 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #333 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  .expert .filterOptions {
    flex: initial !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-items: stretch !important;
    padding: 0 !important;
  }
  .expert .fgPrize .filterOptions,
  .expert .fgWinners .filterOptions {
    padding: 0 !important;
  }

  .expert .fgSearch .filterOptions {
    padding: 0 !important;
  }
  .expert .filterGroupRow:last-child .filterGroup.fgSearch {
    border-bottom: 0 !important;
  }
  .expert .filterOptions .customSelect.w-100 {
    max-width: none !important;
  }
  .expert .fgTotalPrize .filterOptions {
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
  .expert .fgTotalPrize .filterOptions input[type="range"] {
    flex: initial !important;
    width: auto !important;
  }
  .allWrap .contestsSidebar .fgCategory .filterOptions,
  .allWrap .contestsSidebar .fgAudience .filterOptions,
  .allWrap .contestsSidebar .fgTax .filterOptions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px !important;
  }
  .allWrap .contestsSidebar .fgCategory .filterLabel,
  .allWrap .contestsSidebar .fgAudience .filterLabel,
  .allWrap .contestsSidebar .fgTax .filterLabel {
    width: 100% !important;
  }
  .contestAllWrap--home .contestsSidebar .filterBox {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .contestAllWrap--home .contestsSidebar .filterGroup {
    min-width: 0;
  }
  .contestAllWrap--home .contestsSidebar .filterGroup1,
  .contestAllWrap--home .contestsSidebar .fgCategory,
  .contestAllWrap--home .contestsSidebar .fgAudience,
  .contestAllWrap--home .contestsSidebar .fgTax,
  .contestAllWrap--home .contestsSidebar .fgSearch {
    grid-column: 1 / -1;
  }
  .contestAllWrap--home .contestsSidebar .fgAiUsage,
  .contestAllWrap--home .contestsSidebar .fgPrize,
  .contestAllWrap--home .contestsSidebar .fgWinners,
  .contestAllWrap--home .contestsSidebar .fgTotalPrize {
    grid-column: auto;
  }
  .btnMobileFilter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #d5dbe5;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .contestsListHeader {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .contestsListHeaderInner {
    gap: 10px;
  }
  .listControlsWrap {
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
    gap: 8px;
  }
  .customSelect {
    width: 140px;
  }
  .contestListTableScroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .contestDetailWrapper {
    padding-top: 20px;
  }
  .htmlContent {
    overflow-x: auto;
    overflow-wrap: anywhere;
  }
  /*.htmlContent table {
    min-width: 600px;
  }*/
  .mypagePage {
    padding: 56px 0 72px;
  }
  .footerInfoArea p {
    word-break: keep-all;
  }
  .footerCopyrightArea {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }


  #goto_top {
    width: 40px;
    height: 40px;
    right: 16px;
    bottom: 16px;
    border-radius: 20px;
    background-size: 40px 40px;
  }

}



@media screen and (max-width: 768px) {
  .expert .filterMenuControls {
    grid-template-columns: 95px minmax(0, 1fr);
  }
.expert .filterGroupTitle {
    flex: 0 0 95px !important;
    width: 95px !important;
    padding: 10px 10px !important;
    font-size: 12px !important;
  }
  .expert .filterOptions {
    padding: 10px 12px !important;
    gap: 6px 12px !important;
  }
  .expert .filterOptions .customSelect.w-100 {
    width: 100% !important;
  }
  .expert .fgTotalPrize .filterOptions {
    flex-wrap: wrap !important;
  }
  .expert .fgTotalPrize .filterOptions input[type="range"] {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  /* 묶음 행은 모바일에서 세로로 쌓임 */
  .expert .filterGroupRow {
    flex-direction: column !important;
  }
  .expert .filterGroupRow .filterGroup,
  .expert .filterGroupRow .filterGroup.fgTax {
    flex: 0 0 auto !important;
    border-right: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
  }
  .expert .fgSearch .filterSearchWrap {
    max-width: 100% !important;
  }
  .expert .filterGroupRow .filterGroup:last-child {
    border-bottom: none !important;
  }
  .expert .filterGroupTitle {
    flex: initial !important;
    display: block !important;
    width: auto !important;
    padding: 0 0 16px !important;
    font-size: 15px !important;
  }
  .expert .filterOptions {
    padding: 0 !important;
    gap: 12px !important;
  }
  .expert .fgTotalPrize .filterOptions {
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }
  .expert .fgTotalPrize .filterOptions input[type="range"] {
    flex: initial !important;
    width: auto !important;
  }
  .expert .filterGroupRow {
    display: contents !important;
  }
  .expert .filterGroupRow .filterGroup,
  .expert .filterGroupRow .filterGroup.fgTax,
  .expert .filterGroupRow .filterGroup:last-child {
    flex: initial !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e9ecef !important;
  }

  .contestsContainer .centerWrap {
    flex-direction: column;
  }
  .contestsSidebar {
    width: 100%;
  }
}

@media screen and (max-width: 900px) {
  .expert .filterGroupRow:has(.fgAiUsage) {
    border-bottom: 1px solid #e9ecef !important;
  }
  .expert .filterGroupRow:has(.fgAiUsage) .fgAiUsage,
  .expert .filterGroupRow:has(.fgAiUsage) .fgWinners {
    border-bottom: 0 !important;
  }
}

@media (max-width: 767px) {


  .partnershipHeader {
    margin-bottom: 32px;
  }

  .partnershipHeader h1 {
    font-size: 26px;
  }
}

@media screen and (max-width: 700px) {


  .gnb-inner .momenu-go .momenu-btn {
    margin-top: 20px;
  }

  .gnbwrap {
    height: 70px;
    min-height: 70px;
  }

  .gnb-inner .gnb-logo {
    top: 12px;
  }

  .gnb-inner .gnb-logo {
    left: 22px;
  }



  .main04b .mb-mo-w {
    height: 300px;
  }
  .main04b .bmc-txt1 {
    margin-top: 186px;
  }

  .main-c02-wrap .main-txt1 {
    font-size: 26px;
  }
  .main-c02-wrap .main-txt2 {
    font-size: 14px;
  }

  .main-c04-wrap.mobile .main-txt1 {
    text-align: left;
    padding-left: 7vw;
    font-size: 26px;
  }
  .main-c04-wrap.mobile .main-txt2 {
    text-align: left;
    padding-left: 7vw;
    font-size: 14px;
    padding-top: 8px;
    padding-right: 8px;
  }

  .main04b .swiper-slide .mb-mo-pic {
    left: -30px;
  }
  .main04b .swiper-slide-active .mb-mo-pic {
    left: 7vw;
    transition: all 0.3s;
  }
  .mb-mo-w .bmc-txt1 {
    font-size: 14px;
  }

  /*a001*/

  .first.sa001-01 .txt1 {
    padding: 60px 0px 0px 34px;
    font-size: 30px;
    line-height: 40px;
    top: 110px;
  }




  .select dt a {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .select dd ul a {
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media screen and (max-width: 660px) {
  .prizeTableBanner {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .contestListItem {
    padding: 12px 14px;
  }
  .contestListItem.contestListHeadRow {
    padding: 10px 14px;
  }
  .contestListLink {
    gap: 10px;
  }
  .contestListItem .colTitle {
    padding: 0;
  }
.searchContainer {
    padding-top: 42px;
  }
  .searchPageHeader h1 {
    font-size: 24px;
  }
  .searchPageForm {
    height: 52px;
    margin-top: 24px;
    padding-left: 14px;
  }
  .searchPageForm button {
    width: 52px;
    height: 38px;
  }
  .searchPageForm button span {
    display: none;
  }

  .searchResultTabs {
    margin-top: 28px;
  }
  .searchResultTabs a {
    padding: 0 14px 13px;
  }
  .searchResultSection {
    margin-top: 20px;
    padding: 22px 18px;
    border-radius: 10px;
  }
  .searchContestItem {
    padding: 20px 0;
  }
  .searchContestItem h3 {
    font-size: 16px;
  }
  .searchContestFooter {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .searchEmptyState {
    min-height: 220px;
    margin-top: 34px;
  }
}

@media screen and (max-width: 600px) {


  body.authPage{
    background: #fff;
  }



  .authContainer{
    background: #fff;
  }

  .authCard{
    border:none;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 25px;
  }

  .partnershipPage {
    padding: 90px 0 0;
    background: #fff;
  }
  .partnershipContainer {
    max-width: 480px;
    padding: 10px 25px 40px;
  }
  .partnershipHeader {
    margin-bottom: 28px;
  }
  .partnershipHeader h1 {
    font-size: 24px;
  }
  .partnershipHeader p {
    margin-top: 8px;
    font-size: 14px;
  }
  .partnershipForm {
    max-width: 100%;
  }
  .partnershipConsent {
    margin: 0 0 24px;
  }
  .partnershipSubmit {
    min-height: 48px;
    margin-top: 8px;
    font-size: 15px;
  }

  .expertContestTable{
    border : none;
  }
  .expert .contestListContainer{
    width: calc(100% + 32px);
    transform: translateX(-16px);
  }


  .contestAllWrap--home .contestListRowContainer{
    gap:8px;
  }

  .contestListItem .colHost{
    display: none;
  }

  .searchPageHeader h1{
    font-size: 20px;
  }

  /*.contestAllWrap--home .contestListItem .contestTitle{
    font-size: 15px;
  }*/
  


  .contestMain .contestTitle{
    font-size: 20px;
  }

  .homeLatestNoticeLink {
    width: calc(100% + 32px);
    transform: translateX(-16px);
  }

  .contestListRowContainer{
    /*width: calc(100% + 32px);
    transform: translateX(-16px);*/
    border-radius: 0 !important;
    border-right: none !important;
    border-left: none !important;
  }

  .contestListContainer .contestListItem{
    padding:12px 16px;
  }

  /*.contestsContainer .centerWrap{
    padding: 0 16px 20px;
  }*/

  .contestListItem .colBadge{
    display: none;
  }
  .contestListItem .contestCategory {
    align-items: center;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 6px;
    line-height: 18px;
    overflow: hidden;
  }
  .contestListItem .mobileDDayBadge {
    display: inline-flex;
    align-items: center;
    height: 18px;
    flex: 0 0 auto;
    margin: 0;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 12px;
    line-height: 18px;
  }


  .contestListItem .contestTitle{
    font-size: 15px;
    letter-spacing: -0.2px;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding-right: 5px !important;
  }

  .contestListItem.contestListHeadRow{
    display: none;
  }

  .mobileMenuToggle{
    right:1px;
  }

  #customPerPageSelect .customSelectDropdown{
    width: 100%;
  }

  .homeLatestNoticeTitle {
    padding-right: 24px;
  }
  .homeLatestNoticeArrow{
    font-size: 0;
    right:7px;
  }

  .homeLatestNoticeLabel .t1{
    display: none;
  }

  .noticePageWrap {
    padding: 56px 0 80px;
  }
  .noticeContainer .noticeHeader {
    margin-bottom: 24px;
  }
  .noticeTable {
    border-radius: 12px;
  }
  .noticeTable th,
  .noticeTable td {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .noticeTable td.colTitle a::after {
    display: none;
  }
  .noticeDetailContainer .noticeHeader,
  .noticeBody {
    padding: 26px 22px;
    border-radius: 12px;
  }
  .noticeAttachments {
    padding: 20px;
    border-radius: 12px;
  }
  .attachmentItem {
    align-items: flex-start;
  }
  .attachmentItem a {
    white-space: normal;
    word-break: break-all;
  }
  .btnList {
    width: 100%;
  }
.noticeContainer,
  .noticeDetailContainer {
    padding: 24px 16px 0;
  }
  .noticeTable .colId {
    display: none;
  }
  .noticeTable td:first-child,
  .noticeTable th:first-child {
    display: none;
  }
  .noticeTable .colDate {
    width: 95px;
  }
  .noticeTable th,
  .noticeTable td {
    padding: 12px 6px;
    font-size: 13px;
  }
  .noticeContainer .noticeHeader h2 {
    font-size: 24px;
  }
  .noticeDetailContainer .noticeTitle {
    font-size: 21px;
  }
  .terms-container {
    padding: 90px 18px;
    border-radius: 10px;
  }
  .terms-title {
    margin-bottom: 18px;
    font-size: 22px;
  }
  .terms-content {
    font-size: 14px;
    line-height: 1.75;
  }
  .terms-section {
    margin-bottom: 24px;
  }
  .terms-section h3 {
    margin-top:10px;
    margin-bottom: 7px;
    font-size: 16px;
  }
  .centerWrap {
    padding:0 16px;
  }
  .header .centerWrap {
    padding: 0 16px;
  }
  .gnbLogo {
    width: 100px;
  }
  .gnbMenu {
    gap: 14px;
    margin-left: 14px;
  }

  .userMenuDropdown,
  .userMenu::after {
    width: min(280px, calc(100vw - 24px));
  }
  .homeBannerWrapper .centerWrap {
    padding-right: 16px;
    padding-left: 16px;
  }
  .homeBannerWrapper .swiper-slide {
    height: 100px;
  }
  .homeBannerWrapper .slideContent h2 {
    font-size: 21px;
  }
  .contestsPageTitle {
    font-size: 20px;
  }
  .contestsPageTitleControls {
    width: 100%;
  }
  .contestsListHeaderInner {
    width: 100%;
    justify-content: space-between;
  }
  .listControlsWrap {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .global-prize-toggle {
    font-size: 13px;
  }
  .customSelect {
    /*flex: 1 1 140px;*/
    width: auto;
  }
  .contestsListTitle{
    font-size: 14px;
  }

  .expertTheadOnly th{
    font-size: 14px !important;
  }

  .contestAllWrap--home .listControlsWrap .customSelect {
    min-width: 0;
    flex: 1 1 0;
    width: 0;
  }
  .expert .listControlsWrap .customSelect {
    min-width: 0;
    flex: 1 1 0;
    width: 0;
  }
  .contestListItem {
    padding: 12px;
  }
  .contestListItem.contestListHeadRow {
    padding: 10px 12px;
  }
  .contestListItem .contestTitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.4;
    white-space: normal;
  }
  .contestListTableWrap,
  .contestListTableScroll,
  .expertTheadOnly {
    border-radius: 0;
  }
  .expertContestTable .colTitle,
  .expertContestTable th.colTitle {
    width: 200px;
    min-width: 200px;
  }
  .expertContestTable .colFav {
    width: 36px;
    min-width: 36px;
  }
  .expertContestTable .colLink {
    width: 70px;
    min-width: 70px;
  }
  .expertContestTable .colCategory {
    width: 100px;
    min-width: 100px;
  }
  .expertContestTable .colLink {
    display: none;
  }
  .expertTheadOnly,
  .expertTbodyOnly {
    width: 1494px;
    min-width: 1494px;
  }
  .expertContestTable td.colFav {
    left: 150px;
  }
  .expertContestTable td.colLink {
    left: 186px;
  }
  .expertContestTable td.colCategory {
    left: 256px;
  }
  .expertContestTable .contestTitleLink {
    height: auto;
  }
  .expertContestTable .expertContestTitleClamp {
    display: block;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
  }
  .expertContestTable .expertContestMeta {
    display: block;
    margin: 0 0 4px;
    font-size: 11px;
    color:#888;
  }
  .expertContestTable .expertContestMeta .expertDDayBadge {
    display: inline-block;
    width: 50px;
    height: auto;
    text-align: center;
    padding: 0;
    font-size: 13px;
    line-height: 20px;
    margin-right: 0;
  }
  .expertContestTable .expertEndDate {
    display: inline;
  }
  .expertContestTable .contestTitle {
    display: block;
    vertical-align: baseline;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
  }
  .expertContestTable .btnOpenLink,
  .expertContestTable .noLinkText {
    font-size: 11px;
  }
  .detailNoticeCard {
    align-items: flex-start;
    padding: 15px;
  }
  .detailNoticeIcon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .actionRow {
    gap: 6px;
  }
  .btnApplyMain {
    height: 44px;
  }
  .btnIcon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .mypageSectionHeader {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .mypageFavoriteActions,
  .mypageSortForm,
  .mypageSortSelect {
    width: 100%;
  }
  .mypageSortSelect {
    height: 40px;
  }
  .mypageContestListHeader {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .mypageContestListControls {
    width: 100%;
  }
  .mypageContestListControls .mypageSortSelect {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
  }
  .footerLogoArea {
    gap: 12px;
  }
  .footerInfoArea p,
  .footerLinks a {
    font-size: 12px;
  }
  body.authPage .authContainer {
    padding: 28px 16px;
  }
.mypageWithdrawalActions {
    flex-direction: column;
  }
  .mypageWithdrawalActions .mypageButton {
    width: 100%;
  }
.btnFavList {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .btnFavList svg {
    width: 16px;
    height: 16px;
  }
.homeBannerWrapper .slideContent {
    padding: 10px 18px;
  }
  .homeBannerWrapper .slideContent h2 {
    margin-bottom: 3px;
    font-size: 20px;
  }
  .homeBannerWrapper .slideContent p {
    font-size: 12px;
  }
  .homePromoBannerZone {
    margin-bottom: 14px;
  }

  .homePromoBanner {
    min-height: 54px;
    font-size: 13px;
  }
}

@media screen and (max-width: 600px) {
.mypageContainer {
    padding: 0 16px 0;
  }
  .mypageNav {
    padding: 12px;
  }
  
  .mypageNavItem {
    min-height: 42px;
    padding: 0 10px;
    font-size: 14px;
  }
  .mypageSectionTitle {
    font-size: 21px;
  }
  .mypageFavoriteActions {
    width: 100%;
    justify-content: space-between;
  }
  .mypagePanel {
    padding: 22px 18px;
  }
  .mypageButton {
    width: 100%;
  }
  .profileImageDropzone {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    padding: 20px 16px;
    text-align: center;
  }
  .profileImagePreview {
    flex-basis: 96px;
    width: 96px;
    height: 96px;
  }
  .profileImageActions {
    flex-direction: column;
  }
  .profileImageActionButton {
    width: 100%;
  }
  .profileCropModal {
    padding: 12px;
  }
  .profileCropDialog {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
    border-radius: 12px;
  }
  .profileCropHeader h3 {
    font-size: 18px;
  }
  .profileCropControlLabel {
    display: none;
  }
  .profileCropControls {
    grid-template-columns: 36px minmax(0, 1fr) 36px 46px;
  }
  .profileCropSize {
    text-align: left;
  }
  .profileCropButtons > button {
    width: auto;
    flex: 1 1 0;
  }
  .inquiryItemHeader {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .inquiryTitleWrap {
    width: 100%;
  }
  .inquiryTitleWrap h4 {
    white-space: normal;
  }
  .inquiryItemBody {
    padding: 18px 16px;
  }
  .inquiryAnswerHeader {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media screen and (max-width: 500px) {
.contestAllWrap--home .contestListRowContainer {
    grid-template-columns: minmax(0, 1fr);
  }
.gnb-inner .right-btns {
    right: 66px;
  }
  .gnb-inner .momenu-go .momenu-btn {
    margin-right: 18px;
  }


  .page-title-bar h2 {
    font-size: 30px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 480px) {

.authCardWide {
    max-width: 100%;
  }
}

@media screen and (max-width: 470px) {


  .main04b .mb-mo-w {
    height: 170px;
  }
  .main04b .bmc-txt1 {
    margin-top: 86px;
  }

  .contestAllWrap.expert .mobilePrizeListTitle{
    font-size: 20px;
  }

  /*.customSelectOption{
    font-size: 13px;
  }*/
}

@media screen and (max-width: 360px) {
  .gnbLogo {
    width: 88px;
  }
  .gnbMenu {
    gap: 13px;
  }
  .gnbMenu .navItem {
    font-size: 13px;
  }
  .headerSearch {
    display: none;
  }
  .authMenu {
    margin-left: auto;
  }
  .userMenuBtn {
    width: 32px;
    height: 32px;
  }
  .authNicknameCheck {
    flex-direction: column;
  }
  .authCheckButton {
    width: 100%;
  }
}


@media screen and (max-width: 340px) {
  .contestsSidebar,
  .allWrap.expert .contestsSidebar {
    width: 100% !important;
  }
}


@media screen and (max-width: 320px) {

  .gnbMenu {
    gap: 11px;
    margin-left: 11px;
  }

  .gnbMenu .navItem{
    font-size: 12px;
  }

}


@media (prefers-reduced-motion: reduce) {
.homePromoBannerImage {
    transition: none;
  }
  .homePromoBanner[href]:hover .homePromoBannerImage {
    transform: none;
  }



}
/* Prize list: align the title with the count on compact screens. */
.mobilePrizeListTitle {
  display: none;
}

@media screen and (max-width: 700px) {
  .contestAllWrap.expert .contestsContainer > .centerWrap.mb-4 {
    min-height: 0;
    margin-bottom: 0 !important;
  }
  .contestAllWrap.expert .contestsPageTitleWrap {
    min-height: 0;
    padding: 0;
  }
  .contestAllWrap.expert .contestsPageTitle {
    display: none;
  }
  .contestAllWrap.expert .contestsListHeaderInner {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
  }
  .contestAllWrap.expert .mobilePrizeListTitle {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #222;
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
  }
  .contestAllWrap.expert .contestsListTitle {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
  }
  .contestAllWrap.expert .btnMobileFilter {
    flex: 0 0 auto;
    margin-left: auto;
  }
}
@media screen and (max-width: 400px) {
  .contestAllWrap.expert .contestCountDescription {
    display: none;
  }
  .expert .listControlsWrap #customPerPageSelect {
    order: 1;
  }
  .expert .listControlsWrap #customSortSelect {
    order: 2;
  }
  .expert .listControlsWrap .expertTableZoomControls {
    order: 3;
    flex: 0 0 100%;
    justify-content: flex-end;
    margin-top: 2px;
  }

  .expertTableZoomValue{
    font-size: 14px;
  }
  .contestAllWrap--home .contestListItem .homeContestPrizeSummary{
    font-size: 14px;
  }
}

