@charset "utf-8";
/* main.css — PC 레이아웃·이벤트 진행 화면·팝업 */

/* ==================== css/pc.css ==================== */
/* PC는 1920px 시안을 하나의 캔버스로 유지한다.
   브라우저 확대·축소(Ctrl/Cmd +/-) 시 레퍼런스(2026no1welchon)와 같이
   - 1920px 캔버스는 크기·배치를 바꾸지 않고 화면 가운데에 고정하고
   - 화면이 좁아지면(확대) 좌우를 가운데 기준으로 잘라 가로 스크롤을 만들지 않으며
   - 화면이 넓어지면(축소) 각 섹션 배경을 화면 끝까지 연장한다.
   모바일은 m/index.html의 별도 750px 캔버스를 사용한다. */
html[data-layout='pc'] {
  overflow-x: hidden;
}
html[data-layout='pc'] body {
  min-width: 0;
  background: #fff;
}
html[data-layout='pc'] #campaign {
  position: relative;
  left: 50%;
  width: 1920px;
  margin: 0 0 0 -960px;
  overflow: visible;
  background: #fff;
}
/* 1920px 밖(축소 시 좌우 여백)으로 섹션 배경을 연장한다. */
html[data-layout='pc'] #campaign > :is(section, footer) {
  isolation: isolate;
}
html[data-layout='pc'] #campaign > :is(section, footer)::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -2400px;
  right: -2400px;
  background: inherit;
  pointer-events: none;
}
html[data-layout='pc'] #campaign > :is(.promotion-section, .campaign-stats, .site-footer) {
  position: relative;
}
html[data-layout='pc'] #campaign > .products-section::before {
  background: linear-gradient(#dee9d2, #d1f3ab);
}
html[data-layout='pc'] .section-inner {
  width: 1400px;
  max-width: none;
}

/* 고정 1280px 퀴즈 콘텐츠 안에서는 시안의 1px이 항상 CSS 1px이다. */
.quiz-panel .browser-card {
  --quiz-unit: 1px;
}

/* Figma: 01·03·04 안내 라벨과 경품 카드의 PC 공통 치수. */
#event01 .heading-image,
#event02 .heading-image {
  margin-bottom: 20px;
}
:is(#event01, #event02, #event03, #event04) .event-meta {
  display: grid;
  grid-template-columns: 667px 542px;
  align-items: start;
  gap: 71px;
  width: 1280px;
  max-width: none;
  min-height: 389px;
  margin: 80px auto 104px;
  position: relative;
  left: -1px;
}
:is(#event01, #event02, #event03, #event04) .event-details {
  width: 667px;
  grid-template-rows: 63px 70px 216px;
  gap: 20px;
  color: #000;
  font-size: 28px;
  font-weight: 800;
  line-height: 43px;
  letter-spacing: -0.84px;
}
:is(#event01, #event02, #event03, #event04) .event-details > div {
  gap: 30px;
}
:is(#event01, #event02, #event03, #event04) .event-details > div:nth-child(-n + 2) {
  align-items: center;
}
:is(#event01, #event02, #event03, #event04) .event-details dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 169px;
  height: 63px;
  padding: 10px 16px;
  font-size: 28px;
  line-height: 43px;
  letter-spacing: 0;
}
:is(#event01, #event02, #event03, #event04) .event-details dt::before,
:is(#event01, #event02, #event03, #event04) .event-details dt::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  margin: 0;
  background: url('../img/figma/event-dot.svg') center / 10px 10px no-repeat;
}
:is(#event01, #event02, #event03, #event04) .event-details dd {
  margin: 0;
  line-height: 43px;
}
:is(#event01, #event02, #event03, #event04) .event-details dd small {
  margin-top: 1px;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.66px;
}
:is(#event01, #event02, #event03, #event04) .steps {
  gap: 12px;
}
:is(#event01, #event02, #event03, #event04) .steps li {
  gap: 16px;
  height: 45px;
  font-size: 28px;
  font-weight: 600;
  line-height: 43px;
  white-space: nowrap;
}
:is(#event01, #event02, #event03, #event04) .steps li span {
  padding: 0 12px;
  border-radius: 8px;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 43px;
  font-weight: 600;
  letter-spacing: 0;
}
:is(#event01, #event02, #event03, #event04) .prizes {
  gap: 10px;
}
:is(#event01, #event02, #event03, #event04) .prize {
  width: 266px;
  height: 388px;
  padding: 0;
  border-radius: 8px;
  color: #2c0000;
}
:is(#event01, #event02, #event03, #event04) .prize .image-slot {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  width: auto;
  height: 230px;
}
:is(#event01, #event02, #event03, #event04) .prize p {
  position: absolute;
  top: 278px;
  left: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 28px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -0.84px;
}
:is(#event01, #event02, #event03, #event04) .prize-count {
  width: 123px;
  height: 123px;
  top: -40px;
  right: -29px;
  font-size: 32px;
  font-weight: 800;
}
:is(#event01, #event02, #event03, #event04) .prize:last-child .prize-count {
  right: -35px;
}
#event01 .panel-mascot {
  width: 182.641px;
  height: 213px;
  left: -37.909px;
  top: -233px;
}

#event03 .event-heading h2,
#event04 .event-heading h2 {
  margin-bottom: 20px;
  letter-spacing: -2.58px;
}
#event03 .event-meta {
  margin-top: 101px;
  margin-bottom: 105px;
}
#event03 .prize,
#event04 .prize {
  border-radius: 10px;
}
#event04 .event-meta {
  grid-template-columns: 713px 387px;
  gap: 180px;
  min-height: 299px;
  margin-bottom: 105px;
}
#event04 .event-details {
  width: 713px;
  grid-template-rows: 63px 216px;
  color: #1f2a12;
}
#event04 .event-details > div:last-child {
  align-items: flex-start;
}
#event04 .prize {
  width: 387px;
  height: 299px;
}
#event04 .prize .image-slot {
  height: 180px;
}
#event04 .prize p {
  top: 228px;
}

/* 1400px 상품 패널도 뷰포트와 무관하게 같은 치수를 유지한다. */
.products-panel {
  --product-unit: 1px;
}

html[data-layout='pc'] .share-section,
html[data-layout='pc'] .campaign-stats {
  --share-unit: 1px;
}

/* event-flows.css는 공통 파일이므로 PC 퀴즈만 높은 명시도로 고정한다.
   브라우저 확대 시 CSS 뷰포트가 1399px 아래로 내려가도 같은 문항 배치다. */
html[data-layout='pc'] #quiz-panel .quiz-sentence {
  font-size: 34px;
}
html[data-layout='pc'] #quiz-panel .quiz-question {
  padding: 135px 35px 20px;
}
html[data-layout='pc'] #quiz-panel .quiz-linebreak {
  display: initial;
}

/* 히어로는 세로 넘침만 자르고 가로는 배경 연장을 위해 열어 둔다. */
html[data-layout='pc'] .hero {
  overflow-x: visible;
  overflow-y: clip;
}

/* 이벤트 섹션도 세로 넘침만 자른다(가로는 배경 연장 영역). */
html[data-layout='pc'] #campaign > .event-section,
html[data-layout='pc'] #campaign > .share-section {
  overflow-x: visible;
  overflow-y: clip;
}
/* 가로 스크롤 방지(Safari 트랙패드 포함). clip은 세로 스크롤 컨테이너를 만들지 않는다. */
html[data-layout='pc'] body {
  overflow-x: clip;
}
html[data-layout='pc'] .brand-header {
  box-shadow: 1920px 0 #fff, -1920px 0 #fff, 3840px 0 #fff, -3840px 0 #fff;
}

/* ===== 2026-09-25 최신 Figma(PC 1:19) 장식·섹션 높이 ===== */
html[data-layout='pc'] .pc-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
/* back 레이어는 z-index를 두지 않아 섹션 배경과 직접 블렌딩(color-burn·soft-light)되게 한다. */
html[data-layout='pc'] .pc-decor--front {
  z-index: 3;
}
html[data-layout='pc'] .pc-decor img {
  position: absolute;
  display: block;
  max-width: none;
}
html[data-layout='pc'] .pc-decor .blend-burn {
  mix-blend-mode: color-burn;
}
html[data-layout='pc'] .pc-decor .blend-soft {
  mix-blend-mode: soft-light;
}
/* 이전 시안 장식은 PC에서 숨기고 새 레이어(.pc-decor)로 대체한다. 모바일은 유지. */
html[data-layout='pc'] :is(#event01, #event02, #event03, #event04, #share) > .decoration {
  display: none;
}
html[data-layout='pc'] #event01 {
  min-height: 0;
  height: 2494px;
}
html[data-layout='pc'] #event02 {
  min-height: 0;
  height: 2084px;
  background:
    url('../img/figma-20260925/e02-bg.jpg') 50% 0 / 1919px 2084px no-repeat,
    linear-gradient(#ffe7aa, #f8ca46);
}
html[data-layout='pc'] #event03 {
  min-height: 0;
  height: 2306px;
  background: linear-gradient(#fbf2e4, #f4dbb8);
}
html[data-layout='pc'] #event04 {
  min-height: 0;
  height: 1853px;
  background: linear-gradient(#dee9d2, #cef4a3);
}
html[data-layout='pc'] #campaign > .products-section::before {
  background: linear-gradient(#dee9d2, #cef4a3);
}
html[data-layout='pc'] .brand-header img {
  width: 807px;
  height: 31px;
}
html[data-layout='pc'] .site-footer {
  min-height: 44px;
}

/* 02: Figma 22:1142·22:1187 — 안내·경품은 01과 같은 치수, 패널은 1400×811 */
html[data-layout='pc'] #event02 .event-meta {
  margin-top: 98px;
  margin-bottom: 104px;
}
html[data-layout='pc'] #learn-panel:not(.is-playing) > .activity-content {
  padding: 103px 60px 71px;
}
html[data-layout='pc'] #learn-panel:not(.is-playing) > .panel-cta {
  min-height: 93px;
  padding-block: 0;
}
html[data-layout='pc'] #learn-panel .learn-title {
  gap: 20px;
  margin: 0 0 40px;
}
html[data-layout='pc'] #learn-panel .learn-title p {
  color: #440000;
  font-size: 46px;
  line-height: 57px;
  letter-spacing: -1.38px;
}
html[data-layout='pc'] #learn-panel .learn-cards {
  gap: 10px;
}
html[data-layout='pc'] #learn-panel .learn-cards article {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 336px;
  padding: 40px 30px;
}
html[data-layout='pc'] #learn-panel .learn-cards h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin: 0;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: -0.84px;
}
html[data-layout='pc'] #learn-panel .learn-cards p {
  color: #2d2c27;
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.78px;
}
/* 03: Figma 44:22638 지도 1235×834, 패널 상단 70 · 하단 22 */
html[data-layout='pc'] #ranking-panel .activity-content.map-intro {
  padding: 70px 62px 22px 63px;
}
html[data-layout='pc'] #ranking-panel .map-intro .ranking-map-stage {
  width: 1235px;
  height: 834px;
  margin: 0;
}
html[data-layout='pc'] #ranking-panel .map-intro .ranking-map-stage > img:first-child {
  width: 1235px;
  height: 834px;
  object-fit: fill;
}

/* 02 다람쥐: Figma 29:20410 (132, 1028) 301×261 */
html[data-layout='pc'] #learn-panel .panel-mascot {
  left: -148px;
  top: -145px;
  width: 301px;
  height: 261px;
}
/* 01~04 하단 버튼: Figma Group 45 손 커서(192.8×210.3)를 버튼 옆에 표시.
   마우스를 올리면 기존처럼 커서를 따라가는 손으로 바뀐다. */
html[data-layout='pc'] .activity-panel:not(.is-playing) > .panel-cta {
  position: relative;
  z-index: 4;
}
html[data-layout='pc'] .activity-panel:not(.is-playing) > .panel-cta::after {
  content: '';
  position: absolute;
  left: var(--hand-x, 824px);
  top: calc(var(--hand-y, 6px) + 52.821px);
  width: 137.787px;
  height: 171.047px;
  background: url('../img/figma/button-hand.svg') 0 0 / 100% 100% no-repeat;
  transform: rotate(-22.5417deg);
  transform-origin: 0 0;
  pointer-events: none;
  animation: cta-hand-tap 1.2s ease-in-out infinite;
}
html[data-layout='pc'] #learn-panel > .panel-cta {
  --hand-x: 918px;
  --hand-y: 9px;
}
html[data-layout='pc'] #ranking-panel > .panel-cta {
  --hand-x: 845px;
  --hand-y: 2px;
}
html[data-layout='pc'] #products-panel > .panel-cta {
  --hand-x: 837px;
  --hand-y: 2px;
}
html[data-layout='pc'] .activity-panel > .panel-cta.is-cursor-active::after,
html[data-layout='pc'] .activity-panel > .panel-cta:disabled::after {
  display: none;
}
@keyframes cta-hand-tap {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: -6px -8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-layout='pc'] .activity-panel > .panel-cta::after {
    animation: none;
  }
}
/* 홍보 영상: Figma Rect 9(957) · Frame 12(y120, 52px+12+32px) · 영상 983×553(y284) */
html[data-layout='pc'] .promotion-section {
  height: 957px;
  padding: 120px 0 0;
}
html[data-layout='pc'] .promotion-section h2 {
  margin: 0;
  font-size: 52px;
  line-height: 62px;
  letter-spacing: -1.56px;
}
html[data-layout='pc'] .promotion-section p {
  margin: 12px 0 52px;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: -0.96px;
}
/* 공유: Figma 101:1944 아이콘 78px, 간격 21px, y339 */
html[data-layout='pc'] .share-section p {
  margin-bottom: 61px;
}
html[data-layout='pc'] .share-buttons {
  gap: 21px;
}
html[data-layout='pc'] .share-buttons button {
  width: 78px;
  height: 78px;
}

/* ===== 01 진행 화면: Figma Event 01/01~05 (브라우저 카드 1280, 흰 영역 1251×685/705) ===== */
html[data-layout='pc'] .quiz-panel.is-playing > .activity-content {
  padding: 92px 40px 92px;
}
html[data-layout='pc'] .quiz-flow-card {
  padding: 21px 13px 11px;
}
html[data-layout='pc'] .quiz-flow-card .browser-bar {
  margin-bottom: 36px;
}
html[data-layout='pc'] .quiz-flow-paper {
  height: 685px;
  padding: 100px 0 0;
}
html[data-layout='pc'] .quiz-flow-paper:has(.quiz-results) {
  height: 705px;
}
html[data-layout='pc'] #quiz-panel .quiz-flow-card .quiz-question {
  min-height: 0;
  padding: 0;
  color: #2a2a2a;
  text-align: center;
}
html[data-layout='pc'] .quiz-flow-card .quiz-no {
  margin: 0 0 30px;
  color: #a52b01;
  font: 400 50px/43px var(--display-font);
  letter-spacing: -1.5px;
}
html[data-layout='pc'] #quiz-panel .quiz-flow-card .quiz-sentence {
  display: block;
  height: 110px;
  margin: 0;
  color: #2a2a2a;
  font: 400 36px/55px var(--body-font);
  letter-spacing: -1.08px;
  text-align: center;
}
html[data-layout='pc'] .quiz-flow-card .quiz-sentence > b {
  display: none;
}
html[data-layout='pc'] #quiz-panel .quiz-flow-card .quiz-linebreak {
  display: initial;
}
html[data-layout='pc'] .quiz-flow-card .quiz-sentence mark {
  padding: 0 2px;
  background: url('../img/figma-20260925/quiz-highlight.svg') 0 14px / 100% 32px no-repeat;
  color: #2a2a2a;
  font-weight: 800;
}
html[data-layout='pc'] .quiz-flow-card .answer-brackets {
  position: relative;
  width: 718px;
  max-width: none;
  height: 111px;
  margin: 40px auto 0;
  padding: 0 46px;
  font-size: 0;
}
html[data-layout='pc'] .quiz-flow-card .answer-brackets > span {
  flex: 0 0 36px;
  width: 36px;
  height: 111px;
  background: url('../img/figma-20260925/quiz-bracket-left.svg') 0 0 / 100% 100% no-repeat;
  color: transparent;
  position: absolute;
  top: 0;
  left: 0;
}
html[data-layout='pc'] .quiz-flow-card .answer-brackets > span:last-child {
  left: auto;
  right: 0;
  background-image: url('../img/figma-20260925/quiz-bracket-right.svg');
}
html[data-layout='pc'] .quiz-flow-card .answer-brackets input {
  height: 111px;
  font-size: 36px;
  font-weight: 700;
  color: #2a2a2a;
}
html[data-layout='pc'] .quiz-flow-card .quiz-question .field-error {
  position: absolute;
  left: 0;
  right: 0;
  margin: 8px 0 0;
}
html[data-layout='pc'] .quiz-flow-card .flow-actions {
  gap: 12px;
  width: 545px;
  margin: 70px auto 0;
}
html[data-layout='pc'] .quiz-flow-card .flow-button {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  min-width: 0;
  height: 81px;
  min-height: 81px;
  padding: 16px;
  border-radius: 100px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.7px;
}
html[data-layout='pc'] .quiz-flow-card .flow-button--secondary {
  background: #dbdbdb;
  color: #666;
}
/* 채점표: Figma 93:2125 998×376, 헤더 #ffe57f, 행 #f7f7fb, 선 #c4c4c4, 모서리 20 */
html[data-layout='pc'] .quiz-flow-card .quiz-results {
  padding: 0;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table {
  width: 998px;
  margin: 0 auto;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #2a2a2a;
  font-size: 28px;
  letter-spacing: -0.84px;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table :is(th, td) {
  width: 25%;
  height: 75px;
  padding: 0 10px;
  border: 0;
  border-right: 1px solid #c4c4c4;
  border-top: 1px solid #c4c4c4;
  background: #f7f7fb;
  font-weight: 500;
  text-align: center;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table tr > :first-child {
  border-left: 1px solid #c4c4c4;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table tbody tr:last-child > * {
  border-bottom: 1px solid #c4c4c4;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table thead th {
  height: 75px;
  background: #ffe57f;
  font-weight: 700;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table thead th:first-child {
  border-top-left-radius: 20px;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table thead th:last-child {
  border-top-right-radius: 20px;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table tbody tr:last-child > :first-child {
  border-bottom-left-radius: 20px;
}
html[data-layout='pc'] .quiz-flow-card .quiz-result-table tbody tr:last-child > :last-child {
  border-bottom-right-radius: 20px;
}
html[data-layout='pc'] .quiz-flow-card .quiz-results .flow-actions {
  margin-top: 48px;
}

/* ===== 03 진행 화면: Figma Event 03/1(패널 1198) · 03/2(1098) ===== */
html[data-layout='pc'] #ranking-panel.is-playing > .activity-content:has(.tournament-pc) {
  padding: 123px 0 80px;
}
html[data-layout='pc'] .tournament-pc {
  text-align: center;
  color: #2a2a2a;
}
html[data-layout='pc'] .tournament-head {
  margin: 0 auto 44px;
}
html[data-layout='pc'] .tournament-head h4 {
  margin: 0;
  color: #a52b01;
  font: 400 46px/43px var(--display-font);
  letter-spacing: -1.38px;
}
html[data-layout='pc'] .tournament-head p {
  margin: 12px 0 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 43px;
  letter-spacing: -0.84px;
}
html[data-layout='pc'] .tournament-pc .tournament-rounds {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
}
html[data-layout='pc'] .tournament-pc .tournament-rounds li {
  display: flex;
  align-items: center;
  height: 66px;
  padding: 0 40px;
  border: 1px solid #d2d2d2;
  border-radius: 100px;
  background: #fff;
  color: #767676;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.6px;
}
html[data-layout='pc'] .tournament-pc .tournament-rounds li[aria-current='step'] {
  border-color: #a52b01;
  background: #a52b01;
  color: #fff;
  font-weight: 900;
  filter: drop-shadow(1px 1px 1px #1111111a);
}
html[data-layout='pc'] .tournament-pc .match-progress {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
html[data-layout='pc'] .tournament-pc .tournament-pair {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch; /* 2026-09-30: 두 카드 높이를 긴 쪽에 맞춤(선택하기 버튼은 하단 정렬) */
  gap: 67px;
}
html[data-layout='pc'] .tournament-pc .versus {
  position: absolute;
  left: 50%;
  top: 212px;
  width: 120px;
  height: 101px;
  margin-left: -60px;
  background: url('../img/figma-20260925/vs.svg') 0 0 / 100% 100% no-repeat;
  color: transparent;
  font-size: 0;
  z-index: 1;
}
html[data-layout='pc'] .tournament-pc .village-option {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 550px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f2f2f2;
  box-shadow: none;
  overflow: hidden;
  text-align: left;
}
html[data-layout='pc'] .tournament-pc .village-option h5 {
  position: relative;
  height: 74px;
  margin: 0;
  padding: 0 60px;
  color: #111;
  font-size: 28px;
  font-weight: 600;
  line-height: 74px;
  letter-spacing: -0.7px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-layout='pc'] .tournament-pc .village-option h5::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 23px;
  width: 28px;
  height: 28px;
  background: url('../img/figma-20260925/icon-close.svg') 0 0 / 100% 100% no-repeat;
}
html[data-layout='pc'] .tournament-pc .village-photo-wrap {
  position: relative;
  height: 272px;
  margin: 0 32px;
  overflow: hidden;
}
html[data-layout='pc'] .tournament-pc .village-photo-wrap .village-photo,
html[data-layout='pc'] .tournament-pc .village-photo-wrap .image-slot {
  width: 100%;
  height: 272px;
  border-radius: 0;
}
/* ‘자세히 보기’는 사진 전체를 누르는 투명 영역으로 유지(시안에 버튼 없음) */
html[data-layout='pc'] .tournament-pc .village-detail-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}
html[data-layout='pc'] .tournament-pc .village-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 32px 40px;
  padding: 0;
}
html[data-layout='pc'] .tournament-pc .village-facts > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.5px;
}
html[data-layout='pc'] .tournament-pc .village-facts dt {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  color: #111;
  font-weight: 500;
}
html[data-layout='pc'] .tournament-pc .village-facts dt::before {
  content: '';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url('../img/figma-20260925/icon-thumb.svg') 0 0 / 100% 100% no-repeat;
}
html[data-layout='pc'] .tournament-pc .village-facts > div:nth-child(2) dt::before {
  background-image: url('../img/figma-20260925/icon-pin.svg');
}
html[data-layout='pc'] .tournament-pc .village-facts > div:nth-child(3) dt::before {
  background-image: url('../img/figma-20260925/icon-car.svg');
}
html[data-layout='pc'] .tournament-pc .village-facts dd {
  margin: 0;
  color: #505050;
  font-weight: 400;
}
html[data-layout='pc'] .tournament-pc .choose-village {
  width: 100%;
  max-width: none;
  min-width: 0;
  height: 72px;
  min-height: 72px;
  margin: auto 0 0;
  padding: 0 20px;
  border-radius: 0 0 12px 12px;
  background: #000;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: -0.84px;
}
html[data-layout='pc'] .tournament-pc .village-option.is-selected {
  outline: 6px solid #a52b01;
  outline-offset: -6px;
}
html[data-layout='pc'] .tournament-pc .village-option.is-selected .choose-village {
  background: #a52b01;
}
html[data-layout='pc'] .tournament-pc .tournament-winner {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
html[data-layout='pc'] .tournament-pc:has(.tournament-winner) .tournament-head h4 {
  line-height: 57px;
}
/* 진행 중(퀴즈·체험·랭킹)에는 소개 화면 장식(도토리)을 숨긴다. */
html[data-layout='pc'] #event02:has(#learn-panel.is-playing) .pc-decor--front {
  display: none;
}
html[data-layout='pc'] #ranking-panel .tournament-pc .village-detail-link {
  position: absolute;
  inset: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  font-size: 0;
}
html[data-layout='pc'] #ranking-panel.is-playing > .panel-cta:disabled {
  opacity: 1;
  background: #a52b01;
  color: #fff;
  cursor: not-allowed;
}
/* 진행 화면에서 패널이 길어지면 섹션도 늘어나고, 패널 위에 겹치는 장식은 숨긴다. */
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) {
  height: auto;
  min-height: 2306px;
}
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) .pc-decor--front > img:is(:nth-child(3), :nth-child(4)) {
  display: none;
}
html[data-layout='pc'] .m-br {
  display: none;
}

/* 2026-09-25 피드백: 진행 화면 하단 흰 여백 축소(카드 아래 40px) */
html[data-layout='pc'] .quiz-panel.is-playing > .activity-content {
  padding-bottom: 40px;
}

/* 2026-09-25 피드백: 02·03 진행 화면은 패널이 길어지므로 섹션을 늘리고
   소개 화면과 같은 하단 여백(120px)을 유지, 하단 숲·들판은 섹션 바닥에 붙인다. */
html[data-layout='pc'] #event02:has(#learn-panel.is-playing),
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) {
  height: auto;
  min-height: 0;
  padding-bottom: 120px;
}
html[data-layout='pc'] #event02:has(#learn-panel.is-playing) {
  min-height: 2084px;
  /* 단풍나무는 항상 섹션 맨 위에 고정(Figma와 동일). 늘어난 아래쪽은 그라데이션+숲 장식이 채운다. */
  background-position: 50% 0, 0 0;
}
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) {
  min-height: 2306px;
}
html[data-layout='pc'] #event02:has(#learn-panel.is-playing) .pc-decor--back > img:nth-child(2) {
  top: auto !important;
  bottom: -163px;
}
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) .pc-decor--back > img:nth-child(2) {
  top: auto !important;
  bottom: -196px;
}

/* 2026-09-25 피드백: 01 퀴즈 진행 중에도 패널 아래 여백(소개 화면과 같은 106px)을 유지하고
   하단 들판·벼·나무는 섹션 바닥 기준으로 따라 올라온다. */
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) {
  height: auto;
  min-height: 0;
  padding-bottom: 106px;
}
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) .pc-decor--back > img:nth-child(2) {
  top: auto !important;
  bottom: -327px;
}
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) .pc-decor--back > img:nth-child(3) {
  top: auto !important;
  bottom: -17px;
}
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) .pc-decor--back > img:nth-child(4) {
  top: auto !important;
  bottom: -18px;
}
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) .pc-decor--back > img:nth-child(5) {
  top: auto !important;
  bottom: 97px;
}

/* 2026-09-26 피드백: 04 경품 카드 문구 아래 여백(Figma 44:21625 — 카드 기준 y198, 높이 66 → 아래 35px) */
html[data-layout='pc'] #event04 .prize .image-slot {
  height: 160px;
}
html[data-layout='pc'] #event04 .prize p {
  top: 198px;
  line-height: 40px;
}
html[data-layout='pc'] #event04 .prize p .prize-note {
  font-size: 18px;
  line-height: 26px;
}
/* 캐러셀: 제목 아래 영상 자리(y284~837)와 같은 영역에 배치 */
html[data-layout='pc'] .promo-carousel {
  height: 553px;
}
/* 화살표·배너 모두 1400px 안에 */

/* ==================== css/event-flows.css ==================== */
/* 진행 순서·문항·채점표는 2026-09-16 기획안, 색상과 외곽은 Figma 기준. */
.flow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 70px;
  padding: 14px 28px;
  border: 0;
  border-radius: 22px;
  background: var(--brown);
  color: #fff;
  font: 700 30px/1.4 var(--body-font);
  text-align: center;
}
.flow-button--secondary {
  background: #f5cdae;
  color: #602109;
}
.flow-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 55px auto 0;
}
.flow-actions .flow-button {
  width: 400px;
  max-width: 46%;
}
@media (hover: hover) and (pointer: fine) {
  .flow-button:hover:not(:disabled) .cta-label {
    animation: cta-label-pulse 1.2s ease-in-out infinite;
  }
  .flow-button.is-cursor-active:not(:disabled) {
    cursor: none;
  }
}
.quiz-panel.is-playing > .activity-content {
  padding: 110px 40px 70px;
}
.quiz-question {
  min-height: 630px;
  padding: 135px 35px 20px;
  color: #000;
}
.quiz-sentence {
  display: flex;
  gap: 10px;
  margin: 0;
  font: 400 34px/1.85 var(--body-font);
  letter-spacing: -1px;
  word-break: keep-all;
}
.quiz-sentence > b {
  flex-shrink: 0;
}
.quiz-sentence mark {
  color: #000;
  background: #ffd156;
  padding: 13px 4px;
  font-weight: 800;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.answer-brackets {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 620px;
  max-width: 90%;
  margin: 48px auto 0;
  font: 700 48px/1.3 var(--body-font);
}
.answer-brackets input {
  min-width: 0;
  width: 100%;
  height: 68px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #000;
  text-align: center;
  font-size: 32px;
  padding: 8px;
}
.answer-brackets input:focus {
  border-bottom-color: #ad8f63;
  outline: 0;
}
.quiz-question .field-error {
  text-align: center;
  margin: 8px 0;
}
.quiz-question .flow-actions {
  margin-top: 68px;
}
.quiz-results {
  padding: 0 38px;
}
.quiz-result-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-block: 4px solid #2c0000;
  color: #000;
  font-size: 28px;
}
.quiz-result-table th,
.quiz-result-table td {
  border-right: 1px solid #80786d;
  border-bottom: 1px solid #80786d;
  padding: 25px 18px;
  text-align: center;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.quiz-result-table th:last-child,
.quiz-result-table td:last-child {
  border-right: 0;
}
.quiz-result-table thead th {
  background: #ffe57f;
  font-weight: 800;
  height: 90px;
}
.quiz-result-table th:first-child {
  width: 16%;
}
.quiz-result-table th:nth-child(3) {
  width: 16%;
}
.quiz-result-table td:nth-child(4) {
  text-align: left;
}
.quiz-grade {
  font-weight: 700;
}
.quiz-grade.is-wrong {
  color: #b82f0d;
}
/* Figma Event02/1~4: the learning scenes use the brown event frame. */
.learn-panel.is-playing {
  border-color: #a52b01;
  border-bottom-width: 9px;
  background: #a52b01;
}
.learn-panel.is-playing > .panel-ribbon,
.learn-panel.is-playing > .panel-cta {
  background: #a52b01;
  color: #fff;
}
.learn-panel.is-playing > .panel-ribbon {
  top: -45px;
  width: 459px;
  min-width: 0;
  height: 88px;
  font-size: 42px;
  line-height: 43px;
  letter-spacing: 0.84px;
}
.learn-panel.is-playing > .panel-ribbon::before,
.learn-panel.is-playing > .panel-ribbon::after {
  border-bottom-color: #732000;
}
.learn-panel.is-playing > .activity-content {
  padding: 0;
  margin-inline: -4px;
}
.learn-panel.is-playing > .panel-mascot {
  display: none;
}
.learn-panel.is-playing > .panel-cta {
  position: relative;
  z-index: 2;
  min-height: 106px;
  margin-top: -6px;
  padding: 16px;
  font-size: 60px;
  line-height: 1.2;
  letter-spacing: 1.2px;
}
.experience-slideshow {
  animation: screen-in 0.45s ease both;
}
.experience-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1368 / 792;
  margin: auto;
}
.experience-scene > img,
.experience-scene > video,
.experience-scene > svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.experience-motion-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.experience-motion-toggle {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background: rgb(54 25 5 / 80%);
  color: #fff;
  font: 600 16px/1.3 var(--body-font);
  cursor: pointer;
}
.experience-motion-toggle[hidden],
.experience-motion-svg[hidden] {
  display: none;
}
.experience-motion-toggle:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.ranking-panel .panel-ribbon {
  min-width: 0;
  width: 850px;
  font-size: 38px;
}
.ranking-panel.is-playing > .activity-content {
  padding: 75px 25px 25px;
}
.ranking-map-stage {
  position: relative;
  width: 100%;
  margin: auto;
}
.ranking-map-stage > img {
  display: block;
  width: 100%;
  height: auto;
}
.map-region-button {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 63px;
  padding: 10px 26px;
  border: 0;
  border-radius: 8px;
  background: #ffd000;
  color: #000;
  font-size: 32px;
  font-weight: 800;
  line-height: 43px;
  white-space: nowrap;
}
.map-region-button:disabled {
  opacity: 1;
  cursor: default;
}
.map-region-button[aria-pressed='true'] {
  background: #a52b01;
  color: #fff;
  outline: 4px solid #fff;
  outline-offset: 0;
  box-shadow: 0 0 0 8px #a52b01;
}
/* 최신 Figma 44:22640 한옥 일러스트 — 지도 1235×834 기준 (712, 599) */
.ranking-map-stage > .map-hanok {
  position: absolute;
  left: 57.65%;
  top: 71.82%;
  width: 35.22%;
  height: auto;
  pointer-events: none;
}
.ranking-stage {
  position: relative;
  min-height: 760px;
  isolation: isolate;
}
.ranking-stage > .ranking-map-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.ranking-stage > .ranking-map-stage > .map-hanok {
  display: none;
}
.ranking-stage > .ranking-map-stage > img:first-child {
  height: 100%;
  object-fit: cover;
}
.tournament-overlay {
  position: relative;
  width: 1040px;
  max-width: 92%;
  margin: 20px auto;
  padding: 0 35px 24px;
  background: #fff2cb;
  border: 2px solid #b58c3b;
  color: #272727;
  animation: screen-in 0.35s ease both;
}
.tournament-overlay > header {
  margin: 0 -35px;
  padding: 32px 35px 26px;
  background: #bc8e00;
  color: #fff;
  text-align: center;
}
.tournament-overlay h4 {
  font-size: 38px;
  line-height: 1.4;
  margin: 0;
}
.tournament-overlay header p {
  font-size: 26px;
  margin: 0;
}
.tournament-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  padding: 8px;
}
.tournament-rounds {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 18px auto 0;
}
.tournament-rounds li {
  width: 220px;
  padding: 5px 12px;
  text-align: center;
  background: #f4b17d;
  border: 2px solid #a85e2c;
  border-radius: 24px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}
.tournament-rounds [aria-current] {
  color: #000;
  background: #f78625;
}
.match-progress {
  font-size: 18px;
  text-align: center;
  margin: 10px 0 15px;
}
.tournament-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 65px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}
.tournament-pair .versus {
  align-self: center;
  text-align: center;
  color: #465971;
}
.village-option {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #332b24;
  min-width: 0;
  outline: 4px solid transparent;
}
.village-option.is-selected {
  outline-color: #a52b01;
}
.village-option h5 {
  margin: 20px 15px 18px;
  font-size: 25px;
  text-align: center;
  font-weight: 800;
}
.village-photo-wrap {
  position: relative;
  margin: 0 30px;
}
.village-photo {
  aspect-ratio: 2;
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #f7f0df;
}
.village-photo > img {
  position: absolute;
  height: auto;
  max-width: none;
}
.village-photo.image-slot > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.village-detail-link {
  position: absolute;
  bottom: 8px;
  right: 8px;
  border: 1px solid #68604e;
  border-radius: 20px;
  padding: 3px 13px;
  color: #302b25;
  background: #fff;
  font-size: 18px;
}
.village-facts {
  margin: 15px 30px 22px;
  font-size: 18px;
  line-height: 1.5;
}
.village-facts > div {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}
.village-facts dt {
  font-weight: 700;
  flex-shrink: 0;
}
.village-facts dd {
  margin: 0;
  color: #676158;
  word-break: keep-all;
}
.choose-village {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 8px;
  margin-top: auto;
  border-radius: 0;
  background: #91abd8;
  font-size: 27px;
}
.choose-village[aria-pressed='true'] {
  background: var(--brown);
}
.tournament-overlay > .flow-actions {
  margin-top: 24px;
}
.tournament-overlay > .flow-actions .flow-button {
  min-height: 58px;
  width: 240px;
  background: #43566c;
  font-size: 27px;
  padding: 6px 25px;
}
.tournament-winner {
  max-width: 540px;
  margin: 32px auto 0;
}
.tournament-winner .village-facts {
  font-size: 21px;
}
.village-detail {
  text-align: center;
}
.village-detail .village-facts {
  margin-inline: 0;
  font-size: 22px;
  text-align: left;
}
#campaign-dialog {
  width: 620px;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 10px 14px 12px rgb(0 0 0 / 15%);
  overflow: auto;
}
#campaign-dialog::backdrop {
  background: #20110055;
  backdrop-filter: none;
}
#campaign-dialog h2 {
  font-family: var(--display-font);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 34px;
  text-align: center;
}
.campaign-entry {
  padding: 32px 32px 0;
}
.campaign-entry form {
  display: grid;
  gap: 20px;
}
.campaign-entry .preview-notice {
  padding: 10px 15px;
  margin-top: -10px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.5;
}
.entry-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  margin: 0;
  color: #282828;
  font-size: 18px;
}
.entry-row > label,
.entry-row > span {
  font-weight: 700;
}
.entry-row input:not([type='file']) {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 1px solid #e5e5ec;
  background: #fff;
  border-radius: 4px;
  padding: 0 16px;
  font-size: 16px;
}
.entry-row input::placeholder {
  color: #999;
}
.phone-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.phone-auth-row {
  align-items: start;
}
.phone-auth-button {
  min-height: 48px;
  background: #fff9ee;
  border: 1px solid #e2cba8;
  border-radius: 4px;
  padding: 8px 14px;
  color: #440000;
  font-weight: 700;
}
#phone-code-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
#phone-code-row input {
  flex: 1;
}
#phone-code-row button {
  flex-shrink: 0;
}
#campaign-dialog .phone-status {
  font-size: 15px;
  margin: 8px 0 0;
  color: #a52b01;
  line-height: 1.5;
}
.proof-field {
  align-items: start;
}
.proof-field input {
  max-width: 100%;
  font-size: 16px;
}
.proof-field small {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}
.entry-consent-section {
  margin: 0;
  color: #303030;
}
.entry-consent-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.entry-consent-label input {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  accent-color: #a52b01;
}
.entry-policy-table {
  display: grid;
  gap: 12px;
  padding: 24px;
  margin: 0;
  background: #fff9ee;
  font-size: 14px;
}
.entry-policy-table > div {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 12px;
}
.entry-policy-table dt {
  font-weight: 700;
}
.entry-policy-table dd {
  margin: 0;
  color: #696158;
}
#campaign-dialog .entry-policy-table p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.entry-delegation {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff9ee;
  font-size: 14px;
}
.entry-delegation th,
.entry-delegation td {
  text-align: center;
  padding: 14px 10px;
  font-weight: 400;
}
.entry-delegation th {
  font-weight: 700;
  padding-bottom: 0;
}
.entry-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 -32px;
  padding: 20px 32px 32px;
}
.entry-actions .flow-button {
  border-radius: 100px;
  min-width: 0;
  font-size: 28px;
  min-height: 81px;
  background: #a52b01;
  color: #fff;
}
.entry-actions .flow-button--secondary {
  background: #dbdbdb;
  color: #666;
}
.event-thanks {
  text-align: center;
  padding: 32px;
}
.event-thanks-visual {
  width: 556px;
  height: 403px;
  max-width: 100%;
  background: #f5e3bd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 20px;
}
.event-thanks-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event-thanks .preview-notice {
  font-size: 16px !important;
}
.event-thanks .flow-button {
  width: 100%;
  min-height: 81px;
  margin-top: 20px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  font-size: 28px;
}
#campaign-dialog:has(.campaign-entry) > .dialog-close,
#campaign-dialog:has(.event-thanks) > .dialog-close {
  display: none;
}
#campaign-dialog > .dialog-close + #dialog-content > :not(.campaign-entry):not(.event-thanks) {
  padding: 32px;
}
/* PC는 고정 캔버스이므로 뷰포트 폭(브라우저 확대)에 따른 퀴즈 재배치를 하지 않는다. */
html[data-layout='mobile'] .quiz-question {
  padding: 55px 12px 15px;
  min-height: 650px;
}
html[data-layout='mobile'] .quiz-panel.is-playing > .activity-content {
  padding: 80px 20px 40px;
}
html[data-layout='mobile'] .quiz-sentence {
  font-size: 29px;
  line-height: 1.95;
  letter-spacing: -0.5px;
  gap: 8px;
}
html[data-layout='mobile'] .quiz-linebreak {
  display: none;
}
html[data-layout='mobile'] .quiz-sentence mark {
  padding-block: 8px;
}
html[data-layout='mobile'] .quiz-question .flow-actions {
  margin-top: 42px;
}
html[data-layout='mobile'] .flow-actions {
  gap: 16px;
}
html[data-layout='mobile'] .flow-actions .flow-button {
  min-width: 0;
  max-width: 100%;
  flex: 1;
  font-size: 26px;
  padding-inline: 10px;
}
html[data-layout='mobile'] .quiz-results {
  padding: 0;
}
html[data-layout='mobile'] .quiz-result-table {
  font-size: 24px;
}
html[data-layout='mobile'] .quiz-result-table th,
html[data-layout='mobile'] .quiz-result-table td {
  padding: 20px 10px;
}
html[data-layout='mobile'] .learn-panel.is-playing {
  border-bottom-width: 12px;
}
html[data-layout='mobile'] .learn-panel.is-playing > .panel-ribbon {
  top: -36px;
  width: 400px;
  height: 56px;
  padding: 8px 25px;
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: 0;
}
html[data-layout='mobile'] .learn-panel.is-playing > .panel-cta {
  min-height: 92px;
  margin-top: 0;
  padding: 18px 10px;
  font-size: 44px;
  letter-spacing: 0;
}
html[data-layout='mobile'] .experience-motion-toggle {
  font-size: 20px;
  min-height: 52px;
  right: 10px;
  bottom: 10px;
}
html[data-layout='mobile'] .learn-panel.is-playing > .activity-content {
  padding: 0;
  margin-inline: 0;
}
html[data-layout='mobile'] .ranking-panel .panel-ribbon {
  width: 620px;
  font-size: 28px;
  padding-inline: 12px;
}
html[data-layout='mobile'] .ranking-panel.is-playing > .activity-content {
  padding: 65px 5px 20px;
}
html[data-layout='mobile'] .map-region-button {
  width: auto;
  height: auto;
  min-width: 96px;
  font-size: 24px;
  line-height: 1.3;
  padding: 7px 14px;
}
html[data-layout='mobile'] .ranking-stage {
  min-height: 650px;
}
html[data-layout='mobile'] .tournament-overlay {
  max-width: calc(100% - 8px);
  padding: 0 14px 22px;
  margin-block: 12px;
}
html[data-layout='mobile'] .tournament-overlay > header {
  margin-inline: -14px;
  padding: 35px 15px 22px;
}
html[data-layout='mobile'] .tournament-overlay h4 {
  font-size: 30px;
}
html[data-layout='mobile'] .tournament-overlay header p {
  font-size: 24px;
}
html[data-layout='mobile'] .tournament-rounds {
  gap: 10px;
}
html[data-layout='mobile'] .tournament-rounds li {
  font-size: 24px;
  padding-inline: 5px;
}
html[data-layout='mobile'] .tournament-pair {
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  gap: 7px;
}
html[data-layout='mobile'] .tournament-pair .versus {
  font-size: 25px;
}
html[data-layout='mobile'] .village-option h5 {
  font-size: 23px;
  margin: 16px 6px 12px;
}
html[data-layout='mobile'] .village-photo-wrap {
  margin-inline: 12px;
}
html[data-layout='mobile'] .village-detail-link {
  font-size: 19px;
  right: 4px;
  bottom: 4px;
  padding: 1px 8px;
}
html[data-layout='mobile'] .village-facts {
  margin: 14px 12px;
  font-size: 21px;
}
html[data-layout='mobile'] .village-facts > div {
  display: block;
}
html[data-layout='mobile'] .choose-village {
  font-size: 25px;
  min-height: 60px;
}
html[data-layout='mobile'] .tournament-overlay > .flow-actions .flow-button {
  flex: 0 1 230px;
}
html[data-layout='mobile'] .tournament-winner {
  max-width: 490px;
}
html[data-layout='mobile'] #campaign-dialog {
  width: 620px;
  max-width: 620px;
  padding: 0;
  max-height: calc(100% - 40px);
}
html[data-layout='mobile'] #campaign-dialog h2 {
  font-size: 30px;
}
html[data-layout='mobile'] .entry-row {
  font-size: 16px;
  grid-template-columns: 1fr;
  margin-inline: 0;
}
html[data-layout='mobile'] .entry-row input:not([type='file']) {
  height: 54px;
  font-size: 16px;
}
html[data-layout='mobile'] .phone-auth-button {
  min-height: 54px;
  font-size: 23px;
}
html[data-layout='mobile'] #campaign-dialog .phone-status {
  font-size: 21px;
}
html[data-layout='mobile'] .campaign-entry .preview-notice {
  font-size: 22px;
}
html[data-layout='mobile'] .entry-consent-section {
  margin-inline: 0;
}
html[data-layout='mobile'] .entry-consent-label {
  font-size: 16px;
}
html[data-layout='mobile'] .entry-consent-label input {
  width: 28px;
  height: 28px;
}
html[data-layout='mobile'] .entry-policy-table {
  font-size: 14px;
  padding: 24px;
}
html[data-layout='mobile'] .entry-policy-table > div {
  grid-template-columns: 185px minmax(0, 1fr);
}
html[data-layout='mobile'] #campaign-dialog .entry-policy-table p {
  font-size: 14px;
}
html[data-layout='mobile'] .entry-delegation {
  font-size: 14px;
}
html[data-layout='mobile'] .proof-field input {
  font-size: 21px;
}
html[data-layout='mobile'] .proof-field small {
  font-size: 19px;
}
@media (prefers-reduced-motion: reduce) {
  .flow-button .cta-label {
    animation: none !important;
  }
  .experience-slideshow,
  .tournament-overlay {
    animation: none;
  }
}

/* 2026-09-25 요청: 체험 장면의 '모션 정지/재생' 버튼 비노출(동작 줄이기 설정 시 자동 정지는 유지) */
.experience-motion-toggle {
  display: none !important;
}

/* 2026-09-25 요청: 03 ‘시작하기’ 이후 지도에서 손 모양으로 지역을 누르도록 안내.
   - 지역 라벨에 마우스를 올리면 버튼과 같은 Figma 손 커서가 따라다닌다(js/motion.js).
   - 아직 지역을 고르지 않았으면 ‘수도권’ 라벨 옆에서 손이 톡톡 누르는 안내 모션을 보여 준다. */
@media (hover: hover) and (pointer: fine) {
  .map-region-button.is-cursor-active:not(:disabled) {
    cursor: none;
  }
}
.map-region-button:not(:disabled) {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.map-region-button:not(:disabled):hover {
  transform: translate(-50%, -50%) scale(1.06);
}
.ranking-map-stage:has(.map-region-button:not(:disabled))::after {
  content: '';
  position: absolute;
  left: 38.5%;
  top: 15.5%;
  width: 7.2%;
  aspect-ratio: 137.787 / 171.047;
  background: url('../img/figma/button-hand.svg') 0 0 / 100% 100% no-repeat;
  transform: rotate(-22.5deg);
  transform-origin: 0 0;
  pointer-events: none;
  animation: map-hand-tap 1.1s ease-in-out infinite;
  z-index: 2;
}
.ranking-map-stage:has(.map-region-button[aria-pressed='true'])::after,
.ranking-map-stage:has(.map-region-button.is-cursor-active)::after {
  display: none;
}
@keyframes map-hand-tap {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }
  45% {
    translate: -10px -12px;
    scale: 1;
  }
  60% {
    translate: -4px -4px;
    scale: 0.94;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ranking-map-stage::after {
    animation: none !important;
  }
}
/* 지도 영역 전체 손 커서(선택 가능할 때) */
@media (hover: hover) and (pointer: fine) {
  .ranking-map-stage.is-cursor-active,
  .ranking-map-stage.is-cursor-active * {
    cursor: none !important;
  }
}
.ranking-map-stage:has(.is-cursor-active)::after,
.ranking-map-stage.is-cursor-active::after {
  display: none;
}

/* ==================== css/figma-popups.css ==================== */
/*
 * 현재 Figma에는 공개된 개인정보/완료 팝업 시안이 없습니다.
 * 2026no1welchon 공개 팝업의 제목+닫기, 입력 행, 전체 동의, 동의 표 구조를
 * 재사용하고 현재 캠페인의 갈색/크림색과 기존 입력·인증 기능을 적용합니다.
 * Reference: https://campaign.daum-kg.net/2026no1welchon/css/style.css
 */
#campaign-dialog {
  width: 630px;
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 1px solid #704332;
  border-radius: 8px;
  background: #fff;
  color: #222;
  box-shadow: 0 12px 40px #2b10002b;
  overflow: auto;
  overscroll-behavior: contain;
}
#campaign-dialog::backdrop {
  background: #0007;
  backdrop-filter: none;
}
#campaign-dialog:has(.campaign-popup) > .dialog-close {
  display: none;
}
#campaign-dialog #dialog-content > .campaign-popup {
  padding: 0;
  text-align: left;
  font-family: var(--body-font, Pretendard, sans-serif);
  letter-spacing: -0.4px;
}
#campaign-dialog .popup-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 15px 105px;
  border-bottom: 1px solid #a52b01;
  background: #fff9ee;
}
#campaign-dialog .popup-header h2 {
  margin: 0;
  color: #440000;
  font: 700 28px/1.4 var(--body-font, Pretendard, sans-serif);
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
#campaign-dialog .popup-close {
  position: absolute;
  top: 50%;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid #704332;
  border-radius: 3px;
  background: #fff;
  color: #440000;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-50%);
}
#campaign-dialog .popup-close b {
  font-size: 23px;
  font-weight: 400;
}
#campaign-dialog .popup-body {
  padding: 20px;
}
#campaign-dialog .popup-body p {
  font-size: 17px;
  line-height: 1.55;
}
#campaign-dialog .preview-notice {
  padding: 10px 12px;
  margin: 0 0 18px;
  border: 1px solid #f0debf;
  border-radius: 4px;
  background: #fff9ee;
  color: #71553b;
  font-size: 14px;
  line-height: 1.55;
}
#campaign-dialog .campaign-entry form {
  display: grid;
  gap: 20px;
}
#campaign-dialog .entry-fields {
  display: grid;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #704332;
}
#campaign-dialog .entry-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #222;
  font-size: 18px;
  line-height: 1.4;
}
#campaign-dialog .entry-row > label,
#campaign-dialog .entry-row > span {
  font-weight: 600;
}
#campaign-dialog .entry-row > div {
  min-width: 0;
}
#campaign-dialog .entry-row input:not([type='file']),
#campaign-dialog .copy-url {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #b99f94;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font: inherit;
  font-size: 16px;
}
#campaign-dialog input::placeholder {
  color: #888;
}
#campaign-dialog input:focus-visible,
#campaign-dialog button:focus-visible {
  outline: 3px solid #a52b01;
  outline-offset: 3px;
}
#campaign-dialog .phone-auth-row,
#campaign-dialog .proof-field {
  align-items: start;
}
#campaign-dialog .phone-auth-row > span,
#campaign-dialog .proof-field > label {
  padding-top: 12px;
}
#campaign-dialog .phone-auth-button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #a52b01;
  border-radius: 4px;
  background: #fff9ee;
  color: #8d2708;
  font-size: 16px;
  line-height: 1.4;
}
#campaign-dialog #phone-code-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
#campaign-dialog #phone-code-row[hidden] {
  display: none;
}
#campaign-dialog #phone-code-row input {
  flex: 1 1 0;
}
#campaign-dialog .phone-status {
  margin: 8px 0 0;
  color: #a52b01;
  font-size: 14px;
  line-height: 1.5;
}
#campaign-dialog .phone-status:empty {
  display: none;
}
#campaign-dialog .proof-field input {
  width: 100%;
  font-size: 14px;
}
#campaign-dialog .proof-field input::file-selector-button {
  margin-right: 8px;
  padding: 9px 12px;
  border: 1px solid #a52b01;
  border-radius: 4px;
  background: #fff9ee;
  color: #8d2708;
  font: inherit;
  cursor: pointer;
}
#campaign-dialog .proof-field small {
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}
#campaign-dialog #proof-preview {
  width: auto;
  max-width: 100%;
  max-height: 240px;
  margin-top: 12px;
  object-fit: contain;
}
#campaign-dialog .entry-consent-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
#campaign-dialog .entry-consent-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}
#campaign-dialog .entry-consent-all input,
#campaign-dialog .entry-consent-label input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #a52b01;
  cursor: pointer;
}
#campaign-dialog .entry-policy-table {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 2px solid #a52b01;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
#campaign-dialog .entry-policy-table > div {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid #ddd;
}
#campaign-dialog .entry-policy-table dt,
#campaign-dialog .entry-policy-table dd {
  padding: 12px 10px;
  margin: 0;
  overflow-wrap: anywhere;
}
#campaign-dialog .entry-policy-table dt {
  border-right: 1px solid #ddd;
  background: #fff9ee;
  font-weight: 600;
}
#campaign-dialog .entry-policy-table dd {
  color: #333;
}
#campaign-dialog .entry-policy-table p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
#campaign-dialog .entry-delegation {
  border-top: 2px solid #a52b01;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}
#campaign-dialog .entry-delegation th,
#campaign-dialog .entry-delegation td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
#campaign-dialog .entry-delegation th {
  background: #fff9ee;
  font-weight: 600;
}
#campaign-dialog .entry-delegation th:first-child,
#campaign-dialog .entry-delegation td:first-child {
  width: 42%;
  border-right: 1px solid #ddd;
}
#campaign-dialog .entry-actions,
#campaign-dialog .popup-actions {
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 0;
}
#campaign-dialog .popup-actions {
  margin-top: 24px;
}
#campaign-dialog .flow-button {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 72px;
  padding: 16px 20px;
  margin: 0;
  border: 0;
  border-radius: 5px;
  background: #a52b01;
  color: #fff;
  font: 700 23px/1.4 var(--body-font, Pretendard, sans-serif);
}
#campaign-dialog .flow-button--secondary {
  background: #e8e5e3;
  color: #555;
}
#campaign-dialog .flow-button .cta-label {
  animation: none;
}
#campaign-dialog button:disabled {
  cursor: default;
  opacity: 0.6;
}
#campaign-dialog .field-error {
  min-height: 0;
  margin: 0;
  color: #a52b01;
  font-size: 16px;
  line-height: 1.5;
}
#campaign-dialog .field-error:empty {
  display: none;
}
#campaign-dialog .event-thanks {
  text-align: center;
}
#campaign-dialog .popup-complete-message {
  margin: 8px 0 24px;
  color: #440000;
  font: 30px/1.5 var(--display-font);
}
#campaign-dialog .event-thanks-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 556 / 403;
  margin: 0 0 20px;
  border-radius: 4px;
}
#campaign-dialog .event-thanks-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#campaign-dialog .event-thanks .preview-notice {
  font-size: 14px !important;
  text-align: left;
}
#campaign-dialog .popup-notice-dates {
  margin: 0 0 20px;
  border-top: 2px solid #a52b01;
  font-size: 17px;
  line-height: 1.6;
}
#campaign-dialog .popup-notice-dates > div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  border-bottom: 1px solid #ddd;
}
#campaign-dialog .popup-notice-dates dt,
#campaign-dialog .popup-notice-dates dd {
  padding: 12px 8px;
  margin: 0;
}
#campaign-dialog .popup-notice-dates dt {
  background: #fff9ee;
  font-weight: 700;
}
#campaign-dialog .popup-notice-list {
  padding-left: 22px;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
}
#campaign-dialog .popup-notice-list li + li {
  margin-top: 8px;
}
#campaign-dialog .village-facts {
  margin: 20px 0;
  font-size: 18px;
}

/* 모바일 캠페인의 750px 아트보드 안에서 읽기 쉬운 입력 크기를 유지합니다. */
html[data-layout='mobile'] #campaign-dialog {
  width: 690px;
  max-width: calc(100vw - 60px);
  max-height: calc(100dvh - 60px);
  border-radius: 12px;
}
html[data-layout='mobile'] #campaign-dialog .popup-header {
  min-height: 94px;
  padding: 20px 110px;
}
html[data-layout='mobile'] #campaign-dialog .popup-header h2 {
  font-size: 32px;
}
html[data-layout='mobile'] #campaign-dialog .popup-close {
  min-height: 52px;
  right: 20px;
  font-size: 22px;
}
html[data-layout='mobile'] #campaign-dialog .popup-close b {
  font-size: 30px;
}
html[data-layout='mobile'] #campaign-dialog .popup-body {
  padding: 28px;
}
html[data-layout='mobile'] #campaign-dialog .entry-fields {
  gap: 20px;
  padding-bottom: 24px;
}
html[data-layout='mobile'] #campaign-dialog .entry-row {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  font-size: 26px;
}
html[data-layout='mobile'] #campaign-dialog .entry-row input:not([type='file']),
html[data-layout='mobile'] #campaign-dialog .copy-url {
  height: 64px;
  padding: 0 16px;
  font-size: 26px;
}
html[data-layout='mobile'] #campaign-dialog .phone-auth-row > span,
html[data-layout='mobile'] #campaign-dialog .proof-field > label {
  padding-top: 0;
}
html[data-layout='mobile'] #campaign-dialog .phone-auth-button {
  min-height: 60px;
  font-size: 24px;
}
html[data-layout='mobile'] #campaign-dialog .phone-status,
html[data-layout='mobile'] #campaign-dialog .proof-field small {
  font-size: 22px;
}
html[data-layout='mobile'] #campaign-dialog .proof-field input {
  font-size: 22px;
}
html[data-layout='mobile'] #campaign-dialog .preview-notice,
html[data-layout='mobile'] #campaign-dialog .event-thanks .preview-notice {
  padding: 14px 16px;
  font-size: 22px !important;
}
html[data-layout='mobile'] #campaign-dialog .entry-consent-all,
html[data-layout='mobile'] #campaign-dialog .entry-consent-label {
  font-size: 25px;
}
html[data-layout='mobile'] #campaign-dialog .entry-consent-all input,
html[data-layout='mobile'] #campaign-dialog .entry-consent-label input {
  width: 32px;
  height: 32px;
}
html[data-layout='mobile'] #campaign-dialog .entry-policy-table,
html[data-layout='mobile'] #campaign-dialog .entry-delegation,
html[data-layout='mobile'] #campaign-dialog .entry-policy-table p {
  font-size: 21px;
}
html[data-layout='mobile'] #campaign-dialog .entry-policy-table > div {
  grid-template-columns: 37% minmax(0, 1fr);
}
html[data-layout='mobile'] #campaign-dialog .entry-policy-table dt,
html[data-layout='mobile'] #campaign-dialog .entry-policy-table dd,
html[data-layout='mobile'] #campaign-dialog .entry-delegation th,
html[data-layout='mobile'] #campaign-dialog .entry-delegation td {
  padding: 16px 12px;
}
html[data-layout='mobile'] #campaign-dialog .flow-button {
  min-height: 86px;
  font-size: 30px;
}
html[data-layout='mobile'] #campaign-dialog .field-error,
html[data-layout='mobile'] #campaign-dialog .popup-body > p,
html[data-layout='mobile'] #campaign-dialog .popup-notice-dates,
html[data-layout='mobile'] #campaign-dialog .popup-notice-list,
html[data-layout='mobile'] #campaign-dialog .village-facts {
  font-size: 25px;
}
html[data-layout='mobile'] #campaign-dialog .popup-notice-dates > div {
  grid-template-columns: 126px minmax(0, 1fr);
}
html[data-layout='mobile'] #campaign-dialog .popup-complete-message {
  font-size: 36px;
}

/* =====================================================================
 * 2026-09-25 Figma에 없는 팝업은 이전 이벤트(2026no1welchon .sec03_popup)
 * 디자인을 그대로 사용한다: 흰 바탕·검정 1px 테두리(모서리 7), 제목 28px,
 * ‘닫기 ×’ 테두리 버튼, 입력칸 검정 1px(모서리 5), 모두 동의·[필수] 빨강,
 * 동의 표 상단 2px 검정·행 구분 #dfdfdf, 노란(#fdef43) 참여하기 버튼.
 * ===================================================================== */
#campaign-dialog {
  width: 630px;
  border: 1px solid #000;
  border-radius: 7px;
  box-shadow: 0 10px 30px #0000002e;
  color: #222;
}
#campaign-dialog::backdrop {
  background: #000000a6;
}
#campaign-dialog #dialog-content > .campaign-popup {
  font-family: var(--body-font, Pretendard, sans-serif);
  letter-spacing: 0;
}
#campaign-dialog .popup-header {
  min-height: 66px;
  padding: 10px 110px;
  border-bottom: 1px solid #000;
  border-radius: 7px 7px 0 0;
  background: #fff;
}
#campaign-dialog .popup-header h2 {
  color: #000;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}
#campaign-dialog .popup-close {
  right: 20px;
  min-height: 35px;
  padding: 5px 12px;
  gap: 5px;
  border: 1px solid #000;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}
#campaign-dialog .popup-close b {
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}
#campaign-dialog .popup-body {
  padding: 10px 20px 20px;
}
#campaign-dialog .preview-notice {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px dashed #bbb;
  border-radius: 5px;
  background: #fafafa;
  color: #555;
  font-size: 14px;
}
#campaign-dialog .entry-fields {
  gap: 0;
  padding: 0 0 8px;
  border-bottom: 1px solid #000;
}
#campaign-dialog .entry-row {
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: 56px;
  padding: 8px 0;
  color: #000;
  font-size: 20px;
  font-weight: 400;
}
#campaign-dialog .entry-row > label,
#campaign-dialog .entry-row > span {
  color: #000;
  font-size: 20px;
  font-weight: 400;
}
#campaign-dialog .entry-row input:not([type='checkbox']):not([type='file']),
#campaign-dialog #phone-code-row input,
#campaign-dialog .copy-url {
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid #000;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-size: 20px;
}
#campaign-dialog input::placeholder {
  color: #9a9a9a;
  font-size: 17px;
}
#campaign-dialog .phone-auth-button {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #000;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}
#campaign-dialog .proof-field input {
  min-height: 40px;
  padding: 2px 10px;
  border: 1px solid #000;
  border-radius: 5px;
  font-size: 18px;
}
#campaign-dialog .entry-consent-all {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  color: #222;
  font-size: 18px;
  font-weight: 400;
}
#campaign-dialog .entry-consent-section {
  margin: 0;
}
#campaign-dialog .entry-consent-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  padding: 0;
  border: 0;
  color: #222;
  font-size: 18px;
  font-weight: 600;
}
#campaign-dialog .entry-consent-label > span {
  flex: 1;
}
#campaign-dialog .entry-consent-label strong {
  color: #f00;
  font-weight: 600;
}
#campaign-dialog .entry-consent-label em {
  order: 3;
  color: #222;
  font-style: normal;
  font-weight: 400;
}
#campaign-dialog .entry-consent-label input,
#campaign-dialog .entry-consent-all input {
  order: 2;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #000;
}
#campaign-dialog .entry-policy-table {
  margin: 0 0 20px;
  border: 0;
  border-top: 2px solid #000;
  border-radius: 0;
  font-size: 14px;
  line-height: 22.4px;
}
#campaign-dialog .entry-policy-table > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 0;
}
#campaign-dialog .entry-policy-table dt {
  padding: 12px 0 12px 10px;
  border-right: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  background: none;
  color: #222;
  font-size: 14px;
  font-weight: 400;
}
#campaign-dialog .entry-policy-table dd {
  margin: 0;
  padding: 12px 20px 12px 10px;
  border-bottom: 1px solid #dfdfdf;
  color: #222;
  font-size: 14px;
}
#campaign-dialog .entry-policy-table p {
  margin: 0;
  font-size: 14px;
  line-height: 22.4px;
}
#campaign-dialog .entry-delegation {
  width: 100%;
  margin: 0 0 20px;
  border: 0;
  border-top: 2px solid #000;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 22.4px;
}
#campaign-dialog .entry-delegation :is(th, td) {
  width: 247px;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid #dfdfdf;
  background: none;
  color: #222;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}
#campaign-dialog .entry-delegation :is(th, td):first-child {
  border-right: 1px solid #dfdfdf;
}
#campaign-dialog .entry-actions {
  display: block;
  margin: 0;
}
#campaign-dialog .entry-actions .flow-button--secondary {
  display: none;
}
#campaign-dialog .entry-actions .flow-button,
#campaign-dialog .popup-actions .flow-button {
  width: 100%;
  max-width: none;
  height: 80px;
  min-height: 80px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fdef43;
  color: #000;
  font-size: 23px;
  font-weight: 700;
}
#campaign-dialog .popup-actions {
  display: block;
  margin: 20px 0 0;
}
#campaign-dialog .field-error {
  margin: 0 0 10px;
  color: #f00;
  font-size: 15px;
}
html[data-layout='mobile'] #campaign-dialog {
  width: 690px;
}
html[data-layout='mobile'] #campaign-dialog .popup-header h2 {
  font-size: 32px;
}
html[data-layout='mobile'] #campaign-dialog :is(.entry-row, .entry-row > label, .entry-row > span) {
  font-size: 23px;
}
html[data-layout='mobile'] #campaign-dialog :is(.entry-policy-table, .entry-policy-table dt, .entry-policy-table dd, .entry-policy-table p, .entry-delegation :is(th, td)) {
  font-size: 18px;
  line-height: 1.5;
}
html[data-layout='mobile'] #campaign-dialog .entry-policy-table > div {
  grid-template-columns: 220px minmax(0, 1fr);
}
html[data-layout='mobile'] #campaign-dialog :is(.entry-consent-label, .entry-consent-all) {
  font-size: 21px;
}
#campaign-dialog .entry-consent-all input {
  order: 0;
}


/* =====================================================================
 * 2026-09-30 참여 완료 팝업: 다른 Daum 공익캠페인 완료 팝업과 같은 구성
 * (상단 큰 중앙 제목 → 둥근 카드 안 이미지 → 하단 꽉 찬 확인 버튼, 헤더/테두리 없음)
 * ===================================================================== */
#campaign-dialog:has(.event-thanks) {
  width: 680px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff3dc 0%, #fffaf1 55%, #fff 100%);
  overflow: hidden;
}
#campaign-dialog #dialog-content > .campaign-popup.event-thanks {
  padding: 0;
  text-align: center;
}
#campaign-dialog .event-thanks .thanks-title {
  margin: 0;
  padding: 44px 20px 28px;
  color: #2b1300;
  font: 400 40px/1.25 var(--display-font);
  letter-spacing: -1px;
  white-space: nowrap;
  text-align: center;
  word-break: keep-all;
}
#campaign-dialog .event-thanks .thanks-br { display: none; }
#campaign-dialog .event-thanks .thanks-card {
  margin: 0 40px 36px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(112, 67, 50, 0.14);
}
#campaign-dialog .event-thanks .event-thanks-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 556 / 403;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
}
#campaign-dialog .event-thanks .event-thanks-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#campaign-dialog .event-thanks .preview-notice {
  margin: 12px 0 0;
  text-align: left;
}
#campaign-dialog .event-thanks .thanks-confirm {
  display: block;
  width: 100%;
  height: 96px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #a52b01;
  color: #fff;
  font: 700 32px/96px var(--body-font, Pretendard, sans-serif);
  letter-spacing: -0.8px;
  cursor: pointer;
}
#campaign-dialog .event-thanks .thanks-confirm:hover { background: #8a2300; }
/* 팝업이 열리며 버튼에 자동 포커스될 때 테두리선이 생기지 않도록, 포커스는 버튼 색을 한 톤 진하게 */
#campaign-dialog .event-thanks .thanks-confirm:focus { outline: none; }
#campaign-dialog .event-thanks .thanks-confirm:focus-visible { outline: none; background: #8a2300; }
html[data-layout='mobile'] #campaign-dialog:has(.event-thanks) { width: 660px; max-width: calc(100vw - 40px); border-radius: 28px; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .thanks-title { padding: 52px 24px 34px; font-size: 48px; white-space: normal; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .thanks-br { display: inline; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .thanks-card { margin: 0 36px 40px; padding: 14px; border-radius: 22px; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .event-thanks-visual { border-radius: 14px; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .preview-notice { margin-top: 12px; font-size: 20px !important; line-height: 1.5; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .thanks-confirm { height: 108px; font-size: 38px; line-height: 108px; }


/* =====================================================================
 * 2026-09-30 참여자 정보 팝업: 파일첨부 행(파일명 칸 + 첨부하기 버튼), 버튼 손가락 아이콘
 * ===================================================================== */
#campaign-dialog .proof-field > label { padding-top: 12px; }
#campaign-dialog .file-attach {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 8px;
}
#campaign-dialog .file-attach .file-name { cursor: default; background: #fff; }
#campaign-dialog .file-attach .file-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1px solid #222;
  border-radius: 4px;
  background: #fff;
  color: #222;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
#campaign-dialog .file-attach .file-button:hover { background: #fff9ee; }
#campaign-dialog .file-attach .file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
#campaign-dialog .file-attach:focus-within .file-button { outline: 3px solid #a52b01; outline-offset: 2px; }
#campaign-dialog .proof-field small { display: block; margin-top: 8px; }
/* 참여하기·확인 버튼: 손가락 아이콘(다른 캠페인 완료 팝업과 동일한 표현) */
#campaign-dialog .entry-actions .flow-button[type='submit'],
#campaign-dialog .event-thanks .thanks-confirm { position: relative; cursor: pointer; }
#campaign-dialog .entry-actions .flow-button[type='submit']::after,
#campaign-dialog .event-thanks .thanks-confirm::after {
  content: '';
  position: absolute;
  left: calc(50% + 46px);
  top: 26px;
  width: 50px;
  height: 62px;
  background: url('../img/figma/button-hand.svg') 0 0 / 100% 100% no-repeat;
  transform: rotate(-22.5deg);
  transform-origin: 0 0;
  pointer-events: none;
  animation: popup-hand-tap 1.2s ease-in-out infinite;
}
#campaign-dialog .event-thanks .thanks-confirm::after { top: 34px; }
@keyframes popup-hand-tap {
  0%, 100% { translate: 0 0; }
  50% { translate: -4px -6px; }
}
@media (prefers-reduced-motion: reduce) {
  #campaign-dialog .entry-actions .flow-button[type='submit']::after,
  #campaign-dialog .event-thanks .thanks-confirm::after { animation: none; }
}
html[data-layout='mobile'] #campaign-dialog .proof-field > label { padding-top: 0; }
html[data-layout='mobile'] #campaign-dialog .file-attach { grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
html[data-layout='mobile'] #campaign-dialog .file-attach .file-button { height: 64px; font-size: 24px; }
html[data-layout='mobile'] #campaign-dialog .entry-actions .flow-button[type='submit']::after { left: calc(50% + 60px); top: 34px; width: 62px; height: 77px; }
html[data-layout='mobile'] #campaign-dialog .event-thanks .thanks-confirm::after { left: calc(50% + 56px); top: 40px; width: 60px; height: 74px; }

#campaign-dialog .entry-row.proof-field { align-items: start; }
#campaign-dialog #proof-preview { max-height: 160px; }

/* 닫기 버튼이 없는 참여자 정보 팝업: 제목 좌우 여백을 줄여 한 줄로 */
#campaign-dialog .campaign-entry .popup-header { padding-left: 20px; padding-right: 20px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .popup-header { padding-left: 24px; padding-right: 24px; }


/* =====================================================================
 * 2026-09-30 이벤트 02 장면 하단 버튼(으뜸촌 체험하기·참여하기) 손가락:
 * 장면이 바뀔 때마다 1초 뒤 나타나 깜박이며 톡톡 (js/event02.js 에서 .has-hand 재시작)
 * ===================================================================== */
#learn-panel.is-playing > .panel-cta.has-hand::after {
  content: '';
  position: absolute;
  pointer-events: none;
  background: url('../img/figma/button-hand.svg') 0 0 / 100% 100% no-repeat;
  transform: rotate(-22.5417deg);
  transform-origin: 0 0;
  opacity: 0;
  z-index: 3;
  animation: learn-hand-in 0.35s ease-out 1s forwards, learn-hand-blink 1.1s ease-in-out 1.35s infinite;
}
#learn-panel.is-playing > .panel-cta.has-hand.is-cursor-active::after,
#learn-panel.is-playing > .panel-cta.has-hand:disabled::after { display: none; }
@keyframes learn-hand-in {
  from { opacity: 0; translate: 10px 14px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes learn-hand-blink {
  0%, 100% { opacity: 1; translate: 0 0; }
  50% { opacity: 0.3; translate: -5px -7px; }
}
@media (prefers-reduced-motion: reduce) {
  #learn-panel.is-playing > .panel-cta.has-hand::after { animation: none; opacity: 1; }
}
html[data-layout='pc'] #learn-panel.is-playing > .panel-cta.has-hand::after {
  left: calc(50% + 240px);
  top: 40px;
  width: 100px;
  height: 124px;
}


/* 2026-09-30 참여자 정보 팝업 '참여하기' 버튼을 참여 완료 팝업 '확인' 버튼과 같은 모양으로
   (팝업 맨 아래를 꽉 채우는 갈색 버튼 + 손가락) */
#campaign-dialog .campaign-entry .entry-actions { display: block; margin: 24px -20px -20px; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] {
  display: block;
  width: 100%;
  height: 96px;
  min-height: 96px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #a52b01;
  color: #fff;
  font: 700 32px/96px var(--body-font, Pretendard, sans-serif);
  letter-spacing: -0.8px;
}
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']:hover { background: #8a2300; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']:focus { outline: none; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']:focus-visible { outline: none; background: #8a2300; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] .cta-label { color: inherit; font: inherit; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']::after { top: 34px; left: calc(50% + 80px); }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']:disabled { background: #b98a78; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions { margin: 28px -28px -28px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] { height: 108px; min-height: 108px; font-size: 38px; line-height: 108px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']::after { left: calc(50% + 92px); top: 40px; width: 60px; height: 74px; }

/* 2026-09-30 참여 완료 이미지: 위아래 여백 없이 이미지 크기에 맞춤 */
#campaign-dialog .event-thanks .event-thanks-visual { aspect-ratio: auto; height: auto; background: none; line-height: 0; }
#campaign-dialog .event-thanks .event-thanks-visual img { display: block; width: 100%; height: auto; object-fit: initial; }

/* 2026-09-30 참여하기 팝업: 참여 완료 팝업과 같은 라운드 */
#campaign-dialog:has(.campaign-entry) { border: 0; border-radius: 24px; overflow: auto; }
#campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] { border-radius: 0 0 24px 24px; }
html[data-layout='mobile'] #campaign-dialog:has(.campaign-entry) { border-radius: 28px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] { border-radius: 0 0 28px 28px; }

/* 2026-09-30 하단 버튼 글씨 세로 중앙: 패널 아래 테두리(PC 20px·모바일 12px)가 버튼과 같은 색이라
   눈에 보이는 버튼 = 버튼 + 테두리. 글씨를 테두리 절반만큼 내려 보이는 영역의 가운데에 둔다. */
html[data-layout='pc'] .activity-panel > .panel-cta .cta-label { top: 11px; }
html[data-layout='mobile'] .activity-panel > .panel-cta .cta-label { top: 7px; }

/* 2026-09-30 참여자 수 박스를 섹션 안 아래쪽에 두기 위해 PC 이벤트 섹션 높이를 140px 늘림.
   아래 들판·숲 장식은 원래 섹션 밖까지 그려져 있어(잘려 있던 부분) 늘어난 영역을 자연스럽게 채운다. */
html[data-layout='pc'] #event01 { height: 2634px; }
html[data-layout='pc'] #event02 { height: 2224px; }
html[data-layout='pc'] #event03 { height: 2446px; }
html[data-layout='pc'] #event04 { height: 1993px; }
html[data-layout='pc'] #event02:has(#learn-panel.is-playing),
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) { padding-bottom: 260px; }
html[data-layout='pc'] #event02:has(#learn-panel.is-playing) { min-height: 2224px; }
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) { min-height: 2446px; }
/* 늘어난 아래쪽: 들판·언덕 그림이 끝난 자리부터 같은 색으로 채움 */
html[data-layout='pc'] #event03 { background: linear-gradient(#f7ce5e, #f7ce5e) 0 100% / 100% 240px no-repeat, linear-gradient(#fbf2e4, #f4dbb8); }
html[data-layout='pc'] #event04 { background: linear-gradient(#5c973a, #5c973a) 0 100% / 100% 200px no-repeat, linear-gradient(#dee9d2, #cef4a3); }
html[data-layout='pc'] #campaign > .products-section::before { background: linear-gradient(#5c973a, #5c973a) 0 100% / 100% 200px no-repeat, linear-gradient(#dee9d2, #cef4a3); }
/* 진행 화면 '으뜸촌 체험하기'는 아래 테두리가 9px 라 글씨를 테두리 절반만큼만 내림 */
html[data-layout='pc'] #learn-panel.is-playing > .panel-cta .cta-label { top: 6px; }

/* 2026-09-30 섹션을 140px 늘린 만큼 아래쪽 배경 요소(들판·숲·나무·트랙터 등)도 140px 내려 기존 디자인(섹션 바닥과의 관계) 유지 */
html[data-layout='pc'] .pc-decor > img:is(
  [src*="e01-scenery.svg"], [src*="e01-wheat-80-6163.svg"], [src*="e01-tree-right.svg"], [src*="e01-tree-left.svg"],
  [src*="e02-forest.svg"],
  [src*="e03-scenery."], [src*="e03-harvest.svg"], [src*="e03-tractor.svg"],
  [src*="e04-bottom.svg"]) { translate: 0 140px; }
/* 요소를 내렸으므로 앞서 넣은 바닥 색 채움은 해제 */
html[data-layout='pc'] #event03 { background: linear-gradient(#fbf2e4, #f4dbb8); }
html[data-layout='pc'] #event04 { background: linear-gradient(#dee9d2, #cef4a3); }
html[data-layout='pc'] #campaign > .products-section::before { background: linear-gradient(#dee9d2, #cef4a3); }
/* 진행 화면: 섹션 높이가 자동이고 아래 요소는 이미 섹션 바닥 기준(bottom)으로 붙어 있으므로 이동 해제, 바닥 여백만 140px 추가 */
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) { padding-bottom: 246px; }
html[data-layout='pc'] #event01:has(#quiz-panel.is-playing) .pc-decor--back > img:is(:nth-child(2), :nth-child(3), :nth-child(4), :nth-child(5)),
html[data-layout='pc'] #event02:has(#learn-panel.is-playing) .pc-decor--back > img:nth-child(2),
html[data-layout='pc'] #event03:has(#ranking-panel.is-playing) .pc-decor--back > img:nth-child(2) { translate: none; }

/* 2026-09-30 모바일 참여자 정보 팝업: 하단 [참여 | 취소] 반반 버튼, '인증하기'와 '인증번호 받기' 가로 정렬 */
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions { display: flex; gap: 0; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button { flex: 1 1 50%; min-width: 0; margin: 0; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit'] { order: 1; border-radius: 0 0 0 28px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button--secondary { order: 2; display: block; height: 108px; min-height: 108px; padding: 0; border: 0; border-radius: 0 0 28px 0; background: #333; color: #fff; font: 700 38px/108px var(--body-font, Pretendard, sans-serif); cursor: pointer; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button--secondary:focus { outline: none; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-actions .flow-button[type='submit']::after { left: calc(50% + 52px); }
html[data-layout='mobile'] #campaign-dialog .phone-auth-row > span { padding-top: 0; }

/* 2026-09-30 모바일 참여 팝업: 인증하기 세로 정렬 고정, 입력칸 글자 32px(휴대폰에서 16px) — iOS 입력 시 자동 확대 방지 */
html[data-layout='mobile'] #campaign-dialog .campaign-entry .entry-row.phone-auth-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry input:not([type='checkbox']):not([type='file']) { font-size: 32px; }
html[data-layout='mobile'] #campaign-dialog .campaign-entry input::placeholder { font-size: 26px; }
#campaign-dialog #dialog-title:focus { outline: none; }

/* 2026-10-01 세로 포스터 캐러셀(높이 720)에 맞춰 홍보 섹션 높이 늘림 */
html[data-layout='pc'] .promotion-section { height: 1130px; }

/* 2026-10-01 최상단 바 문구 'Daum과 농림축산식품부와' 이미지(1649x62)로 교체 — 비율 유지 */
html[data-layout='pc'] .brand-header img { width: 824px; height: 31px; }
html[data-layout='mobile'] .m-brand-header img { width: 100%; max-width: 690px; height: auto; }

/* 2026-10-04 확정안: 04 경품 2개(버즈4 프로 2명 · BHC 10명) — 카드 두 장 나란히 */
html[data-layout='pc'] #event04 .event-meta { grid-template-columns: 713px 544px; gap: 23px; }
html[data-layout='pc'] #event04 .prizes { gap: 16px; }
html[data-layout='pc'] #event04 .prize { width: 264px; height: 299px; }

/* 2026-10-04: 모바일 제주권 라벨이 제주 핀을 가리지 않도록 왼쪽 아래로 */
html[data-layout='mobile'] .map-region-button[data-region='jeju'] { left: 26.5% !important; top: 81% !important; }

/* 2026-10-04 요청: 경품이 하나일 때는 카드를 가로로 넓게(두 장 자리 전체 폭) */
html[data-layout='pc'] :is(#event01, #event02, #event03, #event04) .prize:only-child { width: 542px; }
html[data-layout='pc'] :is(#event01, #event02, #event03, #event04) .prize:only-child .prize-count { right: -35px; }

/* 2026-10-04 요청: 04 경품명 하단 정렬(버즈·BHC 마지막 줄 맞춤) */
html[data-layout='pc'] #event04 .prize p { top: auto; bottom: 20px; }
