/* V22: picture-book art with clearly actionable, readable controls. */
.ft-world {
  --ft-sky:#d9edf8; --ft-ink:#243e4b; --ft-accent:#456cad;
  min-height:100svh; background:var(--ft-sky); color:var(--ft-ink);
  font-family:Pretendard,'Apple SD Gothic Neo',sans-serif;
}
.ft-cover-world { --ft-sky:#d9eef9; }
.ft-quiz-world { --ft-sky:#d9edf8; }
.ft-world *, .ft-result { box-sizing:border-box; }
.ft-world button, .ft-world a { -webkit-tap-highlight-color:transparent; }
.ft-nav { display:flex; align-items:center; justify-content:space-between; max-width:540px; margin:auto; padding:8px 12px; gap:8px; color:#526a78; }
.ft-nav>a, .ft-nav>button, .ft-nav-space { width:44px; height:44px; flex:none; display:grid; place-items:center; color:inherit; background:none; border:0; cursor:pointer; }
.ft-nav>span:not(.ft-nav-space) { font-size:12px; font-weight:400; text-align:center; }
.ft-nav .icon { width:21px; height:21px; }
.ft-cover { max-width:520px; margin:auto; padding:24px 20px 32px; text-align:center; }
.ft-cover-title p { font-size:14px; font-weight:400; margin:0 0 15px; line-height:1.5; }
.ft-cover-title h1 { font:700 44px/1.12 Gaegu,Pretendard,sans-serif; letter-spacing:0; word-break:keep-all; margin:0; }
.ft-cover-painting { display:block; width:calc(100% + 40px); max-width:none; height:250px; object-fit:contain; margin:22px -20px 10px; }
.ft-cover-invitation>p:first-child { font-size:16px; line-height:1.75; font-weight:400; word-break:keep-all; margin:0 0 22px; }
.ft-start { display:block; width:100%; max-width:340px; margin:auto; min-height:58px; padding:15px 20px; border:0; border-radius:8px; background:#456cad; color:#fff; font:700 18px/1.5 Pretendard,sans-serif; cursor:pointer; }
.ft-start:hover { background:#375d9b; }
.ft-cover-meta { font-size:12px; line-height:1.6; color:#637b88; margin:17px 0 0; }
.ft-resume { font:400 14px/1.5 Pretendard,sans-serif; color:#456cad; border:0; background:none; padding:12px; min-height:44px; cursor:pointer; }
.ft-journey { max-width:520px; margin:auto; padding:9px 22px 32px; }
.ft-progress { display:flex; justify-content:space-between; gap:12px; font-size:12px; font-weight:400; line-height:1.5; color:#637b88; }
.ft-progress>span:last-child { white-space:nowrap; }
.ft-progress-track { height:2px; background:#a8c0d2; margin-top:11px; overflow:hidden; }
.ft-progress-track>span { height:100%; display:block; background:#456cad; }
.ft-story { padding-top:26px; }
.ft-story h1 { color:#172f3d; font:700 24px/1.5 Pretendard,sans-serif; letter-spacing:0; word-break:keep-all; margin:0; min-height:72px; }
.ft-journey-painting { display:block; width:100%; height:250px; object-fit:contain; margin:12px auto 13px; }
.ft-choices { display:flex; flex-direction:column; gap:14px; }
.ft-choice { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:88px; padding:16px 18px; border:1.5px solid #6c899d; border-radius:10px; background:#f7fbfe; box-shadow:0 3px 0 #b0c8d8; color:#172f3d; cursor:pointer; text-align:left; font:600 18px/1.55 Pretendard,sans-serif; word-break:keep-all; overflow-wrap:normal; }
.ft-choice>span { flex:1; min-width:0; }
.ft-choice::after { content:'›'; flex:none; color:#456cad; font:600 28px/1 Pretendard,sans-serif; }
.ft-choice.is-selected { background:#d9e7fa; border-color:#456cad; box-shadow:0 3px 0 #456cad; color:#142c3c; }
.ft-choice:active { transform:translateY(2px); box-shadow:0 1px 0 #8eaabd; }
@media(hover:hover) { .ft-choice:hover { background:#eaf2fc; border-color:#456cad; } }
.ft-choice:disabled { opacity:1; }
.ft-choice:focus-visible, .ft-start:focus-visible, .ft-resume:focus-visible, .ft-nav button:focus-visible, .ft-nav a:focus-visible { outline:3px solid #456cad; outline-offset:4px; }
body[data-test="fairytale-sidekick"][data-view="result"] { background:#dfedf6; color:#243e4b; }
body[data-test="fairytale-sidekick"][data-view="result"] .site-header { background:#dfedf6; border-color:#b4cbd9; color:#243e4b; backdrop-filter:none; }
.themed-result--fairytale-sidekick { --theme-ink:#243e4b; --theme-accent:#456cad; max-width:560px; padding:10px 22px calc(40px + env(safe-area-inset-bottom))!important; background:#dfedf6; }
.themed-result--fairytale-sidekick>.result-heading { display:none; }
.ft-result { margin:0 -22px 14px; line-height:0; max-width:560px; }
.ft-result>svg { display:block; width:100%; height:auto; }
.ft-art { display:block; overflow:hidden; flex:none; background:#dfedf6; }
.ft-art>img { display:block; width:100%; height:100%; object-fit:contain; }
.themed-result--fairytale-sidekick .result-actions { gap:12px; }
.themed-result--fairytale-sidekick .primary-button { background:#456cad; color:#fff; border:0; border-radius:8px; box-shadow:none; font:700 17px/1.5 Pretendard,sans-serif; min-height:58px; }
.themed-result--fairytale-sidekick .secondary-button { color:#254e8c; background:#f7fbfe; border:1.5px solid #6c899d; border-radius:8px; font:600 17px/1.5 Pretendard,sans-serif; min-height:56px; }
.themed-result--fairytale-sidekick .share-note { font-size:14px; line-height:1.7; color:#526a78; }
.themed-result--fairytale-sidekick .result-section { border-top-color:#adc4d3; }
.themed-result--fairytale-sidekick .result-section-title { font:700 30px/1.3 Gaegu,Pretendard,sans-serif; letter-spacing:0; color:#243e4b; }
.themed-result--fairytale-sidekick .result-description p { font-size:16px; line-height:1.85; color:#354f5c; font-weight:400; word-break:keep-all; }
.themed-result--fairytale-sidekick .eyebrow { color:#637b88; font-size:13px; font-weight:400; }
.themed-result--fairytale-sidekick .insight-grid { display:block; border-top:1px solid #adc4d3; border-bottom:1px solid #adc4d3; }
.themed-result--fairytale-sidekick .insight-card { padding:22px 0; border:0; background:none; border-radius:0; }
.themed-result--fairytale-sidekick .insight-card+.insight-card { border-top:1px solid #adc4d3; }
.themed-result--fairytale-sidekick .insight-card p { font-size:16px; line-height:1.8; color:#354f5c; }
.themed-result--fairytale-sidekick .insight-card>span { color:#456cad; }
.themed-result--fairytale-sidekick .match-card { border:0; border-top:1px solid #adc4d3; border-bottom:1px solid #adc4d3; background:transparent; border-radius:0; padding:16px 0; gap:16px; align-items:center; }
.themed-result--fairytale-sidekick .match-image { width:90px; height:105px; border-radius:0; }
.themed-result--fairytale-sidekick .match-copy { min-width:0; flex:1; }
.themed-result--fairytale-sidekick .match-copy h3 { font-size:17px; font-weight:500; line-height:1.5; word-break:keep-all; }
.themed-result--fairytale-sidekick .match-copy p { font-size:14px; font-weight:400; line-height:1.6; word-break:keep-all; }
.themed-result--fairytale-sidekick .type-mini { background:transparent; border:1px solid #adc4d3; border-radius:0; overflow:hidden; padding:0 0 14px; }
.themed-result--fairytale-sidekick .type-mini .ft-art { width:100%; height:145px; margin-bottom:12px; }
.themed-result--fairytale-sidekick .type-mini>span:last-of-type { display:block; padding:0 8px; font-size:15px; font-weight:400; line-height:1.5; word-break:keep-all; }
.themed-result--fairytale-sidekick .type-mini.is-active { border-color:#456cad; background:#cfdfeb; }
.themed-result--fairytale-sidekick .site-footer { border-top-color:#adc4d3; }
.themed-share--fairytale-sidekick { background:#dfedf6!important; color:#243e4b; }
.themed-share--fairytale-sidekick .sheet-heading { font:700 32px/1.2 Gaegu,Pretendard,sans-serif; letter-spacing:0; }
.themed-share--fairytale-sidekick .share-option { border-color:#8da9bd; background:transparent; border-radius:6px; font-weight:400; }
.themed-share--fairytale-sidekick .share-option:first-child { background:#456cad; color:#fff; border-color:#456cad; }
.ft-share-poster { width:200px; margin:20px auto; line-height:0; }
.ft-share-poster>svg { display:block; width:100%; height:auto; }
@media(max-width:380px) {
 .ft-cover { padding-left:18px; padding-right:18px; }
 .ft-cover-title h1 { font-size:42px; }
 .ft-cover-painting { width:calc(100% + 36px); margin-left:-18px; margin-right:-18px; height:240px; }
 .ft-journey { padding-left:18px; padding-right:18px; }
 .ft-story h1 { min-height:72px; }
 .ft-journey-painting { height:235px; }
 .ft-choice { padding-left:16px; padding-right:14px; }
 .themed-result--fairytale-sidekick { padding-left:18px!important; padding-right:18px!important; }
 .ft-result { margin-left:-18px; margin-right:-18px; }
 .themed-result--fairytale-sidekick .type-mini .ft-art { height:128px; }
}
