/* The closing ceremony, and the private page tucked behind it. */
.results-book{max-width:1180px;margin:0 auto;padding-bottom:20px}
.result-progress{display:flex;justify-content:center;align-items:center;gap:17px;font-size:11px;color:#81685e;padding:7px 0 23px}
.result-progress>span{display:inline-flex;align-items:center;gap:8px;min-height:35px}.result-progress .active{color:#efad88}.result-progress .complete{color:#b89677}.result-progress i{width:55px;height:1px;background:#50372f}
.results-heading{text-align:center;position:relative;padding:35px 15px 42px;border-bottom:1px solid #48312e;margin-bottom:39px}
.results-heading>.overline{font-size:8px;letter-spacing:.2em;margin-bottom:15px}
.ending-star{display:block;color:#df815b;font-size:33px;margin:4px 0 14px;text-shadow:0 0 35px #e06c3433}
.results-heading h1{font:500 clamp(2rem,3.3vw,3.4rem)/1.6 var(--serif);letter-spacing:-.065em}
.results-heading>p{font-size:12px;color:#b49785;margin:21px auto 24px;max-width:660px;line-height:1.9}
.closing-stats{display:flex;justify-content:center;align-items:center;gap:22px;font-size:9px;color:#9e7c66;flex-wrap:wrap}
.closing-stats b{font:24px var(--latin);font-weight:500;color:#daa17a;margin-right:3px}.closing-stats i{width:1px;height:16px;background:#51372c}
.result-section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px;flex-wrap:wrap}
.result-section-heading h2{font:500 1.6rem/1.7 var(--serif);letter-spacing:-.055em;color:#ecd6bf}
.result-section-heading .overline{font-size:8px;letter-spacing:.14em;margin-bottom:8px}
.result-section-heading p{font-size:11px;color:#a6856e;margin-top:7px;line-height:1.9}
.handwritten-label{font:11px var(--serif);color:#bd8565;transform:rotate(-5deg);margin-right:12px}
.detective-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.detective-card{position:relative;border:1px solid #644333;border-radius:4px 13px 13px 4px;background:linear-gradient(130deg,#302426,#221d20);padding:22px;box-shadow:3px 4px 0 #3e2924;min-width:0}
.detective-card.is-me{border-color:#b26a46;background:linear-gradient(130deg,#432b27,#282023);box-shadow:3px 4px 0 #81452e}
.detective-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:22px}.card-file-number{font-size:7px;letter-spacing:.13em;color:#987361}.me-tag{font-size:8px;padding:4px 8px;background:#7f4835;color:#f4c6a3;border-radius:4px;white-space:nowrap}
.detective-insignia{height:100px;width:100px;margin:15px auto 20px;display:grid;place-content:center;position:relative;border:1px solid #76523b;border-radius:50%;color:#da9668;background:radial-gradient(#a85c2d15,transparent)}
.detective-insignia:before{content:'';position:absolute;inset:6px;border:1px dashed #76523b88;border-radius:50%;transform:rotate(-15deg)}.detective-insignia>span{font:42px/1 var(--latin);z-index:1}.detective-insignia i{position:absolute;inset:15px;border:1px solid #64432e44;transform:rotate(45deg)}
.detective-name-row{display:flex;align-items:baseline;justify-content:space-between;gap:9px;min-width:0}.detective-name-row h3{font:500 1.25rem/1.7 var(--serif);color:#f2d8bc;overflow-wrap:anywhere}.detective-name-row small{font:9px var(--body);color:#b48d70;white-space:nowrap}.detective-type-code{font:11px ui-monospace,monospace;color:#d98960;border:1px solid #73503a;padding:3px 6px;border-radius:3px;letter-spacing:.14em;white-space:nowrap}
.detective-type-name{font:500 1.12rem/1.7 var(--serif);color:#dc956d;margin-top:10px}.detective-tagline{font-size:11px;line-height:1.9;color:#b89479;margin-top:9px;min-height:43px;word-break:keep-all}
.card-awards-label{display:flex;justify-content:space-between;border-top:1px dashed #634531;padding-top:17px;margin-top:20px;color:#9d785b;font-size:8px;gap:10px}.card-awards-label>span:last-child{font:14px var(--latin);color:#ce9a70}.award-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.award-chip{font-size:8px;border:1px solid #73543b;border-radius:4px;color:#caa17a;background:#63442522;padding:5px 8px;line-height:1.7}.award-chip>span{color:#dc9e62}.award-empty{color:#9d7c60;font-size:10px;line-height:1.9;margin-top:10px}
.team-chemistry{margin-top:49px}.chemistry-filters{display:flex;gap:5px;background:#211a1c;padding:4px;border:1px solid #4c342b;border-radius:8px}.chemistry-filters button{min-height:38px;padding:8px 13px;font-size:10px;color:#a5836c;border-radius:5px}.chemistry-filters button[aria-pressed=true]{background:#583327;color:#f0bd95}
.chemistry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.chemistry-card{background:#282022;border:1px solid #5f4030;border-radius:9px;padding:22px;min-width:0}.chemistry-card.spark{border-color:#9e553a;background:linear-gradient(135deg,#49282055,#282022)}.chemistry-card.similar{border-color:#76613f}.chemistry-card.pending{border-style:dashed;opacity:.85}
.chemistry-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#b99071;font-size:10px}.chemistry-card-top>span:first-child{overflow-wrap:anywhere}.chemistry-label{font-size:8px;color:#e5ab7b;border:1px solid #795334;padding:4px 7px;border-radius:4px;white-space:nowrap}.chemistry-card h3{font:500 1.17rem/1.7 var(--serif);color:#ead0b0;margin:15px 0 17px}
.chemistry-observation{display:grid;grid-template-columns:72px 1fr;gap:10px;font-size:11px;line-height:1.9;margin-top:11px}.chemistry-observation>span{color:#d99b6b;font-size:9px;padding-top:1px}.chemistry-observation>p{color:#bfa085;word-break:keep-all}.chemistry-observation.friction>span{color:#b98b76}.chemistry-observation.friction>p{color:#ab8b78}
.chemistry-tip{border-top:1px dashed #5d402f;padding-top:13px;margin-top:17px;line-height:1.9;font-size:10px;color:#c5966e;display:flex;gap:8px}.chemistry-tip>span{font-size:14px;flex-shrink:0}.chemistry-expand{display:block;margin:19px auto 0;text-align:center}
.results-empty{padding:35px 22px;text-align:center;border:1px dashed #664534;border-radius:9px;background:#30221f55;color:#ae8b71}.results-empty>span{font:40px var(--latin);color:#be7e50;display:block;margin-bottom:10px}.results-empty h3{font:500 1.15rem/1.7 var(--serif);margin-bottom:10px;color:#d9b696}.results-empty p{font-size:11px;line-height:1.9}
.result-page-turn{margin-top:47px;padding:30px;border:1px solid #8b5339;border-radius:4px 11px 11px 4px;background:linear-gradient(110deg,#442b24,#2a2022);display:flex;justify-content:space-between;gap:25px;align-items:center;box-shadow:4px 5px 0 #603b2a}
.result-page-turn h2{font:500 1.45rem/1.7 var(--serif);color:#efd4b5}.result-page-turn .overline{font-size:7px}.result-page-turn p{font-size:11px;color:#b88c6d;margin-top:9px;line-height:1.9}.result-page-turn>.button{flex-shrink:0;font-size:12px;min-height:51px}.result-page-turn>.button span{margin-left:9px}.results-fineprint{font-size:9px;color:#94745f;text-align:center;margin-top:25px;line-height:1.9}
.personal-page-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:15px}.personal-page-top .button{font-size:10px;min-height:42px;padding:10px 15px;gap:10px}.personal-page-top>span{font-size:7px;letter-spacing:.15em;color:#a37b5d}
.detective-passport{position:relative;background:repeating-linear-gradient(transparent 0 29px,#b48d5912 29px 30px),#f0dfc2;color:#705137;border:1px solid #bc9063;border-radius:4px 12px 12px 4px;padding:27px 32px 30px;box-shadow:5px 6px 0 -1px #c29e77,6px 7px 0 #856044;overflow:hidden}
.passport-margin{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #c7a781;padding-bottom:13px;color:#a27b54;font-size:7px;letter-spacing:.1em}.passport-margin>span:last-child{letter-spacing:0}
.passport-body{display:flex;align-items:center;gap:32px;margin:29px 0 22px;position:relative;z-index:1}
.passport-emblem{height:148px;width:135px;flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;color:#a96a3d;border:1px solid #bd986b;outline:1px dashed #c5a77e;outline-offset:-8px;border-radius:50% 50% 45% 45%;transform:rotate(-7deg);background:#c8a56d0c}.passport-emblem>span:first-child{font:56px var(--latin)}.passport-emblem>span:last-child{font:13px ui-monospace,monospace;letter-spacing:.17em}
.passport-copy{min-width:0}.passport-copy>.overline{font-size:10px;letter-spacing:.04em;color:#ad774e}.passport-copy h2{font:500 clamp(1.8rem,2.8vw,3rem)/1.6 var(--serif);color:#825232;letter-spacing:-.06em}.passport-tagline{font-size:12px;color:#9c744f;line-height:1.9;margin-top:9px}.passport-copy blockquote{font:500 13px/1.9 var(--serif);color:#b27043;margin:15px 0 0}
.passport-description{font-size:12px;line-height:2;color:#92704f;max-width:800px;position:relative;z-index:1}.passport-strengths{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px dashed #c7a67c;margin-top:25px;padding-top:21px;position:relative;z-index:1}.passport-strengths>div>span{font-size:9px;color:#ad7447;display:block;margin-bottom:7px}.passport-strengths p{font-size:11px;color:#98714e;line-height:1.9}.passport-stamp{position:absolute;right:22px;bottom:23px;color:#bb794512;border:3px double #bb794512;border-radius:50%;padding:25px 15px;font:27px/1.1 var(--latin);letter-spacing:.08em;transform:rotate(15deg);pointer-events:none}
.personal-story,.personal-axes,.personal-achievements,.personal-chemistry{margin-top:42px}
.story-pages{display:grid;gap:13px}.story-page{display:flex;gap:20px;padding:22px;background:#282022;border:1px solid #533b2e;border-radius:8px}.story-number{font:italic 34px/1 var(--latin);color:#a96843;min-width:33px;opacity:.8}.story-page h3{font:500 1.15rem/1.7 var(--serif);color:#e1bf9b;margin-bottom:9px}.story-page p{font-size:12px;line-height:2;color:#b28f73;word-break:keep-all}
.axes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.detective-axis{padding:22px;background:#2c2223;border:1px solid #61432f;border-radius:8px}.axis-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:19px}.axis-heading h3{font:500 1rem var(--serif);color:#ddbd98}.axis-heading>span{font-size:7px;color:#a7805d}.axis-labels{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#947257;line-height:1.8}.axis-labels .chosen{color:#e2a374}.axis-track{position:relative;height:5px;background:linear-gradient(90deg,#9a6b4766,#cfa36266);border-radius:5px;margin:13px 0 16px}.axis-track span{position:absolute;left:var(--axis-score);top:50%;width:11px;height:11px;border-radius:50%;background:#efb07e;transform:translate(-50%,-50%);border:2px solid #7c472c;box-shadow:0 0 0 4px #bc7b4130}.detective-axis p{font-size:10px;line-height:1.95;color:#ac8768}.detective-axis.unresolved .axis-track{background:repeating-linear-gradient(90deg,#76583e 0 5px,transparent 5px 9px)}.detective-axis.unresolved .axis-track span{background:#604733;box-shadow:none}.detective-axis.unresolved .axis-labels{opacity:.65}
.achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.achievement-stamp{display:flex;gap:18px;align-items:flex-start;border:1px dashed #8e663f;border-radius:7px;background:#38271e44;padding:21px}.stamp-medal{height:50px;width:50px;border:1px solid #a17b4c;outline:1px solid #795a3733;outline-offset:3px;border-radius:50%;display:grid;place-content:center;flex-shrink:0;color:#d9a464;font:28px var(--latin);transform:rotate(-9deg)}.achievement-stamp .overline{font-size:6px;letter-spacing:.1em;color:#9b764d;margin-bottom:6px}.achievement-stamp h3{font:500 1.1rem/1.7 var(--serif);color:#d9b283}.achievement-stamp p{font-size:10px;line-height:1.9;color:#ad8762;margin-top:6px}.achievement-stamp small{font-size:9px;line-height:1.9;color:#8f6d50;display:block;margin-top:7px}.achievement-count{font:9px ui-monospace,monospace;letter-spacing:.1em;color:#b68b58}
.highlight-note{display:flex;gap:18px;align-items:flex-start;margin-top:27px;padding:24px;background:#e6c994;color:#8b6339;border:1px solid #b59462;box-shadow:3px 4px 0 #88643d;border-radius:3px;transform:rotate(-.35deg)}.highlight-note>span{font-size:30px;line-height:1.2;flex-shrink:0;color:#b37e43}.highlight-note h3{font:500 1.05rem var(--serif);color:#946536;margin-bottom:10px}.highlight-note ul{padding-left:16px;margin:0;display:grid;gap:7px;font-size:11px;line-height:1.9;color:#937044}
.detective-evidence{border-block:1px dashed #705033;margin-top:33px;padding:6px 0}.detective-evidence summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;min-height:50px;font-size:11px;color:#b28d67}.detective-evidence summary::-webkit-details-marker{display:none}.detective-evidence summary>span{font-size:18px;color:#bf8a55}.detective-evidence ul{padding-left:18px;color:#a98664;font-size:10px;line-height:1.95;display:grid;gap:9px;margin:15px 0 22px}.detective-evidence>p{font-size:11px;line-height:1.9;color:#a98664;margin:15px 0}.personal-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;padding:13px 0 9px}.personal-facts strong{display:block;font:30px var(--latin);color:#d39d6a}.personal-facts span{font-size:9px;color:#9f7d5c}
.personal-ending{flex-direction:column;align-items:flex-start}.personal-ending .row{gap:10px;margin-top:1px}.personal-ending .button{font-size:12px}
.embedded-result .detective-passport{padding:22px}.embedded-result .passport-body{gap:22px}.embedded-result .passport-emblem{width:100px;height:117px}.embedded-result .passport-copy h2{font-size:1.9rem}.embedded-result .passport-copy>.overline{font-size:9px}.embedded-result .result-section-heading h2{font-size:1.4rem}.embedded-result .axes-grid{grid-template-columns:1fr}.embedded-result .chemistry-grid{grid-template-columns:1fr}.embedded-result .achievement-grid{grid-template-columns:1fr}.embedded-result .handwritten-label{display:none}.embedded-result .result-section-heading{margin-bottom:16px}.embedded-result .passport-margin>span:last-child{display:none}
@media(hover:hover) and (pointer:fine){.detective-card{transition:transform .4s var(--ease),border-color .3s,box-shadow .4s}.detective-card:hover{transform:translateY(-5px) rotate(-.5deg);border-color:#b87c52;box-shadow:5px 9px 0 #55352b}}
@media(max-width:1250px){.detective-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.axes-grid{grid-template-columns:1fr}.result-page-turn{align-items:flex-start;flex-direction:column}.passport-emblem{width:120px;height:135px}.passport-copy h2{font-size:2.3rem}.passport-body{gap:25px}.handwritten-label{font-size:10px}.chemistry-grid{gap:14px}.chemistry-card{padding:20px}.chemistry-observation{grid-template-columns:1fr;gap:3px}.achievement-stamp{gap:14px;padding:19px}.stamp-medal{width:43px;height:43px}.passport-strengths{gap:20px}}
@media(max-width:950px){.chemistry-grid,.achievement-grid{grid-template-columns:1fr}.result-progress{gap:11px;font-size:10px}.result-progress i{width:30px}.detective-card{padding:20px}.passport-body{align-items:flex-start}.passport-copy h2{font-size:2rem}.passport-strengths{grid-template-columns:1fr;gap:15px}.personal-page-top>span{display:none}.handwritten-label{display:none}}
@media(max-width:760px){
 .results-book{padding-bottom:10px}.result-progress{font-size:9px;gap:8px;padding:0 0 13px;justify-content:flex-start}.result-progress i{width:22px}.result-progress>span{gap:5px;min-height:35px}
 .results-heading{padding:20px 0 30px;margin-bottom:29px}.results-heading>.overline{font-size:6px;letter-spacing:.13em;margin-bottom:10px}.ending-star{font-size:28px;margin:5px 0 14px}.results-heading h1{font-size:clamp(1.9rem,7vw,2.6rem);line-height:1.65}.results-heading>p{font-size:11px;margin:17px 4px 21px;line-height:1.95}.closing-stats{gap:13px;font-size:8px}.closing-stats b{font-size:21px}.closing-stats i{height:12px}
 .result-section-heading{gap:13px;margin-bottom:19px}.result-section-heading h2{font-size:1.35rem;line-height:1.7}.result-section-heading .overline{font-size:6px;letter-spacing:.1em}.result-section-heading p{font-size:10px;line-height:1.9;margin-top:6px}
 .detective-grid{grid-template-columns:1fr;gap:18px}.detective-card{padding:22px;box-shadow:3px 4px 0 #3e2924}.card-file-number{font-size:7px}.me-tag{font-size:8px}.detective-insignia{width:90px;height:90px;margin:16px auto 20px}.detective-insignia>span{font-size:40px}.detective-name-row h3{font-size:1.3rem}.detective-type-code{font-size:11px}.detective-type-name{font-size:1.15rem;margin-top:8px}.detective-tagline{font-size:11px;min-height:0;line-height:1.95}.award-chip{font-size:9px;padding:6px 9px}.card-awards-label{font-size:9px}
 .team-chemistry{margin-top:36px}.chemistry-filters{width:100%;justify-content:stretch}.chemistry-filters button{flex:1;min-height:44px;font-size:11px}.chemistry-grid{grid-template-columns:1fr;gap:15px}.chemistry-card{padding:21px}.chemistry-card-top{font-size:10px;gap:7px;flex-wrap:wrap}.chemistry-label{font-size:8px}.chemistry-card h3{font-size:1.2rem;margin:14px 0}.chemistry-observation{grid-template-columns:1fr;gap:4px;font-size:11px;margin-top:13px}.chemistry-observation>span{font-size:9px}.chemistry-tip{font-size:10px;line-height:1.95;margin-top:16px;padding-top:14px}.chemistry-expand{font-size:11px;min-height:46px}
 .results-empty{padding:28px 20px}.results-empty h3{font-size:1.2rem}.results-empty p{font-size:11px;line-height:1.95}.results-empty>span{font-size:35px}
 .result-page-turn{padding:24px 22px;margin-top:35px;gap:22px}.result-page-turn h2{font-size:1.35rem}.result-page-turn .overline{font-size:6px;line-height:1.9}.result-page-turn p{font-size:11px}.result-page-turn>.button{width:100%;min-height:52px;font-size:12px}.results-fineprint{font-size:9px;line-height:1.95;margin-top:22px;text-align:left;padding-inline:3px}
 .personal-page-top{margin:6px 0 22px}.personal-page-top .button{min-height:44px;font-size:10px;padding-inline:13px}.detective-passport{padding:22px 21px 25px}.passport-margin{font-size:6px;letter-spacing:.08em;gap:10px;padding-bottom:13px}.passport-margin>span:last-child{font-size:6px}.passport-body{display:flex;flex-direction:column;gap:20px;align-items:center;text-align:center;margin:25px 0 21px}.passport-emblem{width:112px;height:127px;gap:10px}.passport-emblem>span:first-child{font-size:46px}.passport-emblem>span:last-child{font-size:12px}.passport-copy>.overline{font-size:10px}.passport-copy h2{font-size:2rem;line-height:1.65}.passport-tagline{font-size:11px;line-height:1.95;margin-top:8px}.passport-copy blockquote{font-size:12px;line-height:1.95;margin-top:15px}.passport-description{font-size:11px;line-height:2}.passport-strengths{grid-template-columns:1fr;gap:17px;margin-top:21px;padding-top:18px}.passport-strengths>div>span{font-size:9px}.passport-strengths p{font-size:11px;line-height:1.95}.passport-stamp{right:14px;bottom:20px;font-size:23px}
 .personal-story,.personal-axes,.personal-achievements,.personal-chemistry{margin-top:32px}.story-pages{gap:13px}.story-page{padding:20px 18px;gap:14px}.story-number{font-size:29px;min-width:25px}.story-page h3{font-size:1.12rem;margin-bottom:8px}.story-page p{font-size:11px;line-height:2;word-break:normal}.axes-grid{grid-template-columns:1fr;gap:13px}.detective-axis{padding:21px}.axis-heading{margin-bottom:17px}.axis-heading h3{font-size:1.1rem}.axis-heading>span{font-size:8px}.axis-labels{font-size:10px}.detective-axis p{font-size:11px;line-height:1.95}
 .achievement-grid{grid-template-columns:1fr;gap:13px}.achievement-stamp{gap:16px;padding:21px}.stamp-medal{width:43px;height:43px;font-size:25px}.achievement-stamp h3{font-size:1.12rem}.achievement-stamp p{font-size:11px}.achievement-stamp small{font-size:9px}.achievement-stamp .overline{font-size:6px}.achievement-count{font-size:8px}.highlight-note{padding:22px 20px;gap:14px;margin-top:23px}.highlight-note h3{font-size:1.05rem;line-height:1.7}.highlight-note ul{font-size:11px;line-height:1.95}.highlight-note>span{font-size:25px}.detective-evidence{margin-top:27px}.detective-evidence summary{font-size:11px;min-height:51px}.personal-facts{grid-template-columns:1fr 1fr;gap:17px}.personal-facts strong{font-size:29px}.personal-facts span{font-size:9px}.detective-evidence ul{font-size:10px;line-height:1.95}.personal-ending .row{width:100%;flex-direction:column;align-items:stretch;gap:11px}.personal-ending .button{width:100%;min-height:49px;font-size:12px}
 .embedded-result .detective-passport{padding:20px 18px}.embedded-result .passport-body{gap:20px}.embedded-result .passport-copy h2{font-size:1.8rem}.embedded-result .result-section-heading h2{font-size:1.3rem}.embedded-result .passport-emblem{width:100px;height:115px}.embedded-result .achievement-stamp{padding:18px}.embedded-result .passport-margin>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.detective-card{transition:none!important;transform:none!important}}body.reduce-motion .detective-card{transition:none!important;transform:none!important}
.detective-grid:has(>.detective-card:only-child){grid-template-columns:minmax(0,600px);justify-content:center}
@media(min-width:761px){
 .result-progress{padding:0 0 15px;font-size:10px}.result-progress>span{min-height:30px}
 .results-heading{padding:10px 12px 28px;margin-bottom:28px}
 .results-heading>.overline{font-size:7px;margin-bottom:10px}.ending-star{font-size:24px;margin:4px 0 9px}
 .results-heading h1{font-size:clamp(1.9rem,2.6vw,2.7rem);line-height:1.5}
 .results-heading>p{font-size:11px;margin:13px auto 16px;line-height:1.8}
 .closing-stats b{font-size:22px}
}
