
:root{
  --page:#05070a;
  --panel:#10171f;
  --panel2:#0a1016;
  --blue-hi:#8ea9c7;
  --blue-mid:#6c89aa;
  --blue-low:#314c6b;
  --text:#c6d2dd;
  --muted:#8498aa;
  --green:#87cf4d;
  --amber:#d39a55;
  --rust:#7a4b28;
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--page)}
body{
  color:var(--text);
  font-family:Tahoma,Verdana,Arial,sans-serif;
  background:
    radial-gradient(circle at 50% 10%,rgba(188,126,65,.10),transparent 36rem),
    #05070a;
}
body::before{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.10;
  background:repeating-linear-gradient(to bottom,rgba(255,255,255,.035) 0,rgba(255,255,255,.035) 1px,transparent 1px,transparent 3px);
}
button{font:inherit}

.app-shell{
  width:calc(100vw - 20px);
  max-width:2200px;
  min-height:calc(100vh - 20px);
  margin:10px auto;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  border:2px solid #33475d;
  outline:1px solid #05080b;
  background:#0b1016;
  box-shadow:0 22px 72px rgba(0,0,0,.60);
}

.ut-menubar{
  height:31px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:12px;
  padding:0 7px;
  color:#0d1c2e;
  background:linear-gradient(#91acc9,#718eae 48%,#587697 49%,#7c99b8);
  border-bottom:2px solid #15273a;
  box-shadow:inset 0 1px #e0e9f2,inset 0 -1px #354f6c;
  text-shadow:0 1px rgba(255,255,255,.35);
}
.top-nav{display:flex;height:100%}
.top-item{
  appearance:none;border:0;padding:0 10px;color:#102135;background:transparent;cursor:pointer;font-size:12px
}
.top-item:hover,.top-item.active{
  background:rgba(224,234,245,.36);
  box-shadow:inset 0 -2px #304c6b
}
.top-caption{justify-self:center;font-size:11px;font-weight:bold;letter-spacing:1px}
.win-buttons{justify-self:end;display:flex;gap:4px}
.win-buttons span{
  width:19px;height:18px;display:grid;place-items:center;background:#839fbd;
  border-top:2px solid #e1eaf3;border-left:2px solid #e1eaf3;
  border-right:2px solid #29435f;border-bottom:2px solid #29435f;
  font-size:11px;font-weight:bold
}

.desktop{
  min-height:0;
  padding:14px;
  display:grid;
  grid-template-columns:clamp(220px,14vw,270px) minmax(500px,1fr) clamp(330px,22vw,430px);
  grid-template-rows:minmax(590px,1fr) auto;
  gap:13px;
  background:
    linear-gradient(rgba(0,0,0,.10),rgba(0,0,0,.20)),
    url("assets/metal-field.webp");
  background-size:900px 900px;
}

.ut-window{
  min-width:0;
  background:linear-gradient(#111922,#0a1016);
  border-top:2px solid #6d87a4;border-left:2px solid #6d87a4;
  border-right:2px solid #101c2a;border-bottom:2px solid #101c2a;
  box-shadow:4px 5px 0 rgba(0,0,0,.28),inset 0 0 0 1px #26394f;
}
.window-title{
  height:27px;display:flex;align-items:center;justify-content:space-between;padding:0 5px 0 8px;
  color:#0a1a2c;background:linear-gradient(90deg,#426a98,#86a0bd);
  border-bottom:1px solid #1a344f;text-shadow:0 1px rgba(255,255,255,.35);
  font-size:12px;font-weight:bold
}
.tiny-controls{display:flex;gap:4px}
.tiny-controls i{
  font-style:normal;width:17px;height:17px;display:grid;place-items:center;background:#8ba5c0;
  border-top:2px solid #e0eaf3;border-left:2px solid #e0eaf3;
  border-right:2px solid #2a4663;border-bottom:2px solid #2a4663;font-size:10px
}
.window-body{padding:10px}

.launcher-window{grid-column:1;grid-row:1;display:grid;grid-template-rows:27px minmax(0,1fr)}
.launcher{display:flex;flex-direction:column;height:100%;min-height:0}
.launcher-button{
  appearance:none;width:100%;display:flex;align-items:center;gap:11px;padding:10px;margin:0 0 7px;
  color:#c0cbd5;background:linear-gradient(#1b2631,#101820);
  border-top:2px solid #3d536a;border-left:2px solid #3d536a;
  border-right:2px solid #030609;border-bottom:2px solid #030609;
  text-align:left;text-transform:uppercase;letter-spacing:.6px;cursor:pointer
}
.launcher-button:hover,.launcher-button.active{
  color:#e4a45d;border-top-color:#84603a;border-left-color:#84603a;background:linear-gradient(#29231d,#17130f)
}
.launcher-icon{
  width:25px;height:25px;display:grid;place-items:center;color:#9eb0c2;
  background:#0e151d;border:1px solid #3a526d;font-size:15px
}
.launcher-note{
  margin-top:auto;padding:10px;color:#8294a6;background:#080d12;border:1px solid #253a50;
  line-height:1.45;font-size:11px
}
.launcher-note strong{display:block;color:#aab9c8;letter-spacing:.7px}
.launcher-note p{margin:6px 0 0}
.note-kicker{font-size:10px;color:#65819d;margin-bottom:4px}

.brand-stage{
  grid-column:2;grid-row:1;position:relative;min-width:0;min-height:0;overflow:hidden;
  border:1px solid #3c454c;
  background:
    linear-gradient(rgba(0,0,0,.06),rgba(0,0,0,.12)),
    url("assets/metal-field.webp");
  background-size:auto,760px 760px;
  box-shadow:inset 0 0 26px rgba(0,0,0,.24);
}
.central-view{display:none;position:relative;width:100%;height:100%;min-height:0}
.central-view.active{display:grid;place-items:center}
.central-document.active{display:block}
#central-brand{overflow:hidden}
.brand-stage::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:none
}
.brand-art{
  position:relative;z-index:2;display:block;
  width:min(94%,1100px);max-height:calc(100% - 24px);object-fit:contain;
  filter:none;
  image-rendering:auto
}
.metal-rivet{
  position:absolute;z-index:3;width:16px;height:16px;border-radius:50%;
  background:radial-gradient(circle at 34% 28%,#c8b08e 0 7%,#564331 9% 32%,#201912 35% 65%,#090705 68%);
  box-shadow:0 2px 4px rgba(0,0,0,.7)
}
.r1{left:11px;top:11px}.r2{right:11px;top:11px}.r3{left:11px;bottom:11px}.r4{right:11px;bottom:11px}

.central-document{
  overflow:auto;padding:clamp(24px,4vw,58px);
  background:
    linear-gradient(135deg,rgba(8,14,20,.97),rgba(14,22,30,.94)),
    url("assets/metal-field.webp");
  background-size:auto,900px 900px
}
.central-document>*{width:min(100%,1050px);margin-left:auto;margin-right:auto}
.document-header{padding-bottom:18px;border-bottom:1px solid #2d4359}
.document-kicker{color:#d19a59;font:700 11px/1 "Courier New",monospace;letter-spacing:1.2px}
.document-header h1{margin:9px 0 8px;color:#d5e0ea;font:normal clamp(24px,3vw,38px)/1.1 Georgia,serif;letter-spacing:.5px}
.document-header .guide-intro{max-width:820px;margin:0}
.central-platforms{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}
.central-platforms .platform-card{padding:14px}
.central-platforms .platform-icon{width:38px;height:38px;font-size:18px}
.central-platforms .platform-head strong{font-size:14px}
.central-platforms .download-button{width:100%;margin-top:12px}
.central-steps{margin-top:18px;padding:14px}
.central-steps .steps{font-size:13px;line-height:1.7;margin:3px 0;padding-left:26px}
.central-document>.official-link{display:block;margin-top:14px;font-size:12px}
.about-main{margin-top:22px;padding:18px}
.about-copy{margin:0;font-size:14px;line-height:1.7}
.about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.about-grid article{padding:16px;background:#081018;border:1px solid #2d435b;min-height:120px}
.about-grid span,.about-grid strong,.about-grid small{display:block}
.about-grid span{color:#7890a6;font:700 10px/1 "Courier New",monospace;letter-spacing:.8px}
.about-grid strong{margin-top:12px;color:#d4dee7;font:normal 18px/1.2 Georgia,serif}
.about-grid small{margin-top:8px;color:#7e92a5;font-size:11px;line-height:1.45}
.central-tags{margin-top:18px}

.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}
.profile-card{
  position:relative;min-height:180px;padding:18px;background:linear-gradient(145deg,#0b141d,#071018);
  border:1px solid #2f475f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)
}
.profile-card.recommended{border-color:#765334;background:linear-gradient(145deg,#18140f,#0a1118)}
.profile-code{color:#748ba1;font:700 10px/1 "Courier New",monospace;letter-spacing:.9px}
.profile-card h2{margin:12px 0 9px;color:#d4dee8;font:normal 21px/1 Georgia,serif;letter-spacing:.5px}
.profile-card p{margin:0 0 36px;color:#899caf;font-size:13px;line-height:1.55}
.profile-card>span{
  position:absolute;left:18px;bottom:17px;padding:5px 7px;color:#d5a268;background:#1d140d;
  border:1px solid #5a3d25;font:700 10px/1 "Courier New",monospace;text-transform:uppercase
}
.profile-advice{margin-top:18px;padding:14px}
.profile-advice p{margin:0;color:#91a3b5;font-size:13px;line-height:1.6}
.profile-advice strong{color:#d7e0e8}

.troubleshooting{margin-top:18px;padding:8px 14px 12px}
.troubleshooting details{border-bottom:1px solid #213447}
.troubleshooting details:last-child{border-bottom:0}
.troubleshooting summary{padding:11px 2px;color:#becbd7;font-size:13px;cursor:pointer}
.troubleshooting summary:hover{color:#dfa35e}
.troubleshooting p{margin:0 0 12px;padding-left:18px;color:#8296aa;font-size:12px;line-height:1.55}

.info-window{grid-column:3;grid-row:1;display:grid;grid-template-rows:27px minmax(0,1fr)}
.info-body{height:100%;min-height:0;overflow:auto}
.view{display:none}.view.active{display:block}

.status-led-line{
  display:flex;align-items:center;gap:9px;padding:9px;margin-bottom:9px;color:#91d75a;background:#081008;
  border:1px solid #284225;font:700 12px/1 "Courier New",monospace
}
.status-led{width:9px;height:9px;border-radius:50%;background:#88d04c;box-shadow:0 0 9px rgba(135,208,76,.55)}
.status-led:not(.offline):not(.warning){animation:status-pulse 2.2s ease-in-out infinite}
.status-led.offline{background:#c45b49;box-shadow:0 0 9px rgba(196,91,73,.5)}
.status-led.warning{background:#d1a45f;box-shadow:0 0 9px rgba(209,164,95,.5)}
@keyframes status-pulse{
  0%,100%{box-shadow:0 0 5px rgba(135,208,76,.35)}
  50%{box-shadow:0 0 13px rgba(135,208,76,.85)}
}
.field-grid{
  display:grid;grid-template-columns:1fr auto;margin-bottom:10px;border:1px solid #273b50;background:#0a1016
}
.field-grid span,.field-grid b{padding:7px 8px;border-bottom:1px solid #1d2e40;font-size:12px}
.field-grid span{color:#8297aa}.field-grid b{color:#cbd7e2;font-weight:normal;text-align:right}
.field-grid span:nth-last-child(-n+2),.field-grid b:nth-last-child(-n+2){border-bottom:0}
.good{color:var(--green)!important}
.bad{color:#d76b57!important}
.warning{color:#d1a45f!important}

.ut-group{
  margin:10px 0 0;padding:9px;background:#0a1016;border:1px solid #2b4057;box-shadow:inset 1px 1px rgba(255,255,255,.025)
}
.ut-group legend{padding:0 5px;color:#9db2c7;font-size:10px;text-transform:uppercase;letter-spacing:.8px}
.meter-row{
  display:grid;grid-template-columns:34px 1fr 24px;gap:7px;align-items:center;margin:8px 0;color:#8498ac;font-size:11px
}
.meter{height:9px;padding:1px;background:#030609;border:1px solid #314961}
.meter i{display:block;height:100%;background:linear-gradient(90deg,#49698e,#8aafd7)}
.meter-row b{font-weight:normal;color:#aebcca;text-align:right}

.reliability-group{padding:9px 9px 8px}
.reliability-values{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.reliability-values div{padding:7px;background:#070d12;border:1px solid #203347}
.reliability-values span,.reliability-values strong{display:block}
.reliability-values span{color:#748a9f;font-size:9px;text-transform:uppercase;letter-spacing:.55px}
.reliability-values strong{margin-top:4px;color:#c8d5df;font:700 13px/1.1 "Courier New",monospace}
.uptime-timeline{display:grid;grid-template-columns:repeat(48,1fr);gap:2px;height:26px;margin-top:9px}
.timeline-point{min-width:2px;background:#1b2936;border:1px solid #253a4d}
.timeline-point.online{background:#6caf3d;border-color:#81c951}
.timeline-point.partial{background:#bb8a45;border-color:#d3a05b}
.timeline-point.offline{background:#9e473c;border-color:#c15c4d}
.timeline-point.unknown{background:#15212c;border-color:#213446}
.timeline-caption{display:flex;justify-content:space-between;margin-top:4px;color:#667b8e;font-size:9px}
.history-note{min-height:24px;margin:7px 0 0;color:#71869a;font-size:10px;line-height:1.35}

.classic-button,.download-button{
  display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:7px 13px;color:#cbd7e1;
  text-decoration:none;background:linear-gradient(#1c2d42,#101924);
  border-top:2px solid #46617e;border-left:2px solid #46617e;
  border-right:2px solid #030609;border-bottom:2px solid #030609;cursor:pointer
}
.classic-button:active,.download-button:active{
  border-top-color:#030609;border-left-color:#030609;border-right-color:#46617e;border-bottom-color:#46617e
}
.classic-button:disabled{cursor:wait;filter:saturate(.65);color:#8fa0af}

.protocol-row{
  display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:9px 2px;border-bottom:1px solid #1e3042
}
.protocol-row:last-child{border-bottom:0}
.protocol-row strong{display:block;color:#c7d4df;font-size:12px}
.protocol-row small{display:block;margin-top:3px;color:#74899e;font-size:10px}
.ready{color:#8ed657;font:700 11px/1 "Courier New",monospace}
.body-copy,.guide-intro{color:#899bad;font-size:12px;line-height:1.55}
.guide-intro{margin:0 0 9px}

.platform-list{display:grid;gap:8px}
.platform-card{
  padding:8px;border:1px solid #2d435b;background:#091018
}
.platform-head{display:flex;align-items:center;gap:9px}
.platform-icon{
  width:30px;height:30px;display:grid;place-items:center;color:#9fb4c8;border:1px solid #3b5570;background:#111c28
}
.platform-head strong{display:block;color:#cbd7e2;font-size:12px}
.platform-head small{display:block;color:#758a9e;font-size:10px;margin-top:2px}
.download-button{margin-top:7px;padding:5px 10px;font-size:11px}
.steps{
  margin:10px 0 7px;padding-left:23px;color:#8fa2b4;font-size:11px;line-height:1.5
}
.steps li{margin-bottom:3px}
.official-link{color:#d19a59;font-size:11px;text-decoration:none}
.official-link:hover{text-decoration:underline}

.about-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.about-tags span{
  padding:6px 8px;color:#d29c5d;border:1px solid #5a3d25;background:#1d140d;
  font:700 10px/1 "Courier New",monospace
}

.bottom-window{grid-column:1 / span 3;grid-row:2}
.status-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.status-cell{min-width:0;padding:10px;background:#081018;border:1px solid #293e55}
.status-cell span{display:block;color:#7e93a7;font-size:10px;text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px}
.status-cell strong{color:#c8d4df;font:700 18px/1 "Courier New",monospace}
#last-check{font-size:16px}

.statusbar{
  min-height:31px;display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;
  padding:6px 10px;background:linear-gradient(#17222d,#0f161e);border-top:1px solid #2c425a;
  color:#7e94aa;font-size:10px
}
.prototype{justify-self:center;color:#a37d58}.all-good{justify-self:end;color:#82c94d}

@media(max-width:1080px){
  .desktop{grid-template-columns:220px 1fr;grid-template-rows:auto auto auto}
  .launcher-window{grid-column:1;grid-row:1}
  .brand-stage{grid-column:2;grid-row:1;min-height:520px}
  .info-window{grid-column:1 / span 2;grid-row:2}
  .bottom-window{grid-column:1 / span 2;grid-row:3}
  .info-body{height:auto;min-height:auto}
  .central-document{min-height:520px}
}
@media(max-width:720px){
  .app-shell{width:calc(100% - 8px);min-height:calc(100vh - 8px);margin:4px auto}
  .ut-menubar{grid-template-columns:1fr auto}.top-caption{display:none}
  .desktop{grid-template-columns:1fr;padding:8px}
  .launcher-window,.brand-stage,.info-window,.bottom-window{grid-column:1;grid-row:auto}
  .launcher{min-height:auto}.launcher-note{margin-top:10px}
  .brand-stage{min-height:390px}.brand-art{width:min(98%,620px);max-height:calc(100% - 12px)}
  .central-document{min-height:520px;padding:20px 14px}
  .central-platforms,.about-grid,.profile-grid{grid-template-columns:1fr}
  .status-strip{grid-template-columns:1fr}
  .statusbar{grid-template-columns:1fr}.prototype,.all-good{justify-self:start}
  .top-nav{min-width:0;overflow-x:auto;scrollbar-width:none}.top-nav::-webkit-scrollbar{display:none}
  .top-item{min-height:31px;padding:0 12px;white-space:nowrap}
  .launcher-button,.classic-button,.download-button{min-height:42px}
  .uptime-timeline{gap:1px}
}

@media(prefers-reduced-motion:reduce){
  .status-led{animation:none!important}
}

/* UT99 concept preview — isolated from the production site */
.boot-screen{
  position:fixed;inset:0;z-index:999;display:grid;place-items:center;background:#030507;
  transition:opacity .28s ease,visibility .28s ease
}
.boot-screen.finished{opacity:0;visibility:hidden;pointer-events:none}
.boot-window{
  width:min(520px,calc(100vw - 32px));padding:3px 3px 18px;color:#9fb3c6;background:#0a1118;
  border-top:2px solid #7894b2;border-left:2px solid #7894b2;border-right:2px solid #101c29;border-bottom:2px solid #101c29;
  box-shadow:0 24px 80px #000;font:12px/1.4 "Courier New",monospace
}
.boot-title{margin-bottom:22px;padding:5px 8px;color:#0a1828;background:linear-gradient(90deg,#456d9a,#8aa4bf);font-weight:bold}
.boot-window>strong,.boot-window>span{display:block;margin:0 18px}
.boot-window>strong{color:#d7a15e;letter-spacing:1px}
.boot-window>span{margin-top:8px;color:#6f8599}
.boot-progress{height:14px;margin:10px 18px 0;padding:2px;background:#020407;border:1px solid #38526d}
.boot-progress i{display:block;width:0;height:100%;background:repeating-linear-gradient(90deg,#6f92b5 0 11px,#38516c 11px 13px);animation:uplink-load 1.25s ease forwards}
@keyframes uplink-load{to{width:100%}}

#central-brand.active{display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:stretch}
.brand-main{min-height:0;display:grid;place-items:center;overflow:hidden;padding:10px 10px 3px}
.brand-main .brand-art{width:min(96%,1100px);max-height:100%}
.node-brief{
  position:relative;z-index:4;display:grid;grid-template-columns:1.25fr .75fr 1fr .65fr;gap:1px;
  margin:6px 10px 10px;padding:1px;background:#263c51;border-top:2px solid #607d9a;border-left:2px solid #607d9a;
  border-right:2px solid #07101a;border-bottom:2px solid #07101a;box-shadow:0 -6px 18px rgba(0,0,0,.35)
}
.node-brief div{min-width:0;padding:8px 10px;background:#071019}
.node-brief span,.node-brief strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.node-brief span{color:#718aa1;font:700 9px/1 "Courier New",monospace;letter-spacing:.7px}
.node-brief strong{margin-top:5px;color:#cbd7e1;font:700 12px/1 "Courier New",monospace}
.node-brief div:last-child strong{color:#8bd353}

.server-browser{margin-top:20px;border:1px solid #334b62;background:#071018;box-shadow:inset 0 0 0 1px #101b26}
.browser-tabs{display:flex;gap:2px;padding:5px 5px 0;background:#101820;border-bottom:1px solid #314961;overflow-x:auto}
.browser-tab{
  min-width:max-content;padding:7px 13px;color:#97aabd;background:#182532;border-top:2px solid #516a83;border-left:2px solid #516a83;
  border-right:2px solid #05090d;border-bottom:0;cursor:pointer;font-size:11px
}
.browser-tab.active{color:#1a1208;background:linear-gradient(#dfa75f,#a56d34);border-top-color:#f4d3a3;border-left-color:#f4d3a3}
.browser-table{padding:5px;background:#050b11}
.browser-row{
  width:100%;display:grid;grid-template-columns:1.35fr 1fr .55fr 44px;gap:6px;align-items:center;
  min-height:35px;padding:0 9px;color:#aebdca;background:#0a131c;border:0;border-bottom:1px solid #1c3042;text-align:left;font-size:11px
}
button.browser-row{cursor:pointer}
.browser-row:not(.browser-head):hover{background:#111f2c}
.browser-row.selected{color:#171007;background:linear-gradient(90deg,#dca258,#b97938)}
.browser-row[hidden]{display:none}
.browser-head{min-height:27px;color:#6f879c;background:#111d28;font:700 9px/1 "Courier New",monospace;letter-spacing:.6px}
.browser-row strong{font:700 12px/1 "Courier New",monospace}
.browser-ready{color:#87cf4d;font-weight:bold}.browser-row.selected .browser-ready{color:#24450f}
.browser-row span:last-child{text-align:right}
.browser-details{margin:5px;padding:13px;background:#0a121a;border:1px solid #2b4157;min-height:120px}
.details-title{display:flex;align-items:baseline;gap:12px;padding-bottom:9px;border-bottom:1px solid #24384c}
.details-title span{color:#70889d;font:700 9px/1 "Courier New",monospace;letter-spacing:.7px}
.details-title strong{color:#d59d59;font:700 15px/1 "Courier New",monospace}
.browser-details p{margin:12px 0;color:#90a3b4;font-size:13px;line-height:1.55}
.details-meta{display:flex;justify-content:space-between;gap:10px;color:#738a9e;font:700 9px/1 "Courier New",monospace}
.details-meta b{color:#7fc44e}

.motd-group{padding:10px 11px;background:linear-gradient(135deg,#10150f,#091018)}
.motd-group strong{display:block;color:#d29a55;font:700 11px/1 "Courier New",monospace}
.motd-group p{margin:7px 0 0;color:#8498aa;font-size:11px;line-height:1.45}
.events-group{padding:5px 9px}
.event-row{display:grid;grid-template-columns:42px 1fr;gap:7px;padding:6px 2px;border-bottom:1px solid #1c2c3c;color:#8498aa;font-size:10px}
.event-row:last-child{border-bottom:0}.event-row time{color:#6f879d;font-family:"Courier New",monospace}
.event-row.good-event span{color:#8acb57}.event-row.warning-event span{color:#d0a05d}

.bottom-window{overflow:hidden}
.console-toggle,.sound-toggle{
  appearance:none;color:#0c1b2b;background:#86a0bd;border-top:1px solid #dfe9f2;border-left:1px solid #dfe9f2;
  border-right:1px solid #29435f;border-bottom:1px solid #29435f;cursor:pointer;font:700 9px/1.1 "Courier New",monospace
}
.console-toggle{padding:4px 7px}
.system-console{padding:8px 10px 10px;background:#03080c;border-top:1px solid #263d53;font:11px/1.5 "Courier New",monospace}
.system-console.collapsed{display:none}
.system-console div{display:grid;grid-template-columns:68px 1fr;gap:7px;color:#7790a6}
.system-console time{color:#526b80}.system-console .console-good span{color:#87cf4d}
.sound-toggle{justify-self:end;padding:5px 8px;color:#9fb2c3;background:#111c27;border-color:#415a73 #030609 #030609 #415a73}
.sound-toggle[aria-pressed="true"]{color:#1a1107;background:#d49a55;border-color:#f0c98f #4b2f19 #4b2f19 #f0c98f}
.statusbar{grid-template-columns:1fr auto auto auto}
.mobile-tabbar{display:none}

button:focus-visible,summary:focus-visible,a:focus-visible{outline:1px dotted #f0b66f;outline-offset:2px}
*{scrollbar-color:#587695 #071019;scrollbar-width:thin}
::-webkit-scrollbar{width:14px;height:14px}::-webkit-scrollbar-track{background:#071019;border:1px solid #22384c}
::-webkit-scrollbar-thumb{background:#597895;border:2px outset #89a3be}

@media(max-width:1080px){
  .node-brief{grid-template-columns:repeat(2,1fr)}
  .system-console{font-size:10px}
}

@media(max-width:720px){
  body{padding-bottom:58px}
  .launcher-window,.info-window,.top-nav{display:none!important}
  .ut-menubar{grid-template-columns:1fr}.win-buttons{justify-self:end}.top-caption{display:block;justify-self:start;grid-column:1;grid-row:1}
  .desktop{display:block;padding:7px}.brand-stage,.bottom-window{margin-bottom:8px}
  .brand-stage{min-height:590px}.central-document{min-height:590px}
  .node-brief{grid-template-columns:1fr 1fr;margin:5px 6px 6px}.node-brief div{padding:7px}
  .browser-table{min-width:570px}.server-browser{overflow-x:auto}.browser-details{min-width:540px}
  .status-strip{display:grid}.system-console div{grid-template-columns:60px 1fr}
  .statusbar{grid-template-columns:1fr auto;gap:7px}.prototype{display:none}.all-good{justify-self:start}.sound-toggle{grid-column:2;grid-row:1}
  .mobile-tabbar{
    position:fixed;z-index:80;left:4px;right:4px;bottom:4px;display:grid;grid-template-columns:repeat(4,1fr);
    padding:4px;background:#0b1219;border-top:2px solid #718ca8;border-left:2px solid #718ca8;
    border-right:2px solid #0a1119;border-bottom:2px solid #0a1119;box-shadow:0 -8px 24px rgba(0,0,0,.65)
  }
  .mobile-tabbar button{min-height:42px;color:#9fb1c1;background:#14202b;border:1px solid #334b61;font:700 9px/1 "Courier New",monospace}
  .mobile-tabbar button.active{color:#1b1107;background:#d09a56;border-color:#f0c98f #4e321d #4e321d #f0c98f}
}

@media(prefers-reduced-motion:reduce){
  .boot-progress i{animation-duration:.01ms}.boot-screen{transition:none}
}

/* Preview v2: approved layout, local music and harmless UT99 easter eggs */
@media(min-width:1081px){
  html,body{height:auto;min-height:100%;overflow-x:hidden;overflow-y:auto}
  .app-shell{height:auto;min-height:calc(100dvh - 12px);margin:6px auto}
  .desktop{grid-template-rows:max(600px,calc(100dvh - 200px)) auto;min-height:0;padding:10px}
  .launcher-window,.brand-stage,.info-window{min-height:0}
  .bottom-window{max-height:none}
}

#central-brand.active{display:grid;grid-template-rows:minmax(0,1fr);place-items:stretch}
.brand-main{padding:7px;min-height:0}
.brand-main .brand-art{
  width:min(98%,1180px);max-height:100%;cursor:pointer;user-select:none;-webkit-user-drag:none;
  transition:filter .18s ease,transform .18s ease
}
.brand-main .brand-art:hover{filter:brightness(1.035)}
.brand-main .brand-art:active{transform:scale(.997)}
.metal-rivet{appearance:none;border:0;padding:0;cursor:pointer}
.metal-rivet:focus-visible{outline:1px dotted #f0b66f;outline-offset:3px}

.about-secret-row{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:30px}
.fan-disclaimer{margin:0;color:#506274;font-size:10px;line-height:1.5}
.fragment-link{display:inline-block;margin-left:3px;color:#405366;text-decoration:none}
.fragment-link:hover,.fragment-link:focus-visible{color:#d09a57}
.nali-marker{
  appearance:none;border:0;padding:2px;color:#71879a;background:transparent;filter:grayscale(1);opacity:.22;
  cursor:pointer;font-size:15px;transition:opacity .15s ease,filter .15s ease
}
.nali-marker:hover,.nali-marker:focus-visible{filter:grayscale(.25);opacity:.72;outline:1px dotted #71879a}

.motd-group{position:relative;overflow:hidden;transition:border-color .2s ease,background .2s ease}
.motd-group::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0}
.motd-system{border-color:#2b4057;background:linear-gradient(135deg,#10150f,#091018)}
.motd-atmosphere{border-color:#614629;background:linear-gradient(135deg,#17130e,#091018)}
.motd-atmosphere strong{color:#dfa65f}
.motd-announcer{border-color:#7a5d31;background:linear-gradient(135deg,#21180c,#0b1015)}
.motd-announcer strong,.motd-announcer p{color:#e2b765}
.motd-xan{border-color:#7e3029;background:linear-gradient(135deg,#210b0a,#0b1015)}
.motd-xan strong{color:#ed7663;text-shadow:0 0 8px rgba(224,70,52,.45)}
.motd-xan p{color:#d49a91}
.motd-xan::after{
  opacity:.20;background:repeating-linear-gradient(to bottom,transparent 0 3px,rgba(255,55,34,.18) 3px 4px);
  animation:xan-scan .9s steps(2,end) infinite
}
@keyframes xan-scan{50%{transform:translateX(2px);opacity:.32}}

.bottom-window{overflow:hidden}
.console-toggle,.sound-toggle{
  appearance:none;color:#0c1b2b;background:#86a0bd;border-top:1px solid #dfe9f2;border-left:1px solid #dfe9f2;
  border-right:1px solid #29435f;border-bottom:1px solid #29435f;cursor:pointer;font:700 9px/1.1 "Courier New",monospace
}
.console-toggle{padding:4px 7px}
.system-console{
  display:grid;grid-template-rows:auto auto auto;max-height:none;padding:7px 9px 6px;
  background:#03080c;border-top:1px solid #263d53;font:10px/1.42 "Courier New",monospace
}
.system-console.collapsed{display:none}
.system-console>.console-output{display:block!important;min-height:72px;max-height:170px;overflow:auto;padding:2px 4px 2px 0}
.console-output>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:7px;width:100%;color:#7790a6}
.console-output>div span{min-width:0;white-space:normal;word-break:normal}
.console-output time{color:#526b80}
.console-output .console-good span{color:#87cf4d}
.console-output .console-warning span{color:#d3a15c}
.console-output .console-xan span{color:#e56856}
.console-output .console-hint-line span{color:#9db4c8}
.console-output .console-input-line span{color:#d2dce5}
.console-output .console-filler-line{animation:console-line-in .32s steps(3,end)}
.console-output .console-filler-line span{color:#6e8ca4}
@keyframes console-line-in{
  from{transform:translateY(-5px);opacity:.18}
  to{transform:translateY(0);opacity:1}
}
.console-form{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:5px;align-items:center;margin-top:5px}
.console-form label{color:#81c94d;font-weight:bold}
.console-form input{
  min-width:0;height:27px;padding:4px 7px;color:#b9d1e4;background:#020508;border:1px solid #304960;
  border-radius:0;outline:0;font:11px/1 "Courier New",monospace;text-transform:uppercase
}
.console-form input:focus{border-color:#7b9ab8;box-shadow:inset 0 0 0 1px #23384c}
.console-form input::placeholder{color:#526a7f}
.console-form button{
  height:27px;padding:0 9px;color:#9eb2c4;background:#14202b;border-top:1px solid #526b84;border-left:1px solid #526b84;
  border-right:1px solid #020405;border-bottom:1px solid #020405;cursor:pointer;font:700 9px/1 "Courier New",monospace
}
.console-safety{margin:4px 0 0 19px;color:#43586a;font-size:8px;letter-spacing:.45px}
.sound-toggle{justify-self:end;padding:5px 8px;color:#9fb2c3;background:#111c27;border-color:#415a73 #030609 #030609 #415a73}
.sound-toggle[aria-pressed="true"]{color:#1a1107;background:#d49a55;border-color:#f0c98f #4b2f19 #4b2f19 #f0c98f}
.music-now{justify-self:end;color:#5e7488;font:9px/1.2 "Courier New",monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.statusbar{grid-template-columns:minmax(140px,1fr) auto auto auto auto}

.secret-toast{
  position:fixed;z-index:1100;left:50%;top:13%;width:min(680px,calc(100vw - 30px));padding:14px 18px;
  color:#d8e2ea;background:#071018;border:2px solid #5a7896;box-shadow:0 18px 55px rgba(0,0,0,.75),inset 0 0 0 1px #16283a;
  opacity:0;visibility:hidden;transform:translate(-50%,-12px);transition:opacity .16s ease,transform .16s ease,visibility .16s;
  text-align:center;font:700 clamp(12px,1.4vw,17px)/1.35 "Courier New",monospace;letter-spacing:.7px
}
.secret-toast.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.secret-toast.amber{color:#e3aa61;border-color:#825b31}.secret-toast.green{color:#91dd58;border-color:#4d7437}
.secret-toast.red{color:#ef6d59;border-color:#8e3028;background:#170706;text-shadow:0 0 8px rgba(239,109,89,.45)}

.ctf-overlay[hidden]{display:none}
.ctf-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:hidden;background:#02030a}
.ctf-stars{
  position:absolute;inset:-20%;background:
    radial-gradient(circle at 12% 22%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 72% 31%,#b7d4ff 0 1px,transparent 1.5px),
    radial-gradient(circle at 43% 78%,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle at 89% 68%,#d2bfff 0 1px,transparent 1.5px),
    radial-gradient(circle at 36% 48%,rgba(74,103,190,.34),transparent 26%),#02030a;
  background-size:111px 127px,173px 149px,139px 181px,211px 167px,100% 100%;animation:orbital-drift 18s linear infinite
}
.ctf-message{position:relative;z-index:1;width:min(850px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:22px;text-align:center;background:rgba(4,10,18,.91);border:1px solid #5d7895;box-shadow:0 0 80px rgba(65,95,169,.3)}
.ctf-message span,.ctf-message strong,.ctf-message small{display:block;font-family:"Courier New",monospace}
.ctf-message span{color:#718ca5;font-size:10px;letter-spacing:1.2px}
.ctf-message strong{margin:8px 0 14px;color:#d8a45d;font-size:clamp(17px,3vw,32px);letter-spacing:1px}
.ctf-message small{color:#7e91a4;font-size:10px}
.ctf-map-frame{position:relative;margin:0;border:1px solid #405d78;background:#010306;box-shadow:inset 0 0 0 1px #08111b,0 12px 34px rgba(0,0,0,.45)}
.ctf-map-frame img{display:block;width:100%;max-height:min(52dvh,540px);object-fit:cover;object-position:center}
.ctf-map-frame figcaption{position:absolute;left:8px;bottom:7px;padding:4px 6px;color:#a9bdd0;background:rgba(1,5,9,.76);border:1px solid rgba(91,121,150,.58);font:9px/1 "Courier New",monospace;letter-spacing:.8px}
.ctf-briefing{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0}
.ctf-briefing span{padding:7px;text-align:left;background:#07101a;border:1px solid #263e55;color:#c5d1dc;font-size:10px;letter-spacing:0}
.ctf-briefing b{display:block;margin-bottom:3px;color:#5f7d98;font:8px/1 "Courier New",monospace}
.ctf-return{margin:4px 0 8px;padding:7px 13px;color:#d8e2eb;background:linear-gradient(#1a2b3e,#0d1721);border-top:2px solid #486581;border-left:2px solid #486581;border-right:2px solid #020508;border-bottom:2px solid #020508;cursor:pointer;font:700 10px/1 "Courier New",monospace}
.ctf-return:active{border-color:#020508 #486581 #486581 #020508}
@keyframes orbital-drift{to{transform:translate3d(4%,3%,0)}}

.nali-runner{position:fixed;z-index:1200;left:-70px;bottom:8px;pointer-events:none;filter:grayscale(.6);font-size:34px;opacity:0}
.nali-runner.running{animation:nali-cross 5.2s linear forwards}
@keyframes nali-cross{0%{left:-70px;opacity:0}6%{opacity:1}92%{opacity:1}100%{left:calc(100vw + 70px);opacity:0}}

body.god-flash::after{
  content:"";position:fixed;z-index:1050;inset:0;pointer-events:none;background:rgba(155,255,94,.35);animation:god-flash .82s ease-out forwards
}
@keyframes god-flash{to{opacity:0}}
body.monster-rumble .app-shell{animation:monster-rumble .12s steps(2,end) 5}
@keyframes monster-rumble{0%{transform:translate(-2px,1px)}50%{transform:translate(2px,-1px)}100%{transform:none}}
body.xan-protocol .app-shell{box-shadow:0 22px 72px rgba(0,0,0,.6),0 0 24px rgba(183,46,35,.38)}
body.xan-protocol .brand-art{filter:sepia(.2) saturate(1.2) drop-shadow(0 0 7px rgba(179,54,38,.45))}
body.slomo *{transition-duration:.5s!important}
body.slomo .status-led{animation-duration:4.4s!important}
body.slomo .motd-xan::after{animation-duration:1.8s!important}
body.slomo .ctf-stars{animation-duration:36s!important}
body.slomo .nali-runner.running{animation-duration:10.4s!important}

.fragged-page{min-height:100dvh;display:grid;place-items:center;padding:18px;background:#020407;color:#bfcbd6;font-family:Tahoma,Verdana,Arial,sans-serif}
.fragged-window{width:min(760px,100%);background:#091018;border-top:2px solid #7894b2;border-left:2px solid #7894b2;border-right:2px solid #101c29;border-bottom:2px solid #101c29;box-shadow:0 24px 90px #000}
.fragged-title{padding:6px 9px;color:#0b1a2a;background:linear-gradient(90deg,#456d9a,#8aa4bf);font-size:12px;font-weight:bold}
.fragged-body{padding:clamp(30px,8vw,80px) 24px;text-align:center;background:radial-gradient(circle at 50% 0,rgba(139,42,32,.22),transparent 58%),#070d12}
.fragged-body h1{margin:0;color:#e06a57;font:700 clamp(42px,13vw,112px)/.85 "Courier New",monospace;text-shadow:0 0 18px rgba(211,58,42,.35)}
.fragged-body h2{margin:24px 0 9px;color:#d5a05a;font:700 clamp(18px,4vw,34px)/1 "Courier New",monospace}
.fragged-body p{margin:0 0 28px;color:#71879a;font:12px/1.6 "Courier New",monospace}
.respawn-button{display:inline-flex;padding:9px 18px;color:#cbd7e1;text-decoration:none;background:linear-gradient(#1c2d42,#101924);border-top:2px solid #46617e;border-left:2px solid #46617e;border-right:2px solid #030609;border-bottom:2px solid #030609}
.fragged-code{display:block;margin-top:24px;color:#394d5e;font:9px/1 "Courier New",monospace}

@media(max-width:1080px){
  .statusbar{grid-template-columns:1fr auto auto}.music-now{display:none}
  .sound-toggle{grid-column:auto;grid-row:auto}
}

@media(max-width:620px){
  .ctf-message{padding:12px}.ctf-map-frame img{max-height:44dvh}.ctf-briefing{grid-template-columns:1fr}
}

@media(max-width:720px){
  html,body{height:auto;overflow:auto}
  .brand-stage{min-height:490px}
  .central-document{min-height:590px}
  .system-console{max-height:none}
  .system-console>.console-output{max-height:170px}
  .console-form{grid-template-columns:14px minmax(0,1fr)}
  .console-form button{grid-column:2}
  .statusbar{grid-template-columns:1fr auto;gap:7px}
  .music-now{display:none}
  .sound-toggle{grid-column:2;grid-row:1}
  .about-secret-row{margin-top:22px}
  .fan-disclaimer{font-size:9px}
}

@media(prefers-reduced-motion:reduce){
  .motd-xan::after,.ctf-stars,.nali-runner.running,body.monster-rumble .app-shell{animation:none!important}
}
