* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #111;
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

input,
button {
  font: inherit;
}

.news-header {
  border-bottom: 1px solid #d8d8d8;
  background: #fff;
}

.top-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 16px 10px;
  color: #777;
  font-size: 13px;
}

.logo {
  padding: 12px 16px 18px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 800;
}

.nav {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #222;
}

.nav ul {
  display: flex;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav li {
  padding: 14px 18px;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav li.active {
  color: #d71920;
}

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 680px) 260px;
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 16px 90px;
}

.category {
  margin-bottom: 12px;
  color: #d71920;
  font-size: 16px;
  font-weight: 800;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 6vw, 45px);
  line-height: 1.24;
}

.subtitle {
  margin: 0 0 18px;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 0 18px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #ddd;
  color: #777;
  font-size: 14px;
}

.share-row {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.share-row button {
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  font-weight: 800;
}

.hero-img {
  margin: 20px 0 10px;
  border: 1px solid #ddd;
  background: #f7f7f7;
}

.caption {
  margin: 8px 0 28px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.article p {
  margin: 0 0 22px;
  color: #252525;
  font-size: 18px;
  line-height: 1.88;
}

.article strong {
  color: #d71920;
  font-weight: 800;
}

.pullquote {
  margin: 34px 0;
  padding: 22px 24px;
  border-top: 3px solid #111;
  border-bottom: 1px solid #d8d8d8;
  color: #111;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  background: #fafafa;
}

.article h2 {
  margin: 38px 0 14px;
  padding-left: 13px;
  border-left: 5px solid #d71920;
  font-size: 25px;
  line-height: 1.35;
}

.check-list {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid #ddd;
  background: #fafafa;
}

.check-list div {
  position: relative;
  padding-left: 25px;
  color: #222;
  font-size: 17px;
  line-height: 1.7;
}

.check-list div + div {
  margin-top: 10px;
}

.check-list div::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d71920;
}

.db-box {
  margin: 36px 0;
  border: 8px solid #d71920;
  background: #fff;
  text-align: center;
}

.db-head {
  padding: 22px 18px;
  color: #fff;
  background: #d71920;
}

.db-head span {
  display: block;
  margin-bottom: 6px;
  color: #ffe082;
  font-size: 15px;
  font-weight: 800;
}

.db-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(25px, 6vw, 36px);
  line-height: 1.25;
}

.db-body {
  padding: 24px 18px 28px;
}

.draw-machine {
  width: 100%;
  max-width: 430px;
  margin: 0 auto 18px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  overflow: hidden;
}

.video-frame {
  margin-top: 20px;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: #000;
  object-fit: contain;
}

.video-frame::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(30%, 110px);
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.66));
  pointer-events: none;
}

.draw-dome {
  position: relative;
  width: 148px;
  height: 148px;
  margin: 0 auto;
  border: 9px solid #cbd5e1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 14%, #dbeafe 15% 52%, #eff6ff 53% 100%);
  box-shadow: inset 0 -16px 22px rgba(15, 23, 42, 0.12);
}

.mini-ball {
  position: absolute;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  animation: floatBall 1.6s ease-in-out infinite;
}

.mini-ball:nth-child(1) {
  top: 24px;
  left: 26px;
  background: #f1a800;
}

.mini-ball:nth-child(2) {
  top: 38px;
  right: 24px;
  background: #2877d8;
  animation-delay: 0.14s;
}

.mini-ball:nth-child(3) {
  right: 48px;
  bottom: 28px;
  background: #d71920;
  animation-delay: 0.28s;
}

.mini-ball:nth-child(4) {
  bottom: 24px;
  left: 42px;
  background: #22a447;
  animation-delay: 0.42s;
}

.draw-base {
  width: 218px;
  height: 38px;
  margin: -8px auto 0;
  border-radius: 18px 18px 8px 8px;
  background: #111827;
}

.draw-machine.is-drawing .draw-dome {
  animation: shakeMachine 0.16s linear infinite;
}

.draw-machine.is-drawing .mini-ball {
  animation-duration: 0.32s;
}

.adtive_pushCam_w .closeBtn {
  position: absolute;
  top: -1px;
  right: -1px;
  z-index: 1;
  width: 28px;
  height: 28px;
  padding: 8px;
  border: 0;
  text-align: center;
}

.number-btn {
  width: 90%;
  max-width: 430px;
  height: 54px;
  margin-bottom: 18px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
  background: #111;
}

.number-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.balls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  margin: 0 0 18px;
}

.video-frame .balls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  height: 18%;
  min-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.video-frame .balls:empty {
  display: none;
}

.ball {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
  box-shadow: none;
}

.video-frame .ball {
  position: absolute;
  width: clamp(34px, 8.5vw, 45px);
  height: clamp(34px, 8.5vw, 45px);
  font-size: clamp(14px, 3.8vw, 20px);
  animation: popBall 0.32s ease both;
  transform: translate(-50%, -50%);
  top: 31%;
  border: none;
  opacity: 0.82;
  filter: none;
}

.video-frame .ball.pending {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

.video-frame .ball:nth-child(1) {
  left: 14.4%;
}

.video-frame .ball:nth-child(2) {
  left: 25.4%;
}

.video-frame .ball:nth-child(3) {
  left: 36.3%;
}

.video-frame .ball:nth-child(4) {
  left: 47%;
}

.video-frame .ball:nth-child(5) {
  left: 57.5%;
}

.video-frame .ball:nth-child(6) {
  left: 68.4%;
}

.video-frame .ball:nth-child(7) {
  left: 83.6%;
  animation-delay: 0.3s;
  top: 36%;
}

.ball.locked span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ball.locked::before {
  content: "?";
}

.reveal-copy {
  margin: 0 auto 18px !important;
  max-width: 470px;
  color: #333;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  gap: 10px;
  max-width: 430px;
  margin: 0 auto;
  text-align: left;
}

.field-label {
  display: block;
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.form-grid input,
.form-grid select {
  width: 100%;
  height: 50px;
  margin-top: 7px;
  padding: 0 13px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  font-size: 17px;
}

.phone-field {
  padding: 0 5px;
  display: grid;
  grid-template-columns: 96px 12px 1fr 12px 1fr;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
}

.phone-field span {
  text-align: center;
}

.phone-field select,
.phone-field input {
  min-width: 0;
  margin-top: 0;
  text-align: center;
}

.phone-field select option {
  text-align: center;
  margin-right: 20px;
}

.agree {
  display: flex;
  align-items: center;
  /* gap: 7px; */
  margin: 4px 0 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -.3px;
  justify-content: center;
}

.agree input {
  width: 12px;
  height: 16px;
  margin-top: 1px;
}

.submit-btn {
  margin: 0 auto;
  width: 90%;
  height: 54px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
  background: #d71920;
  box-shadow: 0 8px 0 #8f0e13;
}

.note {
  margin: 18px auto 0 !important;
  max-width: 520px;
  color: #777;
  font-size: 13px;
  line-height: 1.55;
}

.comment-box {
  margin-top: 44px;
  border-top: 2px solid #111;
}

.comment-title {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
  font-weight: 800;
}

.comment {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.comment strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.comment p {
  margin: 0 0 8px;
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.comment span {
  color: #999;
  font-size: 13px;
}

.side {
  position: sticky;
  top: 20px;
  align-self: start;
}

.side-card {
  margin-bottom: 16px;
  border: 1px solid #ddd;
  background: #fff;
}

.side-title {
  padding: 11px 13px;
  border-bottom: 1px solid #ddd;
  font-weight: 900;
  background: #f5f5f5;
}

.rank-list {
  margin: 0;
  padding: 10px 14px 14px;
  list-style: none;
}

.rank-list li {
  display: flex;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}

.rank-list li:last-child {
  border-bottom: 0;
}

.rank-list b {
  color: #d71920;
}

.side-cta {
  padding: 16px;
  text-align: center;
}

.side-cta p {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.side-cta a {
  display: block;
  padding: 13px 10px;
  border-radius: 4px;
  color: #fff;
  font-weight: 900;
  background: #d71920;
}

.sticky-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  max-width: 540px;
  margin: 0 auto;
}

.sticky-cta a {
  display: block;
  padding: 16px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  background: #d71920;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

@keyframes floatBall {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -10px);
  }
}

@keyframes shakeMachine {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

@keyframes popBall {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px)) scale(0.78);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* 댓글 css 끝*/
#push_wrap .adtive_pushCam_w {
  width: 300px;
  border-radius: 17px;
  box-shadow: 0px 5px 12px 4px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.99);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #000;
  font-weight: normal;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  font-family: AppleSDGothicNeo-Regular, "DroidSans Fallback", "Malgun Gothic", "맑은 고딕", Dotum, "돋움", sans-serif;
  text-align: left;
  -webkit-text-size-adjust: none;
  word-break: break-all;
}
#push_wrap {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  right: 30px;
  top: 0;
  z-index: 999999999;
  transform: translateY(-120%);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
#push_wrap.on {
  visibility: visible;
  opacity: 1;
  transform: translateY(24px);
}
.adtive_pushCam_w dl dt,
.adtive_pushCam_w dl dd {
  float: none;
}
.adtive_pushCam_w .cam_inner {
  position: relative;
  padding: 17px 18px 26px !important;
}
.adtive_pushCam_w .cam_profile {
  margin: 0 20px 17px 56px;
  color: #010101;
  font-size: 13.5px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.adtive_pushCam_w .cam_tit {
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
  word-spacing: -1px;
  color: #333;
  font-size: 18.5px;
  font-weight: bold;
  line-height: 1.2;
}
.adtive_pushCam_w .cam_txt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.45em;
  color: #333;
  font-size: 14.5px;
  letter-spacing: 0;
}
.adtive_pushCam_w .cam_link {
  margin-top: 14px;
  text-align: center;
}
.adtive_pushCam_w .cam_link:after {
  content: "";
  display: block;
  clear: both;
}
.adtive_pushCam_w .linkBtn {
  display: inline-block;
  max-width: 100%;
  height: 37px;
  line-height: 36px;
  padding: 0 80px;
  border-radius: 3px;
  border: 1px solid #e4cb39;
  background: #f4d732;
  color: #303030;
  font-size: 14px;
  font-weight: bold;
  word-spacing: -1px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.adtive_pushCam_w .cam_link.division .linkBtn {
  float: left;
  max-width: 49%;
  width: 49%;
  padding: 0 3px;
}
.adtive_pushCam_w .cam_link.division .linkBtn:nth-child(2n) {
  margin-left: 2%;
}
.adtive_pushCam_w .cam_link.division .linkBtn:nth-child(2n + 1) {
  margin-top: 5px;
}
.adtive_pushCam_w .cam_link.division .linkBtn:nth-child(2n + 2) {
  margin-top: 5px;
}
.adtive_pushCam_w .cam_link.imgType .linkBtn {
  height: auto;
  line-height: 1.2;
  padding: 0 0;
  border: none;
  border-radius: 0;
  background: none;
}
.adtive_pushCam_w .cam_link.imgType .linkBtn img {
  max-width: 100%;
}

.adtive_pushCam_w .cam_thumb {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 52px;
  padding: 3px;
  overflow: hidden;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 1px 2px 3px 1px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.99);
  text-align: center;
}
.adtive_pushCam_w .cam_thumb img {
  width: 46px;
  border-radius: 13px;
}

.adtive_pushCam_w .closeBtn img {
  width: 11px;
}

.adtive_pushCam_w .cam_time {
  margin-left: 4px;
  color: rgba(0, 0, 0, 0.4);
  font-size: 12px;
}
.animate-up {
  animation: none;
}
@keyframes animateup {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(24px);
  }
}
.animate-down {
  bottom: -300px !important;
  position: relative;
  animation: animatedown 1s;
}
@keyframes animatedown {
  from {
    bottom: 0;
    opacity: 1;
  }
  to {
    bottom: -300px;
    opacity: 0;
  }
}

.adtive_pushCam_w .cam_profile {
  margin: 0 20px 17px 30px;
}
.adtive_pushCam_w .linkBtn {
  border: 1px solid #ffce4b;
  background: #ffce4b;
}
.adtive_pushCam_w .cam_thumb {
  overflow: hidden;
  left: -14px;
  border-radius: 15px;
}

#push_wrap .adtive_pushCam_w {
  width: min(360px, calc(100vw - 14px));
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.26);
  background: #ffffff;
  overflow: hidden;
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  word-break: keep-all;
}

#push_wrap .push_card {
  display: block;
  color: #111111;
}

#push_wrap .push_top {
  display: block;
  width: 100%;
  max-width: none;
}

#push_wrap .push_title,
#push_wrap .push_txt,
#push_wrap .push_btn {
  display: block;
}

#push_wrap .push_title {
  padding-top: 13px;
  font-size: 31px;
  font-weight: 600;
  line-height: 1.16;
}

#push_wrap .push_txt {
  margin-top: 8px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.22;
}

#push_wrap .push_btn {
  width: calc(100% - 22px);
  height: 43px;
  margin: 13px auto 11px;
  border: 1px solid #b9b9b9;
  border-radius: 6px;
  background: #f4f4f4;
  color: #111111;
  font-size: 23px;
  font-weight: 800;
  line-height: 41px;
}

@media (min-width: 861px) {
  .video-frame .ball {
    font-size: 18px;
  }
}

@media (max-width: 860px) {
  .wrap {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .side {
    display: none;
  }

  .sticky-cta {
    display: block;
  }
  .draw-machine {
    padding: 0;
    border: none;
    border-radius: 0;
  }
  .db-body {
    padding: 0 0 28px;
    border-radius: 0;
  }
  .video-frame {
    border-radius: 0;
  }
  .video-frame .balls {
    height: 18%;
  }
}

@media (max-width: 560px) {
  #push_wrap {
    right: auto;
    left: 50%;
    transform: translate(-50%, -120%);
  }

  #push_wrap.on {
    transform: translate(-50%, 16px);
  }

  #push_wrap .push_title {
    font-size: 28px;
  }

  #push_wrap .push_txt {
    font-size: 22px;
  }

  #push_wrap .push_btn {
    font-size: 21px;
  }

  .db-box {
    margin: 36px -16px;
  }
  .video-frame {
    margin-top: 0;
  }
  .form-grid input {
  }
  .top-line {
    font-size: 12px;
  }

  .nav ul {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav li {
    padding: 12px 13px;
    font-size: 14px;
  }

  .wrap {
    padding-top: 22px;
  }

  .subtitle,
  .article p {
    font-size: 16px;
  }

  .article p {
    line-height: 1.82;
  }

  .pullquote {
    font-size: 20px;
  }
}
