/*
 * Copyright inpleworks, Co.
*/
/*
XET CSS v2.0.4 2024-08-02 for supported in all modern browsers
By xetemplate(https://xetemplate.com)
*/
:root {
  --xet-theme-color: #ff2b58;
  --xet-theme-primary-color: #E8BD70;
  --xet-theme-border-color: rgba(255, 255, 255, 0.1);
  --xet-theme-text-strong-color: #FFFFFF;
  --xet-theme-text-base-color: #FFFFFF99;
  --xet-theme-box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, .08);
  --xet-theme-transition-all: all 0.2s ease;
  --xet-theme-btn-height: 44px;
  --xet-theme-btn-bg: rgba(128, 128, 128, 0.4);
  --xet-theme-btn-submit-bg: #E8BD70;
  --xet-theme-btn-hover-submit-bg: #E8BD70;
  --xet-theme-btn-hover-bg: #FFFFFF14;
  --xet-theme-btn-hover-color: #fff;
  --xet-theme-btn-radius: 16px;
  --xet-theme-input-height: 56px;
  --xet-theme-input-border-color: rgba(255, 255, 255, 0.15);
  --xet-theme-input-bg: #FFFFFF1F;
  --xet-theme-input-focus-bg: #FFFFFF1F;
  --xet-theme-input-disabled-bg: #FFFFFF10;
  --xet-theme-input-disabled-color: #B1B1B1;
  --xet-theme-muted-color: #FFFFFF66;
}

* {
  -webkit-tap-highlight-color: transparent;
}

a:active,
button:active,
[role="button"]:active,
input:active {
  filter: brightness(0.8);
}

html,
body,
table,
th,
td,
button,
select,
input,
textarea {
  font-size: 16px;
  font-family: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

svg {
  width: 1rem;
  fill: var(--xet-theme-text-strong-color);
  transition: var(--xet-theme-transition-all);
}

body {
  background: #000;
  color: var(--xet-theme-text-strong-color);
}

.xet-layout {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  background: radial-gradient(486.36% 100% at 49.87% 0%, rgba(232, 189, 112, 0.24) 0%, rgba(237, 209, 133, 0) 50.3%);
}
.xet-layout:not(.guest-act), .xet-layout:not(.member-act) {
  padding-bottom: 60px;
}
.xet-layout.page .xe_content,
.xet-layout.page .rhymix_content {
  font-size: 1rem;
}
.xet-layout .theme-color {
  color: var(--xet-theme-primary-color) !important;
}
.xet-layout .xet-btn {
  z-index: 2;
}
.xet-layout .message {
  width: 100%;
  padding: 16px;
  text-align: center;
  border-radius: 16px;
  background: #FF453A1F;
  border: 1px solid #FF453A1F;
  color: #FF453A;
  text-shadow: none;
}
.xet-layout a {
  color: inherit;
  transition: var(--xet-theme-transition-all);
}
.xet-layout a svg {
  fill: var(--xet-theme-text-strong-color);
}
.xet-layout .layout-header {
  height: 58px;
}
.xet-layout .layout-header .header__container {
  z-index: 99;
  position: fixed;    /* 🔹 일반 문서 흐름에 맞게 배치 */
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: inherit;
  padding: 0 1rem;
  background-color: #332b19 !important;
  background-clip: padding-box;
  transform: translateZ(0);  
}
.xet-layout .layout-header .header__container > .item {
  height: inherit;
  display: flex;
  align-items: center;
}
.xet-layout .layout-header .header__container > .item.logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  overflow: hidden;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.xet-layout .layout-header .header__container > .item.logo a img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--xet-theme-transition-all);
}
.xet-layout .layout-header .header__container > .item:not(.logo) {
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.2rem;
}
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 44px;
}
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn.signup {
  width: auto;
  padding: 0 1rem;
  font-weight: 700;
  background-color: var(--xet-theme-btn-hover-submit-bg);
  color: #111;
}
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn img {
  width: 24px;
}
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn .__count {
  position: absolute;
  top: 2px;
  right: 5px;
  min-width: 1px;
  height: 1px;
  border-radius: 11px;
  overflow: hidden;
  padding: 4px;
  font-size: 14px;
  background-color: #FF2D55;
  color: #FFF;
}
.xet-layout .layout-header .header__container > .item .title {
  font-size: 18px;
  font-weight: 700;
}
.xet-layout .layout-content {
  flex-grow: 1;
}
.xet-layout .layout-content > .xet-container {
  padding: 0 !important;
}
.xet-layout .layout-content .xet-content {
  overflow: hidden;
  padding: 16px;
  min-height: calc(100dvh - 230px);
}
.xet-layout .layout-content .xet-content .browser__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  height: 60px;
}
.xet-layout .layout-content .xet-content .browser__title > .title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--xet-theme-text-strong-color);
}
.xet-layout .layout-content .xet-content .browser__title > .xet-btn {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.xet-layout .layout-content .xet-content .browser__title > .xet-btn.close {
  left: auto;
  right: 0;
}
.xet-layout .layout-content .xet-content .browser__title > .xet-btn.back {
  left: 0;
}
.xet-layout .layout-content .xet-content .lnb {
  display: flex;
  margin-bottom: 20px;
}
.xet-layout .layout-content .xet-content .lnb > a {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  text-align: center;
  border-bottom: 2px solid transparent;
  color: var(--xet-theme-text-base-color);
}
.xet-layout .layout-content .xet-content .lnb > a.is-active {
  border-color: #fff;
  color: var(--xet-theme-text-strong-color);
}
.xet-layout .layout-footer {
  z-index: 1;
  padding-top: 10px;
  padding-bottom: 20px;
  color: var(--xet-theme-text-base-color);
}
.xet-layout .layout-footer .__container {
  font-size: 12px;
}
.xet-layout .layout-footer .__container > div + div {
  margin-top: 10px;
}
.xet-layout .layout-appbar {
  z-index: 99;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 1rem;
  background-color: #000;
}
.xet-layout .layout-appbar .__container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xet-layout .layout-appbar .__container a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--xet-theme-text-base-color);
}
.xet-layout .layout-appbar .__container a img {
  width: 1rem;
  opacity: 0.33;
}
.xet-layout .layout-appbar .__container a.current {
  color: var(--xet-theme-text-strong-color);
}
.xet-layout .layout-appbar .__container a.current img {
  opacity: 1;
}
.xet-layout.keyboard-open .layout-appbar {
  transform: translateY(100%);
}
.xet-layout dialog.dialog {
  width: 100%;
  max-width: 480px;
  max-height: 100%;
  padding: 0;
  border: 0;
  background: none;
}
.xet-layout dialog.dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.xet-layout dialog.dialog .dialog_container {
  position: relative;
  padding: 2rem;
  min-height: 80dvh;
  background: linear-gradient(180deg, #372d1a 0%, #060503 40%, #141414 100%);
  color: var(--xet-theme-text-strong-color);
  box-shadow: var(--xet-theme-box-shadow2x);
}
.xet-layout dialog.dialog .dialog_container .dialog__title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 18px;
  font-weight: 700;
}
.xet-layout dialog.dialog .dialog_container .dialog__title .dialog-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  padding: 0;
}
.xet-layout dialog.dialog .dialog_container .dialog__title > div + div {
  margin-top: 1rem;
}
.xet-layout.board.document_view {
  padding-bottom: 120px;
}
.xet-layout.board.document_view .layout-header,
.xet-layout.board.document_view .layout-appbar {
  display: none;
}
.xet-layout.board.document_view .layout-content .xet-content {
  padding: 0 !important;
}

.alertModal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9998;
}
.alertModal-overlay .alertModal-box {
  position: fixed;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 0%);
  background: #303030;
  padding: 32px 20px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  width: 100%;
  max-width: 700px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.alertModal-overlay .alertModal-box > div {
  color: var(--xet-theme-text-base-color);
  margin-bottom: 16px;
}
.alertModal-overlay .alertModal-box > div.icon > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 16px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 60px;
  background-color: #8080804D;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--xet-theme-text-strong-color);
}
.alertModal-overlay .alertModal-box h3 {
  margin-bottom: 16px;
  line-height: 1.2;
  font-size: 32px;
  font-weight: 800;
}
.alertModal-overlay .alertModal-box .xet-btn {
  border-radius: 16px;
}

/* 등장 애니메이션 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0%);
  }
}

@media (min-width: 992px) {
  .xet-layout:not(.guest-act), .xet-layout:not(.member-act) {
    padding-bottom: 0;
  }
  .xet-layout .xet-container {
    width: 560px;
    padding: 0 !important;
  }
  .xet-layout .layout-header {
  /*  height: 94px; */
	margin-bottom: 20px;
  }
  .xet-layout .layout-header .header__container {
    padding: 0 32px;
  }
  .xet-layout .layout-content .xet-content {
    padding: 20px;
    min-height: calc(100dvh - 200px);
    border-radius: 36px;
    background: radial-gradient(486.36% 100% at 49.87% 0%, rgba(232, 189, 112, 0.24) 0%, rgba(237, 209, 133, 0) 50.3%);
    background-color: #000;
    outline: 1px solid rgba(255, 255, 255, 0.08);
  }
  .xet-layout .layout-appbar {
    top: 50%;
    left: 0;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    padding: 0 2rem;
    background-color: transparent;
  }
  .xet-layout .layout-appbar .__container {
    height: auto;
    flex-direction: column;
  }
  .xet-layout .layout-appbar .__container a {
    flex: auto;
    width: 160px;
    height: 56px;
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 1rem;
    border-radius: 8px;
  }
  .xet-layout .layout-appbar .__container a + a {
    margin-top: 8px;
  }
  .xet-layout .layout-appbar .__container a img {
    width: 1rem;
  }
  .xet-layout .layout-appbar .__container a.current {
    background-color: #FFFFFF14;
    color: var(--xet-theme-text-strong-color);
  }
  .xet-layout.guest-act {
    padding-top: 20px;
  }
  .xet-layout.guest-act .layout-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .xet-layout.guest-act .layout-content .xet-content {
    min-height: auto;
  }
  .xet-layout.board.document_view .layout-header,
.xet-layout.board.document_view .layout-appbar {
    display: block;
  }
}

/*
@media (max-width: 768px){
  .xet-layout .layout-appbar .__container a:has(> img[src*="icon-card"]){
    color:#eccc80 !important;
    opacity: 1 !important;
    position:relative;
  }

  .xet-layout .layout-appbar .__container a:has(> img[src*="icon-card"]) img{
    opacity: 1 !important;
    width:1rem;
    height:1rem;
    transform: translateY(-2px) scale(1.5);
    transform-origin:center;
  }
}
*/

@media (max-width:768px){

  .xet-layout .layout-appbar .__container a.tab-gold{
    color:#eccc80 !important;
    opacity:1 !important;
    position:relative !important;
  }

  .xet-layout .layout-appbar .__container a.tab-gold .appbar_img img,
  .xet-layout .layout-appbar .__container a.tab-gold > img{
    opacity:1 !important;
    position:relative !important;
    z-index:2 !important;

    animation: appbarIconPopDiamond 1.8s ease-in-out infinite !important;
    transform-origin:center !important;

    will-change: transform, filter;
  }

  @keyframes appbarIconPopDiamond{
    0%,100%{
      transform: translateY(-3px) scale(1.6);
      filter: drop-shadow(0 0 6px rgba(236,204,128,.45));
    }
    50%{
      transform: translateY(-6px) scale(1.68);
      filter: drop-shadow(0 0 12px rgba(236,204,128,.85));
    }
  }
}

.xet-layout .layout-appbar .__container a .appbar_img{
  line-height: 0;
}

.xet-layout .layout-appbar .__container a .appbar_img img,
.xet-layout .layout-appbar .__container a > img{
  display: block;
}

@media (max-width: 768px){
  .xet-layout .layout-appbar .__container a{
    gap: 4px;
    line-height: 1;
  }
}

/* ── 2026-10-03 밝은 헤더 / 회색 하단탭 (사이트 전체) ── */
@media (min-width: 992px) {
  /* 헤더 아래 여백으로 갈색 배경이 띠처럼 비치지 않게 */
  .xet-layout .layout-header { margin-bottom: 0; }
}
.xet-layout .layout-header .header__container {
  background-color: #fff !important;
  border-bottom: 1px solid #eeeaec;
}
.xet-layout .layout-header,
.xet-layout .layout-header .header__container > .item .title { color: #1d1b1d; }
/* 헤더 아이콘(흰색 SVG)을 어둡게 */
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn:not(.signup) img {
  filter: brightness(0);
  opacity: .72;
}
@media (max-width: 991px) {
  .xet-layout .layout-appbar {
    background-color: #f6f5f7;
    border-top: 1px solid #e7e3e8;
  }
  .xet-layout .layout-appbar .__container a { color: #8d878f; }
  .xet-layout .layout-appbar .__container a.current { color: #1d1b1d; }
  /* 흰색 SVG 아이콘을 회색/진회색으로 (궁합매칭 금색 아이콘은 그대로) */
  .xet-layout .layout-appbar .__container a:not(.tab-gold) img { filter: brightness(0); opacity: .38; }
  .xet-layout .layout-appbar .__container a.current:not(.tab-gold) img { opacity: .85; }
  .xet-layout .layout-appbar .__container a.tab-gold { color: #b8892c !important; }
}

/* 2026-10-05 헤더 뒤로가기 (아이폰 터치 영역 44px) */
.xet-layout .layout-header .header__container > .item.logo { gap: 2px; }
.xet-layout .layout-header .hd-back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 44px; margin-left: -10px; padding: 0;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}

/* 2026-10-05 관리자 전용 (구) 홈 버튼 */
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn.hd-oldhome { padding:0 10px; height:32px; font-size:12.5px; font-weight:700; border-radius:8px; background:#F4F4F6; color:#4A4F55; }

/* 2026-10-05 햄버거 메뉴 (앱 스타일) */
.xet-layout .layout-header .header__container > .item:not(.logo) > .xet-btn.hd-menu { width:40px; height:40px; min-width:40px; padding:0; background:none; display:inline-flex; align-items:center; justify-content:center; }
.xet-layout .layout-header .hd-menu svg { width:24px; height:24px; }
.hm-bg { position:fixed; inset:0; z-index:1000; background:rgba(26,26,26,.4); display:flex; justify-content:flex-end; }
.hm-bg[hidden] { display:none; }
.hm-panel { width:min(86vw, 340px); height:100%; background:#fff; display:flex; flex-direction:column; overflow:auto; font-family:Pretendard, sans-serif; color:#1A1A1A; animation:hmIn .22s ease-out; }
@keyframes hmIn { from { transform:translateX(100%); } to { transform:translateX(0); } }
.hm-top { height:56px; flex-shrink:0; display:flex; align-items:center; justify-content:space-between; padding:0 8px 0 20px; }
.hm-top b { font-size:18px; font-weight:600; }
.hm-x { width:44px; height:44px; border:0; background:none; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.hm-x svg { width:22px; height:22px; }
.hm-me { display:flex; align-items:center; gap:12px; margin:4px 16px 8px; padding:16px; border-radius:12px; background:#FFF0F3; color:#1A1A1A !important; text-decoration:none !important; }
.hm-me-ic { width:44px; height:44px; border-radius:50%; background:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.hm-me-ic img { width:22px; height:22px; filter:brightness(0); opacity:.55; }
.hm-me-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.hm-me-t b { font-size:16px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hm-me-t small { font-size:13px; color:#FF5A76; font-weight:600; }
.hm-guest { margin:4px 16px 8px; padding:18px 16px 16px; border-radius:12px; background:#FFF0F3; }
.hm-guest b { display:block; font-size:16px; font-weight:700; }
.hm-guest small { display:block; margin-top:4px; font-size:13px; color:#4A4F55; line-height:1.5; }
.hm-guest-btns { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:14px; }
.hm-btn { height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:600; text-decoration:none !important; }
.hm-btn.pink { background:#FF5A76; color:#fff !important; }
.hm-btn.line { background:#fff; color:#1A1A1A !important; border:1px solid #CBCDD7; }
.hm-list { display:flex; flex-direction:column; padding:8px 0 24px; }
.hm-list a { display:flex; align-items:center; gap:14px; height:56px; padding:0 20px; color:#1A1A1A !important; text-decoration:none !important; font-size:16px; font-weight:500; }
.hm-list a + a { border-top:1px solid #F2F3F4; }
.hm-list a .hm-ic { width:22px; height:22px; flex-shrink:0; }
.hm-list a span { flex:1; }
.hm-chev { width:18px; height:18px; flex-shrink:0; }
.hm-me .hm-chev { margin-left:auto; }
.hm-foot { margin-top:auto; padding:16px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-top:8px solid #F7F7F9; }
.hm-logout { display:flex; align-items:center; height:52px; padding:0 18px; border-radius:12px; background:#F4F4F6; color:#1A1A1A !important; font-size:16px; font-weight:600; text-decoration:none !important; }
.hm-links { display:flex; gap:16px; margin-top:16px; }
.hm-links a { font-size:13.5px; color:#7D7E87 !important; text-decoration:underline !important; text-underline-offset:2px; }
.hm-corp { margin:10px 0 0; font-size:12px; color:#A0A2AA; }

/* 2026-10-05 하단 탭은 관리자에게만 — 일반 회원·비회원은 탭 자리(60px)만큼 띄운 것들을 내린다 */
.xet-layout.no-appbar:not(.guest-act), .xet-layout.no-appbar:not(.member-act) { padding-bottom: env(safe-area-inset-bottom, 0px); }
.xet-layout.no-appbar.board.document_view { padding-bottom: 60px; }
.xet-layout.no-appbar .board-skin .snsPostForm { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.xet-layout.no-appbar #sso .sticky, .xet-layout.no-appbar #sso .actbar, .xet-layout.no-appbar #sgt .sticky { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }

/* 2026-10-05 로고: 앱 워드마크(98×45) */
.xet-layout .layout-header .header__container > .item.logo a img.logo-app { height:30px; width:auto; max-height:none; }
/* 2026-10-05 셀프소개 화면: 하단 고정 버튼이 회사 정보를 가리지 않게 푸터 아래를 버튼 높이만큼 띄움 */
.xet-layout:has(#sso) .layout-footer { padding-top:0; }
.xet-layout:has(#sso-sticky:not([hidden])) .layout-footer, .xet-layout:has(#sso-actbar:not([hidden])) .layout-footer { padding-bottom:calc(92px + env(safe-area-inset-bottom, 0px)); }

