/* 소확행 이벤트 */
.happy-event,
.happy-event *,
.happy-modal,
.happy-modal * {
  box-sizing: border-box;
}
.happy-event {
  --happy-blue: #034bed;
  --happy-navy: #082578;
  background: #082578;
  padding: 34px 28px 40px;
  color: #222;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  max-width: 960px;
  margin: 0 auto;
}
.happy-event button,
.happy-modal button {
  cursor: pointer;
  font: inherit;
  border: 0;
}
.happy-event button:focus-visible,
.happy-modal button:focus-visible,
.happy-event input:focus-visible,
.happy-event textarea:focus-visible {
  outline: 3px solid #ff46cf;
  outline-offset: 5px;
}
.happy-event img,
.happy-modal img {
  max-width: 100%;
  height: auto;
}
.happy-grid {
  background-color: #fff;
  background-image:
          linear-gradient(#c6edf1 1px, transparent 1px),
          linear-gradient(90deg, #c6edf1 1px, transparent 1px);
  background-size: 19px 19px;
}
.happy-modal:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 29px;
  background: radial-gradient(circle at 50% 20px, #082578 8px, transparent 9px) 0 0/38px 29px
  repeat-x;
  pointer-events: none;
}
.happy-paper {
  background: white;
  padding: 55px 32px 40px;
  box-shadow: 12px 12px 0 #4fa3ff;
  position: relative;
}
.happy-paper:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 12px;
  background:
          linear-gradient(135deg, white 25%, transparent 25%) -6px 0/24px 12px,
          linear-gradient(225deg, white 25%, transparent 25%) -6px 0/24px 12px;
}
.happy-intro {
  text-align: center;
}
.happy-intro > p:first-child {
  font-weight: 700;
  font-size: 20px;
}
.happy-intro h2 {
  font-size: 34px;
  line-height: 1.4;
  font-weight: 1000;
  margin: 12px 0 22px;
}
.happy-event em,
.happy-modal em {
  font-style: normal;
  color: #034bed;
}
.happy-event b {
  color: #034bed;
}
.happy-intro p {
  font-size: 16px;
  margin: 10px 0;
}
.happy-intro > p:nth-of-type(2) {
  font-size: 20px;
  font-weight: bold;
}
.happy-intro > p:nth-of-type(2) b {
  text-decoration: underline;
}
.happy-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 48px 0 24px !important;
  text-align: center;
  font-size: 25px !important;
  font-weight: 900;
  line-height: 1.4;
}
.happy-heading:before,
.happy-heading:after {
  content: "";
  height: 1px;
  background: #2866ff;
  flex: 1;
  min-width: 14px;
}
.happy-guide {
  padding: 0 10px;
}
.happy-guide h3 {
  display: inline-block;
  background: #ffe500;
  border-radius: 30px;
  padding: 2px 22px;
  margin: 12px 7px 10px 0;
  font-size: 18px;
}
.happy-guide ol {
  padding-left: 24px;
  margin: 0 0 22px;
  list-style: decimal;
}
.happy-guide li {
  list-style: decimal;
  line-height: 1.85;
  font-size: 15px;
}
.happy-gift {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #ffedfc;
  border-radius: 65px;
  margin: 34px 0 46px;
  padding: 24px 35px;
  font-size: 16px;
  font-weight: 600;
}
.happy-gift img {
  width: 84px;
  flex-shrink: 0;
}
.happy-gift p {
  margin: 0;
}
.happy-notice {
  background: #f6f6f6;
  padding: 30px 26px;
  box-shadow: 2px 3px 4px #ddd;
  font-size: 13px;
}
.happy-notice h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 12px 0 6px;
}
.happy-notice ul {
  padding-left: 18px;
}
.happy-notice li {
  list-style: disc;
  line-height: 1.9;
}
.happy-notice a {
  color: #034bed;
  overflow-wrap: anywhere;
}
.happy-center {
  text-align: center;
  font-size: 15px;
}
.happy-class-label {
  display: block;
  font-size: 14px;
  margin: 20px 0 12px;
}
.happy-class-label input {
  display: block !important;
  width: 100%;
  border: 1px solid #d9dfe7 !important;
  padding: 10px !important;
  height: auto !important;
  background: white !important;
  font: inherit;
}
.happy-compose {
  display: flex;
  border-radius: 9px;
  background: #f6f6f6;
  overflow: hidden;
  min-height: 155px;
}
.happy-upload {
  width: 28%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #e9e9e9;
  color: #737d87;
  font-size: 13px;
  cursor: pointer;
  min-height: 155px;
}
.happy-upload input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.happy-upload:focus-within {
  outline: 3px solid #034bed;
  outline-offset: -3px;
}
.happy-upload img {
  height: 155px;
  width: 100%;
  object-fit: cover;
}
.happy-write {
  flex: 1;
  min-width: 0;
  padding: 15px;
}
.happy-write textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  line-height: 1.6;
}
.happy-write > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.happy-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
#happy-dialog {
  background: #082578;
  color: #222;
  box-shadow: 0 5px 22px #0005;
}
#happy-dialog::backdrop {
  background: #000a;
}
.happy-modal {
  position: relative;
  padding: 70px 7% 45px;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  text-align: center;
  min-height: 620px;
}
.happy-modal-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.happy-modal-nav button {
  background: white;
  font-size: 16px;
  font-weight: 900;
  border-radius: 5px;
  padding: 7px 12px;
  box-shadow: 2px 3px 3px #aaa;
}
.happy-modal-nav button:disabled {
  opacity: 0.35;
  cursor: default;
}
#happy-close {
  position: absolute;
  right: -6%;
  top: -56px;
  background: #034bed;
  color: white;
  box-shadow: none;
  font-size: 32px;
  line-height: 1;
  padding: 5px 12px;
}
#happy-modal-title {
  font-size: 40px;
  font-weight: 1000;
  text-shadow:
          3px 0 white,
          -3px 0 white,
          0 3px white,
          0 -3px white;
}
.happy-large-button {
  background: #034bed;
  color: white;
  padding: 16px 40px;
  border-radius: 38px;
  font-size: 23px !important;
  font-weight: 800 !important;
  min-width: 50%;
}
.happy-round {
  display: inline-block;
  border: 2px solid #ff2638;
  background: #fff;
  color: #ed001b;
  font-size: 24px;
  font-weight: 900;
  padding: 2px 45px;
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  box-shadow: 3px 3px #ccc;
}
.happy-book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: linear-gradient(90deg, #eee 49.5%, #bbb 50%, #eee 50.5%);
  box-shadow: 5px 6px 8px #bbb;
  padding: 35px 32px;
  position: relative;
}
.happy-book:after {
  content: "";
  position: absolute;
  left: calc(50% - 14px);
  top: 32px;
  bottom: 30px;
  width: 28px;
  background: repeating-linear-gradient(
          0deg,
          transparent 0 21px,
          #999 21px 24px,
          #222 24px 26px,
          white 26px 28px,
          transparent 28px 30px
  );
  pointer-events: none;
}
.happy-choice {
  padding: 0 0 20px;
  background: white;
  border-radius: 24px !important;
  width: 85%;
  margin: auto;
  box-shadow: 2px 3px 3px #ccc;
  overflow: hidden;
  transform: rotate(4deg);
  transition:
          transform 0.16s,
          outline 0.16s;
}
.happy-choice:nth-child(2) {
  transform: rotate(-4deg);
}
.happy-choice:hover {
  transform: rotate(0) translateY(-4px);
}
.happy-choice[aria-pressed="true"] {
  outline: 5px solid #ffdb00;
  transform: rotate(0);
}
.happy-choice > strong {
  display: block;
  background: #fa48d6;
  color: white;
  font-size: 38px;
  padding: 4px;
}
.happy-choice:nth-child(2) > strong {
  background: #034bed;
}
.happy-choice > img {
  display: block;
  height: 180px;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  margin: 28px auto 20px;
}
.happy-choice > span {
  display: block;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.4;
  padding: 0 15px;
  word-break: keep-all;
}
.happy-game-hint {
  font-size: 14px;
  margin: 20px 0 0;
}
.happy-panel[hidden] {
  display: none !important;
}
@media (max-width: 767px) {
  .happy-event {
    padding: 22px 14px 25px;
  }
  .happy-paper {
    padding: 30px 17px 25px;
    box-shadow: 7px 8px #4fa3ff;
  }
  .happy-intro h2 {
    font-size: 26px;
  }
  .happy-intro p,
  .happy-intro > p:first-child {
    font-size: 14px;
  }
  .happy-intro > p:nth-of-type(2) {
    font-size: 17px;
  }
  .happy-heading {
    font-size: 20px !important;
    gap: 7px;
    margin-top: 34px !important;
  }
  .happy-guide {
    padding: 0;
  }
  .happy-guide li {
    font-size: 13px;
  }
  .happy-guide h3 {
    font-size: 15px;
    padding: 2px 15px;
  }
  .happy-gift {
    padding: 23px 17px;
    gap: 12px;
    font-size: 13px;
    border-radius: 26px;
  }
  .happy-gift img {
    width: 55px;
  }
  .happy-notice {
    padding: 18px 15px;
  }
  .happy-compose {
    min-height: 160px;
  }
  .happy-upload {
    font-size: 11px;
    width: 30%;
  }
  .happy-write {
    padding: 10px;
  }
  .happy-write textarea {
    font-size: 13px;
  }
  .happy-modal {
    padding: 56px 14px 30px;
    min-height: 480px;
  }
  .happy-modal-nav button {
    font-size: 12px;
    padding: 6px 8px;
  }
  #happy-close {
    right: 0;
    top: -45px;
    font-size: 25px;
  }
  #happy-modal-title {
    font-size: 25px;
  }
  .happy-round {
    font-size: 20px;
    padding: 2px 25px;
  }
  .happy-book {
    padding: 22px 7px;
    gap: 17px;
  }
  .happy-book:after {
    width: 16px;
    left: calc(50% - 8px);
  }
  .happy-choice {
    width: 93%;
    border-radius: 14px !important;
    padding-bottom: 15px;
  }
  .happy-choice > strong {
    font-size: 25px;
  }
  .happy-choice > img {
    height: 115px;
    margin: 22px auto 16px;
  }
  .happy-choice > span {
    font-size: 17px;
    padding: 0 8px;
  }
  .happy-large-button {
    font-size: 18px !important;
    padding: 14px 22px;
  }
  .happy-game-hint {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .happy-choice {
    transition: none;
  }
}
.happy-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0 10px;
}
.happy-pagination button {
  border: 1px solid #cfd4db;
  background: white;
  min-width: 32px;
  height: 32px;
  font-size: 14px;
}
.happy-pagination button[aria-current] {
  background: #8c969f;
  color: white;
}
/* PSD 스타일 */
#happy-event {
  padding: 0 0 40px;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-weight: 400;
}
#happy-event .happy-hero-original {
  position: relative;
  width: 100%;
  line-height: 0;
}
#happy-event .happy-hero-original > img {
  width: 100%;
  display: block;
}
#happy-event .happy-hero-original button {
  position: absolute;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 50%;
}
#happy-event .happy-hero-survey {
  left: 7.5%;
  top: 19%;
  width: 12%;
  height: 18%;
}
#happy-event .happy-hero-start {
  left: 79%;
  top: 67%;
  width: 17%;
  height: 28%;
}
#happy-event .happy-paper:before {
  content: "";
  position: absolute;
  right: 25px;
  top: -20px;
  width: 40px;
  height: 65px;
  border: 5px double #aaa;
  border-radius: 24px;
  transform: rotate(-23deg);
}
#happy-event .happy-intro h2 img {
  width: 100%;
  max-width: 516px;
}
#happy-event .happy-intro p {
  font-weight: 500;
}
#happy-event .happy-intro > p:first-child {
  font-size: 20px;
}
#happy-event h3 {
  background-image: none !important;
  clear: none !important;
  border: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 0 !important;
  font-weight: 700 !important;
  float: none !important;
  width: auto !important;
}
#happy-event h3:before,
#happy-event h3:after {
  display: none !important;
}
#happy-event .happy-guide h3 {
  font-size: 18px !important;
}
#happy-event .happy-notice {
  display: grid;
}
#happy-event .happy-notice h3 {
  margin: 0 !important;
  padding: 0 !important;
  align-self: start;
}
#happy-event .happy-notice ul,
#happy-event .happy-notice p {
  margin: 0 !important;
}
#happy-event .happy-heading {
  position: relative;
  font-size: 25px !important;
  font-weight: 800 !important;
}
#happy-event .happy-heading:before,
#happy-event .happy-heading:after {
  background: linear-gradient(#2866ff, #2866ff) center/100% 1px no-repeat;
  height: 18px;
}
#happy-event .happy-class-label {
  display: none;
}
#happy-event .happy-compose {
  margin-top: 24px;
}
#happy-event .happy-upload img[hidden] {
  display: none;
}
#happy-event .happy-guide ol {
  font-size: 15px;
  line-height: 1.85;
}
#happy-dialog {
  position: fixed !important;
  inset: 0 !important;
  margin: auto !important;
  max-width: 1200px;
  height: max-content;
  max-height: 94dvh;
  padding: 17px !important;
  border: 0;
}
#happy-dialog:not([open]) {
  display: none !important;
}
#happy-dialog[open] {
  display: block !important;
}
#happy-dialog .happy-modal {
  min-height: 640px;
  padding: 60px 7% 30px;
  background-size: 18px 18px;
}
#happy-dialog .happy-modal:before {
  height: 42px;
  background:
          radial-gradient(circle at 50% 29px, #082578 12px, transparent 13px) 4px 0/50px 42px repeat-x,
          linear-gradient(90deg, transparent 20px, #082578 20px 30px, transparent 30px) 4px 0/50px 25px
          repeat-x;
}
#happy-dialog .happy-modal-nav {
  position: absolute;
  inset: 60px 4% auto;
  z-index: 3;
  pointer-events: none;
}
#happy-dialog .happy-modal-nav button {
  pointer-events: auto;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border: 0;
  width: 98px;
}
#happy-dialog .happy-modal-nav #happy-home {
  margin-left: auto;
  width: 78px;
}
#happy-dialog .happy-modal-nav button img {
  display: block;
  width: 100%;
}
#happy-dialog .happy-modal-nav #happy-close {
  top: -72px;
  right: -6%;
  width: 40px;
  height: 44px;
  padding: 0;
  background: #034bed;
  color: white;
  font: 36px/1 Arial;
  border-radius: 0 24px 24px 0;
}
#happy-modal-title {
  margin: 0 auto 15px !important;
  width: 400px;
  max-width: 55%;
  height: 55px;
  line-height: 1;
  filter: drop-shadow(2px 3px 1px #bbb);
}
#happy-modal-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#happy-dialog .happy-round {
  font-size: 28px;
  line-height: 1.6;
}
#happy-dialog .happy-book {
  padding: 32px 25px 18px;
  min-height: 440px;
  background: linear-gradient(90deg, #f1f1f1 49.6%, #c5c5c5 50%, #f1f1f1 50.4%);
}
#happy-dialog .happy-choice {
  padding-bottom: 0;
  overflow: visible;
  align-self: start;
}
#happy-dialog .happy-choice > strong {
  border-radius: 24px 24px 0 0;
  font-size: 40px;
  line-height: 1.4;
  height: 61px;
}
#happy-dialog .happy-game-hint {
  display: none;
}
#happy-dialog[data-view="intro"] {
  padding: 0 !important;
  aspect-ratio: 1201/676;
  height: auto;
  overflow: visible;
}
#happy-dialog[data-view="intro"] .happy-modal {
  padding: 0;
  min-height: 0;
  background: none;
}
#happy-dialog[data-view="intro"] .happy-modal:before {
  display: none;
}
.happy-intro-art {
  display: block;
  width: 100%;
}
.happy-intro-start {
  position: absolute;
  left: 29.6%;
  top: 73.5%;
  width: 42%;
  height: 13%;
  background: transparent;
  border-radius: 50px;
}
#happy-dialog[data-view="intro"] .happy-modal-nav {
  inset: 16% 6% auto 5%;
}
#happy-dialog[data-view="intro"] .happy-modal-nav button:not(#happy-close) {
  opacity: 0;
}
#happy-dialog[data-view="intro"] .happy-modal-nav #happy-close {
  top: -108px;
  right: -10%;
  opacity: 1;
}
#happy-dialog[data-view="result"] .happy-modal,
#happy-dialog[data-view="survey"] .happy-modal {
  padding-top: 60px;
}
#happy-dialog .happy-result-book,
#happy-dialog .happy-survey-book {
  min-height: 535px;
  margin: 0 5%;
  padding: 35px 35px 25px;
  gap: 65px;
}
.happy-winner-page > img {
  width: 277px;
  max-width: 95%;
  margin: 0 auto;
}
.happy-winner-page > p {
  font-weight: 900;
  font-size: 70px;
  line-height: 1.35;
  margin: 90px 0 0;
  word-break: keep-all;
}
.happy-rank-page h3 {
  font-size: 23px !important;
  font-weight: 900 !important;
  border: 2px solid red;
  border-radius: 12px;
  background: white;
  padding: 5px 8px;
  margin: 0 0 30px;
  white-space: nowrap;
}
.happy-ranking {
  text-align: left;
  padding-left: 20px;
  margin: 0;
  font-size: 18px;
}
.happy-ranking li {
  list-style: decimal;
  margin: 0 0 23px;
  line-height: 1.5;
}
.happy-ranking li div {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}
.happy-ranking i {
  display: block;
  height: 17px;
  border-radius: 5px;
  background: linear-gradient(90deg, #034bed var(--rate), white var(--rate));
  flex: 1;
  box-shadow: 1px 1px 1px #ccc;
}
.happy-ranking li:first-child i {
  background: linear-gradient(90deg, #f74bd9 var(--rate), white var(--rate));
}
.happy-ranking span {
  width: 44px;
  font-size: 21px;
  font-weight: 600;
}
#happy-dialog .happy-survey-book {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-end;
}
.happy-survey-box {
  background: white;
  border-radius: 23px;
  box-shadow: 1px 3px 5px #ccc;
  padding: 48px 15px 32px;
  position: relative;
  z-index: 1;
  margin: 55px -25px 0;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -1px;
}
.happy-survey-box > img {
  position: absolute;
  width: 386px;
  max-width: 80%;
  left: 50%;
  top: -34px;
  transform: translateX(-50%);
}
.happy-survey-box p {
  margin: 10px 0 24px;
}
.happy-survey-box p:last-child {
  margin-bottom: 10px;
}
#happy-dialog .happy-survey-book .happy-large-button {
  align-self: center;
  font-size: 21px !important;
  z-index: 1;
}
@media (max-width: 767px) {
  #happy-event {
    padding: 0 0 25px;
  }
  #happy-event .happy-paper {
    margin: 18px 17px 0;
    box-shadow: 7px 8px #4fa3ff;
  }
  #happy-event .happy-intro > p:first-child {
    font-size: 14px;
  }
  #happy-event .happy-heading {
    font-size: 19px !important;
  }
  #happy-event .happy-guide h3 {
    font-size: 15px !important;
    padding: 2px 15px !important;
  }
  #happy-event .happy-notice {
    display: block;
  }
  #happy-dialog {
    width: calc(100% - 20px);
    padding: 9px !important;
  }
  #happy-dialog .happy-modal {
    min-height: 440px;
    padding: 85px 8px 25px;
  }
  #happy-dialog .happy-modal-nav {
    inset: 38px 3% auto;
  }
  #happy-dialog .happy-modal-nav button {
    width: 65px;
  }
  #happy-dialog .happy-modal-nav #happy-home {
    width: 49px;
  }
  #happy-dialog .happy-modal-nav #happy-close {
    top: -45px;
    right: -4%;
    width: 30px;
    height: 34px;
    font-size: 28px;
  }
  #happy-modal-title {
    max-width: 68%;
    height: 40px;
    margin: 0 auto 10px !important;
  }
  #happy-dialog .happy-round {
    font-size: 19px;
    padding: 0 24px;
  }
  #happy-dialog .happy-book {
    padding: 25px 7px 20px;
    min-height: 270px;
    gap: 15px;
  }
  #happy-dialog .happy-choice {
    width: 91%;
    border-radius: 15px !important;
  }
  #happy-dialog .happy-choice > strong {
    font-size: 26px;
    height: 40px;
    border-radius: 15px 15px 0 0;
  }
  #happy-dialog[data-view="intro"] {
    width: calc(100% - 20px);
    overflow: visible;
  }
  #happy-dialog[data-view="intro"] .happy-modal-nav #happy-close {
    top: -45px;
    right: -7%;
  }
  #happy-dialog .happy-result-book,
  #happy-dialog .happy-survey-book {
    margin: 25px 0 0;
    gap: 24px;
    padding: 25px 12px;
    min-height: 360px;
  }
  .happy-winner-page > p {
    font-size: 34px;
    margin-top: 80px;
  }
  .happy-rank-page h3 {
    font-size: 13px !important;
    white-space: normal;
    padding: 5px 3px;
    margin-bottom: 16px;
  }
  .happy-ranking {
    font-size: 12px;
    padding-left: 15px;
  }
  .happy-ranking li {
    margin-bottom: 14px;
  }
  .happy-ranking span {
    width: 27px;
    font-size: 12px;
  }
  .happy-ranking i {
    height: 10px;
  }
  .happy-survey-box {
    font-size: 15px;
    margin: 30px 0 0;
    padding: 32px 10px 10px;
    letter-spacing: -0.5px;
  }
  .happy-survey-box > img {
    top: -22px;
  }
  .happy-survey-box p {
    margin-bottom: 15px;
  }
  #happy-dialog .happy-survey-book .happy-large-button {
    font-size: 13px !important;
    padding: 10px 16px;
  }
  .happy-survey-book .happy-book:after {
    z-index: 0;
  }
}
#happy-dialog {
  font-family: "Malgun Gothic", sans-serif;
}
#happy-dialog h3 {
  background-image: none !important;
  clear: none !important;
  letter-spacing: -1px !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 0 !important;
  float: none !important;
}
#happy-dialog h3:before,
#happy-dialog h3:after {
  display: none !important;
}
#happy-dialog .happy-rank-page h3 {
  padding: 5px 8px !important;
  margin: 0 0 30px !important;
}
#happy-dialog .happy-ranking {
  font-weight: 400;
}
#happy-dialog .happy-result-book {
  min-height: 535px;
  height: 535px;
}
#happy-dialog .happy-book:after {
  background: url("../images/happy/binding.png") center top/28px 10px repeat-y;
}
#happy-dialog .happy-modal:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 21px;
  background: url("../images/happy/paper-edge.png") center bottom/100% 21px no-repeat;
  pointer-events: none;
}
#happy-dialog[data-view="intro"] .happy-modal:after {
  display: none;
}
#happy-dialog .happy-result-book:before,
#happy-dialog .happy-survey-book:before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 2;
  background:
          url("../images/happy/crown-pink.png") 6% 4%/75px auto no-repeat,
          url("../images/happy/result-blue.png") 0 20%/154px auto no-repeat,
          url("../images/happy/doodle.png") 3% 90%/132px auto no-repeat,
          url("../images/happy/result-pink.png") 96% 90%/108px auto no-repeat;
}
#happy-dialog .happy-survey-box {
  align-self: center;
  margin-left: 0;
  margin-right: 0;
}
#happy-dialog .happy-survey-box > img,
#happy-modal-title img {
  filter: drop-shadow(3px 0 white) drop-shadow(-3px 0 white) drop-shadow(0 3px white)
  drop-shadow(0 -3px white) drop-shadow(2px 3px 2px #bbb);
}
#happy-dialog .happy-choice:first-child:before {
  content: "";
  position: absolute;
  left: -22px;
  top: 30px;
  width: 42px;
  height: 50px;
  background: url("../images/happy/heart.png") center/contain no-repeat;
  z-index: 2;
}
#happy-dialog .happy-choice:nth-child(2):before {
  content: "";
  position: absolute;
  left: -20px;
  top: 32px;
  width: 55px;
  height: 55px;
  background: url("../images/happy/spark.png") center/contain no-repeat;
  z-index: 2;
}
#happy-dialog .happy-choice:nth-child(2):after {
  content: "";
  position: absolute;
  right: -15px;
  top: 100px;
  width: 40px;
  height: 44px;
  background: url("../images/happy/pencil.png") center/contain no-repeat;
}
#happy-dialog .happy-choice:first-child:after {
  content: "";
  position: absolute;
  right: -18px;
  top: 120px;
  width: 40px;
  height: 51px;
  background: url("../images/happy/lightning.png") center/contain no-repeat;
}
#happy-event .happy-heading:before {
  content: "✦";
  text-align: right;
  color: #034bed;
  font-size: 23px;
  line-height: 18px;
}
#happy-event .happy-heading:after {
  content: "✦";
  text-align: left;
  color: #034bed;
  font-size: 23px;
  line-height: 18px;
}
@media (max-width: 767px) {
  #happy-dialog .happy-rank-page h3 {
    padding: 5px 3px !important;
    margin: 0 0 16px !important;
  }
  #happy-dialog .happy-result-book {
    height: auto;
    min-height: 400px;
  }
  #happy-dialog .happy-result-book:before,
  #happy-dialog .happy-survey-book:before {
    display: none;
  }
  #happy-dialog .happy-choice:first-child:before,
  #happy-dialog .happy-choice:nth-child(2):before {
    width: 25px;
    height: 25px;
    left: -8px;
    top: 30px;
  }
  #happy-dialog .happy-choice:first-child:after,
  #happy-dialog .happy-choice:nth-child(2):after {
    width: 23px;
    height: 28px;
    right: -7px;
    top: 75px;
  }
}
#happy-dialog .happy-book:after {
  background-image:
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png"), url("../images/happy/binding.png"),
          url("../images/happy/binding.png");
  background-position:
          center 0px,
          center 29px,
          center 58px,
          center 87px,
          center 116px,
          center 145px,
          center 174px,
          center 203px,
          center 232px,
          center 261px,
          center 290px,
          center 319px,
          center 348px,
          center 377px,
          center 406px,
          center 435px,
          center 464px,
          center 493px,
          center 522px;
  background-size: 28px 10px;
  background-repeat: no-repeat;
}
#happy-dialog .happy-result-book:before,
#happy-dialog .happy-survey-book:before {
  inset: -20px -100px -10px;
  background-position:
          13% 0,
          0 65px,
          2% 100%,
          100% 100%;
}
#happy-dialog .happy-ranking li {
  font-size: 18px !important;
  line-height: 1.5 !important;
}
#happy-dialog .happy-ranking li div {
  line-height: 1.2;
}
#happy-dialog .happy-ranking li:last-child {
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  #happy-dialog .happy-book:after {
    background-size: 16px 8px;
  }
  #happy-dialog .happy-ranking li {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }
  #happy-dialog .happy-modal:after {
    height: 7px;
    background-size: 100% 7px;
  }
}
/* 댓글 목록 */
#happy-event .happy-hero-original .happy-hero-survey {
  left: 7.1197%;
  top: 17.8131%;
  width: 11.9741%;
  height: auto;
  border-radius: 0;
  line-height: 0;
}
#happy-event .happy-hero-original .happy-hero-start {
  left: 72.9234%;
  top: 57.3192%;
  width: 20.6041%;
  height: auto;
  border-radius: 0;
  line-height: 0;
}
#happy-event .happy-hero-original button > img {
  display: block;
  width: 100%;
  height: auto;
}
#happy-event #happy-upload-label {
  display: flex;
  align-items: center;
  flex-direction: column;
  line-height: 1.45;
}
#happy-event #happy-upload-label[hidden] {
  display: none;
}
#happy-event .happy-upload #happy-upload-label .happy-upload-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  max-width: none;
}
/* 첨부 아이콘 */
#happy-event .happy-review {
  padding: 0;
  margin: 24px 0 0;
  border: 0;
  font-weight: 400;
  color: #444;
  line-height: 1.55;
}
#happy-event .happy-review [hidden] {
  display: none !important;
}
#happy-event .happy-review-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin: 0 0 12px;
  padding: 0 8px;
  line-height: 1.45;
}
#happy-event .happy-review-meta strong {
  font-weight: 700;
  color: #333;
  word-break: keep-all;
}
#happy-event .happy-review-meta time {
  color: #777;
  white-space: nowrap;
  flex-shrink: 0;
}
#happy-event .happy-review-row {
  display: grid;
  grid-template-columns: 22.4% minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
#happy-event .happy-review-photo {
  position: relative;
  align-self: start;
  aspect-ratio: 175/132;
  min-width: 0;
}
#happy-event .happy-review-thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}
#happy-event .happy-review-photo-change {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
#happy-event .happy-review-photo-change > img {
  object-fit: contain;
}
#happy-event .happy-review-photo-change input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
#happy-event .happy-review-photo-change:focus-within {
  outline: 2px solid #034bed;
  outline-offset: 3px;
}
#happy-event .happy-review-content {
  padding: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
#happy-event .happy-review.is-owner .happy-review-content {
  background: #f6f6f6;
  border-radius: 0 8px 8px 0;
  padding: 15px 8px 6px 0;
  position: relative;
}
#happy-event .happy-review.is-owner .happy-review-content:before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0;
  bottom: 0;
  width: 25px;
  background: #f6f6f6;
  z-index: 0;
}
#happy-event .happy-review-content > * {
  position: relative;
}
#happy-event .happy-review-text,
#happy-event .happy-review-textarea {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #444;
  word-break: normal;
  overflow-wrap: anywhere;
  width: 100%;
  box-sizing: border-box;
}
#happy-event .happy-review-textarea {
  min-height: 0;
  outline-offset: 2px;
  display: block;
}
#happy-event .happy-review-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 8px;
  font-size: 13px;
  line-height: 1;
}
#happy-event .happy-review-actions {
  display: flex;
  margin-left: auto;
}
#happy-event .happy-review-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  background: #8e99a3;
  color: white;
  font:
          400 13px/1 "Malgun Gothic",
          sans-serif;
  white-space: nowrap;
}
#happy-event .happy-review-actions button img {
  width: 13px;
  height: 14px;
  object-fit: contain;
}
#happy-event .happy-review-actions .happy-review-save {
  background: #0958e9;
}
#happy-event .happy-review.is-public {
  border-bottom: 1px dotted #acb9c8;
}
#happy-event .happy-review.is-public:last-child {
  border-bottom: 0;
}
#happy-event .happy-review.is-public .happy-review-meta {
  padding: 0;
}
#happy-event .happy-review-status {
  margin: 5px 0 0;
  color: #bc2222;
  font-size: 12px;
}
#happy-event .happy-review-status:empty {
  display: none;
}
#happy-event .happy-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}
#happy-event .happy-pagination button {
  padding: 0 5px;
  border: 1px solid #b9c2cc;
  border-radius: 0;
  color: #777;
  background: white;
  font:
          400 14px/1 "Malgun Gothic",
          sans-serif;
}
#happy-event .happy-pagination button[aria-current="page"] {
  background: #8c969f;
  color: white;
}
#happy-event .happy-pagination button[data-comment-page="first"],
#happy-event .happy-pagination button[data-comment-page="next"] {
  border: 0;
  font-size: 24px;
}
#happy-event .happy-pagination span {
  font-size: 15px;
  color: #666;
}
@media (max-width: 767px) {
  #happy-event .happy-review {
    margin-top: 22px;
  }
  #happy-event .happy-review-row {
    grid-template-columns: 25% minmax(0, 1fr);
  }
  #happy-event .happy-review-meta {
    padding: 0 2px;
    gap: 8px;
    margin-bottom: 8px;
  }
  #happy-event .happy-review-text,
  #happy-event .happy-review-textarea {
    letter-spacing: -0.3px;
  }
  #happy-event .happy-review.is-owner .happy-review-content {
    padding: 9px 5px 5px 0;
  }
  #happy-event .happy-review.is-owner .happy-review-content:before {
    left: -14px;
    width: 14px;
  }
  #happy-event .happy-review-actions button {
    font-size: 11px;
    padding: 4px 5px;
    gap: 3px;
  }
  #happy-event .happy-review-actions button img {
    width: 11px;
    height: 12px;
  }
  #happy-event .happy-review-photo-change > img {
    width: 18px;
    height: 18px;
  }
  #happy-event .happy-review.is-public .happy-review-meta {
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 8px;
  }
  #happy-event .happy-review.is-public .happy-review-meta time {
    margin-left: auto;
  }
  #happy-event .happy-pagination {
    margin-top: 28px;
  }
  #happy-event .happy-pagination button {
    padding: 0 3px;
  }
}
#happy-event .happy-review-photo {
  z-index: 1;
}
/* 배너 버튼 */
#happy-event .happy-review-actions button img,
#happy-event .happy-review-photo-change > img {
  filter: brightness(0) invert(1);
}
#happy-event .happy-review-textarea {
  resize: none;
}
/* 댓글 목록 */
#happy-event #happy-submit,
#happy-event .happy-review-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 61px;
  min-width: 61px;
  height: 31px;
  margin: 0;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  background: #8b959e;
  color: #fff;
  box-shadow: none;
  font:
          400 14px/1 HappySUIT,
          sans-serif;
  white-space: nowrap;
  vertical-align: middle;
  flex: 0 0 61px;
  cursor: pointer;
}
#happy-event #happy-submit,
#happy-event .happy-review-actions .happy-review-save {
  background: #1459e8;
}
#happy-event #happy-submit > img,
#happy-event .happy-review-actions button > img {
  display: block;
  width: 14px;
  height: 16px;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 0 0 14px;
  filter: none;
  object-fit: contain;
}
#happy-event .happy-review-actions button[hidden] {
  display: none;
}
#happy-event .happy-review-actions {
  gap: 2px;
}
#happy-event .happy-review-textarea {
  height: 74px;
}
#happy-event .happy-review-tools {
  padding-top: 6px;
}
#happy-event .happy-review.is-owner .happy-review-content {
  padding-bottom: 5px;
}
@media (max-width: 767px) {
  #happy-event .happy-review-tools {
    flex-wrap: wrap;
    row-gap: 6px;
  }
}
/* PSD 배경과 오브젝트 */
@font-face {
  font-family: HappySUIT;
  src: url("../fonts/happy/SUIT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: HappySUIT;
  src: url("../fonts/happy/SUIT-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: HappySUIT;
  src: url("../fonts/happy/SUIT-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: HappySUIT;
  src: url("../fonts/happy/SUIT-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: HappySUIT;
  src: url("../fonts/happy/SUIT-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
#happy-event,
#happy-dialog {
  font-family: HappySUIT, sans-serif;
  letter-spacing: -0.025em;
}
#happy-event {
  padding-bottom: 24px;
  background: #082578;
}
#happy-event .happy-paper {
  margin: 6px 2.9126% 0;
  padding: 74px 5.2632% 65px;
  background:
          url("../images/happy/paper-top.png") top center/100% auto no-repeat,
          url("../images/happy/paper-bottom.png") bottom center/100% auto no-repeat,
          url("../images/happy/paper-middle.png") center/100% 1px repeat-y;
  box-shadow: none;
}
#happy-event .happy-paper:before,
#happy-event .happy-paper:after {
  display: none;
}
#happy-event .happy-intro {
  position: relative;
}
#happy-event .happy-intro-star {
  position: absolute;
  pointer-events: none;
}
#happy-event .happy-intro-star.is-left {
  left: 2.7%;
  top: 18px;
  width: 82px;
}
#happy-event .happy-intro-star.is-right {
  right: 6.1%;
  top: 69px;
  width: 72px;
}
#happy-event .happy-intro > p:first-of-type {
  font-size: 24px;
  line-height: 29px;
  margin: 0;
  font-weight: 700;
}
#happy-event .happy-intro h2 {
  margin: 18px 0 24px;
  line-height: 0;
}
#happy-event .happy-intro > p:nth-of-type(2) {
  font-size: 22px;
  line-height: 36px;
  margin: 0 0 7px;
  font-weight: 600;
}
#happy-event .happy-intro > p:nth-of-type(2) b {
  font-size: 30px;
  font-weight: 800;
}
#happy-event .happy-intro > p:nth-of-type(3) {
  font-size: 20px;
  line-height: 32px;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
}
#happy-event .happy-heading {
  display: block;
  margin: 45px 0 14px !important;
  padding: 0 !important;
  line-height: 0 !important;
}
#happy-event .happy-heading:before,
#happy-event .happy-heading:after {
  display: none;
}
#happy-event .happy-heading img {
  display: block;
  width: 100%;
}
#happy-event .happy-guide {
  padding: 0 27px;
}
#happy-event .happy-guide h3 {
  display: inline-block;
  margin: 0 !important;
  padding: 0 !important;
  background: none;
  border-radius: 0;
  vertical-align: middle;
  line-height: 0 !important;
}
#happy-event .happy-guide h3 img {
  display: block;
  width: 106px;
  height: 39px;
}
#happy-event #happy-manual {
  margin: 0 0 0 4px;
  vertical-align: middle;
  line-height: 0;
}
#happy-event #happy-manual img {
  display: block;
}
#happy-event .happy-guide ol {
  margin: 12px 0 33px;
  padding: 0;
  counter-reset: steps;
}
#happy-event .happy-guide ol:last-child {
  margin-bottom: 0;
}
#happy-event .happy-guide li {
  position: relative;
  list-style: none;
  font-size: 18px;
  line-height: 27px;
  padding-left: 28px;
  font-weight: 500;
  letter-spacing: -0.045em;
}
#happy-event .happy-guide li:before {
  counter-increment: steps;
  content: counter(steps, circled-decimal);
  position: absolute;
  left: 0;
}
#happy-event .happy-gift {
  margin: 33px 27px 34px;
  padding: 25px 30px 25px 82px;
  min-height: 151px;
  gap: 31px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
  border-radius: 76px;
}
#happy-event .happy-gift img {
  width: 98px;
}
#happy-event .happy-notice {
  box-shadow: none;
  margin: 0 -4px;
  padding: 62px 32px 40px;
  grid-template-columns: 75px 1fr;
  gap: 22px 14px;
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.04em;
}
#happy-event .happy-notice h3 {
  font-size: 16px !important;
  line-height: 27px !important;
}
#happy-event .happy-notice ul {
  padding-left: 0;
}
#happy-event .happy-notice li {
  position: relative;
  list-style: none;
  line-height: 27px;
}
#happy-event .happy-notice li:before {
  content: "·";
  position: absolute;
  left: -10px;
}
#happy-event .happy-notice b {
  color: #333;
}
#happy-event #happy-comments-heading {
  margin: 56px 0 14px !important;
}
#happy-event .happy-center {
  font-size: 18px;
  line-height: 25px;
  margin: 0 0 26px;
}
#happy-event .happy-compose {
  height: 132px;
  min-height: 132px;
  align-items: stretch;
}
#happy-event .happy-upload {
  width: 175px;
  flex: 0 0 22.4%;
  height: 132px;
}
#happy-event #happy-upload-label {
  gap: 5px;
  font-size: 14px;
}
#happy-event .happy-write {
  padding: 16px 5px 5px 20px;
}
#happy-event .happy-write textarea {
  font:
          400 16px/24px HappySUIT,
          sans-serif;
  height: 75px;
  min-height: 0;
}
#happy-event .happy-review {
  margin-top: 24px;
}
#happy-event .happy-review-meta {
  font-size: 16px;
  margin-bottom: 12px;
}
#happy-event .happy-review-meta time {
  font-size: 14px;
}
#happy-event .happy-review-text,
#happy-event .happy-review-textarea {
  font:
          400 16px/24px HappySUIT,
          sans-serif;
  letter-spacing: -0.025em;
}
#happy-event .happy-review.is-public {
  margin-top: 28px;
  padding-bottom: 0;
}
#happy-event .happy-review.is-public .happy-review-meta {
  margin: 5px 0 15px;
}
#happy-event .happy-pagination {
  margin: 26px 0 0;
  gap: 5px;
}
#happy-event .happy-pagination button {
  height: 38px;
  min-width: 37px;
  font-family: HappySUIT, sans-serif;
  font-size: 16px;
}
@media (max-width: 767px) {
  #happy-event .happy-paper {
    padding: 42px 5.2632% 42px;
  }
  #happy-event .happy-intro > p:first-of-type {
    font-size: 13px;
    line-height: 20px;
  }
  #happy-event .happy-intro h2 {
    margin: 12px auto 14px;
    width: 75%;
  }
  #happy-event .happy-intro-star.is-left {
    width: 11%;
    top: 19px;
    left: 0;
  }
  #happy-event .happy-intro-star.is-right {
    width: 10%;
    top: 45px;
    right: 0;
  }
  #happy-event .happy-intro > p:nth-of-type(2) {
    font-size: 13px;
    line-height: 23px;
  }
  #happy-event .happy-intro > p:nth-of-type(2) b {
    font-size: 19px;
  }
  #happy-event .happy-intro > p:nth-of-type(3) {
    font-size: 12px;
    line-height: 20px;
  }
  #happy-event .happy-heading {
    margin-top: 28px !important;
  }
  #happy-event .happy-guide {
    padding: 0 4px;
  }
  #happy-event .happy-guide h3 img {
    width: 74px;
    height: auto;
  }
  #happy-event #happy-manual img {
    width: 180px;
    height: auto;
  }
  #happy-event .happy-guide ol {
    margin: 10px 0 22px;
  }
  #happy-event .happy-guide li {
    font-size: 12px;
    line-height: 21px;
    padding-left: 19px;
  }
  #happy-event .happy-gift {
    margin: 24px 0;
    padding: 18px 12px;
    gap: 12px;
    min-height: 0;
    font-size: 12px;
    line-height: 20px;
  }
  #happy-event .happy-gift img {
    width: 55px;
  }
  #happy-event .happy-notice {
    padding: 28px 17px 22px;
    font-size: 12px;
    line-height: 21px;
  }
  #happy-event .happy-notice h3 {
    font-size: 13px !important;
    margin: 12px 0 4px !important;
  }
  #happy-event .happy-notice li {
    line-height: 21px;
  }
  #happy-event #happy-comments-heading {
    margin-top: 30px !important;
  }
  #happy-event .happy-center {
    font-size: 12px;
    line-height: 19px;
    margin-bottom: 18px;
  }
  #happy-event .happy-pagination {
    gap: 3px;
  }
  #happy-event .happy-pagination button {
    min-width: 24px;
    height: 29px;
    font-size: 12px;
  }
}
/* 팝업 배경 */
@font-face {
  font-family: HappyPaper;
  src: url("../fonts/happy/Paperlogy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
#happy-event .happy-guide li:nth-child(1):before {
  content: "①";
}
#happy-event .happy-guide li:nth-child(2):before {
  content: "②";
}
#happy-event .happy-guide li:nth-child(3):before {
  content: "③";
}
#happy-event .happy-guide li:nth-child(4):before {
  content: "④";
}
#happy-event .happy-guide li:nth-child(5):before {
  content: "⑤";
}
#happy-dialog:not([data-view="intro"]) .happy-modal {
  container-type: inline-size;
  aspect-ratio: 1166/640;
  min-height: 0;
  padding: 0;
  background: url("../images/happy/popup-background.png") center/100% 100% no-repeat;
}
#happy-dialog:not([data-view="intro"]) .happy-modal:before,
#happy-dialog:not([data-view="intro"]) .happy-modal:after {
  display: none;
}
#happy-dialog:not([data-view="intro"]) .happy-modal-nav {
  inset: 9.22% 2.74% auto 3.69%;
}
#happy-dialog:not([data-view="intro"]) .happy-modal-nav #happy-back {
  width: 8.4cqw;
}
#happy-dialog:not([data-view="intro"]) .happy-modal-nav #happy-home {
  width: 6.17cqw;
}
#happy-dialog:not([data-view="intro"]) .happy-modal-nav #happy-close {
  top: -6.6cqw;
  right: -4cqw;
}
#happy-dialog:not([data-view="intro"]) #happy-modal-title {
  position: absolute;
  left: 31.82%;
  top: 9.69%;
  width: 34.48%;
  max-width: none;
  height: auto;
  margin: 0 !important;
  filter: none;
  line-height: 0;
}
#happy-dialog:not([data-view="intro"]) #happy-modal-title img {
  display: block;
  filter: none;
  height: auto;
}
#happy-dialog:not([data-view="intro"]) #happy-stage,
#happy-dialog:not([data-view="intro"]) .happy-panel {
  position: absolute;
  inset: 0;
}
#happy-dialog:not([data-view="intro"]) .happy-book {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  box-shadow: none;
  background: none;
  border: 0;
}
#happy-dialog:not([data-view="intro"]) .happy-book:before,
#happy-dialog:not([data-view="intro"]) .happy-book:after {
  display: none;
}
#happy-dialog .happy-round {
  position: absolute;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/happy/round-frame.png") center/100% 100% no-repeat;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font:
          700 2.4cqw/1 HappySUIT,
          sans-serif;
  z-index: 2;
}
#happy-dialog .happy-choice {
  position: absolute;
  left: 11.92%;
  top: 29.22%;
  width: 33.79%;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
  border: 0;
  border-radius: 0 !important;
}
#happy-dialog .happy-choice:nth-child(2) {
  left: 52.4%;
  width: 34.82%;
  transform: none;
}
#happy-dialog .happy-choice:before,
#happy-dialog .happy-choice:after {
  display: none;
}
#happy-dialog .happy-winner-page {
  position: absolute;
  left: 18.61%;
  top: 16.09%;
  width: 23.76%;
  text-align: center;
}
#happy-dialog .happy-winner-page > img {
  width: 100%;
  max-width: none;
  display: block;
}
#happy-dialog #happy-winner {
  display: block;
  width: 100%;
  height: 27cqw;
  margin: 2.4cqw auto 0;
  object-fit: contain;
  object-position: center;
}
#happy-dialog .happy-rank-page {
  position: absolute;
  left: 54.37%;
  top: 14.22%;
  width: 30.7%;
  height: 100%; /* @note 2026-10-23 */
  text-align: left;
}
#happy-dialog .happy-rank-page h3 {
  margin: 0 0 2cqw;
  padding: 0;
  line-height: 0;
  background: none;
}
#happy-dialog .happy-rank-page h3 img {
  display: block;
  width: 100%;
}
/* @note 2026-10-23 */
#happy-dialog .happy-ranking {
  margin: 0;
  padding: 0;
  max-height: 58%;
  overflow-y: scroll;
  padding-bottom: 50px;
  counter-reset: rank;
}
/* //@note 2026-10-23 */
#happy-dialog .happy-ranking li {
  font:
          500 1.89cqw/1.4 HappySUIT,
          sans-serif !important;
  margin: 0 0 1.7cqw !important;
  padding: 0 !important;
  list-style: none;
}
#happy-dialog .happy-ranking li:before {
  counter-increment: rank;
  content: counter(rank) ". ";
  position: static;
  background: none;
  color: inherit;
  display: inline;
  font: inherit;
}
#happy-dialog .happy-ranking li div {
  margin-top: 0.6cqw;
  display: flex;
  gap: 0.7cqw;
  align-items: center;
  background: none;
}
#happy-dialog .happy-ranking i {
  height: 1.63cqw;
  display: block;
  flex: 0 0 82%;
  border-radius: 2cqw;
  background: linear-gradient(to right, #034bed var(--rate), #ddd var(--rate));
}
#happy-dialog .happy-ranking span {
  font-size: 1.5cqw;
}
#happy-dialog .happy-survey-box {
  position: absolute;
  left: 21.78%;
  top: 23.91%;
  width: 56.86%;
  max-width: none;
  height: 50.47%;
  margin: 0;
  padding: 5.3cqw 1cqw 1cqw;
  box-shadow: none;
  background: none;
  border-radius: 0;
}
#happy-dialog .happy-survey-box > img {
  position: absolute;
  left: 22%;
  top: -7.12%;
  width: 58.22%;
  height: auto;
}
#happy-dialog .happy-survey-box p {
  font:
          500 2.06cqw/1.6 HappySUIT,
          sans-serif;
  margin: 0 0 1.3cqw;
  letter-spacing: -0.035em;
}
#happy-dialog .happy-survey-book .happy-large-button {
  position: absolute;
  left: 33.36%;
  top: 78.75%;
  width: 35.76%;
  height: auto;
  margin: 0;
  padding: 0 !important;
  min-width: 0;
  background: none !important;
  border: 0;
  box-shadow: none;
  line-height: 0;
}
#happy-dialog #happy-survey-link img {
  width: 100%;
  display: block;
}
@media (max-width: 767px) {
  #happy-dialog:not([data-view="intro"]) {
    padding: 7px !important;
  }
  #happy-dialog:not([data-view="intro"]) .happy-modal-nav #happy-close {
    width: 25px;
    height: 28px;
    font-size: 24px;
    top: -27px;
    right: -12px;
  }
}
#happy-dialog .happy-survey-box > img {
  transform: none;
}
#happy-dialog .happy-rank-page h3 {
  border: 0 !important;
  box-shadow: none !important;
}
#happy-dialog .happy-choice {
  margin: 0;
}
#happy-dialog .happy-choice:first-child:before,
#happy-dialog .happy-choice:first-child:after,
#happy-dialog .happy-choice:nth-child(2):before,
#happy-dialog .happy-choice:nth-child(2):after {
  display: none;
}
#happy-event .happy-gift {
  background: url("../images/happy/gift-background.png") center/100% 100% no-repeat;
}
#happy-event .happy-gift b {
  background: none;
  color: #034bed;
}
#happy-event .happy-write textarea {
  resize: none;
}
#happy-dialog .happy-round {
  left: 38.94%;
  top: 21.41%;
  width: 22.13%;
  height: 9.375%;
}
#happy-event .happy-notice {
  background:
          url("../images/happy/notice-top.png") top center / 100% auto no-repeat,
          url("../images/happy/notice-bottom.png") bottom center / 100% auto no-repeat,
          url("../images/happy/notice-middle.png") center / 100% 1px repeat-y;
}
/* 팝업 닫기 */
#happy-dialog {
  width: calc(100% - 100px);
  overflow: visible;
}
#happy-dialog > #happy-close {
  position: absolute;
  top: 0;
  right: -40px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 24px 24px 0;
  background: #034bed;
  color: #fff;
  box-shadow: none;
  font:
          36px/1 Arial,
          sans-serif;
  cursor: pointer;
}
#happy-dialog > #happy-close:focus-visible {
  outline: 3px solid #ff46cf;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  #happy-dialog,
  #happy-dialog[data-view="intro"] {
    width: calc(100% - 64px);
  }
  #happy-dialog > #happy-close {
    right: -30px;
    width: 30px;
    height: 34px;
    font-size: 28px;
  }
}
/* 만족도 조사 버튼 */
#happy-dialog .happy-survey-book #happy-survey-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  aspect-ratio: 417 / 46;
  background: url("../images/happy/button-survey-background.png") center / 100% 100% no-repeat !important;
  color: #fff;
  font:
          700 1.8cqw/1 HappySUIT,
          sans-serif !important;
  white-space: nowrap;
}
/* 모바일 댓글 카드 */
@media (max-width: 767px) {
  #happy-event .happy-compose {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  #happy-event .happy-upload {
    width: 100%;
    height: 144px;
    min-height: 144px;
    flex: none;
  }
  #happy-event .happy-upload #happy-photo-preview {
    width: 100%;
    height: 144px;
    object-fit: contain;
  }
  #happy-event #happy-upload-label {
    gap: 8px;
    font-size: 12px;
  }
  #happy-event .happy-upload #happy-upload-label .happy-upload-icon {
    width: 44px;
    height: 44px;
  }
  #happy-event .happy-write {
    width: 100%;
    padding: 14px;
  }
  #happy-event .happy-write textarea {
    display: block;
    height: 110px;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
  }
  #happy-event .happy-review-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: 9px;
    background: #f6f6f6;
  }
  #happy-event .happy-review-photo {
    width: 100%;
    aspect-ratio: 175 / 132;
  }
  #happy-event .happy-review-thumbnail {
    border-radius: 0;
  }
  #happy-event .happy-review-photo-change {
    right: 10px;
    bottom: 10px;
    width: 32px;
    height: 32px;
  }
  #happy-event .happy-review-content,
  #happy-event .happy-review.is-owner .happy-review-content {
    width: 100%;
    padding: 14px;
    border-radius: 0;
  }
  #happy-event .happy-review.is-owner .happy-review-content:before {
    display: none;
  }
  #happy-event .happy-review-text,
  #happy-event .happy-review-textarea {
    font-size: 14px;
    line-height: 22px;
  }
  #happy-event .happy-review-textarea {
    height: 132px;
  }
  #happy-event .happy-review-tools {
    padding-top: 16px;
    font-size: 12px;
    gap: 10px;
  }
  #happy-event .happy-review-actions {
    gap: 5px;
  }
  #happy-event .happy-review-meta {
    flex-wrap: wrap;
    font-size: 12px;
    row-gap: 4px;
  }
  #happy-event .happy-review-meta time {
    margin-left: auto;
    font-size: 11px;
  }
  #happy-event .happy-review.is-public {
    border-bottom: 0;
  }
  #happy-event .happy-review.is-public .happy-review-meta {
    margin: 0 0 12px;
  }
}
.happy-layer-object {
  pointer-events: none;
}
@media (min-width: 768px) {
  #happy-event .happy-hero-original {
    container-type: inline-size;
  }
  #happy-dialog .happy-layer-object {
    position: absolute;
    display: block;
    height: auto;
    max-width: none;
  }
  #happy-dialog .happy-panel {
    isolation: isolate;
  }
  #happy-dialog .happy-layer-object {
    z-index: 0;
  }
  #happy-dialog .happy-book {
    z-index: 1;
  }
  #happy-event .happy-hero-original .happy-hero-start {
    left: 75.18878%;
    top: 66.4903%;
    width: 17.36785%;
  }
  #happy-event .happy-hero-original .happy-hero-survey {
    left: 7.11974%;
    top: 17.81305%;
    width: 11.97411%;
  }
  #happy-dialog .layer-intro-title {
    left: 21.52951%;
    top: 26.9514%;
    width: 57.02411%;
  }
  #happy-dialog .happy-intro-start {
    left: 29.42643%;
    top: 72.75405%;
    width: 42.64339%;
  }
}
/* 분리형 팝업 */
.happy-survey-smile {
  display: inline-block;
  width: 25px;
  height: 24px;
  vertical-align: middle;
}
@media (min-width: 768px) {
  #happy-dialog[data-view="intro"] {
    aspect-ratio: 1203 / 679;
  }
  #happy-dialog[data-view="intro"] .happy-modal {
    position: relative;
    padding: 0;
    min-height: 0;
    background: none;
  }
  #happy-dialog[data-view="intro"] .happy-modal-nav {
    inset: 0;
    height: 100%;
  }
  #happy-dialog[data-view="intro"] .happy-modal-nav button:not(#happy-close) {
    position: absolute;
    opacity: 1;
    margin: 0;
  }
  #happy-dialog[data-view="intro"] #happy-back {
    left: 4.32%;
    top: 14.43%;
    width: 10.72%;
  }
  #happy-dialog[data-view="intro"] #happy-home {
    left: 86.53%;
    top: 10.31%;
    width: 8.15%;
  }
  #happy-dialog .happy-intro-start {
    height: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    line-height: 0;
    z-index: 2;
  }
  #happy-dialog .happy-intro-start > img {
    display: block;
    width: 100%;
    height: auto;
  }
  #happy-dialog:not([data-view="intro"]) .happy-modal {
    background-image: url("../images/happy/popup-background.png");
  }
  #happy-dialog .happy-survey-box {
    background: url("../images/happy/survey-panel.png") center / 100% 100% no-repeat;
  }
  #happy-dialog #happy-modal-title img,
  #happy-dialog .happy-survey-box > img {
    filter: drop-shadow(2px 3px 2px #0003);
  }
  #happy-dialog .happy-choice,
  #happy-dialog .happy-choice:nth-child(2) {
    height: 62.34%;
    background: none;
    box-shadow: none;
  }
}
@media (max-width: 767px) {
  #happy-event #happy-dialog .happy-layer-object,
  #happy-dialog .happy-desktop-object {
    display: none !important;
  }
  #happy-dialog .happy-survey-box .happy-survey-smile {
    position: static;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0;
    transform: none;
  }
}
@media (min-width: 768px) {
  #happy-dialog .happy-survey-box > img {
    left: 20.5%;
    top: -10.2%;
    width: 61.24%;
    filter: none;
  }
}
/* 메인 이미지 */
#happy-event .happy-hero-picture,
#happy-event .happy-hero-background {
  display: block;
  width: 100%;
}
#happy-event .happy-hero-background {
  height: auto;
}
.happy-mobile-only {
  display: none;
}
@media (max-width: 767px) {
  .happy-mobile-only {
    display: block;
  }
  /* 모바일 시작 화면 */
  #happy-event .happy-hero-original {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: calc(100% - 24px);
    margin: 12px;
    padding: 34px 18px 22px;
    background:
            url("../images/happy/mobile-binding.png") top left / auto 26px repeat-x,
            url("../images/happy/mobile-grid.png") top left / 18px 18px repeat;
    line-height: 1.5;
    text-align: center;
  }
  #happy-event .happy-hero-original > img {
    display: none;
  }
  .happy-mobile-mascots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 18px 0;
  }
  #happy-event .happy-mobile-mascots img,
  #happy-dialog .happy-mobile-mascots img {
    width: 100px;
    height: 95px;
    object-fit: contain;
  }
  #happy-event .happy-hero-original .happy-hero-start,
  #happy-event .happy-hero-original .happy-hero-survey {
    position: static;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border-radius: 24px;
    background: #034bed;
    color: #fff;
    font:
            700 17px/24px HappySUIT,
            sans-serif;
  }
  #happy-event .happy-hero-original .happy-hero-start {
    order: 1;
  }
  #happy-event .happy-hero-original .happy-hero-survey {
    order: 2;
    background: #fff;
    color: #034bed;
    border: 1px solid #034bed;
    font-size: 15px;
  }
  #happy-event .happy-hero-original button > img {
    display: none;
  }
  /* 모바일 공통 팝업 */
  #happy-dialog[data-view] {
    inset: 0 !important;
    width: calc(100% - 32px) !important;
    max-width: 480px;
    height: min(740px, 88dvh);
    max-height: calc(100dvh - 48px);
    margin: auto !important;
    padding: 56px 0 0 !important;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 12px;
    background: #082578;
  }
  #happy-dialog[data-view] .happy-modal {
    position: static;
    container-type: normal;
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: 24px 14px;
    aspect-ratio: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
            url("../images/happy/mobile-binding.png") left top / auto 24px repeat-x,
            url("../images/happy/mobile-grid.png") top left / 18px 18px repeat;
  }
  #happy-dialog[data-view] .happy-modal:before,
  #happy-dialog[data-view] .happy-modal:after {
    display: none;
  }
  #happy-dialog[data-view] .happy-modal-nav {
    position: absolute;
    inset: 0 0 auto;
    height: 56px;
    padding: 6px 60px 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #082578;
    z-index: 5;
  }
  #happy-dialog[data-view] .happy-modal-nav #happy-back,
  #happy-dialog[data-view] .happy-modal-nav #happy-home {
    width: auto;
    height: 44px;
    padding: 0 12px;
    opacity: 1;
    color: #fff;
    font:
            700 15px/44px HappySUIT,
            sans-serif;
  }
  #happy-dialog[data-view] .happy-modal-nav #happy-home {
    margin-left: auto;
  }
  #happy-dialog[data-view] .happy-modal-nav [hidden] {
    display: none !important;
  }
  #happy-dialog[data-view] .happy-modal-nav img {
    display: none;
  }
  #happy-dialog[data-view] > #happy-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 32px;
  }
  #happy-dialog[data-view] #happy-stage,
  #happy-dialog[data-view] .happy-panel {
    position: static;
    inset: auto;
    width: 100%;
  }
  #happy-dialog[data-view] #happy-modal-title {
    position: static;
    width: min(100%, 340px);
    max-width: none;
    height: auto;
    margin: 12px auto 16px !important;
  }
  #happy-dialog[data-view] #happy-modal-title[hidden] {
    display: none;
  }
  #happy-dialog[data-view] .happy-book {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }
  /* 게임 시작 */
  #happy-dialog[data-view] .happy-intro-art {
    display: none;
  }
  #happy-dialog .happy-mobile-intro {
    text-align: center;
    padding: 32px 0 16px;
  }
  #happy-dialog .happy-mobile-intro > img {
    width: min(100%, 340px);
  }
  #happy-dialog .happy-mobile-intro .happy-mobile-mascots {
    margin: 36px 0;
  }
  #happy-dialog .happy-mobile-intro p {
    font:
            600 17px/1.7 HappySUIT,
            sans-serif;
  }
  #happy-dialog[data-view] .happy-intro-start {
    position: static;
    width: 100%;
    height: auto;
    min-height: 52px;
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 28px;
    background: #034bed;
    color: #fff;
    font:
            700 18px/24px HappySUIT,
            sans-serif;
  }
  /* 선택 카드 */
  #happy-dialog[data-view] .happy-round {
    position: static;
    width: 190px;
    height: 44px;
    margin: 0 auto 12px;
    font:
            700 20px/1 HappySUIT,
            sans-serif;
  }
  #happy-dialog[data-view] .happy-choice,
  #happy-dialog[data-view] .happy-choice:nth-child(2) {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin: 0;
    border: 2px solid #fa48d6;
    border-radius: 16px !important;
    background: #fff;
    transform: none;
    box-shadow: 0 3px 0 #00000012;
  }
  #happy-dialog[data-view] .happy-choice:nth-child(2) {
    border-color: #034bed;
  }
  #happy-dialog[data-view] .happy-game-hint {
    display: block;
    margin: 14px 0 0;
    font:
            500 14px/1.6 HappySUIT,
            sans-serif;
  }
  /* 결과 */
  #happy-dialog[data-view] .happy-winner-page,
  #happy-dialog[data-view] .happy-rank-page {
    position: static;
    width: 100%;
    padding: 24px 18px;
    background: #fff;
    border-radius: 16px;
  }
  #happy-dialog[data-view] .happy-winner-page > img {
    max-width: 277px;
    margin: 0 auto;
  }
  #happy-dialog[data-view] #happy-winner {
    width: 100%;
    max-width: 277px;
    height: auto;
    aspect-ratio: 334 / 380;
    margin: 20px auto 0;
    object-fit: contain;
  }
  #happy-dialog[data-view] .happy-rank-page h3 {
    margin: 0 0 24px;
  }
  #happy-dialog[data-view] .happy-ranking li {
    font:
            500 16px/1.5 HappySUIT,
            sans-serif !important;
    margin: 0 0 20px !important;
  }
  #happy-dialog[data-view] .happy-ranking li div {
    margin-top: 8px;
    gap: 8px;
  }
  #happy-dialog[data-view] .happy-ranking i {
    height: 14px;
    border-radius: 7px;
    flex-basis: 78%;
  }
  #happy-dialog[data-view] .happy-ranking span {
    font-size: 15px;
  }
  /* 만족도 조사 */
  #happy-dialog[data-view] .happy-survey-box {
    position: static;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 24px 18px;
    margin: 12px 0 0;
    background: #fff;
    border-radius: 16px;
  }
  #happy-dialog[data-view] .happy-survey-box > img {
    position: static;
    width: 100%;
    max-width: 386px;
    height: auto;
    transform: none;
    margin: 0 auto 28px;
  }
  #happy-dialog[data-view] .happy-survey-box p {
    margin: 0 0 22px;
    font:
            500 17px/1.75 HappySUIT,
            sans-serif;
    word-break: keep-all;
  }
  #happy-dialog[data-view] .happy-survey-box p:last-child {
    margin-bottom: 0;
  }
  #happy-dialog[data-view] .happy-survey-box br {
    display: none;
  }
  #happy-dialog[data-view] .happy-survey-book #happy-survey-link {
    position: static;
    width: 100%;
    min-height: 52px;
    height: auto;
    aspect-ratio: auto;
    margin: 4px 0 0;
    padding: 14px 12px !important;
    background: #034bed !important;
    border-radius: 28px;
    gap: 12px;
    font:
            700 16px/24px HappySUIT,
            sans-serif !important;
  }
}
@media (max-width: 767px) {
  #happy-dialog[data-view="intro"] .happy-modal-nav button:not(#happy-close) {
    opacity: 1;
  }
}
@media (min-width: 768px) {
  #happy-event .happy-mobile-only,
  #happy-dialog .happy-mobile-only {
    display: none !important;
  }
}
/* 댓글 사진 변경 */
#happy-event .happy-review-photo-change {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: transparent;
  z-index: 1;
}
#happy-event .happy-review-photo-change > img {
  position: absolute;
  right: 0;
  bottom: 0;
  box-sizing: content-box;
  width: 21px;
  height: 20px;
  padding: 5px;
  border-radius: 50%;
  pointer-events: none;
}
#happy-event .happy-review-photo-change[hidden] {
  display: none;
}
/* 참여 방법 */
#happy-event .happy-guide h3.happy-guide-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: #ffdf00;
  color: #111;
  font:
          700 20px/1 HappySUIT,
          sans-serif;
  line-height: 1 !important;
}
#happy-event #happy-manual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 7px 18px;
  border: 0;
  border-radius: 24px;
  background: #034bed;
  color: white;
  font:
          600 17px/1.4 HappySUIT,
          sans-serif;
  cursor: pointer;
}
#happy-event #happy-manual img {
  flex: 0 0 15px;
  width: 15px;
  height: 17px;
}
/* 댓글 사진 변경 */
#happy-event .happy-review-photo-change::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 31px;
  height: 30px;
  border-radius: 50%;
  background: #000b;
  pointer-events: none;
}
#happy-event .happy-review-photo-change > img {
  background: transparent;
  filter: brightness(0) invert(1);
  z-index: 1;
}
#happy-event .happy-review-photo-change input {
  z-index: 2;
}
/* 팝업 배경 */
@media (min-width: 768px) {
  #happy-dialog[data-view="match"] .happy-modal {
    background-image: url("../images/happy/match-background.png");
  }
  #happy-dialog[data-view="result"] .happy-modal,
  #happy-dialog[data-view="survey"] .happy-modal {
    background-image: url("../images/happy/result-background.png");
  }
}
/* 선택지 */
#happy-dialog[data-view] .happy-choice,
#happy-dialog[data-view] .happy-choice:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 64%;
  padding: 0 8px 8px;
  overflow: hidden;
  border: 2px solid #fa48d6;
  border-radius: 10px !important;
  background: white;
  box-sizing: border-box;
}
#happy-dialog[data-view] .happy-choice:nth-child(2) {
  border-color: #034bed;
}
#happy-dialog[data-view] .happy-choice > .happy-option-image {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 0;
  min-height: 0;
  max-width: 334px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  transform: none;
}
@media (max-width: 767px) {
  #happy-event #happy-manual {
    max-width: 100%;
    margin: 10px 0 0;
    font-size: 15px;
    padding: 8px 12px;
  }
  #happy-dialog[data-view] .happy-choice,
  #happy-dialog[data-view] .happy-choice:nth-child(2) {
    height: auto;
    min-height: 0;
  }
  #happy-dialog[data-view] .happy-choice > .happy-option-image {
    flex: none;
    height: auto;
    aspect-ratio: 334 / 400;
  }
}
#happy-event .happy-guide h3.happy-guide-label {
  width: 106px !important;
  height: 39px !important;
  font-size: 20px !important;
}
@media (max-width: 767px) {
  #happy-event .happy-guide h3.happy-guide-label {
    width: 74px !important;
    height: 28px !important;
    font-size: 15px !important;
  }
  #happy-event #happy-manual {
    display: flex;
    width: fit-content;
  }
}
/* 공통 팝업 이동 버튼 */
#happy-dialog .happy-modal-nav #happy-back,
#happy-dialog .happy-modal-nav #happy-home {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  line-height: 0;
}
#happy-dialog .happy-modal-nav #happy-back img,
#happy-dialog .happy-modal-nav #happy-home img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}
/* PSD 2 화면 */
@media (min-width: 768px) {
  #happy-dialog[data-view="match"],
  #happy-dialog[data-view="match"] .happy-modal {
    aspect-ratio: 1203 / 679;
  }
  #happy-dialog[data-view="match"] .happy-modal-nav {
    inset: 0;
    height: 100%;
    pointer-events: none;
  }
  #happy-dialog[data-view="match"] .happy-modal-nav button {
    position: absolute;
    pointer-events: auto;
  }
  #happy-dialog[data-view="match"] #happy-back {
    left: 5.1538%;
    top: 12.0766%;
    width: 8.1463%;
  }
  #happy-dialog[data-view="match"] #happy-home {
    left: 89.8587%;
    top: 11.782%;
    width: 5.985%;
    margin: 0;
  }
  #happy-dialog[data-view="match"] #happy-modal-title {
    left: 32.1696%;
    top: 12.0766%;
    width: 33.749%;
  }
  #happy-dialog[data-view="match"] .happy-round {
    left: 39.9002%;
    top: 23.8586%;
    width: 20.2826%;
    height: 7.511%;
    font-size: 2.2cqw;
  }
  #happy-dialog[data-view="match"] .happy-choice,
  #happy-dialog[data-view="match"] .happy-choice:nth-child(2) {
    position: absolute;
    left: 14.3807%;
    top: 30.6333%;
    width: 30.7564%;
    height: 60.383%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  #happy-dialog[data-view="match"] .happy-choice > .happy-option-image {
    position: absolute;
    left: 12.1622%;
    top: 19.7561%;
    width: 75.6757%;
    height: 76.8293%;
    max-width: none;
    flex: none;
  }
  #happy-dialog[data-view="match"] .happy-choice:nth-child(2) > .happy-option-image {
    top: 21.7073%;
    height: 73.1707%;
  }
}
@media (max-width: 767px) {
  #happy-dialog[data-view] .happy-modal-nav #happy-back {
    width: 64px;
    height: 44px;
    padding: 0;
  }
  #happy-dialog[data-view] .happy-modal-nav #happy-home {
    width: 40px;
    height: 44px;
    padding: 0;
  }
  #happy-dialog[data-view] .happy-modal-nav #happy-back img,
  #happy-dialog[data-view] .happy-modal-nav #happy-home img {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 768px) {
  #happy-dialog[data-view="match"] {
    padding: 0 !important;
  }
}
/* 선택 카드 배경과 선택지 */
#happy-dialog[data-view="match"] .happy-choice,
#happy-dialog[data-view="match"] .happy-choice:nth-child(2) {
  display: block;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#happy-dialog[data-view="match"] .happy-choice > .happy-choice-background {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  transform: none;
  pointer-events: none;
}
#happy-dialog[data-view="match"] .happy-choice > .happy-option-image,
#happy-dialog[data-view="match"] .happy-choice:nth-child(2) > .happy-option-image {
  position: absolute;
  display: block;
  left: 14.646465%;
  top: 24.216524%;
  width: 70.707071%;
  height: 90.598291%;
  max-width: none;
  margin: 0;
  padding: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  pointer-events: auto;
}
#happy-dialog[data-view="match"] .happy-choice:nth-child(2) > .happy-option-image {
  left: 18.313253%;
  top: 24.216524%;
  width: 67.46988%;
  height: 90.598291%;
}
@media (min-width: 768px) {
  #happy-dialog[data-view="match"] .happy-choice {
    left: 13.3001%;
    top: 30.6333%;
    width: 32.917706%;
  }
  #happy-dialog[data-view="match"] .happy-choice:nth-child(2) {
    left: 52.3691%;
    top: 30.6333%;
    width: 34.497091%;
  }
}
@media (max-width: 767px) {
  #happy-dialog[data-view="match"] .happy-choice,
  #happy-dialog[data-view="match"] .happy-choice:nth-child(2) {
    margin-bottom: 14%;
  }
}
