@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{font-family:Inter,system-ui,sans-serif;color:#e6ebff;background:#090d1c;font-size:14px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 45% 0%,#192347 0,#0b1023 48%,#080b16 100%);min-height:100vh}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}.app{max-width:1480px;padding:24px 26px 18px;margin:auto}.top{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:22px}.brand{display:flex;gap:13px;align-items:center}.brand-icon{width:55px;height:55px;border:1px solid #587de1;display:grid;place-items:center;border-radius:14px;background:#17264c;color:#9ce6ff;font-size:34px;box-shadow:0 0 35px #4c71e130}.eyebrow{font-size:10px;letter-spacing:2.1px;color:#83a5de;font-weight:700}h1,h2,h3{font-family:Rajdhani,Inter,sans-serif;margin:0}h1{letter-spacing:2px;font-size:31px;line-height:1.1}h1 span{color:#94dbff}.currencies{display:flex;gap:9px}.currency{min-width:132px;background:#171e35;border:1px solid #303d61;border-radius:12px;padding:12px 17px;display:flex;flex-direction:column;gap:4px}.currency small{font-size:9px;letter-spacing:1.5px;color:#8f9ab7;font-weight:700}.currency strong{font:700 22px Rajdhani;color:#f5d58d}.currency.dust strong{color:#a6a2fb}.currency.shards strong{color:#e7b5fa}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,1fr);gap:17px;align-items:stretch}.arena-wrap,.sidebar{background:#10172b;border:1px solid #2b3656;border-radius:17px;overflow:hidden;box-shadow:0 20px 65px #0003}.arena-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:21px 23px 15px}.arena-bar h2{font-size:27px;color:#dff0ff}.arena-stats{display:flex;gap:16px;color:#a4b7d8;font-size:10px;font-weight:700;letter-spacing:1px}.arena{height:min(55vw,490px);min-height:360px;position:relative;background:radial-gradient(ellipse at center,#242e55 0%,#131a32 46%,#0c1123 100%);overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:manipulation;cursor:crosshair}.hint{position:absolute;bottom:16px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:1.8px;color:#8d9cc0;pointer-events:none}.floating-message{position:absolute;top:17px;left:50%;transform:translateX(-50%);color:#f9d795;background:#141b33d9;border:1px solid #74624c;padding:8px 15px;border-radius:20px;font-size:12px;opacity:0;transition:opacity .25s;pointer-events:none;white-space:nowrap}.floating-message.show{opacity:1}.arena-foot{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #263455;border-bottom:1px solid #263455}.mini{display:flex;flex-direction:column;gap:6px;align-items:center;padding:16px 6px;background:#111b31;border-right:1px solid #263455}.mini:last-child{border:0}.mini span{font-size:9px;letter-spacing:1.2px;color:#8192b1}.mini b{font:700 24px Rajdhani;color:#ddeaff}.resonance{padding:15px 22px 0}.resonance>div:first-child{display:flex;justify-content:space-between;font-size:10px;letter-spacing:1.2px;color:#a1b2d2;font-weight:700}.meter{background:#29334e;height:7px;border-radius:5px;overflow:hidden;margin-top:9px}.meter>div{height:100%;width:0;background:linear-gradient(90deg,#775ee3,#d68afd)}.bottom-actions{display:flex;gap:8px;padding:15px 22px 20px}.outline{border:1px solid #3b4d77;background:#1c2946;color:#cce2ff;border-radius:8px;padding:10px 13px;font-family:Rajdhani;font-weight:700;letter-spacing:.5px}.outline:hover:enabled{background:#263c64;border-color:#6685d3}.bottom-actions button:first-child{flex:1}.sidebar{display:flex;flex-direction:column;min-height:660px}.tabs{display:grid;grid-template-columns:repeat(4,1fr);background:#151d33;border-bottom:1px solid #2b3656}.tab{background:transparent;color:#8b99b5;border:0;padding:21px 5px 17px;font-family:Rajdhani;font-weight:700;letter-spacing:.8px;font-size:12px;border-bottom:2px solid transparent}.tab.active{background:#1b2841;color:#9fe2ff;border-bottom-color:#84d6ff}.tab:hover{color:#fff}.panels{overflow:auto;max-height:780px;flex:1;scrollbar-color:#3d507a #10172b}.panel{display:none;padding:21px}.panel.active{display:block}.panel-intro{font-size:12px;line-height:1.6;color:#8e9fbf;margin-bottom:18px}.group-label{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#829cd3;margin:20px 0 10px}.upgrade{display:flex;gap:10px;align-items:center;background:#19233b;border:1px solid #2a3858;border-radius:10px;padding:12px;margin-bottom:8px}.upgrade.locked{opacity:.55}.upgrade-icon{width:36px;height:36px;display:grid;place-items:center;background:#253754;border-radius:9px;color:#a1d9ff;font-size:21px;flex-shrink:0}.upgrade-info{flex:1;min-width:0}.upgrade-name{font-size:13px;font-weight:700}.upgrade-desc{color:#8ea0bc;font-size:10px;line-height:1.5;margin-top:4px}.upgrade-level{color:#9ab3d6;font-size:10px;margin-top:3px}.buy{min-width:88px;padding:9px 8px;background:#254b64;border:1px solid #3d799d;color:#bceeff;border-radius:8px;font-weight:800;font:700 14px Rajdhani}.buy:hover:enabled{background:#316787}.buy:disabled{background:#253044;border-color:#36435e;color:#929fb9}.card{background:#19233c;border:1px solid #30405e;border-radius:12px;padding:16px;margin-bottom:12px}.card h3{font-size:21px;color:#e3efff;margin:3px 0}.card p{font-size:12px;line-height:1.6;color:#9daccc}.card .meta{font-size:10px;color:#86a4dc;letter-spacing:1.2px;font-weight:700}.requirement{font-size:12px;color:#b9c8e2;margin:11px 0}.requirement.met{color:#8de4bf}.primary{width:100%;background:linear-gradient(110deg,#447fa9,#6a57c0);border:1px solid #7f9bd6;border-radius:9px;padding:12px;color:white;font-family:Rajdhani;font-size:17px;font-weight:700;letter-spacing:.7px}.primary:disabled{background:#26334c;border-color:#3b4862;color:#8796b2}.facet{display:flex;align-items:center;gap:12px}.facet-icon{font-size:29px;min-width:34px}.facet-desc{flex:1}.facet-desc b{font-size:13px}.facet-desc p{font-size:11px;margin:4px 0 0}.facet button{padding:8px 10px;border:1px solid #648eb5;background:#294b67;color:#d5eeff;border-radius:7px;font:700 12px Rajdhani;min-width:72px}.facet button:disabled{opacity:.4}.muted{font-size:12px;color:#96a5c1;line-height:1.65}.perk{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;background:#202741;border:1px solid #354163;border-radius:9px;margin:9px 0}.perk b{font-size:12px}.perk p{margin:3px 0;color:#99a8c7;font-size:10px}.perk button{background:#4a3e70;color:#e4cffb;border:1px solid #7662ac;padding:8px;border-radius:7px;min-width:90px;font:700 13px Rajdhani}footer{display:flex;justify-content:space-between;gap:15px;color:#6d7d9d;font-size:10px;letter-spacing:1px;margin-top:18px}.text-btn{border:none;background:none;padding:0;color:#86b0e3;text-decoration:underline;font-size:inherit}@media(max-width:1000px){.layout{grid-template-columns:1fr}.arena{height:470px}.sidebar{min-height:500px}.panels{max-height:none}.app{padding:15px}}@media(max-width:600px){.top{align-items:stretch;flex-direction:column}.currencies{gap:5px}.currency{flex:1;min-width:0;padding:9px}.currency strong{font-size:19px}.arena{height:350px;min-height:330px}.arena-bar{padding:14px}.arena-stats{flex-direction:column;gap:5px;text-align:right}.mini span{font-size:7px}.mini b{font-size:19px}.bottom-actions{padding:12px;gap:5px}.outline{padding:8px;font-size:11px}.tab{font-size:10px;padding:15px 2px}footer{flex-direction:column}}
/* v1.3: interactive ascension constellation */
.constellation-intro{margin:15px 0}.constellation-intro .outline{width:100%;margin:8px 0 14px;border-color:#8266c5;color:#ead7ff}.skillmap-scroll{overflow-x:auto;padding:5px 0 18px;scrollbar-color:#55558d #141b30}.skillmap{min-width:780px;padding:24px 18px 30px;position:relative;display:grid;grid-template-columns:repeat(5,minmax(126px,1fr));gap:14px;background:radial-gradient(circle at 50% 4%,#342c60 0,#171b35 35%,#11172a 88%);border:1px solid #3a3d69;border-radius:18px}.skillmap-core{grid-column:1/-1;justify-self:center;border:2px solid #e2c4ff;border-radius:50%;width:116px;height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#5d448a,#242044);box-shadow:0 0 36px #aa83ff55;gap:5px}.skillmap-core span{font-size:30px;color:#e9d0ff}.skillmap-core b{letter-spacing:1px;font:700 13px Rajdhani}.skillmap-core small{font-size:10px;color:#e6c8ff}.skillbranch{position:relative;--branch-color:#a9b4ff}.skillbranch-wealth{--branch-color:#e8bd63}.skillbranch-power{--branch-color:#f08c9e}.skillbranch-refraction{--branch-color:#78c9ff}.skillbranch-automation{--branch-color:#ac8cff}.skillbranch-transmutation{--branch-color:#82ddbc}.skillbranch:before{content:'';height:36px;position:absolute;bottom:100%;left:50%;border-left:2px solid var(--branch-color);opacity:.7}.skillbranch header{text-align:center;min-height:54px;color:var(--branch-color);font:700 12px Rajdhani;letter-spacing:.5px}.skillbranch header span{font-size:22px;display:block}.skillbranch header small{display:block;color:#9eabc9;font:500 10px Inter;margin:4px}.skillpath{display:flex;flex-direction:column;gap:26px}.skillnode{position:relative;width:100%;min-height:110px;border:1px solid #4a4f75;border-radius:14px;background:#1e2640;color:#bfc9e7;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;padding:13px 6px;transition:transform .12s,border-color .12s;box-shadow:inset 0 0 18px #090f20}.skillnode:not(:first-child):before{content:'';position:absolute;bottom:100%;left:50%;height:27px;border-left:3px solid #505877}.skillnode.available:not(:first-child):before,.skillnode.invested:not(:first-child):before{border-color:var(--branch-color)}.skillnode:hover{transform:translateY(-2px);border-color:#d5c2ff}.skillnode.chosen{outline:2px solid #f4e3ff;outline-offset:3px}.skillnode.invested{border-color:var(--branch-color);background:linear-gradient(145deg,#2b3250,#1c223a);box-shadow:inset 0 -4px 0 var(--branch-color),0 0 14px #b995ff17}.skillnode.sealed{opacity:.55}.skillnode-icon{font-size:24px;color:var(--branch-color);width:39px;height:39px;display:grid;place-items:center;border-radius:50%;border:3px solid #46516c;background:conic-gradient(var(--branch-color) var(--progress),#2d344c 0)}.skillnode-name{font:700 12px Rajdhani;line-height:1.1;text-align:center}.skillnode-level{font-size:11px;color:#d1e0ff}.skillnode-gate{font-size:9px;color:#8b98bb}.skill-details{background:#1e2340;border:1px solid #615491;border-radius:15px;padding:19px;margin:15px 0 18px}.skill-details-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.skill-details-head small{color:#a8a5dc;font-size:10px}.skill-details h3{font-size:24px;margin:4px 0}.skill-details p{font-size:12px;color:#c2cae5;line-height:1.5}.skill-rank{color:#f0d3ff;white-space:nowrap}.skill-rank-track{background:#343857;border-radius:10px;height:8px;overflow:hidden;margin:14px 0}.skill-rank-track i{display:block;background:linear-gradient(90deg,#826be0,#d7a6ff);height:100%}.balance-lab{background:#17263a;border:1px solid #407789;border-radius:16px;padding:18px;margin:14px 0 22px}.balance-lab h3{color:#b2f2ff;font-size:24px}.balance-lab h4{font:700 14px Rajdhani}.sim-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sim-controls label{color:#b5d4e5;font-size:11px;display:flex;flex-direction:column;gap:6px}.sim-controls select,.sim-controls input{width:100%;background:#101d2d;color:#e9f6ff;border:1px solid #46637a;border-radius:7px;padding:9px}.sim-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:18px 0}.sim-metrics>div{padding:12px;background:#21324a;border-radius:9px}.sim-metrics small{display:block;color:#a9c8da;font-size:9px;letter-spacing:.6px}.sim-metrics strong{display:block;color:#e0f9ff;font:700 25px Rajdhani}.sim-bottleneck{font-size:11px;padding:12px;border:1px solid #a47b55;border-radius:9px;color:#d7c0a1;margin-bottom:15px}.sim-bottleneck strong{display:block;font-size:14px;color:#f0d29b;margin-top:4px}.sim-impact{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:11px}.sim-impact span{width:87px}.sim-impact b{width:43px;text-align:right}.sim-impact-track{height:9px;background:#304057;flex:1;border-radius:5px;overflow:hidden}.sim-impact-track i{display:block;height:100%;background:#68d7d5;border-radius:5px}

/* v1.4 - full-screen constellation and measured game-wide telemetry */
.game-overlay[hidden]{display:none!important}.game-overlay{position:fixed;inset:0;z-index:1000;background:rgba(3,6,18,.94);padding:20px;overflow:auto;backdrop-filter:blur(12px)}.overlay-open{overflow:hidden}.overlay-body{max-width:1600px;margin:0 auto;min-height:calc(100vh - 40px);background:linear-gradient(145deg,#1b2340,#101527 60%);border:1px solid #505780;border-radius:18px;padding:25px;box-shadow:0 25px 90px #000a}.tree-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;border-bottom:1px solid #3b4262;padding-bottom:22px}.tree-head small{letter-spacing:1.6px;color:#b29af2}.tree-head h2{font-size:34px;color:#eee3ff}.tree-head p{color:#abb6d1;max-width:650px;line-height:1.6}.tree-head-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.tree-head-actions strong{color:#f4d391;white-space:nowrap}.tree-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.tree-layout .skillmap-scroll{overflow-x:auto}.tree-layout .skillmap{min-width:780px;grid-template-columns:repeat(5,minmax(125px,1fr))}.tree-layout .skillnode{min-height:116px}.tree-inspector{position:sticky;top:15px}.tree-inspector .skill-details{margin:0}.stats-toolbar{display:flex;align-items:center;gap:8px;margin:16px 0}.stats-toolbar button{background:#222b46;border:1px solid #465578;color:#ccdaf5;border-radius:9px;padding:10px 16px}.stats-toolbar button.selected{border-color:#91d6fc;background:#294b69}.stats-toolbar span{color:#93a4c3;font-size:12px;margin-left:10px}.stats-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.stats-metrics>div{padding:17px;background:#1b2b44;border:1px solid #344766;border-radius:12px}.stats-metrics small{display:block;color:#9eb3cf;font-size:11px;margin-bottom:8px}.stats-metrics strong{font:700 27px Rajdhani;color:#d7f3ff}.stats-diagnosis{margin:22px 0;padding:18px;border:1px solid #7b6c55;background:#2a2530;border-radius:12px}.stats-diagnosis h3{color:#ffe1a2;font-size:23px}.stats-diagnosis p{color:#c5c7d8;line-height:1.6}.stats-section{background:#19243b;padding:20px;border-radius:12px}.stats-section h3{font-size:23px}.stats-chart{height:180px;display:flex;gap:3px;align-items:end;background:linear-gradient(0deg,#31416033,transparent);padding:12px;border-bottom:1px solid #5b6b8a}.stats-chart span{background:linear-gradient(0deg,#4e8ad5,#94e5f7);flex:1;min-width:2px;border-radius:3px 3px 0 0}.bottom-actions{flex-wrap:wrap}@media(max-width:1150px){.tree-layout{grid-template-columns:1fr}.tree-inspector{position:static}.stats-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:650px){.game-overlay{padding:5px}.overlay-body{padding:14px}.tree-head{align-items:flex-start;flex-direction:column}.tree-head h2{font-size:25px}.stats-metrics{grid-template-columns:repeat(2,1fr)}.stats-toolbar{flex-wrap:wrap}.stats-toolbar span{width:100%;margin:0}}

/* v1.5: world progression is separate from permanent ascension. */
.tabs{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:600px){.tab{letter-spacing:0;font-size:9px}}

/* v1.5.2 — direct-purchase constellation cards and themed world controls */
.skillmap{grid-template-columns:repeat(5,minmax(168px,1fr));min-width:990px;gap:12px}
.skillnode{cursor:default;min-height:205px;padding:13px 10px;gap:7px;justify-content:flex-start}
.skillnode:hover{transform:none}
.skillnode-effect{font:500 10px/1.45 Inter,sans-serif;color:#acbad9;text-align:center;min-height:39px}
.skillnode-progress{width:90%;height:5px;border-radius:6px;background:#343b58;overflow:hidden;margin-top:auto}
.skillnode-progress i{height:100%;display:block;background:var(--branch-color)}
.skillnode-gate{font-size:9px;min-height:12px}
.skillnode-buy{width:100%;min-height:31px;margin-top:4px;border:1px solid var(--branch-color);border-radius:8px;background:linear-gradient(130deg,#33345a,#27304d);color:#f1ecff;font:700 11px Rajdhani,sans-serif;letter-spacing:.3px;cursor:pointer}
.skillnode-buy:hover:not(:disabled){background:var(--branch-color);color:#101528;box-shadow:0 0 14px color-mix(in srgb,var(--branch-color) 40%,transparent)}
.skillnode-buy:disabled{cursor:not-allowed;opacity:.45;border-color:#5a607a;background:#232a42}
.skillnode.sealed{opacity:.75}.skillnode.sealed .skillnode-effect{color:#9ba9c6}
.corruption-panel{border:1px solid #4a4e7b;background:radial-gradient(circle at 90% 0%,#34305a,#1b2642 54%,#171d35);padding:24px;border-radius:18px}
.corruption-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.corruption-top h3{font-size:29px;margin:6px 0}.corruption-top h3 em{font-style:normal;color:#d0b0ff}.corruption-top h3 span{color:#8797be;font-size:19px}
.corruption-effects{display:flex;gap:9px;flex-wrap:wrap}.corruption-effects span{padding:9px 12px;border:1px solid #55537b;background:#262745;border-radius:10px;color:#abb9de;font-size:11px}.corruption-effects b{color:#f3dcff}
.corruption-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin:20px auto}
.corruption-step{width:56px;height:56px;border:1px solid #9276d0;border-radius:15px;background:linear-gradient(145deg,#58467d,#29274c);color:#eee0ff;font:700 30px Rajdhani,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff20}
.corruption-step:hover:not(:disabled){filter:brightness(1.2);box-shadow:0 0 18px #9776d057}.corruption-step:disabled{opacity:.3;cursor:not-allowed}
.corruption-current{min-width:155px;text-align:center;border:1px solid #474c78;border-radius:15px;background:#141b31;padding:10px}.corruption-current b{display:block;font:700 22px Rajdhani;color:#dfcaff}.corruption-current small{font-size:9px;letter-spacing:1px;color:#8fa0c6}
.corruption-goal{border:1px solid #3c496c;border-radius:12px;background:#121a30;padding:14px;color:#b8c4df;font-size:12px}.corruption-goal strong{float:right;color:#e8d0ff}.corruption-goal small{display:block;margin-top:8px;color:#93a4c7}.corruption-track{clear:both;margin-top:12px;height:7px;background:#303652;border-radius:5px;overflow:hidden}.corruption-track i{display:block;height:100%;background:linear-gradient(90deg,#7f83e6,#cf8eff)}
.corruption-unlock{display:block;width:100%;margin-top:13px!important;border-radius:10px!important;min-height:44px}
@media(max-width:650px){.corruption-panel{padding:15px}.corruption-top h3{font-size:24px}.corruption-step{width:47px;height:47px}.corruption-current{min-width:122px}}

/* v1.5.3: compact constellation, clear facet equipment feedback */
.skillbranch:before{display:none!important}
.skillmap{padding:13px 12px 18px!important;gap:10px!important}
.skillmap-core{width:76px;height:76px;gap:1px}
.skillmap-core span{font-size:21px}.skillmap-core b{font-size:10px}.skillmap-core small{font-size:9px}
.skillbranch header{min-height:43px;font-size:10px;letter-spacing:.2px}
.skillbranch header span{font-size:17px}.skillbranch header small{font-size:9px;margin:2px}
.skillpath{gap:12px!important}
.skillnode{min-height:142px!important;padding:8px 7px!important;gap:3px!important;border-radius:11px}
.skillnode:not(:first-child):before{height:13px!important}
.skillnode-icon{width:27px;height:27px;font-size:18px;border-width:2px}
.skillnode-name{font-size:12px}.skillnode-level{font-size:10px}
.skillnode-effect{font-size:9px;line-height:1.25;min-height:24px}
.skillnode-progress{height:4px;margin-top:auto}
.skillnode-buy{min-height:26px;padding:4px;font-size:10px;margin-top:2px}
.skillnode-gate{font-size:8px;min-height:10px}
.facet-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;background:linear-gradient(110deg,#24254a,#192c44);border:1px solid #7166b0;border-radius:12px;padding:13px;margin-bottom:12px}
.facet-summary h3{font-size:21px;margin:2px 0}.facet-summary p{font-size:11px;color:#b7c6e6;line-height:1.5;margin:4px 0}
.facet-slot-track{display:flex;gap:5px;flex-shrink:0}.facet-slot-track span{width:27px;height:27px;border-radius:7px;border:1px dashed #65789b;display:grid;place-items:center;color:#7288b2}.facet-slot-track span.filled{background:#3a5d76;color:#baf6ff;border:1px solid #85d8ed;box-shadow:0 0 10px #71cdfd44}
.card.facet{margin-bottom:7px;padding:10px 12px;transition:border-color .15s,background .15s}
.facet.facet-active{border:1px solid #82d9f1;background:linear-gradient(105deg,#24435c,#19263e);box-shadow:inset 3px 0 0 #91e5fb}
.facet.facet-locked{opacity:.55}.facet-icon{font-size:25px;min-width:32px;color:#d4deff}.facet-active .facet-icon{color:#a2f2ff}
.facet-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.facet-active-badge{font:700 9px Rajdhani,sans-serif;letter-spacing:.8px;padding:3px 6px;border-radius:5px;background:#246578;color:#b6fbff;border:1px solid #69b8cf}
.facet-desc p{font-size:11px;line-height:1.3}.facet .meta{font-size:9px;margin-top:4px}.facet button{min-width:75px}.facet button.facet-remove{background:#315c72;border-color:#78cfe3;color:#e1fdff}
@media(max-width:600px){.facet-summary{align-items:flex-start;flex-direction:column}.skillmap{min-width:850px!important}}

/* v1.6 gameplay content */
.tabs{display:flex;flex-wrap:wrap}.tabs .tab{flex:1 1 30%;min-width:90px}
.gameplay-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.gameplay-card>div{min-width:0}.gameplay-card h3{margin:0 0 5px}.gameplay-card p{margin:0 0 6px}.gameplay-card small{color:#9eafd1}.gameplay-card button{flex-shrink:0;min-width:90px}.gameplay-card.facet-active{border-color:#82d4ed;background:#243a52}

/* v1.6.1 — arena-first events and crystal skills */
.combat-powers{padding:13px 17px;background:linear-gradient(120deg,#121c34,#182139);border-top:1px solid #334369;display:grid;gap:10px}
.arena-event{display:flex;align-items:center;gap:11px;padding:11px 13px;border:1px solid #59638c;border-radius:12px;background:#232b49}
.arena-event-icon{font-size:23px;color:#eacb8b}.arena-event-copy{flex:1;min-width:0;display:grid;gap:3px}.arena-event-copy strong{font:700 16px Rajdhani;color:#eedfff;letter-spacing:.6px}.arena-event-copy span{font-size:11px;color:#acb9da;line-height:1.3}.arena-event-timer{font:700 22px Rajdhani;color:#a7bef0;white-space:nowrap}.arena-event-timer.running{color:#f2d085}
.arena-abilities{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.arena-ability{display:flex;align-items:center;gap:8px;min-width:0;text-align:left;background:#1e2b47;border:1px solid #40577c;border-radius:10px;color:#cedaf3;padding:10px;font-family:inherit;transition:background .15s,border-color .15s}.arena-ability.ready{background:#293756;border-color:#7e80c4;cursor:pointer}.arena-ability.ready:hover{background:#33466f;border-color:#c3a6fc}.arena-ability:disabled{opacity:.65;cursor:not-allowed}.ability-sigil{flex-shrink:0;display:grid;place-items:center;width:31px;height:31px;background:#35365e;border:1px solid #6d6dab;border-radius:9px;font-size:19px;color:#dfc5ff}.ability-text{display:grid;min-width:0;gap:3px}.ability-text strong{font:700 15px Rajdhani;line-height:1.05}.ability-text small{font-size:9px;color:#a8b7da;letter-spacing:.3px}.arena-ability.ready small{color:#8fe1bf}
@media(max-width:650px){.combat-powers{padding:10px}.arena-abilities{gap:5px}.arena-ability{padding:7px 5px;flex-direction:column;text-align:center}.ability-text strong{font-size:13px}.ability-text small{font-size:8px}.arena-event-copy span{font-size:10px}}

/* v1.6.2: player-facing ascension dialog, switches and artifacts */
.ascend-confirm{max-width:570px;margin: min(15vh,120px) auto;text-align:center;padding:38px;background:linear-gradient(140deg,#29234b,#161c34);border:1px solid #9378c2;border-radius:20px;box-shadow:0 0 65px #8b65e035}.ascend-symbol{font-size:64px;color:#e4baff}.ascend-confirm small{letter-spacing:3px;color:#bda7ef}.ascend-confirm h2{font-size:36px;color:#f2e6ff;margin:10px}.ascend-confirm p{line-height:1.7;color:#bdc9e5}.ascend-reward{font-size:24px;color:#f6d995;font-weight:800;margin:24px 0}.ascend-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.ascend-actions button{min-width:180px;padding:13px}.artifact-head{margin:22px 0 12px}.artifact-head small{color:#9ebada}.artifact-item{display:flex;align-items:center;gap:14px;margin-bottom:10px}.artifact-item .facet-info{flex:1;min-width:0}.artifact-item .facet-equip{flex-shrink:0}.artifact-item.facet-active{border-color:#83dcec;background:#243b52}.auto-toggles{margin-top:18px}.auto-switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#1c2641;border:1px solid #38476c;border-radius:12px;padding:11px 16px;margin:8px 0;cursor:pointer;color:#e4eaff}.auto-switch-row span{font-weight:700}.auto-switch-row small{display:block;color:#98a9c9;font-weight:400;margin-top:4px}.auto-switch-row input{appearance:none;flex-shrink:0;width:44px;height:25px;border-radius:20px;background:#36425d;border:1px solid #667495;position:relative;cursor:pointer}.auto-switch-row input:before{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#aeb9d5;transition:transform .15s}.auto-switch-row input:checked{background:#426d86;border-color:#81cbe7}.auto-switch-row input:checked:before{transform:translateX(18px);background:#cff4ff}.auto-switch-row input:disabled{opacity:.35;cursor:not-allowed}@media(max-width:520px){.ascend-confirm{padding:22px}.ascend-confirm h2{font-size:27px}.artifact-item{gap:8px}.artifact-item .facet-equip{min-width:70px}}

/* v1.6.3: per-skill automation lives in the combat interface */
.arena-ability-card{min-width:0;border:1px solid #40577c;background:#1e2b47;border-radius:11px;overflow:hidden;display:flex;flex-direction:column}.arena-ability-card.auto-active{border-color:#80d8e9;background:#213b4f;box-shadow:inset 0 0 0 1px #4b9da644}.arena-ability-card .arena-ability{flex:1;width:100%;border:0;border-radius:0;background:transparent}.arena-ability-card .arena-ability.ready:hover{background:#33466f}.ability-auto{font:700 11px Rajdhani, sans-serif;letter-spacing:1px;color:#b3bfd8;background:#1a263e;border:0;border-top:1px solid #344868;padding:7px 5px;cursor:pointer}.ability-auto.active{color:#a7f5e6;background:#275161;border-color:#65c5d3}.ability-auto:disabled{opacity:.54;cursor:not-allowed}.ability-auto:not(:disabled):hover{filter:brightness(1.18)}.overload-controls{flex:1;min-width:0;display:flex;gap:6px}.bottom-actions .overload-controls #burst-btn{flex:1;min-width:0}.overload-controls .ability-auto{border:1px solid #3c5374;border-radius:8px;min-width:110px}.overload-controls .ability-auto.active{border-color:#65c5d3}@media(max-width:650px){.arena-ability-card .arena-ability{padding:8px 4px}.ability-auto{font-size:9px}.overload-controls{flex-wrap:wrap}.overload-controls .ability-auto{min-width:90px}}

/* v1.6.4: focused dialogs, readable artifact selection and themed skill hints */
.game-overlay.dialog-mode{display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(4,7,18,.70);backdrop-filter:blur(7px)}
.game-overlay.dialog-mode .overlay-body{width:min(100%,540px);max-width:540px;min-height:0;padding:0;margin:auto;background:none;border:0;border-radius:0;box-shadow:none}
.game-overlay.dialog-mode .ascend-confirm{max-width:none;margin:0;padding:34px 28px;box-shadow:0 16px 70px #0009,0 0 54px #8b65e035}
.reset-danger{background:linear-gradient(110deg,#ad526b,#85405f)!important;border:1px solid #db879c!important}
.artifact-summary{margin:16px 0}.artifact-item{padding:14px!important;gap:12px}.artifact-item .facet-info p{margin:5px 0;color:#b9c9e7}.artifact-item.facet-locked{opacity:.68}.artifact-item.facet-active{border:1px solid #8de8ed;background:linear-gradient(105deg,#24465d,#1a2a43);box-shadow:inset 4px 0 0 #8de8ed}.artifact-item .facet-title{gap:9px}.artifact-item .facet-equip{min-width:94px}
.arena-ability-card button[data-tooltip],#overload-auto[data-tooltip]{position:relative}
.ability-tooltip{position:fixed;z-index:2500;max-width:290px;pointer-events:none;border:1px solid #8e7acc;border-radius:10px;background:linear-gradient(125deg,#30294c,#19243b);box-shadow:0 12px 35px #0009;color:#e7dfff;padding:10px 13px;font-size:12px;line-height:1.5;opacity:0;transition:opacity .1s}
.ability-tooltip.visible{opacity:1}
@media(max-width:600px){.game-overlay.dialog-mode .ascend-confirm{padding:22px 16px}.artifact-item{gap:8px}.artifact-item .facet-equip{min-width:74px}}
