.outpost-brand,
.outpost-network,
#outpost-entry,
#outpost-toast,
#outpost-token-dialog,
#outpost-about-dialog {
  font-family: 'Space Grotesk', sans-serif;
}

.outpost-brand {
  position: fixed;
  top: 16px;
  left: 80px;
  z-index: 140;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  color: #fff;
  background: #f7f8ef;
  border: 1px solid #ffffff40;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  cursor: pointer;
  transition: opacity .2s, color .35s;
}
.outpost-brand strong { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.outpost-brand img { width: 26px; height: 26px; object-fit: contain; filter: brightness(0) invert(1); }
.outpost-brand:hover { opacity: .7; }
body.webgl-loader-overlay .outpost-brand { color: #fff; }
body.frame-open .outpost-brand { top: 26px; left: 90px; }
body.frame-open .outpost-network { top: 26px; right: 34px; }

.outpost-network {
  position: fixed;
  top: 16px;
  right: 24px;
  z-index: 140;
  display: flex;
  gap: 8px;
}
.outpost-network button {
  height: 40px;
  padding: 0 17px;
  border: 1px solid #ffffff40;
  border-radius: 40px;
  color: #fff;
  background: #f7f8ef;
  backdrop-filter: blur(15px);
  font: 500 13px 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.outpost-network button:hover:not(:disabled) { background: #f0fcf7; border-color: #087f5b99; }
.outpost-network button:active:not(:disabled) { transform: translateY(1px); }
.outpost-network #outpost-x { padding: 0 16px; font-size: 20px; }
.outpost-network #outpost-ca { box-sizing: border-box; display: grid; grid-template-columns: auto minmax(0, 1fr) 16px; align-items: center; gap: 10px; width: 200px; padding: 0 14px; text-align: left; background: #f7f8ef; }
.outpost-ca-label { padding-right: 10px; border-right: 1px solid #ffffff29; color: #62786c; font-size: 10px; font-weight: 500; letter-spacing: .06em; }
.outpost-ca-value { overflow: hidden; color: #17282a; font: 11px/1.2 'PP Supply Mono', monospace; white-space: nowrap; text-overflow: ellipsis; }
.outpost-ca-icon { width: 16px; height: 16px; color: #536d62; }
.outpost-ca-icon .outpost-ca-check { display: none; }
#outpost-ca.is-copied .outpost-ca-sheets { display: none; }
#outpost-ca.is-copied .outpost-ca-check { display: initial; }
#outpost-ca.is-copied .outpost-ca-value, #outpost-ca.is-copied .outpost-ca-icon { color: #087f5b; }
.outpost-network #outpost-ca:disabled { opacity: 1; cursor: default; }
#outpost-ca:disabled .outpost-ca-value { color: #62786c; font-family: 'Space Grotesk', sans-serif; }
#outpost-ca:disabled .outpost-ca-icon { opacity: .3; }
.hud-right-group { right: 294px !important; }
.hud-left-group { left: 24px !important; }
.hud-xp,
.hud-menu { display: none !important; }
.eg-ic-logo img { object-fit: contain !important; }
.eg-track .eg-brand-mark { position: absolute; display: grid; place-items: center; border-radius: 50%; background: #f7f8ef; border: 1px solid #ffffffa8; box-sizing: border-box; box-shadow: inset 0 1px 0 #fff9; user-select: none; }
.eg-track .eg-brand-mark .eg-ic-logo { display: grid; place-items: center; width: 100%; height: 100%; }
.eg-track .eg-brand-mark img { width: 32px !important; height: 32px !important; border-radius: 0 !important; }

:is(.outpost-brand, .outpost-network button, #outpost-entry, .scroll-ruler-nav-btn, .s5-pad-btn):focus-visible,
:is(#outpost-token-dialog, #outpost-about-dialog) :is(button, input, a):focus-visible {
  outline: 2px solid #087f5b;
  outline-offset: 4px;
}
.scroll-ruler:focus-within { -webkit-mask-image: none; mask-image: none; }
.scroll-ruler:focus-within :is(.scroll-ruler-track, .scroll-ruler-indicator) { opacity: 0; pointer-events: none; }
.scroll-ruler:focus-within .scroll-ruler-nav { opacity: 1; pointer-events: auto; }

#outpost-toast {
  position: fixed;
  bottom: 160px;
  left: 50%;
  z-index: 10000;
  box-sizing: border-box;
  width: max-content;
  max-width: min(440px, calc(100vw - 40px));
  padding: 16px 22px;
  color: #eefbf6;
  background: #f7f8ef;
  border: 1px solid #087f5b55;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 12px 32px #087f5b18;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 15px);
  transition: opacity .25s, transform .25s;
}
#outpost-toast.visible { opacity: 1; transform: translate(-50%, 0); }
:is(#outpost-token-dialog, #outpost-about-dialog) #outpost-toast { bottom: 24px; }

#outpost-entry {
  position: fixed;
  top: 61%;
  left: 50%;
  z-index: 80;
  padding: 13px 25px;
  color: #fff;
  background: #ffffff20;
  backdrop-filter: blur(8px);
  border: 1px solid #087f5b70;
  border-radius: 30px;
  font-size: 13px;
  cursor: pointer;
  transform: translateX(-50%);
  transition: background .2s, border-color .2s;
}
#outpost-entry:hover { background: #ffffff35; border-color: #ecfbf5; }
#outpost-entry[hidden] { display: none; }

:is(#outpost-token-dialog, #outpost-about-dialog) {
  box-sizing: border-box;
  width: min(490px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 36px;
  overflow: auto;
  overscroll-behavior: contain;
  color: #f7f8ef;
  background: #17282a;
  border: 1px solid #7eb7a0;
  border-radius: 28px;
  box-shadow: 0 24px 90px #0005;
  font-size: 14px;
  line-height: 1.65;
}
:is(#outpost-token-dialog, #outpost-about-dialog)::backdrop {
  background: #17282a80;
  backdrop-filter: blur(10px);
  cursor: default !important;
}
/* The original custom cursor lives below native dialogs in the top layer. */
body:has(dialog[open]) [data-custom-cursor] { visibility: hidden; }
:is(#outpost-token-dialog, #outpost-about-dialog),
:is(#outpost-token-dialog, #outpost-about-dialog) * { cursor: default !important; }
:is(#outpost-token-dialog, #outpost-about-dialog) :is(button, a) { cursor: pointer !important; }
:is(#outpost-token-dialog, #outpost-about-dialog) button:disabled { cursor: default !important; }
:is(#outpost-token-dialog, #outpost-about-dialog) input { cursor: text !important; }
:is(#outpost-token-dialog, #outpost-about-dialog) h2 {
  margin: 15px 0;
  font-size: clamp(30px, 6vw, 40px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.055em;
}
:is(#outpost-token-dialog, #outpost-about-dialog) p { margin: 12px 0; }
:is(#outpost-token-dialog, #outpost-about-dialog) small { display: block; margin-top: 20px; color: #7bad99; font-size: 11px; line-height: 1.65; }
#outpost-about-dialog h2 em { color: #087f5b; font-style: normal; }
:is(#outpost-token-dialog, #outpost-about-dialog) button {
  padding: 12px 18px;
  color: #17282a;
  background: #087f5b;
  border: 0;
  border-radius: 25px;
  font: 500 13px 'Space Grotesk', sans-serif;
  cursor: pointer;
  transition: background .2s, opacity .2s;
}
:is(#outpost-token-dialog, #outpost-about-dialog) button:hover:not(:disabled) { background: #e8faf3; }
:is(#outpost-token-dialog, #outpost-about-dialog) button:disabled { opacity: .35; cursor: default; }
:is(#outpost-token-dialog, #outpost-about-dialog) [data-close] {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: #f0fcf7;
  background: transparent;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}
:is(#outpost-token-dialog, #outpost-about-dialog) [data-close]:hover { background: #ffffff10; }
.outpost-eyebrow { display: block; padding-right: 20px; color: #88cab0; font-size: 10px; letter-spacing: .14em; }
.outpost-token-meta { margin: 20px 0 24px; color: #7bad99; font-size: 12px; }
.outpost-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid #087f5b33; border-radius: 20px; color: #087f5b; background: #087f5b0a; font-size: 11px; }
.outpost-status::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.outpost-status > span:empty { display: none; }
#outpost-token-dialog label { display: block; margin: 24px 0 9px; color: #78b69d; font-size: 10px; letter-spacing: .12em; }
.outpost-address-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#outpost-token-dialog input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 16px;
  color: #087f5b;
  background: #ffffff06;
  border: 1px solid #087f5b45;
  border-radius: 12px;
  font: 12px/1.4 monospace;
}
#outpost-copy { margin-top: 12px; }
.outpost-address-row #outpost-copy { margin-top: 0; }
.outpost-dialog-note {
  display: block;
  margin-top: 25px !important;
  padding-top: 20px;
  color: #7bad99;
  border-top: 1px solid #ffffff12;
  font-size: 11px;
  line-height: 1.65;
}
.outpost-dialog-note a { color: #087f5b; text-underline-offset: 3px; }
.outpost-about-intro { color: #78b69d; }
.outpost-steps { display: grid; gap: 17px; margin: 26px 0; padding: 0; list-style: none; }
.outpost-steps li { display: grid; grid-template-columns: 27px 1fr; gap: 14px; min-height: 30px; }
.outpost-steps li > span { padding-top: 3px; color: #74cca9; font-size: 11px; letter-spacing: .06em; }
.outpost-steps strong { display: block; color: #f0fcf7; font-size: 14px; font-weight: 500; }
.outpost-steps p { display: block; margin: 3px 0 0 !important; color: #7bad99; font-size: 12px; line-height: 1.55; }

/* Keep the original joystick and make the two remaining zoom controls a pair. */
.s5-controls .s5-pad {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-sizing: border-box;
  width: 58px;
  height: auto;
  padding: 5px;
  background: #087f5b;
  border: 1px solid #ffffff29;
  border-radius: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px #0003;
}
.s5-controls .s5-pad-btn {
  position: relative;
  top: auto;
  left: auto;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.s5-controls .s5-pad-btn::after { display: none; }
.s5-controls .s5-pad-btn:hover { background: #ffffff14; box-shadow: none; }
.s5-controls .s5-pad-btn:active,
.s5-controls .s5-pad-btn.is-pressed { background: #0003; box-shadow: none; }

@media (max-width: 768px) {
  .outpost-brand { top: 16px; left: 20px; height: 38px; padding: 0 10px; gap: 7px; }
  .outpost-brand strong { font-size: 15px; }
  .outpost-brand img { width: 23px; height: 23px; }
  .outpost-network { top: 16px; right: 16px; gap: 5px; }
  body.frame-open .outpost-brand { top: 26px; left: 30px; }
  body.frame-open .outpost-network { top: 26px; right: 26px; }
  .outpost-network button { height: 38px; padding: 0 11px; }
  .outpost-network #outpost-x { padding: 0 11px; }
  .outpost-network #outpost-ca { width: 150px; padding: 0 10px; gap: 7px; }
  .outpost-ca-label { padding-right: 7px; font-size: 9px; }
  .outpost-ca-value { font-size: 10px; }
  .hud-right-group { top: 69px !important; left: 20px !important; right: 20px !important; height: 25px !important; }
  .scroll-ruler-nav { gap: 18px !important; }
  :is(#outpost-token-dialog, #outpost-about-dialog) { max-height: calc(100dvh - 28px); padding: 30px 25px 25px; border-radius: 24px; }
  #outpost-toast { bottom: 154px; padding: 14px 18px; font-size: 13px; }
  .s5-controls .s5-pad { width: 54px; padding: 4px; }
  .s5-controls .s5-pad-btn { flex-basis: 44px; width: 44px; height: 44px; }
}
@media (max-width: 380px) {
  .outpost-brand strong { display: none; }
  .outpost-brand { width: 43px; padding: 0; justify-content: center; }
  .outpost-network #outpost-ca { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.outpost-brand, .outpost-network button, #outpost-entry, #outpost-toast) { transition: none; }
}

/* OUTPOST: luminous paper surfaces, emerald controls and titanium identity. */
::selection { color:#f7f8ef; background:#087f5b; }
.nav-black .scroll-indicator { color:#087f5b; background:#f7f8ef; }
.nav-black .scroll-indicator-dot { background:#087f5b; }
.outpost-brand, .outpost-network button, .outpost-network #outpost-ca {
  background:#f7f8ef; color:#17282a; border:1px solid #087f5b26;
  backdrop-filter:none; box-shadow:0 3px 18px #18644612;
}
.outpost-brand { gap:9px; padding:0 15px 0 9px; }
.outpost-brand strong { font-size:16px; font-weight:500; letter-spacing:.16em; }
.outpost-brand img { width:31px; height:31px; filter:none; }
body.webgl-loader-overlay .outpost-brand { color:#17282a; }
.outpost-brand:hover { opacity:1; background:#f0fcf7; }
.outpost-network button:hover:not(:disabled) { background:#ebfbf5; border-color:#087f5b66; }
.outpost-ca-label { border-right-color:#087f5b26; }
#outpost-entry { background:#087f5b; color:#fff; border-color:#087f5b; backdrop-filter:none; box-shadow:0 5px 24px #087f5b25; }
#outpost-entry:hover { background:#056448; border-color:#056448; }
#outpost-toast { color:#17282a; background:#f7f8ef; border:1px solid #087f5b33; box-shadow:0 8px 35px #1c75512b; }
:is(#outpost-token-dialog,#outpost-about-dialog) { background:#f7f8ef; color:#17282a; border-color:#087f5b26; }
:is(#outpost-token-dialog,#outpost-about-dialog)::backdrop { background:#1e674a55; backdrop-filter:blur(5px); }
:is(#outpost-token-dialog,#outpost-about-dialog) button { background:#087f5b; color:#fff; }
:is(#outpost-token-dialog,#outpost-about-dialog) button:hover:not(:disabled) { background:#056448; }
:is(#outpost-token-dialog,#outpost-about-dialog) [data-close] { color:#087f5b; background:transparent; }
:is(#outpost-token-dialog,#outpost-about-dialog) [data-close]:hover { color:#087f5b; background:#ebfbf5; }
.outpost-about-intro,.outpost-steps p,.outpost-token-meta,.outpost-dialog-note { color:#5d736a; }
.outpost-steps strong { color:#17282a; }
.outpost-eyebrow { color:#087f5b; }
.outpost-dialog-note { border-top-color:#087f5b20; }
#outpost-token-dialog input { background:#fff; border-color:#087f5b35; }
.eg-track, .nav-black .eg-track { background:#f7f8ef !important; backdrop-filter:none !important; -webkit-backdrop-filter:none !important; box-shadow:0 8px 35px #17282a22; border:1px solid #087f5b1c; }
.eg-track .eg-pill { background:#087f5b; color:#fff; box-shadow:none; }
.eg-track .eg-pill:hover { background:#056448; }
.eg-track .eg-pill::after { display:none; }
.eg-track .eg-brand-mark { background:#f7f8ef; border:0; box-shadow:none; }
.eg-track .eg-brand-mark img { width:35px !important; height:35px !important; }
.eg-track .eg-menu,.eg-track .eg-back,.eg-track .eg-submit { background:#ebfbf5; color:#087f5b; }
.eg-track .eg-menu:hover,.eg-track .eg-back:hover,.eg-track .eg-submit:hover { background:#dff8ee; }
.eg-track .eg-menu-panel,.eg-track .eg-menu-item { color:#17282a; }
.eg-track .eg-menu-item:hover { background:#ebfbf5; }
@media(max-width:650px) { .outpost-brand { padding-left:7px; } .outpost-brand img { width:29px; height:29px; } .outpost-brand strong { font-size:15px; } }
@media(max-width:380px) { .outpost-brand { padding:0; } }

/* OUTPOST titanium identity */
.outpost-brand { background:#101d1d; border-color:#48615b; color:#f0f3ef; gap:8px; padding-right:14px; }
.outpost-brand:hover,body.webgl-loader-overlay .outpost-brand { background:#162b26; color:#f0f3ef; }
.outpost-brand img { width:32px; height:32px; }
.outpost-brand strong { font-weight:600; letter-spacing:.055em; font-size:15px; }
.outpost-network button { background:#101d1d; color:#f0f3ef; border-color:#48615b; }
.outpost-network button:hover:not(:disabled) { background:#193b2f; }
.outpost-network button:disabled { opacity:.85; }
#outpost-entry { background:#101d1d; color:#f5f7ef; border-color:#738a80; }
#outpost-entry:hover { background:#087f5b; }
@media(max-width:650px) { .outpost-brand strong { font-size:13px;letter-spacing:.035em; } .outpost-brand { gap:6px;padding-right:10px; } }
