@import url("/assets/admin.css?v=1.0.1");
:root {
  color-scheme: dark;
  --bg: #101014;
  --panel: #19191f;
  --panel-2: #202027;
  --line: #2b2b34;
  --text: #f5f5f8;
  --muted: #92929f;
  --lime: #c4f46a;
  --purple: #9974ff;
  --radius: 18px;
  --sidebar: 216px;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
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.45;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.125rem;
}
::selection {
  background: #91b747;
  color: #111;
}
input,
select,
textarea {
  width: 100%;
  background: #131318;
  border: 1px solid #34343d;
  border-radius: 10px;
  color: var(--text);
  min-height: 46px;
  padding: 11px 14px;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--purple);
}
input::placeholder,
textarea::placeholder {
  color: #70707e;
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2392929f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 34px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  accent-color: var(--lime);
  padding: 0;
  flex-shrink: 0;
}
input[type="file"] {
  font-size: 0.875rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: #d4d4dd;
}
small,
.small {
  font-size: 0.8125rem;
}
.muted {
  color: var(--muted);
}
.lime {
  color: var(--lime);
}
.purple {
  color: #b89bff;
}
.center {
  text-align: center;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  vertical-align: middle;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: #2a2a34;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 21px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  min-height: 46px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #373742;
  transform: translateY(-1px);
}
.button.primary {
  background: var(--lime);
  color: #17210c;
}
.button.primary:hover {
  background: #d6ff91;
}
.button.violet {
  background: #8a60ee;
  color: white;
}
.button.outline {
  background: transparent;
  border-color: #3b3b45;
}
.button.danger {
  color: #ff9baf;
  background: #3a222b;
}
.button.small-button {
  min-height: 36px;
  padding: 6px 13px;
  font-size: 0.8125rem;
}
.button.full {
  width: 100%;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  background: none;
  padding: 0;
  font-size: 0.875rem;
}
.text-button:hover {
  color: var(--lime);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  flex-shrink: 0;
}
.icon-button:hover {
  color: var(--text);
  background: #ffffff0a;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff0a;
  border: 1px solid #ffffff0d;
  border-radius: 7px;
  padding: 3px 9px;
  color: #b3b3c1;
  font-size: 0.75rem;
}
.pill .icon {
  width: 13px;
  height: 13px;
}
.pill.lime {
  color: var(--lime);
  background: #c4f46a0d;
  border-color: #c4f46a22;
}
.badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 5px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #15151b;
  border-right: 1px solid #25252e;
  z-index: 30;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #34303d transparent;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 850;
  letter-spacing: 1px;
}
.brand small {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: -3px;
}
.side-nav {
  display: grid;
  gap: 7px;
  margin: 36px 0 24px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  border-radius: 11px;
  color: #a6a5b4;
  font-size: 0.9375rem;
  transition: 0.2s;
}
.nav-link .icon {
  width: 21px;
  height: 21px;
}
.nav-link:hover {
  background: #202029;
  color: white;
}
.nav-link.active {
  color: var(--lime);
  background: #c4f46a0c;
}
.nav-link.active:after {
  content: "";
  margin-left: auto;
  width: 5px;
  height: 5px;
  background: var(--lime);
  border-radius: 50%;
}
.nav-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #646472;
  padding: 16px 15px 10px;
  border-top: 1px solid var(--line);
}
.side-games {
  display: grid;
  gap: 3px;
}
.side-game {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 15px;
  color: #aaa9b7;
  font-size: 0.875rem;
}
.side-game img {
  width: 25px;
  height: 25px;
  border-radius: 7px;
}
.side-game:hover {
  color: var(--lime);
}
.side-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.join-mini {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #342848, #201d2d);
  padding: 18px 16px;
  border: 1px solid #59436f;
  border-radius: 12px;
}
.join-mini .icon {
  color: #ba9bff;
  width: 27px;
  height: 27px;
  float: right;
}
.join-mini strong {
  font-size: 0.875rem;
}
.join-mini p {
  font-size: 0.75rem;
  color: #ada1be;
  margin: 5px 0 13px;
}
.join-mini a {
  font-size: 0.75rem;
  color: #ceb7ff;
}
.side-bottom > .text-button {
  margin: 22px 12px 0;
}
.site-shell {
  margin-left: var(--sidebar);
}
.topbar {
  height: 85px;
  border-bottom: 1px solid #24242c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
  background: #101014e8;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-title {
  font-weight: 650;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.topbar-title span {
  font-size: 0.75rem;
  margin-left: 12px;
  color: var(--muted);
  font-weight: 400;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
}
.search {
  position: relative;
  max-width: 340px;
  flex: 1;
  margin-left: auto;
}
.search input {
  background: #1c1c23;
  border-color: #27272f;
  padding-left: 42px;
  min-height: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 0.8125rem;
}
.search .icon {
  position: absolute;
  left: 13px;
  top: 11px;
  width: 18px;
  height: 18px;
  color: #787888;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.top-action {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  color: #b6b6c1;
  font-size: 0.8125rem;
  padding: 0;
}
.top-action .icon {
  width: 19px;
  height: 19px;
}
.top-action:hover {
  color: var(--lime);
}
.avatar-letter {
  height: 34px;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #8163c8, #483369);
  color: #ece3ff;
  font-weight: 700;
}
.mobile-logo {
  display: none;
}
main {
  padding: 30px 38px 35px;
  min-height: calc(100vh - 220px);
  max-width: 1900px;
  margin: auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 18px;
  margin-bottom: 24px;
}
.hero {
  height: 260px;
  border: 1px solid #343d2b;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 60%, #3d4b2966, transparent 70%),
    linear-gradient(110deg, #222720, #1d211d 70%, #252b22);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      transparent 48%,
      #c4f46a05 48.2%,
      #c4f46a05 48.5%,
      transparent 48.8%
    ),
    linear-gradient(
      100deg,
      transparent 73%,
      #c4f46a05 73.2%,
      #c4f46a05 73.5%,
      transparent 73.8%
    );
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 30px 34px;
  padding-top: 25px;
}
.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 3px;
  color: var(--lime);
  font-weight: 700;
  display: flex;
  gap: 8px;
  align-items: center;
}
.eyebrow:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--lime);
}
.hero h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.75rem);
  letter-spacing: 1px;
  line-height: 1.38;
  margin: 13px 0 12px;
  font-weight: 850;
  margin-top: 10px;
}
.hero h1 em {
  color: var(--lime);
  font-style: normal;
}
.hero p {
  font-size: 0.8125rem;
  color: #afb8a6;
}
.hero .button {
  margin-top: 21px;
  padding: 9px 20px;
  min-height: 40px;
  font-size: 0.8125rem;
}
.hero-art {
  position: absolute;
  right: -38px;
  top: -20px;
  width: 52%;
  height: 300px;
  object-fit: contain;
  pointer-events: none;
}
.hero-stamp {
  position: absolute;
  right: 20px;
  bottom: 17px;
  font-size: 0.625rem;
  letter-spacing: 2px;
  color: #a1b08d;
  opacity: 0.6;
}
.hero-small {
  border-radius: 20px;
  padding: 27px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 100%, #8d61cf, transparent 70%),
    linear-gradient(135deg, #514071, #322344);
  border: 1px solid #70538f;
  padding-top: 23px;
}
.hero-small:after {
  content: "✳";
  position: absolute;
  right: -24px;
  top: 64px;
  font-size: 190px;
  color: #b79af6;
  opacity: 0.24;
  line-height: 1;
  transform: rotate(-20deg);
}
.hero-small .eyebrow {
  color: #ddd0ff;
  font-size: 0.625rem;
  letter-spacing: 2px;
}
.hero-small .eyebrow:before {
  background: #d5bfff;
}
.hero-small h2 {
  font-size: 1.8rem;
  margin: 16px 0 10px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  margin-top: 12px;
}
.hero-small p {
  font-size: 0.75rem;
  color: #c3b2dc;
}
.hero-small a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.8125rem;
  color: #e0d2ff;
}
.hero-small .mini-pills {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.hero-small .mini-pills span {
  font-size: 0.625rem;
  border: 1px solid #a289c55c;
  border-radius: 5px;
  padding: 2px 7px;
  color: #d6c6ed;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 15px;
}
.section-heading h2 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading h2 .icon {
  color: var(--lime);
  width: 22px;
  height: 22px;
}
.section-heading h2 small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #71717f;
  margin-left: 4px;
}
.section-heading .text-button {
  font-size: 0.75rem;
}
.game-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.game-tile {
  border: 1px solid #292932;
  border-radius: 12px;
  background: #1a1a21;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  transition: 0.2s;
  min-width: 0;
}
.game-tile:hover,
.game-tile.selected {
  background: #272433;
  border-color: #796199;
  transform: translateY(-2px);
}
.game-tile img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  border-radius: 9px;
  flex-shrink: 0;
}
.game-tile span {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}
.game-tile small {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  color: #777786;
}
.discovery-head {
  margin-bottom: 16px;
}
.heading-note {
  color: #777785;
  font-size: 0.75rem;
  margin-top: 5px;
}
.filter-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 22px;
}
.sort-tabs {
  display: flex;
  gap: 23px;
  align-items: center;
}
.sort-tabs button {
  padding: 0;
  background: none;
  font-size: 0.8125rem;
  color: #9393a3;
  position: relative;
  white-space: nowrap;
}
.sort-tabs button.active {
  color: var(--lime);
  font-weight: 700;
}
.sort-tabs button.active:after {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  width: 25px;
  background: var(--lime);
}
.filter-selects {
  display: flex;
  align-items: center;
  gap: 15px;
}
.filter-selects select {
  font-size: 0.75rem;
  padding: 6px 28px 6px 10px;
  min-height: 32px;
  background-color: #1b1b22;
  width: 110px;
  border-color: #2b2b34;
  border-radius: 7px;
}
.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.checkbox-label a {
  color: var(--purple);
}
.companion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.companion-card {
  min-width: 0;
  border-radius: 15px;
  border: 1px solid #2c2b35;
  background: #1c1b23;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
  position: relative;
}
.companion-card:hover {
  transform: translateY(-5px);
  border-color: #7c659d;
  box-shadow: 0 12px 25px #0003;
}
.card-image {
  position: relative;
  display: block;
  aspect-ratio: 1/0.99;
  overflow: hidden;
  background: #2a2733;
}
.card-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s;
}
.companion-card:hover .card-image > img {
  transform: scale(1.04);
}
.card-image:after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, #1c1b2380);
  pointer-events: none;
}
.card-state {
  position: absolute;
  top: 11px;
  left: 11px;
  border-radius: 7px;
  background: #15151a80;
  backdrop-filter: blur(12px);
  color: white;
  font-size: 0.625rem;
  padding: 3px 8px;
  z-index: 1;
}
.card-game {
  position: absolute;
  bottom: 10px;
  left: 12px;
  border-radius: 5px;
  padding: 2px 7px;
  z-index: 2;
  background: #0b121bbd;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-game .icon {
  width: 13px;
  height: 13px;
  color: #d0afff;
}
.card-heart {
  position: absolute;
  right: 11px;
  top: 11px;
  color: white;
  background: #15151a77;
  width: 28px;
  height: 28px;
  z-index: 3;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.card-heart .icon {
  width: 15px;
  height: 15px;
}
.card-heart:hover {
  background: #8c65bf;
}
.card-heart.saved {
  color: #c4f46a;
  background: #242c1ce6;
}
.card-heart.saved .icon {
  fill: currentColor;
}
.card-body {
  padding: 15px;
}
.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}
.card-title h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-title .icon {
  width: 15px;
  height: 15px;
  color: #b296f2;
}
.card-tagline {
  font-size: 0.6875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #9994a6;
  margin-bottom: 11px;
}
.card-tags {
  display: flex;
  gap: 5px;
  min-height: 23px;
}
.card-tags .pill {
  font-size: 0.625rem;
  padding: 1px 6px;
  border-color: transparent;
  background: #2c2736;
  color: #bcabcf;
}
.card-bottom {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.card-price {
  color: var(--lime);
  font-size: 1.3rem;
  font-weight: 750;
  line-height: 1;
}
.card-price small {
  font-size: 0.75rem;
  font-weight: 400;
  margin-right: 2px;
}
.card-price span {
  font-size: 0.625rem;
  font-weight: 400;
  color: #898392;
  margin-left: 4px;
}
.card-rating {
  font-size: 0.625rem;
  color: #aba3b8;
  display: flex;
  align-items: center;
  gap: 3px;
}
.card-rating .icon {
  width: 12px;
  height: 12px;
  fill: #d5b275;
  stroke: #d5b275;
}
.load-more {
  display: flex;
  justify-content: center;
  margin: 30px 0 10px;
}
.load-more .button {
  min-width: 180px;
  font-size: 0.8125rem;
}
.assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #272730;
  margin-top: 35px;
  padding-top: 25px;
  gap: 20px;
}
.assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.assurance > .icon {
  width: 30px;
  height: 30px;
  color: #7b748d;
}
.assurance strong {
  display: block;
  font-size: 0.8125rem;
  color: #c1bccb;
  font-weight: 500;
}
.assurance span {
  font-size: 0.6875rem;
  color: #686575;
}
footer {
  padding: 24px 35px 27px;
  text-align: center;
  font-size: 0.6875rem;
  color: #666271;
  border-top: 1px solid #222129;
}
footer .footer-links {
  display: flex;
  gap: 22px;
  justify-content: center;
  margin-bottom: 10px;
  color: #aaa2b5;
  font-size: 0.75rem;
}
footer p {
  margin-top: 5px;
}
footer a:hover {
  color: var(--lime);
}
.mobile-nav {
  display: none;
}
.page-title {
  margin: 5px 0 28px;
}
.page-title h1 {
  font-size: 1.875rem;
  letter-spacing: 0.5px;
}
.page-title p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 8px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8125rem;
  margin-bottom: 20px;
}
.breadcrumb .icon {
  width: 13px;
  height: 13px;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 27px;
  border: 1px solid #3c334b;
  border-radius: 20px;
  padding: 30px;
  background:
    radial-gradient(ellipse at 90% 10%, #51416e70, transparent 75%), #211e28;
  margin-bottom: 25px;
}
.profile-avatar {
  width: 155px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}
.profile-copy {
  flex: 1;
  min-width: 0;
}
.profile-name {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.profile-name h1 {
  font-size: 1.9rem;
}
.profile-copy > p {
  color: #b6adbf;
  margin: 10px 0 14px;
  font-size: 0.875rem;
}
.profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-stats {
  display: flex;
  gap: 35px;
  margin-top: 18px;
}
.profile-stats strong {
  font-size: 1.2rem;
  display: block;
  line-height: 1.3;
}
.profile-stats span {
  font-size: 0.6875rem;
  color: #8f849e;
}
.profile-actions {
  align-self: flex-start;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 25px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 26px;
}
.panel + .panel {
  margin-top: 22px;
}
.panel h2 {
  font-size: 1.125rem;
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel h2 .icon {
  width: 20px;
  color: var(--purple);
}
.tabs {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.tabs button {
  font-size: 0.875rem;
  background: none;
  padding: 0;
  color: var(--muted);
  white-space: nowrap;
}
.tabs button.active {
  color: var(--lime);
}
.bio {
  font-size: 0.875rem;
  color: #b6b0c0;
  line-height: 2;
  white-space: pre-line;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.source-note {
  font-size: 0.75rem;
  color: #8e849b;
  background: #24202b;
  border-radius: 9px;
  padding: 13px 15px;
  margin-top: 22px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.source-note a {
  color: #b49aca;
}
.service-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
}
.service-row:last-child {
  border-bottom: 0;
}
.service-row img {
  width: 43px;
  height: 43px;
  border-radius: 10px;
}
.service-row strong {
  font-size: 0.875rem;
}
.service-row p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}
.service-row .card-price {
  margin-left: auto;
  font-size: 1.125rem;
  white-space: nowrap;
}
.booking-panel {
  position: sticky;
  top: 110px;
}
.booking-panel .form-stack {
  gap: 16px;
}
.booking-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-top: 2px;
}
.booking-price strong {
  color: var(--lime);
  font-size: 1.75rem;
}
.booking-price span {
  font-size: 0.8125rem;
  color: var(--muted);
}
.notice {
  padding: 13px 16px;
  border-radius: 10px;
  background: #302938;
  color: #c5b8d5;
  font-size: 0.8125rem;
  border: 1px solid #4a3a5b;
  line-height: 1.8;
}
.notice.success {
  background: #c4f46a09;
  border-color: #c4f46a26;
  color: #a8be86;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.span-full {
  grid-column: 1/-1;
}
.review {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.review:last-child {
  border: 0;
}
.review-top {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 12px;
}
.review-top strong {
  font-size: 0.875rem;
}
.review-top small {
  display: block;
  color: var(--muted);
  font-size: 0.6875rem;
}
.review .stars {
  margin-left: auto;
  color: #dfbd79;
  font-size: 0.875rem;
}
.review p {
  font-size: 0.875rem;
  color: #c7c1ce;
}
.review-reply {
  margin-top: 12px;
  background: #24202c;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.8125rem;
  color: #b6a4cd;
}
.record {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.record h3 {
  font-size: 1rem;
}
.record p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 8px;
}
.record img {
  margin-top: 12px;
  max-height: 250px;
  border-radius: 9px;
}
.record .pill {
  margin-top: 10px;
}
.audio-player {
  width: 100%;
  height: 42px;
  margin-top: 17px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-large {
  padding: 25px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 95% 0, #57416b60, transparent 75%), var(--panel);
  border-radius: 16px;
  transition: 0.2s;
}
.game-large:hover {
  border-color: #8f6fc1;
  transform: translateY(-4px);
}
.game-large img {
  width: 65px;
  height: 65px;
  border-radius: 15px;
  margin-bottom: 20px;
}
.game-large h2 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}
.game-large p {
  font-size: 0.8125rem;
  color: var(--muted);
}
.game-large .pill {
  margin-top: 19px;
}
.wallet-page {
  max-width: 1400px;
  margin: 0 auto;
}
.wallet-page > .page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wallet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 24px;
  align-items: start;
}
.balance-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 5%, #694b8966, transparent 60%),
    linear-gradient(110deg, #2e293b, #211d2a);
  border: 1px solid #5b496d;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.balance-card:after {
  content: "¥";
  position: absolute;
  right: 45px;
  top: -25px;
  font-size: 180px;
  font-weight: 850;
  color: #b494e315;
  transform: rotate(15deg);
}
.balance-card span {
  font-size: 0.875rem;
  color: #c1b6d2;
}
.balance-card h2 {
  font-size: 2.7rem;
  letter-spacing: 1px;
  margin: 6px 0 8px;
}
.balance-card p {
  font-size: 0.75rem;
  color: #9a8fa9;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.amount-option {
  border: 1px solid #3e364b;
  border-radius: 11px;
  padding: 18px 5px;
  background: #221f29;
  font-size: 1.3rem;
  font-weight: 700;
}
.amount-option small {
  font-size: 0.8125rem;
  font-weight: 400;
  margin-right: 3px;
}
.amount-option.active {
  border-color: var(--lime);
  background: #c4f46a09;
  color: var(--lime);
}
.payment-methods {
  display: flex;
  gap: 12px;
  margin: 17px 0;
}
.payment-option {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #22222b;
  border: 1px solid #37323f;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.875rem;
  cursor: pointer;
}
.payment-option:has(input:checked) {
  border-color: var(--purple);
  background: #9974ff10;
}
.payment-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 124px;
  height: 43px;
  padding: 5px 8px;
  background: #fff;
  border-radius: 7px;
}
.payment-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment-option-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.payment-option-content .payment-brand {
  max-width: 100%;
}
.payment-option-content > small {
  color: var(--muted);
  font-size: 0.6875rem;
}
.payment-option:has(input:disabled) {
  cursor: not-allowed;
}
.payment-fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.payment-fieldset legend {
  font-size: 0.875rem;
}
.payment-fieldset .payment-methods {
  margin: 10px 0 0;
}
.payment-fieldset .payment-option {
  padding: 13px 9px;
  gap: 7px;
}
.wallet-main,
.wallet-side {
  min-width: 0;
}
.wallet-side {
  display: grid;
  gap: 20px;
}
.wallet-layout .panel {
  margin: 0;
  padding: 25px 28px;
}
.wallet-layout .panel h2 {
  font-size: 1.0625rem;
}
.balance-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.balance-heading > .icon {
  color: #bc9ee4;
  width: 20px;
}
.balance-card h2 small {
  font-size: 1.65rem;
  font-weight: 500;
}
.balance-card p {
  display: flex;
  gap: 7px;
  align-items: center;
}
.balance-card p .icon {
  width: 14px;
  height: 14px;
}
.balance-card:after {
  pointer-events: none;
}
.section-note {
  margin-left: auto;
  font-size: 0.6875rem;
  color: var(--muted);
  font-weight: 400;
}
.recharge-panel .form-stack {
  gap: 16px;
}
.recharge-panel .form-stack > div > label {
  margin-bottom: 10px;
}
.recharge-panel .amount-grid {
  gap: 10px;
}
.recharge-panel .amount-option {
  padding: 12px 5px;
}
.amount-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #37323f;
  border-radius: 10px;
  background: #111116;
}
.amount-input:focus-within {
  border-color: var(--purple);
}
.amount-input > span {
  color: var(--muted);
}
.amount-input input {
  border: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  min-width: 0;
}
.amount-input input:focus {
  box-shadow: none;
}
.wallet-history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wallet-history-heading h2 {
  margin-bottom: 0;
}
.wallet-history-heading .text-button {
  font-size: 0.75rem;
  color: var(--muted);
}
.wallet-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-top: 10px;
}
.wallet-tabs button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 16px 0 13px;
  background: none;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 0.8125rem;
}
.wallet-tabs button.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.wallet-tabs span {
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.625rem;
  background: #ffffff08;
}
.wallet-history .empty {
  padding: 52px 15px;
  min-height: 260px;
}
.wallet-history .empty h3 {
  font-size: 1rem;
}
.wallet-history .empty p {
  max-width: 290px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
}
.wallet-record-list {
  max-height: 360px;
  min-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #413a4d transparent;
}
.wallet-record {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid #ffffff07;
}
.record-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #9974ff12;
  color: var(--purple);
}
.record-symbol.incoming {
  background: #c4f46a10;
  color: var(--lime);
}
.record-symbol .icon {
  width: 17px;
  height: 17px;
}
.record-description {
  flex: 1;
  min-width: 0;
}
.record-description strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.record-description small,
.record-amount small {
  display: block;
  color: var(--muted);
  font-size: 0.625rem;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.record-amount {
  text-align: right;
  flex-shrink: 0;
}
.record-amount strong {
  font-size: 0.9375rem;
  display: block;
}
.record-amount .status {
  margin-top: 6px;
  font-size: 0.625rem;
}
.wallet-record-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.625rem;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.wallet-record-footer .icon {
  width: 13px;
  height: 13px;
}
.wallet-record-footer span {
  margin-left: auto;
}
.wallet-tips {
  display: grid;
  gap: 16px;
}
.wallet-tips p {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  font-size: 0.75rem;
  line-height: 1.85;
}
.wallet-tips strong {
  font-weight: 500;
  color: #d1cbda;
}
.wallet-tips span {
  color: var(--muted);
}
.wallet-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #baa1ef;
  font-size: 0.75rem;
}
.wallet-help span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wallet-help .icon {
  width: 17px;
  height: 17px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: left;
  white-space: nowrap;
}
th {
  padding: 13px;
  color: #90879d;
  font-weight: 500;
  background: #22202a;
  font-size: 0.75rem;
}
td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  color: #c6c1ce;
}
tr:last-child td {
  border-bottom: 0;
}
.status {
  display: inline-flex;
  font-size: 0.6875rem;
  border-radius: 6px;
  padding: 3px 9px;
  background: #3b334a;
  color: #c5b0e4;
  white-space: nowrap;
}
.status-paid,
.status-serving,
.status-active,
.status-approved {
  background: #263626;
  color: #b4da89;
}
.status-unpaid,
.status-refund_requested,
.status-pending {
  background: #3a3025;
  color: #e2bb7a;
}
.status-cancelled,
.status-disabled {
  background: #2d2c32;
  color: #95929b;
}
.status-completed,
.status-refunded {
  background: #24333d;
  color: #8ebdce;
}
.status-rejected {
  background: #3f2831;
  color: #df8eab;
}
.order-list {
  display: grid;
  gap: 20px;
}
.order-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 23px;
}
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 18px;
  gap: 15px;
}
.order-top small {
  font-size: 0.75rem;
  color: var(--muted);
}
.order-body {
  display: flex;
  align-items: center;
  gap: 18px;
}
.order-body img {
  width: 77px;
  height: 86px;
  border-radius: 10px;
  object-fit: cover;
}
.order-info {
  flex: 1;
}
.order-info h3 {
  font-size: 1rem;
  margin-bottom: 7px;
}
.order-info p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin-top: 5px;
}
.order-total {
  text-align: right;
}
.order-total strong {
  color: var(--lime);
  font-size: 1.5rem;
}
.order-total p {
  font-size: 0.75rem;
  color: var(--muted);
}
.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.checkout-summary {
  padding: 18px;
  border-radius: 12px;
  background: #25212f;
  margin-bottom: 23px;
}
.checkout-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.875rem;
}
.checkout-summary strong {
  color: var(--lime);
  font-size: 1.4rem;
}
.checkout-summary small {
  color: var(--muted);
}
.split-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin: 20px 0 12px;
}
.account-grid {
  max-width: 800px;
}
.join-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 30px;
}
.join-pitch {
  padding: 36px;
  background:
    radial-gradient(circle at 20% 15%, #6243858c, transparent 75%), #211c2b;
  border-radius: 20px;
  border: 1px solid #3e304f;
}
.join-pitch h2 {
  font-size: 2.1rem;
  margin: 20px 0;
}
.join-pitch > p {
  color: #b6a7c7;
  font-size: 0.875rem;
  line-height: 2;
}
.join-point {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}
.join-point .icon {
  color: var(--lime);
  margin-top: 4px;
}
.join-point strong {
  display: block;
  font-size: 0.9375rem;
}
.join-point p {
  font-size: 0.8125rem;
  color: #a496b6;
  margin-top: 6px;
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.support-box {
  padding: 30px;
}
.support-box > .icon {
  color: var(--lime);
  width: 35px;
  height: 35px;
  margin-bottom: 20px;
}
.support-box p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 10px;
  word-break: break-all;
}
.support-box img {
  width: 180px;
  margin: 15px auto;
  background: white;
  padding: 8px;
  border-radius: 10px;
}
.legal-page {
  max-width: 1050px;
  margin: 0 auto;
}
.legal-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal-nav > a {
  padding: 15px 0;
  font-size: 0.875rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.legal-nav > a.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.legal-nav > span {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-left: auto;
}
.legal-page .terms {
  padding: 36px 42px;
}
.legal-intro {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 23px;
  background: #9974ff0d;
  border: 1px solid #9974ff26;
  border-radius: 12px;
}
.legal-intro > .icon {
  color: var(--purple);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.legal-intro strong {
  font-size: 0.9375rem;
}
.terms p {
  color: #b2acbd;
  line-height: 2;
  font-size: 0.8125rem;
  margin-top: 13px;
}
.legal-intro p {
  font-size: 0.75rem;
  margin-top: 6px;
}
.legal-section {
  margin-top: 34px;
}
.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.0625rem;
}
.legal-section h2 > span {
  font-size: 0.75rem;
  color: var(--purple);
  font-weight: 500;
  letter-spacing: 1px;
}
.terms p strong {
  color: #e7e0f0;
  font-weight: 600;
}
.terms p a {
  color: var(--lime);
}
.legal-contact {
  margin: 20px 0;
  font-size: 0.8125rem;
}
.legal-contact > div {
  display: flex;
  gap: 22px;
  line-height: 1.9;
  padding: 8px 0;
  border-bottom: 1px solid #ffffff07;
}
.legal-contact dt {
  color: var(--muted);
  min-width: 70px;
}
.legal-contact dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.legal-data-table {
  margin-top: 20px;
}
.legal-data-table table {
  table-layout: fixed;
  min-width: 500px;
}
.legal-data-table th:first-child {
  width: 18%;
}
.legal-data-table td {
  white-space: normal;
  line-height: 1.9;
  font-size: 0.75rem;
  vertical-align: top;
}
.legal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 24px 0;
  font-size: 0.75rem;
  color: var(--muted);
}
.result-card {
  max-width: 650px;
  margin: 40px auto;
  text-align: center;
  padding: 40px;
}
.result-card > .icon {
  width: 55px;
  height: 55px;
  color: var(--lime);
  margin-bottom: 20px;
}
.result-card h1 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
.result-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.qr-wrap {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  width: 246px;
  height: 246px;
  margin: 20px auto;
}
.qr-wrap img,
.qr-wrap svg {
  width: 100%;
  height: 100%;
}
.empty {
  padding: 55px 20px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;
}
.empty > .icon {
  width: 50px;
  height: 50px;
  color: #61536e;
  margin-bottom: 20px;
}
.empty h3 {
  font-size: 1.125rem;
  color: #d1c7dc;
  margin-bottom: 8px;
}
.empty p {
  font-size: 0.875rem;
}
.empty .button {
  margin-top: 22px;
}
.loading {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #46404f;
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.toast {
  position: fixed;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid #696075;
  background: #2b2734;
  box-shadow: 0 10px 35px #0007;
  color: #eee8f5;
  transition: 0.2s;
  font-size: 0.875rem;
  max-width: 90vw;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.error {
  border-color: #a95b73;
  background: #392630;
}
dialog {
  background: #1b1922;
  color: var(--text);
  border: 1px solid #4b3e5a;
  border-radius: 20px;
  padding: 0;
  max-width: calc(100vw - 30px);
  width: 470px;
  max-height: 90vh;
  box-shadow: 0 30px 100px #0009;
}
dialog.wide {
  width: 800px;
}
dialog::backdrop {
  background: #05040bbd;
  backdrop-filter: blur(7px);
}
.modal-header {
  padding: 23px 26px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  font-size: 1.25rem;
}
.modal-body {
  padding: 26px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.auth-brand img {
  width: 42px;
  height: 42px;
}
.auth-brand span {
  font-size: 0.875rem;
  color: #a79ab6;
}
.tab-switch {
  display: flex;
  background: #131118;
  padding: 5px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.tab-switch button {
  flex: 1;
  border-radius: 7px;
  background: none;
  color: var(--muted);
  padding: 8px;
}
.tab-switch button.active {
  color: #e1d3f1;
  background: #322a3f;
}
.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.inline-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (min-width: 1650px) {
  .companion-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .hero-grid {
    grid-template-columns: 1fr 350px;
  }
  .hero {
    height: 320px;
  }
  .hero-art {
    height: 360px;
    right: 0;
  }
  .hero-copy {
    padding: 34px 40px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-small {
    padding: 33px;
  }
  .game-tile {
    padding: 16px 18px;
  }
  .game-tile span {
    font-size: 0.8125rem;
  }
  .card-body {
    padding: 18px;
  }
  .card-title h3 {
    font-size: 1rem;
  }
  .card-tagline {
    font-size: 0.75rem;
  }
  .card-price {
    font-size: 1.45rem;
  }
  .card-tags .pill,
  .card-rating {
    font-size: 0.6875rem;
  }
  .card-image {
    aspect-ratio: 1/1.04;
  }
}
@media (max-width: 1320px) {
  :root {
    --sidebar: 192px;
  }
  .sidebar {
    padding: 26px 14px;
  }
  .brand strong {
    font-size: 1.15rem;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .topbar {
    padding: 0 26px;
  }
  .topbar-title span {
    display: none;
  }
  main {
    padding: 26px;
  }
  .hero-grid {
    grid-template-columns: 1fr 250px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-art {
    right: -48px;
    width: 55%;
    top: 4px;
    height: 290px;
  }
  .hero-small {
    padding: 25px;
  }
  .hero-small h2 {
    font-size: 1.6rem;
  }
  .game-strip {
    grid-template-columns: repeat(8, 1fr);
    gap: 9px;
  }
  .game-tile {
    padding: 12px 5px;
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }
  .game-tile small {
    display: none;
  }
  .game-tile img {
    width: 36px;
    height: 36px;
  }
  .companion-grid {
    gap: 17px 13px;
  }
  .card-body {
    padding: 12px;
  }
  .card-title h3 {
    font-size: 0.875rem;
  }
  .top-actions {
    gap: 15px;
  }
  .detail-layout {
    grid-template-columns: 1fr 300px;
  }
}
@media (max-width: 1080px) {
  :root {
    --sidebar: 175px;
  }
  .brand small {
    font-size: 0.55rem;
    letter-spacing: 2px;
  }
  .brand strong {
    font-size: 1rem;
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .side-nav {
    margin-top: 28px;
  }
  .nav-link {
    padding: 11px;
  }
  .nav-link,
  .side-game {
    font-size: 0.8125rem;
  }
  .topbar {
    padding: 0 23px;
  }
  .topbar-title {
    display: none;
  }
  .search {
    margin-left: 0;
  }
  .top-actions {
    gap: 13px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 280px;
  }
  .hero-art {
    width: 48%;
    right: 0;
    top: -25px;
    height: 330px;
  }
  .hero-small {
    display: none;
  }
  .companion-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filter-selects {
    gap: 9px;
  }
  .sort-tabs {
    gap: 17px;
  }
  .game-strip {
    grid-template-columns: repeat(8, 1fr);
  }
  .game-tile span {
    font-size: 0.625rem;
  }
  .detail-layout,
  .wallet-layout {
    grid-template-columns: 1fr;
  }
  .booking-panel {
    position: static;
  }
  .profile-actions {
    display: none;
  }
  .game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .join-layout {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 16px;
    --sidebar: 0px;
  }
  .sidebar {
    display: none;
  }
  .site-shell {
    margin: 0;
  }
  .topbar {
    height: 68px;
    padding: 0 18px;
    gap: 12px;
  }
  .mobile-logo {
    display: flex;
    gap: 7px;
    align-items: center;
    white-space: nowrap;
  }
  .mobile-logo img {
    width: 31px;
    height: 31px;
  }
  .mobile-logo strong {
    font-size: 1rem;
  }
  .search {
    max-width: none;
  }
  .search input {
    min-width: 0;
    height: 35px;
    min-height: 35px;
    font-size: 0.75rem;
    padding-left: 32px;
  }
  .search .icon {
    left: 10px;
    top: 10px;
    width: 15px;
    height: 15px;
  }
  .top-actions {
    gap: 8px;
  }
  .top-actions .top-action {
    display: none;
  }
  .top-actions .button {
    padding: 7px 12px;
    font-size: 0.75rem;
    min-height: 35px;
  }
  .top-actions .user-menu {
    display: flex;
  }
  .top-actions .user-menu span:last-child {
    display: none;
  }
  main {
    padding: 19px 16px 28px;
  }
  .hero-grid {
    margin-bottom: 23px;
  }
  .hero {
    height: 248px;
    border-radius: 16px;
  }
  .hero-copy {
    padding: 25px 23px;
  }
  .eyebrow {
    font-size: 0.5625rem;
    letter-spacing: 2px;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.45;
    margin-top: 12px;
  }
  .hero p {
    font-size: 0.6875rem;
    max-width: 190px;
  }
  .hero .button {
    margin-top: 18px;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 0.75rem;
  }
  .hero-art {
    width: 56%;
    height: 250px;
    top: 24px;
    right: -41px;
    opacity: 0.9;
  }
  .hero-stamp {
    display: none;
  }
  .section-heading {
    margin-bottom: 14px;
  }
  .section-heading h2 {
    font-size: 1.1rem;
    gap: 7px;
  }
  .section-heading h2 small {
    display: none;
  }
  .section-heading h2 .icon {
    width: 19px;
  }
  .game-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 26px;
  }
  .game-tile {
    padding: 13px 5px;
    gap: 7px;
    border-radius: 10px;
    flex-direction: row;
    justify-content: center;
  }
  .game-tile img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .game-tile span {
    font-size: 0.625rem;
    text-align: left;
  }
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    margin-bottom: 17px;
  }
  .sort-tabs {
    justify-content: space-between;
    gap: 9px;
  }
  .sort-tabs button {
    font-size: 0.75rem;
  }
  .sort-tabs button.active:after {
    bottom: -8px;
  }
  .filter-selects {
    justify-content: space-between;
  }
  .filter-selects select {
    width: 130px;
  }
  .filter-selects .checkbox-label {
    font-size: 0.75rem;
  }
  .companion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 11px;
  }
  .companion-card {
    border-radius: 12px;
  }
  .card-image {
    aspect-ratio: 1/1.08;
  }
  .card-body {
    padding: 12px 10px;
  }
  .card-title h3 {
    font-size: 0.8125rem;
  }
  .card-title .icon {
    display: none;
  }
  .card-tagline {
    font-size: 0.625rem;
  }
  .card-tags .pill {
    font-size: 0.5625rem;
    padding: 2px 5px;
  }
  .card-bottom {
    gap: 4px;
    margin-top: 12px;
  }
  .card-price {
    font-size: 1.125rem;
  }
  .card-price span {
    font-size: 0.5625rem;
    margin-left: 3px;
  }
  .card-rating {
    font-size: 0.5625rem;
  }
  .card-price small {
    font-size: 0.625rem;
  }
  .card-state {
    top: 8px;
    left: 8px;
    font-size: 0.5625rem;
  }
  .card-heart {
    right: 8px;
    top: 8px;
    width: 25px;
    height: 25px;
  }
  .card-game {
    left: 8px;
    font-size: 0.5625rem;
    bottom: 8px;
  }
  .assurances {
    gap: 8px;
    margin-top: 26px;
    padding-top: 23px;
  }
  .assurance {
    gap: 8px;
    flex-direction: column;
    text-align: center;
  }
  .assurance > .icon {
    width: 25px;
    height: 25px;
  }
  .assurance strong {
    font-size: 0.6875rem;
  }
  .assurance span {
    font-size: 0.5625rem;
  }
  footer {
    padding: 22px 16px 100px;
    font-size: 0.625rem;
  }
  footer .footer-links {
    font-size: 0.6875rem;
    gap: 18px;
  }
  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: #18171ff2;
    backdrop-filter: blur(16px);
    border-top: 1px solid #35303f;
    z-index: 30;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: #898291;
    font-size: 0.625rem;
    min-width: 45px;
  }
  .mobile-nav a.active {
    color: var(--lime);
  }
  .mobile-nav .icon {
    width: 21px;
    height: 21px;
  }
  .toast {
    bottom: 90px;
    width: max-content;
    max-width: calc(100vw - 35px);
    font-size: 0.8125rem;
  }
  .page-title {
    margin: 5px 0 23px;
  }
  .page-title h1 {
    font-size: 1.6rem;
  }
  .page-title p {
    font-size: 0.8125rem;
  }
  .profile-hero {
    padding: 18px;
    gap: 15px;
    border-radius: 15px;
    align-items: flex-start;
  }
  .profile-avatar {
    width: 95px;
    height: 115px;
    border-radius: 10px;
  }
  .profile-name h1 {
    font-size: 1.2rem;
  }
  .profile-name .pill {
    font-size: 0.625rem;
  }
  .profile-copy > p {
    font-size: 0.75rem;
    margin: 8px 0;
  }
  .profile-tags {
    gap: 5px;
  }
  .profile-tags .pill {
    font-size: 0.625rem;
  }
  .profile-stats {
    gap: 18px;
    margin-top: 12px;
  }
  .profile-stats strong {
    font-size: 1rem;
  }
  .profile-stats span {
    font-size: 0.625rem;
  }
  .panel {
    padding: 20px;
    border-radius: 14px;
  }
  .panel h2 {
    font-size: 1rem;
  }
  .detail-layout {
    gap: 20px;
  }
  .tabs {
    gap: 21px;
  }
  .tabs button {
    font-size: 0.8125rem;
  }
  .bio {
    font-size: 0.8125rem;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid,
  .two-columns {
    grid-template-columns: 1fr;
  }
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
  }
  .game-large {
    padding: 20px 15px;
  }
  .game-large img {
    width: 50px;
    height: 50px;
  }
  .game-large h2 {
    font-size: 0.9375rem;
  }
  .game-large p {
    font-size: 0.75rem;
  }
  .game-large .pill {
    font-size: 0.625rem;
  }
  .balance-card {
    padding: 25px;
  }
  .balance-card h2 {
    font-size: 2.4rem;
  }
  .amount-option {
    font-size: 1.2rem;
    padding: 15px 5px;
  }
  .order-card {
    padding: 17px;
  }
  .order-top {
    align-items: flex-start;
  }
  .order-top small {
    font-size: 0.625rem;
    max-width: 70%;
    overflow-wrap: anywhere;
  }
  .order-body {
    gap: 11px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .order-body img {
    width: 60px;
    height: 70px;
  }
  .order-info h3 {
    font-size: 0.875rem;
  }
  .order-info p {
    font-size: 0.6875rem;
  }
  .order-total {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }
  .order-total strong {
    font-size: 1.3rem;
  }
  .order-actions .button {
    font-size: 0.6875rem;
    padding: 7px 11px;
    min-height: 33px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .join-pitch {
    padding: 27px;
  }
  .join-pitch h2 {
    font-size: 1.8rem;
  }
  .modal-header {
    padding: 18px 20px;
  }
  .modal-header h2 {
    font-size: 1.1rem;
  }
  .modal-body {
    padding: 20px;
  }
  .result-card {
    padding: 30px 20px;
  }
  .result-actions {
    flex-wrap: wrap;
  }
  .payment-option {
    padding: 12px 9px;
    font-size: 0.8125rem;
  }
}
@media (max-width: 600px) {
  .wallet-layout .panel {
    padding: 22px 18px;
  }
  .wallet-page > .page-title {
    align-items: flex-start;
    gap: 10px;
  }
  .wallet-page > .page-title .button {
    padding: 8px 10px;
    font-size: 0.6875rem;
    white-space: nowrap;
  }
  .wallet-page > .page-title p {
    font-size: 0.75rem;
  }
  .wallet-page .balance-card {
    padding: 22px;
  }
  .payment-brand {
    width: 102px;
    height: 37px;
    padding: 4px 7px;
  }
  .payment-fieldset .payment-option {
    gap: 5px;
    padding: 13px 6px;
  }
  .wallet-history .empty {
    min-height: 220px;
    padding: 38px 10px;
  }
  .wallet-tips p {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .section-note {
    font-size: 0.625rem;
  }
  .legal-page .terms {
    padding: 22px 18px;
  }
  .legal-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
  .legal-nav > span {
    width: 100%;
    margin-left: 0;
    padding-bottom: 14px;
    margin-top: -8px;
  }
  .legal-intro {
    padding: 16px;
    gap: 10px;
  }
  .legal-section h2 {
    font-size: 1rem;
    gap: 8px;
  }
  .legal-bottom {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 1320px) {
  .topbar-title span {
    display: none;
  }
  .hero {
    height: 245px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero h1 {
    font-size: 1.95rem;
  }
  .hero-art {
    height: 275px;
    top: -10px;
  }
  .hero-small h2 {
    font-size: 1.5rem;
  }
  .hero-small .mini-pills {
    margin-top: 12px;
  }
  .hero-small a {
    margin-top: 15px;
  }
}
@media (max-width: 760px) {
  .hero {
    height: 238px;
  }
  .hero-copy {
    padding: 23px;
  }
  .hero-art {
    height: 240px;
    top: 20px;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
}
