/* XYNOXIA Knowledge Engine — restrained graphite, silver and crimson. */
.xke-library,.xke-lab{margin:34px 0;padding:clamp(18px,3vw,30px);border:1px solid #30343d;border-radius:20px;background:linear-gradient(145deg,#111419,#0c0e12);color:#f5f6f8}
.xke-library *,.xke-lab *{box-sizing:border-box}.xke-heading,.xke-lab-head{display:flex;justify-content:space-between;align-items:center;gap:22px}.xke-kicker{display:block;color:#ef8294;font:800 9px/1.5 Inter,system-ui,sans-serif;letter-spacing:.17em}.xke-heading h2,.xke-lab-head h2{margin:9px 0;font:500 clamp(27px,4vw,42px)/1.08 Inter,system-ui,sans-serif;letter-spacing:-.05em}.xke-heading h2 em,.xke-lab-head h2 em{font-style:normal;color:#d11f43}.xke-heading p,.xke-lab-head p{max-width:700px;margin:0;color:#aeb5c0;font-size:12px;line-height:1.8}.xke-progress{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 112px;min-height:100px;border:1px solid #43202b;border-radius:15px;background:#1b1218}.xke-progress b{font-size:30px;color:#f5f6f8}.xke-progress span{font-size:8px;letter-spacing:.12em;color:#ef8294;text-align:center}.xke-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:23px 0 17px}.xke-search{display:flex;align-items:center;gap:10px;flex:1;min-width:220px;padding:0 13px;height:43px;border:1px solid #343a44;border-radius:10px;background:#171b22;color:#ef8294}.xke-search input{width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:12px}.xke-filters{display:flex;gap:6px;flex-wrap:wrap}.xke-filters button,.xke-reader-actions button,.xke-reader-top>button,.xke-game-top button{padding:9px 12px;border:1px solid #363c46;border-radius:8px;background:#181c23;color:#c4cad3;font-size:10px;cursor:pointer}.xke-filters button.is-active{border-color:#9d1c38;background:#29131b;color:#fff}.xke-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.xke-book-card{min-width:0;overflow:hidden;border:1px solid #303640;border-radius:13px;background:#151920}.xke-cover{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:180px;padding:18px;background:radial-gradient(circle at 75% 20%,#76243a,#23151d 54%,#101217);border-bottom:1px solid #3d2730}.xke-cover-1{background:radial-gradient(circle at 75% 20%,#5c6678,#20242d 55%,#101217)}.xke-cover-2{background:radial-gradient(circle at 75% 20%,#76513e,#29201c 55%,#101217)}.xke-cover-3{background:radial-gradient(circle at 75% 20%,#4b5966,#1d252d 55%,#101217)}.xke-cover-4{background:radial-gradient(circle at 75% 20%,#704254,#261721 55%,#101217)}.xke-cover span,.xke-cover small{font-size:8px;letter-spacing:.16em;color:#e6c9cf}.xke-cover b{max-width:250px;font:500 clamp(19px,2vw,25px)/1.08 Georgia,serif;color:#fff}.xke-cover i{position:absolute;right:16px;top:45%;font:italic 38px Georgia,serif;color:#ffffff55}.xke-book-copy{padding:15px}.xke-meta{font-size:8px;letter-spacing:.13em;color:#ef8294}.xke-book-copy h3{margin:8px 0;font-size:16px;color:#f5f6f8}.xke-book-copy p{min-height:55px;margin:0;color:#aeb5c0;font-size:11px;line-height:1.65}.xke-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px}.xke-done{font-size:8px;letter-spacing:.1em;color:#9da6b2}.xke-card-bottom button,.xke-check{border:1px solid #8e1a34;border-radius:8px;background:#8f102a;color:#fff;padding:9px 11px;font-size:10px;cursor:pointer}.xke-empty{grid-column:1/-1;color:#aeb5c0}.xke-reader{margin-top:22px;padding:clamp(18px,3vw,32px);border:1px solid #42404a;border-radius:14px;background:#0b0e13;scroll-margin-top:20px}.xke-reader[hidden]{display:none}.xke-reader-top{display:flex;justify-content:space-between;gap:14px}.xke-reader-top h3{margin:7px 0;font:500 clamp(22px,3vw,32px) Inter,system-ui,sans-serif}.xke-chapter-track{height:3px;margin:17px 0;background:#292e37}.xke-chapter-track span{display:block;height:100%;background:#d11f43}.xke-chapter-label{margin-top:20px;color:#ef8294;font-size:9px;letter-spacing:.14em}.xke-reader h4{margin:9px 0 16px;font:500 24px Georgia,serif}.xke-chapter-body{max-width:72ch;color:#d0d5dc;font-size:14px;line-height:1.9}.xke-chapter-body p{margin:0 0 14px}.xke-source{display:inline-block;margin:14px 0;color:#f08a9b;font-size:10px}.xke-reader-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #292e37;color:#8f98a5;font-size:10px}.xke-reader-actions button:disabled{opacity:.35;cursor:not-allowed}.xke-note{margin:17px 0 0;color:#838d9a;font-size:9px;line-height:1.7}.xke-lab{margin-top:24px}.xke-lab-head{margin-bottom:22px}.xke-lab-mark{display:grid;place-content:center;flex:0 0 90px;height:90px;border:1px solid #512330;border-radius:22px;background:radial-gradient(circle,#421723,#161218);text-align:center;color:#ef8294;font-size:9px;letter-spacing:.15em}.xke-lab-mark b{font-size:25px;color:#fff}.xke-game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.xke-game-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:160px;padding:16px;border:1px solid #303640;border-radius:12px;background:#171b22;color:#fff;text-align:left;cursor:pointer}.xke-game-card:hover{border-color:#a12b45;background:#21161c}.xke-game-card span,.xke-game-card i{font-size:8px;letter-spacing:.12em;color:#ef8294;font-style:normal}.xke-game-card b{font-size:16px}.xke-game-card small{color:#aeb5c0;font-size:10px;line-height:1.6}.xke-game-card i{margin-top:auto}.xke-game-stage{margin-top:14px;padding:clamp(17px,3vw,25px);border:1px solid #343a44;border-radius:14px;background:#0e1117}.xke-stage-placeholder{text-align:center;padding:30px 12px}.xke-stage-placeholder span,.xke-game-top span{font-size:8px;letter-spacing:.14em;color:#ef8294}.xke-stage-placeholder h3,.xke-game-stage>h3{font-size:22px;margin:9px 0;color:#fff}.xke-stage-placeholder p,.xke-game-stage>p{color:#aeb5c0;font-size:11px;line-height:1.7}.xke-game-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.xke-game-stage>h4{margin:22px 0 12px;color:#f4f5f7;font-size:14px}.xke-pathway-list{display:grid;gap:7px;max-width:540px;margin:18px 0}.xke-pathway-list button,.xke-choice{display:flex;align-items:center;gap:10px;width:100%;max-width:620px;padding:12px;border:1px solid #39414d;border-radius:9px;background:#191f28;color:#e9edf2;text-align:left;font-size:11px;cursor:pointer}.xke-pathway-list button span{color:#ef8294}.xke-choice{margin:8px 0}.xke-choice:hover,.xke-pathway-list button:hover{border-color:#d11f43}.xke-feedback{max-width:720px;margin:15px 0 0;padding:13px;border-left:2px solid #d11f43;background:#19151b;color:#cbd1da;font-size:11px;line-height:1.7}.xke-feedback:empty{display:none}.xke-sort-question{display:flex;flex-direction:column;gap:5px;margin:20px 0 10px}.xke-sort-question b{font-size:16px}.xke-sort-question span{font-size:9px;color:#9da6b2}
@media(max-width:850px){.xke-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xke-game-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.xke-library,.xke-lab{padding:16px;border-radius:15px}.xke-heading,.xke-lab-head{align-items:flex-start}.xke-progress{flex-basis:78px;min-height:78px}.xke-progress b{font-size:23px}.xke-book-grid,.xke-game-grid{grid-template-columns:1fr}.xke-cover{min-height:150px}.xke-book-copy p{min-height:0}.xke-controls{align-items:stretch;flex-direction:column}.xke-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.xke-filters button{white-space:nowrap}.xke-lab-mark{flex-basis:64px;height:64px}.xke-reader-actions{flex-wrap:wrap}}

.xke-academy{margin:28px 0 40px;padding:clamp(18px,3vw,28px);border:1px solid #303640;border-radius:18px;background:#101319;color:#f5f6f8}.xke-academy-head h2{margin:9px 0;font-size:clamp(25px,3.5vw,36px);letter-spacing:-.045em}.xke-academy-head h2 em{font-style:normal;color:#d11f43}.xke-academy-head p{max-width:760px;color:#aeb5c0;font-size:11px;line-height:1.8}.xke-domain-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:20px}.xke-domain{padding:15px;border:1px solid #303640;border-radius:11px;background:#171b22}.xke-domain>span{font-size:8px;letter-spacing:.12em;color:#ef8294}.xke-domain h3{margin:9px 0;font-size:13px;color:#f5f6f8}.xke-domain p{margin:0;color:#aeb5c0;font-size:10px;line-height:1.65}.xke-nce-note{margin-top:17px;padding:14px;border-left:2px solid #a31a37;background:#17151a}.xke-nce-note b{font-size:11px}.xke-nce-note p{margin:6px 0;color:#aeb5c0;font-size:10px;line-height:1.7}.xke-nce-note a{color:#f08a9b;font-size:10px}
@media(max-width:850px){.xke-domain-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.xke-domain-grid{grid-template-columns:1fr}.xke-academy{padding:16px}}

.xke-quiz-center{margin-top:28px;padding-top:22px;border-top:1px solid #303640}.xke-quiz-head,.xke-journey-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.xke-quiz-head h3,.xke-journey-head h2{margin:8px 0;font-size:clamp(20px,3vw,29px);letter-spacing:-.04em}.xke-quiz-head h3 em,.xke-journey-head h2 em{font-style:normal;color:#d11f43}.xke-quiz-head p,.xke-journey-head p{max-width:680px;color:#aeb5c0;font-size:10px;line-height:1.7}.xke-quiz-total{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:95px;min-height:82px;border:1px solid #43202b;border-radius:12px;background:#1b1218}.xke-quiz-total b{font-size:25px}.xke-quiz-total span{font-size:7px;letter-spacing:.12em;color:#ef8294}.xke-quiz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px}.xke-quiz-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:13px;border:1px solid #303640;border-radius:10px;background:#151920}.xke-quiz-card>span{font-size:8px;letter-spacing:.12em;color:#ef8294}.xke-quiz-card>b{font-size:12px}.xke-quiz-card>small{color:#aeb5c0;font-size:9px;line-height:1.5}.xke-quiz-card>button,.xke-quiz-stage-top>button{margin-top:auto;padding:8px 10px;border:1px solid #8e1a34;border-radius:7px;background:#25141a;color:#f3a0ae;font-size:9px;cursor:pointer}.xke-quiz-stage{margin-top:13px;padding:17px;border:1px solid #3b3038;border-radius:12px;background:#101319}.xke-quiz-stage[hidden]{display:none}.xke-quiz-stage-top{display:flex;justify-content:space-between;align-items:center}.xke-quiz-stage h4{margin:15px 0;font-size:15px}.xke-quiz-stage [data-xke-answer]:disabled{opacity:.5;cursor:default}.xke-journey{margin:24px 0;padding:clamp(17px,3vw,25px);border:1px solid #34323b;border-radius:16px;background:linear-gradient(140deg,#15171e,#171018);color:#f5f6f8}.xke-private{padding:7px 9px;border:1px solid #49303a;border-radius:20px;color:#e89aaa;font-size:7px;letter-spacing:.1em;white-space:nowrap}.xke-journey-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0}.xke-journey-stats article{display:flex;flex-direction:column;gap:4px;padding:13px;border:1px solid #343640;border-radius:10px;background:#101319}.xke-journey-stats b{font-size:25px}.xke-journey-stats span{font-size:7px;letter-spacing:.1em;color:#aeb5c0}.xke-journey-actions{display:flex;flex-wrap:wrap;gap:8px}.xke-journey-actions button{padding:9px 12px;border:1px solid #8e1a34;border-radius:8px;background:#8f102a;color:#fff;font-size:9px;cursor:pointer}.xke-journey-actions button+button{border-color:#4b3940;background:#1c1a20}.xke-journey-recent{margin-top:17px;padding-top:13px;border-top:1px solid #343640}.xke-journey-recent>b{font-size:10px}.xke-journey-recent>div{margin-top:8px}.xke-journey-recent>div>div{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid #292d35;color:#cbd1da;font-size:9px}.xke-journey-recent time{color:#8e98a5;white-space:nowrap}
@media(max-width:560px){.xke-quiz-grid{grid-template-columns:1fr}.xke-quiz-head,.xke-journey-head{align-items:flex-start}.xke-quiz-total{min-width:70px;min-height:70px}.xke-journey-stats{gap:6px}.xke-journey-stats article{padding:9px}.xke-journey-stats b{font-size:21px}.xke-journey-stats span{font-size:6px}.xke-private{white-space:normal;text-align:center;max-width:85px}}

.mna-book-link{margin:15px 0}.mna-book-link button{padding:9px 12px;border:1px solid #8e1a34;border-radius:8px;background:#25141a;color:#f3a0ae;font-size:10px;cursor:pointer}.mna-book-link button:hover{background:#3a1722;border-color:#d11f43}

.xke-cover-has-image{padding:0;min-height:180px;overflow:hidden;background:#0b0e13}.xke-cover-photo{display:block;width:100%;height:180px;object-fit:cover;opacity:.88}.xke-cover-credit{position:absolute;left:0;right:0;bottom:0;padding:18px 10px 7px;background:linear-gradient(transparent,#080a0de8);font-size:8px!important;letter-spacing:.02em!important;color:#e4e7ed!important;z-index:1}
