/* ===== originally: <style id="(no id / base page styles)"> ===== */
:root {
  --bg-main: #0b0c10;
  --bg-card: #151821;
  --bg-card-hover: #1c212d;
  --primary-cyan: #00f2fe;
  --primary-purple: #9d4edd;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #9d4edd 100%);
  --text-main: #f0f3f8;
  --text-muted: #94a3b8;
  --border-color: #272f3e;
  --border-active: #3b82f6;
  --badge-bg: rgba(0, 242, 254, 0.1);
  --font-stack: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  word-break: keep-all;
}
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' 200,
  'opsz' 24
}
#webtoon_re{
  width: 100%;
  margin: 0 auto;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Layout & Base Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 ;
}

section {
  padding: 90px 0;
  position: relative;
}
@media (max-width:1200px){ section { padding: 90px 40px; } }
@media (max-width:980px){ section { padding: 60px 30px; } }
@media (max-width:768px){ section { padding: 60px 20px; } }

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--badge-bg);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width:1200px){ .section-title { padding: 0 40px; } }
@media (max-width:980px){ .section-title { padding: 0 20px; } }
@media (max-width:768px){ .section-title { padding: 0 10px; } }

.section-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 120px 0 90px;
  width: 100%;
  aspect-ratio: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: radial-gradient(circle at top center, rgba(157, 78, 221, 0.15) 0%, rgba(11, 12, 16, 0) 70%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.hero .hero-bg-image,
.hero .hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .hero-bg-image {
  background-image: url("https://img.megastudyacademy.co.kr/campusdev/iws_html_img/event/20260915/promotion_webtoon_2026/hero-img.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(0px) brightness(0.9);
}
.hero-bg-overlay {
  background: linear-gradient(90deg, rgba(11, 12, 16, 0.9) 0%, rgba(11, 12, 16, 0.55) 65%, rgba(11, 12, 16, 0.2) 100%);
  opacity: 1;
  transition: opacity 0.15s ease;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 64px);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(20px, 2.5vw, 40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: #d8b4fe;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.25;
  max-width: 1200px;
  margin: 0 auto 24px;
  width: 100%;
  font-size: clamp(30px, 7vw, 112px);
  line-height: 1.2;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.hero-title .title-plain {
  white-space: pre-wrap; 
  font-family: "Nanum Pen Script", "Malgun Gothic", cursive; 
  font-weight: 500; 
  letter-spacing: normal; 
  text-align: start;
  display: inline-block;
  font-size: clamp(28px, 2.4vw, 38px);
}
.hero-title .title-plain .hero-pink{color: rgb(240, 171, 252);}

.hero .title-accent { 
  display: block; 
  font-size: clamp(102px, 6vw, 116px);
  -webkit-text-fill-color: initial;
  background: var(--accent-gradient); 
  background-clip: text; 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  color: transparent;
}
.hero .hero-subtitle { 
  order: 2; 
  width: 100%; 
  max-width: 1200px; 
  margin: auto; 
  font-size: clamp(17px, 2vw, 32px); 
  line-height: 1.65; 
  color: rgb(240, 243, 248);
  font-weight: 700;
  text-align: left;
}

.hero-subtitle b{color: #f0abfc;font-weight: 700;}

.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 20px 22px;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 22px;
  background: rgba(15, 23, 42, .82);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .35);
  backdrop-filter: blur(6px);
  order: 4;
  width: 100%;
  max-width: 1200px;
  margin: 12px auto 0;
}

.hero-specs-grid .spec-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 12px;
  gap: 10px;
  min-height: 128px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}



.spec-icon-badge {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  line-height: 1;
  position: relative;
  border: 0;
  filter: drop-shadow(0 5px 4px rgba(0, 0, 0, .55));
}


.spec-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spec-value-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.spec-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.spec-item.accent-cyan .spec-value { color: var(--primary-cyan); }

.spec-item.accent-purple .spec-value { color: var(--primary-purple); }

.spec-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.hero-specs-grid .spec-item:not(:first-of-type)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(148, 163, 184, .3);
}



.hero-specs-grid .spec-label {
  position: relative;
  font-size: clamp(15px, 1.3vw, 21px);
  color: #fff;
  font-weight: 800;
}

.hero-specs-grid .spec-value {
  position: relative;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.35;
}

.hero-specs-grid .spec-sub {
  font-size: .9rem;
  color: #d8b4fe;
}

.hero-specs-grid .spec-body { min-width: 0; }

@media (max-width: 1100px) {
  .hero .title-accent{font-size: clamp(62px, 3.2vw, 68px);}
  .hero-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-specs-grid .spec-item:nth-of-type(3)::before { display: none; }
}
@media (max-width: 920px){
  
}

@media (max-width: 600px) {
  .hero .container { gap: 24px; padding: 32px 20px; align-items: center;}
  .hero .hero-title { font-size: clamp(48px, 12vw, 72px); text-align: center; }
  .hero .hero-title > .title-plain { margin-bottom: 20px; }
  .hero .title-accent{font-size: clamp(44px, 2.2vw, 48px);}
  .hero .hero-subtitle{text-align: center;}
  .hero-specs-grid { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .hero-specs-grid .spec-item { min-height: 88px; }
  .hero-specs-grid .spec-item::before { display: none; }
  .hero-specs-grid .spec-item + .spec-item { border-top: 1px solid rgba(148, 163, 184, .25); }
  
}





/* 범용 이미지 드래그앤드롭 박스 (갤러리 / Track A·B 카드 공용) */
.img-drop-box {
  position: relative;
  border: 2px dashed rgba(0, 242, 254, 0.35);
  border-radius: 14px;
  background: rgba(15, 20, 28, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  aspect-ratio: 4 / 3;
}

.img-drop-box:hover,
.img-drop-box.dragover {
  border-color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.08);
}

.img-drop-box.has-image {
  border-style: solid;
  border-color: var(--border-color);
  background: #0b0d13;
}

.img-drop-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-drop-box--wide {
  aspect-ratio: 16 / 9;
  margin-top: 16px;
  border: none !important;
}

/* 수강생 작업물 갤러리 섹션 */
.gallery-section {
  background: #0f1219;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery-grid { gap: 0.8rem; }
}


/* Student Works 이미지 확대 보기 */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3, 5, 10, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57vw;
  height: 76vh;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.gallery-lightbox.is-open .gallery-lightbox-dialog {
  transform: scale(1);
  opacity: 1;
}

.gallery-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 10, 15, 0.82);
  color: #fff;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.9);
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-section .img-drop-box.has-image .img-drop-preview {
  cursor: zoom-in;
}
@media (max-width: 1200px){.gallery-lightbox-dialog{width: 98%; height: auto;}}
@media (max-width: 680px) {
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox-image{width: 100%; height: 100%; object-fit: contain;}
  .gallery-lightbox-close { top: 8px; right: 8px; width: 38px; height: 38px; }
}


/* Student Works: hover lift + accent border */
.gallery-section .img-drop-box {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, filter .28s ease;
  will-change: transform;
}
.gallery-section .img-drop-box.has-image:hover {
  transform: translateY(-8px) scale(1.018);
  border-color: var(--primary-cyan);
  box-shadow: 0 18px 34px rgba(0,0,0,.45), 0 0 0 2px rgba(0,242,254,.30), 0 0 24px rgba(157,78,221,.22);
  filter: brightness(1.035) saturate(1.04);
  z-index: 4;
}
.gallery-section .img-drop-box.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 2px rgba(157,78,221,.62);
  transition: opacity .28s ease;
}
.gallery-section .img-drop-box.has-image:hover::after { opacity: 1; }
.gallery-section .img-drop-preview { transition: transform .28s ease; }
.gallery-section .img-drop-box.has-image:hover .img-drop-preview { transform: scale(1.025); }



/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .benefits-grid { grid-template-columns: 1fr; }
}


.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  transition: all 0.3s ease;
}


.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  background: var(--bg-card-hover);
}

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: inline-block;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 680px){
  .benefit-card {
    padding: 24px 18px 18px;
  }
  .benefit-card:hover{transform: translateY(0);}
  .benefit-title{font-size: 1.15rem;}
  .benefit-icon{font-size: 1.9rem; margin-bottom: 0px;}

}

/* Roadmap Section */
.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stage-card.highlight {
  border: 1px solid rgba(157, 78, 221, 0.4);
  background: linear-gradient(180deg, rgba(28, 33, 45, 0.8) 0%, rgba(21, 24, 33, 0.95) 100%);
}

.stage-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--primary-cyan);
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.stage-badge.stage-02{ background: rgba(157, 78, 221, 0.2); color: #d8b4fe; }

.stage-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.stage-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.stage-duration {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 6px 18px;
  /* border: 0.5px solid var(--border-color); */
  backdrop-filter: blur(4px);
  border-radius: 999px;
}
.stage-duration.sd-cyan{
  background: rgba(0, 89, 94, 0.45);
  color: var(--primary-cyan);
}
.stage-duration.sd-purple{
  background: rgba(157, 78, 221, 0.2);
  color: #d8b4fe;
}

.stage-subtitle{ margin-bottom: 10px;}

.curriculum-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curriculum-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.curriculum-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-cyan);
  font-weight: 800;
}

.curriculum-list.purple li::before {
  color: #c084fc;
}
.curriculum-list strong, .curriculum-list span{ font-size: 0.95rem;}

/* Subtrack 2-Column Grid (Restored side-by-side layout) */
.subtrack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.subtrack-card {
  background: #11141c;
  border: 1px solid #242c3d;
  border-radius: 16px;
  padding: 32px 28px 28px;
  position: relative;
}

.subtrack-tag {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}

.tag-conti {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.tag-art {
  background: rgba(157, 78, 221, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.subtrack-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}

/* Track A/B 서랍형(아코디언) 토글 */
.subtrack-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

.subtrack-header-left .subtrack-tag { margin-bottom: 12px; }
.subtrack-header-left .subtrack-title { margin-bottom: 0; }

.subtrack-chevron {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), background 0.25s ease, color 0.25s ease;
}
.subtrack-chevron.chevron-a { background: var(--primary-cyan); }
.subtrack-chevron.chevron-b { background: var(--primary-purple); }

.subtrack-chevron span{
  font-size: 1.9rem;
  color: #11141c;
}

.subtrack-content {
  overflow: hidden;
  max-height: 1500px;
  opacity: 1;
  transform: scaleY(1);
  transform-origin: top;
  margin-top: 2px;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease,
              transform 0.4s cubic-bezier(.34,1.4,.64,1), padding 0.35s ease,
              margin-top 0.35s ease, border-color 0.3s ease;
}
.subtrack-content p{ font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }

.subtrack-card.collapsed .subtrack-content {
  max-height: 0;
  opacity: 0;
  transform: scaleY(0.9);
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  border-color: transparent;
  pointer-events: none;
}

.subtrack-card.collapsed .subtrack-chevron {
  transform: rotateX(180deg);
}

/* Self Check (Aptitude) Card Styles */
.selfcheck-section {
  background: #141722;
  border: 1px solid #2c3548;
  border-radius: 24px;
  padding: 48px 36px 44px;
  margin-top: 50px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 242, 254, 0.06), 0 0 70px rgba(157, 78, 221, 0.1);
  position: relative;
  overflow: hidden;
}

.selfcheck-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent-gradient);
}

.selfcheck-header {
  text-align: left;
  margin-bottom: 32px;
}

.selfcheck-badge {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #e83e8c;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.selfcheck-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.selfcheck-desc {
  color: #94a3b8;
  font-size: 1.05rem;
}

/* Interactive Track Diagnosis (SELF CHECK 교체) */
.diag-progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.diag-progress-track {
  flex: 1;
  height: 6px;
  background: #0f121a;
  border-radius: 99px;
  overflow: hidden;
}

.diag-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}

.diag-progress-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.diag-q-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.diag-q-text {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -0.3px;
}

.diag-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diag-opt {
  text-align: left;
  background: #0f121a;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.15s ease, transform 0.1s ease, background 0.15s ease;
  color: var(--text-main);
  font-family: inherit;
  width: 100%;
}

.diag-opt:hover { transform: translateY(-1px); }
.diag-opt[data-branch="A"]:hover { border-color: var(--primary-cyan); }
.diag-opt[data-branch="B"]:hover { border-color: var(--primary-purple); }
.diag-opt.chosen[data-branch="A"] { border-color: var(--primary-cyan); background: rgba(0, 242, 254, 0.08); }
.diag-opt.chosen[data-branch="B"] { border-color: var(--primary-purple); background: rgba(157, 78, 221, 0.1); }
.diag-opt.dim { opacity: 0.35; pointer-events: none; }

.diag-opt-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.diag-opt[data-branch="A"] .diag-opt-badge { color: var(--primary-cyan); }
.diag-opt[data-branch="B"] .diag-opt-badge { color: var(--primary-purple); }

.diag-opt-text {
  font-size: 0.98rem;
  line-height: 1.55;
  padding-top: 4px;
}

.diag-nav-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 26px;
}

.diag-back-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  cursor: pointer;
  padding: 6px 2px;
  font-family: inherit;
  visibility: hidden;
  font-weight: 600;
}

.diag-back-btn.show { visibility: visible; }
.diag-back-btn:hover { color: #fff; }

/* 메리트 강조 칩 (SELF CHECK 헤더) */
.selfcheck-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.selfcheck-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f121a;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 700;
  white-space: nowrap;
}

/* 진단 시작 화면 */
.diag-start-view {
  text-align: center;
  padding: 8px 0 4px;
}

.diag-start-btn {
  background: var(--accent-gradient);
  color: #0b0c10;
  border: none;
  padding: 17px 38px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  font-family: inherit;
  /* box-shadow: 0 10px 28px rgba(0, 242, 254, 0.25); */
  transition: all 0.2s ease;
}

.diag-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(157, 78, 221, 0.35);
}

.diag-start-sub {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 진행 스텝 닷 */
.diag-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 2px 0 28px;
}

.diag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #242c3d;
  transition: all 0.25s ease;
}

.diag-dot.done { background: var(--accent-gradient); }
.diag-dot.current { width: 22px; border-radius: 99px; background: #fff; }

/* 결과 화면 CTA 묶음 */
.diag-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.diag-consult-btn {
  background: transparent;
  border: 1.5px solid var(--primary-cyan);
  color: var(--primary-cyan);
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.diag-consult-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-1px);
}

#diagResultView { display: none; }

.diag-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.diag-result-badge.track-a { background: rgba(0, 242, 254, 0.15); color: var(--primary-cyan); border: 1px solid rgba(0, 242, 254, 0.3); }
.diag-result-badge.track-b { background: rgba(157, 78, 221, 0.15); color: #d8b4fe; border: 1px solid rgba(157, 78, 221, 0.3); }
.diag-result-badge.track-mix { background: #0f121a; color: var(--text-muted); border: 1px solid var(--border-color); }

.diag-result-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
  line-height: 1.4;
}

.diag-result-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

.diag-score-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.diag-score-row { display: flex; align-items: center; gap: 14px; }

.diag-score-name {
  width: 90px;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.diag-score-name.a { color: var(--primary-cyan); }
.diag-score-name.b { color: #d8b4fe; }

.diag-score-track {
  flex: 1;
  height: 10px;
  background: #0f121a;
  border-radius: 99px;
  overflow: hidden;
}

.diag-score-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width 0.7s cubic-bezier(.4,0,.2,1);
}

.diag-score-fill.a { background: var(--primary-cyan); }
.diag-score-fill.b { background: var(--primary-purple); }

.diag-score-count {
  width: 26px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  font-weight: 700;
}

.diag-track-detail {
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.diag-track-detail.a { background: rgba(0, 242, 254, 0.06); border: 1px solid rgba(0, 242, 254, 0.25); }
.diag-track-detail.b { background: rgba(157, 78, 221, 0.08); border: 1px solid rgba(157, 78, 221, 0.25); }

.diag-track-detail h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
}

.diag-track-detail .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.diag-track-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.diag-track-detail li {
  font-size: 0.9rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  color: #e2e8f0;
}

.diag-track-detail li:last-child { margin-bottom: 0; }

.diag-track-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 800;
}

.diag-track-detail.a li::before { color: var(--primary-cyan); }
.diag-track-detail.b li::before { color: var(--primary-purple); }

.diag-retry-btn {
  background: var(--accent-gradient);
  color: #0b0c10;
  border: none;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.diag-retry-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.diag-footnote {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 22px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .diag-q-text { font-size: 1.15rem; }
}

/* Target Audience */
.audience-box {
  margin-top: 48px;
  background: #131722;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.audience-col h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

/* Partners Section (졸업생 취업 기업들) */
.partners-section {
  background: #0d111a;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 85px 0;
  text-align: center;
}
@media (max-width:1200px){ .partners-section { padding: 90px 40px; } }
@media (max-width:980px){ .partners-section { padding: 60px 30px; } }
@media (max-width:768px){ .partners-section { padding: 60px 20px; } }

.partner-tag-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 14px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

/* .partner-row is a pass-through: its logo cards lay out directly as
   .partner-tag-container's own grid items (see display:contents below) */
.partner-row {
  display: contents;
}

@media (max-width: 1100px) {
  .partner-tag-container { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .partners-section {padding: 60px 20px;}
  .partner-tag-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
}

.partner-logo-card,
.partner-field-card {
  min-height: 112px;
  background: #161e2e;
  border: 1px solid #27354d;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.partner-logo-card:hover,
.partner-field-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, .8);
  background: #1a2436;
  box-shadow: 0 12px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(0,242,254,.16), 0 0 22px rgba(0,242,254,.12);
}

.partner-logo-card.highlight {
  background: rgba(234, 88, 12, 0.10);
  border-color: rgba(249, 115, 22, .85);
}

.partner-logo-card.highlight:hover {
  border-color: #fb923c;
  box-shadow: 0 12px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(249,115,22,.2), 0 0 22px rgba(249,115,22,.18);
}

.partner-logo-visual {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.partner-logo-image {
  display: none;
  max-width: 88%;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-card.has-logo .partner-logo-image { display: block; }
.partner-logo-card.has-logo .partner-logo-placeholder { display: none; }

.partner-logo-placeholder {
  font-size: .72rem;
  color: #64748b;
  padding: 6px 10px;
  border: 1px dashed #334155;
  border-radius: 8px;
  line-height: 1;
}

.partner-company-name,
.partner-field-name {
  color: #dbe4f0;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.2px;
  word-break: keep-all;
}

.partner-logo-card.highlight .partner-company-name { color: #ffedd5; }

.partner-field-card {
  min-height: 84px;
  background: #121a28;
  border-style: dashed;
}

.partner-logo-card,
.partner-field-card {
  min-height: 62px;
  height: 62px;
  border-radius: 999px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  contain: paint;
}

.partner-company-name,
.partner-field-card {
  font-size: 12px;
  line-height: 1.2;
}

/* Logo stage: a white pill inset within the card, clipped to a pill shape */
.partner-logo-card .partner-logo-visual {
  position: absolute;
  inset: 4px;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 2px 10px;
  flex: none;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.985);
  overflow: hidden;
  clip-path: inset(0 round 999px);
  box-sizing: border-box;
  transition: transform .28s ease, filter .28s ease, opacity .28s ease;
}

/* Logo image: fills the pill without ever spilling outside it */
.partner-logo-card .partner-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 999px;
  overflow: hidden;
  transform: none;
  /* keep a broken external image's alt-text/icon from spilling out of the pill */
  font-size: 0;
  color: transparent;
  text-indent: -9999px;
}

.partner-logo-card:not(.has-logo) .partner-logo-visual {
  background: rgba(13,20,32,.76);
  border: 1px dashed rgba(148,163,184,.30);
}

.partner-logo-card:not(.has-logo) .partner-logo-placeholder {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  letter-spacing: .03em;
}

/* Company name: a full-card silhouette overlay, clipped to the same pill shape */
.partner-logo-card .partner-company-name {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px 14px;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: rgba(255,255,255,.98) !important; /* !important needed: must win over the more-specific
    .partner-logo-card.highlight .partner-company-name color rule below, same as before consolidation */
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-align: center;
  background: linear-gradient(90deg,
    rgba(6,10,18,.82) 0%, rgba(6,10,18,.72) 38%,
    rgba(6,10,18,.72) 62%, rgba(6,10,18,.82) 100%);
  border-radius: inherit;
  backdrop-filter: blur(3px) saturate(.72);
  -webkit-backdrop-filter: blur(3px) saturate(.72);
  text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transform: scale(.96);
  transition: opacity .22s ease, visibility .22s ease, transform .26s cubic-bezier(.2,.75,.25,1);
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0 round 999px);
}

.partner-logo-card.highlight {
  box-shadow: none !important;
}

/* Desktop hover: reveal the company-name overlay, gently dim + scale the logo pill */
@media (hover: hover) and (pointer: fine) {
  .partner-logo-card:hover .partner-company-name,
  .partner-logo-card:focus-within .partner-company-name {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  .partner-logo-card:hover .partner-logo-visual,
  .partner-logo-card:focus-within .partner-logo-visual {
    transform: scale(1.01);
    filter: brightness(.62) saturate(.72);
  }
}

/* Touch devices have no hover: keep the company name always visible, docked to the bottom */
@media (hover: none), (pointer: coarse) {
  .partner-logo-card .partner-company-name {
    top: auto;
    bottom: 0;
    height: auto;
    min-height: 25px;
    padding: 5px 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    font-size: 10px;
    background: linear-gradient(to top, rgba(6,10,18,.92), rgba(6,10,18,.66));
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .partner-logo-card .partner-logo-visual {
    inset: 3px;
  }
}

@media (max-width: 800px) {
  .partner-logo-card,
  .partner-field-card {
    min-height: 58px;
    height: auto;
  }
}


/* FIX: embedded Base64 logos must always render */
.partner-logo-card.has-logo .partner-logo-image[src^="data:https://img.megastudyacademy.co.kr/campusdev/iws_html_img/event/20260915/promotion_webtoon_2026/logo/"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.partner-logo-card.has-logo .partner-logo-placeholder {
  display: none !important;
}

/* CTA Section */
.cta-section {
  background: radial-gradient(circle at bottom center, rgba(0, 242, 254, 0.1) 0%, rgba(11, 12, 16, 0) 70%);
  text-align: center;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 50px 32px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.cta-card h2{
  font-size: 2.2rem; 
  font-weight: 800; 
  margin-bottom: 16px;
  color: var(--primary-cyan);
}
.cta-card p{ color: var(--text-muted); font-size: 1.05rem; }

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  text-align: left;
}

.form-group-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.form-group-row.grid-1fr{ grid-template-columns: 1fr !important; }

.form-group-row input::placeholder{color: var(--text-muted) !important;}

.form-input, .form-select {
  width: 100% !important;
  background: #0d1017 !important;
  border: 1px solid var(--border-color) !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  max-width: none !important;
}


.form-select { /* select 옆 화살표 설정 */
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238b93a7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 8px !important;
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-cyan) !important;
}

textarea.form-input {
  resize: vertical !important;
  min-height: 90px !important;
  font-family: inherit !important;
  line-height: 1.6 !important;
}

.cta-memo-box{ 
  border:1px solid var(--border-color); 
  border-radius:10px; 
  overflow:hidden; 
  background:#0d1017; 
}
.cta-memo-locked{ 
  padding:14px 18px 0 14px; 
  font-size:13px; 
  line-height:1.5; 
  color:#33404A; 
  background:#0d1017;
  white-space:pre-wrap; 
}
.cta-memo-box .cta-memo-free{ 
  display:block; 
  width:100%; 
  border:none !important; 
  border-radius:0 !important; 
  box-shadow:none !important; 
  resize:vertical; 
}

.btn-submit {
  background: var(--accent-gradient);
  color: #0b0c10;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  padding: 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 12px;
  transition: all 0.2s;
}

.btn-submit:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.35);
}


/* Toast */
.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  bottom: 20px;
  background: #1e293b;
  color: #fff;
  border: 1px solid var(--primary-cyan);
  padding: 14px 24px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* 그라데이션 제목 안에서도 사용자가 지정한 글자색이 보이도록 처리 */
@media (max-width: 768px) {

  .hero-title { font-size: 2.3rem; }
  .section-title { font-size: 2rem; }
  .form-group-row { grid-template-columns: 1fr; }
  .admin-bar-title span { display: none; }
  .stage-card { padding: 24px; }
  .subtrack-grid { grid-template-columns: 1fr; }
  .selfcheck-section { padding: 28px 20px; }
  .selfcheck-title { font-size: 1.7rem; }
  .selfcheck-bottom-bar { text-align: left; }
  .partner-pill { padding: 8px 16px; font-size: 0.85rem; }
}


/* ===== Hero reference overlay: HTML line / shape / text ===== */


/* 드래그 편집기에서 남은 좌표를 CSS 변수 오프셋으로 정규화 (오프셋 없으면 0) */
#gen-style-2, #gen-style-3, #gen-style-12, #gen-style-14, #gen-style-15,
#gen-style-22, #gen-style-23, #gen-style-24, #gen-style-25, #gen-style-26, #gen-style-27,
#gen-style-28, #gen-style-29, #gen-style-30, #gen-style-31, #gen-style-32, #gen-style-33,
#gen-style-34, #gen-style-35, #gen-style-36 {
  left: var(--hero-offset-x, 0px) !important;
  top: var(--hero-offset-y, 0px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  min-width: 0;
  overflow-wrap: anywhere;
}


/* ===== originally: <style id="stage-intro-background"> ===== */
/* Stage 01: subdued illustration on the right, with a soft fade into the text. */
.stage-card.stage-intro-illustrated { position: relative; isolation: isolate; overflow: hidden; }
.stage-intro-illustrated::before {
content: ''; position: absolute; inset: 0 0 0 auto; width: 48%;
background-image: url("https://img.megastudyacademy.co.kr/campusdev/iws_html_img/event/20260915/promotion_webtoon_2026/curri_img01.png");
background-size: cover; background-position: 78% center;
opacity: .38;
mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 30%, #000 76%);
-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.2) 30%, #000 76%);
pointer-events: none; z-index: -1;
}
@media (max-width: 768px) {
.stage-intro-illustrated::before { width: 65%; opacity: .16; }
}

/* ===== originally: <style id="(no id / base page styles)"> ===== */
.stage-image-editable {position:relative;isolation:isolate;overflow:hidden;}
/* 업로드 이미지는 CSS 변수 대신 실제 IMG 레이어로 삽입해 대용량 Base64에서도 안정적으로 표시 */
.stage-upload-layer {
position:absolute; inset:0 0 0 auto; width:48%; height:100%;
object-fit:cover; object-position:center;
opacity:1; pointer-events:none; z-index:-1; display:none;
mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.2) 30%,#000 76%);
-webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.2) 30%,#000 76%);
filter:blur(var(--stage-bg-blur,0px));
transform:scale(var(--stage-bg-scale,1));
transform-origin:center;
}
.stage-has-upload > .stage-upload-layer { display:block; }
.stage-has-upload::before { opacity:0 !important; }
@media(max-width:768px){.stage-upload-layer{width:65%;}}

/* ===== originally: <style id="(no id / base page styles)"> ===== */
.stage-portfolio-illustrated::before{background-image:url("https://img.megastudyacademy.co.kr/campusdev/iws_html_img/event/20260915/promotion_webtoon_2026/curri_img03.png");background-position:center;}

/* ===== originally: <style id="selfcheck-update"> ===== */
.selfcheck-section:has(#diagStartView:not([style*="none"])) {display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:20px 32px;}
.selfcheck-section:has(#diagStartView:not([style*="none"])) .selfcheck-header {margin-bottom:0;}
.selfcheck-section:has(#diagStartView:not([style*="none"])) .diag-footnote {grid-column:1 / -1;margin-top:0;}
.selfcheck-section #diagConsultBtn {background:var(--accent-gradient);color:#0b0c10;border:0;font-weight:900;box-shadow:0 8px 24px rgba(0,242,254,.2);}
.selfcheck-section #diagRetryBtn {background:transparent;border:1px solid var(--border-color);color:var(--text-muted);box-shadow:none;}
.diag-opt:disabled {cursor:default;}
.diag-back-btn:disabled {opacity:.4;cursor:default;}
@media(max-width:900px){.selfcheck-section:has(#diagStartView:not([style*="none"])) {grid-template-columns:minmax(0,1fr);gap:24px;}.selfcheck-section .diag-cta-row {flex-wrap:wrap;}}
@media(max-width:560px){.selfcheck-section .diag-cta-row button {width:100%;}}

/* ===== originally: <style id="partner-card-update"> ===== */
.partners-section .section-header { margin-bottom: 40px; }
.partners-section .section-tag { background: rgba(249, 115, 22, 0.12); color: #f97316; border-color: rgba(249, 115, 22, 0.3); }
.partners-section .section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem) !important;
  word-break: keep-all;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ===== originally: <style id="stage-background-blur-controls"> ===== */
/* STAGE 01 / STAGE 03 background blur controller */
.stage-card.stage-image-editable { --stage-bg-blur: 0px; --stage-bg-blur-num: 0; --stage-bg-scale: 1; }
.stage-card.stage-image-editable::before {
filter: blur(var(--stage-bg-blur));
transform: scale(var(--stage-bg-scale, 1));
transform-origin: center;
}
.stage-card.stage-image-editable > .stage-upload-layer {
filter: blur(var(--stage-bg-blur));
transform: scale(var(--stage-bg-scale, 1));
}

.stage-card p{ color: var(--text-muted); margin-bottom: 20px; }

#diagQuizView { display:none; }
#diagDetailB { display:none; }

/* ===== small merges: id → the class the element already carries ===== */
.curriculum { background: #0f1219; }
.hero-pink2 { white-space: pre-wrap; color: rgb(240, 171, 252); font-family: "Nanum Pen Script", "Malgun Gothic", cursive; font-size: 38px; font-weight: 500; letter-spacing: normal; text-align: start; }



/* 개인정보처리방침 */
.webtoon-privacy-wrap{
  overflow:hidden;
}
.webtoon-privacy-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin: 6px 0;
  gap:8px;
}
.webtoon-privacy-label{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:14px;
  color:rgba(255,255,255,.85);
  user-select:none;flex:1;
}
.webtoon-privacy-check{
  width:16px;
  height:16px;
  cursor:pointer;
  flex-shrink:0;
  accent-color:#e84c88;
}
.webtoon-privacy-toggle{
  background:none;
  border:none;
  padding:4px;
  cursor:pointer;
  color:rgba(255,255,255,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:color .2s;
}
.webtoon-privacy-toggle:hover{color:rgba(255,255,255,.9);}
.webtoon-privacy-arrow{
  font-size:22px;
  transition:transform .25s ease;
}
.webtoon-privacy-toggle[aria-expanded="true"] 
.webtoon-privacy-arrow{transform:rotate(180deg);}
.webtoon-privacy-content{
  display:none;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}
.webtoon-privacy-inner{
  font-size:12px;
  line-height:1.25;
  color:rgba(255,255,255,.6);
  max-height:280px;
  overflow-y:auto;
}
.webtoon-privacy-inner span{
  display: inline-block;
  margin: 6px 0;
}
.webtoon-privacy-inner li::before{
  content: "-";
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-right: 4px;
}
.webtoon-privacy-inner::-webkit-scrollbar{width:5px;}
.webtoon-privacy-inner::-webkit-scrollbar-track{background:transparent;}
.webtoon-privacy-inner::-webkit-scrollbar-thumb{background:rgba(255,255,255,.45);border-radius:3px;}
.webtoon-privacy-inner::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.6);}