:root {
  color-scheme: light;
  --page: #f5f5f7;
  --page-deep: #e9edf3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-muted: #f0f2f6;
  --ink: #1d1d1f;
  --ink-soft: #3a3a3c;
  --muted: #6e6e73;
  --muted-2: #8e8e93;
  --line: rgba(29, 29, 31, 0.10);
  --line-strong: rgba(29, 29, 31, 0.17);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: #e8f2ff;
  --green: #248a3d;
  --green-bright: #30d158;
  --red: #d70015;
  --orange: #c93400;
  --amber: #9a6700;
  --radius-xs: 9px;
  --radius-sm: 13px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.04),
    0 22px 60px rgba(0, 0, 0, 0.08);
  --max: 1240px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(78, 155, 255, 0.12), transparent 25rem),
    radial-gradient(circle at 92% 14%, rgba(175, 82, 222, 0.08), transparent 28rem),
    var(--page);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select {
  -webkit-appearance: none;
  appearance: none;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Monaco, Consolas,
    monospace;
}

::selection {
  color: #fff;
  background: var(--blue);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: calc(68px + env(safe-area-inset-top));
  padding:
    env(safe-area-inset-top)
    max(24px, calc((100vw - var(--max)) / 2))
    0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 250, 252, 0.76);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
}

.brand {
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #0a84ff, #0061c8);
  box-shadow: 0 7px 18px rgba(0, 113, 227, 0.22);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.public-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(29, 29, 31, 0.06);
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.08);
}

.public-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.public-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

.topbar-actions {
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.topbar-actions form {
  margin: 0;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.test-ribbon {
  position: relative;
  z-index: 10;
  min-height: 34px;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #674d00;
  border-bottom: 1px solid rgba(154, 103, 0, 0.12);
  background: #fff8df;
  font-size: 11px;
}

.test-ribbon span {
  padding: 3px 8px;
  border-radius: 999px;
  color: #fff;
  background: #b27600;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.button {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-align: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.button:hover {
  border-color: rgba(29, 29, 31, 0.25);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: none;
  transform: scale(0.98);
}

.button.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.20);
}

.button.primary:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
}

.button.secondary {
  border-color: rgba(0, 113, 227, 0.10);
  color: var(--blue);
  background: var(--blue-soft);
}

.button.ghost {
  border-color: transparent;
  box-shadow: none;
  background: rgba(118, 118, 128, 0.08);
}

.button.steam {
  color: #fff;
  border-color: #1b2838;
  background: linear-gradient(180deg, #253d57, #1b2838);
  box-shadow: 0 7px 18px rgba(27, 40, 56, 0.15);
}

.button.danger {
  min-height: 36px;
  color: var(--red);
  border-color: rgba(215, 0, 21, 0.13);
  background: #fff0f1;
}

.button.small {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
}

.button.full {
  width: 100%;
}

.button.copied {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

.hero,
.section,
.cta,
.footer {
  width: min(calc(100% - 48px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  min-height: 720px;
  padding: 88px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.10);
}

.hero h1,
.login-intro h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 730;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-facts span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 550;
}

.server-card {
  position: relative;
  min-height: 500px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 20%, rgba(10, 132, 255, 0.30), transparent 32%),
    radial-gradient(circle at 18% 88%, rgba(94, 92, 230, 0.20), transparent 30%),
    linear-gradient(145deg, #232428, #090a0c 72%);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.24),
    inset 0 1px rgba(255, 255, 255, 0.08);
}

.server-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 28%);
}

.server-card-head,
.panel-head,
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-card .label {
  color: rgba(255, 255, 255, 0.56);
}

.status-pill {
  min-height: 29px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(118, 118, 128, 0.07);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.server-card .status-pill {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.status-pill i,
.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--muted-2);
}

.status-pill.online i,
.status-dot.online {
  background: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.11);
}

.status-pill.offline i {
  background: #ff453a;
}

.status-pill.warning i {
  background: #ff9f0a;
}

.server-visual {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 20px auto 2px;
  display: grid;
  place-items: center;
}

.server-visual::before {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #68b6ff, #0879e7 48%, #003f83);
  box-shadow:
    0 0 0 18px rgba(10, 132, 255, 0.08),
    0 25px 60px rgba(10, 132, 255, 0.32);
}

.server-visual strong {
  position: relative;
  z-index: 2;
  font-size: 34px;
  font-weight: 760;
  letter-spacing: -0.08em;
}

.server-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.server-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
}

.orbit-one {
  width: 178px;
  height: 76px;
}

.orbit-two {
  width: 205px;
  height: 112px;
  opacity: 0.48;
  transform: rotate(28deg);
}

.server-name {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  overflow: hidden;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.035em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-stats,
.big-server-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(118, 118, 128, 0.08);
}

.server-stats {
  position: relative;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.server-stats div,
.big-server-stats div {
  min-width: 0;
  padding: 14px;
}

.server-stats div + div,
.big-server-stats div + div {
  border-left: 1px solid var(--line);
}

.server-stats div + div {
  border-color: rgba(255, 255, 255, 0.10);
}

.server-stats dt,
.big-server-stats dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  text-transform: uppercase;
}

.server-stats dt {
  color: rgba(255, 255, 255, 0.48);
}

.server-stats dd,
.big-server-stats dd {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
}

.connect-line {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  text-align: center;
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  align-items: end;
  gap: 64px;
}

.section h2,
.cta h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  min-height: 420px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 85% 12%, rgba(10, 132, 255, 0.40), transparent 34%),
    linear-gradient(145deg, #25262a, #0d0d0f);
  box-shadow: var(--shadow);
}

.price-index {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(29, 29, 31, 0.045);
  font-size: 84px;
  font-weight: 760;
  line-height: 1;
}

.featured .price-index {
  color: rgba(255, 255, 255, 0.05);
}

.price-card h3 {
  margin: 8px 0 5px;
  font-size: 32px;
  font-weight: 680;
  letter-spacing: -0.04em;
}

.price-card p,
.price-card li {
  color: var(--muted);
}

.price-card p {
  margin: 0;
}

.featured .label,
.featured p,
.featured li,
.featured .spread-note {
  color: rgba(255, 255, 255, 0.58);
}

.price {
  position: relative;
  z-index: 1;
  align-self: center;
}

.price strong {
  font-size: 40px;
  font-weight: 680;
  letter-spacing: -0.055em;
}

.price span {
  color: var(--muted);
}

.price-card ul {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.featured ul {
  border-color: rgba(255, 255, 255, 0.10);
}

.price-card li {
  position: relative;
  padding: 7px 0 7px 23px;
  font-size: 14px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 750;
}

.featured li::before {
  color: #64d2ff;
}

.spread-note {
  align-self: center;
  color: var(--muted);
  font-size: 11px;
}

.spread-note strong {
  margin-top: 4px;
  display: block;
  color: var(--blue);
  font-size: 20px;
}

.featured .spread-note strong {
  color: #64d2ff;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.model-card {
  min-height: 240px;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.model-visual {
  position: relative;
  min-height: 240px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.35), transparent 20%),
    linear-gradient(145deg, #0a84ff, #5e5ce6);
}

.model-visual::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -45px;
  bottom: -42px;
  border: 22px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.model-visual span {
  font: 10px "SFMono-Regular", ui-monospace, monospace;
  opacity: 0.7;
}

.model-visual strong {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 720;
  letter-spacing: -0.09em;
}

.model-copy {
  padding: 27px 27px 12px;
}

.model-copy h3,
.owned-grid h3,
.account-shop h3 {
  margin: 8px 0;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.model-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.model-buy {
  grid-column: 2;
  margin: 0 27px;
  padding: 15px 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.model-buy > strong {
  font-size: 20px;
}

.model-buy form,
.price-card form,
.owned-grid form,
.account-shop form {
  margin: 0;
}

.catalog-note {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 23px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.steps-grid article > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 11px;
  font-weight: 700;
}

.steps-grid h3 {
  margin: 48px 0 8px;
  font-size: 19px;
  font-weight: 650;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cta {
  position: relative;
  margin-bottom: 96px;
  padding: 54px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 20%, rgba(100, 210, 255, 0.30), transparent 30%),
    linear-gradient(135deg, #0057b7, #0071e3 52%, #5e5ce6);
  box-shadow: 0 26px 70px rgba(0, 113, 227, 0.22);
}

.cta::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  top: -110px;
  right: 18%;
  border: 38px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta .button.primary {
  color: var(--blue);
  border-color: #fff;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.footer {
  padding: 32px 0 calc(48px + env(safe-area-inset-bottom));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 700;
}

.footer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer a:hover,
.text-link:hover {
  color: var(--blue-hover);
}

.login-shell {
  width: min(calc(100% - 48px), 1080px);
  min-height: calc(100vh - 102px);
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.login-intro p:last-child {
  max-width: 500px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.login-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.login-card h2 {
  margin: 10px 0;
  font-size: 29px;
  font-weight: 660;
  letter-spacing: -0.04em;
}

.login-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.identity-note {
  margin-top: 22px;
  padding-top: 18px;
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.identity-note strong {
  font-size: 12px;
}

.identity-note span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.or {
  height: 1px;
  margin: 28px 0 22px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.or span {
  position: relative;
  top: -9px;
  padding: 0 12px;
  color: var(--muted);
  background: #fff;
  font-size: 10px;
}

.form-stack,
.form-grid {
  display: grid;
  gap: 15px;
}

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

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

.span-2 {
  grid-column: span 2;
}

label > span,
.search-row label > span {
  margin: 0 0 7px;
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}

input,
select,
textarea {
  width: 100%;
  outline: none;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(118, 118, 128, 0.065);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

input,
select {
  min-height: 46px;
  padding: 0 13px;
}

select {
  padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 20px,
    calc(100% - 12px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 120px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(29, 29, 31, 0.24);
  background-color: rgba(118, 118, 128, 0.08);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: #a1a1a6;
}

input[type="file"] {
  padding: 9px;
  background: #fff;
}

input[type="file"]::file-selector-button {
  min-height: 28px;
  margin-right: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
}

.admin-layout {
  min-height: calc(100vh - 102px);
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: calc(68px + env(safe-area-inset-top));
  height: calc(100vh - 68px - env(safe-area-inset-top));
  padding: 24px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: rgba(250, 250, 252, 0.70);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.sidebar-title {
  margin: 0 10px 18px;
}

.sidebar-title span,
.sidebar-title small {
  display: block;
}

.sidebar-title span {
  font-size: 13px;
  font-weight: 680;
}

.sidebar-title small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.sidebar nav {
  display: grid;
  gap: 4px;
}

.sidebar nav a {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  transition: background 0.18s ease, color 0.18s ease;
}

.sidebar nav a > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--muted);
  background: rgba(118, 118, 128, 0.08);
  font-size: 12px;
  font-weight: 650;
}

.sidebar nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.sidebar nav a.active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(0, 113, 227, 0.18);
}

.sidebar nav a.active > span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.sidebar-foot {
  margin-top: 24px;
  padding: 16px 10px 0;
  border-top: 1px solid var(--line);
}

.sidebar-foot span,
.sidebar-foot code {
  display: block;
}

.sidebar-foot span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sidebar-foot code {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 10px;
}

.admin-content {
  width: 100%;
  min-width: 0;
  max-width: 1600px;
  padding: 38px clamp(24px, 4vw, 54px) 70px;
}

.page-head {
  margin-bottom: 26px;
  align-items: flex-end;
}

.page-head .eyebrow {
  margin-bottom: 10px;
}

.page-head h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 680;
  letter-spacing: -0.045em;
}

.metric-grid {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.metric-grid article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-grid span,
.metric-grid small {
  display: block;
  color: var(--muted);
}

.metric-grid span {
  font-size: 11px;
}

.metric-grid strong {
  margin: 10px 0 4px;
  display: block;
  font-size: 34px;
  font-weight: 670;
  letter-spacing: -0.05em;
}

.metric-grid small {
  font-size: 10px;
}

.dashboard-grid {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.panel {
  min-width: 0;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.panel-head {
  margin-bottom: 20px;
}

.panel h2 {
  margin: 6px 0 0;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.panel-copy {
  max-width: 390px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.hint,
.muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.server-panel {
  display: flex;
  flex-direction: column;
}

.server-panel .big-server-stats {
  margin-bottom: 16px;
  flex: 1;
  grid-template-columns: 1fr;
}

.server-panel .big-server-stats div + div {
  border-top: 1px solid var(--line);
  border-left: 0;
}

.text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.table-wrap {
  max-width: 100%;
  margin: 0 -4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th {
  padding: 0 12px 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 13px 12px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
}

td strong,
td small {
  display: block;
}

td strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
}

td small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

td code {
  color: #48484a;
  font-size: 11px;
}

tbody tr:hover td {
  background: rgba(0, 113, 227, 0.025);
}

tr:last-child td {
  border-bottom: 0;
}

.tier-badge,
.status-tag {
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.empty-cell,
.empty {
  padding: 32px;
  color: var(--muted);
  text-align: center;
}

.search-row {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 42px;
}

.notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  color: #5c4c00;
  border: 1px solid rgba(154, 103, 0, 0.14);
  border-radius: 13px;
  background: #fff8df;
  font-size: 12px;
  line-height: 1.55;
}

.notice code {
  color: #7a5600;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.settings-grid .panel {
  margin: 0;
}

.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch > span {
  position: relative;
  width: 38px;
  height: 22px;
  margin: 0;
  border-radius: 999px;
  background: #d1d1d6;
  transition: background 0.18s ease;
}

.switch > span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease;
}

.switch input:checked + span {
  background: #34c759;
}

.switch input:checked + span::after {
  transform: translateX(16px);
}

.details-cell {
  max-width: 340px;
  color: var(--muted);
  font: 10px "SFMono-Regular", ui-monospace, monospace;
  overflow-wrap: anywhere;
}

.flash {
  position: relative;
  z-index: 20;
  max-width: 780px;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #14532d;
  border: 1px solid rgba(36, 138, 61, 0.16);
  border-radius: 13px;
  background: #ebf9ee;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}

.is-public .flash {
  width: min(calc(100% - 48px), var(--max));
  margin: 18px auto 0;
}

.flash.danger {
  color: #8d0010;
  border-color: rgba(215, 0, 21, 0.13);
  background: #fff0f1;
}

.flash button {
  padding: 4px;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
}

.account-shell,
.appeal-shell {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 58px 0 96px;
}

.account-head {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 38px;
}

.account-head h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1;
}

.identity-card {
  min-width: 350px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.identity-card div {
  padding: 13px 16px;
}

.identity-card div + div {
  border-top: 1px solid var(--line);
}

.identity-card dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.identity-card dd {
  margin: 0;
  font-size: 12px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wallet-panel {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(circle at 92% 8%, rgba(100, 210, 255, 0.28), transparent 32%),
    linear-gradient(145deg, #0062c6, #007aff);
  box-shadow: 0 20px 45px rgba(0, 113, 227, 0.20);
}

.wallet-panel .label,
.wallet-panel .muted {
  color: rgba(255, 255, 255, 0.68);
}

.wallet-panel .tier-badge {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
}

.wallet-topup {
  margin-top: 19px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.wallet-topup select {
  min-height: 36px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.12);
}

.wallet-topup .button {
  color: var(--blue);
  border-color: #fff;
  background: #fff;
}

.wallet-ledger {
  display: grid;
}

.wallet-ledger > div {
  padding: 13px 0;
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.wallet-ledger small {
  margin-top: 4px;
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.wallet-ledger strong,
.wallet-ledger code {
  text-align: right;
}

.wallet-ledger .positive {
  color: var(--green);
}

.wallet-ledger .negative {
  color: var(--orange);
}

.wallet-ledger code {
  color: var(--muted);
}

.owned-grid,
.account-shop {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.owned-grid article,
.account-shop article {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(118, 118, 128, 0.045);
}

.account-shop article {
  display: grid;
  gap: 15px;
}

.account-shop article > strong {
  color: var(--blue);
  font-size: 19px;
}

.support-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.support-panel h2 {
  margin: 8px 0;
}

.appeal-layout,
.appeal-admin-grid {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  align-items: start;
  gap: 16px;
}

.appeal-form {
  margin-top: 22px;
}

.upload-field {
  padding: 18px;
  border: 1px dashed rgba(0, 113, 227, 0.36);
  border-radius: 15px;
  background: rgba(0, 113, 227, 0.04);
}

.upload-field small,
.appeal-file small {
  margin-top: 8px;
  display: block;
  color: var(--muted);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
}

.check-row input {
  position: relative;
  width: 19px;
  min-height: 19px;
  margin: 1px 0 0;
  padding: 0;
  border-radius: 6px;
  background: #fff;
}

.check-row input:checked {
  border-color: var(--blue);
  background: var(--blue);
}

.check-row input:checked::after {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.check-row span {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.demo-guide {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.demo-guide.active {
  border-color: rgba(0, 113, 227, 0.36);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.08), var(--shadow-sm);
}

.demo-guide h2 {
  margin: 10px 0 20px;
}

.demo-guide ol {
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.demo-guide li {
  margin-bottom: 9px;
}

.path-card {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.path-card strong,
.path-card code {
  display: block;
}

.path-card p,
.guide-note {
  color: var(--muted);
  line-height: 1.55;
}

.path-card code,
.guide-note code,
.detail-list code {
  overflow-wrap: anywhere;
}

.guide-note {
  margin-bottom: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(118, 118, 128, 0.045);
}

.appeal-list {
  display: grid;
  gap: 10px;
}

.appeal-list > article {
  padding: 19px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(118, 118, 128, 0.035);
}

.appeal-list h3 {
  margin: 9px 0 4px;
}

.appeal-list p {
  margin: 0;
  color: var(--muted);
}

.appeal-list blockquote {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 12px 15px;
  color: var(--ink-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--blue-soft);
  white-space: pre-wrap;
}

.appeal-list blockquote strong {
  margin-bottom: 7px;
  display: block;
  color: var(--ink);
}

.status-new,
.status-reviewing {
  color: var(--blue);
  border-color: rgba(0, 113, 227, 0.13);
  background: var(--blue-soft);
}

.status-need_info {
  color: #825800;
  border-color: rgba(154, 103, 0, 0.15);
  background: #fff8df;
}

.status-approved {
  color: var(--green);
  border-color: rgba(36, 138, 61, 0.14);
  background: #ebf9ee;
}

.status-rejected {
  color: var(--red);
  border-color: rgba(215, 0, 21, 0.13);
  background: #fff0f1;
}

.detail-list {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  gap: 1px;
}

.detail-list > div {
  min-width: 0;
  padding: 13px;
  background: #fff;
}

.detail-list dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.detail-list.compact {
  grid-template-columns: 1fr;
}

.appeal-statement {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.appeal-statement p {
  line-height: 1.65;
  white-space: pre-wrap;
}

.filter-form select {
  min-width: 190px;
}

@media (max-width: 1080px) {
  .public-nav {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.88fr);
    gap: 44px;
  }

  .section-head,
  .dashboard-grid,
  .appeal-layout,
  .appeal-admin-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 22px;
  }

  .section-head > p {
    max-width: 680px;
  }

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

  .account-grid {
    grid-template-columns: 1fr;
  }

  .owned-grid,
  .account-shop {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .server-card {
    width: min(100%, 560px);
    justify-self: center;
  }

  .pricing-grid,
  .model-grid,
  .settings-grid,
  .split-panel,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-shell {
    max-width: 640px;
    gap: 46px;
  }

  .admin-layout {
    display: block;
  }

  .sidebar {
    position: sticky;
    top: calc(68px + env(safe-area-inset-top));
    z-index: 50;
    width: 100%;
    height: auto;
    padding: 7px 16px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-title,
  .sidebar-foot {
    display: none;
  }

  .sidebar nav {
    width: max-content;
    display: flex;
  }

  .sidebar nav a {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 10px;
  }

  .sidebar nav a > span {
    width: 21px;
    height: 21px;
  }

  .admin-content {
    padding: 28px 20px 64px;
  }

  .account-head {
    grid-template-columns: 1fr;
  }

  .identity-card {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .topbar {
    min-height: calc(62px + env(safe-area-inset-top));
    width: 100%;
    min-width: 0;
    padding:
      env(safe-area-inset-top)
      max(14px, env(safe-area-inset-right))
      0
      max(14px, env(safe-area-inset-left));
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 12px;
  }

  .brand small,
  .admin-chip,
  .topbar-actions .button.ghost {
    display: none;
  }

  .topbar-actions {
    min-width: 0;
    gap: 5px;
  }

  .topbar-actions .button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 10px;
  }

  .topbar-actions .button.steam {
    width: 72px;
    min-width: 72px;
    padding: 0 8px;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .topbar-actions .button.steam::after {
    content: "Steam";
    font-size: 10px;
  }

  .test-ribbon {
    padding: 6px 12px;
    font-size: 10px;
  }

  .hero,
  .section,
  .cta,
  .footer,
  .login-shell,
  .account-shell,
  .appeal-shell,
  .is-public .flash {
    width: auto;
    max-width: none;
    margin-right: 14px;
    margin-left: 14px;
  }

  .hero {
    padding: 58px 0 68px;
  }

  .hero > *,
  .hero-copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero h1,
  .login-intro h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 47px);
    line-height: 0.99;
  }

  .hero-lead {
    max-width: calc(100vw - 28px);
    margin: 22px 0;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    width: calc(100vw - 28px);
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .server-card {
    width: calc(100vw - 28px);
    min-width: 0;
    max-width: calc(100vw - 28px);
    min-height: 455px;
    padding: 20px;
    border-radius: 25px;
  }

  .server-visual {
    width: 180px;
    height: 190px;
  }

  .server-stats {
    grid-template-columns: 1fr 1fr;
  }

  .server-stats div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section h2,
  .cta h2 {
    font-size: 40px;
  }

  .price-card,
  .panel,
  .login-card {
    padding: 20px;
    border-radius: 20px;
  }

  .price-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .price-card ul,
  .price-card .button {
    grid-column: 1;
  }

  .price {
    margin-top: -8px;
  }

  .model-card {
    grid-template-columns: 92px 1fr;
  }

  .model-visual {
    min-height: 230px;
    padding: 12px;
  }

  .model-visual strong {
    font-size: 34px;
  }

  .model-copy {
    padding: 20px 17px 10px;
  }

  .model-buy {
    margin: 0 17px;
    padding-bottom: 17px;
  }

  .model-buy {
    align-items: flex-start;
    flex-direction: column;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid article {
    min-height: 180px;
  }

  .steps-grid h3 {
    margin-top: 34px;
  }

  .cta {
    margin-bottom: 72px;
    padding: 32px 24px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 23px;
  }

  .footer {
    flex-direction: column;
  }

  .footer > div:last-child {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .login-shell {
    padding: 52px 0 72px;
  }

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

  .form-grid,
  .form-grid.wide {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: 1;
  }

  .page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-head h1 {
    font-size: 36px;
  }

  .filter-form,
  .filter-form select {
    width: 100%;
  }

  .account-shell,
  .appeal-shell {
    padding-top: 40px;
  }

  .owned-grid,
  .account-shop {
    grid-template-columns: 1fr;
  }

  .wallet-topup {
    grid-template-columns: 1fr;
  }

  .wallet-ledger > div {
    grid-template-columns: 1fr auto;
  }

  .wallet-ledger code {
    grid-column: 1 / -1;
    text-align: left;
  }

  .appeal-list > article,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .appeal-list blockquote {
    grid-column: 1;
  }

  .support-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .sidebar {
    top: calc(62px + env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-left: max(14px, env(safe-area-inset-left));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.32);
  outline-offset: 3px;
}
