/* Các thành phần giao diện và kết quả của Nhà Kiến. */
body{display:flow-root;min-height:100dvh}.reveal-view .fine-print{font-size:11px;font-weight:700;line-height:1.7;max-width:440px;margin:18px auto 0}.reveal-view .error{font-size:12px;min-height:18px;margin:4px 0;color:#ffad91}body[data-screen="calibrate"] .reveal-continue{margin-top:16px}.share-dialog>#close-modal{display:none}
.game-bar{color:#22201e}.home-button{white-space:nowrap}
.meter[data-tone="mid"]::-webkit-progress-value{background:#f2a83a}.meter[data-tone="high"]::-webkit-progress-value{background:#79b988}.meter[data-tone="mid"]::-moz-progress-bar{background:#f2a83a}.meter[data-tone="high"]::-moz-progress-bar{background:#79b988}
.answer-button.plain{gap:14px}.answer-button.plain .answer-icon{display:none}
dialog{max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:22px;padding:24px;box-shadow:0 4px 0 #22201e33}dialog h2{text-align:center;font-size:21px;padding:0 24px;line-height:1.5}dialog p,dialog li{font-size:13px;line-height:1.85}dialog li{margin:9px 0}.dialog-dismiss{position:absolute;right:12px;top:10px;z-index:2;width:32px;height:32px;border:0;background:transparent;color:#6b6257;font-size:25px;font-weight:900}.language-modal>.dialog-dismiss{display:none}
body[data-screen="reveal"],body[data-screen="reveal-wait"],body[data-screen="calibrate"]{background:#282624;background-image:none;color:#f8f5ef}.reveal-view{padding:60px 0 70px;min-height:480px;display:flex;flex-direction:column;align-items:center;justify-content:center}.reveal-view>p:first-child{color:#b8b0a4;font-size:18px}.reveal-age{font-size:clamp(52px,9vw,68px);line-height:1.15;position:relative;margin:16px 0 28px}.reveal-age span{font-size:inherit}.reveal-age::after{content:"";position:absolute;left:8%;right:8%;bottom:-13px;height:6px;border-radius:9px;background:#d94336}.reveal-sub{color:#f8f5ef!important;font-size:18px!important}.feedback-row{width:min(100%,380px);margin:16px auto 0}.feedback-row button{min-height:54px;flex:1;border-radius:16px}.feedback-row .yes-button{color:#22201e}.feedback-row #no{color:#f8f5ef;border-color:#f8f5ef;background:transparent;box-shadow:none}.reveal-view .back-answer{color:#b8b0a4;text-decoration:underline;font-size:12px}.reveal-view .fine-print{color:#b8b0a4}.actual-input{flex-wrap:wrap;gap:8px}.actual-input button{height:45px;width:43px;background:#ffffff12;border-color:#f8f5ef;color:#f8f5ef}.actual-input input{color:#fff;background:#1a1816;border-color:#ffda4c;font-family:'M PLUS Rounded 1c';font-size:27px;width:92px}.reveal-continue{color:#22201e}
body[data-screen="reveal"] .site-footer,body[data-screen="reveal-wait"] .site-footer,body[data-screen="calibrate"] .site-footer{color:#c5bbac}body[data-screen="reveal"] .footer-brand,body[data-screen="reveal-wait"] .footer-brand,body[data-screen="calibrate"] .footer-brand{color:#f8f5ef}
.verdict-card{position:relative;border-radius:20px;padding:28px 24px 24px}.verdict-you{font-size:16px;font-weight:800;margin:4px 0}.big-age{font-size:48px;line-height:1.15;margin:6px 0 14px}.big-age span{font-size:inherit;letter-spacing:-.02em;margin-left:8px}.result-stamp{font-size:17px;letter-spacing:.025em;border-width:3px;border-radius:10px;padding:6px 16px;margin:4px auto 10px}.result-stamp[data-tone="hit"]{color:#d94336;border-color:#d94336}.result-stamp[data-tone="close"]{color:#d97706;border-color:#d97706}.result-stamp[data-tone="miss"]{color:#6c665e;border-color:#6c665e}.interval{font-size:12px;margin:7px 0}.quick-actions{display:flex;gap:9px;justify-content:center;max-width:420px;margin:18px auto 20px}.quick-actions button{flex:1;font-size:12px;padding:9px 13px;min-height:44px}.section-rule{border:0;border-top:2px dashed #e1d9cb;margin:22px 0}.strata{margin:20px 0 12px}.strata h3,.clincher h3{text-align:center;font-size:19px;margin-bottom:17px}.strata .strata-row{display:flex;align-items:center;gap:10px;position:relative;overflow:hidden;min-height:57px;padding:12px 13px;margin:8px 0;border:1px solid #dad0c1;border-radius:11px;background:var(--track);isolation:isolate}.strata .strata-row progress{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;z-index:-1}.strata-row progress::-webkit-progress-bar{background:var(--track)}.strata-row progress::-webkit-progress-value{background:var(--layer)}.strata-row progress::-moz-progress-bar{background:var(--layer)}.strata .layer-label{font-size:12px;font-weight:900;min-width:100px}.layer-tags{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;margin-left:auto}.layer-tags span{font-size:10px;font-weight:800;background:#ffffffb8;border:1px solid #ffffffa6;border-radius:999px;padding:3px 8px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.strata-row[data-layer="2020"]{--layer:#a68ee0;--track:#efe9fb}.strata-row[data-layer="2010"]{--layer:#6db3ea;--track:#e7f3fc}.strata-row[data-layer="2000"]{--layer:#7ac89b;--track:#e7f6ed}.strata-row[data-layer="1990"]{--layer:#f2be4a;--track:#fdf3d7}.strata-row[data-layer="1980"]{--layer:#e89073;--track:#fbece3}.strata-row[data-layer="1970"]{--layer:#b58e6d;--track:#f2eae3}.layer-empty{font-size:11px;color:#81776a;margin-left:auto}.clincher{border:0;background:transparent;padding:6px 0 8px}.clincher p{text-align:center;font-size:13px;line-height:1.8}.result-actions .secondary-row{display:flex;gap:10px}.result-actions .secondary-row button{flex:1;font-size:13px}.result-actions .accent-button{width:100%}.history-details{margin-top:20px;padding-top:16px;border-top:1px dashed #e1d9cb}.result-cross-modes{text-align:center;margin:27px 0 0}.result-cross-modes>p{font-size:12px;font-weight:800;color:#6b6255}.result-cross-modes>div{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.result-cross-modes button{font-size:12px;padding:12px 15px;min-width:120px}.share-dialog{width:min(94vw,490px)}.card-preview{display:block;width:220px;max-width:75%;height:auto;margin:16px auto;border-radius:10px;border:1px solid #ddd2c3;box-shadow:0 4px 12px #3c342514}.share-hide{display:flex!important;align-items:center;gap:9px;justify-content:center;font-size:12px!important}.share-hide input{width:17px;height:17px}.share-options{display:grid;gap:11px;margin-top:17px}.share-options button{font-size:13px;padding:12px}.share-options .accent-button{margin:0}.share-status{font-size:12px;color:#54765e;line-height:1.7;text-align:center;min-height:20px}.footer-links a,.footer-links button{font-size:12px}.footer-brand strong{font-size:14px}.footer-brand small,.footer-bottom,.footer-reference{font-size:11px}
@media(max-width:560px){.verdict-card{padding:25px 17px 20px}.big-age{font-size:39px}.result-stamp{font-size:12px;padding:7px 11px}.strata .layer-label{min-width:80px;font-size:10px}.strata .strata-row{padding:10px;min-height:57px}.layer-tags span{font-size:8px;max-width:139px;padding:3px 6px}.layer-tags span:nth-child(n+2){display:none}.strata h3,.clincher h3{font-size:17px}.reveal-view{padding:42px 0 50px;min-height:440px}.reveal-age{font-size:54px}.result-actions .secondary-row button{font-size:11px}.result-cross-modes button{min-width:100px;font-size:11px;padding:10px}.footer-links a,.footer-links button{font-size:11px}}
@media(max-height:720px){.share-dialog .card-preview{width:180px;margin:12px auto}.share-dialog h2{margin-top:0;margin-bottom:12px}.share-dialog>.dialog-dismiss{top:9px}.share-dialog .share-status{margin:8px 0}.share-dialog .share-options{margin-top:12px}}

.verdict-card::before{content:"";position:absolute;width:100px;height:24px;background:#e8ddbbeb;top:-12px;left:calc(50% - 50px);transform:rotate(-2deg)}
