:root {
  --site-shell-gold-light: #fff1d6;
  --site-shell-gold: #fbcf7a;
  --site-shell-muted: #a99d88;
  --site-shell-line: rgba(255, 235, 188, 0.2);
}

html {
  scrollbar-gutter: stable;
}

.seo-site-header,
.seo-site-header *,
.seo-site-footer,
.seo-site-footer * {
  box-sizing: border-box;
}

.seo-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 100px;
  background: linear-gradient(to right, #000, #1d0c00);
  color: var(--site-shell-gold-light);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.seo-shell-container {
  width: min(1600px, calc(100% - 48px));
  margin: 0 auto;
}

.seo-header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(286px, 1fr) auto minmax(286px, 1fr);
  align-items: center;
  column-gap: clamp(20px, 3vw, 52px);
}

.seo-brand {
  width: 230px;
  display: flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.seo-brand img {
  width: auto;
  height: 60px;
  max-width: 230px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.seo-business-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 70px);
  white-space: nowrap;
}

.seo-nav-item {
  position: relative;
  display: inline-grid;
  align-items: center;
  justify-items: center;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 24px;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}

.seo-nav-item::before,
.seo-nav-label {
  grid-area: 1 / 1;
}

.seo-nav-item::before {
  content: attr(data-label);
  font-weight: 700;
  visibility: hidden;
}

.seo-nav-item:hover,
.seo-nav-item:focus-visible {
  color: var(--site-shell-gold);
}

.seo-nav-item.active {
  background: linear-gradient(180deg, #fff1d6 44.44%, #fbcf7a 80.56%);
  background-clip: text;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-nav-item.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #fff1d6 44.44%, #fbcf7a 80.56%);
  content: '';
}

.seo-nav-user {
  width: 286px;
  min-width: 286px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 12px;
}

.seo-login-entry {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--site-shell-gold);
  border-radius: 20px;
  background: transparent;
  color: var(--site-shell-gold-light);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.seo-login-entry:hover,
.seo-login-entry:focus-visible {
  background: rgba(251, 207, 122, 0.1);
}

.seo-user-info-wrapper {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.seo-user-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff1d6 44.44%, #fbcf7a 80.56%);
}

.seo-user-avatar > span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1d0c00;
  color: var(--site-shell-gold);
  font-size: 14px;
}

.seo-user-phone {
  background: linear-gradient(180deg, #fff1d6 44.44%, #fbcf7a 80.56%);
  background-clip: text;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-user-vip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #4a4a4a;
  color: #b0b0b0;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}

.seo-user-vip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.seo-user-vip.is-vip {
  background: linear-gradient(180deg, #fff1d6 44.44%, #fbcf7a 80.56%);
  color: #1d0c00;
  font-weight: 600;
}

.seo-site-header + main {
  padding-top: 100px;
}

.seo-site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--site-shell-line);
  background: #050504;
  color: var(--site-shell-muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.seo-footer-inner {
  min-height: 190px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  line-height: 1.5;
}

.seo-footer-inner p {
  margin: 0;
  white-space: nowrap;
}

.seo-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.seo-footer-inner a {
  color: var(--site-shell-muted);
  text-decoration: none;
}

.seo-footer-inner a:hover,
.seo-footer-inner a:focus-visible {
  color: var(--site-shell-gold);
}

.seo-footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.seo-footer-divider {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1300px) {
  .seo-header-inner {
    grid-template-columns: 190px minmax(0, 1fr) 190px;
    column-gap: 20px;
  }

  .seo-brand {
    width: 190px;
  }

  .seo-business-nav {
    gap: 34px;
  }

  .seo-nav-item {
    font-size: 20px;
  }

  .seo-nav-user {
    width: 190px;
    min-width: 190px;
  }

  .seo-user-phone {
    display: none;
  }

  .seo-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 34px 0;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .seo-shell-container {
    width: calc(100% - 30px);
  }

  .seo-site-header {
    height: 116px;
  }

  .seo-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 64px 44px;
    column-gap: 14px;
    row-gap: 0;
  }

  .seo-brand {
    width: 165px;
    grid-row: 1;
    grid-column: 1;
  }

  .seo-brand img {
    height: 50px;
    max-width: 165px;
  }

  .seo-business-nav {
    width: 100%;
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 0;
  }

  .seo-nav-item {
    font-size: 14px;
  }

  .seo-nav-user {
    width: auto;
    min-width: 0;
    grid-row: 1;
    grid-column: 2;
  }

  .seo-login-entry {
    height: 40px;
    padding: 0 12px;
    font-size: 16px;
  }

  .seo-site-header + main {
    padding-top: 116px;
  }
}

@media (max-width: 600px) {
  .seo-footer-inner {
    justify-items: start;
    text-align: left;
  }

  .seo-footer-nav {
    justify-content: flex-start;
  }
}
