

:root {
  --mb-h: 46px;
  --mb-fg: #dff2ff;
  --mb-dim: rgba(190, 224, 255, 0.45);
  --mb-line: rgba(140, 200, 255, 0.16);
  --mb-accent: #7fe3ff;
  --mb-bg: rgba(4, 10, 20, 0.62);
}


.arche-menubar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: var(--mb-h);
  z-index: 100003;                 
  display: flex;
  align-items: center;
  justify-content: center;         
  gap: 22px;
  padding: 0 18px;
  box-sizing: border-box;
  background: none;                
  border: none;                    
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  color: var(--mb-fg);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  user-select: none;
}

.arche-menubar.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}




.arche-menubar > .arche-menubar__label { display: none; }

.arche-menubar__label b {
  color: var(--mb-accent);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(127, 227, 255, .55);
}



.arche-menubar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  height: 100%;
}

.arche-menubar__items::-webkit-scrollbar { display: none; }


.arche-menubar__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 0;
  border: none;                    
  border-radius: 0;
  background: none;                
  color: var(--mb-fg);
  font: inherit;
  font-size: 12.5px;
  letter-spacing: .06em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.arche-menubar__item .idx {
  font-size: 10px;
  color: var(--mb-dim);
  letter-spacing: .1em;
}

.arche-menubar__item .nm {
  position: relative;
}


.arche-menubar__item:hover,
.arche-menubar__item:focus-visible {
  color: #fff;
  text-shadow: 0 0 16px rgba(127, 227, 255, .9);
  outline: none;
}

.arche-menubar__item .nm::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--mb-accent);
  box-shadow: 0 0 8px rgba(127, 227, 255, .9);
  transition: right .3s cubic-bezier(.22, .61, .36, 1);
}

.arche-menubar__item:hover .nm::after,
.arche-menubar__item:focus-visible .nm::after { right: 0; }


.arche-menubar__item[data-locked="1"] {
  color: var(--mb-dim);
  cursor: not-allowed;
}

.arche-menubar__item[data-locked="1"]:hover {
  color: rgba(255, 170, 170, .95);
  text-shadow: 0 0 14px rgba(255, 107, 107, .8);
}

.arche-menubar__item[data-locked="1"] .nm::after { background: #ff6b6b; box-shadow: 0 0 8px rgba(255, 107, 107, .9); }

.arche-menubar__item .lock {
  font-size: 10px;
  opacity: .8;
}


.arche-menubar__item .desc {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: max-content;
  max-width: 340px;
  padding: 9px 12px;
  border: 1px solid var(--mb-line);
  border-radius: 6px;
  background: rgba(6, 14, 26, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(214, 236, 255, .88);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .02em;
  text-align: left;
  white-space: normal;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  box-shadow: 0 12px 34px -12px rgba(0, 0, 0, .85);
}

.arche-menubar__item:hover .desc,
.arche-menubar__item:focus-visible .desc {
  opacity: 1;
  transform: translateY(0);
}


.arche-menubar__right {
  position: absolute;
  right: 22px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--mb-dim);
  white-space: nowrap;
}

.arche-menubar__who {
  color: rgba(214, 236, 255, .8);
}

.arche-menubar__who i {
  font-style: normal;
  color: var(--mb-accent);
}

.arche-menubar__admin {
  height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(127, 227, 255, .35);
  border-radius: 4px;
  background: rgba(127, 227, 255, .08);
  color: var(--mb-accent);
  font: inherit;
  font-size: 11px;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}

.arche-menubar__admin:hover {
  background: rgba(127, 227, 255, .18);
  box-shadow: 0 0 16px -4px rgba(127, 227, 255, .7);
}



.arche-mbmodal {
  position: fixed; inset: 0; z-index: 100010;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .26s ease;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.arche-mbmodal.is-on { opacity: 1; }
.arche-mbmodal__box {
  max-width: 520px; padding: 34px 38px; border-radius: 8px;
  border: 1px solid rgba(127, 227, 255, .28); background: rgba(6, 14, 26, .95);
  box-shadow: 0 24px 70px -24px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(127, 227, 255, .06);
  transform: translateY(14px); transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}
.arche-mbmodal.is-on .arche-mbmodal__box { transform: translateY(0); }
.arche-mbmodal__box p {
  margin: 0 0 26px; color: #dff2ff; font-size: 14.5px; line-height: 1.85; text-align: center;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.arche-mbmodal__box button {
  display: block; margin: 0 auto; padding: 9px 34px;
  border: 1px solid rgba(127, 227, 255, .45); border-radius: 4px;
  background: rgba(127, 227, 255, .1); color: #7fe3ff;
  font: inherit; font-size: 12.5px; letter-spacing: .14em; cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.arche-mbmodal__box button:hover {
  background: rgba(127, 227, 255, .22); box-shadow: 0 0 22px -6px rgba(127, 227, 255, .8);
}


.arche-mbadmin {
  position: fixed; inset: 0; z-index: 100011;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.arche-mbadmin__box {
  display: flex; width: 85%; max-width: 980px; height: 82vh;
  border: 1px solid rgba(127, 227, 255, .22); border-radius: 10px; overflow: hidden;
  background: rgba(8, 16, 30, .97); box-shadow: 0 30px 90px -30px rgba(0, 0, 0, .95);
}
.arche-mbadmin__list {
  width: 250px; flex: none; display: flex; flex-direction: column; padding: 18px;
  border-right: 1px solid rgba(127, 227, 255, .14); background: rgba(0, 0, 0, .25);
}
.arche-mbadmin__list h3 {
  margin: 0 0 12px; padding-bottom: 10px; color: #7fe3ff; font-size: 12px; letter-spacing: .16em;
  border-bottom: 1px solid rgba(127, 227, 255, .14);
}
.arche-mbadmin__list ul {
  flex: 1; margin: 0; padding: 0; list-style: none; overflow-y: auto;
}
.arche-mbadmin__list li {
  padding: 9px 10px; border-radius: 4px; color: rgba(214, 236, 255, .82);
  font-size: 12.5px; cursor: pointer; transition: background .18s ease, color .18s ease;
}
.arche-mbadmin__list li:hover { background: rgba(127, 227, 255, .12); color: #fff; }
.arche-mbadmin__list .add {
  margin-top: 10px; padding: 10px; border: 1px solid rgba(127, 227, 255, .4); border-radius: 4px;
  background: rgba(127, 227, 255, .12); color: #7fe3ff; font: inherit; font-size: 12px; cursor: pointer;
}


.arche-mbadmin__list .orderhint {
  margin: 10px 0 0; color: rgba(190, 224, 255, .38); font-size: 10.5px; line-height: 1.5;
}
.arche-mbadmin__list .apply {
  margin-top: 8px; padding: 10px; border: 1px solid rgba(127, 227, 255, .28); border-radius: 4px;
  background: rgba(127, 227, 255, .06); color: rgba(190, 224, 255, .75);
  font: inherit; font-size: 12px; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.arche-mbadmin__list .apply.is-dirty {
  border-color: rgba(255, 210, 74, .6); background: rgba(255, 210, 74, .14); color: #ffd24a;
}
.arche-mbadmin__list .apply:hover { filter: brightness(1.2); }

.arche-mbadmin__row { display: flex; align-items: center; gap: 7px; padding: 7px 8px !important; }
.arche-mbadmin__row.is-editing { background: rgba(127, 227, 255, .14); color: #fff; }
.arche-mbadmin__idx {
  flex: none; min-width: 18px; color: rgba(127, 227, 255, .5);
  font-variant-numeric: tabular-nums; font-size: 11px;
}
.arche-mbadmin__nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arche-mbadmin__mv {
  flex: none; width: 20px; height: 20px; padding: 0; border: 1px solid rgba(127, 227, 255, .22);
  border-radius: 3px; background: rgba(127, 227, 255, .07); color: rgba(190, 224, 255, .8);
  font: inherit; font-size: 11px; line-height: 1; cursor: pointer;
}
.arche-mbadmin__mv:hover:not(:disabled) { background: rgba(127, 227, 255, .22); color: #fff; }
.arche-mbadmin__mv:disabled { opacity: .25; cursor: default; }
.arche-mbadmin__form {
  position: relative; flex: 1; padding: 26px 30px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.arche-mbadmin__form h2 { margin: 0 0 6px; color: #fff; font-size: 15px; letter-spacing: .1em; }
.arche-mbadmin__form .close {
  position: absolute; top: 16px; right: 20px; border: none; background: none;
  color: rgba(214, 236, 255, .7); font-size: 26px; line-height: 1; cursor: pointer;
}
.arche-mbadmin__form label {
  display: flex; flex-direction: column; gap: 6px;
  color: rgba(190, 224, 255, .6); font-size: 11px; letter-spacing: .06em;
}
.arche-mbadmin__form input, .arche-mbadmin__form textarea, .arche-mbadmin__form select {
  padding: 9px 10px; border: 1px solid rgba(127, 227, 255, .2); border-radius: 4px;
  background: rgba(0, 0, 0, .5); color: #dff2ff; font: inherit; font-size: 12.5px;
}
.arche-mbadmin__form input:focus, .arche-mbadmin__form textarea:focus, .arche-mbadmin__form select:focus {
  outline: none; border-color: rgba(127, 227, 255, .55); box-shadow: 0 0 0 1px rgba(127, 227, 255, .18);
}
.arche-mbadmin__form .row { display: flex; gap: 10px; margin-top: 8px; }
.arche-mbadmin__form .row button {
  padding: 10px 22px; border: 1px solid rgba(127, 227, 255, .35); border-radius: 4px;
  background: rgba(127, 227, 255, .1); color: #7fe3ff; font: inherit; font-size: 12px;
  letter-spacing: .08em; cursor: pointer;
}
.arche-mbadmin__form .row .save { background: rgba(60, 220, 150, .16); border-color: rgba(60, 220, 150, .5); color: #64e8ac; }
.arche-mbadmin__form .row .del { background: rgba(255, 90, 90, .12); border-color: rgba(255, 90, 90, .45); color: #ff8080; }
.arche-mbadmin__form .row button:hover { filter: brightness(1.25); }
.arche-mbadmin__form .hint { margin: 6px 0 0; color: rgba(190, 224, 255, .38); font-size: 11px; }



.TopScrollIndicator__top_scroll_indicator {
  visibility: hidden !important;
  pointer-events: none !important;
}


.arche-nav {
  position: fixed;
  pointer-events: auto;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100004;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.arche-nav.is-on { opacity: 1; pointer-events: auto; }


.arche-nav::before {
  content: "";
  position: absolute;
  
  inset: -80px -130px -80px -20px;
}

.arche-nav__item, .arche-nav__card {
  display: flex;
  align-items: center;
  gap: 9px;
  
  position: relative;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.arche-nav__line, .arche-nav__tick {
  display: block;
  height: 1px;
  background: rgba(190, 224, 255, .38);
  transition: width .25s ease, background .2s ease, box-shadow .2s ease;
}
.arche-nav__line { width: 26px; }
.arche-nav__tick { width: 14px; }
.arche-nav__longline {
  display: block;
  width: 104px;              
  height: 1px;
  background: rgba(190, 224, 255, .5);
  transition: background .2s ease, box-shadow .2s ease;
}

.arche-nav__label, .arche-nav__cname {
  font-size: 10px;
  line-height: 1;
  letter-spacing: .14em;
  color: rgba(190, 224, 255, .55);
  white-space: nowrap;
  transition: color .2s ease, text-shadow .2s ease;
}
.arche-nav__label { letter-spacing: .22em; }


.arche-nav__item:hover .arche-nav__line,
.arche-nav__item:hover .arche-nav__longline,
.arche-nav__card:hover .arche-nav__tick,
.arche-nav__card.is-active .arche-nav__tick {
  background: #7fe3ff;
  box-shadow: 0 0 10px rgba(127, 227, 255, .85);
}
.arche-nav__card:hover .arche-nav__tick { width: 24px; }
.arche-nav__item:hover .arche-nav__label,
.arche-nav__card:hover .arche-nav__cname,
.arche-nav__card.is-active .arche-nav__cname {
  color: #7fe3ff;
  text-shadow: 0 0 10px rgba(127, 227, 255, .7);
}
.arche-nav__cards { display: flex; flex-direction: column; gap: 8px; padding-left: 2px; }


.arche-nav__item.is-active .arche-nav__line,
.arche-nav__item.is-active .arche-nav__longline {
  background: #7fe3ff;
  box-shadow: 0 0 10px rgba(127, 227, 255, .85);
}
.arche-nav__item.is-active .arche-nav__label {
  color: #7fe3ff;
  text-shadow: 0 0 10px rgba(127, 227, 255, .7);
}


html.arche-menu-gated,
html.arche-menu-gated body {
  overflow: hidden !important;
}


.TopScrollIndicator__subsection_item.arche-ind-item {
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}


.arche-ind-name {
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
  color: rgba(190, 224, 255, .5);
  white-space: nowrap;
  transition: color .2s ease, text-shadow .2s ease;
}


.TopScrollIndicator__subsection_item.arche-ind-item:hover .arche-ind-name,
.TopScrollIndicator__subsection_item[data-active="true"] .arche-ind-name {
  color: #7fe3ff;
  text-shadow: 0 0 10px rgba(127, 227, 255, .7);
}


.TopScrollIndicator__subsection_item.arche-ind-item:hover .TopScrollIndicator__subsection_line {
  background: #7fe3ff !important;
  box-shadow: 0 0 8px rgba(127, 227, 255, .9);
}


.arche-ind-clickable { pointer-events: auto !important; cursor: pointer; }


.arche-ind-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  pointer-events: auto;
  cursor: pointer;
}
.arche-ind-bottom-line {
  width: 96px;              
  height: 1px;
  background: rgba(190, 224, 255, .38);
  transition: background .2s ease, box-shadow .2s ease;
}
.arche-ind-bottom-text {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: .18em;
  color: rgba(190, 224, 255, .55);
  transition: color .2s ease, text-shadow .2s ease;
}
.arche-ind-bottom:hover .arche-ind-bottom-line {
  background: #7fe3ff;
  box-shadow: 0 0 10px rgba(127, 227, 255, .9);
}
.arche-ind-bottom:hover .arche-ind-bottom-text {
  color: #7fe3ff;
  text-shadow: 0 0 10px rgba(127, 227, 255, .7);
}


.arche-mbadmin__toast {
  position: fixed; left: 50%; top: 46px; transform: translateX(-50%);
  z-index: 100020; padding: 10px 20px; border-radius: 6px;
  border: 1px solid rgba(127, 227, 255, .4);
  background: rgba(6, 14, 26, .95); color: #7fe3ff;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .1em;
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .9);
}


@media (max-width: 860px) {
  .arche-menubar__label { display: none; }
  .arche-menubar__right { display: none; }
}
