:root{--ui38-line:rgba(255,255,255,.10);--ui38-muted:#a8acb7;--ui38-text:#e2e4ea;--ui38-surface:#11131a}
.site-footer,.footer-links{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px 14px!important;margin-top:32px!important;padding:20px 6px max(10px,env(safe-area-inset-bottom))!important;border-top:1px solid var(--ui38-line)!important;color:var(--ui38-muted)!important;font-size:12px!important;line-height:1.5!important;text-align:center!important}.site-footer a,.footer-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 3px!important;color:var(--ui38-text)!important;text-decoration:none!important;white-space:nowrap}.site-footer a:hover,.footer-links a:hover{text-decoration:underline!important}.site-footer span{color:#8e93a1}
.shell-boot-error{margin-top:14px;padding:14px;border:1px solid rgba(255,115,140,.28);border-radius:15px;background:rgba(255,80,100,.065);color:#ffd2dc;font-size:13px;line-height:1.55;text-align:center}.shell-boot-error button{min-height:44px;margin-top:10px;padding:0 16px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:#151720;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.page-worldcup .home,.page-mbti .top-actions a,.page-bias .top-actions a{display:none!important}.page-lookalike:has(#engineBootFallback) #featureShellError,.page-worldcup:has(#setupError:not(.hidden)) #featureShellError,.page-mbti:has(#mbtiBootError) #featureShellError,.page-bias:has(#setupError:not(.hidden)) #featureShellError,.page-bias:has(#retryPoolBtn:not(.hidden)) #featureShellError{display:none!important}.page-worldcup [data-i18n]:empty,.page-mbti [data-i18n]:empty,.page-bias [data-i18n]:empty{min-width:0;min-height:0}.page-worldcup .hero [data-i18n]:empty,.page-worldcup .content [data-i18n]:empty,.page-mbti .hero [data-i18n]:empty,.page-bias .hero [data-i18n]:empty{background:none!important}.page-mbti .type-grid:empty{min-height:48px}.page-bias #startBtn[aria-busy="true"],.page-worldcup #startBtn[aria-busy="true"],.page-lookalike #analyzeBtn[aria-busy="true"]{cursor:progress}
/* Lookalike */
.page-lookalike #traits,.page-lookalike #winnerInitials,.page-lookalike #secondInitials,.page-lookalike #thirdInitials{display:none!important}.page-lookalike .preview{display:grid!important;align-items:center!important;background:#0d0e13!important}.page-lookalike .preview>img{display:block!important;width:100%!important;height:min(62vh,520px)!important;min-height:330px!important;object-fit:contain!important;object-position:center!important;background:#0d0e13!important;opacity:1!important;filter:none!important;transform:none!important}.page-lookalike .preview-tools{background:transparent!important}.page-lookalike .preview:after{content:""!important;position:absolute!important;top:auto!important;right:0!important;bottom:0!important;left:0!important;height:32%!important;background:linear-gradient(180deg,rgba(9,10,15,0) 0%,rgba(9,10,15,.10) 40%,rgba(9,10,15,.58) 100%)!important;pointer-events:none!important}.page-lookalike .preview-copy{position:relative!important;z-index:3!important;color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.72)!important}.page-lookalike .change-btn{background:rgba(10,11,16,.68)!important;border-color:rgba(255,255,255,.24)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.page-lookalike .language-select,.page-lookalike .proof,.page-lookalike .upload-hint,.page-lookalike .privacy-row,.page-lookalike .change-btn,.page-lookalike .filter-label,.page-lookalike .segment,.page-lookalike .step span,.page-lookalike .side-label,.page-lookalike .progress-label,.page-lookalike .result-kicker,.page-lookalike .rank,.page-lookalike .match-meta,.page-lookalike .score span,.page-lookalike .other-title,.page-lookalike .reference-photo-source,.page-lookalike .ux-trust-note,.page-lookalike #engineState,.page-lookalike #coverageState,.page-lookalike footer>p{font-size:12px!important;line-height:1.5!important}.page-lookalike .result-sub{max-width:560px!important}.page-lookalike .reference-photo-source{opacity:.9}.page-lookalike .idol-result-photo,.page-lookalike #winnerSelfie,.page-lookalike #scannerImage{opacity:1!important;filter:none!important}.page-lookalike .idol-photo-failed::after{content:'Photo unavailable'!important;position:absolute!important;z-index:25!important;inset:0!important;display:grid!important;place-items:center!important;padding:12px!important;border-radius:0!important;background:#151720!important;color:#c5c9d3!important;font-size:12px!important;line-height:1.45!important;text-align:center!important;transform:none!important;white-space:normal!important}.page-lookalike .idol-photo-failed::before{display:none!important}html[lang="ko"] .page-lookalike .idol-photo-failed::after{content:'사진을 불러오지 못했어요'!important}html[lang="ja"] .page-lookalike .idol-photo-failed::after{content:'写真を読み込めませんでした'!important}html[lang="es"] .page-lookalike .idol-photo-failed::after{content:'Foto no disponible'!important}
/* World Cup */
.page-worldcup .idol-photo:after{display:none!important}.page-worldcup .choice-info{background:linear-gradient(180deg,transparent,rgba(8,9,13,.82))!important}.page-worldcup .idol-photo img{filter:none!important}.page-worldcup .idol-photo img.loaded{opacity:1!important}.page-worldcup .winner-photo img,.page-worldcup .mini img{opacity:1!important;filter:none!important}.page-worldcup .choose-label{display:none!important}.page-worldcup .language,.page-worldcup .eyebrow,.page-worldcup .label,.page-worldcup .micro,.page-worldcup .prep p,.page-worldcup .count,.page-worldcup .choice-group,.page-worldcup .photo-credit,.page-worldcup .winner-credit,.page-worldcup .result-kicker,.page-worldcup .result-sub,.page-worldcup .mini div,.page-worldcup .action,.page-worldcup .error{font-size:12px!important;line-height:1.45!important}.page-worldcup .content p,.page-worldcup .content li{font-size:13px!important;line-height:1.65!important}.page-worldcup .photo-credit{display:block!important;max-width:100%!important;margin-top:7px!important;color:#aeb2bd!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.page-worldcup .winner-credit{display:inline-flex!important;align-items:center!important;min-height:38px!important;color:#aeb2bd!important}.page-worldcup .mini div{padding:8px 5px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.page-worldcup .content ul{margin:8px 0 0;padding-left:18px}.page-worldcup .content li+li{margin-top:4px}
/* MBTI */
.page-mbti .photo-fallback[hidden],.page-mbti .photo.loaded .photo-fallback,.page-mbti .photo:has(img) .photo-fallback{display:none!important}.page-mbti .photo-fallback strong{display:none!important}.page-mbti .photo img{opacity:1!important;filter:none!important}.page-mbti .top-actions select,.page-mbti .seg,.page-mbti .type-btn,.page-mbti .type-chip,.page-mbti .hint,.page-mbti .content-card>p,.page-mbti .content-card details p,.page-mbti .content-card summary,.page-mbti .disclaimer,.page-mbti .progress-row,.page-mbti .quick-result p,.page-mbti .loading p,.page-mbti .next-card,.page-mbti .toast,.page-mbti .photo .rank,.page-mbti .card-info .group,.page-mbti .score small,.page-mbti .reason-label,.page-mbti .credit,.page-mbti .reason,.page-mbti .type-line,.page-mbti .photo-fallback{font-size:12px!important;line-height:1.5!important}.page-mbti .photo-fallback{padding:12px!important;text-align:center!important}.page-mbti .credit{min-height:36px!important;display:inline-flex;align-items:center}.page-mbti .match-card{min-width:0!important}.page-mbti .card-info h3{overflow-wrap:anywhere}
/* Bias Finder */
.page-bias .choice-icon,.page-bias .choice .tap,.page-bias .photo-fallback>span:first-child,.page-bias .feature-row{display:none!important}.page-bias #perfectNameInline{display:none!important}.page-bias .choice{min-height:106px!important;padding:18px 16px!important;display:flex!important;align-items:center!important;justify-content:center!important}.page-bias .choice strong{font-size:17px!important;line-height:1.35!important}.page-bias .photo img{opacity:1!important;filter:none!important}.page-bias .top-actions select,.page-bias .eyebrow,.page-bias .hero-pills span,.page-bias .label,.page-bias .seg,.page-bias .fast,.page-bias .content-card p,.page-bias .back-btn,.page-bias .question-count,.page-bias .perfect-group,.page-bias .pool-note,.page-bias .photo-status,.page-bias .rank-badge,.page-bias .card-info .group,.page-bias .score small,.page-bias .reason-label,.page-bias .credit,.page-bias .disclaimer,.page-bias .next-card,.page-bias .toast,.page-bias .reason,.page-bias .photo-fallback small{font-size:12px!important;line-height:1.5!important}.page-bias .rank-badge{padding:7px 10px!important}.page-bias .photo-fallback{color:#b8bdc8!important}.page-bias .next-card{justify-content:center!important;text-align:center!important}
@media(max-width:520px){.site-footer,.footer-links{gap:6px 10px!important;margin-top:26px!important;padding-top:16px!important;font-size:12px!important}.site-footer span{flex-basis:100%}.page-mbti .topbar,.page-bias .topbar,.page-worldcup .topbar{gap:8px!important}.page-mbti .top-actions,.page-bias .top-actions,.page-worldcup .actions-top{min-width:0!important}.page-mbti .top-actions select,.page-bias .top-actions select,.page-worldcup .language{max-width:128px!important}.page-lookalike .preview>img{height:min(58vh,460px)!important;min-height:300px!important}.page-bias .choice{min-height:92px!important;padding:15px 12px!important}.page-bias .choice strong{font-size:15px!important}}
@media(max-width:360px){.site-footer,.footer-links{gap:4px 8px!important}.site-footer a,.footer-links a{min-height:44px!important}.page-worldcup .panel,.page-mbti .panel,.page-bias .panel{padding-left:14px!important;padding-right:14px!important}.page-bias .choice-grid{grid-template-columns:1fr!important}.page-bias .choice{min-height:70px!important}.page-mbti .card-info h3{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.page-lookalike .preview>img{min-height:280px!important}}
@media(pointer:coarse){.page-lookalike .primary,.page-lookalike .ghost,.page-lookalike .change-btn,.page-lookalike .segment,.page-worldcup .option,.page-worldcup .start,.page-worldcup .action,.page-mbti .seg,.page-mbti .type-btn,.page-mbti .primary,.page-mbti .ghost,.page-mbti .back-btn,.page-mbti .answer,.page-bias .seg,.page-bias .primary,.page-bias .ghost,.page-bias .back-btn,.page-bias .choice{min-height:48px!important}}
@media(forced-colors:active){.site-footer,.footer-links,.shell-boot-error{border-color:CanvasText!important}.page-worldcup .idol-choice,.page-mbti .match-card,.page-bias .match-card{border-color:CanvasText!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.shell-boot-error *{transition:none!important;animation:none!important}}
