@font-face {
  font-family: Manrope;
  src: url("/assets/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #192930;
  --muted: #516268;
  --paper: #f0f0e8;
  --surface: #fafbf6;
  --line: #d1d7cf;
  --blue: #365d70;
  --blue-hover: #244757;
  --red: #873b48;
  --pale: #e2e9e8;
  --radius: 14px;
  --shadow: 0 18px 52px #0c202531;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a,
button,
input,
textarea,
select {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #ae6570;
}
::selection {
  background: #b8ced8;
  color: #14232c;
}
input,
textarea {
  caret-color: var(--red);
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #7c9199 var(--paper);
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 780;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
p {
  line-height: 1.7;
}
small {
  font-size: 0.78rem;
}
svg.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  background: var(--surface);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.wrap {
  width: min(1320px, calc(100% - 96px));
  margin-inline: auto;
}
.topbar {
  background: var(--ink);
  color: var(--paper);
  height: 82px;
  position: relative;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0.15em;
  font-size: 12px;
  white-space: nowrap;
}
.brand img {
  width: 42px;
  height: 42px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.nav-links a {
  position: relative;
  padding: 12px 0;
  color: #d8e1e1;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}
.nav-links a[aria-current="page"]:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #c67d87;
}
.nav-account {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #58717e;
  padding: 10px 16px;
  border-radius: 7px;
  font-size: 13px;
}
.menu-toggle {
  display: none;
  color: inherit;
  background: none;
  border: 1px solid #58717e;
  padding: 9px;
  border-radius: 6px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  min-height: 46px;
  transition:
    background 0.2s,
    transform 0.25s var(--ease);
}
.btn:hover:not(:disabled) {
  background: var(--blue-hover);
  transform: translateY(-2px);
}
.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn.secondary:hover {
  background: #dfe7e5;
}
.btn.light {
  color: #fff;
  border-color: #ffffff90;
  background: #172d3559;
}
.btn.light:hover {
  background: #172d35ad;
}
.btn.small {
  padding: 9px 14px;
  min-height: 38px;
  font-size: 12px;
}
.btn.full {
  width: 100%;
}
.text-link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.muted {
  color: var(--muted);
}
.hero {
  position: relative;
  min-height: 660px;
  isolation: isolate;
  overflow: hidden;
  background: #30566c;
  color: white;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  z-index: -3;
  animation: hero-open 1.4s var(--ease) both;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #102731ce 0%, #162c3c39 56%, #132c3c14),
    linear-gradient(0deg, #0e283c80, transparent 50%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 338px;
  gap: 9%;
  align-items: center;
  padding-block: 48px 64px;
  min-height: 660px;
}
.hero-copy {
  max-width: 620px;
  padding-block: 40px;
}
.hero-copy h1 {
  max-width: 650px;
}
.hero-copy p {
  font-size: 17px;
  max-width: 430px;
  line-height: 1.65;
  color: #e6eff0;
  margin: 25px 0 30px;
}
.hero-note {
  position: absolute;
  bottom: 18px;
  left: 48px;
  color: #d1e1e4;
  font-size: 10px;
}
.hero .auth-box {
  box-shadow: var(--shadow);
}
.auth-box {
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
}
.auth-box h2 {
  font-size: 26px;
}
.auth-box .intro {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 22px;
}
.auth-box .signup {
  font-size: 12px;
  text-align: center;
  margin-top: 22px;
}
.auth-box .signup a {
  font-weight: 800;
  color: var(--red);
}
label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 7px;
}
.field {
  margin-bottom: 17px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #b7c4c3;
  border-radius: 6px;
  padding: 12px;
  color: var(--ink);
  background: #ffffff;
  min-height: 44px;
}
input::placeholder,
textarea::placeholder {
  color: #62757b;
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 48px;
}
.eye {
  position: absolute;
  right: 5px;
  top: 4px;
  padding: 9px;
  border: 0;
  background: none;
  color: var(--muted);
}
.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  margin: 2px 0 18px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  line-height: 1.55;
}
.check input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  margin: 20px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.social-login {
  display: flex;
  gap: 9px;
}
.social-login button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px;
  flex: 1;
  font-size: 11px;
  min-height: 42px;
}
.provider-symbol {
  font-size: 16px;
  font-weight: 800;
}
.social-login button:hover {
  background: var(--pale);
}
.notice {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--pale);
  font-size: 12px;
  line-height: 1.6;
  color: #304a53;
}
.notice.warning {
  background: #f0e5dc;
  color: #624124;
}
.notice.error {
  background: #f4e5e6;
  color: #812b3e;
}
.notice.success {
  background: #dfebe3;
  color: #24513e;
}
.form-message:empty {
  display: none;
}
.form-message {
  margin-top: 15px;
}
.auth-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 15px;
  text-align: center;
}
.status-strip {
  border-bottom: 1px solid var(--line);
  background: #e8ece6;
}
.status-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  padding-block: 24px;
  gap: 24px;
  align-items: center;
}
.server-status {
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ae7942;
  flex: none;
}
.status-dot.online {
  background: #49715d;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-size: 22px;
  font-weight: 730;
}
.section {
  padding-block: 85px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}
.section-heading p {
  font-size: 13px;
  color: var(--muted);
  max-width: 430px;
  margin-top: 13px;
}
.tabs {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.tabs button {
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 14px 0;
  font-weight: 650;
  font-size: 12px;
  color: var(--muted);
  position: relative;
}
.tabs button[aria-selected="true"] {
  color: var(--red);
}
.tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}
.mode-feature {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}
.mode-scene {
  height: 340px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #45768e;
}
.mode-scene .scene {
  position: absolute;
  inset: 0;
  background-image: url("/assets/modes-panorama.png");
  background-repeat: no-repeat;
  background-size: 210% 220%;
  transition:
    background-position 0.65s var(--ease),
    filter 0.4s;
}
.mode-scene[data-mode="dd"] .scene {
  background-position: 0 0;
}
.mode-scene[data-mode="respawn"] .scene {
  background-size: 270% 240%;
  background-position: 0 100%;
}
.mode-scene[data-mode="shooter"] .scene {
  background-position: 100% 0;
}
.mode-scene[data-mode="race"] .scene {
  background-size: 230% 280%;
  background-position: 100% 46%;
}
.mode-scene[data-mode="minigames"] .scene {
  background-size: 250% 280%;
  background-position: 100% 100%;
}
.mode-scene[data-mode="clans"] .scene {
  background-size: 370% 270%;
  background-position: 45% 100%;
}
.scene-caption {
  position: absolute;
  bottom: 13px;
  left: 17px;
  font-size: 9px;
  background: #152b31c9;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
}
.mode-copy h3 {
  font-size: 30px;
  letter-spacing: -0.03em;
}
.mode-copy p {
  font-size: 14px;
  max-width: 45ch;
  color: var(--muted);
  margin: 15px 0 23px;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tag {
  font-size: 10px;
  border: 1px solid #b8c5c5;
  border-radius: 4px;
  padding: 5px 8px;
  color: #415f69;
}
.mode-counter {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
}
.dark-section {
  background: var(--ink);
  color: var(--paper);
}
.dark-section .muted,
.dark-section .section-heading p {
  color: #bccdcf;
}
.dark-section .tabs {
  border-color: #395059;
}
.dark-section .tabs button {
  color: #b7cbd0;
}
.dark-section .tabs button[aria-selected="true"] {
  color: #f3d2d5;
}
.dark-section .tabs button[aria-selected="true"]:after {
  background: #c5808a;
}
.dark-section .empty {
  border-color: #3c525b;
  color: #c3d2d4;
  background: #20343d;
}
.dark-section .table-wrap {
  border-color: #3c525b;
}
.dark-section th,
.dark-section td {
  border-color: #3c525b;
}
.dark-section th {
  color: #afc4ca;
}
.dark-section .text-link {
  color: #d5e6ee;
}
.ranking-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.leader-note {
  padding: 28px 0 0;
  border-top: 1px solid #52646b;
}
.leader-note h3 {
  font-size: 26px;
}
.leader-note p {
  color: #bdcdd1;
  font-size: 13px;
  margin: 14px 0 22px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
}
tr:last-child td {
  border-bottom: 0;
}
.rank-pos {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.rank-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d7e4e6;
  color: #294c5c;
  font-weight: 750;
  flex: none;
}
.avatar.large {
  width: 84px;
  height: 84px;
  font-size: 30px;
}
.empty {
  text-align: center;
  padding: 42px 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #e9eee8;
  color: var(--muted);
}
.empty .icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 14px;
}
.empty h3 {
  font-size: 17px;
  color: inherit;
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
  max-width: 50ch;
  margin: auto;
}
.empty .btn {
  margin-top: 20px;
}
.last-member {
  font-size: 11px;
  color: #c1d1d3;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: steps;
}
.step {
  padding-top: 23px;
  border-top: 1px solid #aebdbd;
}
.step:before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  font-size: 11px;
  color: var(--red);
  font-weight: 750;
  display: block;
  margin-bottom: 22px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.start-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px;
  background: var(--pale);
  border-radius: 12px;
  margin-top: 45px;
}
.start-banner h3 {
  font-size: 24px;
}
.start-banner p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 55px 0 25px;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 45px;
}
.footer .brand {
  margin-bottom: 18px;
}
.footer p {
  font-size: 11px;
  color: var(--muted);
  max-width: 370px;
}
.footer h3 {
  font-size: 12px;
  margin-bottom: 17px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.socials {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.socials button,
.socials a {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
}
.socials button:disabled {
  opacity: 0.65;
}
.page {
  min-height: 65vh;
  padding-block: 60px 85px;
}
.page-title {
  margin-bottom: 38px;
}
.page-title h1 {
  font-size: clamp(32px, 4vw, 52px);
}
.page-title p {
  font-size: 14px;
  color: var(--muted);
  max-width: 68ch;
  margin-top: 16px;
}
.breadcrumbs {
  font-size: 11px;
  display: flex;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1040px;
  margin: auto;
  align-items: start;
}
.auth-story {
  position: sticky;
  top: 36px;
}
.auth-story h1 {
  font-size: 52px;
  margin: 30px 0 20px;
}
.auth-story p {
  font-size: 14px;
  color: var(--muted);
  max-width: 40ch;
}
.auth-story .mode-scene {
  height: 240px;
  margin-top: 35px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.span-2 {
  grid-column: 1/-1;
}
.help-text {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.policy-check {
  font-size: 11px;
  margin: 20px 0;
}
.policy-check a {
  text-decoration: underline;
}
.page-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  position: sticky;
  top: 25px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 7px;
}
.side-nav a.active {
  background: var(--ink);
  color: #fff;
}
.panel {
  background: var(--surface);
  padding: 30px;
  border-radius: 12px;
}
.panel + .panel {
  margin-top: 25px;
}
.panel h2 {
  font-size: 23px;
  margin-bottom: 20px;
}
.profile-heading {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}
.profile-heading h2 {
  margin: 0 0 8px;
}
.profile-heading p {
  font-size: 12px;
  color: var(--muted);
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 25px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 32px;
}
.detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.detail-list dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-list dd {
  font-size: 14px;
  margin: 0;
  overflow-wrap: anywhere;
}
.avatar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 17px 0;
}
.avatar-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.avatar-choice input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.ticket-row h3 {
  font-size: 14px;
  margin-bottom: 7px;
}
.ticket-row p {
  font-size: 11px;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  font-size: 10px;
  padding: 5px 9px;
  background: var(--pale);
  border-radius: 5px;
  white-space: nowrap;
  color: #365760;
}
.message {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.message p {
  font-size: 13px;
  margin-top: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.message.staff .message-head {
  color: var(--red);
}
.ticket-form {
  margin-top: 30px;
}
.store-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 45px;
}
.store-intro .mode-scene {
  height: 240px;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.product {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-art {
  height: 190px;
  background: var(--pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-art svg {
  width: 65px;
  height: 65px;
  color: var(--blue);
}
.product-body {
  padding: 25px;
  flex: 1;
}
.product-body h3 {
  font-size: 18px;
}
.product-body p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 20px;
}
.product-price {
  font-size: 19px;
  font-weight: 750;
  margin-bottom: 18px;
}
.store-policy {
  margin-top: 32px;
  max-width: 75ch;
  font-size: 12px;
  color: var(--muted);
}
.faq {
  max-width: 900px;
  margin-top: 45px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
details p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
  max-width: 75ch;
}
.legal {
  max-width: 780px;
}
.legal h2 {
  font-size: 23px;
  margin: 35px 0 15px;
}
.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.legal ul {
  padding-left: 22px;
}
.legal a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.staff-group {
  margin-top: 35px;
}
.staff-group h2 {
  font-size: 21px;
  margin-bottom: 18px;
}
.staff-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.staff-person {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.staff-person h3 {
  font-size: 15px;
}
.staff-person p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
.toolbar select {
  width: auto;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  padding: 16px 22px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  z-index: 50;
  font-size: 12px;
  max-width: min(400px, calc(100% - 40px));
  box-shadow: var(--shadow);
}
.loading {
  padding: 65px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.demo-bar {
  background: #f0e0c9;
  color: #5c3d23;
  padding: 9px 24px;
  font-size: 11px;
  text-align: center;
}
.page-enter {
  animation: page-in 0.4s var(--ease);
}
@keyframes hero-open {
  from {
    transform: scale(1.035);
    filter: blur(2px);
  }
  to {
    transform: scale(1);
    filter: blur(0);
  }
}
@keyframes page-in {
  from {
    opacity: 0.8;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1600px) {
  .hero-inner {
    min-height: 720px;
  }
  .hero {
    min-height: 720px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .nav-links {
    gap: 18px;
  }
  .brand {
    letter-spacing: 0.08em;
    font-size: 10px;
  }
  .hero-inner {
    gap: 5%;
    grid-template-columns: 1fr 320px;
  }
  .hero-copy h1 {
    font-size: 56px;
  }
  .hero-copy p {
    font-size: 15px;
  }
  .auth-layout {
    gap: 40px;
  }
  .ranking-layout {
    gap: 30px;
  }
  .page-grid {
    grid-template-columns: 190px 1fr;
    gap: 28px;
  }
}
@media (max-width: 820px) {
  .topbar {
    height: 70px;
  }
  .nav {
    gap: 15px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-account {
    margin-left: auto;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: var(--ink);
    padding: 20px 28px;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid #425b65;
  }
  .nav-links.open {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 30px;
  }
  .hero-copy {
    padding: 25px 0 0;
    max-width: 500px;
    min-height: 440px;
  }
  .hero-copy h1 {
    font-size: 58px;
    max-width: 510px;
  }
  .hero .auth-box {
    max-width: 450px;
    width: 100%;
    margin-left: auto;
  }
  .hero-note {
    bottom: 11px;
    left: 28px;
    font-size: 8px;
  }
  .hero-image {
    height: 520px;
    object-position: 68% 55%;
  }
  .hero:before {
    height: 520px;
    background:
      linear-gradient(90deg, #102731d4, #162c3c44),
      linear-gradient(0deg, #132d3e55, transparent);
  }
  .status-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .server-status {
    grid-column: 1/-1;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .mode-feature {
    gap: 25px;
    grid-template-columns: 1fr;
  }
  .mode-scene {
    height: 340px;
  }
  .mode-copy p {
    max-width: 65ch;
  }
  .ranking-layout {
    grid-template-columns: 1fr;
  }
  .leader-note {
    margin-top: 10px;
  }
  .steps {
    gap: 24px;
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: 35px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 530px;
  }
  .auth-story {
    position: static;
  }
  .auth-story h1 {
    font-size: 43px;
    margin-top: 0;
  }
  .auth-story .mode-scene {
    display: none;
  }
  .auth-story p {
    max-width: 100%;
  }
  .page-grid {
    grid-template-columns: 1fr;
  }
  .side-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
  }
  .side-nav a {
    white-space: nowrap;
  }
  .store-intro {
    gap: 25px;
  }
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .staff-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .brand {
    font-size: 9px;
    gap: 8px;
    letter-spacing: 0.08em;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .nav-account {
    padding: 9px 10px;
    font-size: 11px;
  }
  .nav-account svg {
    display: none;
  }
  .hero-copy h1 {
    font-size: 46px;
    max-width: 330px;
  }
  .hero-copy p {
    font-size: 13px;
    max-width: 30ch;
    margin-block: 18px 24px;
  }
  .hero-inner {
    padding-top: 28px;
    gap: 36px;
  }
  .hero .auth-box {
    padding: 24px;
    margin: auto;
  }
  .hero-image {
    object-position: 68% 55%;
  }
  .hero-note {
    left: 18px;
  }
  .hero {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 14px;
  }
  .actions .btn {
    font-size: 12px;
    padding: 13px 15px;
  }
  .status-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }
  .stat strong {
    font-size: 23px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .tabs {
    gap: 20px;
  }
  .mode-scene {
    height: 245px;
  }
  .mode-copy h3 {
    font-size: 27px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .step {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 18px;
  }
  .step:before {
    grid-row: 1/3;
    margin: 0;
    padding-top: 3px;
  }
  .step p {
    grid-column: 2;
  }
  .start-banner {
    padding: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .start-banner h3 {
    font-size: 22px;
  }
  .footer-main {
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
  .footer {
    padding-top: 40px;
  }
  .page {
    padding-block: 35px 55px;
  }
  .page-title p {
    font-size: 13px;
  }
  .auth-box {
    padding: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 23px;
  }
  .profile-heading {
    gap: 17px;
  }
  .avatar.large {
    width: 65px;
    height: 65px;
    font-size: 24px;
  }
  .profile-stats {
    grid-template-columns: 1fr 1fr;
  }
  .detail-list {
    grid-template-columns: 1fr;
  }
  .store-intro {
    grid-template-columns: 1fr;
  }
  .store-intro .mode-scene {
    display: none;
  }
  .store-grid,
  .staff-list {
    grid-template-columns: 1fr;
  }
  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .ticket-row {
    align-items: flex-start;
  }
  .ticket-row h3 {
    font-size: 13px;
  }
  .message-head {
    flex-direction: column;
    gap: 5px;
  }
  th,
  td {
    padding: 14px 12px;
  }
  .legal p,
  .legal li {
    font-size: 13px;
  }
  .form-meta {
    font-size: 10px;
  }
  .auth-story h1 {
    font-size: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
