@charset "UTF-8";
:root{color-scheme:dark;--bg:#080b13;--text:#ece9e3;--muted:#9295a2;--line:rgba(213,216,229,.13);--gold:#d6c092;--mint:#9ac5b4;--panel:rgba(14,18,29,.93);font-family:"Segoe UI","Malgun Gothic","Apple SD Gothic Neo",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button,a,input{ -webkit-tap-highlight-color:transparent}button{background:none;border:0}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}input:focus{outline:0}button:disabled{opacity:.45;cursor:not-allowed}[hidden]{display:none!important}a{color:var(--gold);text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}::selection{background:#bea97c50}#app{min-height:100dvh;overflow:hidden}.topbar{height:88px;position:absolute;top:0;left:0;right:0;z-index:25;display:flex;align-items:center;padding:0 38px;gap:46px;border-bottom:1px solid #ffffff06;background:linear-gradient(#090c15d9,#090c1566);backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:11px;padding:0;white-space:nowrap}.brand svg{width:33px;height:38px;color:#d5c39e;stroke-width:1.15}.brand .logo-star{fill:#d5c39e;stroke:none}.brand strong{font-size:23px;font-weight:500;letter-spacing:2px}.brand>span{font-size:8px;letter-spacing:2.2px;color:#9b968d;border-left:1px solid var(--line);padding-left:14px;margin-left:4px}.topnav{display:flex;gap:29px;height:100%;align-items:center}.topnav button{height:100%;position:relative;color:#999eac;font-size:12px;white-space:nowrap;padding:0}.topnav button.active{color:#eee5d4}.topnav button.active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:#d6c092}.topnav span{font-size:10px;margin-left:4px;color:var(--gold)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:18px}.data-badge{font-size:10px;color:#a7acb7;display:flex;gap:8px;align-items:center;padding:8px 0}.data-badge i{width:5px;height:5px;background:var(--mint);border-radius:50%;box-shadow:0 0 9px #9ac5b440}.data-badge span{color:#686f7f}.icon-button{font-size:23px;width:32px;color:#a7afbf}.guide-button{font-size:11px;padding:10px 14px;background:#dbd1bb;color:#20212a;border-radius:5px;display:flex;gap:7px;align-items:center}.guide-button:hover{background:#ece3cf}.guide-button>span{font-size:14px}
#workspace{position:relative;height:100dvh;min-height:690px;isolation:isolate;overflow:hidden}.galaxy{position:absolute;inset:0;z-index:-3;background:radial-gradient(ellipse at 64% 45%,#12162a 0,#080c17 48%,#060911 100%)}.space-shade{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 41%,#080b13e8 0,#080b13b8 32%,#080b1350 56%,transparent 76%),linear-gradient(0deg,#080b13e6,transparent 22%,transparent 75%,#080b1344)}.space-coordinate{position:absolute;top:116px;left:39px;right:39px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:2.1px;color:#636b7d;pointer-events:none}.space-coordinate span:last-child{font-size:7px;letter-spacing:1.7px}.hero{position:absolute;left:50%;top:24%;transform:translateX(-50%);text-align:center;width:min(700px,calc(100% - 240px));z-index:3;transition:opacity .35s,transform .35s}.eyebrow{font-size:9px;letter-spacing:3.2px;color:#c3b493;display:flex;align-items:center;justify-content:center;gap:10px}.tiny-spark{font-size:19px}.hero h1{font-family:"Noto Serif KR","Batang","Georgia",serif;font-weight:400;font-size:clamp(37px,3.8vw,58px);line-height:1.38;letter-spacing:-2.3px;margin:18px 0 17px;text-shadow:0 3px 28px #080b13;word-break:keep-all}.hero h1 em{font-style:normal;color:#ddcba7}.hero-description{font-size:13px;letter-spacing:.2px;color:#aaaab2;margin:0 0 32px}.search-form{height:64px;display:flex;align-items:center;border:1px solid #b9b2a445;border-radius:9px;background:linear-gradient(135deg,#262934ec,#161d2aea);box-shadow:0 12px 60px #0004,inset 0 1px #ffffff06;padding:0 11px 0 20px;text-align:left;max-width:588px;margin:auto;transition:border .2s,box-shadow .2s}.search-form:focus-within{border-color:#d6c09290;box-shadow:0 8px 45px #0004,0 0 0 3px #d6c0920c}.search-spark{font-size:27px;color:#d9c8a1;margin-right:14px}.search-form input{background:none;border:0;color:#f1eee6;min-width:0;flex:1;height:100%;font-size:14px}.search-form input::placeholder{color:#c3c3cc}.search-form button{display:grid;place-items:center;background:#d7c5a1;color:#272727;border-radius:6px;width:39px;height:39px;flex-shrink:0}.search-form button:hover{background:#f1dfba}.scenario-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:17px auto 0;max-width:588px}.scenario-card{display:flex;align-items:center;gap:10px;text-align:left;padding:16px 12px;border-radius:7px;border:1px solid #acb7d01c;background:linear-gradient(120deg,#172130a6,#17202c5c);backdrop-filter:blur(10px);transition:transform .2s,border-color .2s,background .2s}.scenario-card:hover{transform:translateY(-3px);border-color:#cbb68b70;background:#263044bd}.scenario-symbol{font:28px/1 Georgia,serif;width:29px;text-align:center;color:#ddc79d}.scenario-symbol.planet{color:#9cbccf}.scenario-symbol.spark{color:#abb2da}.scenario-card strong{display:block;font-size:10px;line-height:1.6;font-weight:500;white-space:nowrap;color:#e0dedb}.scenario-card small{font-size:9px;color:#858c9d;display:block;line-height:1.8}.scenario-arrow{margin-left:auto;font-size:11px;color:#9b998f}.hero-caption{display:flex;justify-content:center;align-items:center;gap:12px;font-size:9px;letter-spacing:.1px;color:#747e90;margin-top:25px}.hero-caption .line{width:26px;height:1px;background:#858e9e33}
.category-rail{position:absolute;left:27px;top:50%;transform:translateY(-40%);width:40px;display:flex;flex-direction:column;gap:10px;z-index:7}.category-button{display:flex;align-items:center;padding:4px 0;gap:13px;height:29px;white-space:nowrap;text-align:left;color:#929caf}.category-button .rail-orb{width:23px;height:23px;border:1px solid #ffffff1c;border-radius:50%;display:grid;place-items:center;flex-shrink:0;transition:.2s}.rail-orb:before{content:"";width:5px;height:5px;background:var(--color);border-radius:50%;box-shadow:0 0 10px var(--color)}.category-button span:last-child{opacity:0;font-size:11px;background:#111726cb;padding:6px 9px;border-radius:4px;transition:.2s;pointer-events:none}.category-button:hover .rail-orb,.category-button.active .rail-orb{border-color:var(--color);box-shadow:0 0 20px #ffffff0b}.category-button:hover span:last-child,.category-button:focus-visible span:last-child{opacity:1}.category-button.active .rail-orb:before{width:8px;height:8px}.universe-stats{position:absolute;bottom:120px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#a8afbf;z-index:4}.universe-stats strong{font-family:Georgia,serif;font-size:21px;font-weight:400;letter-spacing:.5px;color:#d7ccb7}.universe-stats>i{height:10px;width:1px;background:#ffffff26;margin:0 5px}.status-orbit{width:14px;height:14px;border:1px solid #b7ab8755;border-radius:50%;margin-right:5px;position:relative}.status-orbit:after{content:"";position:absolute;width:4px;height:4px;background:#d6c092;border-radius:50%;top:4px;left:4px}.universe-stats button{font-size:10px;color:#c9bd9f;margin-left:13px}.view-controls{position:absolute;bottom:118px;right:36px;display:flex;flex-direction:column;background:#131a2880;border:1px solid #a8b3ca22;border-radius:6px;backdrop-filter:blur(15px);z-index:5}.view-controls button{width:36px;height:35px;font-size:20px;font-weight:300;color:#aab4c6}.view-controls button:hover{color:#eee4c9;background:#ffffff09}.view-controls>span{height:1px;margin:0 8px;background:#ffffff13}.space-legend{position:absolute;left:38px;bottom:72px;display:flex;gap:20px;font-size:9px;color:#747f92;align-items:center}.space-legend>span{display:flex;align-items:center;gap:5px}.space-legend b{font-weight:500;color:#aeb9c9;margin-left:3px}.size-dot{width:6px;height:6px;background:#c2cddb;border-radius:50%;display:inline-block;box-shadow:0 0 5px #c2cddb55}.size-dot.small{width:3px;height:3px}.space-legend button{font-size:9px;display:flex;align-items:center;gap:3px}.space-legend button>span{font-size:13px;color:#b8b69c;margin-left:3px}.canvas-footer{position:absolute;bottom:0;left:38px;right:38px;height:48px;border-top:1px solid #a3afc214;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#6d788c;letter-spacing:.1px}.canvas-footer i{font-style:normal;margin:0 10px;color:#555d6b}.canvas-footer button{font-size:10px;color:#bab6ab}.canvas-footer button span{margin-left:8px}.timeline{position:absolute;bottom:81px;left:50%;transform:translateX(-50%);width:430px;z-index:8;border:1px solid #ffffff17;border-radius:8px;background:#111927ee;backdrop-filter:blur(18px);display:flex;gap:15px;padding:15px 18px}.timeline>button{font-size:25px;color:var(--gold);width:26px}.timeline>div{flex:1}.timeline-title,.timeline-labels{display:flex;justify-content:space-between;font-size:9px;color:#8f9baf}.timeline-title strong{color:#d4c6a9;font-size:11px;font-weight:500}.timeline input{width:100%;height:12px;margin:9px 0;accent-color:#cdbd97;cursor:pointer}.timeline-labels{font-size:8px}
body.exploring .hero{display:none}body.exploring .space-shade{background:linear-gradient(90deg,#080b1322,transparent 35%,transparent 65%,#080b1322),linear-gradient(0deg,#080b13c9,transparent 28%)}body.exploring .space-coordinate{display:none}body.exploring .universe-stats{display:none}.search-compact{position:absolute;top:108px;left:50%;transform:translateX(-50%);width:min(480px,40vw);z-index:9}.search-compact .search-form{height:46px;border-radius:7px;background:#131b29e3}.search-compact .search-form input{font-size:12px}.search-compact .search-spark{font-size:22px}.search-compact .search-form button{height:31px;width:32px}.results-panel{position:absolute;left:83px;top:108px;bottom:108px;width:310px;background:linear-gradient(155deg,#121b29f2,#101520e8);border:1px solid #b4bfd520;border-radius:12px;z-index:8;backdrop-filter:blur(24px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0003;animation:panel-in .35s ease}.panel-header{padding:24px 22px 17px;border-bottom:1px solid var(--line)}.panel-eyebrow{display:flex;justify-content:space-between;align-items:center;color:#b3a181;font-size:8px;letter-spacing:2px}.panel-eyebrow button{font-size:19px;color:#8792a5;line-height:1}.panel-header h2{font-size:20px;font-weight:500;line-height:1.5;letter-spacing:-.7px;margin:13px 0 9px;word-break:keep-all}.panel-header p{font-size:11px;line-height:1.8;color:#8f9bab;margin:0}.filter-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.filter-chips span{border:1px solid #cabda322;background:#c3b89509;color:#bfb699;font-size:9px;padding:5px 8px;border-radius:4px}.result-meta{padding:14px 22px 7px;display:flex;justify-content:space-between;font-size:9px;color:#8995a7}.result-meta strong{font-weight:500;color:#d3c8b0}.results-list{overflow:auto;padding:0 10px 12px;scrollbar-width:thin;scrollbar-color:#53607455 transparent;flex:1}.book-row{width:100%;text-align:left;padding:13px 11px;display:flex;gap:12px;border-bottom:1px solid #c4cee409;transition:background .2s;border-radius:6px}.book-row:hover,.book-row.active{background:#b9c3d60b}.book-row.active{box-shadow:inset 2px 0 #c3ae7f}.mini-cover{flex:0 0 38px;height:51px;border-radius:2px 4px 4px 2px;background:linear-gradient(150deg,var(--cover),#182334);position:relative;overflow:hidden;box-shadow:2px 3px 6px #0004}.mini-cover:before{content:"";position:absolute;left:4px;top:0;bottom:0;width:1px;background:#fff2}.mini-cover:after{content:"✧";color:#fffd;position:absolute;top:11px;right:10px;font:24px Georgia;opacity:.65}.row-copy{min-width:0;flex:1;padding-top:2px}.row-copy strong{font-size:12px;font-weight:500;line-height:1.5;color:#dcdedc;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-copy small{display:block;font-size:9px;color:#8490a2;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:190px}.row-caption{font-size:9px;color:#b6a786;margin-top:7px;display:block}.row-number{font-size:9px;color:#737d8d;margin-top:3px}.panel-foot{padding:13px 22px;border-top:1px solid var(--line);font-size:9px;line-height:1.7;color:#7c889b}.empty-state{padding:24px 12px;color:#8996aa;font-size:12px;line-height:1.9}.empty-state button{display:block;margin-top:15px;color:var(--gold);font-size:11px}
.detail-panel{position:absolute;right:26px;top:108px;bottom:83px;width:355px;border-radius:12px;border:1px solid #b4bfd52b;background:linear-gradient(150deg,#182131f2,#101722f5);backdrop-filter:blur(25px);z-index:10;overflow:auto;scrollbar-width:thin;scrollbar-color:#53607455 transparent;box-shadow:0 25px 75px #0005;animation:panel-in .35s ease}.detail-top{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 0}.detail-top>span{font-size:8px;letter-spacing:2px;color:#a8b7c9}.detail-top button{font-size:22px;color:#a0acbd;padding:0 0 0 8px}.detail-cover-stage{height:160px;display:flex;justify-content:center;align-items:center;position:relative;margin:12px 22px 16px;background:radial-gradient(ellipse at 50% 60%,var(--cover-glow,#c2a75c20),transparent 67%)}.detail-cover-stage:before{content:"";position:absolute;width:150px;height:150px;border:1px solid #dbd4be10;border-radius:50%}.detail-cover-stage:after{content:"";position:absolute;width:200px;height:85px;border:1px solid #dbd4be12;border-radius:50%;transform:rotate(-23deg)}.book-cover{width:102px;height:145px;background:linear-gradient(145deg,var(--cover),#1c2b39);border-radius:2px 5px 5px 2px;box-shadow:12px 16px 25px #0006,inset 4px 0 #fff1;position:relative;z-index:1;transform:perspective(650px) rotateY(-12deg) rotateZ(-5deg);padding:21px 12px 15px 17px;display:flex;flex-direction:column;justify-content:space-between}.book-cover:before{content:"";position:absolute;left:6px;top:0;bottom:0;border-left:1px solid #0003}.book-cover strong{font-family:Batang,Georgia,serif;font-size:13px;line-height:1.6;word-break:keep-all;color:#f6edd9;font-weight:400;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.book-cover span{font-size:8px;color:#e8ddc5b3}.book-cover em{position:absolute;right:13px;bottom:30px;font-style:normal;font-size:28px;color:#f0e8d459}.cover-caption{position:absolute;bottom:-7px;left:0;right:0;text-align:center;font-size:7px;color:#647087;letter-spacing:.3px}.detail-title{padding:0 24px}.detail-category{font-size:9px;color:#c9b78f;margin-bottom:8px}.detail-title h2{margin:0;font-size:23px;line-height:1.5;letter-spacing:-.9px;font-weight:500;word-break:keep-all}.detail-author{font-size:11px;line-height:1.6;color:#9aa5b5;margin:9px 0 15px}.detail-actions{display:flex;gap:8px;padding:0 24px 20px}.save-button{background:#d6c39e;color:#26272e;border:1px solid #d6c39e;flex:1;padding:10px 8px;border-radius:5px;font-size:11px}.save-button.saved{background:#d6c39e14;color:#d6c39e}.library-button{border:1px solid #b8c4d12b;padding:10px 13px;border-radius:5px;font-size:11px;color:#b1bac7}.detail-tabs{position:sticky;top:0;z-index:2;background:#172031;display:flex;padding:0 24px;border-bottom:1px solid var(--line);gap:23px}.detail-tabs button{font-size:11px;color:#7e8c9f;padding:13px 0;position:relative}.detail-tabs button.active{color:#ddd0b1}.detail-tabs button.active:after{content:"";height:2px;position:absolute;left:0;right:0;bottom:0;background:#cdb88b}.detail-body{padding:20px 24px 24px}.evidence-label{display:flex;align-items:center;gap:6px;font-size:9px;color:#cfbd96;margin-bottom:11px}.evidence-card{padding:15px;border:1px solid #c4b48922;background:linear-gradient(130deg,#c4b4890a,transparent);border-radius:7px}.evidence-card p{font-size:12px;line-height:1.9;color:#d0d3d7;margin:0;word-break:keep-all}.evidence-card small{display:block;color:#8792a3;font-size:9px;margin-top:10px;line-height:1.7}.detail-section-title{font-size:11px;font-weight:500;color:#c5cbd4;margin:22px 0 10px;display:flex;align-items:center;justify-content:space-between}.detail-section-title small{font-size:8px;font-weight:400;color:#737f92}.book-intro{font-size:11px;line-height:1.95;color:#929fae;white-space:pre-line;word-break:keep-all;display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}.book-intro.expanded{display:block}.text-action{font-size:9px;color:#c3b48f;padding:7px 0}.facts-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.fact{padding:12px;background:#ffffff03;border:1px solid #ffffff0b;border-radius:5px}.fact span{font-size:9px;color:#7e8b9f;display:block}.fact strong{font-family:Georgia,serif;font-weight:400;font-size:23px;display:block;margin-top:8px;color:#d8d0bf}.fact strong small{font:10px "Malgun Gothic",sans-serif;margin-left:3px}.chart{width:100%;height:100px;margin-top:12px;overflow:visible}.chart path{stroke-width:1.6;stroke-linecap:round;fill:none}.chart text{fill:#79869a;font-size:8px;font-family:inherit}.chart-note{font-size:9px;line-height:1.8;color:#8290a4;margin-top:11px}.trend-value.up{color:#95c6b4}.trend-value.down{color:#cda09c}.related-item{width:100%;display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #ffffff0a;text-align:left}.related-item>span:first-child{width:6px;height:6px;border-radius:50%;background:#9aafd0;box-shadow:0 0 9px #9aafd070}.related-item strong{font-size:11px;font-weight:500;display:block;line-height:1.6}.related-item small{font-size:9px;color:#8895a9}.related-item>span:last-child{margin-left:auto;color:#c3b490}.star-tooltip{position:absolute;pointer-events:none;z-index:18;border:1px solid #b6c4dc33;padding:12px 15px;border-radius:7px;background:#151f30ec;backdrop-filter:blur(15px);max-width:250px;box-shadow:0 10px 25px #0004}.star-tooltip strong{font-size:12px;display:block}.star-tooltip span{font-size:10px;display:block;color:#9faec1;line-height:1.7;margin-top:5px}.star-tooltip small{font-size:9px;color:#c2b28f}
.modal{width:min(660px,calc(100% - 36px));padding:0;color:var(--text);background:linear-gradient(135deg,#1d2736,#111823);border:1px solid #d9dcde26;border-radius:14px;box-shadow:0 30px 130px #0009;max-height:85dvh;overflow:auto}.modal::backdrop{background:#030711ab;backdrop-filter:blur(9px)}.modal-inner{padding:34px 38px}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head span{font-size:9px;letter-spacing:2.2px;color:#c5b58f}.modal-head button{font-size:25px;color:#a3aec0}.modal h2{font-family:Batang,Georgia,serif;font-size:28px;font-weight:400;line-height:1.5;margin:25px 0 15px;word-break:keep-all}.modal p{font-size:12px;color:#9faabc;line-height:1.95;word-break:keep-all}.modal .primary{display:block;background:#d6c39e;color:#24262c;border-radius:6px;padding:13px 18px;font-size:12px;margin-top:25px}.guide-steps{display:grid;gap:0;margin:23px 0}.guide-step{display:flex;gap:18px;padding:17px 0;border-bottom:1px solid #ffffff0e}.guide-step>span{font:24px Georgia,serif;color:#bcaa82;min-width:26px}.guide-step strong{font-size:13px;font-weight:500;display:block;line-height:1.8}.guide-step small{font-size:11px;color:#8997aa;display:block;line-height:1.8}.modal-disclosure{font-size:10px!important;color:#7e8fa6!important;border-top:1px solid var(--line);padding-top:17px}.data-table{width:100%;border-collapse:collapse;margin:18px 0}.data-table th,.data-table td{padding:11px 0;text-align:left;border-bottom:1px solid #ffffff0d;font-size:11px}.data-table th{color:#8997a9;font-weight:400;width:34%}.data-table td{color:#d0d3d5}.library-search{display:flex;gap:10px;margin:20px 0}.library-search select{background:#111b2a;color:#d2d4d8;border:1px solid #ffffff22;padding:10px 12px;border-radius:5px;max-width:100%}.library-row{display:flex;gap:15px;align-items:center;padding:15px 0;border-bottom:1px solid #ffffff0d}.library-row>span{font-size:22px;color:#c3b189}.library-row strong{font-size:12px;font-weight:500;display:block}.library-row small{font-size:10px;line-height:1.6;color:#8291a6;display:block;margin-top:5px}.library-row em{margin-left:auto;white-space:nowrap;font-style:normal;font-size:9px;color:#9aa8b9;border:1px solid #ffffff18;padding:5px 7px;border-radius:4px}.modal-link{display:inline-block;font-size:11px;color:#d6c39e;padding-top:20px}.guide-running{position:absolute;top:166px;left:50%;transform:translateX(-50%);padding:10px 15px;border-radius:6px;background:#192739ed;border:1px solid #d2c1993d;font-size:11px;z-index:17;display:flex;align-items:center;gap:18px;box-shadow:0 7px 35px #0006}.guide-running span{color:#b3bfcd}.guide-running b{font-size:9px;color:#d3bd8f;font-weight:400;margin-right:7px}.guide-running button{font-size:10px;color:#d6c39e;border:1px solid #d6c39e45;padding:6px 10px;border-radius:4px}.immersive-exit{display:none}.immersive .topbar,.immersive .hero,.immersive .category-rail,.immersive .universe-stats,.immersive .view-controls,.immersive .space-legend,.immersive .canvas-footer,.immersive .space-coordinate,.immersive .timeline,.immersive .results-panel,.immersive .detail-panel,.immersive .search-compact,.immersive .guide-running{display:none!important}.immersive .space-shade{opacity:.1}.immersive .immersive-exit{display:block;position:absolute;bottom:35px;left:50%;transform:translateX(-50%);padding:11px 18px;border-radius:5px;border:1px solid #ffffff20;color:#bbc4d5;background:#111a29ad;font-size:11px}.immersive-exit kbd{font-size:9px;margin-left:12px;color:#71829a}#toast{position:fixed;bottom:65px;left:50%;transform:translate(-50%,12px);padding:13px 21px;border:1px solid #e4d6b838;border-radius:7px;background:#263246f5;color:#e6dfce;font-size:12px;box-shadow:0 10px 30px #0005;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:calc(100% - 30px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}#loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#080b13;z-index:20;color:#aba693;font-size:12px;gap:20px}.loading-orbit{border:1px solid #bca87736;border-top-color:#d6c39e;width:40px;height:40px;border-radius:50%;animation:spin 2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.hero{top:25%}.hero h1{font-size:61px}.scenario-grid,.search-form{max-width:630px}.scenario-card strong{font-size:11px}.scenario-card small{font-size:10px}.hero-description{font-size:14px}.results-panel{width:335px}.detail-panel{width:380px}.detail-cover-stage{height:184px}.book-cover{width:117px;height:161px}.book-cover strong{font-size:15px}.detail-title h2{font-size:25px}.detail-body{padding-top:24px}}
@media(max-width:1190px){.topbar{padding:0 24px;gap:27px}.brand>span{display:none}.topnav{gap:20px}.top-actions{gap:12px}.category-rail{left:20px}.results-panel{left:63px;width:278px}.detail-panel{right:20px;width:310px}.search-compact{width:330px;left:calc(50% + 15px)}body.has-detail .search-compact{width:280px}.panel-header{padding:20px 18px 15px}.panel-header h2{font-size:18px}.detail-title,.detail-actions{padding-left:20px;padding-right:20px}.detail-body{padding-left:20px;padding-right:20px}.detail-title h2{font-size:21px}.space-coordinate{left:26px;right:26px}.hero{width:650px}.hero h1{font-size:49px}.universe-stats{bottom:117px}.canvas-footer{left:26px;right:26px}.space-legend{left:26px}.results-list{padding:0 7px 12px}}
@media(max-width:960px){.data-badge{display:none}.topbar{height:74px}.space-coordinate{top:96px}.space-coordinate span:last-child{display:none}.hero{top:23%;width:calc(100% - 155px)}.hero h1{font-size:46px}.scenario-card{padding:14px 9px;gap:6px}.scenario-symbol{font-size:22px;width:20px}.scenario-card strong{font-size:9px}.scenario-card small{font-size:8px}.scenario-arrow{display:none}.category-rail{gap:7px}.search-compact{top:91px;width:calc(100% - 430px);left:auto;right:25px;transform:none}.results-panel{top:91px;bottom:110px}.detail-panel{top:150px;bottom:80px;width:calc(100% - 387px);right:24px}.detail-cover-stage{height:122px;margin-top:8px;margin-bottom:14px}.book-cover{width:80px;height:115px;padding:15px 10px 12px 13px}.book-cover strong{font-size:11px}.book-cover span{font-size:7px}.detail-cover-stage:before{width:100px;height:100px}.detail-cover-stage:after{width:155px;height:65px}.detail-top{padding-top:16px}.detail-tabs{gap:18px}.detail-body{padding-top:15px}.detail-title h2{font-size:20px}.view-controls{right:24px;bottom:122px}body.has-detail .view-controls{display:none}.canvas-footer>span:nth-child(2){display:none}.timeline{width:350px;bottom:65px;left:calc(50% + 20px)}.guide-running{top:143px;left:70px;transform:none;max-width:calc(100% - 94px)}}
@media(max-width:640px){#workspace{min-height:650px}.topbar{height:68px;padding:0 19px;gap:21px}.brand svg{width:25px;height:30px}.brand{gap:8px}.brand strong{font-size:20px}.topnav{margin-left:auto;gap:17px}.topnav button{font-size:10px}.top-actions{margin-left:0;gap:0}.guide-button{width:28px;height:28px;padding:0;background:none;color:#d9c395;font-size:0}.guide-button span{font-size:20px}.icon-button{display:none}.space-coordinate{top:88px;left:21px;font-size:7px}.hero{top:23%;width:calc(100% - 48px)}.eyebrow{font-size:7px;letter-spacing:2.5px}.hero h1{font-size:40px;letter-spacing:-1.5px;margin-top:17px;margin-bottom:19px}.hero-description{font-size:11px;margin-bottom:25px}.search-form{height:58px;padding-left:15px}.search-form input{font-size:12px}.search-spark{font-size:24px;margin-right:10px}.search-form button{width:35px;height:35px}.scenario-grid{gap:7px;margin-top:13px}.scenario-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:13px 9px;min-height:105px}.scenario-card strong{font-size:9px;white-space:normal;word-break:keep-all;line-height:1.6}.scenario-card small{font-size:8px;line-height:1.7;margin-top:3px}.scenario-symbol{font-size:23px}.hero-caption{font-size:8px;line-height:1.8;margin-top:20px}.hero-caption .line{display:none}.category-rail{display:none}.universe-stats{bottom:104px;font-size:9px;gap:5px}.universe-stats strong{font-size:19px}.universe-stats button{display:none}.space-legend{left:23px;right:23px;bottom:64px;font-size:8px;justify-content:space-between;gap:10px}.space-legend button{font-size:8px}.view-controls{right:15px;bottom:137px;background:#101c2988}.view-controls button{width:30px;height:31px;font-size:18px}.canvas-footer{left:22px;right:22px;height:44px;font-size:7px}.canvas-footer button{font-size:8px;white-space:nowrap}.canvas-footer>span:first-child{max-width:240px}.search-compact{left:20px;right:20px;top:85px;width:auto!important}.search-compact .search-form{height:45px}.results-panel{top:auto;left:12px;right:12px;bottom:82px;width:auto;height:52%;min-height:300px;border-radius:12px}.panel-header{padding:16px 18px 11px}.panel-header h2{font-size:18px;margin:7px 0}.panel-header p{font-size:10px}.filter-chips{margin-top:10px}.filter-chips span{font-size:8px;padding:4px 6px}.result-meta{padding:11px 18px 5px}.book-row{padding:11px}.row-copy small{max-width:250px}.panel-foot{padding:10px 18px;font-size:8px}.detail-panel{left:12px;right:12px;bottom:57px;top:145px;width:auto;border-radius:13px;z-index:13;background:linear-gradient(145deg,#1d293afa,#101722fc)}body.has-detail .results-panel{display:none}.detail-cover-stage{height:136px;margin-top:8px}.book-cover{width:87px;height:126px}.book-cover strong{font-size:12px}.detail-title h2{font-size:23px}.detail-top{padding-top:16px}.detail-author{margin:7px 0 14px}.detail-title,.detail-actions{padding-left:24px;padding-right:24px}.detail-body{padding:18px 24px 22px}.timeline{width:calc(100% - 40px);bottom:68px;left:50%}.guide-running{top:136px;left:20px;right:20px;max-width:none;font-size:9px;padding:8px 10px;gap:8px}.guide-running button{font-size:9px;padding:5px 6px;white-space:nowrap}.guide-running span{flex:1}.modal-inner{padding:25px}.modal h2{font-size:24px}.modal p{font-size:11px}.guide-step{gap:12px}.guide-step strong{font-size:12px}.guide-step small{font-size:10px}.library-row em{font-size:8px}.library-row strong{font-size:11px}.library-row small{font-size:9px}.library-row{gap:10px}.orbit-engine .galaxy-label{font-size:10px!important}.orbit-engine .galaxy-stock-label{max-width:95px;overflow:hidden;text-overflow:ellipsis}body:not(.exploring) .orbit-engine .galaxy-label-layer{opacity:.57}body.exploring .space-legend{display:none}body.exploring .view-controls{bottom:auto;top:185px}body.has-detail .view-controls{display:none}#toast{font-size:11px;bottom:60px}}
@media(max-height:760px) and (min-width:641px){.hero{top:20%}.hero h1{font-size:43px;margin:10px 0 13px}.hero-description{margin-bottom:23px}.scenario-card{padding-top:12px;padding-bottom:12px}.hero-caption{margin-top:18px}.universe-stats{bottom:104px}.category-rail{gap:4px}.detail-cover-stage{height:115px}.book-cover{height:106px;width:76px;padding-top:14px}.book-cover strong{font-size:11px}.book-cover span{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Keep the arrival view quiet; labels appear once the reader begins exploring. */
body:not(.exploring) .galaxy-label-layer{visibility:hidden;pointer-events:none}
body:not(.exploring) .galaxy{filter:saturate(.8)}
@media(min-width:641px) and (max-width:960px){
 body.has-detail .results-panel{display:none}
 body.has-detail .detail-panel{width:360px;max-width:calc(100% - 110px)}
 body.has-detail .search-compact{width:360px!important}
}
@media(max-width:640px){
 .guide-running{z-index:16}
 body:has(.guide-running) .detail-panel{top:185px}
 body:has(.guide-running) .results-panel{max-height:calc(100% - 285px)}
}

/* Reading typography and persistent navigation in a long book sheet. */
.scenario-card strong{font-size:11px}.scenario-card small{font-size:10px}
.hero-caption{font-size:10px}.row-copy strong{font-size:13px}.row-copy small,.row-caption{font-size:10px}
.panel-header p{font-size:12px}.panel-foot{font-size:10px}.detail-author{font-size:12px}
.book-intro{font-size:12px;color:#a4afbe;line-height:1.95}.chart-note{font-size:10px;color:#92a0b4}
.detail-section-title{font-size:12px}.evidence-card small{font-size:10px}.fact span{font-size:10px}
.related-item strong{font-size:12px}.related-item small{font-size:10px}
.detail-top{position:sticky;top:0;background:#182131f5;z-index:5;min-height:47px;padding:12px 22px 8px}
.detail-tabs{top:47px}.orbit-engine .galaxy-label{font-size:11px;line-height:1.4}
.orbit-engine .galaxy-stock-label{font-size:11px;line-height:1.4}
@media(max-width:1190px){.scenario-card strong{font-size:10px}.scenario-card small{font-size:9px}}
@media(max-width:640px){
 .scenario-card strong{font-size:10px}.scenario-card small{font-size:9px}.hero-caption{font-size:9px}
 .topnav button{font-size:11px}.detail-top{padding-top:10px}.modal p{font-size:12px}
 .panel-header p{font-size:11px}.panel-foot{font-size:9px}
}

@media(max-width:640px) and (max-height:760px){
 .hero{top:18%}.hero h1{font-size:34px;line-height:1.3;margin:12px 0 15px}
 .hero-description{margin-bottom:20px}.hero-caption{display:none}
 body:not(.exploring) .view-controls{display:none}
 .scenario-card{min-height:99px}
}

/* Natural language search and server-side AI connection */
.ai-button{display:flex;align-items:center;gap:6px;color:#aeb7c7;font-size:10px;padding:8px 0;white-space:nowrap}.ai-button i{width:6px;height:6px;border:1px solid #8d9aad;border-radius:50%;display:block}.ai-button.configured{color:#b7d0c1}.ai-button.configured i{background:var(--mint);border-color:var(--mint);box-shadow:0 0 9px #9ac5b455}.ai-button:hover{color:#eee4ca}.quick-searches{display:flex;justify-content:center;margin:10px auto 0}.quick-searches button{font-size:10px;color:#cbbb93;border:1px solid #cfbd9633;background:#cbb98d0b;border-radius:99px;padding:7px 12px;transition:.2s}.quick-searches button:hover{border-color:#d9c79a90;background:#d1c09518;transform:translateY(-1px)}.row-badge{display:inline-block;margin-left:7px;padding:2px 5px;border:1px solid #c4b48945;border-radius:3px;color:#cfbd96;font-size:8px;font-weight:400;vertical-align:1px}.search-loading{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;min-height:220px;padding:30px 15px;color:#c8c0ab;text-align:center}.search-loading .loading-orbit{width:29px;height:29px}.search-loading strong{font-size:12px;font-weight:500}.search-loading small{font-size:10px;line-height:1.7;color:#7f8da1}.loading-dots{display:inline-block;width:14px;text-align:left;overflow:hidden;animation:loading-dots 1.2s steps(4,end) infinite}@keyframes loading-dots{0%{width:0}100%{width:14px}}.settings-field{display:grid;gap:7px;margin-top:18px}.settings-field label{font-size:10px;color:#aeb9c9}.settings-field input,.settings-field select{width:100%;height:43px;background:#111b2a;color:#e2e3e4;border:1px solid #ffffff24;border-radius:6px;padding:0 12px}.settings-field input:focus,.settings-field select:focus{border-color:#d6c09290;outline:0}.settings-error{margin-top:14px;padding:10px 12px;border:1px solid #c88e8e50;background:#8c4f4f16;border-radius:5px;color:#e1aaa5;font-size:10px;line-height:1.7}.settings-actions{display:flex;gap:9px;align-items:center;margin-top:21px}.settings-managed{display:grid;gap:8px;margin-top:22px;padding:16px;border:1px solid #9ac5b433;background:#9ac5b40b;border-radius:7px}.settings-managed strong{font-size:13px;color:#c8e0d1;font-weight:500}.settings-managed span{font-size:11px;color:#bec8c8}.settings-managed small{font-size:10px;line-height:1.7;color:#8999a7}.modal .secondary{display:block;color:#d6c39e;border:1px solid #d6c39e42;border-radius:6px;padding:12px 17px;font-size:11px;margin-top:14px}.settings-actions .primary{margin-top:0;flex:1}.settings-actions .secondary{margin-top:0;white-space:nowrap}.modal .secondary:disabled{opacity:.4}
@media(max-width:960px){.ai-button{font-size:0;gap:0}.ai-button i{width:7px;height:7px}.top-actions{gap:12px}}
@media(max-width:640px){.ai-button{display:flex;width:24px;height:28px;padding:0;justify-content:center}.ai-button i{width:7px;height:7px}.quick-searches{margin-top:8px}.quick-searches button{font-size:9px;padding:6px 10px}.row-badge{font-size:7px;margin-left:4px}.search-loading{min-height:180px}.settings-actions{align-items:stretch;flex-direction:column}.settings-actions .primary,.settings-actions .secondary{width:100%}.universe-stats #filter-state,.universe-stats>i:nth-of-type(2){display:none}}

.intro-source{display:block;margin-top:8px;font-size:9px;line-height:1.6;color:#d6c39e;text-decoration:none}.intro-source:hover{text-decoration:underline;color:#f0e5c8}.intro-source.unavailable{color:#7f8b9d;text-decoration:none}.evidence-card .intro-source{margin-top:8px}
body:not(.exploring) .space-shade{background:radial-gradient(ellipse at 50% 41%,#080b13a6 0,#080b1340 34%,transparent 66%),linear-gradient(0deg,#080b13e6,transparent 22%,transparent 75%,#080b1344)}

/* Per-library availability is requested only after the reader selects a row. */
.library-search{align-items:center}.library-search label{font-size:11px;color:#aeb9c9}.library-search select{flex:1;min-height:39px}.library-message{margin:18px 0;color:#9eabbc;font-size:11px;line-height:1.8}.library-count{margin:15px 0 3px;color:#c9b995;font-size:10px}.library-row{align-items:flex-start}.library-row>span{margin-top:2px}.library-copy{min-width:0;flex:1}.library-copy small{display:block;line-height:1.75;overflow-wrap:anywhere}.library-copy small a{color:#bdc8d3;text-decoration:underline;text-underline-offset:2px}.library-availability{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.availability{font-size:10px;padding:4px 7px;border-radius:4px;border:1px solid #ffffff1c;color:#aeb8c4}.availability.available{color:#a9d2bc;border-color:#9ac5b466;background:#9ac5b410}.availability.unavailable{color:#d6a8a4;border-color:#ce979655;background:#ce97960e}.availability.loading{color:#d6c39e}.availability-checked{color:#8492a4;font-size:9px!important;flex-basis:100%;margin-top:-3px}.availability-button,.library-pager button{border:1px solid #d6c0924a;border-radius:4px;padding:5px 8px;color:#d6c39e;font-size:10px}.availability-button:hover,.library-pager button:hover{border-color:#d6c0929c;background:#d6c09213}.availability-button:disabled,.library-pager button:disabled{opacity:.45}.library-pager{display:flex;justify-content:center;align-items:center;gap:13px;margin:17px 0 4px;color:#9aa7b7;font-size:10px}.library-pager button{min-width:48px}
@media(max-width:640px){.library-row{gap:9px;padding:13px 0}.library-copy small{font-size:9px}.library-availability{gap:6px}.availability-button{font-size:9px}.library-search{margin:16px 0}.library-search label{font-size:10px}}
.library-copy strong{font-size:14px;line-height:1.6}.library-copy small{font-size:11px;line-height:1.8}.library-availability .availability{font-size:11px;line-height:1.6}.library-availability .availability-button,.library-pager button{font-size:12px;min-height:34px;padding:6px 11px}.library-message{font-size:13px}.library-search label,.library-count,.library-pager{font-size:12px}.library-search select{font-size:14px}
