/* Temporary: remove this rule to show cookie banners again (React and static pages). */
.te-consent-banner {
  display: none !important;
}

body {
  --te-consent-banner-space: 0px !important;
}

@font-face {
  font-family: "Wanted Sans";
  src: url("https://cdn.teamelysium.kr/font/WantedSans-Regular.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Wanted Sans";
  src: url("https://cdn.teamelysium.kr/font/WantedSans-Medium.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Wanted Sans";
  src: url("https://cdn.teamelysium.kr/font/WantedSans-SemiBold.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Wanted Sans";
  src: url("https://cdn.teamelysium.kr/font/WantedSans-Bold.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --te-consent-blue: #3c5eab;
  --te-consent-border: #e4e4e4;
  --te-consent-text: #1c1d20;
}
:lang(ja) .te-consent-banner,
:lang(ja) .te-consent-banner *,
:lang(ja) .te-consent-overlay,
:lang(ja) .te-consent-overlay * {
  font-family: "paperlogy", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
.te-consent-hidden {
  display: none !important;
}
body.te-consent-banner-open {
  padding-bottom: var(--te-consent-banner-space);
}
.te-consent-banner {
  position: fixed;
  z-index: 2147483645;
  left: 16px;
  right: 16px;
  bottom: 30px;
  width: auto;
  min-height: 148px;
  max-width: 1600px;
  max-width: min(1600px, calc(100vw - 32px));
  margin: auto;
  box-sizing: border-box;
  padding: 30px 50px;
  border-radius: 16px;
  background: #fff;
  color: var(--te-consent-text);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  font-family: "Wanted Sans", "Hiragino Sans", "Yu Gothic", Meiryo,
    "Noto Sans KR", "Noto Sans", Arial, sans-serif;
  animation: te-consent-banner-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.te-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.te-consent-banner__copy {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.te-consent-banner h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -0.09px;
  font-weight: 700;
  color: var(--te-consent-text);
}
.te-consent-banner p {
  margin: 0 0 17px;
  color: #494a4c;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.08px;
}
.te-consent-banner a {
  color: #315ba9;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.09px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.te-consent-policy {
  color: #3c5eab;
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.te-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}
.te-consent-btn {
  min-width: 154px;
  min-height: 62px;
  padding: 20px 40px;
  border: 1px solid var(--te-consent-blue);
  border-radius: 999px;
  background: #fff;
  color: var(--te-consent-blue);
  font-family: "Wanted Sans", "Hiragino Sans", "Yu Gothic", Meiryo,
    "Noto Sans KR", "Noto Sans", Arial, sans-serif;
  font-style: normal;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.2px;
  font-weight: 500;
  cursor: pointer;
}
.te-consent-btn:hover {
  filter: brightness(0.97);
}
.te-consent-btn:focus-visible,
.te-consent-close:focus-visible,
.te-consent-toggle:focus-visible,
.te-consent-check input:focus-visible + span {
  outline: 3px solid rgba(60, 98, 181, 0.3);
  outline-offset: 2px;
}
.te-consent-btn--primary {
  background: var(--te-consent-blue);
  color: #fff;
}
.te-consent-btn--accept-all {
  transition: background-color 160ms ease;
}
.te-consent-btn--accept-all:hover {
  background: #35569e;
  filter: none;
}
.te-consent-btn--link {
  min-width: 114px;
  border-color: transparent;
  color: #222;
  background: transparent;
  cursor: default;
}
.te-consent-btn--link:hover {
  filter: none;
}
.te-consent-btn--link__label {
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}
.te-consent-btn--link__label:hover {
  color: var(--te-consent-blue);
}
.te-consent-overlay {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.55);
  font-family: "Wanted Sans", "Hiragino Sans", "Yu Gothic", Meiryo,
    "Noto Sans KR", "Noto Sans", Arial, sans-serif;
  animation: te-consent-overlay-in 200ms ease-out both;
}
.te-consent-dialog {
  width: min(800px, 100%);
  max-height: min(calc(100vh - 80px), 880px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--te-consent-text);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  animation: te-consent-dialog-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.te-consent-dialog__head {
  flex: 0 0 auto;
  position: relative;
  padding: 50px 50px 20px;
  border-bottom: 1px solid #eceef2;
}
.te-consent-dialog__head h2 {
  margin: 0 36px 10px 0;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: -0.24px;
  font-weight: 700;
}
.te-consent-dialog__head p {
  margin: 0;
  color: #606774;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.08px;
  font-weight: 400;
}
.te-consent-close {
  position: absolute;
  top: 46px;
  right: 46px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555;
  font-size: 20px;
  font-family: "Wanted Sans", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 400;
  cursor: pointer;
}
.te-consent-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.te-consent-dialog__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 50px;
}
.te-consent-section-title {
  margin: 0 0 16px;
  font-family: "Wanted Sans", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.2px;
}
.te-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 20px;
  border: 1px solid var(--te-consent-border);
  border-radius: 12px;
}
.te-consent-category strong {
  display: inline-block;
  margin-right: 10px;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -0.09px;
  font-weight: 700;
}
.te-consent-category small {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 30px;
  background: #f5f5f5;
  color: #494a4c;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.06px;
}
.te-consent-category p {
  margin: 9px 0 0;
  color: #494a4c;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.07px;
  font-weight: 400;
}
.te-consent-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #dbe4f5;
  cursor: pointer;
}
.te-consent-toggle::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}
.te-consent-toggle[aria-checked="true"] {
  background: var(--te-consent-blue);
}
.te-consent-toggle[aria-checked="true"]::after {
  transform: translateX(24px);
}
.te-consent-toggle:disabled {
  cursor: not-allowed;
  opacity: 1;
}
.te-consent-disclosure {
  width: 100%;
  min-height: 66px;
  margin: 7px 0 30px;
  padding: 20px;
  border: 1px solid var(--te-consent-border);
  border-radius: 12px;
  background: #f6f7fb;
  color: #252a35;
  text-align: left;
  font: inherit;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: -0.09px;
  font-weight: 700;
  cursor: pointer;
}
.te-consent-disclosure span {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
  transition: transform 0.18s;
}
.te-consent-disclosure span svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.te-consent-disclosure[aria-expanded="true"] span {
  transform: rotate(180deg);
}
.te-consent-disclosure[aria-expanded="false"] span {
  transform: none;
}
.te-consent-disclosure[aria-expanded="true"] {
  margin-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.te-consent-details {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--te-consent-border);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}
.te-consent-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #494a4c;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.07px;
}
.te-consent-table th,
.te-consent-table td {
  padding: 10px 20px;
  border-bottom: 1px solid #e8eaf0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.te-consent-table tr:last-child th,
.te-consent-table tr:last-child td {
  border-bottom: 0;
}
.te-consent-table th {
  width: 26.6%;
  background: #fff;
  color: var(--te-consent-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.08px;
}
.te-consent-table td {
  font-weight: 400;
}
.te-consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  padding: 20px;
  border: 1px solid var(--te-consent-border);
  border-radius: 12px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
}
.te-consent-check input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--te-consent-blue);
}
.te-consent-error {
  min-height: 18px;
  margin: 0 0 8px;
  color: #c43131;
  font-size: 11px;
}
.te-consent-note {
  margin: 0 0 8px;
  color: #68707c;
  max-width: 582px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.07px;
}
.te-consent-dialog__foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 50px 50px;
  border-top: 1px solid #eceef2;
  background: #fff;
}
.te-consent-dialog__foot .te-consent-btn {
  min-width: 188px;
  min-height: 62px;
  font-size: 20px;
}
body.te-consent-modal-open {
  overflow: hidden;
}
@keyframes te-consent-banner-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes te-consent-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes te-consent-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1024px) {
  .te-consent-banner__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .te-consent-actions {
    width: 100%;
  }
  .te-consent-actions .te-consent-btn {
    flex: 1 1 0;
    min-width: 0;
  }
}
@media (max-width: 720px) {
  .te-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 30px;
    max-width: calc(100vw - 20px);
    padding: 20px;
  }
  .te-consent-banner h2 {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 22px;
  }
  .te-consent-banner p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 20px;
  }
  .te-consent-banner a {
    font-size: 13px;
    line-height: 20px;
  }
  .te-consent-banner__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .te-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .te-consent-btn,
  .te-consent-btn--link {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 20px;
    font-size: 14px;
    line-height: 22px;
  }
  .te-consent-overlay {
    align-items: center;
    padding: 8px;
  }
  .te-consent-dialog {
    max-height: 94vh;
    border-radius: 10px;
  }
  .te-consent-dialog__head {
    padding: 22px 20px 15px;
  }
  .te-consent-dialog__head h2 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 24px;
  }
  .te-consent-dialog__head p {
    font-size: 12px;
    line-height: 18px;
  }
  .te-consent-close {
    top: 16px;
    right: 16px;
  }
  .te-consent-dialog__body {
    padding: 16px 20px 6px;
  }
  .te-consent-section-title {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
  }
  .te-consent-category {
    gap: 12px;
    padding: 15px 16px;
    border-radius: 9px;
  }
  .te-consent-category strong {
    margin-right: 7px;
    font-size: 13px;
    line-height: 18px;
  }
  .te-consent-category small {
    padding: 3px 6px;
    font-size: 10px;
    line-height: 12px;
  }
  .te-consent-category p {
    margin-top: 5px;
    font-size: 10px;
    line-height: 15px;
  }
  .te-consent-toggle {
    width: 42px;
    height: 24px;
  }
  .te-consent-toggle::after {
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
  }
  .te-consent-toggle[aria-checked="true"]::after {
    transform: translateX(18px);
  }
  .te-consent-disclosure {
    min-height: 52px;
    margin: 2px 0 16px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 18px;
  }
  .te-consent-check {
    padding: 14px;
    font-size: 12px;
    line-height: 18px;
  }
  .te-consent-check input {
    width: 18px;
    height: 18px;
  }
  .te-consent-note {
    font-size: 10px;
    line-height: 15px;
  }
  .te-consent-dialog__foot {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 20px 18px;
  }
  .te-consent-dialog__foot .te-consent-btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px;
  }
  .te-consent-table th {
    width: 29%;
    font-size: 10px;
    line-height: 15px;
  }
  .te-consent-table {
    font-size: 10px;
    line-height: 15px;
  }
  .te-consent-table th,
  .te-consent-table td {
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .te-consent-banner,
  .te-consent-overlay,
  .te-consent-dialog,
  .te-consent-toggle::after,
  .te-consent-disclosure span {
    animation: none;
    transition: none;
  }
}
