:root{font-family:Segoe UI,Inter,Arial,sans-serif;color:#edeaf0;background:#1a0f27;font-synthesis:none;--accent: #dbaa80;--ink: #21162f;--line: #40344f;--muted: #ada2bb;--gold: #f1c683}.chapter-track,.watch-header,.atlas-list>div{display:flex;align-items:center;gap:.6rem}.chapter-track{margin:1rem 0}.chapter-track button{flex:1}.chapter-track button[aria-current=step]{border-color:#dfbb9c;color:#f4d9c2}.classwatch{padding:1rem;border:1px solid #554864;background:#241734;border-radius:10px}.watch-header{justify-content:space-between;flex-wrap:wrap}.watch-header small{color:#c1b8cd;letter-spacing:.1em;font-size:10px}.watch-header strong{color:#e1be9f;font-size:14px}.watch-map{width:100%;height:220px;display:block;background:#3d304c;border:1px solid #726187;border-radius:6px}.watch-detail,.atlas-list{padding:.7rem .8rem;background:#2f2042;border-radius:6px;margin-top:.7rem}.atlas-list>div{padding:.35rem 0}.atlas-list small{margin-left:auto;color:#c5bcd0}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.54}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.shell{height:100dvh;min-height:430px;display:grid;grid-template-rows:72px minmax(0,1fr) 62px;overflow:hidden}.topbar,footer{display:flex;align-items:center;background:#1f142d;padding:0 2.6%;gap:28px}.topbar{border-bottom:1px solid #4c4159;z-index:1;justify-content:space-between}.brand{display:flex;align-items:center;text-align:left;gap:10px;border:0;background:none;padding:0}.brand img{width:39px;height:43px}.brand>span{font-size:24px;font-weight:850;letter-spacing:1.6px;line-height:1}.brand>span>span{color:var(--accent)}.brand small{display:block;margin-top:6px;color:#bab1c6;font-size:8px;letter-spacing:1.15px;font-weight:650}nav{height:100%;display:flex;align-items:stretch;gap:12px}nav button{background:none;border:0;color:#b1a6be;padding:0 14px;display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;position:relative}nav button.active,nav button:hover{color:#e9c19e}nav button.active:after{content:"";position:absolute;bottom:0;left:12px;right:12px;height:3px;background:var(--accent)}nav svg,.quick svg{width:18px;height:18px}.headright,.profilebutton,.status{display:flex;gap:10px;align-items:center}.status{color:#b4aac1;font-size:12px;font-weight:600;gap:7px}.status i{width:7px;height:7px;border-radius:50%;background:#d7ac75}.status.online i{background:#dcaa7f;box-shadow:0 0 9px #f0b17a47}.profilebutton{background:none;border:0;border-left:1px solid var(--line);margin-left:5px;padding-left:18px}.portrait,.location-icon,.questglyph{display:grid;place-items:center;border:1px solid #5f4e74;color:var(--accent);background:#342744}.portrait{width:34px;height:34px;border-radius:10px}.stage,.viewport,.labels{position:relative;overflow:hidden}.viewport,.vignette,.labels{position:absolute;inset:0}.viewport canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.viewport canvas:active{cursor:grabbing}.vignette,.labels{pointer-events:none}.vignette{background:linear-gradient(0deg,#1d0f2e46,transparent 25%,transparent 80%,#311c4b17)}.world-tag{position:absolute;transform:translate(-50%,-100%);border-radius:5px;background:#28193bdf;border:1px solid #e3e2b75e;padding:4px 8px;font-size:11px;font-weight:650;white-space:nowrap;box-shadow:0 2px 8px #23173125}.world-tag.quest-ready{z-index:3;border-color:#ffc942}.world-tag.terminal:before{content:">_";color:var(--accent);margin-right:5px}.world-tag.own{font-size:10px;color:#f7f2ec;background:#332841a8}.hud,.minimap,.quick button,.interact{background:linear-gradient(135deg,#281c36f5,#221730f2);border:1px solid #89789e8c;box-shadow:0 5px 18px #261b331f}.hud,.minimap,.quick,.interact,.compass{position:absolute}.top-left{left:2.5%;top:24px;display:flex;align-items:center;gap:12px;padding:13px 18px 13px 13px;border-radius:10px}.location-icon,.questglyph{border-radius:7px;width:35px;height:35px}.hud small,.interact small,.intro small,.tasklist small,.modalbody>small{display:block;font-weight:700;font-size:9px;letter-spacing:1.7px;color:#b4a6c5}.top-left strong{font-size:17px;display:block;margin-top:4px;font-weight:650}.compass{left:50%;top:25px;transform:translate(-50%);display:flex;align-items:center;justify-content:center;gap:9px;padding:6px 14px 9px;background:linear-gradient(90deg,transparent,#38245069 22%,#38245069 78%,transparent);color:#fff;font-size:10px;font-weight:600;text-shadow:0 1px 3px #322146}.compass strong{font-size:14px;color:#ffdf9c}.compass b{font-weight:400;opacity:.7}.compass i{position:absolute;bottom:0;left:49%;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:5px solid #ffe3a8}.minimap{top:24px;right:2.5%;width:145px;padding:5px;border-radius:11px;overflow:hidden}.citymap{display:block;width:100%;height:117px;border-radius:6px;background:#40334f}.north{position:absolute;right:11px;top:9px;border-radius:4px;padding:2px 5px;background:#231632cc;color:#e9e6bb;font-size:10px;font-weight:700}.mapcap{display:flex;gap:6px;align-items:center;justify-content:center;font-size:10px;color:#d0c8da;padding:6px 1px 1px}.questcard{bottom:23px;left:2.5%;width:min(325px,31vw);padding:15px 17px 11px;border-radius:10px;border-top:2px solid #cba968}.questhead,.questfoot,.questfoot span,.objective,.interact,.quick,.population,.level,.xp>div,.controlbar,.controlbar span{display:flex;align-items:center}.questhead{gap:9px}.questglyph{width:28px;height:28px;color:var(--gold);border:1px solid #8b7452;background:#574b39}.questhead small{color:#eac994;font-size:9px}.questhead button{margin-left:auto;background:none;border:0;color:#b9afc5}.questcard h1{font-size:21px;line-height:1.15;font-weight:660;letter-spacing:-.5px;margin:12px 0 10px}.objective{font-size:13px;color:#e5e1ea;gap:9px}.objective i{width:7px;height:7px;border:1px solid #ffc783;transform:rotate(45deg)}.questfoot{margin-top:14px;border-top:1px solid #79678e55;padding-top:9px;justify-content:space-between;font-size:11px;color:#b6abc3}.questfoot span{gap:6px}.interact{bottom:24px;left:50%;transform:translate(-50%);gap:12px;padding:10px 14px;border-radius:9px;text-align:left}.interact kbd{font-size:19px;color:#2d213b;background:#e7c09e;border-color:#dfc3ab;min-width:32px;line-height:29px}.interact small{font-size:8px}.interact strong{display:block;font-size:14px;margin-top:2px}.quick{right:2.5%;bottom:24px;gap:8px}.quick button{color:#ddd7e5;border-radius:8px;width:39px;height:39px;display:grid;place-items:center}footer{border-top:1px solid #4b4058;gap:10px}.level{position:relative;justify-content:center;color:var(--accent);width:39px;height:39px}.level svg{width:37px;height:37px;stroke-width:1.2;fill:#352844}.level b{position:absolute;font-size:16px}.xp{min-width:145px;max-width:180px}.xp>div{gap:12px;justify-content:space-between}.xp strong{font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.xp small{white-space:nowrap;font-size:9px;color:#afa3bd}.xp>i{display:block;margin-top:6px;width:100%;height:4px;background:#463c52;border-radius:2px;overflow:hidden}.xp>i>b{height:100%;display:block;background:var(--accent)}.controlbar{margin:auto;gap:16px}.controlbar span{gap:5px;color:#b2a7c0;font-size:11px}kbd{display:inline-block;border:1px solid #6b5b7e;border-bottom-width:2px;padding:1px 4px;border-radius:4px;color:#ece5de;font-family:inherit;text-align:center;font-size:10px;font-weight:650;white-space:nowrap}.population{gap:7px;color:#c7bfd1;font-size:12px}.scene-error{position:absolute;inset:40% 20% auto;background:#251835;padding:25px;border-radius:10px}.scrim{position:fixed;inset:0;z-index:10;background:#1309209e;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:18px}.modal{width:min(560px,100%);max-height:min(82vh,850px);display:flex;flex-direction:column;background:#241833;border:1px solid #6a5b7d;box-shadow:0 24px 90px #18082b75;border-radius:14px;outline:0;overflow:hidden}.modal.wide{width:min(860px,100%)}.modalbar{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:#1e122c;border-bottom:1px solid #433751}.modalbar span,.modalbody button,.modalbody a,.intro,.actions,.award,.demo h3,.menulist button,.tasklist button,.mapkey{display:flex;align-items:center;gap:9px}.modalbar span{font-weight:650;font-size:13px}.modalbar img{width:20px;height:22px}.modalbar button{border:0;background:none;padding:5px;color:#c6bdd0}.modalbody{overflow:auto;padding:23px 25px 25px;scrollbar-color:#5c4e6c transparent;font-size:14px;line-height:1.5}.modalbody h2{font-size:25px;line-height:1.2;letter-spacing:-.65px;margin:3px 0 0}.intro{gap:14px;margin-bottom:17px}.intro>svg{box-sizing:content-box;width:25px;height:25px;color:var(--accent);border:1px solid #584a6a;background:#332446;border-radius:10px;padding:10px}.modalbody h3{font-size:16px;margin:17px 0 5px}.modalbody p{color:#ccc4d5;margin:11px 0 17px}.modalbody button,.modalbody a{background:#362947;border:1px solid #564868;color:#ece4dd;border-radius:6px;padding:8px 13px;text-decoration:none;justify-content:center;font-size:13px;font-weight:550}.modalbody button:hover,.modalbody a:hover,.quick button:hover,.interact:hover{border-color:#d0ae91}.modalbody button.primary{background:#e2be9f;border-color:#e2be9f;color:#261837;font-weight:700}.full{width:100%}.actions{flex-wrap:wrap;margin:16px 0 4px}.field{display:block;margin:13px 0 6px;color:#c5bcd1;font-weight:600;font-size:13px}.field input,.field select{display:block;margin:5px 0 15px;width:100%}input,textarea,select{background:#1c102b;color:#e4e0e9;border:1px solid #57476a;border-radius:5px;padding:9px 11px}textarea{width:100%;height:135px;resize:vertical;font-family:Consolas,monospace}.modalbody pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#1c102b;border:1px solid #433752;color:#e4cfbd;border-radius:6px;padding:11px;font:13px/1.5 Consolas,monospace}.positive{color:#f0cdaf!important}.output,.hint{color:#f3d4a5!important}.hint{border-left:2px solid var(--gold);padding-left:11px}blockquote{border-left:2px solid var(--gold);margin:0;padding:9px 14px;background:#32273f;color:#e9e6d4}.tasklist,.menulist,.binds{display:grid;gap:7px}.menulist{margin-top:11px}.menulist button,.tasklist button{width:100%;text-align:left;justify-content:flex-start}.menulist svg,.tasklist svg{width:17px;color:var(--accent)}.menulist svg:last-child,.tasklist em{margin-left:auto}.tasklist small{font-size:8px;color:#a79ab7}.tasklist em{font-style:normal;color:var(--gold);font-size:12px}.reading{border-bottom:1px solid #3f334d}.demo{border:1px solid #504262;border-radius:8px;padding:0 14px 12px;margin-top:15px}.demo select{margin-left:5px}.demo code{color:var(--accent)}.swatches{display:flex;gap:8px}.swatches button{width:39px;height:32px}.award,.binds>div,details{padding:10px 0;border-bottom:1px solid #42374f}.award svg{color:var(--gold);width:18px}.award small{margin-left:auto;color:var(--muted);font-size:10px}.binds{grid-template-columns:1fr 1fr}.binds kbd{margin-right:8px}.citymap.large{height:280px;border:1px solid #635575}.mapkey{justify-content:space-around;margin-top:10px;font-size:12px;color:var(--accent)}.mapkey span:nth-child(2){color:var(--gold)}.roster{overflow:auto;margin-top:15px}table{border-collapse:collapse;width:100%;font-size:12px}td,th{text-align:left;padding:7px;border-bottom:1px solid #463a54}td button{font-size:12px!important}summary{cursor:pointer}@media(max-width:1000px){.controlbar{gap:7px}.controlbar span:nth-child(2){display:none}.compass{width:170px;overflow:hidden}.questcard{width:270px}.topbar{gap:10px}nav{gap:0}nav button{padding:0 9px}.minimap{width:125px}.citymap{height:100px}}@media(max-width:740px){.shell{grid-template-rows:56px minmax(0,1fr) 49px}.brand img{width:29px}.brand>span{font-size:16px}.brand small{font-size:5.7px}.brand{gap:5px}.status{font-size:0}.profilebutton{padding-left:6px}.headright{gap:0}nav button{font-size:0;gap:0}.controlbar{display:none}.population{margin-left:auto}.top-left{top:12px;padding:8px;gap:6px}.top-left strong{font-size:13px}.top-left small{font-size:7px}.minimap{width:90px;top:12px}.citymap{height:73px}.mapcap{font-size:8px}.compass{display:none}.questcard{bottom:12px;width:205px;padding:9px}.questcard h1{font-size:16px;margin:7px 0}.objective{font-size:11px}.questfoot{margin-top:6px;padding-top:5px}.interact{bottom:12px;left:auto;right:2.5%;transform:none;padding:7px;gap:6px}.quick{bottom:69px}.quick button{width:29px;height:29px}.modalbody{padding:16px}.xp{min-width:140px}.questglyph{height:22px;width:22px}.questhead small{font-size:8px}}.formpreview{margin:14px 0;background:#d7d2de;color:#35244a;border:1px solid #89789e;padding:10px;border-radius:5px}.formpreview small{display:block;background:#5e457d;color:#fff;padding:3px 8px}.formpreview p{color:#35244a}.formpreview button{background:#eff0e7;color:#3f2f53}.form-lab textarea{height:100px;margin-top:7px}.summarytopics{display:grid;grid-template-columns:1fr 1fr;color:#beb3cb;gap:5px}.demo li{margin-bottom:5px}.lesson-block{border-left:4px solid;padding:.75rem 1rem;margin:1rem 0;border-radius:4px 12px 12px 4px}.lesson-block h3{margin-top:0}.reading-block{border-color:#b58be2;background:#352a44}.practice-block{border-color:#ff9a54;background:#443029}.check-title{color:#ffd36e}.world-tag.quest-ready:after{content:"!";position:absolute;left:50%;bottom:115%;transform:translate(-50%);font:700 23px/1 Georgia,serif;color:#ffdd49;text-shadow:0 2px 3px #442a13}.world-tag.pavilion-tag{color:#ffe7b0;border-color:#a38060}.questcard{border-left:4px solid #ffab58}.token-example{display:flex;gap:.45rem;margin:1rem 0}.token-example div{flex:1;background:#261e32;border:1px solid #6c537c;border-radius:8px;padding:.65rem;text-align:center}.token-example code{display:block;font-size:1.55rem;color:#ffd675}.token-example span{font-size:.85rem;color:#eadcf4}.rule-help{margin:1rem 0;border-left:3px solid #b98dde;padding:.5rem .8rem;background:#30253c}.scrim:has(.modal[data-film=true]){align-items:flex-end;background:linear-gradient(transparent 45%,#1b1028aa);pointer-events:none}.modal[data-film=true]{pointer-events:auto;margin:0 auto 2vh;max-width:760px;width:92%;background:#25182fed}.shell:has(.modal[data-film=true]) :is(.hud,.minimap,.world-tag,.compass,.quick){visibility:hidden}
