/* 사우보나 부모 테스트 시리즈 — 파스텔 테마 (시작: 2026-11-02)
   따뜻한 파스텔, 친근하고 귀엽게. shared.css 와 같은 클래스 이름을 쓰므로 페이지 스크립트는 손대지 않는다. */
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Gaegu:wght@700&display=swap');
:root{
  --bg:#fff7ee; --card:#ffffff; --ink:#4a4458; --sub:#8b86a0; --line:#f3e6dc;
  --orange:#ffab8a; --orange-deep:#f07f5e; --orange-soft:#ffe6da;
  --blue:#9cc5ff; --blue-soft:#e4efff; --mint:#9fe3c9; --mint-soft:#e3f7ee;
  --mustard:#ffd98a; --mustard-soft:#fff3d6; --lav:#c9b8ff; --lav-soft:#efe9ff;
  --pink:#ffb3c7; --pink-soft:#ffe6ee; --red:#f28b82;
  --r:28px; --shadow:0 8px 24px rgba(120,90,140,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);background-image:radial-gradient(circle at 12% 8%,#ffe9dd 0,transparent 28%),radial-gradient(circle at 88% 22%,#e9f6ff 0,transparent 26%),radial-gradient(circle at 70% 90%,#f3ecff 0,transparent 30%);background-attachment:fixed;color:var(--ink);font-family:"Gowun Dodum",-apple-system,"Apple SD Gothic Neo","Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}
.wrap{max-width:560px;margin:0 auto;padding:28px 20px 100px;position:relative}
h1{font-size:34px;line-height:1.2;letter-spacing:-.3px;margin:14px 0 8px;font-weight:700}
h2{font-size:20px;margin:0 0 12px;font-weight:700}
h3{font-size:16px;margin:18px 0 6px;font-weight:700}
h2::before{content:"";display:inline-block;vertical-align:-4px;width:24px;height:24px;margin-right:8px;background:var(--t,var(--orange)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='74' cy='88' r='11' fill='%23000'/%3E%3Ccircle cx='126' cy='88' r='11' fill='%23000'/%3E%3Cpath d='M70,120 Q100,150 130,120' stroke='%23000' stroke-width='12' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;border:2px solid #000;border-radius:48% 52% 50% 50%/52% 48% 52% 48%}
p{margin:0 0 10px}
.sub{color:var(--sub);font-size:15px;margin:0 0 22px}
.small{font-size:13px;color:var(--sub)}
.card{background:var(--card);border-radius:var(--r);padding:22px;margin-bottom:16px;box-shadow:var(--shadow);border:2px solid #fff}
.card.soft{background:var(--orange-soft)}
.card.blue{background:var(--blue-soft)}
.card.mint{background:var(--mint-soft)}
.card.mustard{background:var(--mustard-soft)}
.card.lav{background:var(--lav-soft)}
.card.pink{background:var(--pink-soft)}
.btn{display:block;width:100%;padding:17px;border:0;border-radius:999px;background:var(--ink);color:#fff;font-size:17px;font-weight:700;cursor:pointer;transition:transform .12s,background .15s,box-shadow .15s;box-shadow:0 6px 0 rgba(74,68,88,.18);font-family:inherit}
.btn:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(74,68,88,.18)}
.btn.orange{background:var(--orange-deep);box-shadow:0 6px 0 #d9684a}.btn.orange:hover{background:#ff8f6b}
.btn.ghost{background:#fff;color:var(--ink);border:2px dashed var(--line);box-shadow:none}
.btn.ghost:hover{background:var(--bg)}
.btn:disabled{opacity:.3;cursor:default}
.nav{display:flex;gap:10px;margin-top:18px}.nav .btn{flex:1}
/* 블롭 캐릭터 */
.blob{width:120px;height:120px;position:relative;display:inline-block;filter:drop-shadow(0 6px 0 rgba(120,90,140,.12))}
.blob svg{width:100%;height:100%}
.blob.sm{width:64px;height:64px}
.blob.xl{width:170px;height:170px}
.blobs{position:absolute;right:-20px;top:-10px;opacity:.95;pointer-events:none;animation:float 4s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-8px) rotate(3deg)}}
/* 문항 */
.dots{display:flex;gap:4px;margin-bottom:22px;flex-wrap:wrap}
.dots i{height:8px;flex:1;min-width:6px;border-radius:4px;background:var(--line)}
.dots i.on{background:var(--orange)}
.qtag{display:inline-block;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;background:var(--mustard-soft);color:#9a6b12;margin-bottom:12px}
.qnum{font-size:13px;color:var(--sub);font-weight:700;float:right;margin-top:6px}
.qtext{font-size:22px;font-weight:700;line-height:1.45;margin:0 0 8px;min-height:64px}
.qscene{font-size:15px;color:var(--sub);margin:0 0 20px;background:var(--bg);padding:10px 14px;border-radius:16px;border:2px dashed var(--line)}
.opts{display:flex;flex-direction:column;gap:10px}
.opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:14px 16px;border:2px solid var(--line);border-radius:20px;background:#fff;font-size:16px;font-weight:700;cursor:pointer;font-family:inherit;color:var(--ink);transition:transform .1s,border-color .15s,background .15s}
.opt:hover{border-color:var(--orange)}
.opt.on{border-color:var(--orange-deep);background:var(--orange-soft);transform:scale(1.01)}
.opt .dot{width:18px;height:18px;border-radius:50%;border:2px solid var(--line);flex:none;background:#fff}
.opt.on .dot{background:var(--orange-deep);border-color:var(--orange-deep);box-shadow:inset 0 0 0 3px #fff}
/* 결과 */
.badge{display:inline-block;background:var(--ink);color:#fff;font-size:12px;font-weight:700;padding:5px 14px;border-radius:999px;margin-bottom:12px;letter-spacing:.2px}
.badge.gold{background:var(--mustard);color:#5a4200}
.badge.blue{background:var(--blue-soft);color:#3a6fc4}
.hero{display:flex;gap:16px;align-items:center}
.hero .name{font-size:26px;font-weight:700;line-height:1.2}
.hero .tagline{font-size:15px;color:var(--sub);margin-top:4px}
.big{font-size:64px;font-weight:700;line-height:1;letter-spacing:-1px}
.big small{font-size:20px;color:var(--sub);font-weight:700;letter-spacing:0;margin-left:6px}
.pill{display:inline-block;font-size:12px;font-weight:700;padding:4px 12px;border-radius:999px;color:#fff;margin:6px 6px 0 0;background:var(--ink)}
.bar{height:14px;background:var(--line);border-radius:999px;overflow:hidden;margin:8px 0}
.bar i{display:block;height:100%;border-radius:999px;transition:width .6s ease;background:var(--orange)}
.lv{display:inline-block;font-size:11px;padding:2px 9px;border-radius:999px;color:#fff;margin-left:6px;font-weight:700;vertical-align:middle}
.dim{margin:14px 0}
.dim .name{display:flex;justify-content:space-between;font-size:15px;font-weight:700}
.dim p{font-size:14px;color:var(--sub);margin:4px 0 0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.el{background:var(--bg);border-radius:18px;padding:12px 14px;font-size:13px;color:var(--sub);border:2px dashed var(--line)}
.el b{display:block;color:var(--ink);font-size:14px;margin-bottom:2px}
table{width:100%;border-collapse:collapse;font-size:14px}
th{text-align:left;font-size:12px;color:var(--sub);font-weight:700;padding:6px 4px;border-bottom:2px dashed var(--line)}
td{padding:9px 4px;border-bottom:1px dashed var(--line);vertical-align:top}
td.n{text-align:right;font-weight:700;white-space:nowrap}
td.m{color:var(--sub);font-size:13px}
tr.sum td{border-bottom:0;font-weight:700}
.rank{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px dashed var(--line)}
.rank .no{width:28px;height:28px;border-radius:50%;color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none}
.rank b{display:block;font-size:15px}.rank span{font-size:13.5px;color:var(--sub)}
.quote{background:#fff;border-left:4px solid var(--blue);padding:10px 14px;border-radius:16px;margin:8px 0;font-size:15px}
.day{display:flex;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line);font-size:15px}
.day b{flex:none;width:48px;color:var(--orange-deep)}
.kid{display:flex;gap:12px;align-items:flex-start;background:var(--mustard-soft);border-radius:20px;padding:14px}
.kid .face{font-size:30px;line-height:1}
.share{background:var(--bg);border-radius:20px;padding:14px 16px;font-size:14.5px;white-space:pre-wrap;line-height:1.6;border:2px dashed var(--line)}
.field{width:100%;border:2px solid var(--line);border-radius:18px;padding:13px 15px;font-size:15px;font-family:inherit;background:#fff;color:var(--ink)}
.field:focus{outline:none;border-color:var(--orange)}
select.field{appearance:none}
.modal{position:fixed;inset:0;background:rgba(74,68,88,.45);display:flex;align-items:flex-end;justify-content:center;z-index:20}
.modal .box{background:#fff;border-radius:28px 28px 0 0;padding:24px 22px 34px;width:100%;max-width:560px}
.hidden{display:none!important}
.series{margin-top:26px}
.series h2{margin-bottom:10px}
.series a{display:flex;gap:14px;align-items:center;background:#fff;border-radius:24px;padding:14px 16px;text-decoration:none;color:var(--ink);margin-bottom:10px;box-shadow:var(--shadow);border:2px solid #fff;transition:transform .12s}
.series a:hover{transform:translateY(-2px)}
.series a b{display:block;font-size:16px}.series a span{font-size:13px;color:var(--sub)}
.series a .arrow{margin-left:auto;font-weight:700;color:var(--orange-deep)}
.topbar{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--sub);margin-bottom:10px;position:relative;z-index:2}
.blobs{top:46px}
.topbar a{color:var(--sub);text-decoration:none;background:#fff;border-radius:999px;padding:5px 12px;border:2px dashed var(--line)}
.tnav{display:flex;gap:5px;flex-wrap:wrap}
.tnav a{display:inline-flex;align-items:center;gap:4px;padding:5px 10px;font-weight:700;color:var(--ink);border-style:solid;border-color:var(--line)}
.tnav a i{font-style:normal;font-size:11px;color:var(--sub)}
.tnav a:first-child{background:var(--ink);color:#fff;border-color:var(--ink)}.tnav a:first-child i{color:#fff;opacity:.85}
@media (max-width:380px){.tnav a i{display:none}}
.price{display:flex;align-items:baseline;gap:10px;margin:14px 0}
.price b{font-size:30px}.price s{color:var(--sub)}
.note{font-size:12.5px;color:var(--sub);margin-top:22px;line-height:1.6;text-align:center}
.toast{position:fixed;left:50%;bottom:30px;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;padding:12px 20px;border-radius:999px;font-size:14px;font-weight:700;opacity:0;transition:.25s;pointer-events:none;z-index:30;box-shadow:var(--shadow)}
.toast.on{opacity:1;transform:translateX(-50%)}
.teaser{position:relative;background:#fff;border-radius:20px;padding:14px 16px;margin:12px 0;overflow:hidden;border:2px dashed var(--line)}
.teaser-in{filter:blur(5px);user-select:none;pointer-events:none;font-size:14px;color:var(--sub)}
.teaser-veil{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:var(--ink);background:rgba(255,255,255,.35)}
.reassure{text-align:center;font-size:13px;color:var(--sub);margin:10px 0 0}
.cmpHead{display:grid;grid-template-columns:1fr auto 1fr;font-weight:700;font-size:14px;padding:4px 0 8px;border-bottom:2px dashed var(--line)}
.cmpHead span:last-child{text-align:right}
.cmpRow{display:grid;grid-template-columns:1fr 92px 1fr;align-items:center;padding:8px 0;border-bottom:1px dashed var(--line)}
.cmpRow.big{background:var(--mustard-soft);margin:0 -10px;padding:9px 10px;border-radius:14px}
.cmpMid{text-align:center;font-size:13px;font-weight:700}.cmpMid small{display:block;font-size:11px;color:var(--orange-deep)}
.cmpSide{display:flex;align-items:center;gap:6px;font-size:13px}.cmpSide.L{flex-direction:row-reverse;justify-content:flex-start}.cmpSide.L i{margin-left:auto}.cmpSide.R{justify-content:flex-start}
.cmpSide i{display:block;height:12px;border-radius:999px;background:var(--orange);min-width:4px}
.cmpSide b{min-width:24px;text-align:center}
/* 글자 키우고 굵게 (261102 대표 지시) */
body{font-size:17px}
#result p,#result li,#result td,#result .dim p,#report p,#report li{font-size:17px;font-weight:600;line-height:1.7}
#result p[style*="font-size"],#report p[style*="font-size"]{font-size:17px!important}
#result .small,#report .small{font-size:14.5px;font-weight:600}
#result h2,#report h2{font-size:23px}#result h3,#report h3{font-size:18px}
#result .dim .name,#report .dim .name{font-size:17px}
#result .hero .name{font-size:30px}#result .hero .tagline{font-size:16px;font-weight:600}
.quote{font-size:17px;font-weight:600}
.share{font-size:16px;font-weight:600}
.pill{font-size:13px}
.lv{font-size:12px}
/* 자세히 읽기 */
.detail .dl{margin:0;display:grid;grid-template-columns:1fr;gap:4px}
.detail dt{font-size:13.5px;font-weight:700;color:var(--orange-deep);margin-top:12px}
.detail dd{margin:0;font-size:17px;font-weight:600;line-height:1.7}
.detail .dx{font-size:17px;font-weight:600;line-height:1.75}
.detail .why{background:var(--bg);border-radius:18px;padding:12px 14px;margin:10px 0;border:2px dashed var(--line)}
.detail .why h3{margin:0 0 4px}.detail .why .sc{font-size:14px;color:var(--sub);font-weight:700;margin-left:6px}
.detail .why .wl{margin:8px 0 2px;font-size:13.5px;color:var(--sub)}
.detail .why ul{margin:0;padding-left:0;list-style:none}.detail .why li{font-size:16px;font-weight:600;line-height:1.55;padding:6px 0;border-top:1px dashed var(--line)}
.detail .why .ans{display:inline-block;background:#fff;border:2px solid var(--line);border-radius:999px;padding:1px 9px;font-size:12.5px;font-weight:700;color:var(--orange-deep);margin-right:6px;white-space:nowrap}
/* 결과 길찾기 */
body.has-rnav .wrap{padding-bottom:120px}
.rtoc ol{margin:0;padding-left:22px;font-size:15px}.rtoc li{margin:4px 0}.rtoc a{color:var(--ink);text-decoration:none;border-bottom:2px dotted var(--orange)}
.card{position:relative}
.rnum{position:absolute;top:-10px;left:16px;width:28px;height:28px;border-radius:50%;background:var(--orange-deep);color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 0 #d9684a;border:2px solid #fff}
.rnav{position:fixed;left:50%;bottom:12px;transform:translateX(-50%);width:min(560px,calc(100% - 20px));background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-radius:24px;padding:6px 8px 8px;box-shadow:0 10px 30px rgba(120,90,140,.22);border:2px solid #fff;z-index:15}
.rnav-cap{font-size:12px;font-weight:700;color:var(--orange-deep);text-align:center;padding:2px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rnav-row{display:flex;align-items:center;gap:6px}
.rnav-in{flex:1;display:flex;flex-wrap:wrap;justify-content:center;gap:5px}
.rnav-in a{display:flex;text-decoration:none}
.rnav-in a b{width:28px;height:28px;border-radius:50%;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;color:var(--ink);border:2px solid var(--line)}
.rnav-in a.on b{background:var(--orange-deep);border-color:var(--orange-deep);color:#fff;transform:scale(1.12)}
body.has-rnav .wrap{padding-bottom:150px}
.rhome,.rtop{flex:none;width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:16px}
.rtop{background:#fff;color:var(--ink);border:2px dashed var(--line)}
.toc{position:sticky;top:8px;z-index:5;background:rgba(255,247,238,.92);backdrop-filter:blur(6px);padding:8px 0;border-radius:18px}
@media (max-width:400px){h1{font-size:30px}.qtext{font-size:20px}.big{font-size:52px}}
@media print{body{background:#fff}.topbar,.btn,.nav,.series,.modal,.reassure,.dots,#paywall,.teaser,#cmpBox,.blobs{display:none!important}.card{box-shadow:none;border:1px solid #ddd;break-inside:avoid}}

/* ===== 테스트 고유색 통일 (261102 밤, 대표 지시): 목록 동그라미 색 = 진행 점 = 선택 = 번호 = 홈 버튼 ===== */
:root{--t:var(--orange);--t-soft:var(--orange-soft);--t-deep:var(--orange-deep)}
body[data-t="gp"]{--t:#ff9c9c;--t-soft:#ffe3e3;--t-deep:#e86b6b}
body[data-t="pb"]{--t:#ffb97a;--t-soft:#ffe8d2;--t-deep:#e8923f}
body[data-t="cp"]{--t:#ffd966;--t-soft:#fff3c4;--t-deep:#c99a1e}
body[data-t="ct"]{--t:#9fdc9f;--t-soft:#e3f5e3;--t-deep:#4fae4f}
body[data-t="mr"]{--t:#8fc9ff;--t-soft:#e0f0ff;--t-deep:#3f8fe0}
body[data-t="an"]{--t:#9ea9ff;--t-soft:#e4e7ff;--t-deep:#5f6fe0}
body[data-t="st"]{--t:#c9a9ff;--t-soft:#efe6ff;--t-deep:#8f63e0}
body[data-t="tk"]{--t:#ffb0d2;--t-soft:#ffe4ef;--t-deep:#e05f93}
.dots i.on{background:var(--t)}
.qtag{background:var(--t-soft);color:#000;border:1.5px solid #2b2d42}
.opt:hover{border-color:var(--t)}
.opt.on{border-color:var(--t-deep);background:var(--t-soft)}
.opt.on .dot{background:var(--t-deep);border-color:var(--t-deep)}
.btn.orange{background:var(--t-deep);box-shadow:0 6px 0 rgba(0,0,0,.16)}.btn.orange:hover{background:var(--t-deep);filter:brightness(1.06)}
.card.soft{background:var(--t-soft)}
.bar i{background:var(--t)}
.chip.on{background:var(--t-deep)!important;border-color:var(--t-deep)!important}
.detail dt{color:var(--t-deep)}
.rtoc a{border-bottom-color:var(--t)}
.rnum{background:var(--t-deep);box-shadow:0 3px 0 rgba(0,0,0,.15)}
.rnav-cap{color:var(--t-deep)}
.rnav-in a.on b{background:var(--t-deep);border-color:var(--t-deep)}
.rhome{background:var(--t-deep)}
.day b{color:var(--t-deep)}
/* '결과로 받는 것' — 테스트 색으로 채운 상자 + 번호 */
.card.gets{background:var(--t);border-color:#fff;padding:16px 16px 14px}
.card.gets h2{font-size:18px;margin-bottom:10px;color:var(--ink)}
.gets-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.gets-list li{display:flex;align-items:center;gap:10px;font-size:16.5px;font-weight:700;line-height:1.3;background:rgba(255,255,255,.6);border-radius:14px;padding:9px 12px;color:var(--ink)}
.gets-list li i{font-style:normal;width:26px;height:26px;border-radius:50%;background:#fff;color:var(--t-deep);display:flex;align-items:center;justify-content:center;font-size:13.5px;flex:none;box-shadow:0 2px 0 rgba(0,0,0,.1)}
.card.pick{padding:14px 16px}.card.pick h3{margin:0 0 6px;font-size:15.5px}.card.pick .small{margin-bottom:8px}
/* 소개 화면 한 화면 맞춤 */
.wrap{padding-top:14px}
.topbar{margin-bottom:6px}
.blobs{top:38px;right:-4px}.blobs .blob{width:82px;height:82px}
#intro .badge{margin-bottom:6px}
#intro h1{font-size:31px!important;line-height:1.15!important;margin:4px 0 4px}
#intro .sub{font-size:14.5px;line-height:1.55;margin:0 0 12px}
#intro .card{margin-bottom:12px}
#intro #startBtn{padding:15px}
/* 문항 화면 한 화면 맞춤 */
.dots{margin-bottom:12px}
#quiz .card{padding:16px}
.qtext{font-size:20px;min-height:0;margin:4px 0 6px}
.qscene{font-size:14px;margin:0 0 12px;padding:8px 12px}
.opts{gap:8px}
.opt{padding:11px 14px;font-size:15.5px}
.nav{margin-top:12px}.nav .btn{padding:14px}
/* 위쪽 길찾기: 굵고 잘 보이게 */
.tnav{gap:6px}
.tnav a{padding:7px 11px;font-size:14px;border:2px solid var(--ink);background:#fff;color:var(--ink);box-shadow:0 3px 0 rgba(74,68,88,.22);border-radius:999px;font-weight:700}
.tnav a i{font-size:12.5px;color:var(--ink);font-weight:700}
.tnav a:first-child{background:#fff;border-color:#2b2d42;color:#2b2d42}.tnav a:first-child i{color:#2b2d42;opacity:1}
@media (max-width:380px){.tnav a i{display:inline}.tnav a{padding:7px 9px}}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 8px}
.chip{border:2px solid var(--line);border-radius:999px;padding:7px 13px;font-size:13.5px;background:#fff;cursor:pointer;font-weight:700;color:var(--ink)}
.chip.on{color:#fff}
.card.pick .field{padding:10px 12px;font-size:14.5px}
.wrap{padding-bottom:36px}
.card.pick .chips{margin-bottom:0}

/* 축 막대 굵게·눈에 띄게 (261102 밤) */
.bar{height:20px;background:#f1eae2}
.dim{margin:16px 0}
.dim .name{font-size:17px;align-items:center}
.dim .name span:last-child{background:var(--t-soft);color:var(--t-deep);border-radius:999px;padding:2px 11px;font-size:14px;font-weight:700}
.rank .no{width:30px;height:30px;font-size:14px}
/* 테스트 목록 가격표 */
.hub .fee{position:absolute;right:10px;bottom:8px;font-size:11px;font-weight:700;background:var(--c);color:#fff;border-radius:999px;padding:2px 9px}
/* 캐릭터 동그라미 검정 테두리 (261102 밤, 대표 지시) */
.blob svg > path:first-child{stroke:#2b2d42;stroke-width:5;stroke-linejoin:round}

/* ===== 문항 화면 새 모양 (261102 밤): 오른쪽 동그라미 선택, 아래 긴 다음 바, 오른쪽 아래 마스코트 ===== */
#quiz .card{border:2.5px solid #2b2d42;z-index:2;box-shadow:none}
#quiz .opt{justify-content:space-between;padding:13px 16px;border:2px solid #2b2d42;border-radius:16px;background:color-mix(in srgb,var(--t) 16%,#fff);color:#2b2d42}
#quiz .opt .dot{order:2;margin-left:auto;width:22px;height:22px;border:2px solid #2b2d42;background:#fff}
#quiz .opt:hover{border-color:#2b2d42}
#quiz .opt.on{background:color-mix(in srgb,var(--t) 55%,#fff);border-color:#2b2d42;transform:none}
#quiz .opt.on .dot{background:var(--t-deep);border-color:#2b2d42;box-shadow:inset 0 0 0 4px #fff}
#quiz .nav{position:fixed;left:0;right:0;bottom:0;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:#fff;border-top:2.5px solid #2b2d42;z-index:12;gap:10px}
#quiz .nav #prevBtn{flex:0 0 76px;border:2.5px solid #2b2d42;background:#fff;color:#2b2d42;box-shadow:none;border-radius:999px;padding:13px}
#quiz .nav #nextBtn{background:var(--t);color:#000;border:2.5px solid #2b2d42;box-shadow:none;border-radius:999px;padding:13px}
#quiz .nav #nextBtn:disabled{opacity:.5}
.qmascot{display:none;position:fixed;right:16px;bottom:44px;width:180px;height:180px;z-index:1;pointer-events:none;filter:drop-shadow(0 6px 0 rgba(0,0,0,.12))}
.qmascot svg{width:100%;height:100%}
.qmascot svg > path:first-child{stroke:#000;stroke-width:6}
.qmascot svg path:not(:first-child){stroke:#000;stroke-width:8}.qmascot svg circle,.qmascot svg ellipse{fill:#000}
body.quiz-on .qmascot{display:block}
body.quiz-on .wrap{padding-bottom:120px}

/* 결과 아래 '다른 테스트 하기' (261102 밤) */
.series .others{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 6px}
.series .others a{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;box-shadow:none;padding:4px 0;margin:0;text-align:center;border-radius:0}
.series .others a:hover{transform:translateY(-2px)}
.series .others .blob{width:66px;height:66px}
.series .others .blob svg > path:first-child{stroke:#000;stroke-width:7}.series .others .blob svg path:not(:first-child){stroke:#000;stroke-width:8}.series .others .blob svg circle,.series .others .blob svg ellipse{fill:#000}
.series .others b{font-size:12px;line-height:1.25;color:#000;display:block;word-break:keep-all}
.series .others .done{font-size:10.5px;font-weight:700;background:#2b2d42;color:#fff;border-radius:999px;padding:1px 8px}
.series .others .no{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;border:1.5px solid #2b2d42;background:#fff;font-style:normal;font-size:11px;font-weight:800;color:#000;margin-right:4px;vertical-align:1px}   /* 261107: 번호 */
.series .others .hk{display:block;font-size:10.5px;line-height:1.25;color:#4f4a60;word-break:keep-all}   /* 261107: 설명 줄 */

/* 결과 카드 전부: 테스트 색 옅은 바탕 + 검정 테두리 (261102 밤) */
#result .card{background:var(--t-soft);border:2.5px solid #2b2d42;box-shadow:none}
#result .card .el,#result .share,#result .quote,#result .kid{background:#fff}

body.quiz-on .toast{bottom:100px}
#quiz .nav .qhome{flex:0 0 52px;display:flex;align-items:center;justify-content:center;border:2.5px solid #2b2d42;background:#fff;color:#2b2d42;border-radius:999px;text-decoration:none;font-size:22px;font-weight:700}
#quiz .nav #prevBtn{flex:0 0 68px}
/* 소개: '결과로 받는 것' 카드 없앰, 설명은 검정 글씨 / 지난 결과는 위쪽 보라 버튼 (261102 밤) */
#intro .sub{color:#000;font-size:16px;line-height:1.65;font-weight:600;margin:4px 0 16px}
#lastBox{display:none!important}
.tnav a.tlast{background:#c9a9ff;color:#000;border-color:#2b2d42}
.tnav a[hidden]{display:none}
.topbar > span:not(.tnav){display:none}
#intro .card.pick:not(.show){display:none!important}   /* 261106 밤: .show 가 붙은 칸(화 지도 나이 고르기)은 보인다. 나이대별로 문항이 나뉜 테스트만(대표 지시) */

/* 버튼 공통: 검정 글자 + 손그림 타원 검정 테두리 (261102 밤) */
.btn{color:#000;background:var(--t-soft);border:2.5px solid #2b2d42;border-radius:255px 22px 225px 22px/22px 225px 22px 255px;box-shadow:none}
.btn.orange{background:var(--t);color:#000;box-shadow:none}.btn.orange:hover{background:var(--t);filter:brightness(1.04)}
.btn.ghost{background:#fff;color:#000;border:2.5px solid #2b2d42;box-shadow:none}
.btn:active{transform:translateY(2px);box-shadow:none}
.btn:disabled{opacity:.45}
#quiz .nav #prevBtn,#quiz .nav #nextBtn,#quiz .nav .qhome{border-radius:255px 22px 225px 22px/22px 225px 22px 255px}
/* 긴 문항: 아래 바·마스코트는 반투명이라 가려진 글이 비쳐 보이고, 카드를 누르면 앞으로 나온다 (261102 밤) */
#quiz .nav{background:rgba(255,255,255,.72);backdrop-filter:none}
.qmascot{opacity:.92}
#quiz .card{cursor:pointer}
#quiz .card.front{z-index:30;box-shadow:0 10px 30px rgba(0,0,0,.18)}
body.quiz-on:has(#quiz .card.front) .nav{opacity:.3}
body.quiz-on:has(#quiz .card.front) .qmascot{opacity:.25}

/* 위쪽 길찾기 한 줄 (261102 밤) */
.topbar{flex-wrap:nowrap}
.tnav{flex-wrap:nowrap;gap:4px}
.tnav a{padding:6px 8px;font-size:13px;gap:3px;white-space:nowrap}
.tnav a i{font-size:11px}
.tnav a.tlast{padding:6px 9px}
@media (max-width:380px){.tnav a{padding:6px 7px;font-size:12.5px}.tnav a i{font-size:10.5px}}
#intro .badge{display:none!important}

/* 넓은 버튼은 타원으로 (261102 밤) */
.btn{border-radius:48% 52% 50% 50% / 60% 55% 45% 40%}
#quiz .nav #nextBtn{border-radius:48% 52% 50% 50% / 60% 55% 45% 40%}
#quiz .nav #prevBtn,#quiz .nav .qhome{border-radius:999px}

/* 소개 화면: 글은 아래로 내려 가운데, 얼굴은 오른쪽 아래 크게 (261102 밤) */
#intro{padding-top:14vh;position:relative;z-index:1}
#intro .sub{font-size:17px;line-height:1.75}
#intro .blobs{display:none!important}   /* 261107: no face on the first (intro) screen of each test (owner) */
#intro .blobs .blob{width:210px;height:210px}
#intro .blobs .blob svg > path:first-child{stroke:#000;stroke-width:6}
#intro .blobs .blob svg path:not(:first-child){stroke:#000;stroke-width:8}#intro .blobs .blob svg circle,#intro .blobs .blob svg ellipse{fill:#000}
#intro h1{position:relative;z-index:1}
@media (max-height:700px){#intro{padding-top:6vh}#intro .blobs{width:150px;height:150px}#intro .blobs .blob{width:150px;height:150px}}

/* 버튼은 둥근 네모로 (261102 밤, 타원 폐기) */
.btn,#quiz .nav #nextBtn{border-radius:18px}
#quiz .nav #prevBtn,#quiz .nav .qhome{border-radius:18px}

/* 마스코트: 평소엔 카드 위로 반투명하게 비치고, 답하면 또렷이 (261102 밤) */
.qmascot{z-index:25;opacity:.32;transition:opacity .25s}
.qmascot.show{opacity:1}
#quiz .card{cursor:default}
body.quiz-on:has(#quiz .card.front) .nav,body.quiz-on:has(#quiz .card.front) .qmascot{opacity:1}
/* 버튼 모양: 예전 알약형으로 복귀 */
.btn,#quiz .nav #nextBtn,#quiz .nav #prevBtn,#quiz .nav .qhome{border-radius:999px}
.tnav a.tlast{background:var(--t);color:#000;border-color:#2b2d42}

/* 소개 여백 (261102 밤): 제목↔설명 두 줄, 설명↔시작 버튼 넉넉히 */
#intro h1{margin:4px 0 40px!important}
#intro .sub{margin:0 0 44px}
#intro #startBtn{margin-top:6px}

/* 글자 대비 (261103): 회색은 짙게·크게, 색 글자는 검정+색 밑줄 */
:root{--sub:#4f4a60}
.small,#result .small,#report .small,.hub span,.sub,.tagline,#result .hero .tagline,.dim p,.rank span,.series .others b,.note,.foot{color:#4f4a60}
.small,#result .small,#report .small{font-size:15.5px;font-weight:600}
.note{font-size:14px}
.hub span{font-size:13.5px}
#result .hero .tagline{font-size:17px}
.detail dt{color:#000;font-size:15.5px;border-bottom:3px solid var(--t);display:inline-block;padding-bottom:1px}
.rnav-cap{color:#000;font-size:13px}
.qnum{color:#000;font-size:14px}
.dim .name span:last-child{color:#000}
.day b{color:#000;background:var(--t-soft);border-radius:999px;padding:0 8px}
.cmpMid small{color:#000}
.hub .num{color:#000}
.pill,.lv{color:#000;border:1.5px solid #2b2d42;font-size:13.5px}

/* 축 항목 간격·막대 테두리·점수 한 줄 (261103) */
.dim{margin:0;padding:18px 0;border-bottom:2px dashed #2b2d42}
.dim:last-child{border-bottom:0}
.dim .name{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:center}
.dim .name span:last-child{white-space:nowrap;font-size:14px;padding:2px 9px}
.dim .name .ln,.dim .name .lv{display:inline-block;margin-top:4px}
.bar{height:22px;border:2px solid #2b2d42;background:#fff;box-sizing:border-box}
.bar i{border-radius:999px}
#result .note,#report .note,.note{display:none!important}

/* 막대 색 선명하게 (261103) */
.bar i{filter:saturate(2) brightness(1.03)}
.cmpSide i{filter:saturate(2)}
.rank .no{filter:saturate(1.8)}
/* 화 지도 칸: 선명한 노랑→빨강, 검정 테두리 (261103) */
.hmap .c{border:2px solid #2b2d42;font-weight:800;font-size:15px}
.hmap .h,.hmap .r{color:#000}

/* 색 글자(노랑·주황 강조)는 검정 글자 + 색 형광펜으로 (261103) */
h1 em,.hook b,.desc b,#intro p.small[style*="--t-deep"],#intro p.small[style*="--orange-deep"]{color:#000!important;font-weight:700;background:linear-gradient(transparent 58%,#ffe85c 58%)}

/* 7일 플랜·순위·작은 상자 글자 키우고 검정, 날짜 칩은 테마색+검정 테두리 (261103) */
.day{font-size:16.5px;padding:12px 0;border-bottom:1.5px dashed #2b2d42;align-items:flex-start}
.day span{color:#000;font-weight:600;line-height:1.55}
.day b{width:auto;min-width:52px;text-align:center;color:#000;background:var(--t);border:1.5px solid #2b2d42;border-radius:999px;padding:1px 10px;font-size:14px;white-space:nowrap}
.el{color:#000;font-size:15px;border:1.5px solid #2b2d42;background:#fff}
.el b{font-size:16px;color:#000}
.rank{border-bottom:1.5px dashed #2b2d42}.rank b{color:#000;font-size:16px}.rank span{color:#000;font-size:15px;font-weight:600}
.rank .no{border:1.5px solid #2b2d42;color:#000}
#result li,#report li{color:#000}
.detail dd,.detail .dx,#result p{color:#000}

/* 소제목(뜻·이렇게 생깁니다… 와 h3)은 테마색 칩 안에 검정 글자 (261103) */
.detail dt,#result h3,#report h3{display:inline-block;background:var(--t);color:#000;border:1.5px solid #2b2d42;border-bottom:1.5px solid #2b2d42;border-radius:999px;padding:3px 13px;font-size:15px;font-weight:700;margin:14px 0 6px;line-height:1.4}
.detail dt{margin-top:14px}

/* 점수 구성 표: 이름+점수 위, 설명 아래 (261103) */
#result table{display:block}#result thead{display:none}#result tbody{display:block}
#result tr{display:grid;grid-template-columns:1fr auto;grid-template-areas:"a n" "m m";gap:2px 10px;padding:10px 0;border-bottom:1.5px dashed #2b2d42}
#result tr:last-child{border-bottom:0}
#result td{display:block;padding:0;border:0}
#result td:first-child{grid-area:a;font-size:16px}#result td.n{grid-area:n;text-align:right;font-size:16px;align-self:start}#result td.m{grid-area:m;color:#000;font-size:15px;font-weight:600}
#result tr.sum td{font-weight:700}

/* 색 글자(축 단계 문장·경고 굵은 글)는 검정 글자 + 그 색 형광펜 (261103) */
#result b[style*="color"],#report b[style*="color"],#sbody b[style*="color"],.dim p b{-webkit-text-fill-color:#000;background:linear-gradient(transparent 52%,currentColor 52%);padding:0 2px;border-radius:3px}

/* 261105: 로그인 잠금 · 지난 결과 · 로그인 상태 */
body.gated #result>*:not(:first-child):not(#loginGate){display:none!important}
body.gated .rnav{display:none!important}
.logingate{text-align:center;background:#fff!important}
.logingate .peek{filter:blur(5px);opacity:.75;margin:2px 0 14px;pointer-events:none;user-select:none}
.logingate .peek i{display:block;height:14px;border-radius:999px;background:var(--t,#ffd9c7);margin:9px auto;border:1.5px solid #2b2d42}
.logingate .peek i:nth-child(1){width:86%}.logingate .peek i:nth-child(2){width:62%}.logingate .peek i:nth-child(3){width:78%}.logingate .peek i:nth-child(4){width:48%}.logingate .peek i:nth-child(5){width:70%}
.logingate .gmsg{font-size:17px;font-weight:700;color:#000;line-height:1.55;margin:0 0 12px}
.authst{display:flex;align-items:center;justify-content:center;gap:6px;font-size:14.5px;font-weight:700;color:#000;margin-top:10px}
.authst .dot{width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #2b2d42;display:inline-block}
.authst .dot.on{background:#3fbf7f}
.authst a{color:#000;font-weight:700;margin-left:6px}
.histbox{margin-top:10px;text-align:left}
.histrow{display:flex;gap:10px;align-items:center;width:100%;background:#fff;border:2px solid #2b2d42;border-radius:14px;padding:9px 12px;margin:6px 0;font:inherit;font-size:15px;color:#000;cursor:pointer}
.histrow span{font-weight:600}
@media print{#loginGate,.authst,#heroLast,.histbox{display:none!important}}

/* 261105 오후: 짙은 회색 바탕을 쓰지 않는다(대표 지시) — 배지·알약·완료 표시·알림 풍선은 테마 얼굴색 + 검정 글자 + 검정 테두리 */
.badge{background:var(--t,#ffc9a8)!important;color:#000!important;border:2px solid #2b2d42;font-size:13px}
.pill{background:var(--t,#ffc9a8);color:#000}
.series .others .done{background:var(--t,#ffc9a8);color:#000;border:1.5px solid #2b2d42}
.toast{background:var(--t,#ffe85c);color:#000;border:2px solid #2b2d42}

/* 261105: no-history notice (opens from the past-results buttons) */
.nohist{position:fixed;inset:0;z-index:40;background:rgba(255,247,238,.94);display:flex;align-items:center;justify-content:center;padding:20px}
.nohist.hidden{display:none}
.nohist-card{width:min(420px,100%);background:#fff;border:2.5px solid #2b2d42;border-radius:24px;padding:24px 20px;text-align:center;box-shadow:0 8px 0 rgba(0,0,0,.12)}
.nohist-card .blob{width:96px;height:96px;margin:0 auto 8px}
.nohist-card h2{font-size:22px;color:#000;margin:0 0 8px}
.nohist-card p{font-size:16.5px;font-weight:600;color:#000;line-height:1.6;margin:0 0 16px}

/* 261105: result feedback card (5-step rating, 200-char note, optional gender and age band) */
.fbcard{background:#fff!important}
.fbcard h3{font-size:16px;color:#000;margin:16px 0 8px}
.fbrow{display:flex;flex-wrap:wrap;gap:6px}
.fbrow.five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;padding:0 3px}
.fbb{font-family:inherit;font-size:14.5px;font-weight:700;color:#000;line-height:1.3;padding:10px 12px;border:2px solid #2b2d42;border-radius:14px;background:#fff;cursor:pointer;word-break:keep-all}
.fbrow.five .fbb{padding:10px 0;font-size:13px;letter-spacing:-.4px;min-height:56px;min-width:0}
.fbb.on{background:var(--t,#ffc9a8);box-shadow:0 3px 0 #2b2d42}
.fbtext{width:100%;box-sizing:border-box;font-family:inherit;font-size:16px;line-height:1.55;resize:vertical;border:2px solid #2b2d42;border-radius:14px;padding:10px 12px;background:#fff;color:#000}
.fbcnt{text-align:right;font-size:13.5px;font-weight:700;color:#000;margin:4px 2px 0}
.fbwho{font-size:15px;font-weight:700;color:#000;margin:14px 0 0}
.fbwho a{color:#000;margin-left:8px}
.fbdone{margin-top:10px}
@media print{.fbcard{display:none!important}}

/* 261105: not-applicable answer on partner items */
#quiz .opt.optna{background:#fff;border-style:dashed;font-size:14.5px}
#quiz .opt.optna.on{background:color-mix(in srgb,var(--t) 55%,#fff);border-style:solid}
.nanote{margin-top:8px}

/* 261105: top nav icons only (hand-drawn crayon look inside a black circle) */
.tnav{align-items:center}
.tnav a.tico{padding:0!important;width:46px;height:46px;border:0!important;background:none!important;box-shadow:none!important;border-radius:50%;flex:none}
.tnav a.tico svg{width:100%;height:100%;display:block;overflow:visible}
.tnav a.tico:active{transform:scale(.94)}

/* 261105: bottom bar buttons in the same crayon look (home icon, prev/next crayon outline, result bar home/top) */
#quiz .nav .qhome{flex:0 0 54px;height:54px;padding:0;border:0!important;background:none!important;box-shadow:none!important}
#quiz .nav .qhome svg{width:100%;height:100%;display:block;overflow:visible}
#quiz .nav #prevBtn,#quiz .nav #nextBtn{position:relative;border-color:transparent!important;box-shadow:none!important;color:#000;font-weight:800}
#quiz .nav #prevBtn::before,#quiz .nav #nextBtn::before{content:"";position:absolute;inset:-3px;border:4.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
.rnav .rhome.tico,.rnav .rtop.tico{width:44px;height:44px;background:none!important;border:0!important;padding:0}
.rnav .tico svg{width:100%;height:100%;display:block;overflow:visible}

/* 261105: past-results button in the same crayon outline */
.tnav a.tlast{position:relative;margin-left:5px;border-color:transparent!important;box-shadow:none!important;color:#000;font-weight:800;min-height:38px;padding:6px 13px}
.tnav a.tlast::before{content:"";position:absolute;inset:-3px;border:4.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}

/* 261105: login-state face sits at the top right next to the past-results button; the status line in the summary card is hidden */
.authst{display:none!important}
.topbar .tnav{flex:1 1 auto;width:100%;align-items:flex-start}
.tnav a.tlast{margin-top:4px}
.tnav a.tauth{margin-left:auto;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0;flex:none;width:50px;height:62px;display:block}
.tnav a.tauth .authface{width:100%;height:100%;display:block;overflow:visible}
.authface .fb{opacity:0}
.authface.blink .fb{opacity:1}
.authface.blink .fa{opacity:0}
@media (max-width:400px){.tnav a.tico{width:42px;height:42px}.tnav a.tlast{padding:6px 10px;margin-top:2px}.tnav a.tauth{width:46px;height:57px}}
@media (max-width:350px){.tnav a.tico{width:37px;height:37px}.tnav a.tlast{padding:5px 8px;margin-top:0;font-size:12px}.tnav a.tauth{width:41px;height:51px}}

/* 261105: all action buttons share the crayon outline (only when the #cry filter is in the page) */
.cry-on .btn,.cry-on .sns,.cry-on .fbb{position:relative;border-color:transparent!important;box-shadow:none!important}
.cry-on .btn::before,.cry-on .sns::before,.cry-on .fbb::before{content:"";position:absolute;inset:-3px;border:4.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
.cry-on .fbb::before{border-width:3.5px;inset:-2.5px}
/* the summary card keeps only save/share and compare; past results open from the top button */
#heroLast{display:none!important}

/* 261105: past-results rows use the theme face color with the crayon outline */
.histrow{background:var(--t,#ffc9a8);font-weight:700}
.cry-on .histrow{position:relative;border-color:transparent!important}
.cry-on .histrow::before{content:"";position:absolute;inset:-3px;border:4px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
.histbox .histrow{margin:10px 0}

/* 261106: small pill links (e.g. back to the first screen on the test list) get the same crayon outline */
.cry-on .crybtn{position:relative;border-color:transparent!important}
.cry-on .crybtn::before{content:"";position:absolute;inset:-3px;border:3.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}

/* 261106: brief highlight on the place a shortcut button jumps to */
.jumpflash{outline:4px solid var(--t-deep,#f4873a);outline-offset:5px;border-radius:14px}

/* 261106: bold words in trait rows that carry no color of their own were highlighted in black (currentColor); use the theme face color */
.dim p b:not([style*="color"]){background:linear-gradient(transparent 52%,var(--t,#ffe85c) 52%)}

/* 261106: feedback card text larger and clearer, with theme-color highlighter marks */
.fbcard .fbp{font-size:17px;font-weight:700;color:#000;line-height:1.65;margin:10px 0}
.fbcard mark{background:linear-gradient(transparent 48%,var(--t,#ffe85c) 48%);color:#000;padding:0 3px;border-radius:3px}
.fbcard h3{font-size:17.5px}
.fbcard .fbb{font-size:16px}
.fbcard .fbrow.five .fbb{font-size:14.5px;letter-spacing:-.5px;min-height:60px}
.fbcard .fbtext{font-size:17px;min-height:96px}
.fbcard .fbcnt{font-size:15px}
.fbcard #fbSend{font-size:18px;font-weight:800}

/* 261106: thank-you popup after sending feedback — a chubby crayon heart (light pink inside) on white, three handwritten lines inside */
.thanks{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(255,255,255,.97)}
.thanks.out{opacity:0;transition:opacity .25s}
.th-big{width:min(88vw,380px);height:auto;overflow:visible;transform:rotate(-3deg);animation:thIn .3s ease}
@keyframes thIn{from{transform:rotate(-3deg) scale(.9)}to{transform:rotate(-3deg) scale(1)}}

/* 261106: generation-mirror rows — the received/giving scores go on their own line right under the trait name (they used to sit on the right and run off the card). Order: name, scores, badge */
.dim .name.mrname{display:grid;grid-template-columns:1fr;gap:6px;align-items:start;justify-items:start}
.dim .name.mrname>span:first-child{display:contents}
.dim .name.mrname>span:last-child{order:1;white-space:normal;font-weight:700;color:#000;font-size:15px}
.dim .name.mrname .lv,.dim .name.mrname .ln{order:2;margin:0}

/* 261106: comparison table as a real grid with visible cells, mirrored: score | bar | item | bar | score. Bars grow outward from the item column */
.cmpT{border:2px solid #000;border-radius:14px;overflow:hidden}
.cmpT .cmpHead,.cmpT .cmpRow{display:grid;grid-template-columns:1fr minmax(88px,30%) 1fr;gap:0;padding:0;margin:0;border-radius:0;align-items:stretch}
.cmpT .cmpHead{border-bottom:2px solid #000}
.cmpT .cmpHead span,.cmpT .cmpHead span:last-child{padding:8px 6px;text-align:center}
.cmpT .cmpHead span:nth-child(2),.cmpT .cmpMid{border-left:1px solid rgba(0,0,0,.35);border-right:1px solid rgba(0,0,0,.35)}
.cmpT .cmpRow{border-bottom:1px solid rgba(0,0,0,.35)}
.cmpT .cmpRow:last-child{border-bottom:0}
.cmpT .cmpRow.big{margin:0;padding:0;border-radius:0}
.cmpT .cmpMid{display:flex;flex-direction:column;justify-content:center;padding:8px 4px;line-height:1.25}
.cmpT .cmpSide{display:grid;align-items:stretch;gap:0;min-width:0}
.cmpT .cmpSide.L{grid-template-columns:40px 1fr}
.cmpT .cmpSide.R{grid-template-columns:1fr 40px}
.cmpT .cmpSide b{display:flex;align-items:center;justify-content:center;width:auto;min-width:0;text-align:center}
.cmpT .cmpSide.L b{border-right:1px solid rgba(0,0,0,.35)}
.cmpT .cmpSide.R b{border-left:1px solid rgba(0,0,0,.35)}
.cmpT .trk{display:flex;align-items:center;min-width:0;padding:0 6px}
.cmpT .cmpSide.L .trk{justify-content:flex-end}
.cmpT .cmpSide i,.cmpT .cmpSide.L i{margin:0;flex:none;height:12px}
/* 261106: table tint — each side gets a very light wash of that person's colour, the item column stays white; a big-gap row highlights only its item cell */
.cmpT{background:#fff}
.cmpT .cmpSide.L,.cmpT .cmpHead span:first-child{background:color-mix(in srgb,var(--cm,#f4873a) 11%,#fff)}
.cmpT .cmpSide.R,.cmpT .cmpHead span:last-child{background:color-mix(in srgb,var(--cy,#a58bf0) 11%,#fff)}
.cmpT .cmpMid,.cmpT .cmpHead span:nth-child(2){background:#fff}
.cmpT .cmpRow.big{background:none}
.cmpT .cmpRow.big .cmpMid{background:var(--mustard-soft,#fff3d6)}
/* 261106: crayon numbers in the bottom shortcut bar — handwritten digits (Gaegu) inside a black crayon ring; the chapter on screen is filled with the theme colour */
.rnav-in{gap:6px}
.rnav-in a b{width:32px;height:32px;background:#fff;border:2.5px solid #000;color:#000;font-family:"Gaegu","Gowun Dodum",sans-serif;font-size:21px;font-weight:700;line-height:1;letter-spacing:-.5px}
.cry-on .rnav-in a b{filter:url(#cry)}
.rnav-in a.on b{background:var(--t,#ffd966);border-color:#000;color:#000;transform:scale(1.15)}
/* 261106: crayon caption + crayon card numbers — the chapter name above the number row is handwritten too, and the number badge on each result card matches the bar (black crayon ring, handwritten digit, theme fill) */
.rnav-cap{font-family:"Gaegu","Gowun Dodum",sans-serif;font-size:21px;font-weight:700;color:#000;letter-spacing:0;padding:1px 0 5px;line-height:1.15;-webkit-text-stroke:.35px #000}   /* handwriting font only — the rough-edge filter made thin letters break up */
.rnum{width:34px;height:34px;top:-13px;background:var(--t,#ffd966);border:2.5px solid #000;color:#000;box-shadow:none;font-family:"Gaegu","Gowun Dodum",sans-serif;font-size:22px;font-weight:700;line-height:1;letter-spacing:-.5px}
.cry-on .rnum{filter:url(#cry)}
/* 261106: sample-family numbers sit inside a small crayon house (a family = a house), so they are not mistaken for the round chapter numbers of the bottom bar */
.hnum{display:inline-flex;align-items:flex-end;justify-content:center;width:40px;height:40px;padding-bottom:3px;margin-right:8px;vertical-align:-12px;font-style:normal;font-family:"Gaegu","Gowun Dodum",sans-serif;font-size:20px;font-weight:700;line-height:1;letter-spacing:-.5px;color:#000;flex:none;-webkit-text-stroke:.3px #000;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M4 16 20 3l16 13v21H4z' fill='none' stroke='%23000' stroke-width='3.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;position:relative;isolation:isolate}
.pick .chip:has(.hnum),#plist a b:has(.hnum){display:flex;align-items:center;text-align:left}
.pick .chip:has(.hnum){padding:6px 14px 6px 8px;border-radius:22px}
.cry-on .hnum{filter:url(#cry)}
/* 261106: the bottom number bar folds — after a number is tapped only the title line stays; tap the title to bring the numbers back up */
.rnav-cap{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent}
.rnav-cap::after{content:"";display:inline-block;width:9px;height:9px;margin-left:9px;border-right:3px solid #000;border-bottom:3px solid #000;transform:translateY(-4px) rotate(45deg);transition:transform .2s}
.rnav.fold .rnav-cap::after{transform:translateY(1px) rotate(-135deg)}
.rnav-row{overflow:hidden;max-height:240px;padding:3px 0;transition:max-height .25s ease,padding .25s ease}
.rnav.fold .rnav-row{max-height:0;padding:0}
.rnav.fold{padding-bottom:3px}
.rnav.fold .rnav-cap{padding-bottom:3px}
/* 261106: each sample family's house is filled with its own colour, cycling through the same eight pastel colours as the faces (family 1 red, 2 orange … 9 red again), so families are easy to tell apart */
.hnum::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--hc,#ffd9e6);clip-path:polygon(10% 40%,50% 7.5%,90% 40%,90% 92.5%,10% 92.5%)}
.pick .chip:nth-child(8n+1) .hnum,#plist a:nth-child(8n+1) .hnum{--hc:#ff9c9c}
.pick .chip:nth-child(8n+2) .hnum,#plist a:nth-child(8n+2) .hnum{--hc:#ffb97a}
.pick .chip:nth-child(8n+3) .hnum,#plist a:nth-child(8n+3) .hnum{--hc:#ffd966}
.pick .chip:nth-child(8n+4) .hnum,#plist a:nth-child(8n+4) .hnum{--hc:#9fdc9f}
.pick .chip:nth-child(8n+5) .hnum,#plist a:nth-child(8n+5) .hnum{--hc:#8fc9ff}
.pick .chip:nth-child(8n+6) .hnum,#plist a:nth-child(8n+6) .hnum{--hc:#9ea9ff}
.pick .chip:nth-child(8n+7) .hnum,#plist a:nth-child(8n+7) .hnum{--hc:#c9a9ff}
.pick .chip:nth-child(8n+8) .hnum,#plist a:nth-child(8n+8) .hnum{--hc:#ffb0d2}
/* 261106: icon chips in the number row — a smiley (sample picker) before 1 and a heart (feedback) after the last number */
.rnav-in a b.ico{padding:0;font-size:0}
.rnav-in a b.ico svg{width:100%;height:100%;display:block}
.rnav-in a b.ico:not(.hrt){background:var(--t-soft,#fff3c4)}
.rnav-in a.on b.ico:not(.hrt){background:var(--t,#ffd966)}
.dnav .rnav-in{gap:4px}
.dnav .rnav-in a b{width:30px;height:30px;font-size:20px}
.dnav .rnav-in a b.hrt{width:33px;height:30px}
.rnav-in a b.hrt{border:0;border-radius:0;background:none;width:35px;height:32px}
.rnav-in a.on b.hrt{background:none;transform:scale(1.22)}
.rnav-in a.on b.hrt path{fill:#ff9cc0}
.rnav-in a[hidden]{display:none}
/* 261106: the feedback card is marked with the heart instead of a number — on the card badge, in the list of contents and in the bottom bar */
.rnum.hrt{width:40px;height:37px;top:-15px;border:0;background:none;border-radius:0;box-shadow:none}
.rnum.hrt svg{width:100%;height:100%;display:block}
.rtoc li.hrtli{list-style-type:"\2665  "}
/* 261106: warm line under the consent sentence of the feedback card, ending with the small crayon heart */
.fbcard .fbthx{margin-top:4px}
.fbh{display:inline-block;width:25px;height:23px;vertical-align:-4px;margin-left:1px}
.fbh svg{width:100%;height:100%;display:block}
/* 261106: bar tint — the bottom number bar is filled with the light theme colour (white chips stand out on it); the heart line of the feedback card keeps whole words together */
.rnav{background:#f3ead8;background:color-mix(in srgb,var(--t,#ffd966) 42%,#fff);border-color:rgba(255,255,255,.85)}   /* the whole bar box carries a light wash of the theme colour (the first tint, --t-soft, was too pale to see); the number chips stay as they were */
.fbcard .fbthx{word-break:keep-all}
/* 261106: stronger mark for the place you are at — the active number, smiley and heart are filled with a deeper colour so they stand out on the tinted bar */
.rnav-in a.on b,.rnav-in a.on b.ico:not(.hrt){background:var(--t-deep,#e8923f);background:color-mix(in srgb,var(--t-deep,#e8923f) 70%,var(--t,#ffd966))}
.rnav-in a.on b.hrt{background:none}
.rnav-in a.on b.hrt path{fill:#ff5c93}
/* 261106: feedback card — the heading icon is the crayon heart (not the smiley), and the writing box has a black crayon outline (drawn on a wrapper so the typed letters stay sharp) */
.fbcard h2::before{width:29px;height:27px;vertical-align:-5px;border:0;border-radius:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -12 328 306'%3E%3Cpath d='M150 256C70 210 12 158 12 96 12 48 48 16 90 16c27 0 48 14 60 38 12-24 33-38 60-38 42 0 78 32 78 80 0 62-58 114-138 160Z' fill='%23ff9cc0' stroke='%23000' stroke-width='26' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.cry-on .fbcard h2::before{filter:url(#cry)}
.fbbox{position:relative;border-radius:16px;line-height:0}
.fbbox .fbtext{border-radius:16px;line-height:1.55}
.cry-on .fbbox .fbtext{border-color:transparent}
.cry-on .fbbox::before{content:"";position:absolute;inset:-2px;border:3.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
/* 261106: the feedback card itself gets a black crayon outline */
.fbcard{position:relative;border:2.5px solid #000}
.cry-on .fbcard{border-color:transparent}
.cry-on .fbcard::after{content:"";position:absolute;inset:-2px;border:3.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
/* 261106: one bar colour everywhere — the folding bottom bar is the login-face yellow on every page (no longer the theme colour of each test), with a black crayon outline */
.rnav{background:#fde203;border-color:#000}
.cry-on .rnav{border-color:transparent}
.cry-on .rnav::before{content:"";position:absolute;inset:-2px;border:3.5px solid #000;border-radius:inherit;filter:url(#cry);pointer-events:none}
/* 261106: at the feedback card the bar stays fully open with no fold toggle, so the chevron is hidden there */
/* 261107: the bar lives in the page just above the list of other tests. While the reader is higher up it sticks to the bottom of the screen (folded); once its own place scrolls into view it rests there, open */
.rnav.dnav{position:sticky;left:auto;transform:none;width:auto;bottom:12px;margin-top:14px}
.rnav.pin .rnav-cap{cursor:default}
.rnav.pin .rnav-cap::after{display:none}
