/* Cluster Master idle clicker. All rules scoped under .cluster-master. */
/* Pixel fonts OFL, vendored at /fonts/pixel/*.woff2 — no Google CDN. */
@font-face{font-family:"Press Start 2P";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/pixel/press-start-2p.woff2") format("woff2");}
@font-face{font-family:"VT323";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/pixel/vt323.woff2") format("woff2");}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/pixel/pixelify-sans.woff2") format("woff2");}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/fonts/pixel/pixelify-sans.woff2") format("woff2");}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:600;font-display:swap;src:url("/fonts/pixel/pixelify-sans.woff2") format("woff2");}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/pixel/pixelify-sans.woff2") format("woff2");}
 
 







 
.cluster-master{
  --bg:#0a0e16; --panel:#131a28; --panel2:#1a2335; --line:#2b3a57; --edge:#04060a;
  --text:#eaf3d6; --muted:#8e9db6; --lime:#add015; --lime2:#d9f05c; --limedk:#5f7606;
  --red:#ff5a4f; --amber:#ffb636; --cyan:#4fd8ff; --violet:#c58bff; --pink:#ff7ab6;
  --f-pixel:"Press Start 2P","Courier New",monospace;
  --f-num:"VT323","Courier New",monospace;
  --f-ui:"Pixelify Sans","Trebuchet MS",system-ui,sans-serif;
  color-scheme:dark;
}
.cluster-master [hidden]{display:none!important}
.cluster-master,.cluster-master{height:100%}
.cluster-master{background:var(--bg);color:var(--text);font-family:var(--f-ui);font-size:16px;overflow:auto;user-select:none;-webkit-user-select:none;
  background-image:radial-gradient(rgba(173,208,21,.06) 1px,transparent 1px);background-size:6px 6px}
.cluster-master .app{box-sizing:border-box;height:100%;display:flex;flex-direction:column;gap:12px;
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:14px}
.cluster-master .px{box-shadow:0 0 0 3px var(--edge),inset 0 0 0 3px var(--line);background:var(--panel)}
.cluster-master .pix{image-rendering:pixelated;image-rendering:crisp-edges}

 
.cluster-master .top{display:flex;align-items:stretch;gap:14px;flex-wrap:wrap}
.cluster-master .brand{display:flex;align-items:center;gap:12px}
.cluster-master .brand img{width:44px;height:auto}
.cluster-master .brand h1{margin:0;font-family:var(--f-pixel);font-weight:400;font-size:17px;line-height:1.35;color:var(--lime);
  text-shadow:3px 3px 0 var(--limedk),5px 5px 0 var(--edge)}
.cluster-master .brand h1 span{color:var(--text);text-shadow:3px 3px 0 #2b3a57,5px 5px 0 var(--edge)}
.cluster-master .spacer{flex:1}
.cluster-master .stat{display:flex;flex-direction:column;justify-content:center;gap:5px;padding:8px 14px;min-width:0}
.cluster-master .stat small{font-family:var(--f-pixel);font-size:8px;color:var(--muted);letter-spacing:.08em}
.cluster-master .stat b{font-family:var(--f-num);font-size:26px;line-height:1;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.cluster-master .stat.coin b{color:var(--lime2)}
.cluster-master .stat.kh b{color:var(--cyan)}
.cluster-master .toggles{display:flex;gap:10px;align-items:center}

.cluster-master button{font-family:var(--f-pixel);font-size:10px;line-height:1.4;cursor:pointer;color:var(--edge);background:var(--lime);border:0;padding:11px 14px;
  box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 var(--limedk),inset 3px 3px 0 var(--lime2),0 5px 0 3px var(--edge);margin-bottom:5px;transition:transform .05s}
.cluster-master button:hover:not(:disabled){filter:brightness(1.08)}
.cluster-master button:active:not(:disabled){transform:translateY(3px);box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 var(--limedk),inset 3px 3px 0 var(--lime2),0 2px 0 3px var(--edge)}
.cluster-master button:focus-visible{outline:3px dashed var(--cyan);outline-offset:5px}
.cluster-master button:disabled{cursor:not-allowed;filter:grayscale(.8) brightness(.6)}
.cluster-master button.mini{font-size:8px;padding:9px 10px;background:var(--panel2);color:var(--text);
  box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 #2b3a57,0 5px 0 3px var(--edge)}
.cluster-master button.mini.off{color:var(--muted);text-decoration:line-through}

/* Hauptbereich */
.cluster-master .main{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);gap:18px}
.cluster-master .stage{display:flex;flex-direction:column;gap:12px;min-height:0;min-width:0}
.cluster-master .cwrap{position:relative;flex:none;display:flex;align-items:center;justify-content:center;background:#060910;overflow:hidden}
.cluster-master .board{position:relative;flex:1;min-height:0;overflow:auto;padding:12px 14px;display:flex;flex-direction:column;gap:12px}
.cluster-master .cluster-master .kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cluster-master .kpi{background:var(--panel2);padding:9px 10px;box-shadow:0 0 0 2px var(--edge);min-width:0}
.cluster-master .kpi small{display:block;font-family:var(--f-pixel);font-size:7px;color:var(--muted);margin-bottom:6px;letter-spacing:.06em}
.cluster-master .kpi b{font-family:var(--f-num);font-weight:400;font-size:19px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.cluster-master .incs{display:flex;flex-direction:column;gap:8px}
.cluster-master .inc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;font-size:16px}
.cluster-master .inc i{width:18px;height:18px;display:grid;place-items:center;font-style:normal;font-family:var(--f-pixel);font-size:8px;color:var(--edge);background:var(--c);box-shadow:0 0 0 2px var(--edge)}
.cluster-master .inc span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cluster-master .inc em{font-style:normal;color:var(--muted)}
.cluster-master .inc.esc em{color:var(--red)}
.cluster-master .inc button{font-size:7px;padding:7px 8px;margin-bottom:3px}
.cluster-master .allgood{color:var(--muted);font-size:16px}
.cluster-master #cwrap::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:repeating-linear-gradient(to bottom,rgba(0,0,0,.10) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 62%,rgba(0,0,0,.42))}
.cluster-master .buffs,.cluster-master .toasts,.cluster-master .hint,.cluster-master .cluster-master .halls{z-index:2}
.cluster-master .cluster-master .halls{position:absolute;left:10px;bottom:10px;display:flex;gap:6px;flex-wrap:wrap;max-width:calc(100% - 200px)}
.cluster-master .hallbtn{position:relative;margin:0;padding:6px 9px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-family:var(--f-ui);font-size:14px;font-weight:600;line-height:1;
  background:rgba(10,14,22,.9);color:var(--text);box-shadow:0 0 0 2px var(--edge),inset 0 -3px 0 var(--hc),inset 0 0 0 1px #2b3a57}
.cluster-master .hallbtn .hr{font-family:var(--f-num);font-size:16px;color:var(--muted);font-weight:400}
.cluster-master .hallbtn.on{background:var(--hc);color:var(--edge);box-shadow:0 0 0 2px var(--edge),inset -2px -2px 0 rgba(0,0,0,.3),inset 2px 2px 0 rgba(255,255,255,.35)}
.cluster-master .hallbtn.on .hr{color:var(--edge)}
.cluster-master .hallbtn i{position:absolute;top:-8px;right:-6px;font-style:normal;font-family:var(--f-num);font-size:15px;line-height:1;background:var(--amber);color:var(--edge);padding:2px 5px;box-shadow:0 0 0 2px var(--edge)}
.cluster-master .hallbtn.esc i{background:var(--red);color:#fff;animation:blink .6s steps(2) infinite}
.cluster-master #scene{display:block;image-rendering:pixelated;image-rendering:crisp-edges;cursor:pointer;touch-action:manipulation}
.cluster-master .ticker{display:flex;align-items:center;gap:12px;padding:10px 14px;min-height:22px;font-size:17px;overflow:hidden}
.cluster-master .ticker .tlabel{font-family:var(--f-pixel);font-size:8px;background:var(--red);color:#fff;padding:5px 6px;flex:none;animation:blink 1.2s steps(2) infinite}
.cluster-master #ticker{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
@keyframes blink{50%{opacity:.45}}
.cluster-master .buffs{position:absolute;right:10px;bottom:10px;align-items:flex-end;display:flex;flex-direction:column;gap:6px;pointer-events:none}
.cluster-master .buff{font-family:var(--f-num);font-size:18px;background:var(--edge);color:var(--lime2);padding:6px 8px;border:2px solid var(--lime)}
.cluster-master .buff.click{color:var(--cyan);border-color:var(--cyan)}
.cluster-master .toasts{position:absolute;left:10px;top:10px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;pointer-events:none;max-width:40%}
.cluster-master .toast{font-size:14px;line-height:1.25;background:rgba(19,26,40,.94);padding:6px 10px;box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px var(--line);border-left:6px solid var(--lime);animation:tin .25s steps(3)}
.cluster-master .toast.bad{border-left-color:var(--red)} .cluster-master .toast.ach{border-left-color:var(--amber)} .cluster-master .toast.info{border-left-color:var(--cyan)}
.cluster-master .toast b{font-family:var(--f-pixel);font-size:8px;font-weight:400;display:block;margin-bottom:3px;color:var(--lime2)}
.cluster-master .toast.bad b{color:var(--red)} .cluster-master .toast.ach b{color:var(--amber)} .cluster-master .toast.info b{color:var(--cyan)}
@keyframes tin{from{transform:translateX(30px);opacity:0}}
.cluster-master .hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);font-family:var(--f-pixel);font-size:9px;line-height:1.6;text-align:center;
  background:var(--edge);color:var(--lime2);padding:8px 12px;border:2px solid var(--lime);pointer-events:none;animation:bob 1s steps(2) infinite;max-width:86%}
@keyframes bob{50%{transform:translate(-50%,-3px)}}

/* Seitenpanel */
.side{display:flex;flex-direction:column;min-height:0;min-width:0}
.cluster-master .tabs{display:flex;gap:4px;padding:10px 10px 0;flex-wrap:wrap}
.cluster-master .tabs button{flex:1;font-size:8px;padding:10px 6px;background:var(--panel2);color:var(--muted);margin-bottom:0;position:relative;
  box-shadow:0 0 0 3px var(--edge),inset -2px -2px 0 #0d1320,inset 2px 2px 0 #2b3a57}
.cluster-master .tabs button[aria-selected="true"]{background:var(--lime);color:var(--edge);box-shadow:0 0 0 3px var(--edge),inset -2px -2px 0 var(--limedk),inset 2px 2px 0 var(--lime2)}
.cluster-master .tabs .badge{position:absolute;top:-8px;right:-4px;background:var(--red);color:#fff;font-size:8px;padding:3px 4px;box-shadow:0 0 0 2px var(--edge)}
.cluster-master .tabbody{flex:1;min-height:0;overflow-y:auto;padding:16px 14px 16px;scrollbar-color:var(--line) transparent}
.cluster-master .sect-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.cluster-master .sect-h h2{margin:0;font-family:var(--f-pixel);font-weight:400;font-size:10px;color:var(--muted);letter-spacing:.06em;flex:1;min-width:120px}
.cluster-master .seg{display:flex;gap:6px}
.cluster-master .seg button{font-size:8px;padding:7px 8px;background:var(--panel2);color:var(--muted);margin-bottom:3px;
  box-shadow:0 0 0 2px var(--edge),inset -2px -2px 0 #0d1320,inset 2px 2px 0 #2b3a57}
.cluster-master .seg button.on{background:var(--cyan);color:var(--edge);box-shadow:0 0 0 2px var(--edge),inset -2px -2px 0 #1f8fb3,inset 2px 2px 0 #b8f0ff}
.cluster-master .auto{display:flex;align-items:center;gap:8px;font-size:15px;color:var(--muted);margin:-4px 0 12px}
.cluster-master .auto input{accent-color:var(--lime);width:18px;height:18px}

.cluster-master .list{display:flex;flex-direction:column;gap:12px}
.cluster-master .gen{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;width:100%;padding:10px 12px;margin:0;
  background:var(--panel2);color:var(--text);font-family:var(--f-ui);font-size:16px;
  box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 #2b3a57}
.cluster-master .gen:active:not(:disabled){box-shadow:0 0 0 3px var(--edge),inset 3px 3px 0 #0d1320}
.cluster-master .gen.cant{cursor:default;filter:none}
.cluster-master .gen.cant .gcost{color:var(--red)}
.cluster-master .gen.cant .chip{filter:grayscale(.6) brightness(.7)}
.cluster-master .chip{font-family:var(--f-pixel);font-size:8px;width:48px;height:48px;display:grid;place-items:center;background:#0c111c;color:var(--muted);
  box-shadow:inset 0 -3px 0 var(--c),inset 0 0 0 2px #1f2a40,0 0 0 2px var(--edge)}
.cluster-master .chip img{width:32px;height:32px}
.cluster-master .gname{display:flex;flex-direction:column;gap:3px;min-width:0}
.cluster-master .gname b{font-weight:600;font-size:18px}
.cluster-master .gname small{color:var(--muted);font-size:14px;line-height:1.25}
.cluster-master .gname .gstat{color:var(--lime2)}
.cluster-master .gright{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.cluster-master .gown{font-family:var(--f-num);font-size:28px;line-height:1;font-weight:400}
.cluster-master .gcost{font-family:var(--f-num);font-size:19px;line-height:1;color:var(--lime2);white-space:nowrap}
.cluster-master .gen.mystery{opacity:.55;cursor:default}
.cluster-master .caps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}
.cluster-master .cap{background:var(--panel2);padding:8px 9px 10px;box-shadow:0 0 0 2px var(--edge);position:relative;min-width:0}
.cluster-master .cap small{display:block;font-family:var(--f-pixel);font-size:7px;color:var(--muted);margin-bottom:5px}
.cluster-master .cap b{font-family:var(--f-num);font-weight:400;font-size:18px;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.cluster-master .cap i{position:absolute;left:0;bottom:0;height:3px;width:var(--p);background:var(--lime)}
.cluster-master .cap.full b{color:var(--red)} .cluster-master .cap.full i{background:var(--red)}
.cluster-master .pods-h{margin-top:20px}
.cluster-master .gen.hw .chip{box-shadow:inset 0 -3px 0 var(--cyan),inset 0 0 0 2px #1f2a40,0 0 0 2px var(--edge)}
.cluster-master .gen.mystery .chip{background:#2b3a57;color:var(--muted)}

.cluster-master .upg{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;background:var(--panel2);
  box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px #22304a}
.cluster-master .upg b{font-weight:600;font-size:17px;display:block}
.cluster-master .upg small{color:var(--muted);font-size:14px;line-height:1.25;display:block;margin-top:2px}
.cluster-master .upg .ucost{font-family:var(--f-num);font-size:19px;color:var(--lime2);display:block;margin-top:6px}
.cluster-master .upg button{font-size:8px;padding:9px 10px}
.cluster-master .note{color:var(--muted);font-size:15px;line-height:1.35;margin-top:14px}
.cluster-master .empty{color:var(--muted);font-size:16px;line-height:1.4;padding:14px;background:var(--panel2);box-shadow:0 0 0 3px var(--edge)}

/* Skillbaum */
.cluster-master .mig{padding:14px;background:var(--panel2);box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px #22304a;display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.cluster-master .mig .row{display:flex;gap:16px;flex-wrap:wrap}
.cluster-master .mig .kv small{font-family:var(--f-pixel);font-size:7px;color:var(--muted);display:block;margin-bottom:5px}
.cluster-master .mig .kv b{font-family:var(--f-num);font-weight:400;font-size:24px;line-height:1;color:var(--cyan)}
.cluster-master .mig p{margin:0;font-size:15px;color:var(--muted);line-height:1.35}
.cluster-master .cluster-master .tree{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px 8px}
.cluster-master .bhead{font-family:var(--f-pixel);font-size:7px;text-align:center;color:var(--bc);padding-bottom:4px;line-height:1.4;min-height:20px}
.cluster-master .col{display:flex;flex-direction:column;align-items:center;gap:14px;position:relative}
.cluster-master .col::before{content:"";position:absolute;top:30px;bottom:30px;left:50%;width:4px;margin-left:-2px;background:#22304a}
.cluster-master .col .fill{position:absolute;top:30px;left:50%;width:4px;margin-left:-2px;background:var(--bc)}
.cluster-master .sk{position:relative;z-index:1;width:100%;max-width:84px;aspect-ratio:1;padding:4px;margin:0;font-family:var(--f-ui);font-size:12px;line-height:1.1;font-weight:600;
  background:#1d2638;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;
  box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 #2b3a57;overflow:hidden;overflow-wrap:break-word;hyphens:auto}
.cluster-master .sk .sc{font-family:var(--f-num);font-size:15px;color:var(--cyan);font-weight:400}
.cluster-master .sk.avail{color:var(--text);box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 var(--bc)}
.cluster-master .sk.owned{background:var(--bc);color:var(--edge);box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 rgba(0,0,0,.3),inset 3px 3px 0 rgba(255,255,255,.4)}
.cluster-master .sk.owned .sc{color:var(--edge)}
.cluster-master .sk.sel{outline:3px dashed var(--text);outline-offset:3px}
.cluster-master .sk.locked{opacity:.5}
.cluster-master .masterrow{grid-column:1/-1;display:flex;justify-content:center;margin-top:10px}
.cluster-master .masterrow .sk{max-width:none;width:auto;aspect-ratio:auto;padding:12px 22px;--bc:var(--amber);font-size:14px}
.cluster-master .skinfo{margin-top:20px;padding:14px;background:var(--panel2);box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px #22304a;display:flex;flex-direction:column;gap:8px}
.cluster-master .skinfo h3{margin:0;font-family:var(--f-pixel);font-weight:400;font-size:11px;color:var(--lime2);line-height:1.4}
.cluster-master .skinfo p{margin:0;font-size:16px;line-height:1.35}
.cluster-master .skinfo small{color:var(--muted);font-size:14px}

/* Erfolge */
.cluster-master .achs{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.cluster-master .ach{padding:10px;background:var(--panel2);box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px #22304a;display:flex;gap:10px;align-items:flex-start}
.cluster-master .ach i{flex:none;width:22px;height:22px;background:#2b3a57;box-shadow:0 0 0 2px var(--edge);display:grid;place-items:center;font-style:normal;font-family:var(--f-pixel);font-size:9px;color:var(--muted)}
.cluster-master .ach.got i{background:var(--amber);color:var(--edge)}
.cluster-master .ach b{display:block;font-size:15px;font-weight:600}
.cluster-master .ach small{display:block;color:var(--muted);font-size:13px;line-height:1.25;margin-top:2px}
.cluster-master .ach:not(.got) b{color:var(--muted)}
.cluster-master .stats{display:grid;grid-template-columns:1fr auto;gap:8px 16px;margin:20px 0;font-size:16px}
.cluster-master .stats span{color:var(--muted)}
.cluster-master .stats b{font-family:var(--f-num);font-weight:400;font-size:20px;text-align:right;align-self:center;font-variant-numeric:tabular-nums}
.cluster-master button.danger{background:var(--red);color:#fff;box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #a3271f,inset 3px 3px 0 #ffb0aa,0 5px 0 3px var(--edge)}

/* Intro und Tutorial */
.cluster-master .overlay.intro{background:#020308;z-index:60}
.cluster-master .introbox{width:min(980px,100%);display:flex;flex-direction:column;gap:16px}
.cluster-master #introCv{display:block;width:100%;height:auto;aspect-ratio:16/9;image-rendering:pixelated;image-rendering:crisp-edges;background:#000;cursor:pointer;
  box-shadow:0 0 0 3px var(--edge),0 0 0 6px var(--line)}
.cluster-master .dlg{padding:16px 18px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start}
.cluster-master .dlg .por{width:72px;height:68px;object-fit:contain;background:#0c111c;padding:4px;box-shadow:0 0 0 2px var(--edge),inset 0 0 0 2px #1f2a40}
.cluster-master .dlg .who{font-family:var(--f-pixel);font-size:9px;color:var(--lime);margin-bottom:10px;display:flex;justify-content:space-between;gap:10px}
.cluster-master .dlg .who span+span{color:var(--muted)}
.cluster-master .dlg p{margin:0;font-size:21px;line-height:1.4;min-height:4.2em}
.cluster-master .ibtns{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.cluster-master .tut{background:var(--panel2);box-shadow:0 0 0 3px var(--edge),inset 0 0 0 2px var(--lime);padding:12px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start}
.cluster-master .tut img{width:56px;height:auto}
.cluster-master .tuthead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px}
.cluster-master .tuthead b{font-family:var(--f-pixel);font-size:8px;color:var(--lime2);font-weight:400}
.cluster-master .tuthead button{font-size:7px;padding:6px 8px;margin-bottom:3px}
.cluster-master .tut p{margin:0;font-size:17px;line-height:1.35}
.cluster-master .tutprog{font-family:var(--f-num);font-size:19px;color:var(--cyan);margin-top:8px}
.cluster-master .tut #tutDone{margin-top:10px;font-size:9px}
.cluster-master .tut-hl{outline:3px dashed var(--lime2)!important;outline-offset:4px;animation:hl 1s steps(2) infinite}
@keyframes hl{50%{outline-color:transparent}}
.cluster-master .extra-btns{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.cluster-master .title .btns button.sec{background:var(--panel2);color:var(--text);box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 #2b3a57,0 5px 0 3px var(--edge)}
@media (max-width:640px){.cluster-master .dlg{padding:12px;gap:10px}.cluster-master .dlg .por{width:48px;height:46px}.cluster-master .dlg p{font-size:17px}}

/* Overlays */
.cluster-master .overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:rgba(4,6,10,.82);
  padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));padding-block:20px;overflow:auto}
.cluster-master .title{display:flex;gap:28px;align-items:center;flex-wrap:wrap;justify-content:center;max-width:920px}
.cluster-master .title .alien{width:min(220px,48vw);height:auto;animation:hover 2s steps(4) infinite}
@keyframes hover{50%{transform:translateY(-8px)}}
.cluster-master .title .tx{display:flex;flex-direction:column;gap:18px;align-items:flex-start;max-width:520px}
.cluster-master .title .logo{width:72px;height:auto}
.cluster-master .title h2{margin:0;font-family:var(--f-pixel);font-weight:400;font-size:clamp(20px,4vw,34px);line-height:1.3;color:var(--lime);
  text-shadow:4px 4px 0 var(--limedk),8px 8px 0 var(--edge)}
.cluster-master .title h2 span{display:block;color:var(--text);text-shadow:4px 4px 0 #2b3a57,8px 8px 0 var(--edge)}
.cluster-master .title p{margin:0;font-size:19px;line-height:1.4;color:var(--muted)}
.cluster-master .title .btns{display:flex;gap:14px;flex-wrap:wrap}
.cluster-master .title .btns button{font-size:12px;padding:14px 18px}
.cluster-master .title .credit{font-family:var(--f-pixel);font-size:8px;color:#56657f;line-height:1.6}
.cluster-master .modal{max-width:460px;width:100%;padding:22px;display:flex;flex-direction:column;gap:14px}
.cluster-master .modal h3{margin:0;font-family:var(--f-pixel);font-weight:400;font-size:13px;color:var(--lime2);line-height:1.5}
.cluster-master .modal p{margin:0;font-size:18px;line-height:1.4}
.cluster-master .modal .btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;margin-top:6px}
.cluster-master .modal .btns button.sec{background:var(--panel2);color:var(--text);box-shadow:0 0 0 3px var(--edge),inset -3px -3px 0 #0d1320,inset 3px 3px 0 #2b3a57,0 5px 0 3px var(--edge)}

@media (max-width:920px){
  .cluster-master .stat b{font-size:20px!important}
  .cluster-master{overflow:auto}
  .cluster-master .app{height:auto;min-height:100%}
  .cluster-master .main{grid-template-columns:1fr}
  .cluster-master .cwrap{flex:none}
  .cluster-master .tabbody{overflow:visible}
  .cluster-master .brand h1{font-size:13px}
  .cluster-master .stat{padding:7px 10px}
  .cluster-master .stat b{font-size:11px}
}
@media (max-width:640px){.cluster-master .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .cluster-master .halls{max-width:calc(100% - 20px);bottom:6px;left:6px}
  .cluster-master .cap b{font-size:15px}.cluster-master .kpi b{font-size:17px}.cluster-master .gown{font-size:22px}.cluster-master .gcost{font-size:16px}
  .cluster-master .hallbtn{font-size:11px;padding:4px 6px}.cluster-master .hallbtn .hr{font-size:13px}
  .cluster-master .spacer{display:none}
  .cluster-master .brand{flex:1 1 45%}
  .cluster-master .toggles{order:2}
  .cluster-master .top .stat{order:3;flex:1 1 28%;padding:7px 8px}
  .cluster-master .stat small{font-size:6px}
  .cluster-master .stat b{font-size:18px!important}
  .cluster-master .toasts{max-width:78%;right:6px;top:6px}
  .cluster-master .toast{font-size:13px;padding:6px 8px}
  .cluster-master .toast b{font-size:7px}
  .cluster-master .toast:nth-child(n+2){display:none}
  .cluster-master .hint{font-size:7px;bottom:6px}
}
@media (max-width:480px){
  .cluster-master .tree{gap:6px}
  .cluster-master .sk{font-size:10px}
}
@media (prefers-reduced-motion:reduce){
  .cluster-master, .cluster-master *{animation:none!important;transition:none!important}
}

.cluster-master{min-height:calc(100dvh - var(--ayedo-header,4rem) - 3rem);height:auto;overflow:auto;color-scheme:dark;}
.section.is-cluster-master{padding:0;}
.section.is-cluster-master .wrap{max-width:none;width:100%;padding:0;}
