@font-face {
  font-family: "ROLLERGI";
  src: url("/theme/GoPass/assets/fonts/ROLLERGI.TTF") format("truetype");
  font-display: swap;
}

:root {
  --gp-accent: #7d39ff;
  --gp-accent-deep: #5f24d6;
  --gp-accent-soft: #ece3ff;
  --gp-ink: #202020;
  --gp-body: #3a3a3a;
  --gp-charcoal: #575757;
  --gp-mute: #646464;
  --gp-ash: #8d8d8d;
  --gp-canvas: #f9f7f3;
  --gp-bone: #f3f0e8;
  --gp-card: #ffffff;
  --gp-dark: #202020;
  --gp-deep: #000000;
  --gp-on-dark: #fcfcfc;
  --gp-line: rgba(32, 32, 32, 0.12);
  --gp-divider-dark: rgba(255, 255, 255, 0.2);
  --gp-success: #2b9a66;
  --gp-warning: #b56b00;
  --gp-error: #c43d3d;
  --gp-focus: rgba(125, 57, 255, 0.28);
  --gp-display: "Arial Black", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --gp-logo: "ROLLERGI", "Arial Black", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --gp-ui: "Inter", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --gp-code: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --primary-color: #7d39ff;
  --adm-color-primary: #7d39ff;
}

html,
body,
#app {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--gp-canvas) !important;
  color: var(--gp-ink) !important;
  font-family: var(--gp-ui) !important;
  letter-spacing: 0 !important;
}

body,
button,
input,
textarea,
select {
  font-family: var(--gp-ui) !important;
  letter-spacing: 0 !important;
}

* {
  box-sizing: border-box;
}

*::selection {
  background: var(--gp-accent-soft);
  color: var(--gp-ink);
}

:focus-visible {
  outline: 3px solid var(--gp-focus) !important;
  outline-offset: 3px;
}

a,
.ant-typography a,
.ant-btn-link,
.n-button--tertiary-type,
.n-a {
  color: var(--gp-accent) !important;
}

a:hover,
.ant-typography a:hover,
.ant-btn-link:hover {
  color: var(--gp-accent-deep) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ant-typography,
.ant-card-head-title,
.n-card-header__main,
.ant-statistic-content,
.n-statistic-value {
  color: var(--gp-ink) !important;
  letter-spacing: 0 !important;
}

h1,
h2,
h3,
.ant-card-head-title,
.n-card-header__main,
.ant-statistic-content-value,
.n-statistic-value {
  font-family: var(--gp-display) !important;
  font-weight: 800 !important;
}

h1 {
  font-size: 72px !important;
  line-height: 1 !important;
}

h2 {
  font-size: 36px !important;
  line-height: 1 !important;
}

h3,
.ant-card-head-title,
.n-card-header__main {
  line-height: 1.2 !important;
}

p,
.ant-typography,
.n-text {
  line-height: 1.5 !important;
}

.n-layout,
.n-layout-content,
.ant-layout,
.ant-layout-content,
.ant-pro-layout,
.ant-pro-layout-container {
  background: var(--gp-canvas) !important;
  color: var(--gp-ink) !important;
}

.n-layout-header,
.ant-layout-header,
.ant-pro-layout .ant-pro-layout-header,
header[class*="header"] {
  min-height: 60px !important;
  background: rgba(249, 247, 243, 0.96) !important;
  border-bottom: 1px solid var(--gp-line) !important;
  color: var(--gp-ink) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.n-layout-sider,
.ant-layout-sider,
.ant-pro-sider,
.ant-pro-layout .ant-pro-sider,
aside[class*="sider"] {
  background: var(--gp-bone) !important;
  border-right: 1px solid var(--gp-line) !important;
  color: var(--gp-ink) !important;
  box-shadow: none !important;
}

.n-layout-sider-scroll-container,
.ant-pro-sider-links,
.ant-pro-sider-collapsed-button {
  background: var(--gp-bone) !important;
}

.n-menu,
.ant-menu,
.ant-pro-sider-menu {
  background: transparent !important;
  color: var(--gp-ink) !important;
  border: 0 !important;
}

.ant-menu-item,
.ant-menu-submenu-title,
.n-menu-item-content,
.n-menu-item-content-header {
  min-height: 44px !important;
  border-radius: 999px !important;
  color: var(--gp-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.ant-menu-item::after {
  display: none !important;
}

.ant-menu-item:hover,
.ant-menu-submenu-title:hover,
.n-menu-item-content:hover {
  background: rgba(255, 255, 255, 0.62) !important;
  color: var(--gp-accent) !important;
}

.ant-menu-item-selected,
.ant-menu-submenu-selected > .ant-menu-submenu-title,
.n-menu-item-content--selected {
  background: var(--gp-card) !important;
  color: var(--gp-accent) !important;
}

button,
.ant-btn,
.n-button,
.adm-button {
  min-height: 44px;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.ant-btn-sm,
.n-button--small-type {
  min-height: 36px !important;
}

.ant-btn-default,
.n-button--default-type {
  background: var(--gp-card) !important;
  border-color: var(--gp-ink) !important;
  color: var(--gp-ink) !important;
}

.ant-btn-default:hover,
.n-button--default-type:hover {
  background: var(--gp-bone) !important;
  border-color: var(--gp-ink) !important;
  color: var(--gp-ink) !important;
}

.ant-btn-primary,
.n-button--primary-type,
.adm-button-primary {
  background: var(--gp-accent) !important;
  border-color: var(--gp-accent) !important;
  color: #ffffff !important;
}

.ant-btn-primary:hover,
.ant-btn-primary:focus,
.n-button--primary-type:hover,
.adm-button-primary:hover {
  background: var(--gp-accent-deep) !important;
  border-color: var(--gp-accent-deep) !important;
  color: #ffffff !important;
}

.ant-btn-dangerous,
.n-button--error-type {
  background: var(--gp-error) !important;
  border-color: var(--gp-error) !important;
  color: #ffffff !important;
}

.ant-input,
.ant-input-affix-wrapper,
.ant-input-number,
.ant-select-selector,
.ant-picker,
.n-input,
.n-input-wrapper,
.n-base-selection,
.n-date-picker,
.adm-input-element {
  min-height: 44px !important;
  background: var(--gp-card) !important;
  border-color: var(--gp-line) !important;
  border-radius: 999px !important;
  color: var(--gp-ink) !important;
  box-shadow: none !important;
}

textarea.ant-input,
.n-input textarea {
  min-height: 120px !important;
  padding: 14px 16px !important;
  border-radius: 10px !important;
}

.ant-input::placeholder,
.n-input__placeholder,
.adm-input-element::placeholder {
  color: var(--gp-ash) !important;
}

.ant-input:focus,
.ant-input-focused,
.ant-input-affix-wrapper-focused,
.ant-select-focused .ant-select-selector,
.n-input--focus,
.n-base-selection--active {
  border-color: var(--gp-accent) !important;
  box-shadow: 0 0 0 3px var(--gp-focus) !important;
}

.ant-checkbox-checked .ant-checkbox-inner,
.ant-radio-checked .ant-radio-inner,
.n-checkbox--checked .n-checkbox-box,
.n-radio--checked .n-radio__dot {
  background: var(--gp-accent) !important;
  border-color: var(--gp-accent) !important;
}

.ant-switch-checked,
.n-switch--active .n-switch__rail {
  background: var(--gp-accent) !important;
}

.ant-form-item-label > label,
.n-form-item-label {
  color: var(--gp-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.ant-card,
.n-card,
.adm-card {
  background: var(--gp-card) !important;
  border: 1px solid var(--gp-line) !important;
  border-radius: 10px !important;
  color: var(--gp-ink) !important;
  box-shadow: none !important;
}

.ant-card-head,
.n-card-header {
  min-height: 56px !important;
  border-bottom: 1px solid var(--gp-line) !important;
}

.ant-card-body,
.n-card__content {
  padding: 24px !important;
}

.ant-statistic-title,
.n-statistic-label,
.ant-descriptions-item-label,
.ant-form-item-extra {
  color: var(--gp-charcoal) !important;
}

.ant-statistic-content,
.n-statistic-value {
  font-size: 34px !important;
  line-height: 1.1 !important;
}

.ant-table-wrapper,
.n-data-table {
  overflow: hidden !important;
  border: 1px solid var(--gp-line) !important;
  border-radius: 10px !important;
  background: var(--gp-card) !important;
  box-shadow: none !important;
}

.ant-table,
.ant-table-container,
.n-data-table-base-table {
  background: var(--gp-card) !important;
  color: var(--gp-ink) !important;
}

.ant-table-thead > tr > th,
.n-data-table-th {
  min-height: 48px !important;
  background: var(--gp-bone) !important;
  color: var(--gp-charcoal) !important;
  border-color: var(--gp-line) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.ant-table-tbody > tr > td,
.n-data-table-td {
  min-height: 56px !important;
  background: var(--gp-card) !important;
  color: var(--gp-ink) !important;
  border-color: var(--gp-line) !important;
}

.ant-table-tbody > tr:hover > td,
.n-data-table-tr:hover .n-data-table-td {
  background: var(--gp-canvas) !important;
}

.ant-tabs-nav::before,
.n-tabs-nav::before {
  border-color: var(--gp-line) !important;
}

.ant-tabs-tab,
.n-tabs-tab {
  color: var(--gp-charcoal) !important;
  font-weight: 700 !important;
}

.ant-tabs-tab-active .ant-tabs-tab-btn,
.n-tabs-tab--active {
  color: var(--gp-accent) !important;
}

.ant-tabs-ink-bar,
.n-tabs-bar {
  background: var(--gp-accent) !important;
}

.ant-tag,
.n-tag,
.adm-tag {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: var(--gp-canvas) !important;
  border-color: var(--gp-line) !important;
  color: var(--gp-ink) !important;
}

.ant-tag-success,
.n-tag--success,
.adm-tag-success {
  background: var(--gp-success) !important;
  border-color: var(--gp-success) !important;
  color: #ffffff !important;
}

.ant-tag-warning,
.n-tag--warning {
  background: rgba(181, 107, 0, 0.1) !important;
  border-color: rgba(181, 107, 0, 0.24) !important;
  color: var(--gp-warning) !important;
}

.ant-tag-error,
.n-tag--error {
  background: rgba(196, 61, 61, 0.1) !important;
  border-color: rgba(196, 61, 61, 0.24) !important;
  color: var(--gp-error) !important;
}

.ant-progress-inner,
.n-progress-graph-line-rail {
  background: var(--gp-bone) !important;
  border-radius: 999px !important;
}

.ant-progress-bg,
.n-progress-graph-line-fill {
  background: var(--gp-accent) !important;
  border-radius: 999px !important;
}

.ant-alert,
.n-alert {
  border: 1px solid var(--gp-line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.ant-alert-info,
.n-alert--info-type {
  background: var(--gp-accent-soft) !important;
  border-color: rgba(125, 57, 255, 0.2) !important;
}

.ant-modal-content,
.n-modal,
.ant-drawer-content,
.n-drawer-content,
.ant-popover-inner,
.n-popover,
.ant-dropdown-menu,
.n-dropdown-menu {
  background: var(--gp-card) !important;
  border: 1px solid var(--gp-line) !important;
  border-radius: 10px !important;
  color: var(--gp-ink) !important;
  box-shadow: 0 8px 24px rgba(32, 32, 32, 0.08) !important;
}

.ant-modal-header,
.ant-drawer-header,
.n-drawer-header {
  background: var(--gp-card) !important;
  border-color: var(--gp-line) !important;
}

.ant-modal-title,
.n-dialog__title,
.n-drawer-header__main {
  color: var(--gp-ink) !important;
  font-family: var(--gp-display) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.ant-pagination-item,
.ant-pagination-prev .ant-pagination-item-link,
.ant-pagination-next .ant-pagination-item-link,
.n-pagination-item {
  border-color: var(--gp-line) !important;
  border-radius: 999px !important;
  background: var(--gp-card) !important;
  color: var(--gp-ink) !important;
}

.ant-pagination-item-active,
.n-pagination-item--active {
  border-color: var(--gp-accent) !important;
  background: var(--gp-accent) !important;
  color: #ffffff !important;
}

.ant-collapse,
.n-collapse {
  background: transparent !important;
  border-color: var(--gp-line) !important;
}

.ant-collapse-item,
.n-collapse-item {
  border-color: var(--gp-line) !important;
}

.ant-collapse-header,
.n-collapse-item__header-main {
  color: var(--gp-ink) !important;
  font-weight: 700 !important;
}

pre,
code,
.ant-typography code {
  font-family: var(--gp-code) !important;
  letter-spacing: 0 !important;
}

pre {
  padding: 24px !important;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border: 1px solid var(--gp-divider-dark) !important;
  border-radius: 10px !important;
  background: var(--gp-dark) !important;
  color: var(--gp-on-dark) !important;
  line-height: 1.6 !important;
}

code {
  border-radius: 4px !important;
}

.ant-empty-description,
.n-empty__description,
.ant-breadcrumb,
.n-breadcrumb {
  color: var(--gp-charcoal) !important;
}

.ant-divider,
.n-divider {
  border-color: var(--gp-line) !important;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 56px !important;
  }

  h2 {
    font-size: 40px !important;
  }

  .ant-card-body,
  .n-card__content {
    padding: 20px !important;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: 44px !important;
  }

  h2 {
    font-size: 36px !important;
  }

  button,
  .ant-btn,
  .n-button,
  .adm-button {
    min-height: 38px !important;
  }

  .n-layout-sider,
  .ant-layout-sider,
  .ant-pro-sider {
    border-right: 0 !important;
  }

  .ant-modal,
  .n-modal {
    max-width: calc(100vw - 32px) !important;
    margin: 16px !important;
  }

  .ant-table-wrapper,
  .n-data-table {
    overflow-x: auto !important;
  }
}

/* Public GoPass landing page */
.gp-landing {
  display: none;
  min-width: 320px;
  background: var(--gp-canvas);
  color: var(--gp-ink);
}

.gp-landing-active .gp-landing {
  display: block;
}

.gp-landing-active #app {
  display: none !important;
}

html:not(.gp-landing-active) #app {
  display: block;
}

.gp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(249, 247, 243, 0.96);
  border-bottom: 1px solid var(--gp-line);
  backdrop-filter: blur(14px);
  transform: translate3d(0, 0, 0);
  will-change: transform, background-color, box-shadow;
}

.gp-nav.is-scrolled {
  background: rgba(249, 247, 243, 0.9);
  box-shadow: 0 18px 42px rgba(32, 32, 32, 0.08);
}

.gp-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.gp-brand img,
.gp-brand .gp-logo-image {
  width: 138px;
  height: 32px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.gp-text-logo {
  max-width: min(360px, 48vw);
  overflow: hidden;
  color: #202020;
  font-family: var(--gp-logo);
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-text-logo.gp-text-logo-chinese {
  font-family: var(--gp-ui) !important;
  font-size: 32px !important;
  font-weight: 600 !important;
}

.gp-text-logo-mark {
  color: #7d39ff;
}

.gp-nav-links,
.gp-actions {
  display: flex;
  align-items: center;
}

.gp-nav-links {
  gap: 24px;
  margin-left: auto;
}

#gopass-landing .gp-nav-links {
  height: 60px;
  align-self: stretch;
  align-items: center;
}

.gp-nav-links button {
  height: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--gp-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.gp-nav-links button:hover,
.gp-nav-links button:focus-visible {
  background: transparent !important;
  color: var(--gp-accent);
}

.gp-actions {
  gap: 10px;
}

#gopass-landing .gp-nav > .gp-actions {
  height: 60px;
  align-self: stretch;
  align-items: center;
  margin: 0;
}

.gp-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gp-ink);
  border-radius: 999px;
  background: var(--gp-card);
  color: var(--gp-ink) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.gp-button:hover {
  background: var(--gp-bone);
  color: var(--gp-ink) !important;
}

.gp-button-primary {
  border-color: var(--gp-accent);
  background: var(--gp-accent);
  color: #ffffff !important;
}

.gp-button-primary:hover {
  border-color: var(--gp-accent-deep);
  background: var(--gp-accent-deep);
  color: #ffffff !important;
}

.gp-button-dark {
  border-color: var(--gp-dark);
  background: var(--gp-dark);
  color: var(--gp-on-dark) !important;
}

.gp-button-dark:hover {
  border-color: var(--gp-deep);
  background: var(--gp-deep);
  color: #ffffff !important;
}

.gp-button-small {
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 36px;
}

#gopass-landing .gp-nav .gp-button-small {
  height: 36px !important;
  min-height: 36px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 36px !important;
}

.gp-hero {
  min-height: min(780px, calc(100svh - 108px));
  display: flex;
  background: var(--gp-accent);
  color: #ffffff;
}

.gp-hero-inner {
  width: 100%;
  max-width: 1440px;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 72px 0px 48px;
}

.gp-eyebrow {
  display: block;
  margin-bottom: 20px;
  font-family: var(--gp-code);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

#gopass-landing .gp-hero h1 {
  max-width: 1180px;
  margin: 0;
  color: #ffffff !important;
  font-family: var(--gp-display) !important;
  font-size: 128px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-hero-summary {
  max-width: 1180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 32px;
}

.gp-hero-summary p {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.55 !important;
}

.gp-hero .gp-button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--gp-accent-deep) !important;
}

.gp-hero .gp-button-primary:hover {
  background: var(--gp-canvas);
}

.gp-network-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.46);
}

.gp-network-metric {
  min-width: 0;
  padding: 18px 20px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.46);
}

.gp-network-metric:first-child {
  border-left: 0;
}

.gp-network-metric strong {
  display: block;
  color: #ffffff;
  font-family: var(--gp-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}

.gp-network-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.gp-section {
  padding: 96px 32px;
}

.gp-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.gp-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

#gopass-landing .gp-section h2 {
  margin: 0;
  color: var(--gp-ink) !important;
  font-family: var(--gp-display) !important;
  font-size: 52px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-section-header > p,
.gp-code-layout > div > p {
  max-width: 720px;
  margin: 0;
  color: var(--gp-body);
  font-size: 18px;
  line-height: 1.56 !important;
}

.gp-grid {
  display: grid;
  gap: 16px;
}

.gp-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

#gopass-landing .gp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
}

#gopass-landing .gp-feature-grid > .gp-feature-card {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

#gopass-landing .gp-feature-grid > .gp-feature-card > :first-child {
  margin-top: 0 !important;
}

#gopass-landing .gp-feature-grid > .gp-feature-card p {
  flex: 1 1 auto;
}

.gp-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gp-card {
  min-width: 0;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--gp-line);
  border-radius: 10px;
  background: var(--gp-card);
}

#gopass-landing .gp-card h3 {
  margin: 16px 0 10px;
  color: var(--gp-ink) !important;
  font-family: var(--gp-display) !important;
  font-size: 30px;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.gp-card > h3:first-child {
  margin-top: 0 !important;
}

.gp-card p {
  margin: 0;
  color: var(--gp-charcoal);
}

.gp-pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 10px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  background: var(--gp-canvas);
  color: var(--gp-ink);
  font-size: 12px;
}

.gp-dark-band {
  background: var(--gp-dark);
  color: var(--gp-on-dark);
}

#gopass-landing .gp-dark-band h2 {
  color: var(--gp-on-dark) !important;
}

.gp-dark-band .gp-code-layout > div > p {
  color: rgba(252, 252, 252, 0.72);
}

.gp-code-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.gp-code-well {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--gp-divider-dark);
  border-radius: 10px;
  background: var(--gp-dark);
  color: var(--gp-on-dark);
  font-family: var(--gp-code);
  font-size: 14px;
  line-height: 1.6;
}

.gp-code-well pre {
  margin: 0;
  padding: 0 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--gp-on-dark) !important;
  box-shadow: none !important;
}

.gp-code-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  overflow-x: auto;
}

.gp-code-tab {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--gp-deep);
  color: rgba(252, 252, 252, 0.72);
  font-size: 11px;
}

.gp-code-tab-active {
  color: #ffffff;
  box-shadow: inset 0 -2px 0 var(--gp-accent);
}

.gp-bone-band {
  background: var(--gp-bone);
}

.gp-plans-showcase {
  background: #7d39ff;
}

.gp-plans-container {
  max-width: 1440px;
}

.gp-plans-header {
  align-items: start;
}

#gopass-landing .gp-plans-header .gp-eyebrow,
#gopass-landing .gp-plans-header h2 {
  color: #ffffff !important;
}

#gopass-landing .gp-plans-header > p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.gp-plan-slider {
  position: relative;
  min-height: 492px;
}

.gp-plan-slider-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.gp-plan-slider-status:empty {
  display: none;
}

.gp-plan-slider-status.is-error {
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(32, 32, 32, 0.18);
  color: #ffffff;
}

.gp-plan-slider-viewport {
  overflow: hidden;
  margin: 0px;
  padding: 0px;
}

.gp-plan-slider-track {
  display: flex;
  width: max-content;
  gap: 16px;
  will-change: transform;
}

.gp-plan-slide-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.gp-plan-slide-card {
  width: min(420px, calc(100vw - 64px));
  flex: 0 0 min(420px, calc(100vw - 64px));
  box-shadow: 0 24px 54px rgba(32, 32, 32, 0.18);
}

.gp-plan-slide-card .gp-feature-list {
  max-height: 176px;
  overflow: hidden;
}

.gp-plan-slide-card .gp-feature-list .is-muted {
  color: var(--gp-muted);
  text-decoration: line-through;
}

.gp-plan-slide-card .gpc-plan-description {
  display: grid;
  gap: 8px;
  border: 0;
  color: inherit;
}

.gp-plan-slide-card .gpc-plan-description h4,
.gp-plan-slide-card .gpc-plan-description p,
.gp-plan-slide-card .gpc-plan-description ul {
  margin: 0;
}

.gp-plan-slide-card .gpc-plan-description ul {
  display: grid;
  gap: 8px;
  padding-left: 0;
}

.gp-plan-slide-card .gpc-plan-description a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gp-plan-slide-empty {
  max-width: 520px;
}

.gp-pricing-grid {
  align-items: stretch;
}

.gp-pricing-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 8px;
}

#gopass-landing .gp-pricing-card h3 {
  margin: 20px 0 0;
  font-size: 30px;
}

.gp-price {
  margin: 8px 0 18px;
  color: var(--gp-ink);
  font-family: var(--gp-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.gp-price small {
  font-family: var(--gp-ui);
  font-size: 14px;
  font-weight: 400;
}

.gp-feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--gp-line);
  color: var(--gp-charcoal);
  font-size: 14px;
}

.gp-feature-list span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gp-success);
  font-weight: 800;
}

.gp-pricing-card .gp-button {
  align-self: flex-start;
  margin-top: auto;
}

.gp-pill-success {
  border-color: var(--gp-success);
  background: var(--gp-success);
  color: #ffffff;
}

.gp-pricing-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: transparent !important;
  background: var(--gp-card) !important;
  color: var(--gp-ink) !important;
  box-shadow: 0 0 26px rgba(125, 57, 255, 0.3), 0 24px 54px rgba(32, 32, 32, 0.18);
}

#gopass-landing .gp-console-login-button,
#gopass-landing .gp-console-login-button:visited,
#gopass-landing .gp-console-login-button:hover,
#gopass-landing .gp-console-login-button:focus-visible {
  color: #202020 !important;
}

.gp-pricing-glow-border,
.gp-pricing-glow-surface {
  position: absolute;
  pointer-events: none;
}

.gp-pricing-glow-border {
  inset: -75%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    rgba(125, 57, 255, 0.18) 0deg,
    rgba(125, 57, 255, 0.18) 205deg,
    #b98cff 248deg,
    #ffffff 276deg,
    #7d39ff 308deg,
    rgba(125, 57, 255, 0.22) 344deg,
    rgba(125, 57, 255, 0.18) 360deg
  );
  will-change: transform;
}

.gp-pricing-glow-surface {
  inset: 1px;
  z-index: 1;
  border-radius: 7px;
  background: var(--gp-card);
}

.gp-pricing-glow > :not(.gp-pricing-glow-border):not(.gp-pricing-glow-surface) {
  position: relative;
  z-index: 2;
}

.gp-closing-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--gp-line);
}

#gopass-landing .gp-closing-action h2 {
  max-width: 760px;
  font-size: 52px !important;
}

.gp-footer {
  padding: 64px 32px 32px;
  background: var(--gp-deep);
  color: var(--gp-on-dark);
  transform-origin: 50% 100%;
  will-change: transform;
}

.gp-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(120px, 0.5fr));
  gap: 40px;
}

.gp-footer-brand img {
  width: 138px;
  height: auto;
  filter: none;
}

.gp-footer-brand .gp-text-logo {
  display: inline-flex;
  max-width: 320px;
  color: #ffffff;
  font-size: 42px;
}

.gp-footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: rgba(252, 252, 252, 0.66);
}

#gopass-landing .gp-footer h3 {
  margin: 0 0 16px;
  color: var(--gp-on-dark) !important;
  font-family: var(--gp-ui) !important;
  font-size: 14px;
  font-weight: 700 !important;
}

.gp-footer a {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: rgba(252, 252, 252, 0.72) !important;
  font-size: 14px;
}

.gp-footer a:hover {
  color: #ffffff !important;
}

.gp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gp-divider-dark);
  color: rgba(252, 252, 252, 0.56);
  font-size: 12px;
}

@media (max-width: 1280px) {
  #gopass-landing .gp-hero h1 {
    font-size: 96px !important;
  }
}

@media (max-width: 1024px) {
  .gp-nav-links {
    display: none;
  }

  .gp-hero {
    min-height: 660px;
  }

  #gopass-landing .gp-hero h1 {
    font-size: 72px !important;
  }

  #gopass-landing .gp-section h2 {
    font-size: 52px !important;
  }

  .gp-section-header,
  .gp-code-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gp-closing-action {
    display: block;
  }

  .gp-closing-action .gp-actions {
    margin-top: 24px;
  }
}

@media (max-width: 720px) {
  .gp-nav {
    gap: 12px;
    padding: 0 16px;
  }

  .gp-brand img,
  .gp-brand .gp-logo-image {
    width: 112px;
    height: 28px;
  }

  .gp-brand .gp-text-logo {
    max-width: 168px;
    font-size: 42px;
  }

  .gp-nav .gp-button-small {
    min-height: 40px;
    padding: 0 14px;
  }

  .gp-nav .gp-actions .gp-button:first-child {
    display: none;
  }

  .gp-hero {
    min-height: auto;
  }

  .gp-hero-inner {
    min-height: 680px;
    padding: 56px 32px 32px;
  }

  #gopass-landing .gp-hero h1 {
    font-size: 56px !important;
  }

  .gp-hero-summary {
    display: block;
    margin-top: 24px;
  }

  .gp-hero-summary p {
    font-size: 18px;
  }

  .gp-hero-summary .gp-actions {
    align-items: stretch;
    margin-top: 24px;
  }

  .gp-hero-summary .gp-button {
    flex: 1 1 0;
    padding: 0 16px;
  }

  .gp-network-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
  }

  .gp-network-metric:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.46);
    border-left: 0;
  }

  .gp-network-metric:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.46);
  }

  .gp-network-metric strong {
    font-size: 30px;
  }

  .gp-section {
    padding: 64px 32px;
  }

  #gopass-landing .gp-section h2 {
    font-size: 52px !important;
  }

  .gp-grid-3,
  #gopass-landing .gp-feature-grid,
  .gp-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .gp-plan-slider {
    min-height: 450px;
  }

  .gp-plan-slide-card {
    width: calc(100vw - 64px);
    flex-basis: calc(100vw - 64px);
    min-height: 420px;
    padding: 24px;
  }

  #gopass-landing .gp-plan-slide-card h3 {
    font-size: 26px;
  }

  .gp-plan-slide-card .gp-price {
    font-size: 52px;
  }

  .gp-closing-action {
    margin-top: 56px;
    padding-top: 40px;
  }

  #gopass-landing .gp-closing-action h2 {
    font-size: 52px !important;
  }

  .gp-closing-action .gp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gp-footer {
    padding: 48px 20px 28px;
  }

  .gp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gp-footer-brand {
    grid-column: 1 / -1;
  }

  .gp-footer-bottom {
    display: block;
  }

  .gp-footer-bottom span {
    display: block;
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  #gopass-landing .gp-hero h1 {
    font-size: 48px !important;
  }

  .gp-hero-summary .gp-actions {
    flex-direction: column;
  }

  .gp-hero-summary .gp-button {
    width: 100%;
  }

  .gp-footer-grid {
    grid-template-columns: 1fr;
  }

  .gp-footer-brand {
    grid-column: auto;
  }
}

/* GoPass motion landing */
.gp-motion-hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #151515;
  isolation: isolate;
}

.gp-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #151515;
}

.gp-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.72;
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.05);
}

.gp-hero-video-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.58) 42%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(180deg, rgba(125, 57, 255, 0.16) 0%, rgba(0, 0, 0, 0.1) 48%, rgba(0, 0, 0, 0.76) 100%);
}

.gp-motion-hero .gp-hero-inner {
  min-height: 0;
  padding-top: 100px;
}

#gopass-landing .gp-motion-hero h1 {
  max-width: 1440px;
  color: #ffffff !important;
}

#gopass-landing .gp-motion-hero h1 span {
  display: block;
}

.gp-motion-hero .gp-hero-summary {
  max-width: 1440px;
}

.gp-motion-hero .gp-hero-summary p {
  max-width: 640px;
}

.gp-motion-status {
  width: min(100%, 1440px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(18px);
}

.gp-motion-status > div {
  min-width: 0;
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.gp-motion-status > div:first-child {
  border-left: 0;
}

.gp-motion-status span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.gp-motion-status strong {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.35;
}

.gp-ai-marquee {
  width: min(100%, 1440px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 10px 12px 10px 18px;
  color: #ffffff;
}

.gp-ai-marquee-label {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--gp-code);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.gp-ai-marquee-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.gp-ai-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 14px;
  will-change: transform;
}

.gp-ai-marquee-group {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.gp-ai-marquee-group span {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.gp-ai-marquee-group img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.gp-motion-hero .gp-network-strip {
  width: 100%;
  margin-top: 22px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.gp-motion-hero .gp-button-dark {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff !important;
}

.gp-motion-hero .gp-button-dark:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.gp-connect-motion {
  position: relative;
  overflow: hidden;
}

.gp-connect-motion .gp-code-layout {
  align-items: center;
}

.gp-connect-copy {
  position: relative;
  z-index: 2;
}

.gp-route-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gp-route-card {
  min-width: 0;
  min-height: 144px;
  padding: 20px;
  border: 1px solid var(--gp-divider-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gp-on-dark);
}

.gp-route-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 2px 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--gp-code);
  font-size: 11px;
}

.gp-route-card strong {
  display: block;
  margin-top: 18px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
}

.gp-route-card p {
  margin: 10px 0 0;
  color: rgba(252, 252, 252, 0.68);
  line-height: 1.55;
}

.gp-route-stage .gp-code-well {
  grid-column: 1 / -1;
}

#gopass-landing .gp-card,
#gopass-landing .gp-code-well {
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .gp-motion-hero .gp-hero-inner {
    min-height: 0;
  }

  .gp-motion-status,
  .gp-route-stage {
    grid-template-columns: 1fr;
  }

  .gp-motion-status > div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .gp-motion-status > div:first-child {
    border-top: 0;
  }

  .gp-ai-marquee {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .gp-motion-hero .gp-hero-inner {
    min-height: 0;
    padding-top: 100px;
  }

  .gp-hero-video {
    opacity: 0.58;
  }

  .gp-hero-video-wash {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 44%, rgba(0, 0, 0, 0.82) 100%),
      linear-gradient(90deg, rgba(125, 57, 255, 0.18) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .gp-motion-status {
    margin-top: 32px;
  }

  .gp-ai-marquee {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
    padding: 12px;
  }

  .gp-ai-marquee-group span {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .gp-ai-marquee-group img {
    width: 28px;
    height: 28px;
  }

  .gp-route-card {
    min-height: 128px;
  }

  .gp-motion-hero .gp-network-strip {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-hero-video {
    transform: none;
  }
}

/* Real XBoard auth and user pages */
.gp-app-shell,
.gp-app-pane {
  min-width: 0;
  min-height: 100svh;
}

.gp-landing-active .gp-app-shell {
  display: none;
}

.gp-auth-aside {
  display: none;
}

.gp-auth-active .gp-app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  grid-template-rows: 60px minmax(0, 1fr);
  min-height: 100svh;
}

.gp-auth-nav {
  display: none;
}

.gp-auth-active .gp-auth-nav {
  grid-column: 1 / -1;
  grid-row: 1;
  z-index: 2;
  min-width: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(249, 247, 243, 0.96);
  border-bottom: 1px solid var(--gp-line);
  backdrop-filter: blur(14px);
}

.gp-auth-active .gp-auth-aside {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: calc(100svh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 72px 48px 48px;
  background: var(--gp-accent);
  color: #ffffff;
}

.gp-auth-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.gp-auth-brand img {
  width: 138px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.gp-auth-message {
  margin: auto 0;
  padding: 56px 0;
}

.gp-auth-message .gp-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

#gopass-auth-aside .gp-auth-message h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff !important;
  font-family: var(--gp-display) !important;
  font-size: 96px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-auth-message p {
  max-width: 660px;
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.55 !important;
}

.gp-auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.gp-auth-points > div {
  padding: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.gp-auth-points > div:first-child {
  border-left: 0;
}

.gp-auth-active .gp-app-pane,
.gp-auth-active #app {
  min-height: calc(100svh - 60px);
  background: var(--gp-canvas) !important;
}

.gp-auth-active .gp-app-pane {
  grid-column: 2;
  grid-row: 2;
}

.gp-auth-active #app .wh-full.flex.items-center.justify-center {
  min-height: calc(100svh - 60px) !important;
  padding: 48px !important;
  background: var(--gp-canvas) !important;
}

.gp-auth-active #app .n-card.mx-auto.max-w-md {
  width: 100% !important;
  max-width: 420px !important;
  margin: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.gp-auth-active #app .n-card.mx-auto.max-w-md .n-card__content {
  padding: 0 !important;
}

.gp-auth-active #app .n-card__content > .p-6 {
  padding: 0 !important;
}

.gp-auth-active #app .n-card__content > .p-6 > .text-center:first-child {
  text-align: left !important;
}

.gp-auth-active #app .n-card__content > .p-6 > .text-center:first-child img {
  width: 138px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 28px !important;
}

.gp-auth-active #app .n-card__content > .p-6 > .text-center:first-child::after {
  display: block;
  margin-bottom: 10px;
  color: var(--gp-ink);
  font-family: var(--gp-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.gp-login-route #app .n-card__content > .p-6 > .text-center:first-child::after {
  content: "登录";
}

.gp-register-route #app .n-card__content > .p-6 > .text-center:first-child::after {
  content: "创建账户";
}

.gp-forget-route #app .n-card__content > .p-6 > .text-center:first-child::after {
  content: "重置密码";
}

.gp-auth-active #app .n-card__content > .p-6 > .text-muted {
  margin: 0 0 28px !important;
  color: var(--gp-charcoal) !important;
  text-align: left !important;
}

.gp-auth-active #app .n-card__content > .p-6 > .mt-5 {
  margin-top: 16px !important;
}

.gp-auth-active #app .n-card__content > .flex.justify-between {
  margin-top: 28px;
  padding: 18px 20px !important;
  border: 1px solid var(--gp-line);
  border-radius: 10px;
  background: var(--gp-bone) !important;
}

.gp-auth-active #app .n-card__content > .flex.justify-between a {
  color: var(--gp-charcoal) !important;
  font-weight: 700;
}

.gp-auth-active #app .n-card__content > .flex.justify-between a:hover {
  color: var(--gp-accent) !important;
}

.gp-user-active .gp-app-shell,
.gp-user-active .gp-app-pane,
.gp-user-active #app {
  min-height: 100svh;
  background: var(--gp-canvas) !important;
}

.gp-user-active #app [class~="bg-hex-f5f6fb"],
.gp-user-active #app [class~="bg-[#f5f6fb]"] {
  background: var(--gp-canvas) !important;
}

.gp-user-active #app article.flex.flex-col.flex-1.overflow-hidden > header {
  min-height: 60px;
  background: rgba(249, 247, 243, 0.96) !important;
  border-bottom: 1px solid var(--gp-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

.gp-user-active #app article.flex.flex-col.flex-1.overflow-hidden > section {
  background: var(--gp-canvas) !important;
}

.gp-user-active #app .cus-scroll-y.wh-full.flex-col {
  padding: 40px !important;
  background: var(--gp-canvas) !important;
}

.gp-user-active #app .cus-scroll-y.wh-full.flex-col::before {
  flex: 0 0 auto;
  display: block;
  margin: 0 0 32px;
  color: var(--gp-ink);
  font-family: var(--gp-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

html[data-gp-route="dashboard"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "概览";
}

html[data-gp-route="plan"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "选择套餐";
}

html[data-gp-route="order"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "我的订单";
}

html[data-gp-route="ticket"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "支持工单";
}

html[data-gp-route="knowledge"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "使用文档";
}

html[data-gp-route="profile"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "个人中心";
}

html[data-gp-route="invite"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "我的邀请";
}

html[data-gp-route="node"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "节点状态";
}

html[data-gp-route="traffic"] #app .cus-scroll-y.wh-full.flex-col::before {
  content: "流量明细";
}

.gp-user-active #app .n-layout-sider,
.gp-user-active #app .side-menu {
  background: var(--gp-bone) !important;
}

.gp-user-active #app .n-layout-sider {
  border-right: 1px solid var(--gp-line) !important;
}

.gp-user-active #app .h-15.f-c-c.relative {
  min-height: 60px;
  border-bottom: 1px solid var(--gp-line);
}

.gp-user-active #app .h-15.f-c-c.relative img {
  width: 120px;
  height: 30px;
  object-fit: contain;
}

.gp-user-active #app .side-menu .n-menu-item-content,
.gp-user-active #app .side-menu .n-menu-item-content-header {
  min-height: 44px !important;
  border-radius: 999px !important;
}

.gp-user-active #app .n-card {
  box-shadow: none !important;
}

html[data-gp-route="plan"] #app .n-card {
  border-radius: 16px !important;
}

html[data-gp-route="dashboard"] #app .n-statistic-value,
html[data-gp-route="traffic"] #app .n-statistic-value {
  font-family: var(--gp-display) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
}

html[data-gp-route="order"] #app .n-data-table,
html[data-gp-route="ticket"] #app .n-data-table,
html[data-gp-route="node"] #app .n-data-table,
html[data-gp-route="traffic"] #app .n-data-table {
  border: 1px solid var(--gp-line) !important;
  border-radius: 10px !important;
  background: var(--gp-card) !important;
}

html[data-gp-route="profile"] #app .n-form,
html[data-gp-route="ticket"] #app .n-form {
  max-width: 780px;
}

@media (max-width: 1280px) {
  #gopass-auth-aside .gp-auth-message h1 {
    font-size: 80px !important;
  }
}

@media (max-width: 1024px) {
  .gp-auth-active .gp-app-shell {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 500px);
  }

  #gopass-auth-aside .gp-auth-message h1 {
    font-size: 64px !important;
  }

  .gp-user-active #app .cus-scroll-y.wh-full.flex-col {
    padding: 32px !important;
  }
}

@media (max-width: 860px) {
  .gp-auth-active .gp-app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: 60px auto auto;
  }

  .gp-auth-active .gp-auth-nav {
    grid-column: 1;
    grid-row: 1;
  }

  .gp-auth-active .gp-auth-aside {
    grid-column: 1;
    grid-row: 2;
    min-height: 500px;
    padding: 40px 24px 32px;
  }

  .gp-auth-active .gp-app-pane {
    grid-column: 1;
    grid-row: 3;
  }

  .gp-auth-message {
    padding: 64px 0 48px;
  }

  .gp-auth-active .gp-app-pane,
  .gp-auth-active #app,
  .gp-auth-active #app .wh-full.flex.items-center.justify-center {
    min-height: auto !important;
  }

  .gp-auth-active #app .wh-full.flex.items-center.justify-center {
    padding: 64px 24px 80px !important;
  }
}

@media (max-width: 720px) {
  .gp-auth-active .gp-auth-nav {
    padding: 0 16px;
  }

  .gp-auth-active .gp-auth-nav .gp-button {
    min-height: 40px;
    padding: 0 14px;
  }

  .gp-auth-active .gp-auth-aside {
    min-height: 460px;
    padding: 32px 20px;
  }

  .gp-auth-brand img {
    width: 112px;
    height: 28px;
  }

  #gopass-auth-aside .gp-auth-message h1 {
    font-size: 48px !important;
  }

  .gp-auth-message p {
    font-size: 18px;
  }

  .gp-auth-points {
    grid-template-columns: 1fr;
  }

  .gp-auth-points > div {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 0;
  }

  .gp-auth-points > div:first-child {
    border-top: 0;
  }

  .gp-auth-active #app .n-card__content > .p-6 > .text-center:first-child::after {
    font-size: 44px;
  }

  .gp-user-active #app .cus-scroll-y.wh-full.flex-col {
    padding: 24px 20px 64px !important;
  }

  .gp-user-active #app .cus-scroll-y.wh-full.flex-col::before {
    margin-bottom: 24px;
    font-size: 44px;
  }
}

/* Lightweight theme-owned login */
.gp-login-page {
  display: none;
  min-width: 320px;
  min-height: 100svh;
  background: var(--gp-canvas);
  color: var(--gp-ink);
}

.gp-login-active .gp-login-page {
  display: block;
}

.gp-login-active .gp-app-shell {
  display: none !important;
}

.gp-app-shell,
.gp-user-active .gp-app-shell,
.gp-user-active #app {
  width: 100%;
  min-width: 0;
  min-height: 100svh;
}

html.gp-auth-active .gp-app-shell {
  display: block !important;
}

.gp-app-loader {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--gp-canvas);
}

.gp-app-loading-state,
.gp-app-error-state {
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.gp-app-loading-state {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.gp-app-loading-state p,
.gp-app-error-state p {
  margin: 0;
  color: var(--gp-charcoal);
}

.gp-app-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gp-accent-soft);
  border-top-color: var(--gp-accent);
  border-radius: 50%;
  animation: gp-app-spin 700ms linear infinite;
}

.gp-app-error-state {
  display: none;
}

.gp-app-error-state h1 {
  margin: 0 0 12px;
  font-family: var(--gp-display) !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-app-error-state .gp-button {
  margin-top: 24px;
}

#app.gp-app-load-failed .gp-app-loading-state {
  display: none;
}

#app.gp-app-load-failed .gp-app-error-state {
  display: block;
}

@keyframes gp-app-spin {
  to {
    transform: rotate(360deg);
  }
}

.gp-login-nav {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: rgba(249, 247, 243, 0.96);
  border-bottom: 1px solid var(--gp-line);
  backdrop-filter: blur(14px);
}

.gp-login-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: fit-content;
  text-decoration: none;
}

.gp-login-brand img,
.gp-login-brand .gp-logo-image {
  width: 138px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.gp-login-brand .gp-text-logo {
  max-width: min(360px, 58vw);
}

.gp-login-nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-inline-start: auto;
}

.gp-login-main {
  min-height: calc(100svh - 116px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
}

.gp-login-copy {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 72px 48px 48px;
  background:
    linear-gradient(180deg, rgba(125, 57, 255, 0.92), rgba(59, 19, 142, 0.95)),
    url("/theme/GoPass/assets/bynario-animation/hero-bg.png") center / cover no-repeat,
    var(--gp-accent);
  color: #ffffff;
  isolation: isolate;
}

.gp-login-copy::before,
.gp-login-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gp-login-copy::before {
  z-index: 1;
  background:
    radial-gradient(circle at 54% 58%, rgba(255, 255, 255, 0.13), transparent 23%),
    radial-gradient(circle at 50% 70%, rgba(125, 57, 255, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(32, 32, 32, 0.04), rgba(32, 32, 32, 0.34));
}

.gp-login-copy::after {
  z-index: 4;
  opacity: 0.34;
  mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px);
}

.gp-auth-motion {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.gp-auth-motion-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.gp-auth-motion-field {
  z-index: 1;
  opacity: 0.64;
}

.gp-auth-motion-globe {
  z-index: 3;
}

.gp-auth-flag-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.gp-auth-flag-layer::before,
.gp-auth-flag-layer::after {
  content: "";
  position: absolute;
  left: var(--gp-auth-orbit-cx, 50%);
  top: var(--gp-auth-orbit-cy, 58%);
  width: var(--gp-auth-orbit-w, 680px);
  height: var(--gp-auth-orbit-h, 260px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  opacity: 0.58;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.gp-auth-flag-layer::after {
  width: calc(var(--gp-auth-orbit-w, 680px) * 0.84);
  height: calc(var(--gp-auth-orbit-h, 260px) * 1.08);
  opacity: 0.34;
  transform: translate(-50%, -50%) rotate(18deg);
}

.gp-auth-flag {
  position: absolute;
  left: 0;
  top: 0;
  width: 42px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(32, 20, 70, 0.44);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.14),
    inset 0 0 12px rgba(255, 255, 255, 0.08);
  overflow: visible;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: left, top, transform, opacity, filter;
}

.gp-auth-flag img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}

.gp-auth-flag::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.gp-auth-readout {
  position: absolute;
  z-index: 6;
  color: rgba(252, 252, 252, 0.56);
  font-family: "Courier New", monospace;
  font-size: 9px;
  line-height: 15px;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.2);
  animation: gpAuthCodePulse 2.6s ease-in-out infinite;
}

.gp-auth-readout-left {
  left: 11%;
  bottom: 12%;
}

.gp-auth-readout-right {
  right: 10%;
  top: 55%;
  color: rgba(252, 252, 252, 0.34);
  animation-delay: 600ms;
}

.gp-login-message,
.gp-login-points {
  position: relative;
  z-index: 6;
}

.gp-login-message {
  margin: auto 0;
  padding: 56px 0;
}

.gp-login-message .gp-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.gp-login-message h1 {
  max-width: 900px;
  margin: 0;
  color: #ffffff !important;
  font-family: var(--gp-display) !important;
  font-size: 96px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-login-message p {
  max-width: 660px;
  margin: 28px 0 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.55 !important;
}

.gp-login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.gp-login-points > div {
  min-width: 0;
  padding: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.gp-login-points > div:first-child {
  border-left: 0;
}

@keyframes gpAuthCodePulse {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 0.84;
  }
}

.gp-login-form-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 48px;
  background: var(--gp-canvas);
}

.gp-login-form-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.gp-auth-panel {
  display: none;
}

.gp-login-page [hidden] {
  display: none !important;
}

html[data-gp-route="login"] .gp-auth-panel[data-auth-panel="login"],
html[data-gp-route="register"] .gp-auth-panel[data-auth-panel="register"],
html[data-gp-route="forgetpassword"] .gp-auth-panel[data-auth-panel="forget"] {
  display: block;
}

.gp-login-form-wrap h2 {
  margin: 0;
  font-family: var(--gp-display) !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.gp-login-intro {
  margin: 10px 0 28px;
  color: var(--gp-charcoal);
  line-height: 1.5;
}

.gp-login-form {
  display: grid;
  gap: 16px;
}

.gp-auth-panel.is-register-closed .gp-login-form {
  display: none;
}

.gp-login-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.gp-login-field label {
  color: var(--gp-ink);
  font-size: 14px;
  font-weight: 700;
}

.gp-login-field input,
.gp-login-field select {
  width: 100%;
  height: 46px;
  padding: 0 18px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  background: var(--gp-card);
  color: var(--gp-ink);
  font-size: 16px;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gp-login-field select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--gp-ink) 50%), linear-gradient(135deg, var(--gp-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.gp-login-field input:hover,
.gp-login-field select:hover {
  border-color: rgba(32, 32, 32, 0.3);
}

.gp-login-field input:focus,
.gp-login-field select:focus {
  border-color: var(--gp-accent);
  outline: 0 !important;
  box-shadow: 0 0 0 3px var(--gp-focus);
}

.gp-login-field input::placeholder {
  color: var(--gp-ash);
}

.gp-email-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.gp-email-input-row.is-suffix-mode {
  grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  background: var(--gp-card);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gp-email-input-row.is-suffix-mode:hover {
  border-color: rgba(32, 32, 32, 0.3);
}

.gp-email-input-row.is-suffix-mode:focus-within {
  border-color: var(--gp-accent);
  box-shadow: 0 0 0 3px var(--gp-focus);
}

.gp-email-input-row.is-suffix-mode input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}

.gp-email-input-row.is-suffix-mode select {
  min-width: 132px;
  border: 0;
  border-left: 1px solid var(--gp-line);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none !important;
}

.gp-code-field > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.gp-code-field .gp-button {
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.gp-captcha-field {
  min-height: 1px;
}

.gp-captcha-field:not([hidden]) {
  display: flex;
  justify-content: center;
}

.gp-captcha-field > div {
  max-width: 100%;
}

.gp-login-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.gp-login-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.gp-login-error {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--gp-error);
  background: rgba(196, 61, 61, 0.08);
  color: var(--gp-error);
  font-size: 14px;
  line-height: 1.45;
}

.gp-auth-feedback {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--gp-error);
  background: rgba(196, 61, 61, 0.08);
  color: var(--gp-error);
  font-size: 14px;
  line-height: 1.45;
}

.gp-auth-feedback.is-success {
  border-left-color: var(--gp-success);
  background: rgba(43, 154, 102, 0.1);
  color: var(--gp-success);
}

.gp-login-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 700;
}

.gp-login-security {
  width: 100%;
  max-width: 420px;
  margin-top: 36px;
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
  border: 1px solid var(--gp-divider-dark);
  border-radius: 8px;
  background: var(--gp-dark);
  color: var(--gp-on-dark);
  font-family: var(--gp-code);
}

.gp-login-security > span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--gp-deep);
  color: #ffffff;
  font-size: 11px;
  box-shadow: inset 0 -2px 0 var(--gp-accent);
}

.gp-login-security dl {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.gp-login-security dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.gp-login-security dt,
.gp-login-security dd {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.gp-login-security dt {
  color: rgba(252, 252, 252, 0.7);
}

.gp-login-security dd {
  color: #ffffff;
}

.gp-login-footer {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: var(--gp-deep);
  color: rgba(252, 252, 252, 0.6);
  font-size: 12px;
}

@media (max-width: 1280px) {
  .gp-login-message h1 {
    font-size: 80px !important;
  }
}

@media (max-width: 1024px) {
  .gp-login-main {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 500px);
  }

  .gp-login-message h1 {
    font-size: 64px !important;
  }
}

@media (max-width: 860px) {
  .gp-login-main {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .gp-login-copy {
    min-height: 500px;
    padding: 40px 24px 32px;
  }

  .gp-auth-readout-left {
    left: 8%;
    bottom: 8%;
  }

  .gp-auth-readout-right {
    right: 8%;
    top: 58%;
  }

  .gp-login-message {
    padding: 64px 0 48px;
  }

  .gp-login-form-pane {
    min-height: 620px;
    padding: 64px 24px 80px;
  }
}

@media (max-width: 720px) {
  .gp-login-nav {
    padding: 0 16px;
  }

  .gp-login-nav .gp-button {
    min-height: 40px;
    padding: 0 14px;
  }

  .gp-code-field > div {
    grid-template-columns: 1fr;
  }

  .gp-email-input-row.is-suffix-mode {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 24px;
  }

  .gp-email-input-row.is-suffix-mode select {
    border-top: 1px solid var(--gp-line);
    border-left: 0;
  }

  .gp-code-field .gp-button {
    width: 100%;
  }

  .gp-login-brand img,
  .gp-login-brand .gp-logo-image {
    width: 112px;
    height: 28px;
  }

  .gp-login-brand .gp-text-logo {
    max-width: 180px;
    font-size: 42px;
  }

  .gp-login-copy {
    min-height: 460px;
    padding: 32px 20px;
  }

  .gp-auth-flag {
    width: 34px;
    height: 24px;
  }

  .gp-auth-readout-right {
    display: none;
  }

  .gp-login-message h1 {
    font-size: 48px !important;
  }

  .gp-login-message p {
    font-size: 18px;
  }

  .gp-login-points {
    grid-template-columns: 1fr;
  }

  .gp-login-points > div {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 0;
  }

  .gp-login-points > div:first-child {
    border-top: 0;
  }

  .gp-login-form-pane {
    min-height: 0;
    padding: 56px 20px 72px;
  }

  .gp-login-form-wrap h2 {
    font-size: 44px !important;
  }

  .gp-login-footer {
    display: block;
    padding: 18px 20px;
  }

  .gp-login-footer span {
    display: block;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-auth-readout {
    animation: none;
  }
}

/* Replicate-style XBoard workspace */
.gp-user-active #app .n-layout,
.gp-user-active #app article,
.gp-user-active #app article > section {
}

.gp-user-active #app article.flex.flex-col.flex-1.overflow-hidden > header {
  height: 60px !important;
  min-height: 60px !important;
  padding: 0 32px !important;
}

.gp-user-active #app .n-layout-sider {
  background: var(--gp-bone) !important;
}

.gp-user-active #app .n-layout-sider-scroll-container {
  padding: 0 18px 24px;
}

.gp-user-active #app .h-15.f-c-c.relative {
  margin: 0 -18px 20px;
  padding: 0 18px;
  background: var(--gp-canvas);
}

.gp-user-active #app .side-menu .n-menu-item {
  margin-top: 4px !important;
}

.gp-user-active #app .side-menu .n-menu-item-content {
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
}

.gp-user-active #app .side-menu .n-menu-item-content::before {
  border-radius: 999px !important;
}

.gp-user-active #app .side-menu .n-menu-item-content--selected {
  background: var(--gp-card) !important;
}

.gp-user-active #app .side-menu .n-menu-item-content--selected,
.gp-user-active #app .side-menu .n-menu-item-content--selected .n-menu-item-content-header,
.gp-user-active #app .side-menu .n-menu-item-content--selected .n-icon {
  color: var(--gp-accent) !important;
}

.gp-user-active #app .side-menu .n-menu-item-group-title {
  padding: 20px 14px 8px !important;
  color: var(--gp-ash) !important;
  font-family: var(--gp-code) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.gp-user-active #app .gp-workspace-page {
  width: 100%;
  min-width: 0;
  padding: 48px 40px 80px !important;
  background: var(--gp-canvas) !important;
}

.gp-user-active #app .gp-workspace-page::before {
  margin: 0 0 32px;
  font-size: 64px;
}

html[data-gp-route="dashboard"] #app .gp-workspace-page {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-content: start;
}

html[data-gp-route="dashboard"] #app .gp-workspace-page::before {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  font-size: 72px;
}

html[data-gp-route="dashboard"] #app .gp-workspace-page > div:first-of-type {
  grid-column: 1 / -1;
  margin: 0 !important;
}

html[data-gp-route="dashboard"] #app .gp-workspace-page > .n-card {
  min-width: 0;
  margin: 0 !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="subscription"] {
  grid-column: 1;
  min-height: 280px;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] {
  grid-column: 2;
  min-height: 280px;
}

html[data-gp-route="dashboard"] #app [data-gp-card="subscription"] .n-card__content {
  display: flex;
  flex-direction: column;
}

html[data-gp-route="dashboard"] #app [data-gp-card="subscription"] .text-block {
  margin: 0 0 12px !important;
  font-family: var(--gp-display) !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="subscription"] .n-progress {
  margin: 22px 0 12px;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] .n-card__content {
  padding: 0 !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] .n-list-item {
  min-height: 68px;
  padding: 14px 20px !important;
  border-color: var(--gp-line) !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] .n-list-item:hover {
  background: var(--gp-bone) !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] .text-base {
  color: var(--gp-ink) !important;
  font-weight: 700 !important;
}

html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] .text-sm {
  margin-top: 3px;
  color: var(--gp-charcoal) !important;
}

html[data-gp-route="dashboard"] #app .bg-orange-600 {
  background: var(--gp-accent) !important;
}

.gp-user-active #app .gp-workspace-page .n-card {
  border-radius: 8px !important;
}

.gp-user-active #app .gp-workspace-page .n-card-header__main {
  color: var(--gp-ink) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.gp-user-active #app .gp-workspace-page > .n-card + .n-card {
  margin-top: 24px;
}

html[data-gp-route="dashboard"] #app .gp-workspace-page > .n-card + .n-card {
  margin-top: 0;
}

.gp-user-active #app .gp-workspace-page .n-data-table {
  border-radius: 8px !important;
}

html[data-gp-route="plan"] #app .gp-workspace-page .n-card {
  min-height: 420px;
  border-radius: 8px !important;
}

html[data-gp-route="profile"] #app .gp-workspace-page .n-form,
html[data-gp-route="ticket"] #app .gp-workspace-page .n-form {
  max-width: 780px;
}

@media (min-width: 951px) {
  .gp-user-active #app .n-layout-sider {
    width: 248px !important;
    min-width: 248px !important;
    max-width: 248px !important;
  }
}

@media (max-width: 1180px) {
  html[data-gp-route="dashboard"] #app .gp-workspace-page {
    grid-template-columns: 1fr;
  }

  html[data-gp-route="dashboard"] #app [data-gp-card="subscription"],
  html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] {
    grid-column: 1;
  }
}

@media (max-width: 950px) {
  .gp-user-active #app article.flex.flex-col.flex-1.overflow-hidden > header {
    padding: 0 24px !important;
  }

  .gp-user-active #app .gp-workspace-page {
    padding: 40px 24px 72px !important;
  }

  .gp-user-active #app .gp-workspace-page::before,
  html[data-gp-route="dashboard"] #app .gp-workspace-page::before {
    font-size: 56px;
  }
}

@media (max-width: 720px) {
  .gp-user-active #app article.flex.flex-col.flex-1.overflow-hidden > header {
    padding: 0 16px !important;
  }

  .gp-user-active #app .gp-workspace-page {
    padding: 32px 16px 64px !important;
  }

  .gp-user-active #app .gp-workspace-page::before,
  html[data-gp-route="dashboard"] #app .gp-workspace-page::before {
    margin-bottom: 0;
    font-size: 44px;
  }

  html[data-gp-route="dashboard"] #app [data-gp-card="subscription"],
  html[data-gp-route="dashboard"] #app [data-gp-card="shortcuts"] {
    min-height: 0;
  }
}

/* AI landing hero transfer */
#gopass-landing.gp-landing {
  background: #000100;
  color: #f5f7f8;
  font-family: Inter, "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
}

#gopass-landing .gp-nav {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  height: 94px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  transition: width 260ms ease, height 260ms ease, padding 260ms ease, background-color 260ms ease, border-radius 260ms ease, box-shadow 260ms ease;
}

#gopass-landing .gp-brand {
  grid-column: 1;
  justify-self: start;
  color: #ffffff;
}

#gopass-landing .gp-brand img,
#gopass-landing .gp-brand .gp-logo-image {
  width: 138px;
  height: 32px;
}

#gopass-landing .gp-brand .gp-text-logo {
  color: #ffffff;
  font-size: 32px;
}

#gopass-landing .gp-brand .gp-text-logo-mark {
  color: #7d39ff;
}

#gopass-landing .gp-nav.is-scrolled .gp-brand .gp-text-logo-mark {
  color: #ffffff;
}

#gopass-landing .gp-nav-links {
  grid-column: 2;
  justify-self: center;
  height: 94px;
  margin: 0;
  gap: clamp(24px, 3.2vw, 54px);
}

#gopass-landing .gp-nav-links button {
  position: relative;
  height: 36px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 520;
}

#gopass-landing .gp-nav-links button::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: #3df6c5;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

#gopass-landing .gp-nav-links button:hover::after,
#gopass-landing .gp-nav-links button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

#gopass-landing .gp-nav-links button:hover,
#gopass-landing .gp-nav-links button:focus-visible {
  color: #ffffff;
}

#gopass-landing .gp-nav > .gp-actions {
  grid-column: 3;
  justify-self: end;
  height: auto;
  margin: 0;
  gap: 10px;
}

#gopass-landing .gp-nav .gp-button-small {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff !important;
  font-size: 14px;
  line-height: 42px !important;
}

#gopass-landing .gp-nav .gp-button-small:hover {
  border-color: rgba(61, 246, 197, 0.55);
  background: rgba(61, 246, 197, 0.08);
}

#gopass-landing .gp-nav .gp-button-primary {
  border-color: #7d39ff;
  background: #7d39ff;
  color: #ffffff !important;
}

#gopass-landing .gp-nav.is-scrolled .gp-button-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #7d39ff !important;
}

#gopass-landing .gp-nav.is-scrolled {
  right: auto;
  left: 50%;
  width: min(1440px, calc(100% - 48px));
  height: 64px;
  padding: 0 28px;
  transform: translateX(-50%);
  background: rgba(125, 57, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 42px rgba(31, 10, 82, 0.32);
  backdrop-filter: blur(14px);
}

#gopass-landing .gp-nav.is-scrolled .gp-nav-links {
  height: 64px;
}

#gopass-landing .gp-motion-hero {
  min-height: 0;
  height: auto;
  display: block;
  overflow: visible;
  background: #000100;
  color: #ffffff;
}

#gopass-landing .gp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: auto;
  background: #000100;
}

#gopass-landing.gp-video-disabled .gp-hero-media {
  display: none;
}

#gopass-landing .gp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -50%;
  opacity: 0.5;
  transform: none !important;
  filter: none;
  backface-visibility: hidden;
  contain: paint;
  will-change: transform;
}

#gopass-landing .gp-hero-video-wash {
  background: linear-gradient(180deg, rgba(0, 1, 0, 0) 58%, rgba(125, 57, 255, .5) 100%);
}

#gopass-landing .gp-motion-hero .gp-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 64px));
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding-top: 120px;
  align-items: center;
  text-align: center;
}

#gopass-landing .gp-motion-hero .gp-eyebrow {
  margin-bottom: 28px;
  color: rgba(246, 249, 250, 0.72);
}

#gopass-landing .gp-motion-hero h1 {
  max-width: 1440px;
  margin: 0;
  color: #f9faf8 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(60px, 6.6vw, 104px) !important;
  font-weight: 400 !important;
  line-height: 0.91 !important;
  letter-spacing: 0 !important;
  text-shadow: -1px 0 rgba(255, 44, 64, 0.82), 1px 0 rgba(64, 255, 235, 0.86);
  transform: scaleX(0.8);
}

#gopass-landing .gp-motion-hero h1 span {
  display: block;
}

#gopass-landing .gp-motion-hero .gp-hero-summary {
  width: min(100%, 960px);
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  margin-bottom: 32px;
}

#gopass-landing .gp-motion-hero .gp-hero-summary p {
  max-width: 840px;
  margin: 0;
  color: rgba(246, 249, 250, 0.9);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6 !important;
  text-align: center;
}

#gopass-landing .gp-motion-hero .gp-hero-summary .gp-actions {
  justify-content: center;
  margin-top: 26px;
}

#gopass-landing .gp-motion-hero .gp-hero-summary .gp-button-primary {
  border-color: #7d39ff;
  background: #7d39ff;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(125, 57, 255, .2);
}

#gopass-landing .gp-motion-hero .gp-hero-summary .gp-button-primary:hover {
  border-color: #35cabe;
  background: #35cabe;
}

#gopass-landing .gp-motion-hero .gp-hero-summary .gp-button-dark {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.025);
  color: #ffffff !important;
}

#gopass-landing .gp-motion-status {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  color: #ffffff;
  backdrop-filter: blur(14px);
}

#gopass-landing .gp-motion-status > div {
  min-width: 0;
  padding: 12px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

#gopass-landing .gp-motion-status > div:first-child {
  border-left: 0;
}

#gopass-landing .gp-motion-status span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
}

#gopass-landing .gp-motion-status strong {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.3;
}

#gopass-landing .gp-ai-marquee {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 6px 0;
  color: #ffffff;
}

#gopass-landing .gp-ai-marquee-label {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--gp-code);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

#gopass-landing .gp-ai-marquee-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

#gopass-landing .gp-ai-marquee-track,
#gopass-landing .gp-ai-marquee-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

#gopass-landing .gp-ai-marquee-track {
  width: max-content;
  will-change: transform;
}

#gopass-landing .gp-ai-marquee-group {
  padding-right: 10px;
}

#gopass-landing .gp-ai-marquee-group span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
}

#gopass-landing .gp-ai-marquee-group img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

#gopass-landing .gp-motion-hero .gp-network-strip {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

#gopass-landing .gp-motion-hero .gp-network-metric {
  min-width: 0;
  padding: 10px 14px 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
}

#gopass-landing .gp-motion-hero .gp-network-metric:first-child {
  border-left: 0;
}

#gopass-landing .gp-motion-hero .gp-network-metric strong {
  display: block;
  color: #ffffff;
  font-family: var(--gp-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
}

#gopass-landing .gp-motion-hero .gp-network-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

#gopass-landing #gopass-footer {
  scroll-margin-top: 24px;
}

#gopass-landing #gopass-features {
  background: #f9f7f3;
}

@media (max-width: 900px) and (min-width: 721px) {
  #gopass-landing .gp-nav-links {
    gap: 18px;
  }

  #gopass-landing .gp-nav-links button {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  #gopass-landing .gp-nav {
    width: 100%;
    height: 78px;
    padding: 0 16px;
  }

  #gopass-landing .gp-nav.is-scrolled {
    width: calc(100% - 24px);
    height: 64px;
    padding: 0 16px;
  }

  #gopass-landing .gp-nav-links {
    display: none;
  }

  #gopass-landing .gp-nav .gp-button-small {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    line-height: 38px !important;
  }

  #gopass-landing .gp-motion-hero .gp-hero-inner {
    width: calc(100% - 28px);
    padding-top: 112px;
    padding-bottom: 36px;
  }

  #gopass-landing .gp-motion-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 10vw, 60px) !important;
    transform: scaleX(1);
  }

  #gopass-landing .gp-motion-hero .gp-hero-summary {
    margin-top: 26px;
  }

  #gopass-landing .gp-motion-hero .gp-hero-summary p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.6 !important;
  }

  #gopass-landing .gp-motion-hero .gp-hero-summary .gp-actions {
    width: 100%;
    margin-top: 26px;
  }

  #gopass-landing .gp-motion-hero .gp-hero-summary .gp-button {
    flex: 1 1 0;
    padding: 0 14px;
    font-size: 13px;
  }

  #gopass-landing .gp-hero-media {
    height: auto;
  }

  #gopass-landing .gp-motion-status {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  #gopass-landing .gp-motion-status > div {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  #gopass-landing .gp-motion-status > div:first-child {
    border-top: 0;
  }

  #gopass-landing .gp-ai-marquee {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 0;
  }

  #gopass-landing .gp-ai-marquee-group span {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  #gopass-landing .gp-ai-marquee-group img {
    width: 21px;
    height: 21px;
  }

  #gopass-landing .gp-motion-hero .gp-network-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
  }

  #gopass-landing .gp-motion-hero .gp-network-metric:nth-child(3),
  #gopass-landing .gp-motion-hero .gp-network-metric:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  #gopass-landing .gp-motion-hero .gp-network-metric:nth-child(3) {
    border-left: 0;
  }
}

#gopass-landing .gp-nav > .gp-actions .gp-language-trigger {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
}

#gopass-landing .gp-nav > .gp-actions .gp-language-current {
  display: none;
}

#gopass-landing .gp-nav > .gp-actions > .gp-button:not(.gp-button-primary),
#gopass-landing .gp-nav > .gp-actions > .gp-button:not(.gp-button-primary):visited,
#gopass-landing .gp-nav > .gp-actions > .gp-button:not(.gp-button-primary):hover,
#gopass-landing .gp-nav > .gp-actions > .gp-button:not(.gp-button-primary):focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #202020 !important;
}

@media (max-width: 720px) {
  #gopass-landing .gp-nav {
    gap: 8px;
  }

  #gopass-landing .gp-nav > .gp-actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 5px;
    min-width: 0;
  }

  #gopass-landing .gp-nav > .gp-actions > .gp-language-switcher {
    flex: 0 0 40px;
  }

  #gopass-landing .gp-nav > .gp-actions .gp-language-trigger {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  #gopass-landing .gp-nav > .gp-actions > .gp-button-small {
    height: 40px !important;
    min-height: 40px !important;
    min-width: 0;
    padding-right: 6px !important;
    padding-left: 6px !important;
    font-size: 12px;
    line-height: 40px !important;
    white-space: nowrap;
  }

  #gopass-landing .gp-brand img,
  #gopass-landing .gp-brand .gp-logo-image {
    width: 112px;
    height: 28px;
  }

  #gopass-landing .gp-brand .gp-text-logo {
    max-width: 112px;
    font-size: 32px;
  }
}
