/* MBTI텔링 사이트. 채널 색: 남색 바탕 + 채도 낮춘 네 무리 색, 글씨는 아이보리, 제목은 고운바탕 */
@font-face { font-family: "Gowun Batang"; src: url("/fonts/gowun-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --navy: #1b2545; --navy2: #2a3560; --ivory: #faf4e8; --paper: #fdfaf3; --ink: #252b40; --sub: #5d6479; --line: #e4dcc9;
  --manager: #5f87bd; --manager-t: #e4edf8; --explorer: #c9a24a; --explorer-t: #f8f0da;
  --diplomat: #5f9c80; --diplomat-t: #e2f1e9; --analyst: #8370ad; --analyst-t: #ece7f5;
  --accent: #c8553d; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.85 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: "Gowun Batang", "Apple SD Gothic Neo", serif; font-weight: 700; line-height: 1.4; }
h1 { font-size: clamp(30px, 6vw, 44px); margin: 0 0 14px; }
h2 { font-size: clamp(23px, 4.4vw, 29px); margin: 2.4em 0 .7em; }
h3 { font-size: 20px; margin: 1.9em 0 .5em; }
p { margin: 0 0 1.1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 머리 */
.top { background: var(--navy); color: var(--ivory); position: sticky; top: 0; z-index: 30; }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: "Gowun Batang", serif; font-weight: 700; font-size: 20px; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; font-size: 15px; padding: 7px 11px; border-radius: 8px; white-space: nowrap; color: #dfe0e6; }
.nav a:hover, .nav a.on { background: rgba(255,255,255,.13); color: #fff; }
@media (max-width: 720px) { .top .wrap { flex-wrap: wrap; gap: 0; padding-top: 8px; } .brand { width: 100%; } .nav { flex: 1 1 100%; margin: 2px -11px 4px; } }

/* 첫 화면 */
.hero { position: relative; color: var(--ivory); background: var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/brand/banner.webp") center 62% / cover no-repeat; opacity: .78; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,27,54,.9) 0%, rgba(20,27,54,.55) 58%, rgba(20,27,54,.12) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(46px, 9vw, 92px); padding-bottom: clamp(46px, 9vw, 92px); }
.hero h1 { font-size: clamp(32px, 6.4vw, 54px); max-width: 15em; }
.hero p { max-width: 31em; color: #efeadd; font-size: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 9px 20px; border-radius: 999px; border: 0; background: var(--ivory); color: var(--navy); font: 600 16px/1.3 inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(.96); }
.btn.dark { background: var(--navy); color: var(--ivory); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.red { background: var(--accent); color: #fff; }
.btn[disabled] { opacity: .55; cursor: default; }

/* 칸 */
section.block { padding: clamp(36px, 7vw, 66px) 0; }
section.block.tint { background: var(--ivory); }
section.block.navy { background: var(--navy); color: var(--ivory); }
.block > .wrap > h2:first-child, .block > .narrow > h2:first-child, .eyebrow + h2, .eyebrow + h1 { margin-top: 0; }
.eyebrow { font-size: 14px; letter-spacing: .04em; color: var(--sub); margin: 0 0 6px; font-weight: 600; }
.navy .eyebrow { color: #c5c8d6; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: #bfb49a; box-shadow: 0 6px 22px rgba(30,30,50,.09); }
.card .pad { padding: 14px 16px 16px; }
.card h3 { margin: 0 0 4px; font-size: 19px; }
.card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sub); }
.thumb { aspect-ratio: 16/9; background: var(--navy2) center/cover no-repeat; position: relative; }
.badge { display: inline-block; font-size: 13px; line-height: 1.4; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #efe9da; color: #5a5442; }
.badge.soon { background: #fbe6d6; color: #8a4a1d; }
.badge.live { background: #d9efe3; color: #1f6a47; }
.card .pad > .badge { margin-bottom: 7px; }

/* 영상 칸 */
.video { position: relative; background: var(--navy); border-radius: var(--radius); overflow: hidden; color: var(--ivory); margin: 20px 0 8px; }
.video .frame { aspect-ratio: 16/9; position: relative; background: var(--navy2) center/cover no-repeat; display: block; width: 100%; cursor: pointer; }
.video iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.video .play::after { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 5px; }
.video .state { padding: 12px 16px 0; text-align: left; line-height: 1.45; }
.video .state b { display: block; font-family: "Gowun Batang", serif; font-size: 18px; margin-bottom: 2px; }
.video .state span { font-size: 14px; color: #e6e3d8; }
.video .foot { padding: 11px 16px; font-size: 14.5px; line-height: 1.55; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }
.video .foot a { color: var(--ivory); font-weight: 600; }
.more-chips { margin: 8px 0 24px; padding: 14px 16px; background: var(--ivory); border-radius: var(--radius); }
.more-chips p { margin: 0 0 8px; font-weight: 600; font-size: 15.5px; }
.more-chips a { display: block; font-size: 15.5px; padding: 3px 0; color: var(--accent); }

/* 글 안 조각 */
.lead { font-size: 19px; line-height: 1.75; color: #3c4358; }
.keyline { font-family: "Gowun Batang", serif; font-weight: 700; font-size: clamp(21px, 4vw, 26px); line-height: 1.55; text-align: center; padding: 26px 18px; margin: 22px 0; background: var(--navy); color: var(--ivory); border-radius: var(--radius); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.compare > div { border-radius: var(--radius); padding: 16px 15px; background: #eef2f9; }
.compare > div:last-child { background: #f8eee1; }
.compare .icon { width: 42px; height: 42px; color: var(--navy); }
.compare b { display: block; font-family: "Gowun Batang", serif; font-size: 21px; margin: 6px 0 2px; }
.compare p { margin: 0; font-size: 15.5px; line-height: 1.65; }
.myth { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 20px; }
.myth div { text-align: center; font-weight: 700; padding: 14px 10px; background: #fff; border: 1.5px dashed #c9bda2; border-radius: var(--radius); font-size: 16.5px; line-height: 1.45; color: #4d4c47; }
.myth small { display: block; font-size: 12.5px; font-weight: 600; color: var(--accent); margin-top: 3px; }
.scene { margin: 22px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scene img { width: 100%; }
.scene .sc-body { padding: 14px 16px 16px; }
.scene h3 { margin: 0 0 10px; font-size: 18.5px; }
.say { display: flex; gap: 10px; margin: 0 0 9px; align-items: flex-start; font-size: 16px; line-height: 1.6; }
.say .tag { flex: none; font-size: 12.5px; line-height: 1.5; padding: 2px 8px; border-radius: 999px; color: #fff; font-weight: 700; margin-top: 2px; text-decoration: none; }
.tag.manager, .gbg-manager { background: var(--manager); } .tag.explorer, .gbg-explorer { background: var(--explorer); } .tag.diplomat, .gbg-diplomat { background: var(--diplomat); } .tag.analyst, .gbg-analyst { background: var(--analyst); }
.scene .note { margin: 11px 0 0; font-size: 15px; line-height: 1.7; color: var(--sub); border-top: 1px solid var(--line); padding-top: 10px; }
figure.frame-fig { margin: 20px 0; }
figure.frame-fig img { border-radius: var(--radius); }
figure.frame-fig figcaption { font-size: 14px; color: var(--sub); margin-top: 6px; text-align: center; }
.ask { background: var(--ivory); border-radius: var(--radius); padding: 13px 15px; margin: 10px 0; }
.ask .q { font-weight: 600; margin-bottom: 7px; line-height: 1.55; }
.ask .a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 15px; line-height: 1.55; }
.ask .a div { background: #fff; border-radius: 9px; padding: 8px 10px; }
.groups { display: grid; gap: 8px; margin: 14px 0 20px; }
.groups > div { padding: 11px 14px; border-radius: 10px; font-size: 15.5px; line-height: 1.65; }
.groups .manager { background: var(--manager-t); } .groups .explorer { background: var(--explorer-t); } .groups .diplomat { background: var(--diplomat-t); } .groups .analyst { background: var(--analyst-t); }
.letters4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.letters4 a, .letters4 div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; text-decoration: none; color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.letters4 b { display: block; font-size: 26px; font-family: "Gowun Batang", serif; line-height: 1.2; }
.letters4 .icon { width: 30px; height: 30px; margin: 4px auto; color: var(--navy); }
.letters4 em { display: block; font-style: normal; font-weight: 700; font-size: 14px; }
@media (max-width: 560px) { .letters4 { grid-template-columns: repeat(2, 1fr); } }
ul.tips { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
ul.tips li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--explorer); border-radius: 10px; padding: 11px 14px; font-size: 16px; line-height: 1.7; }
article ul:not(.tips) { padding-left: 1.2em; }

/* 유형 판 */
.tgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 620px) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
.tcard { display: block; text-decoration: none; color: var(--ink); text-align: center; border-radius: var(--radius); padding: 14px 8px 13px; border: 1px solid transparent; }
.tcard.manager { background: var(--manager-t); } .tcard.explorer { background: var(--explorer-t); } .tcard.diplomat { background: var(--diplomat-t); } .tcard.analyst { background: var(--analyst-t); }
.tcard:hover { border-color: rgba(30,40,70,.28); }
.tcard img { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 7px; background: #fff; }
.tcard b { display: block; font-size: 19px; line-height: 1.3; font-family: "Gowun Batang", serif; }
.tcard small { display: block; font-size: 13px; line-height: 1.45; color: #4d5468; margin-top: 3px; }
.tcard .ko { font-size: 12.5px; color: #5d6479; }
.ghead { display: flex; align-items: baseline; gap: 9px; margin: 24px 0 10px; }
.ghead b { font-family: "Gowun Batang", serif; font-size: 20px; }
.ghead span { font-size: 14.5px; color: var(--sub); }

/* 유형 쪽 머리 */
.type-hero { padding: clamp(28px, 6vw, 52px) 0 0; }
.type-hero.manager { background: var(--manager-t); } .type-hero.explorer { background: var(--explorer-t); } .type-hero.diplomat { background: var(--diplomat-t); } .type-hero.analyst { background: var(--analyst-t); }
.type-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.type-hero .pair { display: flex; align-items: flex-start; gap: 2px; height: clamp(190px, 34vw, 340px); overflow: hidden; }
.type-hero .pair img { height: 108%; width: auto; display: block; max-width: none; }
.type-hero h1 { margin-bottom: 6px; }
.type-hero .wrap > div:first-child { padding-bottom: 26px; }
.nick { font-family: "Gowun Batang", serif; font-size: clamp(19px, 3.6vw, 24px); margin: 0 0 8px; }
.facts { display: grid; gap: 9px; margin: 14px 0; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; font-size: 16px; line-height: 1.65; }
.facts b { display: block; font-size: 13.5px; color: var(--sub); font-weight: 600; }
.notice { font-size: 14.5px; line-height: 1.7; color: #5a5442; background: var(--ivory); border-radius: 11px; padding: 11px 14px; margin: 16px 0; }
.notice.strong { background: #fbe9dd; color: #6d3c1c; }
.want { background: var(--navy); color: var(--ivory); border-radius: var(--radius); padding: 19px 18px; margin: 24px 0; }
.want h3 { margin: 0 0 6px; }
.want p { font-size: 15.5px; margin-bottom: 12px; color: #e5e2d7; }
.want .done { font-weight: 600; }

/* 상황별 */
.react-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 228px), 1fr)); gap: 12px; margin: 18px 0; }
.react { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.react img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.react .rb { padding: 11px 13px 13px; }
.react .tag { display: inline-block; font-size: 12.5px; padding: 2px 8px; border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; }
.react q { display: block; quotes: none; font-weight: 600; font-size: 15.5px; line-height: 1.55; margin: 7px 0 5px; }
.react p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--sub); }
.sit-card .faces { display: flex; padding: 12px 14px 0; }
.sit-card .faces img { width: 34px; height: 34px; border-radius: 50%; margin-right: -7px; border: 2px solid #fff; background: #fff; }
.filter { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.filter button { min-height: 38px; padding: 5px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 14.5px inherit; font-family: inherit; color: var(--ink); cursor: pointer; }
.filter button.on { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

/* 궁합 */
.picker { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.picker select { width: 100%; min-height: 50px; font: 600 18px inherit; font-family: inherit; padding: 8px 12px; border-radius: 12px; border: 1.5px solid #cfc6b0; background: #fff; color: var(--ink); }
.picker .x { font-family: "Gowun Batang", serif; font-size: 24px; }
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.panel { border-radius: var(--radius); padding: 14px 12px 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-height: 310px; }
.panel.manager { background: var(--manager-t); } .panel.explorer { background: var(--explorer-t); } .panel.diplomat { background: var(--diplomat-t); } .panel.analyst { background: var(--analyst-t); }
.bubble { background: #fff; border-radius: 13px; padding: 11px 13px; font-size: 15.5px; line-height: 1.55; font-weight: 600; position: relative; box-shadow: 0 2px 8px rgba(30,30,50,.08); }
.bubble::after { content: ""; position: absolute; bottom: -8px; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.panel img { width: min(100%, 190px); margin: 14px auto 0; }
.panel .who { text-align: center; font-weight: 700; font-size: 14.5px; margin-top: 8px; }
.sit-title { text-align: center; font-weight: 600; color: var(--sub); margin: 18px 0 -6px; }
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0; }
.diffs a, .diffs div { text-align: center; padding: 10px 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 13px; line-height: 1.45; text-decoration: none; color: var(--ink); }
.diffs b { display: block; font-size: 20px; font-family: "Gowun Batang", serif; line-height: 1.25; }
.diffs .diff { background: #fbe9dd; border-color: #eec7ab; }
.pairlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 7px; }
.pairlist a { display: block; text-decoration: none; font-size: 14.5px; padding: 7px 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; text-align: center; }

/* 퀴즈 */
.q-wrap { max-width: 620px; margin: 0 auto; }
.bar { height: 7px; background: #eadfca; border-radius: 9px; overflow: hidden; margin: 8px 0 22px; }
.bar i { display: block; height: 100%; background: var(--accent); width: 0; transition: width .25s; }
.q-text { font-family: "Gowun Batang", serif; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.5; min-height: 2.9em; }
.q-opts { display: grid; gap: 10px; margin-top: 12px; }
.q-opts button { text-align: left; min-height: 62px; padding: 13px 16px; border-radius: 13px; border: 1.5px solid #d6ccb6; background: #fff; font: 500 16.5px/1.55 inherit; font-family: inherit; color: var(--ink); cursor: pointer; }
.q-opts button:hover { border-color: var(--navy); background: var(--ivory); }
.score { display: grid; gap: 9px; margin: 16px 0; }
.score .row { display: grid; grid-template-columns: 22px 1fr 22px; gap: 9px; align-items: center; font-weight: 700; }
.score .track { display: flex; gap: 3px; }
.score .track i { flex: 1; height: 11px; border-radius: 3px; background: #e7ddc8; }
.score .track i.on { background: var(--navy); }
.result-img { max-width: min(100%, 420px); margin: 16px auto; border-radius: var(--radius); box-shadow: 0 8px 28px rgba(30,30,50,.17); }
.share-row { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 14px 0; }

/* 폼 */
.form { display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0; }
.form input[type=email] { flex: 1 1 230px; min-height: 48px; padding: 8px 14px; font: 400 16px inherit; font-family: inherit; border-radius: 11px; border: 1.5px solid #cfc6b0; }
.consent { font-size: 13.5px; line-height: 1.6; color: inherit; opacity: .85; margin: 4px 0 0; }
.subs { background: var(--navy); color: var(--ivory); border-radius: var(--radius); padding: 22px 20px; }
.subs h2, .subs h3 { margin-top: 0; }
.subs a { color: var(--ivory); }
.subs .msg { font-weight: 600; margin: 8px 0 0; min-height: 1.4em; }
.product { display: flex; flex-direction: column; }
.product .pad { flex: 1; display: flex; flex-direction: column; }
.product .act { margin-top: auto; padding-top: 12px; }

/* 아래 */
footer { background: var(--navy); color: #cfd2de; font-size: 14.5px; line-height: 1.75; padding: 36px 0 44px; margin-top: 30px; }
footer a { color: #eceade; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .cols { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer .fine { font-size: 13px; color: #aeb3c5; margin: 8px 0 0; }
.crumb { font-size: 14px; color: var(--sub); padding: 14px 0 0; }
.crumb a { color: inherit; }
.bottom-cta { margin: 30px 0; padding: 20px 18px; background: var(--ivory); border-radius: var(--radius); }
.bottom-cta h3 { margin-top: 0; }
.fineprint { font-size: 14px; color: var(--sub); }

/* 광고: 버튼과 헷갈리거나 잘못 눌리지 않게 위아래를 넉넉히 띄운다. 채울 광고가 없으면 칸을 접는다 */
.ad { margin: 40px 0; text-align: center; }
.ad p { margin: 0 0 6px; font-size: 12.5px; color: var(--sub); }
.ad ins { min-height: 250px; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad.preview div { min-height: 250px; display: flex; align-items: center; justify-content: center; padding: 16px; border: 2px dashed var(--line); border-radius: 12px; font-size: 14.5px; line-height: 1.6; color: var(--sub); background: var(--paper); }
