/*
 * 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[href*="/gold"]{
    color:#eccc80 !important;
    opacity:1 !important;
    position:relative !important;
  }

  .xet-layout .layout-appbar .__container a[href*="/gold"] .appbar_img img,
  .xet-layout .layout-appbar .__container a[href*="/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;
  }
}