/* Clodex surfaces and individual generated pictograms, with live skill states. */
body[data-screen=lobby] #native-stage #tab-skills{background:#131b1dde;border-color:#b9c8bf33;border-radius:5px;box-shadow:0 8px 28px #0002;font-family:RobotoCondensed,sans-serif}
body[data-screen=lobby] #native-stage .skill-tree-heading{height:72px;padding:0 22px;background:linear-gradient(100deg,#242e2e80,#151e2180);border-color:#c0cec52b}
body[data-screen=lobby] #native-stage .skill-tree-heading>div>small{font:8px/10px RobotoCondensed,sans-serif;letter-spacing:1.2px;text-transform:uppercase;color:#8a9d92}
body[data-screen=lobby] #native-stage .skill-tree-heading h3{font:500 24px/29px RobotoCondensed,sans-serif;letter-spacing:.5px;margin:4px 0 0;color:#e6eee8;text-transform:uppercase}
body[data-screen=lobby] #native-stage .skill-summary{display:flex;gap:29px;align-items:center}
body[data-screen=lobby] #native-stage .skill-summary>div{text-align:right}
body[data-screen=lobby] #native-stage .skill-summary b{font:500 22px/25px RobotoCondensed,sans-serif;color:#cee5d5}
body[data-screen=lobby] #native-stage .skill-summary b small{font:11px RobotoCondensed,sans-serif;color:#83998b;letter-spacing:0}
body[data-screen=lobby] #native-stage .skill-summary span{display:block;margin-top:3px;font:9px RobotoCondensed,sans-serif;color:#8fa296}
body[data-screen=lobby] #native-stage .skill-tree-body{height:474px;grid-template-columns:624px minmax(0,1fr);gap:0}
body[data-screen=lobby] #native-stage .skill-tree-canvas{display:flex;flex-direction:column;min-height:0;min-width:0;background:#121b1b66}
body[data-screen=lobby] #native-stage .skill-phase-tabs{display:flex;flex:none;gap:5px;height:42px;padding:9px 15px 5px;border-bottom:1px solid #a6beac16}
body[data-screen=lobby] #native-stage .skill-phase-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;padding:0 8px;min-height:0;border:0;border-radius:2px;background-image:var(--ui-atlas);background-size:400% 400%;background-position:0 0;color:#9fafa5;font:10px RobotoCondensed,sans-serif}
body[data-screen=lobby] #native-stage .skill-phase-tabs button:hover{background-position:33.333333% 0;color:#e0eee3}
body[data-screen=lobby] #native-stage .skill-phase-tabs button.selected{background-position:66.666667% 0;color:#dceee0}
body[data-screen=lobby] #native-stage .skill-phase-tabs small{font:8px RobotoCondensed,sans-serif;opacity:.6}
body[data-screen=lobby] #native-stage .skill-tree-scroll{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#7d9885 #111a1b;background:url('/assets/Images/Menu/Skills/map.webp?v=clodex-2') center top/420px 420px repeat}
body[data-screen=lobby] #native-stage .skill-tree-links path{stroke:#899f9047;stroke-width:1.4;stroke-dasharray:none}
body[data-screen=lobby] #native-stage .skill-tree-links path.learned{stroke:#acdabb;stroke-width:2}
body[data-screen=lobby] #native-stage .skill-node{box-sizing:border-box;width:114px;height:90px;padding:6px 8px 11px;gap:3px;background:url('/assets/Images/Menu/Skills/node-normal.webp?v=clodex-2') center/100% 100% no-repeat;border:1px solid #8fa79a40;border-radius:4px;clip-path:none;box-shadow:none;color:#9cad9f;transition:filter .15s,border-color .15s;overflow:hidden}
body[data-screen=lobby] #native-stage .skill-node.locked{background-image:url('/assets/Images/Menu/Skills/node-locked.webp?v=clodex-2')}
body[data-screen=lobby] #native-stage .skill-node.available{background-image:url('/assets/Images/Menu/Skills/node-available.webp?v=clodex-2');border-color:#b1d1ba70;color:#d0dfd4}
body[data-screen=lobby] #native-stage .skill-node:hover{background-image:url('/assets/Images/Menu/Skills/node-available.webp?v=clodex-2');border-color:#b6d4bf;color:#e6f0e8;filter:brightness(1.08)}
body[data-screen=lobby] #native-stage .skill-node.mastered,body[data-screen=lobby] #native-stage .skill-node.selected{background-image:url('/assets/Images/Menu/Skills/node-selected.webp?v=clodex-2');background-color:transparent;border-color:#a8d6b6;box-shadow:inset 2px 0 0 #b5ebc5,inset 7px 0 13px -9px #c4ffd1;color:#ddefe1}
body[data-screen=lobby] #native-stage .skill-node:focus-visible{outline:1px solid #bddfc5;outline-offset:2px}
body[data-screen=lobby] #native-stage .skill-node img{width:32px;height:32px;object-fit:contain;filter:grayscale(1);opacity:.38}
body[data-screen=lobby] #native-stage .skill-node.available img,body[data-screen=lobby] #native-stage .skill-node.mastered img,body[data-screen=lobby] #native-stage .skill-node.selected img,body[data-screen=lobby] #native-stage .skill-node:hover img{filter:none;opacity:1}
body[data-screen=lobby] #native-stage .skill-node-name{font:400 10px/12px RobotoCondensed,sans-serif;min-height:24px}
body[data-screen=lobby] #native-stage .skill-node-number,body[data-screen=lobby] #native-stage .skill-node-state{font:7px/9px RobotoCondensed,sans-serif;color:#83998b;top:6px}
body[data-screen=lobby] #native-stage .skill-node-number{left:8px}
body[data-screen=lobby] #native-stage .skill-node-state{right:8px}
body[data-screen=lobby] #native-stage .skill-node.mastered .skill-node-state{color:#bee8c9}
body[data-screen=lobby] #native-stage .skill-node-ranks{position:absolute;left:12px;right:12px;bottom:6px;gap:2px;height:2px;margin:0}
body[data-screen=lobby] #native-stage .skill-node-ranks i{flex:1;width:auto;height:2px;background:#73877a54}
body[data-screen=lobby] #native-stage .skill-node-ranks i.filled{background:#b2e2bf;box-shadow:none}
body[data-screen=lobby] #native-stage .skill-tree-detail{position:relative;padding:19px 20px 16px;gap:12px;border:0;border-left:1px solid #b3c6b72b;background:url('/assets/Images/Menu/Skills/detail.webp?v=clodex-2') center/100% 100% no-repeat;scrollbar-color:#7d9885 #111a1b}
body[data-screen=lobby] #native-stage .skill-detail-category{display:flex;justify-content:space-between;font:8px/10px RobotoCondensed,sans-serif;color:#90a99a;letter-spacing:1px}
body[data-screen=lobby] #native-stage .skill-detail-category span{color:#b4cbbb}
body[data-screen=lobby] #native-stage .skill-detail-title{gap:13px;min-height:59px}
body[data-screen=lobby] #native-stage .skill-detail-title img{width:53px;height:53px;object-fit:contain;flex:none}
body[data-screen=lobby] #native-stage .skill-detail-title h3{font:500 21px/24px RobotoCondensed,sans-serif;color:#e2ece5}
body[data-screen=lobby] #native-stage .skill-detail-title span{font:10px/14px RobotoCondensed,sans-serif;color:#a9cdb3;margin-top:5px}
body[data-screen=lobby] #native-stage .skill-tree-detail>p{font:12px/18px RobotoCondensed,sans-serif;color:#aabeb0;min-height:36px;margin:0}
body[data-screen=lobby] #native-stage .skill-detail-requirements{font:10px/14px RobotoCondensed,sans-serif;color:#8da696;padding-top:11px;border-color:#b8cbb52b;gap:5px}
body[data-screen=lobby] #native-stage .skill-rank-prices{padding:0;margin:0;list-style:none;font:9px/13px RobotoCondensed,sans-serif;color:#71897a}
body[data-screen=lobby] #native-stage .skill-rank-prices li{padding:4px 0;display:flex;justify-content:space-between;border-bottom:1px solid #a9c3b015;gap:7px}
body[data-screen=lobby] #native-stage .skill-rank-prices li.current{color:#c2d9c8}
body[data-screen=lobby] #native-stage .skill-rank-prices li.learned{color:#a7d8b5}
body[data-screen=lobby] #native-stage .skill-detail-price{gap:8px;margin-top:auto;padding-top:6px}
body[data-screen=lobby] #native-stage .skill-detail-price small{font:10px/13px RobotoCondensed,sans-serif;color:#93aa9b}
body[data-screen=lobby] #native-stage .skill-detail-price b{font:500 18px/21px RobotoCondensed,sans-serif;color:#d2e7d8}
body[data-screen=lobby] #native-stage .skill-detail-price b span{font:9px RobotoCondensed,sans-serif;color:#8ea795}
body[data-screen=lobby] #native-stage .skill-learn{flex:none;min-height:35px;clip-path:none;border:0;border-radius:3px;background-image:var(--ui-atlas);background-size:400% 400%;background-position:66.666667% 0;background-color:transparent;padding:0 13px;color:#e1efe5;font:12px RobotoCondensed,sans-serif;box-shadow:none}
body[data-screen=lobby] #native-stage .skill-learn:not(:disabled):hover{background-image:var(--ui-atlas);background-position:66.666667% 0;filter:brightness(1.12)}
body[data-screen=lobby] #native-stage .skill-learn:disabled{background-position:100% 0;color:#83958a;opacity:.6}
body[data-screen=lobby] #native-stage .skill-learn b{color:inherit;font-size:16px}
body[data-screen=lobby] #native-stage .skill-tree-hint{font:9px/13px RobotoCondensed,sans-serif;color:#8ca293}
@media(prefers-reduced-motion:reduce){body[data-screen=lobby] #native-stage .skill-node{transition:none}}

body[data-screen=lobby] #native-stage #tab-skills {
  inset: 92px 35px auto auto;
  width: 910px;
  height: 575px;
  background: none;
  border: 0;
  box-shadow: none;
  clip-path: none;
  border-radius: 2px;
}
body[data-screen=lobby] #native-stage .skill-tree-heading {
  height: 58px;
  background: linear-gradient(90deg,#111c24dd,transparent 78%);
  border: 0;
}
body[data-screen=lobby] #native-stage .skill-tree-heading h3 { margin: 0; font-weight: 700; }
body[data-screen=lobby] #native-stage .skill-summary :is(b,small,span){color: #b9cbd1;}
body[data-screen=lobby] #native-stage .skill-tree-body { height: calc(100% - 58px); grid-template-columns: minmax(0,1fr) 272px; }
body[data-screen=lobby] #native-stage .skill-tree-canvas { background: none; }
body[data-screen=lobby] #native-stage .skill-phase-tabs { height: 42px; padding: 8px 16px; gap: 6px; }
body[data-screen=lobby] #native-stage .skill-phase-tabs button { background: #192730; border: 1px solid #65838e44; color: #b1c3c9; font-size: 11px; }
body[data-screen=lobby] #native-stage .skill-phase-tabs button.selected { color: #f3dec1; background: #3c3428; border-color: #ba966788; }
body[data-screen=lobby] #native-stage .skill-phase-tabs button:hover { background: #2a3c46; color: #edf5f6; }
body[data-screen=lobby] #native-stage .skill-tree-scroll {
  display: grid;
  place-items: center;
  background: none;
  overflow: auto;
}
body[data-screen=lobby] #native-stage .skill-tree-map {
  width: min(100%,500px);
  margin: 0 auto;
  background: url('/assets/Images/Menu/Workspaces/skill-disc.webp') center/100% 100% no-repeat;
  mask-image: radial-gradient(circle,#000 64%,transparent 70%);
}
body[data-screen=lobby] #native-stage .skill-tree-links circle { fill: none; stroke: #8fabb33d; stroke-width: .8; stroke-dasharray: 2 6; }
body[data-screen=lobby] #native-stage .skill-tree-links path { stroke: #6a848c8c; stroke-width: 1.7; }
body[data-screen=lobby] #native-stage .skill-tree-links path.available { stroke: #edc391; stroke-width: 2.2; stroke-dasharray: 4 4; animation: skill-flow 1.1s linear infinite; }
body[data-screen=lobby] #native-stage .skill-tree-links path.learned { stroke: #9fd9e4; stroke-width: 2.5; filter: drop-shadow(0 0 4px #80d5eab0); }
@keyframes skill-flow { to { stroke-dashoffset: -8; } }
.skill-disc-center {
  position: absolute;
  inset: 41.3%;
  display: grid;
  place-items: center;
  border: 1px solid #9c998666;
  border-radius: 50%;
  background: radial-gradient(#455762,#1a2b35 75%);
  box-shadow: 0 0 0 6px #81939a1f, 0 0 24px #02050899;
  pointer-events: none;
}
.skill-disc-center img { width: 63%; height: 63%; object-fit: contain; }
body[data-screen=lobby] #native-stage .skill-node:is(.locked,.available,.mastered,.selected) {
  width: 8.3%;
  height: 8.3%;
  min-width: 0;
  min-height: 0;
  padding: 6px;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  border: 1px solid #78949f81;
  background: radial-gradient(circle at 38% 28%,#3a4b54,#141f27 78%);
  box-shadow: 0 2px 5px #060a0eae;
}
body[data-screen=lobby] #native-stage .skill-node img { width: 88%; height: 88%; }
body[data-screen=lobby] #native-stage .skill-node.locked:not(.selected) img { opacity: .58; }
body[data-screen=lobby] #native-stage .skill-node.available { border-color: #d0ab76; }
body[data-screen=lobby] #native-stage .skill-node.mastered { border-color: #83bac9; }
body[data-screen=lobby] #native-stage .skill-node:is(.selected,:hover,:focus-visible) { z-index: 2; border-color: #ffe3b0; box-shadow: 0 0 0 2px #d6ac74b5,0 0 13px #ffc98265; background: #3f4545; }
body[data-screen=lobby] #native-stage .skill-node-ranks { left: 23%; right: 23%; bottom: 14%; gap: 1px; }
body[data-screen=lobby] #native-stage .skill-node-ranks i.filled { background: #b3e5ef; }
body[data-screen=lobby] #native-stage .skill-tree-detail { background: linear-gradient(125deg,#263540d9,#121e27f7),url('/assets/Images/Menu/Workspaces/armory-metal.webp') center/480px auto; }
body[data-screen=lobby] #native-stage .skill-detail-category { color: #e5b878; }
body[data-screen=lobby] #native-stage .skill-detail-title span,
body[data-screen=lobby] #native-stage .skill-detail-requirements,
body[data-screen=lobby] #native-stage .skill-tree-detail>p,
body[data-screen=lobby] #native-stage .skill-tree-hint { color: #bacdd2; }
body[data-screen=lobby] #native-stage .skill-rank-prices { font-size: 11px; color: #a2bbc3; }
body[data-screen=lobby] #native-stage .skill-rank-prices li.current { color: #efcf9d; }
body[data-screen=lobby] #native-stage .skill-rank-prices li.learned { color: #afe1ed; }
body[data-screen=lobby] #native-stage .skill-learn { margin-top: auto; background: #345563; border: 1px solid #90c4da80; }
body[data-screen=lobby] #native-stage .skill-learn:not(:disabled):hover { background: #426c7b; }
body[data-screen=lobby] #native-stage .skill-learn:disabled { background: #27343c; color: #aec1c8; }
@media(prefers-reduced-motion:reduce) {
  body[data-screen=lobby] #native-stage .skill-tree-links path.available { animation: none; }
}
body[data-screen=lobby] #native-stage #tab-skills {
  left: auto;
  width: min(1208px,calc(100% - 72px));
  height: 592px;
}
body[data-screen=lobby] #native-stage .skill-tree-map { width: min(100%,527px); background: none; mask-image: none; }
body[data-screen=lobby] #native-stage .skill-tree-map::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('/assets/Images/Menu/Workspaces/skill-disc.webp') center/100% 100%;
  mask-image: radial-gradient(circle,#000 64%,transparent 70%);
}
body[data-screen=lobby] #native-stage .skill-disc-center { inset: 43%; }
body[data-screen=lobby] #native-stage .skill-tree-links path { opacity: .44; }
body[data-screen=lobby] #native-stage .skill-tree-links :is(path.highlighted,path.available) { opacity: 1; }
body[data-screen=lobby] #native-stage .skill-node:is(.locked,.available,.mastered,.selected) { width: 5.8%; height: 5.8%; padding: 3px; }
body[data-screen=lobby] #native-stage .skill-node .skill-node-mark {
  position: absolute; bottom: -1px; right: 0; min-width: 12px; font: 700 7px/10px RobotoCondensed,sans-serif;
  border-radius: 6px; color: #d9e9ec; background: #182a34; box-shadow: 0 0 0 1px #fff3;
}
body[data-screen=lobby] #native-stage .skill-tree-detail {
  align-self: center; min-height: 272px; border: 1px solid #8eabb348;
  background: linear-gradient(135deg,#2a3f49e6,#101b23e8); box-shadow: 0 8px 30px #02080e77;
}
.skill-node-cost { font: 600 14px RobotoCondensed,sans-serif; color: #cde4ed; }
@media (max-width: 760px) and (orientation: portrait) {
  body[data-screen=lobby] #native-stage #tab-skills { width: 100%; height: auto; }
  body[data-screen=lobby] #native-stage .skill-tree-body { height: auto; grid-template-columns: 1fr; }
  body[data-screen=lobby] #native-stage .skill-tree-detail { min-height: 225px; }
}
