:root {
  color-scheme: light;
  --ink: #18191f;
  --muted: #707684;
  --line: #e7e9ef;
  --soft: #f5f7fb;
  --panel: #ffffff;
  --coral: #ff6b4a;
  --coral-dark: #e95535;
  --mint: #1fbf8f;
  --blue: #3678ff;
  --gold: #f2a51a;
  --shadow: 0 18px 42px rgba(22, 26, 36, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef2f6;
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 16px;
  background: #111318;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

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

.brand small {
  color: #aeb4c0;
  margin-top: 2px;
}

.rail-nav {
  display: grid;
  gap: 8px;
}

.rail-item {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c8ced8;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.rail-item span {
  width: 22px;
  color: #fff;
}

.rail-item.active,
.rail-item:hover {
  background: #252a32;
  color: #fff;
}

.status-panel {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
}

.status-panel strong,
.status-panel small {
  display: block;
}

.status-panel small {
  color: #aeb4c0;
  margin-top: 3px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(31, 191, 143, 0.14);
}

.workspace {
  padding: 24px;
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.search-box {
  width: min(360px, 42vw);
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
}

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

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}

.ghost-button,
.primary-button,
.secondary-button,
.chip,
.rank-list button {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  white-space: nowrap;
}

.primary-button {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
  font-weight: 800;
}

.primary-button:hover {
  background: var(--coral-dark);
}

.secondary-button:hover,
.ghost-button:hover,
.chip:hover,
.rank-list button:hover {
  border-color: #cfd5df;
  background: #f9fafc;
}

.hero-board {
  border-radius: 8px;
  min-height: 146px;
  padding: 22px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.96), rgba(33, 36, 44, 0.86)),
    url("./assets/desk-scene.svg") center/cover no-repeat;
  color: #fff;
}

.hero-copy {
  align-self: flex-end;
}

.hero-copy strong,
.hero-copy span {
  display: block;
}

.hero-copy strong {
  font-size: 30px;
  line-height: 1.1;
}

.hero-copy span {
  margin-top: 10px;
  color: #d7dce5;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 10px;
  align-items: end;
  min-width: min(420px, 48%);
}

.hero-metrics div {
  min-height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-metrics strong {
  font-size: 25px;
}

.hero-metrics span {
  color: #c8ced8;
  margin-top: 4px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.game-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.game-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  white-space: nowrap;
}

.game-tab.active {
  background: #15171c;
  border-color: #15171c;
  color: #fff;
}

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.chip.active {
  border-color: rgba(31, 191, 143, 0.28);
  background: rgba(31, 191, 143, 0.1);
  color: #0b7d5e;
}

select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: 0;
}

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

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

.companion-card,
.mini-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(22, 26, 36, 0.04);
}

.companion-card {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.card-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}

.avatar {
  width: 76px;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f6;
}

.identity {
  min-width: 0;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.name-row h3 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 19px;
}

.badge,
.online-badge,
.offline-badge {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  white-space: nowrap;
}

.badge {
  background: rgba(54, 120, 255, 0.1);
  color: #1d5fe0;
}

.online-badge {
  background: rgba(31, 191, 143, 0.12);
  color: #0b7d5e;
}

.offline-badge {
  background: #f1f2f5;
  color: var(--muted);
}

.role {
  margin: 7px 0 8px;
  color: var(--muted);
  line-height: 1.35;
}

.rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.rating-line strong {
  color: var(--gold);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  background: var(--soft);
  border-radius: 8px;
  padding: 6px 8px;
  color: #555b66;
  font-size: 13px;
}

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

.service-pill {
  border-radius: 8px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  padding: 10px;
  min-width: 0;
}

.service-pill strong,
.service-pill span {
  display: block;
}

.service-pill strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-pill span {
  color: var(--coral);
  font-weight: 800;
  margin-top: 4px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.mini-panel {
  padding: 16px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-heading span {
  color: var(--muted);
  font-size: 13px;
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: #555b66;
}

.plain-list li {
  padding-left: 18px;
  position: relative;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.rank-list {
  display: grid;
  gap: 8px;
}

.rank-list button {
  justify-content: flex-start;
  width: 100%;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 18px;
  background: rgba(9, 11, 16, 0.5);
}

.modal-backdrop.open {
  display: flex;
}

.profile-modal,
.order-drawer {
  position: relative;
  width: min(720px, 100%);
  max-height: min(780px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-modal {
  padding: 24px;
}

.order-drawer {
  margin-left: auto;
  height: calc(100vh - 36px);
  width: min(440px, 100%);
  padding: 22px;
}

.icon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 20px;
  line-height: 1;
}

.detail-head {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  margin-right: 30px;
}

.detail-head .avatar {
  width: 108px;
  height: 108px;
}

.detail-head h2,
.order-drawer h2 {
  margin: 0 0 8px;
}

.detail-section {
  margin-top: 20px;
}

.detail-section h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.service-list,
.review-list,
.schedule-grid,
.order-list {
  display: grid;
  gap: 10px;
}

.service-row,
.review-row,
.order-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfe;
}

.service-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.service-row p,
.review-row p,
.order-row p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.price {
  color: var(--coral);
  font-weight: 900;
  white-space: nowrap;
}

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

.schedule-grid span {
  border-radius: 8px;
  padding: 10px;
  background: var(--soft);
  color: #555b66;
  text-align: center;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #505663;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  outline: 0;
  background: #fff;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: #111318;
  color: #fff;
  padding: 14px;
}

.total-box span {
  color: #c8ced8;
}

.total-box strong {
  font-size: 24px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 40;
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  border-radius: 8px;
  background: #111318;
  color: #fff;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  border: 1px dashed #cdd4df;
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: static;
    height: auto;
    padding: 14px 16px;
    flex-direction: row;
    align-items: center;
  }

  .rail-nav {
    display: flex;
    overflow-x: auto;
    margin-left: auto;
  }

  .status-panel {
    display: none;
  }

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

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

@media (max-width: 820px) {
  .workspace {
    padding: 16px;
  }

  .topbar,
  .toolbar,
  .hero-board {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    justify-content: stretch;
  }

  .search-box,
  .ghost-button {
    width: 100%;
  }

  .hero-metrics {
    min-width: 0;
    width: 100%;
  }

  .companion-list,
  .side-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rail {
    overflow-x: auto;
  }

  .brand div {
    display: none;
  }

  .rail-item {
    min-width: 72px;
    justify-content: center;
    padding: 10px;
  }

  .rail-item span {
    width: auto;
  }

  .hero-metrics,
  .service-strip,
  .schedule-grid,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-head,
  .detail-head {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .avatar,
  .detail-head .avatar {
    width: 64px;
    height: 64px;
  }

  .profile-modal,
  .order-drawer {
    padding: 18px;
  }
}

/* Home showcase refresh */
.home-showcase {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 14px;
}

.home-showcase .hero-board,
.home-showcase .delta-zone {
  min-height: 306px;
  height: 100%;
  margin: 0;
}

.home-showcase .hero-board {
  position: relative;
  isolation: isolate;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  background: #15171c url("./assets/desk-scene.svg") center / cover no-repeat;
}

.home-showcase .hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 16, 21, 0.84);
}

.home-showcase .hero-copy {
  align-self: start;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  margin: 0 0 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f6b09d;
  font-size: 11px;
  font-weight: 900;
}

.hero-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(31, 191, 143, 0.14);
}

.home-showcase .hero-copy h2 {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1.18;
}

.home-showcase .hero-copy > p:last-of-type {
  margin: 12px 0 0;
  color: #c9ced7;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-primary {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--coral);
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.hero-primary:hover {
  border-color: #fff;
  background: #fff;
  color: #17191e;
}

.hero-primary:active {
  transform: translateY(1px);
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d7dce5;
  font-size: 13px;
  font-weight: 700;
}

.hero-availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.hero-live-panel {
  min-height: 92px;
  padding: 4px 0 4px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.hero-live-panel span,
.hero-live-panel strong,
.hero-live-panel small {
  display: block;
}

.hero-live-panel span {
  color: #aeb4c0;
  font-size: 11px;
}

.hero-live-panel strong {
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
}

.hero-live-panel small {
  margin-top: 7px;
  color: #b9c0cb;
}

.home-showcase .hero-metrics {
  width: 100%;
  min-width: 0;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.home-showcase .hero-metrics div {
  min-height: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.home-showcase .hero-metrics div:first-child {
  padding-left: 0;
}

.home-showcase .hero-metrics div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.home-showcase .hero-metrics strong {
  font-size: 22px;
}

.home-showcase .hero-metrics span {
  margin-top: 5px;
  font-size: 12px;
}

.home-showcase .delta-zone {
  padding: 24px;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-end;
  background-position: 58% center;
}

.home-showcase .delta-zone-copy {
  max-width: 100%;
}

.home-showcase .delta-zone h2 {
  font-size: 27px;
}

.home-showcase .delta-zone-copy > p:last-of-type {
  max-width: 370px;
  margin-bottom: 16px;
  font-size: 13px;
}

.home-showcase .delta-action {
  justify-content: space-between;
  gap: 16px;
}

.home-showcase .delta-action span {
  font-size: 20px;
  line-height: 1;
}

.home-showcase .delta-zone-stats {
  width: 100%;
  min-width: 0;
  margin-top: 20px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(220, 232, 229, 0.35);
  border-left: 0;
  gap: 8px;
}

.home-showcase .delta-zone-stats div + div {
  padding-left: 10px;
  border-left: 1px solid rgba(220, 232, 229, 0.24);
}

.home-showcase .delta-zone-stats strong {
  font-size: 16px;
}

.home-showcase .delta-zone-stats span {
  font-size: 11px;
}

.home-proof-strip {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
}

.home-proof-strip > * {
  min-width: 0;
  min-height: 68px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.home-proof-strip > * + * {
  border-left: 1px solid var(--line);
}

.home-proof-strip strong,
.home-proof-strip small {
  display: block;
}

.home-proof-strip strong {
  font-size: 13px;
}

.home-proof-strip small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.proof-mark.coral { background: var(--coral); }
.proof-mark.mint { background: var(--mint); }
.proof-mark.blue { background: var(--blue); }
.proof-mark.gold { background: var(--gold); }

#homeView .discover-panel {
  padding-top: 10px;
}

#homeView .companion-card {
  border-top-color: #d9dde5;
}

#homeView .companion-card:hover {
  border-top-color: var(--coral);
}

@media (min-width: 1121px) {
  #homeView .side-stack {
    position: sticky;
    top: 18px;
    align-self: start;
  }
}

@media (max-width: 1040px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .home-showcase .hero-board,
  .home-showcase .delta-zone {
    min-height: 280px;
  }

  .home-showcase .delta-zone {
    background-position: center;
  }
}

@media (max-width: 820px) {
  .home-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-strip > *:nth-child(3) {
    border-left: 0;
  }

  .home-proof-strip > *:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .home-showcase .hero-board {
    min-height: 380px;
    padding: 22px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 16px;
  }

  .home-showcase .hero-copy h2 {
    font-size: 27px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-live-panel {
    min-height: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .home-showcase .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-showcase .hero-metrics div {
    padding: 0 10px;
  }

  .home-showcase .hero-metrics strong {
    font-size: 18px;
  }

  .home-showcase .delta-zone {
    min-height: 330px;
  }

  .home-proof-strip small {
    white-space: normal;
  }
}

.account-button {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-tags {
  margin-top: 12px;
}

.full-button {
  width: 100%;
}

button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.auth-shell {
  max-width: 560px;
  margin: 0 auto;
}

.auth-shell h2 {
  margin: 4px 0 18px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: #eef1f5;
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.segmented button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 5px rgba(19, 24, 32, 0.1);
}

.role-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.role-option {
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.role-option strong,
.role-option span {
  display: block;
}

.role-option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.role-option.active {
  border-color: var(--coral);
  background: #fff6f2;
}

.auth-form {
  margin-top: 16px;
}

.form-hint {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent-line input {
  margin-top: 3px;
}

.dashboard-head,
.order-title-line,
.verification-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-head h2 {
  margin: 4px 0 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #d9dee7;
  border-radius: 999px;
  background: #f7f8fa;
  color: #545c6a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-approved,
.status-completed {
  border-color: #9bd7bb;
  background: #edf9f3;
  color: #13724c;
}

.status-pending,
.status-accepted,
.status-in_service {
  border-color: #f3ca93;
  background: #fff8e9;
  color: #875713;
}

.status-rejected,
.status-cancelled {
  border-color: #efb3b3;
  background: #fff1f1;
  color: #9d3030;
}

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

.account-summary > div,
.metric-grid > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.account-summary span,
.account-summary strong,
.metric-grid span,
.metric-grid strong {
  display: block;
}

.account-summary span,
.metric-grid span {
  color: var(--muted);
  font-size: 12px;
}

.account-summary strong,
.metric-grid strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.metric-grid strong {
  font-size: 22px;
}

.dashboard-actions,
.order-actions,
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.danger-button {
  color: #a43434;
}

.alert-box {
  padding: 12px;
  border: 1px solid #efb3b3;
  border-radius: 8px;
  background: #fff1f1;
  color: #8e2e2e;
}

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

.verification-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.verification-row p {
  margin: 5px 0 0;
  color: var(--muted);
}

.order-actions {
  margin-top: 10px;
}

.order-note {
  overflow-wrap: anywhere;
}

.error-state {
  color: #9d3030;
}

@media (max-width: 720px) {
  .role-selector,
  .account-summary,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-head,
  .verification-row {
    align-items: stretch;
    flex-direction: column;
  }

  .account-button {
    max-width: none;
  }
}

.rail-item {
  position: relative;
  min-height: 46px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rail-item:hover {
  transform: translateX(2px);
}

.rail-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: var(--coral);
}

.logged-out .rail-item[data-protected="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242, 165, 26, 0.12);
}

.companion-card,
.mini-panel,
.search-box,
.ghost-button,
.account-button {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.companion-card:hover {
  border-color: #d8dde7;
  box-shadow: 0 14px 30px rgba(22, 26, 36, 0.09);
  transform: translateY(-2px);
}

.search-box:focus-within {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.12);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(54, 120, 255, 0.24);
  outline-offset: 2px;
}

.auth-notice {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #f1c68c;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  background: #fff8e9;
  color: #754b0f;
}

.auth-notice span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

.auth-notice p {
  margin: 0;
  line-height: 1.45;
  font-weight: 700;
}

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

.message-item {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  background: #fbfcfe;
}

.message-item.unread {
  border-color: #f2cbbf;
  background: #fff8f5;
}

.message-item.unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.message-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.message-mark.security {
  background: var(--blue);
}

.message-item p {
  margin: 5px 18px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.message-item time {
  display: block;
  margin-top: 8px;
  color: #9ba1ad;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.delta-zone {
  min-height: 238px;
  margin-bottom: 16px;
  padding: 26px;
  border: 1px solid #31515b;
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  overflow: hidden;
  background: #142631 url("./assets/delta-operations-bg-v2.jpg") center / cover no-repeat;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 32, 41, 0.18);
}

.delta-zone-copy {
  max-width: 560px;
}

.delta-kicker {
  margin: 0 0 6px;
  color: #ff9b6f;
  font-size: 12px;
  font-weight: 900;
}

.delta-zone h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.delta-zone-copy > p:last-of-type {
  margin: 9px 0 18px;
  color: #d8e5e4;
  line-height: 1.55;
}

.delta-action {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #ff9b6f;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.delta-action:hover {
  background: #fff;
  color: #172934;
}

.delta-zone-stats {
  min-width: 330px;
  padding-left: 22px;
  border-left: 1px solid rgba(220, 232, 229, 0.35);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.delta-zone-stats strong,
.delta-zone-stats span {
  display: block;
}

.delta-zone-stats strong {
  font-size: 18px;
}

.delta-zone-stats span {
  margin-top: 4px;
  color: #c1d0cf;
  font-size: 12px;
}

.companion-card {
  position: relative;
}

.delta-companion {
  border-color: #adc8c7;
  background: #fbfdfc;
}

.delta-companion:hover {
  border-color: #f08b60;
}

.delta-card-label {
  position: absolute;
  top: 14px;
  right: 14px;
  max-width: 96px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #17333d;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.delta-companion .name-row {
  padding-right: 96px;
}

@media (max-width: 820px) {
  .delta-zone {
    min-height: 310px;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-end;
    background-position: 62% center;
  }

  .delta-zone-stats {
    min-width: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(220, 232, 229, 0.35);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .delta-zone {
    min-height: 344px;
    padding: 20px;
  }

  .delta-zone h2 {
    font-size: 26px;
  }

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

  .delta-zone-stats div:last-child {
    display: none;
  }
}

/* Refined discovery and interaction layer */
html {
  scroll-behavior: smooth;
}

body.overlay-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 6px;
  background: #111318;
  color: #fff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.workspace {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
}

h1 {
  font-size: 40px;
}

.search-box {
  position: relative;
}

.search-clear {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #edf0f4;
  color: #626977;
  font-size: 18px;
  line-height: 1;
}

.search-clear:hover {
  background: #e1e5eb;
  color: var(--ink);
}

.search-clear[hidden] {
  display: none;
}

.discover-panel {
  margin-bottom: 18px;
  padding: 6px 0 18px;
  border-bottom: 1px solid #dfe3ea;
  scroll-margin-top: 18px;
}

.discover-head {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.discover-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.result-tools {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.reset-filter {
  min-height: 32px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
}

.reset-filter:hover {
  color: #bd3f25;
}

.discover-controls {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.game-picker {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 7px;
}

.game-tabs {
  min-width: 0;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.game-tabs::-webkit-scrollbar,
.filters::-webkit-scrollbar {
  display: none;
}

.tab-scroll-button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #3f4652;
  font-size: 25px;
  line-height: 1;
}

.tab-scroll-button:hover:not(:disabled) {
  border-color: #cfd5df;
  background: #f8fafc;
}

.tab-scroll-button:disabled {
  cursor: default;
  opacity: 0.34;
}

.game-tab,
.chip,
.tab-scroll-button,
.service-pill,
.primary-button,
.secondary-button,
.ghost-button,
.delta-action {
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.game-tab:active,
.chip:active,
.tab-scroll-button:active:not(:disabled),
.service-pill:active,
.primary-button:active:not(:disabled),
.secondary-button:active:not(:disabled),
.ghost-button:active:not(:disabled),
.delta-action:active {
  transform: translateY(1px);
}

.filters {
  min-width: max-content;
  padding-left: 16px;
  border-left: 1px solid #dfe3ea;
  flex-wrap: nowrap;
}

.filter-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.companion-card {
  align-content: start;
}

.verified-mark {
  color: #1d5fe0;
  font-size: 12px;
  font-weight: 800;
}

.service-strip {
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-pill {
  min-height: 64px;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.service-pill + .service-pill {
  border-left: 1px solid var(--line);
}

.service-pill:hover {
  background: #f7f9fc;
}

.service-choice {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.compact-button {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
}

.empty-filter-state {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-filter-state strong {
  color: var(--ink);
  font-size: 18px;
}

.empty-filter-state p {
  margin: 8px 0 16px;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid #c73d3d;
  border-radius: 4px;
  background: #fff1f1;
  color: #8e2e2e;
  font-size: 13px;
  line-height: 1.45;
}

.quantity-stepper {
  width: min(220px, 100%);
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 44px minmax(60px, 1fr) 44px;
  overflow: hidden;
  background: #fff;
}

.quantity-stepper button {
  border: 0;
  background: #f5f7fa;
  color: var(--ink);
  font-size: 20px;
}

.quantity-stepper button:hover {
  background: #eceff4;
}

.quantity-stepper input {
  width: 100%;
  padding: 0 6px;
  border: 0;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  text-align: center;
  appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}

.skeleton-card {
  pointer-events: none;
  overflow: hidden;
}

.skeleton {
  display: block;
  border-radius: 6px;
  background: #e9edf2;
  animation: skeleton-pulse 1.1s ease-in-out infinite alternate;
}

.skeleton-avatar {
  width: 76px;
  height: 76px;
}

.skeleton-title {
  width: 130px;
  height: 20px;
  margin: 4px 0 12px;
}

.skeleton-line {
  width: 210px;
  max-width: 100%;
  height: 12px;
  margin-top: 8px;
}

.skeleton-line.short {
  width: 150px;
}

.skeleton-block {
  height: 64px;
}

.skeleton-button {
  height: 40px;
}

@keyframes skeleton-pulse {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.modal-backdrop.open .profile-modal {
  animation: modal-enter 180ms ease-out;
}

.modal-backdrop.open .order-drawer {
  animation: drawer-enter 200ms ease-out;
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes drawer-enter {
  from { transform: translateX(24px); }
  to { transform: translateX(0); }
}

@media (max-width: 1120px) {
  .discover-controls {
    grid-template-columns: 1fr;
  }

  .filters {
    min-width: 0;
    padding: 12px 0 0;
    border-top: 1px solid #dfe3ea;
    border-left: 0;
    justify-content: flex-start;
  }
}

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

  .app-shell {
    display: block;
  }

  .workspace {
    padding: 16px 16px calc(96px + env(safe-area-inset-bottom));
  }

  .rail {
    position: fixed;
    inset: auto 0 0;
    z-index: 25;
    width: 100%;
    height: calc(72px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
  }

  .brand,
  .status-panel {
    display: none;
  }

  .rail-nav {
    width: 100%;
    height: 56px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .rail-item {
    min-width: 0;
    min-height: 54px;
    padding: 4px;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
  }

  .rail-item:hover {
    transform: none;
  }

  .rail-item span {
    width: auto;
    font-size: 17px;
  }

  .rail-item.active::before {
    top: 0;
    left: 50%;
    width: 22px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    transform: translateX(-50%);
  }

  .logged-out .rail-item[data-protected="true"]::after {
    position: absolute;
    top: 7px;
    right: calc(50% - 19px);
    width: 6px;
    height: 6px;
    margin: 0;
  }

  .top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    align-self: flex-start;
  }

  .search-box {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ghost-button,
  .account-button {
    width: 100%;
    max-width: none;
  }

  .discover-head {
    align-items: flex-start;
  }

  .discover-head h2 {
    font-size: 21px;
  }

  .result-tools {
    align-items: flex-end;
    flex-direction: column;
    gap: 2px;
  }

  .filters {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .service-row {
    align-items: stretch;
    flex-direction: column;
  }

  .service-choice {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .profile-modal,
  .order-drawer {
    width: 100%;
    height: auto;
    max-height: 92dvh;
    margin: 0;
    border-radius: 8px 8px 0 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .toast {
    bottom: calc(88px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 32px);
    text-align: center;
  }
}

/* Complaint service */
.proof-service {
  width: 100%;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.proof-service:hover {
  background: #f8fafc;
}

.proof-service > span:nth-child(2) {
  min-width: 0;
}

.proof-service i {
  margin-left: auto;
  color: #9aa1ad;
  font-size: 22px;
  font-style: normal;
}

.page-metrics.owner-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.complaint-compose {
  position: sticky;
  top: 18px;
}

.support-form-fields,
.complaint-list {
  display: grid;
  gap: 14px;
}

.support-form-fields label,
.complaint-handle-form label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #555c68;
  font-size: 12px;
  font-weight: 800;
}

.support-form-fields select,
.support-form-fields textarea,
.complaint-handle-form select,
.complaint-handle-form textarea {
  width: 100%;
  border: 1px solid #d9dee7;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

.support-form-fields select,
.complaint-handle-form select {
  height: 44px;
  padding: 0 11px;
}

.support-form-fields textarea,
.complaint-handle-form textarea {
  min-height: 94px;
  padding: 11px;
  resize: vertical;
  line-height: 1.6;
}

.support-form-fields select:focus,
.support-form-fields textarea:focus,
.complaint-handle-form select:focus,
.complaint-handle-form textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.12);
}

.support-content-field {
  position: relative;
}

.support-content-field small {
  justify-self: end;
  color: #959ba7;
  font-weight: 500;
}

.support-submit {
  width: 100%;
  margin-top: 14px;
}

.complaint-owner-board {
  padding-top: 4px;
}

.complaint-tabs {
  width: min(570px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.complaint-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 26, 36, 0.04);
}

.complaint-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.complaint-card-head > div,
.complaint-number,
.complaint-card-head strong {
  min-width: 0;
  display: block;
}

.complaint-number {
  margin-bottom: 5px;
  color: #969ca7;
  font-size: 11px;
}

.complaint-card-head strong {
  font-size: 17px;
}

.status-processing {
  border-color: #a9c5ff;
  background: #eef4ff;
  color: #245abf;
}

.status-resolved {
  border-color: #9bd7bb;
  background: #edf9f3;
  color: #13724c;
}

.complaint-meta {
  margin: 16px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.complaint-meta > div {
  min-width: 0;
}

.complaint-meta dt,
.complaint-meta dd {
  margin: 0;
}

.complaint-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.complaint-meta dd {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

.complaint-content {
  margin: 15px 0 0;
  overflow-wrap: anywhere;
  color: #3f4652;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.complaint-result,
.complaint-waiting {
  margin-top: 15px;
  padding: 12px;
  border-left: 3px solid var(--mint);
  background: #f1faf6;
}

.complaint-result span,
.complaint-result small {
  display: block;
  color: #39705e;
  font-size: 11px;
  font-weight: 800;
}

.complaint-result p {
  margin: 7px 0;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.complaint-result small {
  color: #7b948b;
  font-weight: 500;
}

.complaint-waiting {
  border-left-color: #d7dce5;
  background: #f7f8fa;
  color: var(--muted);
  font-size: 12px;
}

.complaint-handle-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.complaint-handle-actions,
.complaint-handle-form .form-error {
  grid-column: 1 / -1;
}

.complaint-handle-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.complaint-handle-actions > span {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 1180px) {
  .support-layout {
    grid-template-columns: 1fr;
  }

  .complaint-compose {
    position: static;
  }
}

@media (max-width: 820px) {
  .page-metrics.owner-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complaint-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .complaint-tabs button {
    min-width: 82px;
  }
}

@media (max-width: 560px) {
  .proof-service i {
    display: none;
  }

  .complaint-meta,
  .complaint-handle-form {
    grid-template-columns: 1fr;
  }

  .complaint-handle-actions,
  .complaint-handle-form .form-error {
    grid-column: auto;
  }

  .complaint-handle-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .complaint-handle-actions button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .game-picker {
    grid-template-columns: minmax(0, 1fr);
  }

  .tab-scroll-button {
    display: none;
  }

  .discover-head {
    gap: 10px;
  }

  .filter-label {
    display: none;
  }

  .delta-companion .name-row {
    padding-right: 0;
  }

  .delta-card-label {
    position: static;
    width: fit-content;
    margin-bottom: -4px;
  }

  .service-pill + .service-pill {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Dedicated application views */
.app-view[hidden],
.home-only[hidden] {
  display: none !important;
}

.modal-backdrop {
  z-index: 60;
}

.toast {
  z-index: 70;
}

.app-view.active {
  animation: view-enter 180ms ease-out;
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-page {
  min-height: calc(100vh - 126px);
  padding-bottom: 30px;
}

.view-header {
  min-height: 116px;
  padding: 20px 0 22px;
  border-top: 1px solid #dfe3ea;
  border-bottom: 1px solid #dfe3ea;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.view-header h2 {
  margin: 2px 0 7px;
  font-size: 30px;
  line-height: 1.15;
}

.view-header p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.view-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.view-loading {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.view-loading strong {
  margin-top: 16px;
  color: var(--ink);
  font-size: 18px;
}

.view-loading p {
  margin: 7px 0 0;
}

.loading-ring {
  width: 34px;
  height: 34px;
  border: 3px solid #dfe3ea;
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: loading-spin 700ms linear infinite;
}

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

.page-metrics {
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
}

.page-metrics > div {
  min-width: 0;
  padding: 18px 20px;
}

.page-metrics > div + div {
  border-left: 1px solid var(--line);
}

.page-metrics span,
.page-metrics strong,
.page-metrics small {
  display: block;
}

.page-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.page-metrics strong {
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 25px;
  line-height: 1.1;
}

.page-metrics small {
  margin-top: 7px;
  color: #959ba7;
  font-size: 12px;
}

.orders-board {
  padding-top: 4px;
}

.section-toolbar {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-tabs {
  width: min(460px, 100%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-order-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-row {
  min-width: 0;
  padding: 18px;
  border-color: #e0e4eb;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 26, 36, 0.05);
}

.order-title-line > div {
  min-width: 0;
}

.order-title-line strong,
.order-title-line small {
  display: block;
}

.order-title-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.order-title-line small {
  margin-top: 5px;
  color: #969ca7;
  font-size: 11px;
}

.order-facts {
  margin-top: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 12px;
}

.order-facts span,
.order-facts strong {
  display: block;
}

.order-facts span {
  color: var(--muted);
  font-size: 11px;
}

.order-facts strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.order-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.order-note {
  padding: 9px 10px;
  border-left: 3px solid #d7dce5;
  background: #f7f8fa;
  font-size: 12px;
}

.order-row .order-actions {
  margin-top: auto;
  padding-top: 14px;
}

.page-empty {
  min-height: 260px;
  grid-column: 1 / -1;
}

.page-empty strong,
.page-empty p {
  display: block;
}

.page-empty strong {
  color: var(--ink);
  font-size: 18px;
}

.page-empty p {
  margin: 8px 0 0;
}

.message-page-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.message-categories {
  padding-right: 16px;
  border-right: 1px solid #dfe3ea;
  display: grid;
  gap: 5px;
}

.message-categories button {
  min-height: 46px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  color: #555c68;
  text-align: left;
}

.message-categories button:hover {
  background: #f2f4f8;
}

.message-categories button.active {
  background: #20242b;
  color: #fff;
}

.message-categories strong {
  min-width: 24px;
  color: inherit;
  text-align: right;
}

.message-feed {
  min-width: 0;
}

.section-title-line {
  min-height: 52px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-title-line h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.section-title-line > span {
  color: var(--muted);
  font-size: 12px;
}

.page-message-list {
  gap: 12px;
}

.page-message-list .message-item {
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(22, 26, 36, 0.04);
}

.message-mark.system {
  background: #252a32;
}

.message-title-line {
  padding-right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.message-title-line time {
  margin: 0;
  white-space: nowrap;
}

.profile-identity-band {
  margin: 18px 0 24px;
  min-height: 120px;
  padding: 20px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  background: #15171c;
  color: #fff;
}

.profile-avatar {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--coral);
  font-size: 22px;
  font-weight: 900;
}

.profile-identity-copy span,
.profile-identity-copy strong,
.profile-identity-copy p {
  display: block;
}

.profile-identity-copy span {
  color: #aeb4c0;
  font-size: 12px;
}

.profile-identity-copy strong {
  margin-top: 5px;
  font-size: 22px;
}

.profile-identity-copy p {
  margin: 7px 0 0;
  color: #c8ced8;
  font-size: 13px;
}

.profile-identity-band .secondary-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.profile-identity-band .secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.profile-page-grid,
.owner-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.owner-page-grid,
.recent-activity-panel {
  margin-top: 28px;
}

.owner-page-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
}

.page-surface {
  min-width: 0;
  padding: 18px 0 0;
  border-top: 2px solid #20242b;
}

.account-detail-list {
  margin: 0;
}

.account-detail-list > div {
  min-height: 47px;
  padding: 11px 0;
  border-bottom: 1px solid #dfe3ea;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.account-detail-list dt {
  color: var(--muted);
  font-size: 12px;
}

.account-detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
  text-align: right;
}

.security-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.security-checklist li {
  min-height: 42px;
  padding: 0 12px 0 38px;
  border: 1px solid #e2e5eb;
  border-radius: 6px;
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  color: var(--muted);
}

.security-checklist li::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 10px;
  height: 10px;
  border: 2px solid #b6bdc8;
  border-radius: 50%;
}

.security-checklist li.done {
  color: #176b50;
}

.security-checklist li.done::before {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(31, 191, 143, 0.12);
}

.work-status-main {
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
}

.work-status-main p {
  margin: 7px 0 0;
  color: var(--muted);
}

.owner-review-panel .verification-row {
  background: #fff;
}

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

.compact-order-list .order-row {
  box-shadow: none;
}

.compact-empty {
  min-height: 120px;
}

@media (max-width: 1180px) {
  .page-order-list,
  .owner-page-grid {
    grid-template-columns: 1fr;
  }

  .recent-orders-panel {
    margin-top: 4px;
  }
}

@media (max-width: 820px) {
  .view-page {
    min-height: auto;
  }

  .view-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .view-header h2 {
    font-size: 25px;
  }

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

  .page-metrics > div + div {
    border-left: 0;
  }

  .page-metrics > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .page-metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .message-page-layout,
  .profile-page-grid {
    grid-template-columns: 1fr;
  }

  .message-categories {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid #dfe3ea;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .message-categories::-webkit-scrollbar {
    display: none;
  }

  .message-categories button {
    min-width: 138px;
  }

  .profile-identity-band {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .profile-avatar {
    width: 58px;
    height: 58px;
  }

  .profile-identity-band .view-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .profile-identity-band .view-actions button {
    flex: 1 1 auto;
  }
}

@media (max-width: 560px) {
  .section-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .page-tabs {
    width: 100%;
  }

  .order-facts {
    grid-template-columns: 1fr;
  }

  .order-facts > div + div {
    padding-top: 9px;
    border-top: 1px dashed #e0e4ea;
  }

  .order-foot,
  .message-title-line,
  .work-status-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .message-title-line time {
    white-space: normal;
  }

  .profile-identity-band {
    grid-template-columns: 1fr;
  }

  .profile-identity-band .view-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .profile-identity-band .view-actions button:last-child {
    grid-column: 1 / -1;
  }

  .account-detail-list > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}

/* Data-synchronized homepage */
.home-showcase .hero-board {
  grid-template-columns: minmax(0, 1fr) 190px;
}

.hero-avatar-stack {
  min-height: 32px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.hero-avatar-stack img,
.hero-avatar-more,
.hero-avatar-empty {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 2px solid #252932;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.hero-avatar-stack img + img,
.hero-avatar-more {
  margin-left: -8px;
}

.hero-avatar-more,
.hero-avatar-empty {
  display: grid;
  place-items: center;
  color: #fff;
  background: #343a45;
  font-size: 11px;
  font-weight: 900;
}

.hero-live-panel #heroLiveLabel {
  margin-top: 9px;
  font-size: 15px;
}

.hero-live-panel #heroLiveMeta {
  line-height: 1.45;
}

.home-game-shortcuts {
  margin: 0 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 148px repeat(4, minmax(0, 1fr));
  background: #fff;
}

.shortcut-heading {
  min-width: 0;
  padding: 13px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shortcut-heading span,
.shortcut-heading strong {
  display: block;
}

.shortcut-heading span {
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 900;
}

.shortcut-heading strong {
  margin-top: 4px;
  font-size: 16px;
}

.home-game-shortcut {
  min-width: 0;
  min-height: 76px;
  padding: 11px 12px;
  border: 0;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.home-game-shortcut:hover {
  background: #f7f9fc;
}

.home-game-shortcut.active {
  background: #fff8f5;
  box-shadow: inset 0 -3px var(--coral);
}

.home-game-shortcut > span:nth-child(2) {
  min-width: 0;
}

.home-game-shortcut strong,
.home-game-shortcut small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-game-shortcut strong {
  font-size: 13px;
}

.home-game-shortcut small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.home-game-shortcut i {
  color: #a6adb9;
  font-size: 20px;
  font-style: normal;
}

.shortcut-mark {
  width: 38px;
  height: 38px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.delta-mark { background: #17333d; }
.king-mark { background: var(--coral); }
.league-mark { background: var(--blue); }
.voice-mark { background: var(--mint); }

#homeView .companion-card {
  padding: 15px;
  gap: 12px;
}

.card-context {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.game-context {
  min-width: 0;
  overflow: hidden;
  color: #5e6572;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-context.delta {
  color: #176d70;
}

.availability-state {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.availability-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7bdc7;
}

.availability-state.is-online {
  color: #0b7d5e;
}

.availability-state.is-online i {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(31, 191, 143, 0.11);
}

#homeView .card-head {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
}

#homeView .avatar {
  width: 64px;
  height: 64px;
}

#homeView .name-row h3 {
  font-size: 18px;
}

.verified-symbol {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

#homeView .role {
  margin: 5px 0 7px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#homeView .rating-line {
  gap: 7px;
  font-size: 11px;
}

.card-price {
  min-width: 58px;
  padding-top: 2px;
  display: grid;
  justify-items: end;
}

.card-price strong,
.card-price span {
  display: block;
}

.card-price strong {
  color: var(--coral-dark);
  font-size: 20px;
}

.card-price span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.delta-companion .name-row {
  padding-right: 0;
}

#homeView .tag-row {
  min-height: 27px;
  overflow: hidden;
  flex-wrap: nowrap;
}

#homeView .tag-row span {
  min-width: 0;
  overflow: hidden;
  padding: 5px 8px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-game-shortcuts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shortcut-heading {
    grid-column: 1 / -1;
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .shortcut-heading strong {
    margin-top: 0;
  }

  .home-game-shortcut:first-of-type {
    border-left: 0;
  }
}

@media (max-width: 560px) {
  .home-showcase .hero-board {
    min-height: 410px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

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

  .home-game-shortcut {
    min-height: 72px;
    padding: 10px;
    grid-template-columns: 34px minmax(0, 1fr) 10px;
    gap: 8px;
  }

  .home-game-shortcut:nth-of-type(odd) {
    border-left: 0;
  }

  .home-game-shortcut:nth-of-type(n + 3) {
    border-top: 1px solid var(--line);
  }

  .shortcut-mark {
    width: 34px;
    height: 34px;
  }

  #homeView .card-head {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 9px;
  }

  #homeView .avatar {
    width: 56px;
    height: 56px;
  }

  #homeView .name-row h3 {
    font-size: 17px;
  }

  .card-price {
    min-width: 50px;
  }

  .card-price strong {
    font-size: 18px;
  }
}

/* Delta Operations console */
.home-showcase .delta-zone {
  position: relative;
  isolation: isolate;
  min-height: 340px;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  background-position: center;
  border-color: #3b6369;
  box-shadow: 0 14px 28px rgba(15, 32, 41, 0.16);
}

.home-showcase .delta-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 29, 35, 0.2);
}

.home-showcase .delta-zone > * {
  position: relative;
  z-index: 1;
}

.delta-zone-topline {
  min-width: 0;
  padding: 17px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.delta-zone-topline .delta-kicker {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delta-live-status {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(175, 222, 208, 0.3);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(8, 33, 36, 0.72);
  color: #b8ead9;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.delta-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31d5a0;
  box-shadow: 0 0 0 4px rgba(49, 213, 160, 0.12);
}

.delta-live-status.offline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #d3dade;
}

.delta-live-status.offline i {
  background: #aeb8bd;
  box-shadow: none;
}

.home-showcase .delta-zone-copy {
  max-width: none;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-showcase .delta-zone h2 {
  font-size: 28px;
}

.home-showcase .delta-zone-copy > p:last-of-type {
  max-width: 390px;
  margin: 8px 0 12px;
  color: #d8e7e5;
  font-size: 12px;
}

.delta-mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.delta-mode-list span {
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(211, 234, 230, 0.28);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  background: rgba(12, 42, 47, 0.6);
  color: #e6f0ef;
  font-size: 10px;
  font-weight: 800;
}

.home-showcase .delta-zone-stats {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 20px;
  border-top: 1px solid rgba(220, 232, 229, 0.26);
  border-left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: rgba(8, 31, 36, 0.54);
}

.home-showcase .delta-zone-stats div {
  min-width: 0;
}

.home-showcase .delta-zone-stats div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(220, 232, 229, 0.2);
}

.home-showcase .delta-zone-stats strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-showcase .delta-zone-stats span {
  margin-top: 3px;
  font-size: 10px;
}

.delta-zone-footer {
  min-width: 0;
  padding: 12px 20px 14px;
  border-top: 1px solid rgba(220, 232, 229, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(7, 24, 29, 0.76);
}

.delta-operator {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.delta-operator img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  object-fit: cover;
  background: #fff;
}

.delta-operator-copy {
  min-width: 0;
}

.delta-operator-copy small,
.delta-operator-copy strong,
.delta-operator-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delta-operator-copy small {
  color: #9eb3b5;
  font-size: 9px;
}

.delta-operator-copy strong {
  margin-top: 2px;
  color: #fff;
  font-size: 13px;
}

.delta-operator-copy span {
  margin-top: 3px;
  color: #c8d7d7;
  font-size: 10px;
}

.home-showcase .delta-action {
  min-width: 104px;
  min-height: 42px;
  padding: 0 14px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 560px) {
  .home-showcase .delta-zone {
    min-height: 380px;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
  }

  .delta-zone-topline {
    padding: 16px 16px 0;
  }

  .home-showcase .delta-zone-copy {
    padding: 18px 16px 14px;
  }

  .home-showcase .delta-zone h2 {
    font-size: 25px;
  }

  .home-showcase .delta-zone-stats {
    padding: 11px 16px;
  }

  .delta-zone-footer {
    padding: 11px 16px 13px;
    gap: 8px;
  }

  .delta-operator {
    gap: 8px;
  }

  .delta-operator img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .home-showcase .delta-action {
    min-width: 96px;
    padding: 0 12px;
  }
}
