/* JukeBox CSS v4.17.2 — shell.css. Canonical desktop shell: app, header, navigation and footer. */

.app {
  max-width: var(--jb-shell-width) !important;
  padding: 18px 0 78px !important;
  width: min(var(--jb-shell-width), calc(100% - var(--jb-shell-gutter))) !important;
  margin: 0 auto !important;
}

.page-wrap {
  padding-top: 1rem;
  max-width: 720px !important;
  width: min(720px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 64px 0 42px !important;
}


.page-wrap > .card {
  padding: 24px !important;
  width: 100% !important;
}

.page-wrap > .box {
  padding: 24px !important;
  width: 100% !important;
}

.app-ui-modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 8, 18, 0.34);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 25000;
}

.app-ui-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.app-ui-modal-backdrop.show .app-ui-modal {
  transform: translateY(0) scale(1);
}

.app-ui-modal-header {
  padding: 20px 24px 14px;
}

.app-ui-modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.app-ui-modal-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ui-text);
  letter-spacing: .01em;
}

.app-ui-modal-subtitle {
  margin: 0;
  font-size: .84rem;
  color: var(--ui-muted);
}

.app-ui-modal-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.05));
}

.app-ui-modal-body {
  padding: 18px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-ui-modal-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  overflow: hidden;
}

.app-ui-modal-preview-thumb-wrap {
  width: 112px;
  min-width: 112px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
}

.app-ui-modal-preview-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-ui-modal-preview-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-ui-modal-preview-kicker {
  font-size: .75rem;
  line-height: 1;
  color: var(--ui-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.app-ui-modal-preview-title {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 780;
  color: var(--ui-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-ui-modal-preview-meta {
  font-size: .88rem;
  line-height: 1.45;
  color: var(--ui-muted);
}

.app-ui-modal-message {
  margin: 0;
  color: var(--ui-text-soft);
  font-size: .98rem;
  line-height: 1.7;
  white-space: normal;
}

.app-ui-modal-message p {
  margin: 0;
}

.app-ui-modal-message p + p {
  margin-top: 12px;
}

.app-ui-modal-input-wrap {
  display: none;
  margin-top: 0;
}

.app-ui-modal-input-wrap.show {
  display: block;
}

.app-ui-modal-input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,10,18,.88);
  color: var(--ui-text);
  padding: 0 14px;
  font-size: .96rem;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.app-ui-modal-input:focus {
  border-color: rgba(var(--accent-rgb), .45);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12);
}

.app-ui-modal-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  padding: 0 24px 24px;
}

.app-ui-modal-btn {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  color: var(--ui-text-soft);
  font-weight: 780;
  font-size: .89rem;
  letter-spacing: .01em;
  line-height: 1.2;
  white-space: normal;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.app-ui-modal-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  color: var(--ui-text);
}

.app-ui-modal-btn:active {
  transform: translateY(0);
}

.app-ui-modal-btn.primary {
  border-color: rgba(var(--accent-rgb), .34);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .25), rgba(var(--accent-rgb), .14));
  color: color-mix(in srgb, var(--accent) 30%, white 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.app-ui-modal-backdrop[data-tone="danger"] .app-ui-modal-btn.primary {
  border-color: rgba(240, 141, 160, .34);
  background: linear-gradient(180deg, rgba(240, 141, 160, .24), rgba(240, 141, 160, .13));
  color: #ffe4ea;
}


.app-top-notice-host {
  width: 100%;
  min-width: 0;
}

.msg.app-top-notice:not(.timed-notice) {
  display: flex !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transform: translateY(-10px) !important;
}

.flash-message.app-top-notice:not(.timed-notice) {
  display: flex !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transform: translateY(-10px) !important;
}

.app-top-notice-host > .app-top-notice:not(.timed-notice) {
  display: flex !important;
  max-height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  transform: translateY(-10px) !important;
}

.app-top-notice.timed-notice.notice-ready {
  max-height: var(--notice-open-height) !important;
  opacity: 1 !important;
  transform: translateY(0);
  margin: 18px 0 24px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  border-width: 1px !important;
}

.app-top-notice.timed-notice.is-hiding {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
}

.app-top-notice.timed-notice .timed-notice-content {
  font-size: .95rem !important;
  line-height: 1.55 !important;
  color: rgba(233,240,246,.96) !important;
}

.app-top-notice.timed-notice .timed-notice-timer {
  width: 40px !important;
  height: 40px !important;
  flex-basis: 40px !important;
  font-size: .8rem !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), 0 4px 14px rgba(0,0,0,.18) !important;
}

.app-top-notice.timed-notice .timed-notice-timer::after {
  inset: 5px !important;
  background: rgba(8,12,20,.88) !important;
}

.app-top-notice.timed-notice .timed-notice-close {
  width: 42px !important;
  height: 42px !important;
  flex-basis: 42px !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09) !important;
}

.app-top-notice.timed-notice .timed-notice-close:hover {
  background: rgba(255,255,255,.12) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16) !important;
}

.app-top-notice.timed-notice.success {
  color: #8fe3bc !important;
  border-color: rgba(73,205,143,.24) !important;
  background: linear-gradient(90deg, rgba(24,76,55,.44) 0%, rgba(10,24,20,.96) 42%, rgba(10,18,17,.94) 100%) !important;
}

.app-top-notice.timed-notice.info {
  color: #8fe3bc !important;
  border-color: rgba(73,205,143,.24) !important;
  background: linear-gradient(90deg, rgba(24,76,55,.44) 0%, rgba(10,24,20,.96) 42%, rgba(10,18,17,.94) 100%) !important;
}

.app-top-notice.timed-notice.error {
  color: #ffb0bd !important;
  border-color: rgba(235,84,111,.26) !important;
  background: linear-gradient(90deg, rgba(91,29,43,.46) 0%, rgba(28,13,18,.96) 42%, rgba(18,11,14,.94) 100%) !important;
}

.app-top-notice.timed-notice.success .timed-notice-timer {
  color: #8fe3bc !important;
}

.app-top-notice.timed-notice.info .timed-notice-timer {
  color: #8fe3bc !important;
}

.app-top-notice.timed-notice.error .timed-notice-timer {
  color: #ff8fa2 !important;
}

.app-top-notice.timed-notice {
  --notice-open-height: 112px;
  align-items: center !important;
  gap: 16px !important;
  min-height: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-width: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.03) !important;
  transition: max-height .56s cubic-bezier(.22,1,.36,1),
    opacity .34s ease,
    transform .44s cubic-bezier(.22,1,.36,1),
    margin .44s cubic-bezier(.22,1,.36,1),
    padding-top .44s cubic-bezier(.22,1,.36,1),
    padding-bottom .44s cubic-bezier(.22,1,.36,1),
    border-width .28s ease !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.app-ui-modal {
  width: min(100%, 720px);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(21, 27, 43, .97), rgba(15, 20, 32, .98));
  overflow: hidden;
  transform: translateY(8px) scale(.985);
  transition: transform .24s ease;
  box-shadow: none !important;
}


@media (max-width: 560px) {
  .app-ui-modal-backdrop {
    padding: 16px;
  }

  .app-ui-modal-preview {
    flex-direction: column;
    align-items: stretch;
  }

  .app-ui-modal-preview-thumb-wrap {
    width: 100%;
    min-width: 0;
  }

  .app-ui-modal-actions {
    grid-template-columns: 1fr;
  }

  .app-ui-modal-btn {
    width: 100%;
    min-width: 0;
  }

}

@media (max-width: 720px) {
  .app {
    width: min(100% - 20px, 1180px) !important;
    padding: 10px 0 34px !important;
  }

  .page-wrap {
    width: min(100% - 20px, 720px) !important;
    padding: 26px 0 32px !important;
  }

  

  

  

  

  

  

  .page-wrap > .card {
    padding: 18px !important;
  }

  .page-wrap > .box {
    padding: 18px !important;
  }

}

@media (max-width: 760px) {
  .app {
    padding: .9rem .8rem 3rem !important;
  }

  

  

  

  

  .page-wrap {
    padding: .7rem .8rem 2rem !important;
  }

  .page-wrap > .card {
    padding: 1.25rem !important;
  }

  .page-wrap > .box {
    padding: 1.25rem !important;
  }

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

}

@media (max-width: 900px) {
  .app {
    width: min(100% - 28px, 1180px) !important;
    padding-top: 16px !important;
  }

}


/* === Canonical authenticated desktop header ================================= */
.app-main {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
}

.site-header {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  width: 100%;
  min-width: 0;
  height: var(--jb-header-height);
  min-height: var(--jb-header-height);
  margin: 0 0 22px;
  padding: 13px 2px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid var(--ui-border);
  background: linear-gradient(180deg, #090b10, #090b10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-sizing: border-box;
  flex: 0 0 auto;
  overflow: visible;
  isolation: isolate;
  z-index: 980;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: calc(100% + 1px);
  height: 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,.14) 46%, rgba(0,0,0,0));
  border-radius: 999px;
  filter: blur(4px);
  opacity: .92;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  pointer-events: none;
}

.site-header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0;
  margin: 0;
  color: var(--ui-text);
  font-family: var(--ui-font);
  font-size: 1.46rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.logo > span:not(.logo-eq) {
  color: var(--accent);
}

.logo-eq {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--ui-border));
  border-radius: 999px;
  background: rgba(var(--accent-rgb),.055);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.025), 0 0 14px rgba(var(--accent-rgb),.08);
  animation: logoEqPulse 1.55s ease-in-out infinite;
}

.logo-eq > span {
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(var(--accent-rgb),.28);
  transform-origin: center;
  animation: logoEqBar 1.05s ease-in-out infinite;
}
.logo-eq > span:nth-child(1) { animation-delay: -.28s; }
.logo-eq > span:nth-child(2) { animation-delay: -.07s; }
.logo-eq > span:nth-child(3) { animation-delay: -.44s; }

.nav-user-outside {
  height: 40px;
  min-height: 40px;
  min-width: 0;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 0;
  padding: 1px 0;
  color: var(--ui-text);
  background: transparent;
  border: 0;
  white-space: nowrap;
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.13);
  border-radius: 50%;
  font-size: .56rem;
  font-weight: 800;
}

.nav-user-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-name {
  min-width: 0;
  max-width: 220px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-bottom: .08em;
  font-family: var(--ui-font);
  font-size: .86rem;
  font-weight: 680;
  line-height: 1.18;
}

.nav-capsule.nav-unified {
  --nav-segment-width: 118px;
  position: relative;
  min-height: 48px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 5px 9px 5px 5px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18,22,30,.94), rgba(16,20,28,.94));
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  overflow: visible;
  isolation: isolate;
}

.nav-capsule.nav-unified > .nav-link {
  width: var(--nav-segment-width);
  min-width: var(--nav-segment-width);
  max-width: var(--nav-segment-width);
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ui-muted);
  font-family: var(--ui-font);
  font-size: .86rem;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -.005em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.nav-capsule.nav-unified > .nav-link:hover {
  color: var(--ui-text);
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.07);
}

.nav-capsule.nav-unified > .nav-link.active,
body.page-home.history-nav-open .nav-capsule.nav-unified > .nav-history-link {
  color: var(--accent);
  background: rgba(var(--accent-rgb),.11);
  border-color: rgba(var(--accent-rgb),.16);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.04);
}

body.page-home.history-nav-open .nav-capsule.nav-unified > .nav-link[href="index.php"] {
  color: var(--ui-muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.nav-capsule.nav-unified > .nav-link.nav-admin.active {
  color: #ff9cb2;
  background: rgba(235,72,112,.13);
  border-color: rgba(235,72,112,.28);
}

.nav-layout-separator-right {
  width: 1px;
  min-width: 1px;
  max-width: 1px;
  margin: 0 0 0 6px;
  background: var(--ui-border-strong);
  border-radius: 999px;
  opacity: .85;
}

.nav-layout-inside {
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 38px;
  min-height: 38px;
  margin: 1px 0 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-layout-toggle {
  width: 16px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 1px 0 0;
  cursor: pointer;
}
.brand-layout-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.brand-layout-track {
  width: 14px;
  height: 28px;
  padding: 2px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 1px solid var(--ui-border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  transition: border-color .16s ease, background .16s ease;
}
.brand-layout-knob {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ui-muted);
  transform: translateY(0);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.brand-layout-toggle input:checked + .brand-layout-track {
  border-color: rgba(var(--accent-rgb),.28);
  background: rgba(var(--accent-rgb),.07);
}
.brand-layout-toggle input:checked + .brand-layout-track .brand-layout-knob {
  transform: translateY(14px);
  background: var(--accent);
  box-shadow: 0 0 7px rgba(var(--accent-rgb),.32);
}
.brand-layout-toggle input:focus-visible + .brand-layout-track {
  outline: 2px solid color-mix(in srgb, var(--accent) 82%, white 18%);
  outline-offset: 3px;
}

.nav-logout-outside {
  height: 38px;
  min-height: 38px;
  min-width: 96px;
  flex: 0 0 auto;
  margin: 0 0 0 8px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ui-muted);
  font-family: var(--ui-font);
  font-size: .86rem;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
}
.nav-logout-outside:hover {
  color: #f3a6b5;
  background: rgba(240,141,160,.07);
  border-color: rgba(240,141,160,.14);
}

/* === Canonical footer ======================================================== */
.site-footer {
  grid-column: 1 / -1;
  position: relative;
  box-sizing: border-box;
  height: var(--jb-footer-height);
  min-height: var(--jb-footer-height);
  max-height: var(--jb-footer-height);
  margin: 0;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-muted-2, #70798a);
  background: var(--ui-bg);
  border: 0;
  border-top: 1px solid var(--ui-border);
  box-shadow: none;
  font-family: "JetBrains Mono", "Cascadia Mono", "Liberation Mono", monospace;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
  overflow: visible;
  isolation: isolate;
  z-index: 940;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 100%;
  height: 18px;
  background: linear-gradient(to top, rgba(0,0,0,.42), rgba(0,0,0,.17) 46%, rgba(0,0,0,0));
  border-radius: 999px;
  filter: blur(4px);
  opacity: .9;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  pointer-events: none;
}
.footer-row {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  column-gap: 10px;
  row-gap: 0;
  font: inherit;
}
.footer-item,
.footer-version,
.footer-discord {
  position: static;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-footer a.footer-item,
.site-footer a.footer-brand-link {
  color: inherit;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer a.footer-item:hover,
.site-footer a.footer-brand-link:hover { color: var(--ui-text-soft); }
.footer-separator {
  position: static;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .45;
}
.footer-brand-signature {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
}
.footer-brand-arrow {
  display: inline-block;
  margin: 0 var(--footer-brand-arrow-gap-after, 10px) 0 var(--footer-brand-arrow-gap-before, 10px);
  font: inherit;
  font-size: var(--footer-brand-arrow-size, 90%);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: baseline;
  transform: translate(var(--footer-brand-arrow-offset-x, 0px), calc(-.07em + var(--footer-brand-arrow-offset-y, 0px)));
}
.footer-copyright-symbol {
  display: inline-block;
  margin: 0 .22ch;
  font-size: var(--footer-copyright-size, 124%);
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
  transform: translate(var(--footer-copyright-offset-x, 0px), calc(.10em + var(--footer-copyright-offset-y, 0px)));
}

@media (min-width: 901px) {
  body:not(.history-embed):not(.history-layout-split) .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: min(var(--jb-shell-width), calc(100% - var(--jb-shell-gutter)));
    max-width: min(var(--jb-shell-width), calc(100% - var(--jb-shell-gutter)));
    margin: 0 auto;
    transform: none;
  }

  body:not(.history-embed):not(.history-layout-split) .site-footer {
    position: fixed;
    inset: auto 0 0 0;
    width: min(var(--jb-shell-width), calc(100% - var(--jb-shell-gutter)));
    max-width: min(var(--jb-shell-width), calc(100% - var(--jb-shell-gutter)));
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.history-embed):not(.history-layout-split) > .app,
  body:not(.history-embed):not(.history-layout-split) > .page-wrap {
    min-height: calc(100vh - 18px);
    padding-top: var(--jb-content-top) !important;
    padding-bottom: 78px !important;
  }
}

@media (min-width: 1051px) {
  body.history-layout-split:not(.history-embed) .site-footer {
    position: sticky;
    inset: auto;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    flex: 0 0 var(--jb-footer-height);
    align-self: stretch;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 0;
    padding: 10px 0 14px;
    margin-bottom: 14px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .site-header-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .nav-user-outside { flex: 1 1 auto; }
  .nav-capsule.nav-unified {
    width: 100%;
    flex: 1 1 100%;
    order: 2;
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px;
  }
  .nav-capsule.nav-unified > .nav-link {
    width: auto;
    min-width: 0;
    max-width: none;
    height: 34px;
    min-height: 34px;
    font-size: .76rem;
  }
  .nav-layout-separator-right { display: none; }
  .nav-layout-inside { display: none; }
  .nav-logout-outside { margin-left: auto; }
  body:not(.history-embed) .site-footer {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: var(--jb-footer-height);
    max-height: none;
    margin-top: 24px;
  }
  .footer-row { flex-wrap: wrap; row-gap: 6px; padding: 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-eq,
  .logo-eq > span { animation: none; }
  .logo-eq > span:nth-child(1) { transform: scaleY(.58); }
  .logo-eq > span:nth-child(2) { transform: scaleY(1); }
  .logo-eq > span:nth-child(3) { transform: scaleY(.72); }
}
