/* ToolayBox 상단바 베이스 (다른 테스트와 같은 톤) */
:root{--tb-page-bg:#f5f4f0;--tb-page-ink:#1c1c1a;--tb-page-line:#e3e1db;--tb-page-sub:#7a776f}
*{box-sizing:border-box}
[hidden]{display:none !important}
body{margin:0;background:var(--tb-page-bg);color:var(--tb-page-ink);-webkit-font-smoothing:antialiased}
.app{display:flex;flex-direction:column}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 28px;border-bottom:1px solid var(--tb-page-line);background:#fbfbf9;flex-wrap:wrap;font-family:"IBM Plex Sans KR",Pretendard,sans-serif}
.brand{display:flex;align-items:baseline;gap:14px;min-width:0;flex-wrap:wrap;row-gap:2px}
.brand-title{font-size:17px;font-weight:700;letter-spacing:-.01em}
.mono-label{font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;letter-spacing:.12em;color:#8a877f}
.page-note{margin:0;padding:18px 28px 6px;font-size:12.5px;line-height:1.7;color:var(--tb-page-sub);font-family:"IBM Plex Sans KR",Pretendard,sans-serif}
@media (max-width:640px){.topbar{padding:14px 16px}.page-note{padding:14px 16px 4px}}
@media screen{
  :root[data-theme="dark"]{--tb-page-bg:#141318;--tb-page-ink:#ecebf0;--tb-page-line:#2e2d36;--tb-page-sub:#a09eab;color-scheme:dark}
  :root[data-theme="dark"] .topbar{background:#1a1920}
}

/* ---- HUE:ME (원작 디자인, .hme 안으로 범위 한정) ---- */
.hme{--ink:#171713;--paper:#f2efe8;--line:#cbc7bc;--acid:#d9ff43}
.hme *{box-sizing:border-box}
.hme{background:var(--paper);color:var(--ink)}
.hme{margin:0;font-family:Arial,"Noto Sans KR",sans-serif;background:radial-gradient(circle at 8% 12%,#fff 0,transparent 24%),var(--paper)}
.hme button{font:inherit;color:inherit}
.hme button:focus-visible{outline:3px solid #7857ff;outline-offset:3px}
.hme .hme-nav{height:76px;border-bottom:1px solid var(--ink);display:flex;align-items:center;padding:0 4vw;position:relative;z-index:5}
.hme .brand{font-weight:950;font-size:22px;letter-spacing:-1px;border:0;background:none;cursor:pointer;padding:0}
.hme .brand i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#ff5d39;margin-left:3px}
.hme .nav-note{font-size:10px;letter-spacing:.24em;margin:auto}
.hme .edition{font:600 10px monospace;border:1px solid;border-radius:99px;padding:7px 12px}
.hme .page{min-height:calc(100vh - 76px);padding:6vh 7vw}
.hme .intro{display:grid;grid-template-columns:1fr 1.15fr;grid-template-rows:1fr auto;gap:3vw;overflow:hidden}
.hme .hero-orbit{position:relative;min-height:620px;border:1px solid var(--ink);border-radius:50% 50% 46% 54%/48% 53% 47% 52%;transform:rotate(-6deg);background:#e6e1d7}
.hme .hero-orbit:before,.hme .hero-orbit:after{content:"";position:absolute;border:1px dashed #777;border-radius:50%;inset:8%;transform:rotate(25deg)}
.hme .hero-orbit:after{inset:20%;transform:rotate(-18deg)}
.hme .hero-orbit span{position:absolute;right:3%;top:12%;font:600 10px monospace;letter-spacing:.25em;transform:rotate(6deg)}
.hme .orb{position:absolute;border-radius:50%;filter:saturate(115%);box-shadow:inset -25px -20px 50px #0002,0 25px 50px #0002}
.hme .orb-a{width:42%;aspect-ratio:1;background:linear-gradient(145deg,#ff8168,#ee3f61);left:7%;top:14%;z-index:2}
.hme .orb-b{width:54%;aspect-ratio:1;background:linear-gradient(145deg,#9bd55a,#e7ff71);right:3%;bottom:5%}
.hme .orb-c{width:28%;aspect-ratio:1;background:linear-gradient(145deg,#7066ff,#bd89ff);left:31%;top:43%;z-index:3}
.hme .hero-copy{align-self:center;padding-left:3vw}
.hme .kicker,.hme .section-head p,.hme .question-copy>p,.hme .result-title>p,.hme .card-copy p{font:700 11px monospace;letter-spacing:.2em}
.hme .hero-copy .hme-title{font-size:clamp(54px,6.7vw,108px);line-height:.91;letter-spacing:-.075em;margin:25px 0 32px}
.hme .hero-copy .hme-title em,.hme .section-head h2 em{font-family:Georgia,serif;font-weight:400}
.hme .lead{max-width:550px;font-size:16px;line-height:1.8}
.hme .primary{margin-top:25px;border:1px solid var(--ink);background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between;width:min(320px,100%);padding:7px 7px 7px 23px;cursor:pointer;transition:.2s}
.hme .primary:hover{background:#38382f;transform:translateY(-2px)}
.hme .primary b{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--acid);color:var(--ink);font-size:20px}
.hme .intro-foot{grid-column:1/-1;border-top:1px solid;display:flex;justify-content:space-between;padding-top:18px;font:600 10px monospace;letter-spacing:.12em}
.hme .select-page{padding-top:4vh}
.hme .section-head{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:end;margin-bottom:4vh}
.hme .section-head h2{font-size:clamp(40px,4.5vw,72px);line-height:1;letter-spacing:-.055em;margin:0}
.hme .section-head>span{font-size:13px;line-height:1.7}
.hme .type-grid{display:grid;grid-template-columns:repeat(8,1fr);border-top:1px solid;border-left:1px solid}
.hme .type{height:150px;border:0;border-right:1px solid;border-bottom:1px solid;background:transparent;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:14px;position:relative;overflow:hidden;transition:.2s}
.hme .type:before{content:"";position:absolute;inset:0;background:var(--type);transform:translateY(102%);transition:.3s}
.hme .type:hover:before,.hme .type.selected:before{transform:none}
.hme .type i{position:absolute;top:14px;right:14px;width:18px;height:18px;border-radius:50%;background:var(--type);border:1px solid}
.hme .type strong,.hme .type small{position:relative;z-index:1}
.hme .type strong{font-size:25px}
.hme .type small{font-size:9px;margin-top:5px}
.hme .type.selected{color:#fff}
.hme .type.selected i{background:white}
.hme .select-action{display:flex;justify-content:space-between;align-items:center;margin-top:3vh}
.hme .select-action>div{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:10px;font-size:11px}
.hme .select-action>div b{width:34px;height:34px;border-radius:50%}
.hme .select-action .primary{margin:0}
.hme .quiz{padding-top:3vh}
.hme .quiz-top{display:grid;grid-template-columns:70px 1fr 80px;align-items:center;gap:20px;font:600 11px monospace}
.hme .progress{height:2px;background:var(--line)}
.hme .progress i{display:block;height:100%;background:var(--ink);transition:.4s}
.hme .quiz-top button{border:0;background:transparent;cursor:pointer}
.hme .quiz-top button:disabled{opacity:.25}
.hme .question-wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:7vw;margin-top:9vh}
.hme .question-copy{position:relative}
.hme .question-copy h2{font-size:clamp(40px,5vw,80px);line-height:1.05;letter-spacing:-.06em;margin:22px 0}
.hme .question-copy>span{font-size:14px;color:#67645c}
.hme .question-ghost{position:absolute;font:bold 260px/1 Georgia,serif;color:transparent;-webkit-text-stroke:1px #ccc6bb;z-index:-1;top:0;left:8%}
.hme .answers{border-top:1px solid}
.hme .answers button{width:100%;min-height:115px;border:0;border-bottom:1px solid;background:transparent;display:grid;grid-template-columns:50px 1fr 40px;align-items:center;text-align:left;cursor:pointer;padding:12px;transition:.2s}
.hme .answers button:hover{background:var(--acid);padding-left:25px}
.hme .answers button>span{font:700 12px monospace}
.hme .answers button div{display:flex;flex-direction:column;gap:8px}
.hme .answers strong{font-size:21px}
.hme .answers small{font-size:11px;color:#6c685f}
.hme .answers b{font-size:20px}
.hme .result{background:linear-gradient(115deg,color-mix(in srgb,var(--base),transparent 78%),transparent 34%),var(--paper)}
.hme .result-title{text-align:center}
.hme .result-title h2{font:italic 400 clamp(54px,7vw,102px)/.9 Georgia,serif;letter-spacing:-.05em;margin:18px 0}
.hme .result-title span{font-size:13px}
.hme .result-card{width:min(920px,100%);aspect-ratio:1.85;margin:5vh auto;position:relative;overflow:hidden;background:linear-gradient(125deg,var(--base) 0 44%,var(--personal) 70% 100%);color:white;padding:32px;box-shadow:0 35px 70px #251f1a38}
.hme .result-card:after{content:"";position:absolute;width:55%;aspect-ratio:1;border-radius:50%;background:var(--personal);filter:blur(8px);right:-8%;top:-34%;mix-blend-mode:screen;opacity:.7}
.hme .grain{position:absolute;inset:0;opacity:.18;background-image:repeating-radial-gradient(circle at 20% 30%,#fff 0 1px,transparent 1px 5px);mix-blend-mode:overlay}
.hme .card-mark{font:700 10px monospace;letter-spacing:.18em}
.hme .color-sun{position:absolute;left:50%;top:16%;transform:translateX(-50%);width:38%;aspect-ratio:1;border:1px solid #fff8;border-radius:50%;display:flex;align-items:center;justify-content:space-around;font:600 9px monospace;letter-spacing:.12em;z-index:2}
.hme .color-sun b{font-size:25px}
.hme .card-copy{position:absolute;bottom:32px;left:32px;z-index:2}
.hme .card-copy h3{font:italic 400 clamp(42px,6vw,80px)/1 Georgia,serif;margin:5px 0}
.hme .card-copy code{font-size:11px}
.hme .card-type{position:absolute;right:30px;bottom:20px;font-size:52px;font-weight:900;letter-spacing:-.08em;z-index:2}
.hme .result-details{display:grid;grid-template-columns:1fr 1fr;gap:6vw;align-items:center;max-width:1050px;margin:auto}
.hme .swatches{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hme .swatches article{display:grid;grid-template-columns:42px 1fr;gap:4px 10px;border-top:1px solid;padding-top:12px}
.hme .swatches i{grid-row:1/4;width:42px;height:42px;border-radius:50%;border:1px solid #0002}
.hme .swatches span{font:700 9px monospace}
.hme .swatches strong{font:600 10px monospace}
.hme .swatches small{font-size:10px;color:#777}
.hme .result-details blockquote{font:400 21px/1.8 Georgia,serif;margin:0}
.hme .result-details blockquote em{background:var(--acid);font-style:normal}
.hme .result-actions{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:5vh}
.hme .result-actions .primary{margin:0}
.hme .secondary{border:0;border-bottom:1px solid;background:transparent;padding:12px;cursor:pointer}
.hme .disclaimer{text-align:center;font-size:9px;color:#777;margin-top:4vh}
@media(max-width:900px){.hme .hme-nav{height:62px}
.hme .page{min-height:calc(100vh - 62px);padding:4vh 5vw}
.hme .nav-note{display:none}
.hme .intro{display:block}
.hme .hero-orbit{min-height:0;width:80vw;height:80vw;max-width:420px;max-height:420px;margin:auto}
.hme .hero-copy{padding:4vh 0}
.hme .hero-copy .hme-title{font-size:58px}
.hme .section-head{grid-template-columns:1fr}
.hme .section-head p{margin-bottom:15px}
.hme .section-head>span{margin-top:15px}
.hme .type-grid{grid-template-columns:repeat(4,1fr)}
.hme .type{height:112px}
.hme .select-action{align-items:flex-start;gap:20px}
.hme .select-action>div{grid-template-columns:auto auto}
.hme .select-action>div strong{grid-column:1/-1}
.hme .question-wrap{grid-template-columns:1fr;margin-top:5vh}
.hme .question-copy h2{font-size:46px}
.hme .question-ghost{font-size:150px;right:0;left:auto}
.hme .answers button{min-height:96px}
.hme .result-card{aspect-ratio:1.25}
.hme .card-type{font-size:34px}
.hme .color-sun{width:55%}
.hme .result-details{grid-template-columns:1fr}
.hme .result-actions{flex-direction:column}
.hme .result-actions .primary{width:100%}}
@media(max-width:520px){.hme .type-grid{grid-template-columns:repeat(2,1fr)}
.hme .select-action{flex-direction:column}
.hme .select-action .primary{width:100%}
.hme .quiz-top{grid-template-columns:45px 1fr 58px}
.hme .question-copy h2{font-size:39px}
.hme .answers strong{font-size:17px}
.hme .result-title h2{font-size:58px}
.hme .result-card{aspect-ratio:.78;padding:22px}
.hme .card-copy{left:22px;bottom:45px}
.hme .card-copy h3{font-size:48px}
.hme .card-type{right:20px;bottom:16px}
.hme .color-sun{width:75%;top:22%}
.hme .swatches{grid-template-columns:1fr}
.hme .intro-foot{margin-top:20px}
.hme .intro-foot span:nth-child(2){display:none}}
.hme /* Landing page refresh — intentionally scoped so quiz and result styles remain unchanged. */
.intro-2026{position:relative;grid-template-columns:minmax(380px,.92fr) minmax(480px,1.08fr);gap:clamp(40px,6vw,110px);padding:clamp(34px,5vh,64px) clamp(28px,6vw,96px) 28px;background:linear-gradient(135deg,#f5f1ea 0%,#f5f1ea 58%,#ece7de 100%)}
.hme .intro-2026:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background-image:radial-gradient(#171713 0.55px,transparent .55px);background-size:7px 7px;mask-image:linear-gradient(90deg,transparent,#000 45%,transparent)}
.hme .intro-visual{position:relative;min-height:min(66vh,700px);overflow:hidden;border-radius:32px;background:linear-gradient(145deg,#222119 0%,#11110e 68%);box-shadow:0 30px 80px #352d2430;isolation:isolate}
.hme .intro-visual:after{content:"";position:absolute;inset:0;border:1px solid #ffffff22;border-radius:inherit;pointer-events:none}
.hme .visual-label{position:absolute;z-index:5;left:28px;right:28px;top:25px;display:flex;justify-content:space-between;color:#fff9;font:600 9px/1 monospace;letter-spacing:.2em}
.hme .spectrum{position:absolute;border-radius:50%;filter:blur(1px);mix-blend-mode:screen;animation:float-color 9s ease-in-out infinite}
.hme .spectrum-a{width:65%;aspect-ratio:1;left:-13%;top:8%;background:radial-gradient(circle at 68% 35%,#ffdf8a 0 5%,#ff785b 34%,#ef3d8d 60%,transparent 72%)}
.hme .spectrum-b{width:72%;aspect-ratio:1;right:-22%;bottom:-8%;background:radial-gradient(circle at 35% 32%,#bff96a,#45d6a2 42%,#287be8 67%,transparent 73%);animation-delay:-3s}
.hme .spectrum-c{width:42%;aspect-ratio:1;left:35%;top:32%;background:radial-gradient(circle at 40% 35%,#fff,#bd83ff 25%,#6d4dff 60%,transparent 72%);animation-delay:-6s}
.hme .color-core{position:absolute;z-index:3;left:50%;top:48%;transform:translate(-50%,-50%);width:43%;aspect-ratio:1;border:1px solid #ffffff80;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:7px;color:#fff;backdrop-filter:blur(12px);background:#ffffff0d;font:800 clamp(20px,2.2vw,34px)/1 Arial,sans-serif;letter-spacing:-.06em;box-shadow:inset 0 0 50px #fff1}
.hme .color-core b{font-weight:300;color:#fff8}
.hme .intro-visual>p{position:absolute;z-index:4;left:28px;bottom:24px;margin:0;color:#fff;font:700 clamp(20px,2.1vw,34px)/.95 Arial,sans-serif;letter-spacing:-.055em}
.hme .intro-2026 .hero-copy{position:relative;z-index:2;align-self:center;padding:0}
.hme .intro-2026 .kicker{display:flex;align-items:center;gap:10px;color:#555149}
.hme .intro-2026 .kicker span{width:7px;height:7px;border-radius:50%;background:#ff5d39;box-shadow:0 0 0 5px #ff5d3920}
.hme .intro-2026 .hero-copy .hme-title{max-width:800px;margin:clamp(26px,4vh,48px) 0 30px;font-size:clamp(62px,7.1vw,118px);line-height:.88;letter-spacing:-.082em}
.hme .intro-2026 .hero-copy .hme-title em{position:relative;color:#7656ff;font-family:inherit;font-style:normal;font-weight:850}
.hme .intro-2026 .hero-copy .hme-title em:after{content:"";position:absolute;left:1%;right:-1%;bottom:5%;height:10px;background:#d9ff43;z-index:-1;transform:rotate(-1deg)}
.hme .intro-2026 .lead{max-width:590px;margin:0;color:#4f4c45;font-size:clamp(15px,1.15vw,18px);line-height:1.8;word-break:keep-all}
.hme .cta-row{display:flex;align-items:center;gap:22px;margin-top:14px}
.hme .intro-2026 .primary{width:min(330px,100%);border-radius:100px;padding:7px 7px 7px 27px;box-shadow:0 12px 30px #17171320}
.hme .intro-2026 .primary b{transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.hme .intro-2026 .primary:hover b{transform:rotate(45deg)}
.hme .time-note{font-size:11px;color:#77736b;white-space:nowrap}
.hme .intro-2026 .intro-foot{position:relative;z-index:2;color:#615d54}
.hme .intro-2026 .intro-foot span{display:flex;align-items:center;gap:9px}
.hme .intro-2026 .intro-foot span:before{content:"";width:24px;height:1px;background:currentColor}
@keyframes float-color{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(3%,-3%,0) scale(1.07)}}
@media(prefers-reduced-motion:reduce){.hme .spectrum{animation:none}
.hme .primary,.hme .primary b{transition:none}}
@media(max-width:900px){.hme .intro-2026{display:grid;grid-template-columns:1fr;gap:34px;padding-top:28px}
.hme .intro-visual{min-height:0;height:min(72vw,520px);grid-row:2}
.hme .intro-2026 .hero-copy{grid-row:1;padding:3vh 0 0}
.hme .intro-2026 .hero-copy .hme-title{font-size:clamp(54px,12vw,86px)}
.hme .intro-2026 .intro-foot{grid-row:3}
.hme .color-core{width:37%}}
@media(max-width:560px){.hme .intro-2026{padding:22px 18px 24px}
.hme .intro-2026 .hero-copy .hme-title{font-size:clamp(48px,15vw,68px);margin:28px 0 24px}
.hme .intro-visual{height:92vw;border-radius:24px}
.hme .cta-row{align-items:flex-start;flex-direction:column;gap:12px}
.hme .intro-2026 .primary{margin-top:12px}
.hme .intro-2026 .intro-foot{gap:8px;flex-wrap:wrap}
.hme .intro-2026 .intro-foot span{width:100%;font-size:9px}
.hme .intro-2026 .intro-foot span:nth-child(2){display:flex}
.hme .visual-label{left:20px;right:20px}
.hme .intro-visual>p{left:20px;bottom:20px}
.hme .color-core{width:48%}}
.hme .answers strong{line-height:1.55;word-break:keep-all;font-weight:600}
.hme .answers button{min-height:116px}
.hme .question-copy h2{font-size:clamp(32px,3.8vw,60px);line-height:1.22;word-break:keep-all}
.hme .question-copy>span{display:block;line-height:1.8;word-break:keep-all}
.hme .profile-section{max-width:1050px;margin:64px auto 0}
.hme .profile-heading h3{font-size:30px;margin:14px 0;letter-spacing:-.04em}
.hme .profile-heading>p{font:700 11px monospace;letter-spacing:.15em}
.hme .profile-heading>span{font-size:14px;line-height:1.7;color:#67645c}
.hme .profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:28px}
.hme .profile-item{padding:26px;border:1px solid var(--line);background:#ffffff60}
.hme .profile-item>p{font-size:12px;color:#67645c;margin:0 0 10px}
.hme .profile-item h4{font-size:21px;margin:0 0 24px;word-break:keep-all}
.hme .axis-track{height:4px;background:#d8d4ca;position:relative;margin:0 6px 12px}
.hme .axis-track i{position:absolute;width:12px;height:12px;border-radius:50%;background:var(--base);top:-4px;transform:translateX(-50%)}
.hme .axis-labels{display:flex;justify-content:space-between;font-size:11px;color:#67645c;gap:12px}
.hme .profile-text{font-size:15px;line-height:1.85;margin-top:22px;word-break:keep-all}
.hme .profile-item aside{margin-top:20px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:8px;font-size:13px;line-height:1.8;word-break:keep-all}
.hme .profile-item aside strong{font-size:11px;color:#67645c}
.hme .color-explanation{margin-top:24px;border-top:1px solid var(--line);padding:20px 0;font-size:14px;line-height:1.85}
.hme .color-explanation summary{cursor:pointer;font-weight:600}
.hme .color-explanation p{color:#67645c;max-width:850px}
.hme .disclaimer{font-size:12px;line-height:1.8;word-break:keep-all}
.hme .result-details blockquote{font-family:inherit;font-size:17px;line-height:1.9;word-break:keep-all}
.hme .result-details blockquote em{background:transparent}
.hme .result-title h2,.hme .card-copy h3{font-family:Arial,"Noto Sans KR",sans-serif;font-style:normal}
.hme .result-title h2{line-height:1.1}
.hme .card-copy h3{font-size:clamp(34px,5vw,64px)}
.hme .type small{font-size:11px}
.hme .section-head>span{font-size:14px}
.hme .time-note{white-space:normal}
.hme .result-title span{line-height:1.8;display:block}
.hme .swatches small{font-size:12px;line-height:1.7}
.hme .select-action>div{font-size:13px}
@media(max-width:600px){.hme .profile-grid{grid-template-columns:1fr}
.hme .profile-item{padding:22px}
.hme .profile-heading h3{font-size:25px}
.hme .question-copy h2{font-size:32px}
.hme .answers button{min-height:104px;grid-template-columns:28px 1fr 24px;padding:14px 6px}
.hme .answers strong{font-size:16px}
.hme .answers button:hover{padding-left:6px}
.hme .question-wrap{gap:28px}
.hme .result-title h2{font-size:44px}
.hme .card-copy h3{font-size:38px}
.hme .result-details blockquote{font-size:16px}
.hme .profile-section{margin-top:44px}
.hme .type small{font-size:12px}}



/* ToolayBox 페이지 안에 맞추기 */
.hme{font-family:Arial,"Noto Sans KR",sans-serif;position:relative;isolation:isolate}
.hme .page{min-height:auto}
.hme .intro.page{min-height:calc(100vh - 140px)}
.hme .hme-title{margin:25px 0 32px}
.hme .hme-shared{text-align:center;font-size:13px;color:#67645c;margin:28px 0 0}
.hme .hme-share{max-width:560px;margin:40px auto 0}
.hme .result-actions{margin-top:20px}
@media screen{:root[data-theme="dark"] .hme{background:#f2efe8;color:#171713}}
