/* TuTea 랜딩: 흰색에 초록을 아주 살짝 물탄 바탕 + 검은 글자. 초록은 애벌레와 펜(형광펜)에만 쓴다. */
:root {
  color-scheme: light;
  --ground: #fcfdfc;
  --paper: #ffffff;
  --ink: #0d0d0d;
  --muted: #5d625f;
  --line: #e6e8e6;
  --soft: #f1f3f1;
  --pen: #bbf7d0;
  --pen-strong: #16a34a;
  --on-ink: #ffffff;
  --on-ink-soft: #c9cecb;
  --body: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
/* 모든 구역이 같은 왼쪽 선에서 시작한다. 글이 긴 구역은 폭만 줄이고 가운데로 옮기지 않는다 */
.narrow > * { max-width: 760px; }
section { padding-block: 76px; }
h2 { font-size: clamp(26px, 4.2vw, 38px); line-height: 1.32; font-weight: 750; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.lead { color: var(--muted); max-width: 36em; margin-top: 14px; }
.note { font-size: 13.5px; color: var(--muted); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }

/* ---------- 두 판 (aud_v1): 중·고등학생판 / 대학생판. aud.js가 <html>에 aud-teen·aud-uni를 단다 ---------- */
html.aud-teen [data-show="uni"], html.aud-uni [data-show="teen"] { display: none !important; }
.top-right { display: inline-flex; align-items: center; gap: 14px; }
.aud-switch { border: 0; background: none; padding: 4px 2px; color: var(--muted); font: inherit; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.aud-switch:hover { color: var(--ink); }
/* 처음 들어왔을 때 묻는 창 */
.aud-pick { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); background: rgba(13, 13, 13, .38); backdrop-filter: blur(3px); }
.aud-pick[hidden] { display: none; }
body.picking { overflow: hidden; }
.aud-card { width: min(100%, 520px); display: grid; justify-items: center; gap: 10px; padding: 30px 26px 22px; border-radius: 24px; background: var(--paper); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .45); text-align: center; }
.aud-card h2 { font-size: clamp(22px, 4vw, 27px); margin-top: 6px; }
.aud-card > p { color: var(--muted); font-size: 15.5px; }
.aud-opts { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.aud-opts button { display: grid; gap: 3px; justify-items: start; text-align: left; padding: 15px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.aud-opts button:hover, .aud-opts button:focus-visible { border-color: var(--ink); outline: none; }
.aud-opts b { font-size: 17.5px; font-weight: 800; }
.aud-opts span { font-size: 13.5px; color: var(--muted); }
.aud-skip { margin-top: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.hero { padding-block: 4px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.kicker { color: var(--muted); font-weight: 600; font-size: 16px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.2; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.swipe { background: linear-gradient(transparent 64%, var(--pen) 64%, var(--pen) 94%, transparent 94%); padding-inline: 2px; white-space: nowrap; }
.hero-sub { color: var(--muted); max-width: 30em; font-size: 18px; }
.cta { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.cta:hover { background: #2a2d2b; }
.cta[disabled] { opacity: .55; cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-note { color: var(--muted); font-size: 15px; }
.hero-media { display: grid; gap: 10px; justify-items: center; min-width: 0; }
/* 릴스와 같은 세로 영상을 휴대폰 화면처럼 세운다 */
.hero-video { display: block; height: clamp(560px, calc(100vh - 128px), 840px); width: auto; aspect-ratio: 720 / 966; border-radius: 28px; background: var(--soft); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 40px 80px -36px rgba(0, 0, 0, .45); object-fit: cover; }
.hero-media figcaption { font-size: 13px; color: var(--muted); text-align: center; }
/* 시연 장면이라는 표시: 밝히되 눈에 띄지 않게 */
.demo-note { font-size: 11.5px; color: #b4b9b6; font-weight: 400; }
/* 첫 화면 바로 아래, 믿을 근거 한 줄 */
.proof-band { padding-block: 0 8px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-block: 18px; border-block: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.proof b { color: var(--ink); font-weight: 750; }

/* 장면 셋: 글 한 줄 + 그 장면. 넓은 화면은 글과 영상을 나란히 */
/* 왜 필요한가: 비용·시간·기억 (2026-11-21, 중고등학생 방향). 짧게 세 줄과 한 줄 */
.why3 { padding-bottom: 0; }
.why3-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.why3-list li { display: grid; gap: 6px; align-content: start; padding-top: 14px; border-top: 2px solid var(--ink); }
.why3-list b { font-size: 19px; font-weight: 800; }
.why3-list span { color: var(--muted); font-size: 16.5px; }
.why3-list small { display: block; margin-top: 4px; font-size: 12.5px; color: #9ca29f; }
.why3-us { margin-top: 28px; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--pen) 30%, var(--paper)); font-weight: 600; }
.why3-us b { font-weight: 800; }
.scenes h2 { margin-bottom: 8px; }
.scene { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 56px; }
.scene-copy { display: grid; gap: 10px; align-content: start; }
.scene-copy p:last-child { color: var(--muted); max-width: 26em; }
.scene-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--pen); font-weight: 800; font-size: 15px; }
.scene h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; }
.scene-media { min-width: 0; }
.scene-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--soft); box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px rgba(0, 0, 0, .3); }
.after { margin-top: 48px !important; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--pen) 30%, var(--paper)); font-weight: 600; }
.after .demo-note { display: block; margin-top: 2px; }
.ch-open { min-height: 50px; margin-top: 20px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.ch-open:hover { background: var(--soft); }
.faq .facts { display: grid; gap: 6px; margin-top: 8px; padding-left: 1.1em; list-style: disc; color: var(--muted); }
/* 실제 신청 수: 정한 수를 넘었을 때만 보인다 (/api/count) */
.count { color: var(--ink); font-weight: 700; margin-right: 6px; }
.count::after { content: " ·"; color: var(--muted); font-weight: 400; }
.count-line { margin-top: 8px; font-weight: 700; }


.faq { background: var(--paper); }
.faq-list { margin-top: 24px; }
details { border-top: 1px solid var(--line); padding-block: 14px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--muted); font-weight: 500; }
details[open] > summary::after { content: "−"; }
.terms summary { justify-content: flex-start; }
.terms summary::after { content: none; }
details p { color: var(--muted); margin-top: 8px; }

.join { scroll-margin-top: 16px; }
.join-head { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: center; }
.join-head img { display: block; width: 150px; height: auto; }
.form, .done { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; margin-top: 24px; }

.done p { color: var(--muted); }
.field { display: grid; gap: 4px; min-width: 0; }
.field label { font-weight: 600; font-size: 16px; }
.field small { color: var(--muted); font-weight: 500; }
.field input { width: 100%; padding: 12px 13px; border: 1px solid #c9cdca; border-radius: 10px; background: var(--paper); color: var(--ink); min-height: 48px; }
.field input[aria-invalid="true"] { border-color: #b42318; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 15px; color: var(--ink); align-items: start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--ink); }
.terms { border: 0; padding: 0 0 0 30px; font-size: 14px; }
.terms summary { font-weight: 600; color: var(--muted); font-size: 14px; }
.terms ul { display: grid; gap: 4px; margin-top: 6px; color: var(--muted); background: var(--ground); border-radius: 10px; padding: 12px 14px; }
.terms b { color: var(--ink); margin-right: 6px; }
.form .cta { width: 100%; }
.status { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.status.err { color: #b42318; }
/* 친구에게 보내기: 신청 전 한 줄, 신청 뒤 내 링크와 보낼 말 */
.share-hint { margin-top: 14px !important; font-size: 15px; color: var(--muted); }
.share-hint button { border: 0; padding: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.invite { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: color-mix(in srgb, var(--pen) 28%, var(--paper)); }
.invite-head { font-size: 18px; font-weight: 750; color: var(--ink) !important; }
.invite b { color: var(--ink); }
.my-link { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.my-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.my-link button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.invite .cta { gap: 8px; }
.share-msg-label { font-size: 13px; font-weight: 650; }
.share-msg { margin-top: -6px !important; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--ink) !important; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 20; transform: translateX(-50%); max-width: min(92vw, 520px); padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--on-ink); font-size: 14.5px; font-weight: 600; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4); }
footer { padding-block: 28px 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

.dock { display: none; }
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 8px 48px; }
  .hero-video { height: auto; width: min(100%, 480px); border-radius: 22px; }
  section { padding-block: 56px; }
  .scene { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 44px; }
  .top-link { display: none; }
  .cta-row { display: none; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--paper); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .dock .cta { display: flex; }
  .dock[hidden] { display: none !important; }
  footer { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .join-head { grid-template-columns: minmax(0, 1fr) 96px; }
  .join-head img { width: 96px; }
}
/* ---------- 30초 착각 테스트 ---------- */
.play { background: var(--paper); }
.ch-friend { margin-top: 18px !important; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--pen) 45%, #fff); font-weight: 700; max-width: 720px; }
.ch-box { max-width: 720px; margin-top: 20px; padding: 22px; border: 1.5px solid var(--ink); border-radius: 18px; background: var(--ground); display: grid; }
.ch-box > div { display: grid; gap: 12px; min-width: 0; }
.ch-step { font-size: 14px; font-weight: 650; color: var(--muted); }
.ch-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ch-topic { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.ch-topic:hover { border-color: var(--ink); }
.ch-topic b { font-size: 16.5px; }
.ch-topic small { font-size: 13px; color: var(--muted); }
.ch-topic.dare { border-color: var(--pen-strong); box-shadow: 0 0 0 1px var(--pen-strong); }
.ch-topic.dare small { color: #166534; font-weight: 650; }
.ch-mode { font-size: 13.5px; color: var(--muted); }
.ch-mode button, .ch-ghost { border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 650; cursor: pointer; }
.ch-mode button { font-size: 13px; padding: 3px 10px; margin-left: 4px; }
.ch-ghost { min-height: 54px; padding: 0 22px; font-size: 16px; }
.ch-q { font-size: 17px; font-weight: 650; }
.ch-self { display: flex; align-items: baseline; gap: 10px; }
.ch-self b { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ch-self span { font-size: 18px; font-weight: 700; }
.ch-range { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; margin: 6px 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--ink) calc(var(--p, .5) * 100%), var(--soft) 0); }
.ch-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 2px 6px rgb(0 0 0 / .15); cursor: grab; }
.ch-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); cursor: grab; }
.ch-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.ch-clock { display: flex; align-items: baseline; gap: 4px; }
.ch-clock b { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ch-bar { display: block; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--pen-strong) calc(var(--p, 0) * 100%), var(--soft) 0); }
.ch-heard { min-height: 4.6em; padding: 12px 14px; border-radius: 12px; background: var(--paper); border: 1px dashed #c9cdca; font-size: 16px; }
.ch-heard:empty::before { content: "말하면 여기에 받아 적혀요"; color: #9ca29f; }
.ch-typed { width: 100%; padding: 12px 14px; border: 1px solid #c9cdca; border-radius: 12px; font: inherit; font-size: 16px; resize: vertical; }
.ch-status { font-size: 14px; color: var(--muted); }
.ch-out-how { font-size: 15px; line-height: 1.6; }
#ch-out h3 { margin: 4px 0 6px; }
#ch-out .share-row { margin: 14px 0 10px; }

/* 분석 과정: 실제로 한 일과 결과 수치를 차례로 띄운다 */
.ch-scan { padding: 18px; margin: -6px; border-radius: 14px; background: var(--ink); color: var(--on-ink); }
.scan-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; }
.scan-head i { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgb(74 222 128 / .6); animation: ping 1.2s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgb(74 222 128 / 0); } }
.scan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.scan-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; background: rgb(255 255 255 / .05); opacity: .28; transition: opacity .25s; }
.scan-steps li span::before { content: "○"; display: inline-block; width: 1.4em; color: var(--on-ink-soft); }
.scan-steps li b { font-weight: 650; color: #86efac; visibility: hidden; text-align: right; }
.scan-steps li.run { opacity: 1; }
.scan-steps li.run span::before { content: "◌"; animation: spin .8s linear infinite; }
.scan-steps li.ok { opacity: 1; }
.scan-steps li.ok span::before { content: "✓"; color: #4ade80; }
.scan-steps li.ok b { visibility: visible; }
@keyframes spin { to { transform: rotate(360deg); } }
.wave-box { position: relative; overflow: hidden; border-radius: 10px; }
.wave { display: block; width: 100%; height: auto; }
.w-base { stroke: var(--line); stroke-width: 1; }
.w-bar { fill: var(--ink); }
.w-start { fill: var(--soft); }
.w-gap { fill: #fde68a; opacity: .6; }
.w-tag { font-size: 11px; fill: var(--muted); font-weight: 600; }
.w-tag.gap { fill: #92400e; }
.w-tick { font-size: 10.5px; fill: #9ca29f; }
.w-end { stroke: var(--muted); stroke-dasharray: 3 3; }
.ch-scan .wave-box { background: rgb(255 255 255 / .04); padding: 6px 4px 0; }
.ch-scan .w-base { stroke: rgb(255 255 255 / .15); }
.ch-scan .w-bar { fill: #4ade80; opacity: 0; animation: lit .2s linear forwards; animation-delay: calc(var(--d) * 2.6s); }
.ch-scan .w-start { fill: rgb(255 255 255 / .06); }
.ch-scan .w-gap { fill: #f59e0b; opacity: .22; }
.ch-scan .w-tag { fill: var(--on-ink-soft); }
.ch-scan .w-tag.gap { fill: #fbbf24; }
.ch-scan .w-end { stroke: rgb(255 255 255 / .3); }
@keyframes lit { to { opacity: 1; } }
.scanning::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 60px; background: linear-gradient(90deg, transparent, rgb(74 222 128 / .35), transparent); animation: sweep 2.6s linear forwards; }
@keyframes sweep { from { transform: translateX(-60px); } to { transform: translateX(calc(720px)); } }

/* 결과 */
.gap-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: end; gap: 8px; text-align: center; }
.gap-row div { display: grid; gap: 2px; padding: 12px 6px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.gap-row span { font-size: 13px; font-weight: 650; color: var(--muted); }
.gap-row b { font-size: clamp(36px, 7vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gap-row i { font-style: normal; font-size: 22px; color: var(--muted); padding-bottom: 22px; }
.gap-d.big { background: #fef3c7; border-color: #f59e0b; }
.gap-d.mid { background: #fffbeb; border-color: #fcd34d; }
.gap-d.even, .gap-d.under { background: color-mix(in srgb, var(--pen) 45%, #fff); border-color: #86efac; }
.ch-label { font-size: 20px; font-weight: 800; }
.ch-label small { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.ch-vs { padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--pen) 45%, #fff); font-weight: 700; }
.ch-panel { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 750; }
.legend { display: flex; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.legend em { font-style: normal; padding: 0 5px; border-radius: 4px; }
.ch-said { font-size: 16px; line-height: 1.9; }
.ch-fix-open { border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ch-fix { display: grid; gap: 8px; }
.ch-said mark, .legend em { color: inherit; background: none; }
.ch-said .key, .legend .k { background: var(--pen); }
.ch-said .hedge, .legend .h { background: #fde68a; }
.ch-said .filler, .legend .f { background: var(--soft); color: var(--muted); }
.ch-said .trap, .legend .t { background: none; text-decoration: underline wavy #dc2626; text-underline-offset: 4px; }
.ch-said mark { border-radius: 4px; padding: 1px 0; }
.ch-split { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: center; }
.quad-box { max-width: 220px; }
.quad { display: block; width: 100%; height: auto; }
.q-cell { fill: var(--soft); }
.q-cell.on { fill: var(--pen); }
.q-name { font-size: 12px; font-weight: 650; fill: var(--muted); }
.q-axis { font-size: 10.5px; fill: #9ca29f; }
.q-dot { fill: var(--ink); }
.q-ring { fill: none; stroke: var(--ink); stroke-width: 1.5; opacity: .35; transform-box: fill-box; transform-origin: center; animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(.5); opacity: .6; } to { transform: scale(1.3); opacity: 0; } }
.ch-meters { display: grid; gap: 10px; }
.ch-quad-name { font-size: 18px; font-weight: 800; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; font-size: 14.5px; }
.meter span { color: var(--muted); font-weight: 650; }
.meter .ch-bar { grid-column: 1 / -1; }
.ch-keys { display: grid; gap: 6px; font-size: 15px; }
.ch-keys li { padding: 7px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); }
.ch-keys .hit { border-color: #86efac; }
.ch-keys .miss { color: var(--muted); }
.ch-keys .trap { border-color: #f2b01e; }
.ch-dare { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 650; }
.ch-dare div { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { padding: 6px 12px; border: 1px solid #c9cdca; border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.chip-btn:hover { border-color: var(--ink); }
.ch-next { font-size: 14.5px; color: var(--muted); }
.ch-next a { color: var(--ink); font-weight: 700; }
@media (max-width: 700px) {
  .ch-box { padding: 16px; }
  .ch-topics { grid-template-columns: 1fr; }
  .ch-split { grid-template-columns: 1fr; justify-items: center; }
  .ch-meters { width: 100%; }
  .gap-row { gap: 4px; }
  .gap-row i { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-scan .w-bar { animation: none; opacity: 1; }
  .scanning::after, .q-ring, .scan-head i { animation: none; }
}
/* ---------- 신청 뒤 설문 ---------- */
.survey { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.survey-head { font-size: 17px; font-weight: 750; color: var(--ink) !important; padding-top: 10px; }
.survey-head small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.survey fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.survey legend { padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 650; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 7px 13px; border: 1px solid #c9cdca; border-radius: 999px; background: var(--paper); font-size: 14px; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-weight: 650; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.survey-send { min-height: 44px; padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }

/* 휴대폰: 장면 영상은 세로판, 믿을 근거는 한 줄씩 */
@media (max-width: 700px) {
  .scene-video { width: min(100%, 420px); margin-inline: auto; aspect-ratio: 720 / 966; border-radius: 22px; }
  .proof { display: grid; gap: 6px; padding-block: 14px; font-size: 15px; }
  .scenes h2 br { display: none; }
  .why3-list { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
