:root {
  --bg: #050914;
  --bg-blue: #071c46;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #aab8d6;
  --muted-strong: #d3dcf0;
  --accent: #0b63ff;
  --electric-blue: #2ea8ff;
  --accent-strong: #2ea8ff;
  --accent-soft: rgba(11, 99, 255, 0.18);
  --gold: #ffb931;
  --success: #35d66b;
  --warning: #ffb931;
  --danger: #ff3333;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(11, 99, 255, 0.42), transparent 37%),
    radial-gradient(circle at 96% 35%, rgba(46, 168, 255, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(5, 9, 20, 0.68), rgba(5, 9, 20, 0.97)),
    url("bg.png") center top / cover fixed;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

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

button,
select {
  cursor: pointer;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  opacity: 0.13;
}

.ambient-one {
  top: 12%;
  left: -200px;
  background: #0b63ff;
}

.ambient-two {
  right: -230px;
  bottom: 12%;
  background: #2ea8ff;
}

.app-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(98px + var(--safe-bottom));
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  min-height: calc(70px + env(safe-area-inset-top, 0px));
  padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 10px;
  background: linear-gradient(180deg, rgba(5, 9, 20, 0.97), rgba(5, 9, 20, 0.76) 78%, transparent);
  backdrop-filter: blur(18px);
}

.brand-button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-self: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.brand-mark,
.avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 185, 49, 0.42);
  color: #fff;
  background: linear-gradient(145deg, #1678ff, #0742b8);
  box-shadow: 0 8px 24px rgba(11, 99, 255, 0.34);
  font-weight: 800;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 15px;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  transition: 160ms ease;
}

.icon-button:active {
  transform: scale(0.94);
}

.back-button {
  font-size: 32px;
  line-height: 1;
}

.support-button {
  justify-self: end;
  font-size: 17px;
  font-weight: 750;
}

.is-hidden {
  visibility: hidden !important;
  pointer-events: none !important;
}

.app-content {
  outline: none;
  padding: 6px 16px 28px;
}

.screen {
  animation: screen-in 260ms cubic-bezier(.2, .75, .25, 1);
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 26px 22px 22px;
  border: 1px solid rgba(93, 172, 255, 0.3);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(8, 53, 132, 0.94), rgba(6, 21, 52, 0.93)),
    var(--surface);
  box-shadow: 0 26px 80px rgba(0, 34, 98, 0.42);
}

.hero::after {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 185, 49, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 168, 255, 0.26), transparent 64%);
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 13px;
  color: #8ecaff;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(106, 141, 255, 0.1);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.hero-text,
.section-copy,
.muted {
  color: var(--muted);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.55;
}

.hero-actions,
.button-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

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

.primary-button,
.secondary-button,
.ghost-button,
.select-card,
.quick-chip,
.filter-chip {
  border: 0;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 760;
  text-align: center;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--electric-blue, #2ea8ff), var(--accent));
  box-shadow: 0 14px 30px rgba(11, 99, 255, 0.34);
}

.secondary-button {
  border: 1px solid rgba(255, 185, 49, 0.38);
  background: linear-gradient(135deg, rgba(255, 185, 49, 0.12), rgba(255, 255, 255, 0.055));
}

.ghost-button {
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--muted-strong);
  background: transparent;
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.select-card:active,
.quick-chip:active,
.filter-chip:active {
  transform: scale(0.975);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button-arrow {
  margin-left: auto;
  font-size: 20px;
  font-weight: 400;
}

.section {
  margin-top: 26px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 3px 14px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

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

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

.project-card,
.glass-card,
.review-card,
.order-card,
.bonus-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(16, 42, 88, 0.78), rgba(6, 15, 35, 0.9));
  backdrop-filter: blur(20px);
}

.project-card {
  --project-color: #738fff;
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 16px;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 34px rgba(0, 0, 0, 0.18);
}

.project-card::after {
  position: absolute;
  right: -32px;
  bottom: -48px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--project-color);
  content: "";
  filter: blur(42px);
  opacity: 0.18;
}

.project-red { --project-color: #ff5967; }
.project-orange { --project-color: #f2aa45; }
.project-purple { --project-color: #9b74ff; }
.project-blue { --project-color: #4f9cff; }

.project-logo {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  margin-bottom: 17px;
  border: 1px solid color-mix(in srgb, var(--project-color), white 22%);
  border-radius: 15px;
  color: #fff;
  background: color-mix(in srgb, var(--project-color) 22%, transparent);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.project-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.3));
}

.project-blue .project-logo img {
  width: 150%;
  height: 150%;
  max-width: none;
}

.project-name {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 39px;
  margin-bottom: 9px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.project-price {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
}

.project-card-add {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  border-style: dashed;
  color: var(--muted);
  background: linear-gradient(145deg, rgba(11, 99, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.project-card-add .project-logo {
  color: var(--gold);
  border-color: rgba(255, 185, 49, 0.35);
  background: rgba(255, 185, 49, 0.08);
  font-size: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(11, 99, 255, 0.1), rgba(255, 255, 255, 0.035));
}

.trust-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--gold);
  background: rgba(255, 185, 49, 0.11);
  font-size: 14px;
  font-weight: 800;
}

.trust-item span:last-child {
  font-size: 13px;
  font-weight: 670;
  line-height: 1.25;
}

.rating-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.rating-value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.stars {
  color: #f7be5d;
  font-size: 13px;
  letter-spacing: 1px;
}

.screen-header {
  margin: 8px 3px 20px;
}

.screen-header h1 {
  margin-bottom: 8px;
  font-size: clamp(28px, 7.4vw, 40px);
}

.screen-header p {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
}

.choice-stack {
  display: grid;
  gap: 11px;
}

.select-card {
  display: flex;
  width: 100%;
  min-height: 84px;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(13, 49, 111, 0.7), rgba(6, 17, 40, 0.9));
  text-align: left;
}

.select-card.is-featured {
  border-color: rgba(123, 153, 255, 0.35);
  background: linear-gradient(145deg, rgba(63, 80, 132, 0.32), rgba(15, 20, 31, 0.9));
}

.select-icon {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 21px;
}

.select-copy {
  min-width: 0;
  flex: 1;
}

.select-copy strong,
.select-copy small {
  display: block;
}

.select-copy strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.select-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.select-chevron {
  color: var(--muted);
  font-size: 25px;
}

.search-wrap {
  position: relative;
  margin-bottom: 14px;
}

.search-wrap::before {
  position: absolute;
  top: 50%;
  left: 17px;
  color: var(--muted);
  content: none;
  font-size: 22px;
  transform: translateY(-52%);
}

.search-input {
  width: 100%;
  min-height: 52px;
  padding: 0 17px 0 48px;
  border: 1px solid var(--line);
  border-radius: 17px;
  outline: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.search-input:focus,
.field-control:focus {
  border-color: rgba(128, 155, 255, 0.58);
  box-shadow: 0 0 0 3px rgba(106, 141, 255, 0.09);
}

.server-list {
  display: grid;
  gap: 9px;
}

.server-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.server-button.is-selected {
  border-color: rgba(46, 168, 255, 0.65);
  background: linear-gradient(135deg, rgba(11, 99, 255, 0.25), rgba(46, 168, 255, 0.08));
  box-shadow: 0 0 0 3px rgba(11, 99, 255, 0.08);
}

.server-number {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.server-button strong {
  flex: 1;
  font-size: 14px;
}

.form-card {
  padding: 18px;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.field-group label,
.field-label {
  display: block;
  margin: 0 0 8px 2px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 680;
}

.field-control {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--text);
  background: rgba(5, 8, 13, 0.52);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea.field-control {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.field-control::placeholder {
  color: #626b7c;
}

select.field-control {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #838da0 50%),
    linear-gradient(135deg, #838da0 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 23px,
    calc(100% - 15px) 23px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.amount-wrap {
  position: relative;
}

.amount-wrap .field-control {
  padding-right: 66px;
  font-size: 18px;
  font-weight: 760;
}

.amount-unit {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  transform: translateY(-50%);
}

.quick-row,
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 5px;
  scrollbar-width: none;
}

.quick-row::-webkit-scrollbar,
.filter-row::-webkit-scrollbar {
  display: none;
}

.quick-chip,
.filter-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 700;
}

.quick-chip.is-active,
.filter-chip.is-active {
  border-color: rgba(127, 154, 255, 0.42);
  color: #fff;
  background: var(--accent-soft);
}

.price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(126, 153, 255, 0.21);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(106, 141, 255, 0.14), rgba(106, 141, 255, 0.04));
}

.price-details {
  display: grid;
  gap: 3px;
}

.price-discount {
  display: none;
  color: var(--success) !important;
}

.price-discount.is-visible {
  display: block;
}

.dual-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.promo-status {
  min-height: 18px;
  margin: 7px 2px 0;
  color: var(--muted);
  font-size: 11px;
}

.promo-status.is-success {
  color: var(--success);
}

.promo-status.is-warning {
  color: var(--warning);
}

.price-box span,
.price-box small {
  display: block;
}

.price-box span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.price-box small {
  color: var(--muted);
  font-size: 11px;
}

.price-box strong {
  font-size: 23px;
  letter-spacing: -0.035em;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(5, 8, 13, 0.46);
}

.segment-button {
  min-height: 45px;
  border: 0;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.segment-button.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.inline-note {
  display: flex;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
}

.inline-note strong {
  color: var(--text);
}

.summary-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 13px;
}

.summary-card .project-logo {
  margin: 0;
}

.summary-copy {
  flex: 1;
}

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

.summary-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.summary-tag,
.status-badge,
.source-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 760;
}

.summary-tag {
  padding: 6px 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.order-list,
.review-list,
.bonus-list {
  display: grid;
  gap: 11px;
}

.empty-state {
  padding: 36px 22px;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 24px;
}

.empty-state h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.empty-state p {
  max-width: 360px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 13px;
}

.order-card {
  padding: 17px;
}

.order-top,
.order-bottom,
.review-head,
.review-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-id {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-badge {
  padding: 6px 9px;
  color: var(--warning);
  background: rgba(242, 189, 98, 0.12);
}

.status-badge.paid,
.status-badge.completed,
.status-badge.confirmed {
  color: var(--success);
  background: rgba(78, 211, 160, 0.12);
}

.status-badge.processing {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.status-badge.cancelled {
  color: var(--danger);
  background: rgba(255, 110, 121, 0.12);
}

.order-title {
  margin: 15px 0 3px;
  font-size: 17px;
}

.order-server {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 13px;
}

.order-bottom {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.order-bottom strong {
  color: var(--text);
  font-size: 15px;
}

.reviews-hero {
  padding: 21px;
}

.reviews-score {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 5px 0 7px;
}

.reviews-score strong {
  font-size: 38px;
  letter-spacing: -0.055em;
}

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

.reviews-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 17px;
}

.reviews-actions .primary-button {
  grid-column: 1 / -1;
}

.review-card {
  padding: 16px;
}

.review-user {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.avatar {
  width: 41px;
  height: 41px;
  border-radius: 14px;
  font-size: 13px;
}

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

.review-order strong {
  font-size: 13px;
}

.review-order small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.review-rating {
  flex: 0 0 auto;
  color: #f7be5d;
  font-size: 12px;
  white-space: nowrap;
}

.review-text {
  margin: 15px 0;
  color: #e5e9f1;
  font-size: 15px;
  line-height: 1.55;
}

.review-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.review-detail {
  padding: 10px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.review-detail span,
.review-detail strong {
  display: block;
}

.review-detail span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
}

.review-detail strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-meta-row {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.source-badge {
  padding: 5px 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
}

.bonus-card {
  position: relative;
  overflow: hidden;
  padding: 19px;
}

.bonus-card::after {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bonus-color, #6a8dff);
  content: "";
  filter: blur(44px);
  opacity: 0.15;
}

.bonus-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--bonus-color, var(--accent-strong));
  background: color-mix(in srgb, var(--bonus-color, #6a8dff) 12%, transparent);
  font-weight: 850;
}

.bonus-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.soon-tag {
  display: inline-flex;
  margin-top: 13px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-card {
  padding: 21px;
}

.profile-main {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-main .avatar {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-size: 20px;
}

.profile-copy {
  min-width: 0;
}

.profile-copy h2 {
  overflow: hidden;
  margin-bottom: 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-copy p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-id {
  display: inline-flex;
  margin-top: 9px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 10px;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 11px;
}

.stat-card {
  padding: 16px;
}

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

.stat-card span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.stat-card strong {
  font-size: 20px;
  letter-spacing: -0.035em;
}

.profile-menu {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.legal-stack {
  display: grid;
  gap: 10px;
}

.legal-card {
  padding: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  margin: 0;
  padding-left: 19px;
}

.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 12px calc(18px + var(--safe-bottom));
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(9px);
  animation: fade-in 180ms ease;
}

@keyframes fade-in {
  from { opacity: 0; }
}

.modal-sheet {
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #121722;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.55);
  animation: sheet-in 220ms cubic-bezier(.2, .75, .25, 1);
}

@keyframes sheet-in {
  from { transform: translateY(24px); }
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 0;
}

.close-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 21px;
}

.rating-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.rating-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #626b7c;
  background: rgba(255, 255, 255, 0.035);
  font-size: 19px;
}

.rating-button.is-active {
  border-color: rgba(247, 190, 93, 0.38);
  color: #f7be5d;
  background: rgba(247, 190, 93, 0.1);
}

.toast-region {
  position: fixed;
  z-index: 80;
  right: 14px;
  bottom: calc(94px + var(--safe-bottom));
  left: 14px;
  display: grid;
  justify-items: center;
  pointer-events: none;
}

.toast {
  width: min(100%, 480px);
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(27, 34, 48, 0.96);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
  animation: toast-in 220ms ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(calc(100% - 16px), 744px);
  min-height: calc(74px + var(--safe-bottom));
  margin: 0 auto 8px;
  padding: 7px 5px calc(7px + var(--safe-bottom));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(5, 14, 34, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
}

.nav-item {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 3px 2px;
  border: 0;
  border-radius: 14px;
  color: #717a8b;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.nav-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
}

.nav-item.is-active {
  color: #fff;
}

.nav-item.is-active .nav-icon {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.nav-order {
  position: relative;
  color: #dbe9ff;
}

.nav-order .nav-icon {
  width: 48px;
  height: 48px;
  margin-top: -25px;
  border: 4px solid #071027;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(145deg, var(--electric-blue), var(--accent));
  box-shadow: 0 10px 25px rgba(11, 99, 255, 0.48);
  font-size: 25px;
}

.nav-order.is-active .nav-icon {
  color: #fff;
  background: linear-gradient(145deg, #4bb8ff, #0b63ff);
}

.raffle-hero,
.support-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 21px;
}

.raffle-hero {
  border-color: rgba(255, 185, 49, 0.3);
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 185, 49, 0.2), transparent 36%),
    linear-gradient(145deg, rgba(11, 80, 185, 0.78), rgba(6, 19, 46, 0.94));
}

.prize-label {
  display: inline-flex;
  margin: 8px 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 185, 49, 0.32);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 185, 49, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.ticket-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  background: rgba(3, 10, 27, 0.42);
}

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

.ticket-card span {
  color: var(--muted);
  font-size: 12px;
}

.ticket-card strong {
  color: var(--gold);
  font-size: 25px;
}

.steps-list,
.faq-list {
  display: grid;
  gap: 9px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
}

.step-number {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(255, 185, 49, 0.1);
  font-weight: 850;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.support-hero {
  border-color: rgba(53, 214, 107, 0.25);
  background:
    radial-gradient(circle at 90% 0, rgba(53, 214, 107, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(8, 63, 141, 0.78), rgba(6, 19, 46, 0.94));
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #82efa9;
  font-size: 12px;
  font-weight: 750;
}

.online-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(53, 214, 107, 0.1);
  content: "";
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(14, 47, 103, 0.6), rgba(6, 16, 37, 0.9));
}

.faq-item summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--accent-strong);
  content: none;
  font-size: 21px;
}

.faq-item[open] summary::after {
  content: none;
}

.faq-item p {
  margin: 0;
  padding: 0 16px 15px;
  color: var(--muted);
  font-size: 13px;
}

/* Premium Blue / Ice Blue theme */
:root {
  --bg: #0b5cff;
  --bg-blue: #137bff;
  --bg-soft: #eaf3ff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.2);
  --surface-blue: rgba(255, 255, 255, 0.18);
  --surface-dark: rgba(12, 32, 72, 0.78);
  --line: rgba(255, 255, 255, 0.48);
  --line-strong: rgba(255, 255, 255, 0.72);
  --text: #ffffff;
  --text-dark: #071b3d;
  --muted: rgba(255, 255, 255, 0.74);
  --muted-strong: rgba(255, 255, 255, 0.9);
  --muted-dark: #5d6b85;
  --accent: #137bff;
  --electric-blue: #39b8ff;
  --accent-strong: #137bff;
  --accent-soft: rgba(19, 123, 255, 0.12);
  --gold: #ffb931;
  --success: #24c86a;
  --warning: #ff9f1c;
  --danger: #ff3b3b;
  --shadow: 0 24px 70px rgba(5, 70, 170, 0.2);
}

html {
  background: #0b5cff;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(117, 225, 255, 0.78), transparent 25%),
    radial-gradient(circle at 92% 28%, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at 10% 76%, rgba(91, 177, 255, 0.34), transparent 30%),
    linear-gradient(180deg, #178bff 0%, #0a5ddf 42%, #bfe1ff 76%, #f4f8ff 100%);
  background-attachment: fixed;
}

.ambient {
  z-index: 0;
  width: 420px;
  height: 420px;
  filter: blur(105px);
  opacity: 0.34;
}

.ambient-one {
  top: -170px;
  left: -190px;
  background: #7be4ff;
}

.ambient-two {
  right: -210px;
  bottom: -100px;
  background: #ffffff;
}

.app-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  background: linear-gradient(180deg, rgba(13, 112, 235, 0.78), rgba(20, 126, 245, 0.36) 76%, transparent);
  backdrop-filter: blur(22px) saturate(145%);
}

.brand-mark,
.avatar {
  border-color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(145deg, #39c6ff, #126cf0);
  box-shadow: 0 10px 28px rgba(3, 67, 165, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.76);
}

.icon-button {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.screen {
  animation: ice-screen-in 320ms cubic-bezier(.2, .78, .24, 1);
}

@keyframes ice-screen-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero {
  border-color: rgba(255, 255, 255, 0.58);
  background:
    radial-gradient(circle at 88% 12%, rgba(123, 228, 255, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(12, 104, 244, 0.96), rgba(31, 166, 255, 0.9));
  box-shadow: 0 28px 70px rgba(0, 66, 177, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(22px) saturate(150%);
}

.hero::before {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 0;
  left: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 185, 49, 0.92), transparent);
  content: "";
}

.hero::after {
  border-color: rgba(255, 255, 255, 0.26);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 66%);
}

.hero h1,
.hero .hero-text {
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 56, 150, 0.16);
}

.eyebrow {
  color: #d8f4ff;
}

.eyebrow::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 185, 49, 0.18);
}

.screen-header {
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.screen-header p,
.section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 58, 145, 0.2);
}

.primary-button,
.secondary-button,
.ghost-button,
.select-card,
.project-card,
.server-button,
.quick-chip,
.filter-chip,
.segment-button,
.nav-item,
.icon-button {
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease,
    background 210ms ease, color 210ms ease, opacity 210ms ease;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, #1488ff, #35c7ff);
  box-shadow: 0 15px 34px rgba(0, 105, 224, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.secondary-button {
  border: 1px solid rgba(255, 228, 152, 0.72);
  color: #3d2500;
  background: linear-gradient(135deg, #ffd05a, #ff950f);
  box-shadow: 0 15px 32px rgba(220, 114, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.64);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 24px rgba(0, 80, 180, 0.1);
  backdrop-filter: blur(16px);
}

.project-card,
.glass-card,
.review-card,
.order-card,
.bonus-card,
.stat-card {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--text-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(225, 241, 255, 0.7));
  box-shadow: 0 18px 42px rgba(0, 74, 166, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(140%);
}

.project-card {
  border-color: color-mix(in srgb, var(--project-color) 28%, rgba(255, 255, 255, 0.76));
  box-shadow: 0 17px 38px rgba(0, 65, 155, 0.12), inset 0 -3px 0 color-mix(in srgb, var(--project-color) 68%, transparent);
}

.project-card::before {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--project-color), transparent);
  box-shadow: 0 -5px 18px color-mix(in srgb, var(--project-color) 46%, transparent);
  content: "";
}

.project-card::after {
  opacity: 0.24;
}

.project-logo {
  border-color: color-mix(in srgb, var(--project-color), white 45%);
  background: color-mix(in srgb, var(--project-color) 15%, white);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--project-color) 18%, transparent);
}

.project-name {
  color: var(--text-dark);
}

.project-price,
.summary-copy span,
.project-card-add {
  color: var(--muted-dark);
}

.project-card-add {
  background: rgba(255, 255, 255, 0.48);
}

.project-card-add::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.trust-item {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--text-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(226, 242, 255, 0.66));
  box-shadow: 0 12px 30px rgba(0, 73, 158, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
}

.trust-icon {
  color: #bd7300;
  background: rgba(255, 185, 49, 0.18);
}

.rating-panel .muted,
.reviews-hero .muted {
  color: var(--muted-dark);
}

.select-card {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(225, 241, 255, 0.74));
  box-shadow: 0 16px 34px rgba(0, 72, 164, 0.12);
}

.select-card:nth-child(2) .select-icon {
  color: #9a5d00;
  border-color: rgba(255, 185, 49, 0.32);
  background: rgba(255, 185, 49, 0.16);
}

.select-card.is-featured {
  border-color: rgba(19, 123, 255, 0.48);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(208, 233, 255, 0.82));
  box-shadow: 0 18px 42px rgba(0, 102, 222, 0.18);
}

.select-copy small,
.select-chevron {
  color: var(--muted-dark);
}

.search-input,
.server-button {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(0, 75, 165, 0.1);
  backdrop-filter: blur(20px);
}

.search-input::placeholder {
  color: #6c7d99;
}

.search-wrap::before {
  color: #267bd6;
}

.server-button.is-selected {
  border-color: rgba(19, 123, 255, 0.85);
  color: #fff;
  background: linear-gradient(135deg, #137bff, #30b8ff);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.32), 0 14px 30px rgba(0, 93, 211, 0.26);
}

.server-button.is-selected .server-number {
  color: #0b67df;
  background: rgba(255, 255, 255, 0.9);
}

.server-button.is-selected .select-chevron {
  color: transparent;
  font-size: 0;
}

.server-button.is-selected .select-chevron::after {
  color: #fff;
  content: none;
  font-size: 17px;
  font-weight: 900;
}

.form-card {
  color: var(--text-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(226, 241, 255, 0.78));
}

.field-group label,
.field-label {
  color: #23436d;
}

.field-control {
  border-color: rgba(38, 101, 174, 0.2);
  color: #fff;
  background: rgba(8, 35, 78, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.field-control::placeholder {
  color: #8ea6c7;
}

.search-input:focus,
.field-control:focus {
  border-color: rgba(57, 184, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(19, 123, 255, 0.14), 0 8px 22px rgba(0, 92, 202, 0.12);
}

.amount-unit {
  color: #bfd5ef;
}

.quick-chip,
.filter-chip {
  border-color: rgba(255, 255, 255, 0.62);
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 18px rgba(0, 72, 158, 0.08);
}

.quick-chip.is-active,
.filter-chip.is-active {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  background: linear-gradient(135deg, #137bff, #36bfff);
  box-shadow: 0 8px 20px rgba(0, 99, 220, 0.22);
}

.price-box {
  border-color: rgba(255, 255, 255, 0.68);
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(116, 228, 255, 0.55), transparent 36%),
    linear-gradient(135deg, #1069e9, #21adf3);
  box-shadow: 0 18px 34px rgba(0, 93, 202, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.price-box span,
.price-box small {
  color: rgba(255, 255, 255, 0.76);
}

.price-discount {
  color: #caffdb !important;
}

.segmented {
  border-color: rgba(39, 108, 183, 0.18);
  background: rgba(193, 222, 252, 0.62);
}

.segment-button {
  color: #47617f;
}

.segment-button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #137bff, #39b8ff);
  box-shadow: 0 8px 20px rgba(0, 95, 215, 0.24);
}

.segment-button.is-active::after {
  margin-left: 7px;
  content: none;
  font-weight: 900;
}

.inline-note {
  border-color: rgba(36, 110, 191, 0.16);
  color: var(--muted-dark);
  background: rgba(220, 238, 255, 0.72);
}

.inline-note strong {
  color: var(--text-dark);
}

.summary-tag {
  color: #0b68df;
  background: rgba(19, 123, 255, 0.12);
}

.order-id,
.order-server,
.order-bottom,
.review-order small,
.review-detail span,
.review-meta-row,
.stat-card span,
.profile-copy p,
.legal-card p,
.legal-card li {
  color: var(--muted-dark);
}

.order-bottom {
  border-color: rgba(25, 91, 166, 0.14);
}

.order-bottom strong,
.review-text {
  color: var(--text-dark);
}

.status-badge.confirmed,
.status-badge.completed,
.status-badge.paid {
  color: #087e37;
  background: rgba(36, 200, 106, 0.14);
}

.reviews-hero {
  border-color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 90% 5%, rgba(57, 184, 255, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(218, 238, 255, 0.78));
}

.reviews-hero .eyebrow {
  color: #137bff;
}

.reviews-score span,
.review-rating,
.stars {
  color: #e99a12;
}

.review-detail {
  background: rgba(202, 228, 253, 0.5);
}

.review-meta-row {
  border-color: rgba(25, 91, 166, 0.14);
}

.source-badge {
  color: #1769c3;
  background: rgba(19, 123, 255, 0.11);
}

.profile-id,
.soon-tag {
  color: #1769c3;
  background: rgba(19, 123, 255, 0.1);
}

.modal-backdrop {
  background: rgba(4, 45, 105, 0.42);
  backdrop-filter: blur(12px);
}

.modal-sheet {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--text-dark);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(225, 240, 255, 0.96));
  box-shadow: 0 30px 90px rgba(0, 45, 112, 0.3);
}

.modal-sheet .eyebrow {
  color: #137bff;
}

.close-button,
.rating-button {
  border-color: rgba(26, 98, 178, 0.16);
  color: #527095;
  background: rgba(205, 229, 253, 0.54);
}

.rating-button.is-active {
  border-color: rgba(255, 185, 49, 0.5);
  color: #e99a12;
  background: rgba(255, 185, 49, 0.16);
}

.toast {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(8, 49, 108, 0.9);
  box-shadow: 0 18px 46px rgba(0, 45, 110, 0.3);
  backdrop-filter: blur(18px);
}

.bottom-nav {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(245, 250, 255, 0.82);
  box-shadow: 0 18px 48px rgba(0, 61, 143, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(26px) saturate(150%);
}

.nav-item {
  color: #617491;
  outline: none;
}

.nav-item.is-active {
  color: #0b67df;
}

.nav-item.is-active .nav-icon {
  color: #0b67df;
  background: rgba(19, 123, 255, 0.12);
}

.nav-order {
  color: #235c9e;
}

.nav-order .nav-icon {
  border-color: rgba(240, 248, 255, 0.98);
  background: linear-gradient(145deg, #45c8ff, #137bff);
  box-shadow: 0 10px 28px rgba(0, 99, 224, 0.38), 0 0 0 5px rgba(19, 123, 255, 0.09);
  animation: order-glow 2.8s ease-in-out infinite;
}

.nav-order.is-active .nav-icon {
  background: linear-gradient(145deg, #5ad4ff, #0b6cff);
}

.nav-item:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(19, 123, 255, 0.34);
}

@keyframes order-glow {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(0, 99, 224, 0.34), 0 0 0 4px rgba(19, 123, 255, 0.08);
  }
  50% {
    box-shadow: 0 13px 34px rgba(0, 99, 224, 0.46), 0 0 0 8px rgba(19, 123, 255, 0.12);
  }
}

.raffle-hero,
.support-hero {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 22px 52px rgba(0, 68, 163, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.raffle-hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 213, 112, 0.48), transparent 36%),
    linear-gradient(145deg, #166ff0, #23a9f5);
}

.support-hero {
  background:
    radial-gradient(circle at 90% 0, rgba(106, 255, 174, 0.32), transparent 36%),
    linear-gradient(145deg, #0f73ee, #18b5ce);
}

.raffle-hero .hero-text,
.support-hero .hero-text,
.ticket-card span {
  color: rgba(255, 255, 255, 0.78);
}

.ticket-card {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.step-card p,
.faq-item p {
  color: var(--muted-dark);
}

.faq-item {
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--text-dark);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(225, 241, 255, 0.72));
  box-shadow: 0 12px 28px rgba(0, 72, 162, 0.1);
}

.faq-item summary::after {
  color: #137bff;
}

@media (hover: hover) {
  .primary-button:hover,
  .secondary-button:hover,
  .ghost-button:hover,
  .icon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 83, 190, 0.26);
  }

  .project-card:hover,
  .select-card:hover,
  .server-button:hover,
  .review-card:hover,
  .order-card:hover,
  .trust-item:hover,
  .faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 48px rgba(0, 73, 166, 0.2);
  }

  .nav-item:hover .nav-icon {
    transform: scale(1.08);
  }
}

/* Premium Midnight theme — v10 */
:root {
  --bg: #0a0f1d;
  --bg-blue: #0f1628;
  --bg-soft: #10182a;
  --bg-page: #0a0f1d;
  --surface: #141c32;
  --surface-strong: #1a2540;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --surface-blue: rgba(63, 140, 255, 0.09);
  --surface-dark: rgba(10, 15, 29, 0.95);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --text: #ffffff;
  --text-dark: #ffffff;
  --text-light: #ffffff;
  --muted: #6b7a99;
  --muted-strong: #aab4c7;
  --muted-dark: #6b7a99;
  --muted-light: #8d9bb5;
  --accent: #3f8cff;
  --accent-strong: #66abff;
  --accent-soft: rgba(63, 140, 255, 0.14);
  --electric-blue: #3f8cff;
  --blue: #3f8cff;
  --blue-light: #66abff;
  --gold: #fb970e;
  --success: #35d477;
  --warning: #fb970e;
  --danger: #ff515b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
}

html {
  color-scheme: dark;
  background: #0a0f1d;
}

body {
  color: #fff;
  background:
    radial-gradient(circle at 14% -8%, rgba(48, 112, 224, 0.18), transparent 31%),
    radial-gradient(circle at 98% 34%, rgba(40, 86, 164, 0.1), transparent 27%),
    radial-gradient(circle at 52% 104%, rgba(63, 140, 255, 0.045), transparent 28%),
    linear-gradient(180deg, #0a0f1d 0%, #0d1323 48%, #0a0f1d 100%);
  background-attachment: fixed;
}

.ambient {
  opacity: 0.1;
}

.ambient-one {
  background: #347ee8;
}

.ambient-two {
  background: #234a8d;
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(10, 15, 29, 0.98), rgba(10, 15, 29, 0.84) 80%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.brand-mark,
.avatar {
  border-color: rgba(83, 174, 255, 0.32);
  color: #fff;
  background: linear-gradient(145deg, #347ee8, #1e56b1);
  box-shadow: 0 8px 22px rgba(17, 59, 130, 0.34);
}

.brand-copy strong {
  color: #fff;
}

.brand-copy small {
  color: #6b7a99;
}

.icon-button,
.header-orders {
  border-color: rgba(255, 255, 255, 0.09);
  color: #aab4c7;
  background: rgba(20, 28, 50, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.header-orders {
  backdrop-filter: blur(16px);
}

.hero {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 90% 2%, rgba(63, 140, 255, 0.14), transparent 35%),
    linear-gradient(145deg, #17233d, #11192c);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero::before {
  content: none;
}

.hero::after {
  opacity: 0.22;
  border-color: rgba(80, 151, 255, 0.15);
  background: radial-gradient(circle, rgba(63, 140, 255, 0.16), transparent 68%);
}

.hero h1,
.hero .hero-text {
  color: #fff;
  text-shadow: none;
}

.hero .hero-text {
  color: #8d9bb5;
}

.hero .eyebrow,
.eyebrow,
.reviews-hero .eyebrow,
.modal-sheet .eyebrow {
  color: #66abff;
}

.eyebrow::before {
  background: #53aeff;
  box-shadow: 0 0 0 4px rgba(63, 140, 255, 0.12);
}

.screen-header {
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  background: rgba(20, 28, 50, 0.8);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.screen-header p,
.section-heading p {
  color: #6b7a99;
}

.section-heading h2 {
  color: #fff;
  text-shadow: none;
}

.primary-button {
  border-color: rgba(85, 158, 255, 0.3);
  color: #fff;
  background: linear-gradient(135deg, #246bd9, #3f9bff);
  box-shadow: 0 14px 30px rgba(36, 107, 217, 0.24);
}

.secondary-button {
  border-color: rgba(251, 151, 14, 0.5);
  color: #231500;
  background: linear-gradient(135deg, #ffb21a, #f1950e);
  box-shadow: 0 14px 30px rgba(251, 151, 14, 0.26);
}

.ghost-button {
  border-color: rgba(255, 255, 255, 0.09);
  color: #aab4c7;
  background: #141c32;
  box-shadow: none;
}

.project-card,
.glass-card,
.review-card,
.order-card,
.bonus-card,
.stat-card,
.trust-item,
.select-card,
.summary-card,
.form-card,
.legal-card,
.step-card {
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  background: linear-gradient(145deg, #162039, #121a2e);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: none;
}

.project-card {
  border-color: color-mix(in srgb, var(--project-color) 22%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.26), inset 0 -2px 0 color-mix(in srgb, var(--project-color) 52%, transparent);
}

.project-card::before {
  opacity: 0.75;
}

.project-card::after {
  opacity: 0.08;
}

.project-logo {
  border-color: color-mix(in srgb, var(--project-color) 42%, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--project-color) 12%, #141c32);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--project-color) 12%, transparent);
}

.project-card-add .project-logo {
  color: #66abff;
  background: rgba(63, 140, 255, 0.1);
}

.project-name,
.rating-panel .rating-value,
.inline-note strong,
.order-bottom strong,
.review-text,
.profile-copy h2,
.legal-card h3 {
  color: #fff;
}

.project-price {
  color: #66abff;
}

.review-stars,
.review-rating,
.reviews-score .review-stars {
  color: #fb970e;
}

.trust-icon {
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.trust-item span:last-child,
.rating-panel .muted,
.select-copy small,
.select-chevron,
.summary-copy span {
  color: #6b7a99;
}

.rating-panel,
.reviews-hero,
.profile-card,
.raffle-hero,
.support-hero,
.faq-item {
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  background:
    radial-gradient(circle at 94% 3%, rgba(63, 140, 255, 0.07), transparent 37%),
    linear-gradient(145deg, #162039, #121a2e);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.rating-panel .ghost-button,
.reviews-hero .ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}

.select-card.is-featured {
  border-color: rgba(63, 140, 255, 0.34);
  background: linear-gradient(145deg, #1a2540, #141c32);
}

.select-icon {
  border-color: rgba(255, 255, 255, 0.09);
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.search-input,
.server-button {
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  background: #141c32;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.search-icon {
  color: #6b7a99;
}

.search-input::placeholder,
.field-control::placeholder {
  color: #596884;
}

.search-input:focus,
.field-control:focus {
  border-color: rgba(63, 140, 255, 0.68);
  box-shadow: 0 0 0 3px rgba(63, 140, 255, 0.1);
}

.server-number {
  color: #8aa0c2;
  background: rgba(255, 255, 255, 0.055);
}

.server-button.is-selected {
  border-color: rgba(63, 140, 255, 0.76);
  color: #fff;
  background: linear-gradient(135deg, rgba(63, 140, 255, 0.2), rgba(34, 104, 215, 0.08)), #1a2540;
  box-shadow: 0 0 0 3px rgba(63, 140, 255, 0.09), 0 13px 28px rgba(0, 0, 0, 0.25);
}

.server-button.is-selected .server-number {
  color: #ffffff;
  background: #3f8cff;
}

.field-group label,
.field-label {
  color: #aab4c7;
}

.field-control,
.segmented,
.inline-note,
.review-detail,
.ticket-card {
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
  background: #0a0f1d;
}

.field-control {
  color-scheme: dark;
}

.amount-unit {
  color: #8392ac;
}

.quick-chip,
.filter-chip {
  border-color: rgba(255, 255, 255, 0.09);
  color: #aab4c7;
  background: #141c32;
  box-shadow: none;
}

.quick-chip.is-active,
.filter-chip.is-active {
  border-color: rgba(91, 169, 255, 0.42);
  color: #ffffff;
  background: linear-gradient(135deg, #246bd9, #3f9bff);
  box-shadow: 0 8px 20px rgba(36, 107, 217, 0.18);
}

.price-box {
  border-color: rgba(63, 140, 255, 0.2);
  color: #fff;
  background:
    radial-gradient(circle at 95% 0, rgba(63, 140, 255, 0.08), transparent 38%),
    linear-gradient(145deg, #1a2540, #141c32);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.24), inset 3px 0 0 rgba(63, 140, 255, 0.88);
}

.price-box span,
.price-box small,
.order-id,
.order-server,
.order-bottom,
.review-order small,
.review-detail span,
.review-meta-row,
.stat-card span,
.profile-copy p,
.legal-card p,
.legal-card li,
.raffle-hero .hero-text,
.support-hero .hero-text,
.ticket-card span,
.step-card p,
.faq-item p {
  color: #6b7a99;
}

.price-box strong {
  color: #66abff;
}

.price-discount {
  color: #77e69e !important;
}

.segment-button {
  color: #6b7a99;
}

.segment-button.is-active {
  color: #fff;
  background: #1a2540;
  box-shadow: inset 0 0 0 1px rgba(63, 140, 255, 0.42);
}

.inline-note-icon {
  color: #66abff;
}

.summary-tag,
.profile-id,
.soon-tag,
.source-badge {
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.status-badge.confirmed,
.status-badge.completed,
.status-badge.paid {
  color: #60e691;
  background: rgba(53, 212, 119, 0.1);
}

.empty-icon {
  border-color: rgba(255, 255, 255, 0.09);
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.modal-backdrop {
  background: rgba(3, 6, 13, 0.76);
}

.modal-sheet {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  background: linear-gradient(160deg, #162039, #10172a);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.close-button,
.rating-button {
  border-color: rgba(255, 255, 255, 0.09);
  color: #6b7a99;
  background: #0a0f1d;
}

.rating-button.is-active {
  border-color: rgba(251, 151, 14, 0.46);
  color: #fb970e;
  background: rgba(251, 151, 14, 0.1);
}

.faq-chevron {
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.bottom-nav {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 22, 40, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(24px) saturate(125%);
}

.nav-item {
  color: #6b7a99;
}

.nav-item.is-active {
  color: #66abff;
}

.nav-item.is-active .nav-icon {
  color: #66abff;
  background: rgba(63, 140, 255, 0.11);
}

.nav-order {
  color: #adb7ca;
}

.nav-order .nav-icon,
.nav-order.is-active .nav-icon {
  border-color: #11182a;
  color: #ffffff;
  background: linear-gradient(145deg, #53c8ff, #137bff);
  box-shadow: 0 10px 26px rgba(19, 123, 255, 0.34), 0 0 0 4px rgba(63, 159, 255, 0.08);
}

.toast {
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  background: rgba(20, 28, 50, 0.96);
}

@media (hover: hover) {
  .header-orders:hover,
  .icon-button:hover {
    border-color: rgba(63, 140, 255, 0.24);
    color: #fff;
    background: #1a2540;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  }

  .project-card:hover,
  .select-card:hover,
  .server-button:hover,
  .review-card:hover,
  .order-card:hover,
  .trust-item:hover,
  .faq-item:hover {
    border-color: rgba(63, 140, 255, 0.26);
    background: linear-gradient(145deg, #1a2540, #141c32);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
  }
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.select-card:active,
.project-card:active,
.server-button:active,
.quick-chip:active,
.filter-chip:active,
.segment-button:active {
  transform: scale(0.97);
}

.nav-item:active .nav-icon {
  transform: scale(0.9);
}

.nav-order:active .nav-icon {
  transform: scale(0.92);
}

@media (min-width: 620px) {
  .app-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding: 34px 30px 28px;
  }

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

  .project-card {
    min-height: 182px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-item {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .reviews-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 22px;
  }

  .reviews-actions {
    width: 280px;
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  .app-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero {
    padding: 22px 17px 18px;
  }

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

  .project-card {
    min-height: 158px;
    padding: 14px;
  }

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

  .rating-panel .ghost-button {
    width: 100%;
  }

  .dual-inputs {
    grid-template-columns: 1fr;
  }

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

  .stats-grid .stat-card:last-child {
    grid-column: 1 / -1;
  }
}

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

/* Compact mobile shell refinements */
.app-shell {
  padding-bottom: calc(118px + var(--safe-bottom));
}

.topbar {
  grid-template-columns: 40px minmax(0, 1fr) auto 40px;
  gap: 8px;
  min-height: calc(62px + env(safe-area-inset-top, 0px));
  padding: calc(9px + env(safe-area-inset-top, 0px)) 14px 8px;
}

.brand-button {
  justify-self: start;
}

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

.brand-copy strong {
  font-size: 13px;
}

.brand-copy small {
  margin-top: 2px;
  font-size: 10px;
}

.header-orders {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 750;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.header-orders-icon {
  font-size: 15px;
  line-height: 1;
}

.header-orders:active {
  transform: scale(0.96);
}

.hero {
  padding: 20px 20px 18px;
  border-radius: 25px;
}

.hero .eyebrow {
  margin-bottom: 9px;
  font-size: 11px;
}

.hero h1 {
  max-width: 480px;
  margin-bottom: 8px;
  font-size: clamp(27px, 7vw, 38px);
  line-height: 1.02;
}

.hero .hero-text {
  max-width: 410px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.42;
}

.hero-actions {
  gap: 8px;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-height: 46px;
  padding: 0 13px;
  border-radius: 14px;
  font-size: 14px;
}

.hero + .section {
  margin-top: 18px;
}

.bottom-nav {
  width: min(calc(100% - 18px), 722px);
  min-height: calc(62px + var(--safe-bottom));
  margin-bottom: 9px;
  padding: 5px 5px calc(5px + var(--safe-bottom));
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(0, 55, 130, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.nav-item {
  gap: 2px;
  padding: 2px;
  font-size: 8.5px;
}

.nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  font-size: 16px;
}

.nav-order .nav-icon {
  width: 42px;
  height: 42px;
  margin-top: -18px;
  border-width: 3px;
  border-radius: 15px;
  font-size: 19px;
}

@media (hover: hover) {
  .header-orders:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 10px 24px rgba(0, 67, 160, 0.2);
  }
}

@media (max-width: 420px) {
  .app-content {
    padding-top: 2px;
  }

  .hero {
    padding: 18px 17px 16px;
  }

  .hero h1 {
    font-size: clamp(26px, 7.2vw, 30px);
  }

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

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    min-width: 0;
    padding-right: 11px;
    padding-left: 11px;
  }
}

/* v18: explicit project-card actions */
.project-card:not(.project-card-add) {
  display: flex;
  min-height: 192px;
  align-items: stretch;
  flex-direction: column;
  cursor: pointer;
}

.project-card:not(.project-card-add) .project-logo {
  align-self: flex-start;
  margin-bottom: 12px;
}

.project-card:not(.project-card-add) .project-name {
  min-height: 36px;
  margin-bottom: 6px;
}

.project-card:not(.project-card-add) .project-price {
  display: block;
  margin-bottom: 11px;
}

.project-card-action {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 0 9px 0 11px;
  border: 1px solid rgba(102, 171, 255, 0.24);
  border-radius: 11px;
  color: #8ac6ff;
  background: rgba(63, 140, 255, 0.1);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.project-card-chevron {
  display: grid;
  place-items: center;
  transition: transform 200ms ease;
}

.project-card-chevron .ui-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
}

.project-card.action-sell .project-card-action {
  border-color: rgba(251, 151, 14, 0.3);
  color: #fb970e;
  background: rgba(251, 151, 14, 0.09);
}

.project-card.is-selected {
  border-color: rgba(102, 171, 255, 0.85);
  box-shadow: 0 0 0 2px rgba(63, 140, 255, 0.18), 0 18px 38px rgba(0, 0, 0, 0.32);
}

.project-card.is-selected .project-card-action {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, #246bd9, #3f9bff);
}

.project-card.action-sell.is-selected {
  border-color: rgba(251, 151, 14, 0.82);
  box-shadow: 0 0 0 2px rgba(251, 151, 14, 0.14), 0 18px 38px rgba(0, 0, 0, 0.32);
}

.project-card.action-sell.is-selected .project-card-action {
  color: #231500;
  background: linear-gradient(135deg, #ffb21a, #f1950e);
}

.project-card:focus-visible {
  outline: 3px solid rgba(102, 171, 255, 0.34);
  outline-offset: 3px;
}

.project-card:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .project-card:hover {
    transform: translateY(-4px);
  }

  .project-card:hover .project-card-chevron {
    transform: translateX(3px);
  }

  .project-card:hover .project-card-action {
    border-color: rgba(102, 171, 255, 0.46);
    color: #b7dcff;
    background: rgba(63, 140, 255, 0.16);
  }

  .project-card.action-sell:hover .project-card-action {
    border-color: rgba(251, 151, 14, 0.5);
    color: #ffb21a;
    background: rgba(251, 151, 14, 0.13);
  }
}

@media (max-width: 350px) {
  .project-card:not(.project-card-add) {
    min-height: 188px;
    padding: 14px;
  }
}

@media (max-width: 350px) {
  .topbar {
    grid-template-columns: 38px minmax(0, 1fr) 38px 38px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .header-orders {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .header-orders span:last-child,
  .brand-copy small {
    display: none;
  }
}

/* v87: unified compact order flow */
:root {
  --bottom-nav-height: 82px;
}

body:has(.order-flow) {
  background:
    radial-gradient(circle at 50% -8%, rgba(52, 132, 216, 0.2), transparent 34%),
    linear-gradient(180deg, #0b315c 0%, #09294f 48%, #082445 100%);
  background-attachment: fixed;
}

.app-shell:has(.order-flow) {
  padding-bottom: 0;
}

.order-flow {
  display: grid;
  gap: 16px;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 28px);
  animation: order-step-in 220ms ease both;
  scroll-padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 28px);
}

@keyframes order-step-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body:has(.order-flow) .topbar .back-button {
  width: 38px;
  height: 38px;
  min-height: 38px;
}

.order-flow .order-step-header {
  display: flex;
  min-height: 112px;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(99, 168, 232, 0.06), transparent 48%),
    linear-gradient(180deg, #0d3b71 0%, #092f5e 100%);
  box-shadow:
    0 12px 28px rgba(3, 25, 58, 0.18),
    inset 0 1px 0 rgba(195, 226, 255, 0.07);
}

.order-flow .order-step-header .eyebrow {
  gap: 7px;
  margin: 0;
  color: #75bdff;
  font-size: 11px;
  font-weight: 730;
  letter-spacing: 0.055em;
}

.order-flow .order-step-header .eyebrow::before {
  width: 6px;
  height: 6px;
  background: #69baff;
  box-shadow: none;
}

.order-flow .order-step-header h1 {
  max-width: 100%;
  margin: 0;
  color: #f7faff;
  font-size: clamp(28px, 7vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.order-flow .order-step-header > p:last-child {
  max-width: 560px;
  margin: 0;
  color: #a8bfda;
  font-size: 14px;
  line-height: 1.4;
}

.order-flow .selected-game-card {
  position: relative;
  isolation: isolate;
  min-height: 74px;
  overflow: hidden;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(118, 181, 239, 0.045), transparent 50%),
    linear-gradient(135deg, #0c376a, #092e5b);
  box-shadow:
    0 9px 22px rgba(3, 24, 54, 0.15),
    inset 0 1px 0 rgba(183, 218, 250, 0.055);
}

.order-flow .selected-game-card::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 24px;
  width: 112px;
  height: 112px;
  background: var(--project-art) center / contain no-repeat;
  content: "";
  opacity: 0.08;
  transform: translateY(-50%);
  pointer-events: none;
}

.order-flow .selected-game-card .project-logo {
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.order-flow .selected-game-card .project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-flow .selected-game-card .summary-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.order-flow .selected-game-card .summary-copy strong {
  overflow: hidden;
  color: #f7faff;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow .selected-game-card .summary-copy span {
  margin-top: 4px;
  color: #a8bfda;
  font-size: 12px;
}

.order-flow .selected-game-card .summary-tag {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 9px;
  color: #b9ddff;
  background: rgba(68, 145, 216, 0.16);
  font-size: 11px;
  font-weight: 700;
}

.order-flow .choice-stack {
  gap: 10px;
}

.order-flow .order-action-card {
  position: relative;
  min-height: 80px;
  overflow: hidden;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 16px;
  color: #f7faff;
  background:
    linear-gradient(180deg, rgba(114, 178, 236, 0.035), transparent 54%),
    linear-gradient(135deg, #0b3567, #092c57);
  box-shadow:
    0 9px 22px rgba(3, 24, 54, 0.14),
    inset 0 1px 0 rgba(181, 216, 248, 0.045);
  transform: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.order-flow .order-action-card::before {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  content: "";
}

.order-flow .order-action-buy::before {
  background: #62b9ff;
}

.order-flow .order-action-sell::before {
  background: #d9a43d;
}

.order-flow .order-action-card.is-featured,
.order-flow .order-action-card.is-selected {
  border: 0;
  background:
    linear-gradient(180deg, rgba(151, 210, 255, 0.085), transparent 56%),
    linear-gradient(135deg, #1b58a0, #114282);
  box-shadow:
    0 10px 23px rgba(3, 27, 60, 0.16),
    inset 0 1px 0 rgba(170, 220, 255, 0.12);
}

.order-flow .order-action-sell.is-featured,
.order-flow .order-action-sell.is-selected {
  background:
    linear-gradient(180deg, rgba(239, 189, 87, 0.075), transparent 56%),
    linear-gradient(135deg, #18528f, #103d76);
  box-shadow:
    0 10px 23px rgba(3, 27, 60, 0.16),
    inset 0 1px 0 rgba(255, 213, 132, 0.12);
}

.order-flow .order-action-card .select-icon {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  background: rgba(83, 161, 231, 0.11);
  transition:
    color 180ms ease,
    background 180ms ease;
}

.order-flow .order-action-buy .select-icon {
  color: #79c7ff;
}

.order-flow .order-action-sell .select-icon {
  color: #efbd57;
  background: rgba(224, 166, 57, 0.09);
}

.order-flow .order-action-card .select-icon .ui-icon {
  width: 21px;
  height: 21px;
}

.order-flow .order-action-card .select-copy strong {
  margin-bottom: 3px;
  color: #f7faff;
  font-size: 15px;
  font-weight: 700;
}

.order-flow .order-action-card .select-copy small {
  overflow: hidden;
  color: #9fb8d4;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow .order-action-card .select-chevron,
.order-flow .server-row .select-chevron {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  color: rgba(169, 205, 242, 0.72);
  background: transparent;
  box-shadow: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.order-flow .order-action-card .select-chevron .ui-icon,
.order-flow .server-row .select-chevron .ui-icon {
  width: 19px;
  height: 19px;
}

.order-flow .order-action-card.is-featured .select-chevron,
.order-flow .order-action-card.is-selected .select-chevron {
  color: rgba(211, 235, 255, 0.94);
}

.order-flow .order-action-buy.is-featured .select-icon,
.order-flow .order-action-buy.is-selected .select-icon {
  color: #a4dcff;
  background: rgba(105, 191, 255, 0.16);
}

.order-flow .order-action-sell.is-featured .select-icon,
.order-flow .order-action-sell.is-selected .select-icon {
  color: #ffd27b;
  background: rgba(239, 189, 87, 0.14);
}

.order-flow .order-action-card:focus-visible {
  outline: 2px solid rgba(117, 190, 255, 0.88);
  outline-offset: 2px;
}

.order-flow .server-search {
  margin: 0;
}

.order-flow .server-search .search-input {
  min-height: 52px;
  padding-right: 16px;
  border: 1px solid rgba(130, 185, 240, 0.11);
  border-radius: 15px;
  color: #f7faff;
  background: #0a315f;
  box-shadow: inset 0 1px 0 rgba(176, 215, 250, 0.035);
}

.order-flow .server-search .search-input::placeholder {
  color: #8ea9c5;
}

.order-flow .server-search .search-input:focus {
  border-color: rgba(106, 186, 255, 0.32);
  box-shadow: inset 0 0 0 1px rgba(106, 186, 255, 0.14);
}

.order-flow .server-search .search-icon {
  color: #91b7dc;
}

.order-flow .server-list {
  gap: 9px;
}

.order-flow .server-row {
  min-height: 60px;
  gap: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 15px;
  color: #f7faff;
  background:
    linear-gradient(180deg, rgba(112, 177, 237, 0.03), transparent 60%),
    #0a315f;
  box-shadow:
    0 7px 18px rgba(3, 23, 52, 0.12),
    inset 0 1px 0 rgba(177, 215, 249, 0.035);
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.order-flow .server-row .server-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #aac8e6;
  background: rgba(60, 132, 201, 0.15);
  font-size: 11px;
  font-weight: 720;
}

.order-flow .server-row strong {
  overflow: hidden;
  color: #f7faff;
  font-size: 15px;
  font-weight: 680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow .server-row.is-selected {
  border: 0;
  background: #0d3d74;
  box-shadow:
    inset 3px 0 0 #67baff,
    0 8px 20px rgba(3, 23, 52, 0.14);
}

.order-flow .empty-state {
  border: 0;
  background: #0a315f;
  box-shadow: 0 8px 20px rgba(3, 23, 52, 0.13);
}

.order-flow .order-form-section {
  gap: 16px;
  padding: 18px;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(109, 176, 237, 0.035), transparent 34%),
    #0a315f;
  box-shadow:
    0 12px 28px rgba(3, 23, 52, 0.16),
    inset 0 1px 0 rgba(180, 218, 251, 0.045);
}

.order-flow .form-field {
  min-width: 0;
  scroll-margin-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 40px);
}

.order-flow .form-field label,
.order-flow .form-field .field-label {
  margin: 0 0 8px;
  color: #9db5d0;
  font-size: 12px;
  font-weight: 630;
}

.order-flow .form-field .field-control {
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid rgba(130, 185, 240, 0.12);
  border-radius: 14px;
  color: #f7faff;
  background: #08294f;
  box-shadow: inset 0 1px 0 rgba(175, 213, 248, 0.025);
}

.order-flow .form-field .field-control::placeholder {
  color: #819cba;
}

.order-flow .form-field .field-control:focus {
  border-color: rgba(104, 187, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(104, 187, 255, 0.12);
}

.order-flow textarea.field-control {
  min-height: 104px;
  padding-top: 14px;
}

.order-flow .dual-inputs {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.order-flow .amount-wrap .field-control {
  padding-right: 42px;
  font-size: 16px;
  font-weight: 700;
}

.order-flow .amount-unit {
  right: 14px;
  color: #8faccc;
  font-size: 12px;
  font-weight: 680;
  pointer-events: none;
}

.order-flow .quick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  padding: 0;
}

.order-flow .amount-preset {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 6px;
  border: 0;
  border-radius: 12px;
  color: #afc6df;
  background: #0c396b;
  font-size: 12px;
  font-weight: 680;
}

.order-flow .amount-preset.is-active {
  border: 0;
  color: #ffffff;
  background: #2e8fe2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.order-flow .order-summary {
  position: relative;
  min-height: 82px;
  padding: 14px 16px 14px 18px;
  border: 0;
  border-radius: 16px;
  background: #0c396b;
  box-shadow: inset 0 1px 0 rgba(179, 218, 250, 0.04);
}

.order-flow .order-summary::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #63b9ff;
  content: "";
}

.order-flow .order-summary .price-details span {
  color: #b6cbe1;
  font-size: 12px;
}

.order-flow .order-summary .price-details small {
  color: #8faac7;
  font-size: 11px;
}

.order-flow .order-summary > strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 22px;
}

.order-flow .segmented {
  gap: 5px;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: #08294f;
}

.order-flow .segment-button {
  min-height: 44px;
  border-radius: 11px;
  color: #9db6d0;
}

.order-flow .segment-button.is-active {
  color: #ffffff;
  background: #0f447f;
  box-shadow: inset 0 1px 0 rgba(188, 224, 255, 0.09);
}

.order-flow .promo-status {
  min-height: 0;
  margin: 6px 0 0;
}

.order-flow .promo-status:empty {
  display: none;
}

.order-flow .inline-note {
  gap: 9px;
  padding: 12px 13px;
  border: 0;
  border-radius: 13px;
  color: #9eb6cf;
  background: rgba(53, 126, 194, 0.09);
}

.order-flow .order-submit-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #3195e8, #237bcf);
  box-shadow:
    0 9px 20px rgba(7, 66, 126, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 740;
  scroll-margin-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + 28px);
}

.order-flow .server-row:active,
.order-flow .amount-preset:active,
.order-flow .order-submit-button:active,
.order-flow .segment-button:active {
  transform: scale(0.98);
}

.order-flow .order-action-card:active {
  transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
  .order-flow .order-action-card:hover {
    background:
      linear-gradient(180deg, rgba(164, 216, 255, 0.08), transparent 56%),
      linear-gradient(135deg, rgba(24, 79, 146, 0.98), rgba(16, 61, 122, 0.98));
    box-shadow:
      0 11px 24px rgba(3, 24, 54, 0.16),
      inset 0 1px 0 rgba(190, 226, 255, 0.1);
    transform: translateY(-1px);
  }

  .order-flow .order-action-card.is-featured:hover,
  .order-flow .order-action-card.is-selected:hover {
    background:
      linear-gradient(180deg, rgba(177, 222, 255, 0.1), transparent 56%),
      linear-gradient(135deg, #1d5da8, #154886);
  }

  .order-flow .order-action-sell.is-featured:hover,
  .order-flow .order-action-sell.is-selected:hover {
    background:
      linear-gradient(180deg, rgba(244, 202, 116, 0.09), transparent 56%),
      linear-gradient(135deg, #1b5898, #13447f);
  }

  .order-flow .order-action-card:hover .select-chevron {
    color: rgba(217, 239, 255, 0.98);
  }

  .order-flow .order-action-buy:hover .select-icon {
    color: #a9e0ff;
    background: rgba(105, 191, 255, 0.15);
  }

  .order-flow .order-action-sell:hover .select-icon {
    color: #ffd681;
    background: rgba(239, 189, 87, 0.13);
  }

  .order-flow .order-action-card:hover .select-chevron .ui-icon {
    transform: translateX(2px);
  }
}

@media (hover: hover) {
  .order-flow .server-row:hover {
    background: #0c396d;
    box-shadow:
      0 9px 21px rgba(3, 23, 52, 0.15),
      inset 0 1px 0 rgba(186, 222, 253, 0.045);
    transform: translateY(-1px);
  }

  .order-flow .server-row:hover .select-chevron .ui-icon {
    transform: translateX(2px);
  }

  .order-flow .amount-preset:not(.is-active):hover {
    color: #d9e9f8;
    background: #0e4178;
  }

  .order-flow .order-submit-button:hover {
    background: linear-gradient(135deg, #3ba2f2, #2a84d9);
    box-shadow:
      0 11px 22px rgba(7, 66, 126, 0.23),
      inset 0 1px 0 rgba(255, 255, 255, 0.17);
    transform: translateY(-2px);
  }
}

@media (max-width: 430px) {
  .order-flow {
    gap: 12px;
  }

  .order-flow .order-step-header {
    min-height: 108px;
    padding: 18px;
  }

  .order-flow .order-step-header h1 {
    font-size: clamp(27px, 7.4vw, 30px);
  }

  .order-flow .order-form-section {
    padding: 16px;
  }
}

@media (max-width: 350px) {
  .order-flow .order-step-header {
    min-height: 104px;
    padding: 16px;
  }

  .order-flow .order-step-header h1 {
    font-size: 26px;
  }

  .order-flow .order-step-header > p:last-child {
    font-size: 13px;
  }

  .order-flow .selected-game-card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .order-flow .selected-game-card .summary-tag {
    padding: 5px 7px;
    font-size: 10px;
  }

  .order-flow .order-action-card {
    gap: 10px;
    padding-right: 12px;
    padding-left: 13px;
  }

  .order-flow .order-action-card .select-copy small {
    max-width: 168px;
  }

  .order-flow .server-row {
    padding-right: 13px;
    padding-left: 13px;
  }

  .order-flow .order-form-section {
    padding: 14px;
  }

  .order-flow .form-field label,
  .order-flow .form-field .field-label {
    min-height: 30px;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.3;
  }

  .order-flow .amount-preset {
    padding: 0 3px;
    font-size: 10.5px;
  }

  .order-flow .order-summary {
    gap: 10px;
    padding-right: 13px;
    padding-left: 16px;
  }

  .order-flow .order-summary > strong {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-flow {
    animation: none;
  }
}

/* Unified rounded icon system */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ui-icon {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.icon-button,
.header-orders-icon,
.nav-icon,
.button-arrow,
.select-icon,
.select-chevron,
.trust-icon,
.empty-icon,
.close-button,
.inline-note-icon,
.search-icon,
.faq-chevron {
  display: grid;
  place-items: center;
}

.icon-button .ui-icon {
  width: 21px;
  height: 21px;
}

.header-orders-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.button-arrow {
  margin-left: auto;
  font-size: inherit;
}

.button-arrow .ui-icon {
  width: 19px;
  height: 19px;
  transition: transform 200ms ease;
}

.primary-button:active .button-arrow .ui-icon,
.ghost-button:active .button-arrow .ui-icon {
  transform: translateX(2px);
}

.trust-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.select-icon .ui-icon {
  width: 22px;
  height: 22px;
}

.select-chevron {
  flex: 0 0 auto;
  font-size: inherit;
}

.select-chevron .ui-icon {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.search-wrap::before {
  content: none;
}

.search-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 17px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.server-button.is-selected .select-chevron::after,
.segment-button.is-active::after {
  content: none;
}

.server-button.is-selected .select-chevron .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.server-button.is-selected .select-chevron {
  color: #fff;
}

.segment-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.segment-check {
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}

.segment-button.is-active .segment-check {
  opacity: 1;
  transform: scale(1);
}

.inline-note-icon {
  align-self: flex-start;
  color: var(--accent);
}

.inline-note-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.empty-icon .ui-icon {
  width: 28px;
  height: 28px;
}

.project-card-add .project-logo .ui-icon {
  width: 23px;
  height: 23px;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #f2aa22;
  line-height: 1;
}

.review-stars .ui-icon {
  width: 13px;
  height: 13px;
}

.rating-star {
  fill: currentColor;
  stroke-width: 1.8;
}

.rating-value .review-stars,
.reviews-score .review-stars {
  gap: 3px;
}

.rating-value .review-stars .ui-icon,
.reviews-score .review-stars .ui-icon {
  width: 15px;
  height: 15px;
}

.rating-button {
  display: grid;
  place-items: center;
}

.rating-button .ui-icon {
  width: 21px;
  height: 21px;
}

.close-button .ui-icon {
  width: 20px;
  height: 20px;
}

.faq-item summary::after {
  content: none;
}

.faq-chevron {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  transition: transform 220ms ease, background 220ms ease;
}

.faq-chevron .ui-icon {
  width: 17px;
  height: 17px;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.nav-icon .ui-icon {
  width: 21px;
  height: 21px;
  transition: transform 200ms ease, stroke-width 200ms ease;
}

.nav-item.is-active .nav-icon .ui-icon {
  stroke-width: 2.35;
}

.nav-order .nav-icon .ui-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.15;
}

@media (hover: hover) {
  .primary-button:hover .button-arrow .ui-icon,
  .ghost-button:hover .button-arrow .ui-icon {
    transform: translateX(3px);
  }

  .select-card:not(.order-action-card):hover .select-chevron .ui-icon,
  .server-button:hover .select-chevron .ui-icon {
    transform: translateX(2px);
  }

  .nav-item:hover .nav-icon .ui-icon {
    transform: scale(1.08);
  }
}

/* Keep compact shell surfaces aligned with the midnight palette. */
.header-orders {
  border-color: rgba(255, 255, 255, 0.09);
  color: #aab4c7;
  background: rgba(20, 28, 50, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.bottom-nav {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 22, 40, 0.9);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

@media (hover: hover) {
  .header-orders:hover {
    border-color: rgba(63, 140, 255, 0.24);
    color: #fff;
    background: #1a2540;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
  }
}

/* Blue primary order action — v11 */
.nav-order,
.nav-order.is-active {
  color: #58b9ff;
}

.nav-order .nav-icon,
.nav-order.is-active .nav-icon {
  border-color: #11182a;
  color: #ffffff;
  background: linear-gradient(145deg, #53c8ff, #137bff);
  box-shadow: 0 10px 28px rgba(19, 123, 255, 0.42), 0 0 0 4px rgba(63, 159, 255, 0.1);
  animation: order-blue-glow 2.8s ease-in-out infinite;
}

@keyframes order-blue-glow {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(19, 123, 255, 0.38), 0 0 0 4px rgba(63, 159, 255, 0.08);
  }
  50% {
    box-shadow: 0 13px 34px rgba(46, 168, 255, 0.5), 0 0 0 7px rgba(63, 159, 255, 0.12);
  }
}

/* v92: compact raffle screen */
.raffle-screen {
  padding-bottom:
    calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

.raffle-screen .raffle-hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 21px 20px 20px;
  border: 0;
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(106, 177, 243, 0.055), transparent 40%),
    linear-gradient(145deg, #0d3b73 0%, #0a3265 56%, #082b59 100%);
  box-shadow:
    0 14px 30px rgba(3, 24, 57, 0.17),
    inset 0 1px 0 rgba(186, 220, 250, 0.055);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.raffle-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 410px);
  gap: 0;
}

.raffle-screen .raffle-hero .eyebrow {
  margin: 0 0 5px;
}

.raffle-screen .raffle-hero h1 {
  max-width: 320px;
  margin: 0;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.06;
}

.raffle-screen .prize-label {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  margin: 10px 0 8px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  color: #f3b84d;
  background: rgba(224, 153, 35, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 224, 164, 0.045);
  font-size: 12px;
  font-weight: 720;
}

.raffle-screen .prize-label .ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.raffle-screen .raffle-hero .hero-text {
  max-width: 330px;
  margin: 0 0 11px;
  color: #a9bfd8;
  font-size: 14px;
  line-height: 1.4;
}

.raffle-screen .ticket-card {
  position: relative;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  padding: 11px 13px;
  border: 0;
  border-radius: 15px;
  background: rgba(7, 39, 82, 0.58);
  box-shadow: inset 0 1px 0 rgba(177, 215, 249, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.raffle-screen .ticket-balance {
  display: grid;
  gap: 1px;
}

.raffle-screen .ticket-card .ticket-balance span {
  color: #9eb5d0;
  font-size: 12px;
  font-weight: 520;
}

.raffle-screen .ticket-card .ticket-balance strong {
  color: #f5b94c;
  font-size: 25px;
  line-height: 1;
}

.raffle-screen .ticket-card .summary-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin: 0;
  padding: 6px 9px;
  border: 0;
  border-radius: 9px;
  color: #c3d9ef;
  background: rgba(30, 104, 181, 0.28);
  box-shadow: inset 0 1px 0 rgba(190, 224, 252, 0.045);
  font-size: 12px;
  font-weight: 660;
}

.raffle-screen .raffle-join-button {
  display: inline-flex;
  width: min(100%, 204px);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: #2f9ff2;
  box-shadow:
    0 9px 20px rgba(15, 103, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 760;
  transition:
    transform 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.raffle-screen .raffle-join-button .raffle-button-icon {
  width: 18px;
  height: 18px;
}

.raffle-screen .raffle-join-button.is-joined {
  background: #45acf4;
  box-shadow:
    0 9px 20px rgba(15, 103, 190, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.raffle-screen .raffle-join-button:active {
  transform: scale(0.985);
}

.raffle-watermark {
  position: absolute;
  z-index: 0;
  top: 38px;
  right: 13px;
  width: 180px;
  height: 165px;
  color: #b9ddfa;
  opacity: 0.085;
  pointer-events: none;
}

.raffle-ticket-watermark {
  position: absolute;
  top: 18px;
  right: -31px;
  width: 154px;
  height: 94px;
  border: 2px solid currentColor;
  border-radius: 17px;
  transform: rotate(-9deg);
}

.raffle-ticket-watermark::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 44px;
  border-left: 2px dashed currentColor;
}

.raffle-ticket-watermark::after {
  content: "";
  position: absolute;
  right: 21px;
  bottom: 17px;
  width: 44px;
  border-top: 2px solid currentColor;
  box-shadow: 0 -13px 0 currentColor;
}

.raffle-watermark-gift {
  position: absolute;
  top: 40px;
  right: 52px;
  width: 40px;
  height: 40px;
}

.raffle-watermark-star {
  position: absolute;
  top: 4px;
  right: 21px;
  width: 26px;
  height: 26px;
  color: #f5b94c;
  fill: none;
}

.raffle-screen .raffle-steps-section {
  margin-top: 28px;
}

.raffle-screen .raffle-steps-section .section-heading {
  margin: 0 0 15px;
}

.raffle-screen .raffle-steps-section .section-heading h2 {
  font-size: clamp(24px, 6.5vw, 27px);
  line-height: 1.12;
}

.raffle-screen .steps-list {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 19px;
  background: #0a315f;
  box-shadow:
    0 12px 26px rgba(3, 23, 53, 0.14),
    inset 0 1px 0 rgba(183, 219, 250, 0.045);
}

.raffle-screen .step-card {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
}

.raffle-screen .step-card + .step-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 15px;
  left: 62px;
  border-top: 1px solid rgba(168, 207, 242, 0.1);
}

.raffle-screen .step-number {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #f2b64a;
  background: rgba(224, 153, 35, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 225, 171, 0.04);
  font-size: 13px;
  font-weight: 780;
}

.raffle-screen .step-card p {
  margin: 0;
  color: #aec2d9;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.38;
}

.raffle-screen .step-card p strong {
  color: #dce9f5;
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .raffle-screen .raffle-join-button:hover {
    background: #40adf7;
    box-shadow:
      0 10px 22px rgba(15, 103, 190, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }

  .raffle-screen .raffle-join-button.is-joined:hover {
    background: #51b5f7;
  }

  .raffle-screen .step-card:hover {
    border: 0;
    background: rgba(44, 111, 178, 0.08);
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 350px) {
  .raffle-screen .raffle-hero {
    padding: 18px 16px;
  }

  .raffle-screen .raffle-hero h1 {
    max-width: 270px;
    font-size: 27px;
  }

  .raffle-screen .raffle-hero .hero-text {
    max-width: 260px;
    font-size: 13px;
  }

  .raffle-watermark {
    right: -33px;
    width: 145px;
    opacity: 0.06;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .raffle-screen .ticket-card {
    min-height: 66px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .raffle-screen .raffle-join-button {
    width: 100%;
  }

  .raffle-screen .raffle-steps-section {
    margin-top: 26px;
  }

  .raffle-screen .step-card {
    padding-right: 13px;
    padding-left: 13px;
  }
}

/* v17: v14 base with a lighter page and a 12% tighter hero */
html {
  background: #112740;
}

body {
  background:
    radial-gradient(circle at 8% -6%, rgba(85, 205, 255, 0.42), transparent 35%),
    radial-gradient(circle at 96% 12%, rgba(48, 135, 255, 0.34), transparent 38%),
    radial-gradient(circle at 50% 108%, rgba(104, 188, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #194a76 0%, #173858 42%, #11243d 100%);
}

.hero {
  padding: 17px 18px 16px;
  border-radius: 23px;
}

.hero .eyebrow {
  margin-bottom: 7px;
  font-size: 10.5px;
}

.hero h1 {
  max-width: 450px;
  margin-bottom: 7px;
  font-size: clamp(25px, 6.4vw, 34px);
  line-height: 1.03;
}

.hero .hero-text {
  max-width: 390px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.38;
}

.hero-actions {
  gap: 7px;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 13px;
  font-size: 13.5px;
}

@media (max-width: 420px) {
  .hero {
    padding: 15px 16px 14px;
  }

  .hero h1 {
    font-size: clamp(24px, 6.7vw, 28px);
  }
}

/* v20: restrained product-style project cards on the restored v17 base */
.project-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}

.project-card,
.project-card:not(.project-card-add) {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  overflow: hidden;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  color: #ffffff;
  background: #141c32;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  text-align: left;
  cursor: pointer;
}

.project-card::before,
.project-card::after {
  content: none;
}

.project-card .project-logo,
.project-card:not(.project-card-add) .project-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-self: center;
  margin: 0;
  border-radius: 12px;
  box-shadow: none;
}

.project-card-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.project-card .project-name,
.project-card:not(.project-card-add) .project-name {
  min-height: 0;
  margin: 0;
  color: #f7f9fc;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.project-card .project-price,
.project-card:not(.project-card-add) .project-price {
  display: block;
  margin: 0;
  color: #929caf;
  font-size: 12.5px;
  font-weight: 450;
  line-height: 1.3;
}

.project-card-chevron {
  position: relative;
  z-index: 1;
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: #7f8ba1;
  transition: color 190ms ease, transform 190ms ease;
}

.project-card-chevron .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.project-card.is-selected {
  border-color: rgba(83, 170, 255, 0.42);
  background: #17223a;
  box-shadow: inset 3px 0 0 #53aaff, 0 8px 20px rgba(0, 0, 0, 0.16);
}

.project-card:focus-visible {
  outline: 2px solid rgba(83, 170, 255, 0.7);
  outline-offset: 2px;
}

.project-card:active {
  transform: scale(0.97);
}

@media (hover: hover) {
  .project-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: #182139;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }

  .project-card:hover .project-card-chevron {
    color: #8bc9ff;
    transform: translateX(3px);
  }
}

@media (min-width: 620px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:not(.project-card-add) {
    min-height: 82px;
  }
}

/* v24: liquid-glass top bar */
.topbar {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 42%, rgba(74, 157, 255, 0.08)),
    rgba(8, 18, 36, 0.58);
  box-shadow:
    0 12px 30px rgba(3, 12, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.topbar::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.08), transparent 34%, transparent 72%, rgba(83, 170, 255, 0.06));
  content: "";
  pointer-events: none;
}

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

.topbar .header-orders,
.topbar .icon-button {
  border-color: rgba(255, 255, 255, 0.16);
  color: #c8d5e8;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

@media (hover: hover) {
  .topbar .header-orders:hover,
  .topbar .icon-button:hover {
    border-color: rgba(132, 199, 255, 0.34);
    color: #ffffff;
    background: rgba(112, 176, 255, 0.12);
    box-shadow: 0 8px 20px rgba(4, 16, 38, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
}

/* v25: liquid-glass bottom navigation */
.bottom-nav {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025) 44%, rgba(74, 157, 255, 0.075)),
    rgba(8, 18, 36, 0.58);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.bottom-nav .nav-item:not(.nav-order).is-active .nav-icon {
  color: #83c8ff;
  background: rgba(100, 174, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (hover: hover) {
  .bottom-nav .nav-item:not(.nav-order):hover {
    color: #c8d5e8;
  }

  .bottom-nav .nav-item:not(.nav-order):hover .nav-icon {
    background: rgba(255, 255, 255, 0.055);
  }
}

/* v26: unified liquid-glass button system */
.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.header-orders,
.project-card,
.select-card,
.server-button,
.quick-chip,
.filter-chip,
.segment-button,
.close-button,
.rating-button {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.primary-button {
  border-color: rgba(194, 229, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(38, 119, 235, 0.88), rgba(54, 181, 255, 0.7)),
    rgba(18, 83, 168, 0.5);
  box-shadow:
    0 12px 28px rgba(18, 104, 220, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(7, 75, 170, 0.18);
}

.secondary-button {
  border-color: rgba(255, 222, 153, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 184, 46, 0.86), rgba(241, 149, 14, 0.74)),
    rgba(164, 91, 8, 0.42);
  box-shadow:
    0 12px 28px rgba(174, 99, 10, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(126, 66, 0, 0.16);
}

.ghost-button,
.close-button,
.rating-button {
  border-color: rgba(255, 255, 255, 0.15);
  color: #c8d5e8;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(9, 21, 42, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-card,
.project-card:not(.project-card-add),
.select-card,
.server-button {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 52%, rgba(74, 157, 255, 0.045)),
    rgba(9, 21, 43, 0.62);
  box-shadow:
    0 10px 24px rgba(3, 12, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.085);
}

.quick-chip,
.filter-chip,
.segment-button {
  border-color: rgba(255, 255, 255, 0.14);
  color: #aebcd1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(9, 21, 42, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.server-button.is-selected,
.quick-chip.is-active,
.filter-chip.is-active,
.segment-button.is-active {
  border-color: rgba(151, 209, 255, 0.4);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(40, 121, 234, 0.72), rgba(56, 174, 255, 0.48)),
    rgba(16, 66, 136, 0.56);
  box-shadow:
    0 9px 22px rgba(18, 104, 220, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.select-card.is-featured,
.project-card.is-selected {
  border-color: rgba(132, 199, 255, 0.36);
  background:
    linear-gradient(125deg, rgba(83, 170, 255, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(10, 28, 57, 0.64);
  box-shadow:
    inset 3px 0 0 rgba(83, 170, 255, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(3, 12, 28, 0.18);
}

.rating-button.is-active {
  border-color: rgba(255, 193, 76, 0.38);
  color: #ffb21a;
  background:
    linear-gradient(125deg, rgba(255, 178, 26, 0.16), rgba(255, 255, 255, 0.025)),
    rgba(54, 37, 10, 0.5);
}

@media (hover: hover) {
  .primary-button:hover {
    border-color: rgba(216, 239, 255, 0.62);
    background:
      linear-gradient(135deg, rgba(48, 135, 248, 0.92), rgba(68, 193, 255, 0.78)),
      rgba(18, 83, 168, 0.54);
  }

  .secondary-button:hover {
    border-color: rgba(255, 232, 181, 0.68);
    background:
      linear-gradient(135deg, rgba(255, 193, 62, 0.92), rgba(248, 160, 24, 0.8)),
      rgba(164, 91, 8, 0.46);
  }

  .ghost-button:hover,
  .close-button:hover,
  .rating-button:not(.is-active):hover,
  .quick-chip:not(.is-active):hover,
  .filter-chip:not(.is-active):hover,
  .segment-button:not(.is-active):hover {
    border-color: rgba(132, 199, 255, 0.28);
    color: #ffffff;
    background:
      linear-gradient(120deg, rgba(133, 198, 255, 0.12), rgba(255, 255, 255, 0.025)),
      rgba(10, 25, 50, 0.56);
  }

  .project-card:not(.is-selected):hover,
  .select-card:not(.is-featured):not(.order-action-card):hover,
  .server-button:not(.is-selected):hover {
    border-color: rgba(132, 199, 255, 0.24);
    background:
      linear-gradient(125deg, rgba(126, 193, 255, 0.1), rgba(255, 255, 255, 0.02)),
      rgba(10, 25, 50, 0.66);
  }
}

/* v27: liquid-glass hero */
.hero {
  border-color: rgba(255, 255, 255, 0.17);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 46%, rgba(74, 157, 255, 0.09)),
    rgba(8, 22, 46, 0.6);
  box-shadow:
    0 20px 48px rgba(3, 12, 28, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

.hero::before {
  content: none;
}

.hero::after {
  border-color: rgba(196, 228, 255, 0.12);
  background: radial-gradient(circle, rgba(181, 226, 255, 0.18), transparent 68%);
  opacity: 0.5;
}

/* v28: calmer trust-card microinteractions */
.trust-item {
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    box-shadow 280ms ease;
}

.trust-icon {
  transition:
    transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
    color 240ms ease,
    background 240ms ease;
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(132, 199, 255, 0.18);
    background: linear-gradient(145deg, #162039, #121a2e);
    box-shadow: 0 12px 28px rgba(3, 12, 28, 0.22);
    transform: translateY(-2px);
  }

  .trust-item:hover .trust-icon {
    color: #83c8ff;
    background: rgba(83, 170, 255, 0.14);
    transform: translateY(-1px) scale(1.025);
  }
}

/* v29: subtle hero-inspired detail inside project cards */
.project-card::after {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -72px;
  bottom: auto;
  left: auto;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(164, 214, 255, 0.1);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 179, 255, 0.09), rgba(92, 179, 255, 0.025) 46%, transparent 70%);
  content: "";
  filter: none;
  opacity: 0.72;
  transform: translateY(-50%);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 260ms ease,
    opacity 260ms ease;
  pointer-events: none;
}

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

@media (hover: hover) {
  .project-card:hover::after {
    border-color: rgba(164, 214, 255, 0.15);
    opacity: 0.92;
    transform: translate(-4px, -50%) scale(1.02);
  }
}

/* v31: v29 base with a fully pill-shaped bottom navigation */
.bottom-nav {
  border-radius: 999px;
}

/* v32: lighter game-logo tiles */
.project-card .project-logo {
  border-color: color-mix(in srgb, var(--project-color) 48%, rgba(255, 255, 255, 0.16));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.025)),
    color-mix(in srgb, var(--project-color) 13%, #26344f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 5px 14px rgba(3, 12, 28, 0.12);
}

/* v33: calmer, more detailed top-bar system */
.topbar {
  border-bottom-color: rgba(216, 237, 255, 0.12);
  background:
    radial-gradient(circle at 10% -70%, rgba(151, 214, 255, 0.18), transparent 42%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.085), transparent 38%, rgba(72, 154, 244, 0.075)),
    rgba(7, 23, 48, 0.64);
  box-shadow:
    0 12px 30px rgba(3, 12, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}

.topbar::before {
  background: linear-gradient(108deg, rgba(255, 255, 255, 0.075), transparent 30%, transparent 73%, rgba(123, 190, 255, 0.055));
}

.topbar::after {
  position: absolute;
  z-index: 0;
  top: -128px;
  right: 18%;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(172, 220, 255, 0.09);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 191, 255, 0.075), transparent 68%);
  content: "";
  pointer-events: none;
}

.brand-mark {
  border: 1px solid rgba(190, 222, 251, 0.24);
  color: #eef7ff;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(145deg, rgba(112, 176, 236, 0.28), rgba(35, 95, 169, 0.22)),
    rgba(17, 52, 94, 0.52);
  box-shadow:
    0 7px 18px rgba(4, 22, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

.topbar .header-orders,
.topbar .icon-button {
  border-color: rgba(190, 222, 251, 0.16);
  color: #c8d8eb;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)),
    rgba(13, 36, 70, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 6px 16px rgba(3, 16, 36, 0.12);
}

.topbar .header-orders-icon,
.topbar .support-button .ui-icon {
  color: #b9cde4;
}

@media (hover: hover) {
  .topbar .header-orders:hover,
  .topbar .icon-button:hover {
    border-color: rgba(167, 211, 247, 0.28);
    color: #f4f9ff;
    background:
      linear-gradient(135deg, rgba(153, 207, 255, 0.12), rgba(255, 255, 255, 0.025)),
      rgba(16, 44, 82, 0.52);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 8px 18px rgba(3, 16, 36, 0.16);
  }

  .topbar .header-orders:hover .header-orders-icon,
  .topbar .support-button:hover .ui-icon {
    color: #e7f3ff;
  }
}

/* v35: square game-card grid */
.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-card,
.project-card:not(.project-card-add) {
  aspect-ratio: 1;
  min-height: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.project-card .project-logo,
.project-card:not(.project-card-add) .project-logo {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.project-card-copy {
  width: 100%;
  margin-top: auto;
  padding-right: 4px;
}

.project-card .project-name,
.project-card:not(.project-card-add) .project-name {
  font-size: 14px;
  line-height: 1.22;
}

.project-card .project-price,
.project-card:not(.project-card-add) .project-price {
  font-size: 12px;
}

.project-card-chevron {
  position: absolute;
  top: 14px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.project-card::after {
  top: 5px;
  right: -84px;
  width: 148px;
  height: 148px;
  transform: none;
}

@media (hover: hover) {
  .project-card:hover::after {
    transform: translateX(-4px) scale(1.02);
  }
}

@media (min-width: 620px) {
  .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 350px) {
  .project-card,
  .project-card:not(.project-card-add) {
    padding: 12px;
  }

  .project-card .project-name,
  .project-card:not(.project-card-add) .project-name {
    font-size: 13px;
  }
}

/* v36: compact tiles with consistently left-aligned content */
.project-card,
.project-card:not(.project-card-add) {
  aspect-ratio: 1.4 / 1;
  padding: 13px;
}

.project-card .project-logo,
.project-card:not(.project-card-add) .project-logo {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  align-self: flex-start;
}

.project-card-chevron {
  top: 12px;
  right: 11px;
}

/* v37: individual game artwork as the card background */
.project-card::after {
  top: 50%;
  right: -8px;
  width: 116px;
  height: 116px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: var(--project-art);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.1;
  filter: saturate(0.85);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%, #000 100%);
  transform: translateY(-50%) rotate(-4deg);
}

@media (hover: hover) {
  .project-card:hover::after {
    opacity: 0.15;
    transform: translate(-3px, -50%) rotate(-2deg) scale(1.025);
  }
}

/* v38: visually equalize the STANDOFF 2 background artwork */
.project-card[data-project="standoff-2"]::after {
  width: 126px;
  height: 126px;
  right: -10px;
  background-size: 142%;
}

/* v42: refined profile screen based on the provided reference */
.profile-screen {
  gap: 12px;
}

.profile-screen .screen-header {
  padding: 2px 5px 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-screen .screen-header::before,
.profile-screen .screen-header::after {
  content: none;
}

.profile-screen .screen-header .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(102, 184, 255, 0.15);
  border-radius: 7px;
  color: #84c7ff;
  background: rgba(43, 126, 220, 0.16);
  font-size: 10px;
}

.profile-screen .screen-header .eyebrow .ui-icon {
  width: 12px;
  height: 12px;
}

.profile-screen .screen-header h1 {
  margin-bottom: 6px;
  font-size: clamp(30px, 8vw, 38px);
}

.profile-screen .screen-header > p:last-child {
  color: #8e9aad;
}

.profile-screen .profile-card {
  position: relative;
  isolation: isolate;
  min-height: 128px;
  overflow: hidden;
  padding: 22px 20px;
  border: 1px solid rgba(225, 239, 255, 0.82);
  color: #111a27;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.62), rgba(222, 234, 248, 0.42)),
    #c9d7e8;
  box-shadow:
    0 14px 32px rgba(2, 12, 29, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .profile-card::before {
  position: absolute;
  z-index: -1;
  top: -36px;
  right: -18px;
  width: 150px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.1);
  content: "";
  transform: rotate(31deg);
}

.profile-screen .profile-card::after {
  position: absolute;
  z-index: -1;
  right: 30px;
  bottom: -72px;
  width: 74px;
  height: 164px;
  border: 10px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  content: "";
  transform: rotate(32deg);
}

.profile-screen .profile-main {
  position: relative;
  z-index: 1;
  gap: 16px;
}

.profile-screen .profile-main .avatar {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #ffffff;
  background: linear-gradient(145deg, #5799f5, #2766c9);
  box-shadow: 0 12px 24px rgba(28, 91, 180, 0.28);
  font-size: 31px;
}

.profile-screen .profile-copy h2 {
  color: #111a27;
  font-size: 22px;
}

.profile-screen .profile-copy p {
  color: #596b82;
}

.profile-screen .profile-id {
  color: #1b5ca7;
  background: rgba(69, 139, 224, 0.13);
}

.profile-screen .stats-grid {
  gap: 8px;
}

.profile-screen .stat-card {
  min-height: 108px;
  padding: 12px 11px;
  border-color: rgba(255, 255, 255, 0.09);
  color: #f7f9fc;
  background: #151d2b;
  box-shadow: 0 10px 22px rgba(3, 10, 22, 0.16);
}

.profile-screen .stat-card::before,
.profile-screen .stat-card::after {
  content: none;
}

.profile-screen .stat-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
  border: 1px solid rgba(102, 184, 255, 0.16);
  border-radius: 10px;
  place-items: center;
  color: #66b8ff;
  background: rgba(58, 131, 221, 0.14);
}

.profile-screen .stat-icon .ui-icon {
  width: 17px;
  height: 17px;
}

.profile-screen .stat-card-total {
  border-color: rgba(231, 175, 91, 0.2);
  background: #1d2028;
}

.profile-screen .stat-card-total .stat-icon {
  border-color: rgba(231, 175, 91, 0.2);
  color: #e7af5b;
  background: rgba(231, 175, 91, 0.11);
}

.profile-screen .stat-card .stat-label {
  color: #8390a5;
  font-size: 10.5px;
  line-height: 1.25;
}

.profile-screen .stat-card strong {
  margin-top: 5px;
  color: #f7f9fc;
  font-size: 19px;
}

.profile-screen .profile-menu {
  gap: 8px;
}

.profile-screen .profile-menu .select-card {
  min-height: 66px;
  padding: 10px 12px;
  border-color: rgba(255, 255, 255, 0.085);
  color: #f7f9fc;
  background:
    linear-gradient(110deg, rgba(55, 132, 227, 0.075), transparent 46%),
    #111a2a;
  box-shadow: 0 9px 22px rgba(3, 10, 22, 0.14);
}

.profile-screen .profile-menu .select-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(102, 184, 255, 0.18);
  border-radius: 12px;
  color: #66b8ff;
  background: rgba(55, 132, 227, 0.14);
}

.profile-screen .profile-menu .select-card:nth-child(2) .select-icon {
  border-color: rgba(231, 175, 91, 0.24);
  color: #e7af5b;
  background: rgba(231, 175, 91, 0.11);
}

.profile-screen .profile-menu .select-copy strong {
  color: #f7f9fc;
  font-size: 13px;
}

.profile-screen .profile-menu .select-copy small,
.profile-screen .profile-menu .select-chevron {
  color: #8290a7;
}

@media (hover: hover) {
  .profile-screen .profile-menu .select-card:hover {
    border-color: rgba(102, 184, 255, 0.2);
    background:
      linear-gradient(110deg, rgba(55, 132, 227, 0.1), transparent 48%),
      #152035;
    transform: translateY(-2px);
  }
}

/* v43: liquid-glass finish for the profile screen */
.profile-screen .screen-header .eyebrow {
  border-color: rgba(173, 218, 255, 0.22);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 62%),
    rgba(36, 105, 190, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

.profile-screen .profile-card {
  border-color: rgba(239, 248, 255, 0.72);
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.52), rgba(226, 239, 253, 0.18) 54%, rgba(178, 210, 243, 0.16)),
    rgba(205, 223, 242, 0.66);
  box-shadow:
    0 18px 40px rgba(2, 12, 29, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(108, 151, 197, 0.18);
  -webkit-backdrop-filter: blur(30px) saturate(155%);
  backdrop-filter: blur(30px) saturate(155%);
}

.profile-screen .profile-main .avatar {
  border-color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(87, 153, 245, 0.94), rgba(39, 102, 201, 0.9));
  box-shadow:
    0 12px 26px rgba(28, 91, 180, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.profile-screen .stat-card {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.075), transparent 48%, rgba(65, 142, 231, 0.045)),
    rgba(9, 21, 40, 0.64);
  box-shadow:
    0 12px 28px rgba(3, 10, 22, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.profile-screen .stat-card-total {
  border-color: rgba(231, 175, 91, 0.22);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.07), transparent 46%, rgba(231, 175, 91, 0.05)),
    rgba(24, 23, 28, 0.67);
}

.profile-screen .stat-icon,
.profile-screen .profile-menu .select-icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 7px 16px rgba(2, 10, 24, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

.profile-screen .profile-menu .select-card {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.075), transparent 42%, rgba(64, 145, 239, 0.045)),
    rgba(8, 20, 39, 0.62);
  box-shadow:
    0 12px 28px rgba(3, 10, 22, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.095);
  -webkit-backdrop-filter: blur(25px) saturate(155%);
  backdrop-filter: blur(25px) saturate(155%);
}

@media (hover: hover) {
  .profile-screen .profile-menu .select-card:hover {
    border-color: rgba(143, 205, 255, 0.25);
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.1), transparent 44%, rgba(64, 145, 239, 0.07)),
      rgba(11, 29, 55, 0.66);
    box-shadow:
      0 15px 32px rgba(3, 10, 22, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.13);
  }
}

/* v44: liquid-glass reviews, raffle and support screens */
.reviews-screen .reviews-hero,
.raffle-screen .raffle-hero,
.support-screen .support-hero,
.support-screen .legal-card {
  border-color: rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0.1), transparent 45%, rgba(68, 151, 244, 0.065)),
    rgba(8, 21, 42, 0.62);
  box-shadow:
    0 18px 40px rgba(3, 11, 27, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
}

.reviews-screen .reviews-hero {
  background:
    radial-gradient(circle at 95% 2%, rgba(102, 184, 255, 0.13), transparent 36%),
    linear-gradient(122deg, rgba(255, 255, 255, 0.1), transparent 46%),
    rgba(8, 21, 42, 0.62);
}

.raffle-screen .raffle-hero {
  border-color: rgba(255, 198, 92, 0.19);
  background:
    radial-gradient(circle at 94% 4%, rgba(255, 185, 49, 0.13), transparent 35%),
    linear-gradient(122deg, rgba(255, 255, 255, 0.095), transparent 46%),
    rgba(13, 24, 43, 0.64);
}

.support-screen .support-hero {
  background:
    radial-gradient(circle at 95% 2%, rgba(73, 214, 151, 0.09), transparent 35%),
    linear-gradient(122deg, rgba(255, 255, 255, 0.1), transparent 46%, rgba(68, 151, 244, 0.055)),
    rgba(8, 21, 42, 0.62);
}

.reviews-screen .review-card,
.reviews-screen .empty-state,
.raffle-screen .step-card,
.support-screen .faq-item {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.075), transparent 48%, rgba(70, 151, 242, 0.04)),
    rgba(8, 20, 39, 0.6);
  box-shadow:
    0 12px 28px rgba(3, 10, 24, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.reviews-screen .review-detail,
.raffle-screen .ticket-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.065), transparent 62%),
    rgba(5, 15, 30, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.reviews-screen .filter-chip {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.075), transparent 64%),
    rgba(8, 20, 39, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.reviews-screen .filter-chip.is-active {
  border-color: rgba(159, 215, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(45, 132, 244, 0.72), rgba(75, 184, 255, 0.46)),
    rgba(20, 77, 154, 0.52);
  box-shadow:
    0 8px 20px rgba(21, 102, 211, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.raffle-screen .step-number {
  border-color: rgba(255, 205, 112, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 58%),
    rgba(218, 142, 26, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-screen .faq-item[open] {
  border-color: rgba(132, 199, 255, 0.22);
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.09), transparent 48%, rgba(70, 151, 242, 0.06)),
    rgba(10, 26, 49, 0.65);
}

@media (hover: hover) {
  .reviews-screen .review-card:hover,
  .raffle-screen .step-card:hover,
  .support-screen .faq-item:hover {
    border-color: rgba(143, 205, 255, 0.22);
    box-shadow:
      0 15px 32px rgba(3, 10, 24, 0.21),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
}

/* v45: liquid-glass trust cards and rating panel */
.trust-item,
.rating-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(124deg, rgba(255, 255, 255, 0.085), transparent 48%, rgba(70, 151, 242, 0.045)),
    rgba(8, 20, 39, 0.6);
  box-shadow:
    0 13px 30px rgba(3, 10, 24, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(25px) saturate(155%);
  backdrop-filter: blur(25px) saturate(155%);
}

.trust-icon {
  border: 1px solid rgba(126, 197, 255, 0.16);
  color: #66b8ff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 58%),
    rgba(42, 113, 204, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 7px 16px rgba(3, 12, 28, 0.12);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}

.rating-panel {
  background:
    radial-gradient(circle at 94% 0%, rgba(78, 164, 255, 0.08), transparent 34%),
    linear-gradient(124deg, rgba(255, 255, 255, 0.09), transparent 48%),
    rgba(8, 20, 39, 0.62);
}

.rating-panel .ghost-button {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 58%),
    rgba(22, 52, 96, 0.56);
  box-shadow:
    0 9px 22px rgba(3, 12, 28, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(139, 204, 255, 0.22);
    background:
      linear-gradient(124deg, rgba(255, 255, 255, 0.105), transparent 48%, rgba(70, 151, 242, 0.065)),
      rgba(10, 26, 49, 0.64);
    box-shadow:
      0 15px 34px rgba(3, 10, 24, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .rating-panel .ghost-button:hover {
    border-color: rgba(143, 205, 255, 0.26);
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 58%),
      rgba(28, 68, 124, 0.62);
  }
}

/* v46: positive green liquid-glass trust cards */
.trust-item {
  border-color: rgba(82, 220, 143, 0.22);
  background:
    linear-gradient(124deg, rgba(255, 255, 255, 0.075), transparent 48%, rgba(53, 212, 119, 0.065)),
    rgba(7, 32, 30, 0.61);
  box-shadow:
    0 13px 30px rgba(2, 16, 19, 0.2),
    inset 0 1px 0 rgba(221, 255, 236, 0.11),
    inset 0 -1px 0 rgba(53, 212, 119, 0.035);
}

.trust-icon {
  border-color: rgba(82, 220, 143, 0.2);
  color: #58dc91;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 58%),
    rgba(38, 160, 93, 0.15);
}

.trust-item span:last-child {
  color: #b6c8bf;
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(91, 229, 153, 0.32);
    background:
      linear-gradient(124deg, rgba(255, 255, 255, 0.095), transparent 48%, rgba(53, 212, 119, 0.085)),
      rgba(8, 42, 37, 0.66);
    box-shadow:
      0 15px 34px rgba(2, 16, 19, 0.23),
      inset 0 1px 0 rgba(221, 255, 236, 0.14);
  }

  .trust-item:hover .trust-icon {
    color: #72e5a4;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 58%),
      rgba(38, 160, 93, 0.19);
  }
}

/* v47: restrained ambient glow inside positive cards */
.trust-item {
  background:
    radial-gradient(circle at 88% 8%, rgba(86, 231, 151, 0.13), transparent 48%),
    linear-gradient(124deg, rgba(255, 255, 255, 0.075), transparent 48%, rgba(53, 212, 119, 0.065)),
    rgba(7, 32, 30, 0.61);
  box-shadow:
    0 13px 30px rgba(2, 16, 19, 0.2),
    0 0 22px rgba(53, 212, 119, 0.055),
    inset 0 1px 0 rgba(221, 255, 236, 0.11),
    inset 0 -1px 0 rgba(53, 212, 119, 0.035);
}

@media (hover: hover) {
  .trust-item:hover {
    background:
      radial-gradient(circle at 88% 8%, rgba(99, 240, 162, 0.17), transparent 50%),
      linear-gradient(124deg, rgba(255, 255, 255, 0.095), transparent 48%, rgba(53, 212, 119, 0.085)),
      rgba(8, 42, 37, 0.66);
    box-shadow:
      0 15px 34px rgba(2, 16, 19, 0.23),
      0 0 28px rgba(53, 212, 119, 0.075),
      inset 0 1px 0 rgba(221, 255, 236, 0.14);
  }
}

/* v48: prevent small SVG artifacts in Telegram WebView */
.trust-icon {
  overflow: hidden;
  isolation: isolate;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.trust-icon .ui-icon {
  position: relative;
  z-index: 1;
  filter: none;
  shape-rendering: geometricPrecision;
}

/* v49: semantic trust palette — green proof, blue action */
.rating-panel {
  border-color: rgba(89, 215, 148, 0.16);
  background:
    radial-gradient(circle at 8% 0%, rgba(72, 215, 139, 0.075), transparent 38%),
    linear-gradient(124deg, rgba(255, 255, 255, 0.075), transparent 50%),
    rgba(8, 24, 43, 0.66);
  box-shadow:
    0 14px 32px rgba(3, 12, 27, 0.21),
    0 0 24px rgba(53, 212, 119, 0.035),
    inset 0 1px 0 rgba(224, 255, 239, 0.1);
}

.rating-panel .ghost-button {
  border-color: rgba(156, 216, 255, 0.42);
  color: #ffffff;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, #258af7 0%, #35b6ff 100%);
  box-shadow:
    0 10px 24px rgba(27, 139, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(5, 83, 172, 0.16);
}

@media (hover: hover) {
  .rating-panel .ghost-button:hover {
    border-color: rgba(194, 232, 255, 0.58);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.25), transparent 42%),
      linear-gradient(135deg, #3195ff 0%, #45c0ff 100%);
    box-shadow:
      0 13px 29px rgba(27, 139, 255, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      inset 0 -1px 0 rgba(5, 83, 172, 0.14);
  }
}

/* v50: align the main purchase CTA with the reviews CTA */
.hero-actions .primary-button,
.rating-panel .ghost-button {
  border: 1px solid rgba(156, 216, 255, 0.42);
  color: #ffffff;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, #258af7 0%, #35b6ff 100%);
  box-shadow:
    0 10px 24px rgba(27, 139, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(5, 83, 172, 0.16);
  font-family: inherit;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

@media (hover: hover) {
  .hero-actions .primary-button:hover,
  .rating-panel .ghost-button:hover {
    border-color: rgba(194, 232, 255, 0.58);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.25), transparent 42%),
      linear-gradient(135deg, #3195ff 0%, #45c0ff 100%);
    box-shadow:
      0 13px 29px rgba(27, 139, 255, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      inset 0 -1px 0 rgba(5, 83, 172, 0.14);
  }
}

/* v51: give the sell CTA the same visual weight in gold */
.hero-actions .secondary-button {
  border: 1px solid rgba(255, 226, 158, 0.5);
  color: #17140b;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(135deg, #ffba32 0%, #dda01f 100%);
  box-shadow:
    0 10px 24px rgba(210, 148, 24, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(111, 72, 0, 0.17);
  font-family: inherit;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.01em;
}

@media (hover: hover) {
  .hero-actions .secondary-button:hover {
    border-color: rgba(255, 238, 194, 0.66);
    background:
      linear-gradient(125deg, rgba(255, 255, 255, 0.27), transparent 42%),
      linear-gradient(135deg, #ffc342 0%, #e5aa29 100%);
    box-shadow:
      0 13px 29px rgba(210, 148, 24, 0.31),
      inset 0 1px 0 rgba(255, 255, 255, 0.38),
      inset 0 -1px 0 rgba(111, 72, 0, 0.15);
  }
}

/* v52: remove the visible arc seam from the top-bar decoration */
.topbar::after {
  border: 0;
  background: radial-gradient(circle, rgba(116, 191, 255, 0.09), transparent 68%);
  filter: blur(10px);
  opacity: 0.72;
}

/* v53: single seamless liquid-glass surface for the top bar */
.topbar {
  background: linear-gradient(
    180deg,
    #185080 0%,
    #0a2a4e 100%
  );
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.topbar::before,
.topbar::after {
  display: none;
  content: none;
}

/* v55: real backdrop refraction test for the bottom navigation */
.bottom-nav {
  border-color: rgba(190, 226, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(80, 151, 223, 0.035)),
    rgba(7, 18, 37, 0.46);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
  backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .bottom-nav {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(160%)
      contrast(1.04);
  }
}

/* v58: clear refractive glass without milky surface tint */
.bottom-nav {
  border-color: rgba(157, 211, 255, 0.24);
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.29),
    0 0 0 1px rgba(101, 176, 235, 0.045),
    inset 0 1px 0 rgba(221, 244, 255, 0.18),
    inset 0 -1px 0 rgba(104, 174, 230, 0.055);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .bottom-nav {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(2px)
      saturate(118%)
      contrast(1.025);
  }
}

/* v59: clear v58-style refractive glass on review cards */
.reviews-screen .review-card {
  isolation: isolate;
  border-color: rgba(157, 211, 255, 0.22);
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 14px 32px rgba(3, 12, 28, 0.22),
    0 0 0 1px rgba(101, 176, 235, 0.035),
    inset 0 1px 0 rgba(221, 244, 255, 0.16),
    inset 0 -1px 0 rgba(104, 174, 230, 0.05);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .reviews-screen .review-card {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(2px)
      saturate(118%)
      contrast(1.025);
  }
}

@media (hover: hover) {
  .reviews-screen .review-card:hover {
    border-color: rgba(170, 220, 255, 0.3);
    background: rgba(10, 31, 58, 0.11);
    box-shadow:
      0 17px 36px rgba(3, 12, 28, 0.25),
      0 0 0 1px rgba(101, 176, 235, 0.055),
      inset 0 1px 0 rgba(221, 244, 255, 0.2),
      inset 0 -1px 0 rgba(104, 174, 230, 0.065);
  }
}

/* v64: clear v58-style refraction on the top bar and its action buttons */
.topbar {
  isolation: isolate;
  border-bottom-color: rgba(157, 211, 255, 0.24);
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 14px 34px rgba(3, 12, 28, 0.2),
    0 0 0 1px rgba(101, 176, 235, 0.035),
    inset 0 1px 0 rgba(221, 244, 255, 0.18),
    inset 0 -1px 0 rgba(104, 174, 230, 0.055);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

.topbar .header-orders,
.topbar .icon-button {
  border-color: rgba(157, 211, 255, 0.24);
  color: #d8e8f7;
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 7px 18px rgba(3, 12, 28, 0.14),
    0 0 0 1px rgba(101, 176, 235, 0.035),
    inset 0 1px 0 rgba(221, 244, 255, 0.18),
    inset 0 -1px 0 rgba(104, 174, 230, 0.055);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .topbar,
  .topbar .header-orders,
  .topbar .icon-button {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(2px)
      saturate(118%)
      contrast(1.025);
  }
}

@media (hover: hover) {
  .topbar .header-orders:hover,
  .topbar .icon-button:hover {
    border-color: rgba(177, 224, 255, 0.35);
    color: #ffffff;
    background: rgba(31, 101, 164, 0.13);
    box-shadow:
      0 9px 21px rgba(3, 12, 28, 0.18),
      0 0 0 1px rgba(101, 176, 235, 0.055),
      inset 0 1px 0 rgba(230, 248, 255, 0.22),
      inset 0 -1px 0 rgba(104, 174, 230, 0.07);
  }
}

/* v65: restrained green ambient glow inside the refractive trust cards */
.trust-item {
  border-color: rgba(83, 220, 147, 0.25);
  background:
    radial-gradient(circle at 88% 8%, rgba(53, 212, 119, 0.14), transparent 48%),
    radial-gradient(circle at 4% 110%, rgba(52, 230, 139, 0.075), transparent 44%),
    rgba(7, 19, 38, 0.08);
  box-shadow:
    0 14px 32px rgba(3, 12, 28, 0.2),
    0 0 26px rgba(53, 212, 119, 0.09),
    0 0 0 1px rgba(82, 220, 143, 0.045),
    inset 0 1px 0 rgba(221, 255, 236, 0.18),
    inset 0 -1px 0 rgba(53, 212, 119, 0.055);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(97, 232, 160, 0.36);
    background:
      radial-gradient(circle at 88% 8%, rgba(73, 229, 143, 0.19), transparent 50%),
      radial-gradient(circle at 4% 110%, rgba(52, 230, 139, 0.1), transparent 46%),
      rgba(8, 31, 43, 0.1);
    box-shadow:
      0 17px 36px rgba(3, 12, 28, 0.24),
      0 0 31px rgba(53, 212, 119, 0.13),
      0 0 0 1px rgba(82, 220, 143, 0.065),
      inset 0 1px 0 rgba(226, 255, 239, 0.22),
      inset 0 -1px 0 rgba(53, 212, 119, 0.075);
  }
}

/* v66: make the positive green glow clearly visible without hiding the glass */
.trust-item {
  border-color: rgba(82, 224, 149, 0.42);
  background:
    radial-gradient(circle at 82% 4%, rgba(48, 220, 127, 0.3), transparent 55%),
    radial-gradient(circle at 0% 115%, rgba(42, 211, 117, 0.16), transparent 52%),
    rgba(7, 24, 37, 0.1);
  box-shadow:
    0 14px 32px rgba(3, 12, 28, 0.2),
    0 0 34px rgba(42, 211, 117, 0.18),
    0 0 0 1px rgba(82, 224, 149, 0.08),
    inset 0 0 32px rgba(44, 220, 125, 0.16),
    inset 0 1px 0 rgba(224, 255, 238, 0.22),
    inset 0 -1px 0 rgba(53, 212, 119, 0.09);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(103, 241, 170, 0.55);
    background:
      radial-gradient(circle at 82% 4%, rgba(58, 235, 142, 0.36), transparent 56%),
      radial-gradient(circle at 0% 115%, rgba(48, 226, 132, 0.2), transparent 53%),
      rgba(8, 34, 40, 0.12);
    box-shadow:
      0 17px 36px rgba(3, 12, 28, 0.24),
      0 0 40px rgba(48, 226, 132, 0.24),
      0 0 0 1px rgba(95, 235, 161, 0.1),
      inset 0 0 36px rgba(54, 232, 139, 0.2),
      inset 0 1px 0 rgba(231, 255, 242, 0.25),
      inset 0 -1px 0 rgba(61, 226, 134, 0.12);
  }
}

/* v67: move the green light into the glass surface, matching the reference */
.trust-item {
  border-color: rgba(67, 205, 137, 0.32);
  background:
    radial-gradient(circle at 86% 12%, rgba(49, 211, 124, 0.24), transparent 62%),
    linear-gradient(132deg, rgba(29, 132, 94, 0.2), rgba(7, 67, 64, 0.3)),
    rgba(7, 19, 38, 0.1);
  box-shadow:
    0 13px 30px rgba(3, 12, 28, 0.2),
    0 0 22px rgba(44, 207, 119, 0.075),
    0 0 0 1px rgba(67, 205, 137, 0.045),
    inset 0 0 34px rgba(43, 196, 112, 0.12),
    inset 0 1px 0 rgba(220, 255, 236, 0.17),
    inset 0 -1px 0 rgba(49, 205, 121, 0.07);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(77, 219, 149, 0.42);
    background:
      radial-gradient(circle at 86% 12%, rgba(59, 224, 138, 0.29), transparent 63%),
      linear-gradient(132deg, rgba(34, 148, 104, 0.24), rgba(8, 77, 71, 0.33)),
      rgba(7, 23, 39, 0.11);
    box-shadow:
      0 15px 34px rgba(3, 12, 28, 0.23),
      0 0 25px rgba(48, 216, 128, 0.1),
      0 0 0 1px rgba(77, 219, 149, 0.06),
      inset 0 0 38px rgba(48, 211, 123, 0.15),
      inset 0 1px 0 rgba(226, 255, 240, 0.2),
      inset 0 -1px 0 rgba(56, 218, 132, 0.09);
  }
}

/* v68: clearly visible teal-green glass surface */
.trust-item {
  border-color: rgba(73, 218, 146, 0.43);
  background:
    radial-gradient(circle at 90% -8%, rgba(61, 226, 138, 0.36), transparent 58%),
    linear-gradient(132deg, rgba(20, 125, 88, 0.44), rgba(5, 60, 57, 0.54)),
    rgba(5, 32, 43, 0.3);
  box-shadow:
    0 13px 30px rgba(3, 12, 28, 0.2),
    0 0 20px rgba(48, 216, 128, 0.08),
    0 0 0 1px rgba(73, 218, 146, 0.055),
    inset 0 0 38px rgba(45, 207, 119, 0.15),
    inset 0 1px 0 rgba(224, 255, 238, 0.2),
    inset 0 -1px 0 rgba(57, 223, 135, 0.09);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(91, 234, 161, 0.55);
    background:
      radial-gradient(circle at 90% -8%, rgba(72, 239, 151, 0.42), transparent 60%),
      linear-gradient(132deg, rgba(24, 143, 99, 0.48), rgba(6, 72, 65, 0.58)),
      rgba(5, 37, 46, 0.32);
    box-shadow:
      0 15px 34px rgba(3, 12, 28, 0.23),
      0 0 24px rgba(55, 229, 139, 0.11),
      0 0 0 1px rgba(91, 234, 161, 0.075),
      inset 0 0 42px rgba(52, 222, 132, 0.18),
      inset 0 1px 0 rgba(231, 255, 242, 0.23),
      inset 0 -1px 0 rgba(66, 235, 147, 0.11);
  }
}

/* v70: pure deep-blue palette for game cards only */
.project-card:not(.project-card-add) {
  border-color: rgba(117, 185, 255, 0.18);
  background:
    linear-gradient(135deg, #0d376d 0%, #0b2f60 52%, #092955 100%);
  box-shadow:
    0 8px 20px rgba(5, 31, 69, 0.16),
    inset 0 1px 0 rgba(153, 205, 255, 0.055);
}

.project-card:not(.project-card-add) .project-name {
  color: #f7faff;
}

.project-card:not(.project-card-add) .project-price {
  color: #a9bfdc;
}

.project-card:not(.project-card-add) .project-card-chevron {
  color: #91b9e8;
}

.project-card:not(.project-card-add)::after {
  opacity: 0.06;
}

@media (hover: hover) {
  .project-card:not(.project-card-add):hover {
    border-color: rgba(117, 185, 255, 0.26);
    background: #10417d;
    box-shadow:
      0 9px 22px rgba(5, 31, 69, 0.18),
      inset 0 1px 0 rgba(170, 215, 255, 0.07);
  }

  .project-card:not(.project-card-add):hover::after {
    opacity: 0.08;
  }
}

.project-card:not(.project-card-add).is-selected {
  border-color: rgba(117, 185, 255, 0.34);
  background: #10417d;
  box-shadow:
    inset 3px 0 0 rgba(117, 185, 255, 0.72),
    0 9px 22px rgba(5, 31, 69, 0.18);
}

.project-card:not(.project-card-add).is-selected::after {
  opacity: 0.08;
}

/* v71: minimal standalone chevron on game cards */
.project-card:not(.project-card-add) .project-card-chevron {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  color: rgba(170, 205, 245, 0.7);
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.project-card:not(.project-card-add) .project-card-chevron .ui-icon {
  width: 21px;
  height: 21px;
}

@media (hover: hover) {
  .project-card:not(.project-card-add):hover .project-card-chevron {
    color: rgba(170, 205, 245, 0.7);
    transform: translate(2px, -50%);
  }
}

/* v72: slightly deeper game cards with clearer watermark artwork */
.project-card:not(.project-card-add) {
  background:
    linear-gradient(
      180deg,
      rgba(151, 199, 255, 0.045) 0%,
      rgba(24, 94, 169, 0.018) 42%,
      rgba(3, 31, 70, 0.14) 100%
    ),
    linear-gradient(135deg, #0c3568 0%, #092b59 54%, #07244b 100%);
  box-shadow:
    0 9px 22px rgba(4, 29, 65, 0.18),
    inset 0 1px 0 rgba(160, 207, 255, 0.065),
    inset 0 -1px 0 rgba(3, 28, 63, 0.12);
}

.project-card:not(.project-card-add)::after {
  opacity: 0.1;
  filter: none;
}

@media (hover: hover) {
  .project-card:not(.project-card-add):hover {
    background:
      linear-gradient(
        180deg,
        rgba(169, 213, 255, 0.055) 0%,
        rgba(30, 109, 192, 0.025) 44%,
        rgba(4, 36, 80, 0.13) 100%
      ),
      #0d3972;
    box-shadow:
      0 10px 24px rgba(4, 29, 65, 0.2),
      inset 0 1px 0 rgba(174, 216, 255, 0.075),
      inset 0 -1px 0 rgba(3, 29, 66, 0.12);
  }

  .project-card:not(.project-card-add):hover::after {
    opacity: 0.13;
    filter: none;
  }
}

.project-card:not(.project-card-add).is-selected {
  background:
    linear-gradient(
      180deg,
      rgba(169, 213, 255, 0.055) 0%,
      rgba(30, 109, 192, 0.025) 44%,
      rgba(4, 36, 80, 0.13) 100%
    ),
    #0d3972;
}

.project-card:not(.project-card-add).is-selected::after {
  opacity: 0.13;
  filter: none;
}

/* v73: game logos sit directly on the card without app-icon containers */
.project-card:not(.project-card-add) .project-logo {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.project-card:not(.project-card-add) .project-logo img {
  filter: drop-shadow(0 3px 6px rgba(3, 24, 56, 0.2));
}

/* v75: align standalone game logos with the card copy */
.project-card:not(.project-card-add) .project-logo {
  justify-items: start;
}

/* v76: compensate for transparent side padding inside the Standoff 2 asset */
.project-card[data-project="standoff-2"] .project-logo img {
  transform: translateX(-19px);
}

/* v63: v59 base with clear v58-style refraction on trust and rating blocks */
.trust-item,
.rating-panel {
  isolation: isolate;
  border-color: rgba(157, 211, 255, 0.22);
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 14px 32px rgba(3, 12, 28, 0.2),
    0 0 0 1px rgba(101, 176, 235, 0.035),
    inset 0 1px 0 rgba(221, 244, 255, 0.16),
    inset 0 -1px 0 rgba(104, 174, 230, 0.05);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .trust-item,
  .rating-panel {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(2px)
      saturate(118%)
      contrast(1.025);
  }
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: rgba(170, 220, 255, 0.3);
    background: rgba(10, 31, 58, 0.11);
    box-shadow:
      0 17px 36px rgba(3, 12, 28, 0.24),
      0 0 0 1px rgba(101, 176, 235, 0.05),
      inset 0 1px 0 rgba(221, 244, 255, 0.2),
      inset 0 -1px 0 rgba(104, 174, 230, 0.065);
  }
}

/* v77: borderless dark-blue trust and rating surfaces */
.trust-item {
  border-color: transparent;
  background: rgba(8, 36, 70, 0.76);
  box-shadow:
    0 10px 22px rgba(3, 16, 37, 0.16),
    inset 0 1px 0 rgba(210, 233, 255, 0.055);
}

.rating-panel {
  border-color: transparent;
  background: rgba(7, 31, 62, 0.82);
  box-shadow:
    0 12px 26px rgba(3, 16, 37, 0.18),
    inset 0 1px 0 rgba(210, 233, 255, 0.05);
}

@media (hover: hover) {
  .trust-item:hover {
    border-color: transparent;
    background: rgba(9, 40, 77, 0.82);
    box-shadow:
      0 12px 24px rgba(3, 16, 37, 0.18),
      inset 0 1px 0 rgba(210, 233, 255, 0.065);
  }
}

/* v78: v55 refractive liquid glass and smoother motion for support FAQ */
.support-screen .faq-item,
.support-screen .legal-card .ghost-button[data-route="home"] {
  border-color: rgba(190, 226, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(80, 151, 223, 0.035)),
    rgba(7, 18, 37, 0.46);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
  backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
}

.support-screen .faq-item {
  interpolate-size: allow-keywords;
  transform: translateZ(0);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 280ms ease;
}

.support-screen .faq-item[open] {
  border-color: rgba(190, 226, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(80, 151, 223, 0.035)),
    rgba(7, 18, 37, 0.46);
}

.support-screen .faq-item::details-content {
  overflow: hidden;
  block-size: 0;
  opacity: 0;
  transition:
    block-size 300ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease,
    content-visibility 300ms allow-discrete;
}

.support-screen .faq-item[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.support-screen .faq-chevron {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.support-screen .legal-card .ghost-button[data-route="home"] {
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 260ms ease;
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .support-screen .faq-item,
  .support-screen .legal-card .ghost-button[data-route="home"] {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(160%)
      contrast(1.04);
  }
}

@media (hover: hover) {
  .support-screen .faq-item:hover {
    border-color: rgba(203, 233, 255, 0.28);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(80, 151, 223, 0.04)),
      rgba(7, 18, 37, 0.48);
    box-shadow:
      0 20px 44px rgba(3, 12, 28, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
  }

  .support-screen .legal-card .ghost-button[data-route="home"]:hover {
    border-color: rgba(203, 233, 255, 0.3);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(80, 151, 223, 0.045)),
      rgba(7, 18, 37, 0.5);
    box-shadow:
      0 15px 34px rgba(3, 12, 28, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
  }
}

.support-screen .faq-item:active {
  transform: scale(0.995);
  transition-duration: 110ms;
}

.support-screen .legal-card .ghost-button[data-route="home"]:active {
  transform: scale(0.98);
  transition-duration: 110ms;
}

/* v79: compact, product-like reviews screen */
.reviews-screen {
  padding-bottom: 24px;
}

.reviews-screen .reviews-hero {
  min-height: 230px;
  padding: 15px 16px 16px;
  border-color: transparent;
  border-radius: 22px;
  background: linear-gradient(145deg, #0e3a72 0%, #0b3265 52%, #092b57 100%);
  box-shadow:
    0 12px 28px rgba(4, 29, 65, 0.17),
    inset 0 1px 0 rgba(185, 218, 255, 0.065);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.reviews-screen .reviews-hero > div:first-child {
  min-width: 0;
}

.reviews-screen .reviews-hero .eyebrow {
  margin-bottom: 5px;
  font-size: 10.5px;
}

.reviews-screen .reviews-hero .eyebrow::before {
  box-shadow: none;
}

.reviews-screen .reviews-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(24px, 7.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.reviews-screen .reviews-score {
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 7px 0 3px;
  white-space: nowrap;
}

.reviews-screen .reviews-score strong {
  flex: 0 0 auto;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.reviews-screen .reviews-score .review-stars {
  flex: 0 0 auto;
  gap: 2px;
}

.reviews-screen .reviews-score .review-stars .ui-icon {
  width: 14px;
  height: 14px;
}

.reviews-screen .reviews-hero .muted {
  max-width: 410px;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
}

.reviews-screen .reviews-actions {
  gap: 8px;
  margin-top: 11px;
}

.reviews-screen .reviews-actions .primary-button,
.reviews-screen .reviews-actions .ghost-button {
  padding-right: 9px;
  padding-left: 9px;
  border-radius: 13px;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.reviews-screen .reviews-actions .primary-button {
  min-height: 44px;
  box-shadow:
    0 8px 18px rgba(26, 112, 224, 0.18),
    inset 0 1px 0 rgba(220, 242, 255, 0.24);
}

.reviews-screen .reviews-actions .ghost-button {
  min-height: 42px;
  border-color: rgba(154, 203, 248, 0.11);
  background: rgba(7, 30, 60, 0.58);
  box-shadow: inset 0 1px 0 rgba(208, 233, 255, 0.055);
  font-size: 12px;
  white-space: nowrap;
}

.reviews-screen > .section {
  margin-top: 12px;
}

.reviews-screen .filter-row {
  gap: 7px;
  padding: 0 1px 4px;
  scroll-padding-inline: 1px 14px;
  overscroll-behavior-inline: contain;
}

.reviews-screen .filter-chip {
  min-height: 38px;
  padding: 0 12px;
  border-color: transparent;
  border-radius: 13px;
  color: #aec3dd;
  background: #0b2f60;
  box-shadow: inset 0 1px 0 rgba(183, 218, 255, 0.045);
  font-size: 12px;
  white-space: nowrap;
  transition:
    transform 200ms ease,
    color 200ms ease,
    background 200ms ease;
}

.reviews-screen .filter-chip.is-active {
  border-color: transparent;
  color: #ffffff;
  background: #2d8fee;
  box-shadow: inset 0 1px 0 rgba(225, 244, 255, 0.22);
}

.reviews-screen .review-list.section {
  margin-top: 11px;
}

.reviews-screen .review-card {
  padding: 15px;
  border-color: transparent;
  border-radius: 19px;
  background: linear-gradient(145deg, #0d386d 0%, #0b315f 58%, #092b57 100%);
  box-shadow:
    0 11px 25px rgba(4, 28, 62, 0.17),
    inset 0 1px 0 rgba(186, 219, 255, 0.055);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.reviews-screen .review-head {
  align-items: flex-start;
  gap: 12px;
}

.reviews-screen .review-user {
  flex: 1 1 auto;
  gap: 10px;
}

.reviews-screen .avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
}

.reviews-screen .review-order {
  min-width: 0;
}

.reviews-screen .review-order strong {
  color: #f7faff;
  font-size: 13px;
  line-height: 1.25;
}

.reviews-screen .review-order small {
  margin-top: 3px;
}

.reviews-screen .status-badge.confirmed {
  padding: 3px 6px;
  border-radius: 8px;
  color: #57d98b;
  background: rgba(53, 212, 119, 0.09);
  box-shadow: none;
}

.reviews-screen .review-rating {
  padding-top: 2px;
  color: #f5b544;
}

.reviews-screen .review-rating .review-stars {
  gap: 2px;
}

.reviews-screen .review-text {
  max-width: 620px;
  margin: 17px 0 15px;
  color: #f7faff;
  font-size: 15px;
  line-height: 1.52;
}

.reviews-screen .review-details {
  gap: 0;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 1px 0;
  border-radius: 12px;
  background: rgba(5, 31, 65, 0.27);
}

.reviews-screen .review-detail {
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.reviews-screen .review-detail:nth-child(odd) {
  border-right: 1px solid rgba(166, 203, 239, 0.095);
}

.reviews-screen .review-detail:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(166, 203, 239, 0.095);
}

.reviews-screen .review-detail span {
  margin-bottom: 4px;
  color: #8fa8c7;
  font-size: 10.5px;
  font-weight: 500;
}

.reviews-screen .review-detail strong {
  overflow: visible;
  color: #f7faff;
  font-size: 12.5px;
  line-height: 1.3;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.reviews-screen .review-meta-row {
  align-items: center;
  padding-top: 12px;
  border-top-color: rgba(166, 203, 239, 0.095);
  color: #8fa8c7;
  font-size: 11px;
  line-height: 1.2;
}

.reviews-screen .source-badge {
  padding: 2px 0;
  border: 0;
  border-radius: 8px;
  color: #9db4cf;
  background: transparent;
  box-shadow: none;
  font-weight: 650;
}

@media (hover: hover) {
  .reviews-screen .reviews-actions button:hover,
  .reviews-screen .filter-chip:hover {
    transform: translateY(-1px);
  }

  .reviews-screen .filter-chip:not(.is-active):hover {
    border-color: transparent;
    color: #dbeaff;
    background: #0d396f;
    box-shadow: inset 0 1px 0 rgba(191, 224, 255, 0.06);
  }

  .reviews-screen .review-card:hover {
    border-color: transparent;
    background: linear-gradient(145deg, #0e3b72 0%, #0c3464 58%, #0a2d5b 100%);
    box-shadow:
      0 13px 28px rgba(4, 28, 62, 0.19),
      inset 0 1px 0 rgba(190, 223, 255, 0.065);
    transform: translateY(-2px);
  }
}

.reviews-screen .reviews-actions button:active,
.reviews-screen .filter-chip:active,
.reviews-screen .review-card:active {
  transform: scale(0.98);
  transition-duration: 110ms;
}

@media (min-width: 620px) {
  .reviews-screen .reviews-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
    min-height: 0;
    align-items: center;
    gap: 20px;
    padding: 19px 20px;
  }

  .reviews-screen .reviews-actions {
    width: 260px;
    margin-top: 0;
  }
}

@media (max-width: 350px) {
  .reviews-screen .reviews-hero {
    min-height: 230px;
    padding: 14px;
  }

  .reviews-screen .reviews-hero h1 {
    font-size: 24px;
  }

  .reviews-screen .reviews-hero .muted {
    font-size: 11.5px;
  }

  .reviews-screen .reviews-actions .ghost-button {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 11px;
  }

  .reviews-screen .review-card {
    padding: 13px;
  }

  .reviews-screen .review-user {
    gap: 8px;
  }

  .reviews-screen .review-detail {
    padding: 9px 10px;
  }
}

/* v80: compact, product-like support screen */
.support-screen {
  padding-bottom: calc(56px + var(--safe-bottom));
}

.support-screen .support-hero {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 18px;
  border-color: transparent;
  border-radius: 22px;
  color: #f7faff;
  background: linear-gradient(145deg, #0e3a72 0%, #0b3265 54%, #092b57 100%);
  box-shadow:
    0 12px 28px rgba(4, 29, 65, 0.17),
    inset 0 1px 0 rgba(190, 222, 255, 0.065);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.support-screen .support-hero > :not(.support-hero-art) {
  position: relative;
  z-index: 1;
}

.support-screen .support-hero .online-badge {
  margin-bottom: 7px;
  font-size: 11px;
}

.support-screen .support-hero .online-badge::before {
  width: 7px;
  height: 7px;
  box-shadow: none;
}

.support-screen .support-hero h1 {
  max-width: 80%;
  margin: 0;
  font-size: clamp(29px, 8vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.support-screen .support-hero .hero-text {
  max-width: 78%;
  margin: 8px 0 13px;
  color: #adc4df;
  font-size: 13px;
  line-height: 1.45;
}

.support-screen .support-hero .primary-button {
  min-height: 44px;
  border-radius: 13px;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.support-hero-art {
  position: absolute;
  z-index: 0;
  top: 26px;
  right: -22px;
  width: 178px;
  height: 154px;
  color: #b9ddff;
  opacity: 0.095;
  pointer-events: none;
}

.support-hero-art::before,
.support-hero-art::after {
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.support-hero-art::before {
  width: 176px;
  height: 176px;
  top: -35px;
  right: -52px;
  opacity: 0.42;
}

.support-hero-art::after {
  width: 126px;
  height: 126px;
  top: -10px;
  right: -27px;
  opacity: 0.32;
}

.support-hero-art .ui-icon {
  position: absolute;
  stroke-width: 1.7;
}

.support-art-headset {
  width: 142px;
  height: 142px;
  top: 0;
  right: 5px;
}

.support-art-message {
  width: 47px;
  height: 47px;
  right: 104px;
  bottom: 0;
}

.support-screen > .section {
  margin-top: 16px;
}

.support-screen .legal-card {
  padding: 15px 16px 16px;
  border-color: transparent;
  border-radius: 18px;
  background: linear-gradient(145deg, #0c3568 0%, #0a2f5e 58%, #092953 100%);
  box-shadow:
    0 10px 24px rgba(4, 27, 59, 0.15),
    inset 0 1px 0 rgba(187, 220, 255, 0.055);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.support-screen .support-order-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: #f7faff;
  font-size: 17px;
  line-height: 1.25;
}

.support-screen .support-order-title .ui-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #75baff;
  stroke-width: 1.9;
}

.support-screen .legal-card p {
  margin: 0 0 12px;
  color: #a9bfdc;
  font-size: 12.5px;
  line-height: 1.48;
}

.support-screen .legal-card .ghost-button[data-route="home"] {
  min-height: 42px;
  border-color: rgba(169, 210, 249, 0.1);
  border-radius: 13px;
  color: #f7faff;
  background: rgba(37, 114, 198, 0.2);
  box-shadow: inset 0 1px 0 rgba(207, 233, 255, 0.07);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.support-screen .section-heading {
  margin-bottom: 8px;
}

.support-screen .section-heading h2 {
  font-size: 21px;
}

.support-screen .faq-list {
  gap: 8px;
}

.support-screen .faq-item,
.support-screen .faq-item[open] {
  overflow: hidden;
  border-color: transparent;
  border-radius: 16px;
  background: #0b315f;
  box-shadow:
    0 8px 19px rgba(4, 27, 59, 0.13),
    inset 0 1px 0 rgba(190, 222, 255, 0.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.support-screen .faq-item[open] {
  background: #0c3769;
}

.support-screen .faq-item summary {
  min-height: 50px;
  padding: 0 14px;
  font-size: 13.5px;
  line-height: 1.3;
}

.support-screen .faq-chevron {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  color: #91b9e8;
  background: transparent;
  box-shadow: none;
  transition: transform 200ms ease;
}

.support-screen .faq-chevron .ui-icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.9;
}

.support-screen .faq-item p {
  margin: 0 14px 14px;
  padding: 11px 0 0;
  border-top: 1px solid rgba(171, 207, 241, 0.095);
  color: #a9bfdc;
  font-size: 12.5px;
  line-height: 1.5;
}

@media (hover: hover) {
  .support-screen .support-hero .primary-button:hover,
  .support-screen .legal-card .ghost-button[data-route="home"]:hover {
    transform: translateY(-1px);
  }

  .support-screen .legal-card .ghost-button[data-route="home"]:hover {
    border-color: rgba(169, 210, 249, 0.12);
    background: rgba(43, 128, 220, 0.25);
    box-shadow: inset 0 1px 0 rgba(212, 237, 255, 0.085);
  }

  .support-screen .faq-item:hover {
    border-color: transparent;
    background: #0d396d;
    box-shadow:
      0 10px 22px rgba(4, 27, 59, 0.15),
      inset 0 1px 0 rgba(190, 222, 255, 0.055);
    transform: translateY(-1px);
  }
}

.support-screen .support-hero .primary-button:active,
.support-screen .legal-card .ghost-button[data-route="home"]:active,
.support-screen .faq-item:active {
  transform: scale(0.98);
  transition-duration: 110ms;
}

@media (min-width: 620px) {
  .support-screen .support-hero {
    min-height: 0;
    padding: 20px;
  }

  .support-screen .support-hero h1 {
    max-width: 520px;
  }

  .support-screen .support-hero .hero-text {
    max-width: 510px;
  }
}

@media (max-width: 359px) {
  .support-screen .support-hero {
    min-height: 230px;
    padding: 16px;
  }

  .support-screen .support-hero h1 {
    max-width: 82%;
    font-size: 27px;
  }

  .support-screen .support-hero .hero-text {
    max-width: 87%;
    font-size: 12px;
  }

  .support-hero-art {
    top: 35px;
    right: -48px;
    width: 138px;
    height: 128px;
    opacity: 0.075;
  }

  .support-art-headset {
    width: 118px;
    height: 118px;
  }

  .support-art-message {
    width: 38px;
    height: 38px;
    right: 82px;
  }

  .support-screen .legal-card {
    padding: 14px;
  }

  .support-screen .legal-card p {
    font-size: 12px;
  }

  .support-screen .faq-item summary {
    padding: 0 12px;
    font-size: 13px;
  }

  .support-screen .faq-item p {
    margin-right: 12px;
    margin-left: 12px;
  }
}

/* v81: deep-blue primary profile card */
.profile-screen .profile-card {
  border-color: transparent;
  color: #f7faff;
  background:
    linear-gradient(128deg, rgba(153, 205, 250, 0.12), transparent 42%),
    linear-gradient(145deg, #15508f 0%, #113f79 56%, #0d356a 100%);
  box-shadow:
    0 14px 30px rgba(4, 28, 63, 0.22),
    inset 0 1px 0 rgba(203, 228, 255, 0.075);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .profile-card::before {
  border-color: #b9dcff;
  background: transparent;
  box-shadow: none;
  opacity: 0.08;
}

.profile-screen .profile-card::after {
  border-width: 2px;
  border-color: #c6e3ff;
  background: transparent;
  box-shadow: none;
  opacity: 0.1;
}

.profile-screen .profile-main .avatar {
  border-color: rgba(203, 230, 255, 0.16);
  background: linear-gradient(145deg, #3c8fe8, #286fce);
  box-shadow: 0 8px 18px rgba(5, 43, 100, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .profile-copy h2 {
  color: #ffffff;
}

.profile-screen .profile-copy p {
  color: #b2c5dc;
}

.profile-screen .profile-id {
  border: 0;
  color: #a9d6ff;
  background: rgba(77, 158, 239, 0.14);
  box-shadow: none;
}

/* v82: compact premium profile screen */
.profile-screen {
  padding-bottom: calc(56px + var(--safe-bottom));
}

.profile-screen .screen-header {
  margin: 14px 5px 16px;
  padding: 0;
}

.profile-screen .screen-header .eyebrow {
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-color: rgba(148, 204, 255, 0.13);
  border-radius: 8px;
  color: #86c8ff;
  background: rgba(35, 118, 211, 0.14);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .screen-header .eyebrow::before {
  content: none;
}

.profile-screen .screen-header .eyebrow .ui-icon {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.profile-screen .screen-header h1 {
  margin-bottom: 6px;
  font-size: clamp(38px, 10vw, 42px);
  font-weight: 780;
  line-height: 1;
}

.profile-screen .screen-header > p:last-child {
  color: #91a8c3;
  font-size: 15px;
  line-height: 1.4;
}

.profile-screen .profile-card {
  min-height: 136px;
  padding: 20px;
  border: 1px solid rgba(171, 211, 248, 0.065);
  border-radius: 22px;
  color: #f7faff;
  background: linear-gradient(
    115deg,
    rgba(35, 113, 218, 0.88) 0%,
    rgba(17, 70, 145, 0.96) 48%,
    rgba(9, 43, 92, 0.99) 100%
  );
  box-shadow:
    0 13px 28px rgba(3, 27, 63, 0.2),
    inset 0 1px 0 rgba(202, 229, 255, 0.085);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .profile-card::before {
  top: 18px;
  right: -34px;
  width: 148px;
  height: 94px;
  border: 1.5px solid currentColor;
  border-radius: 18px;
  color: #c6e3ff;
  background:
    radial-gradient(
      circle at 25% 50%,
      transparent 0 17px,
      currentColor 18px 19px,
      transparent 20px
    ),
    linear-gradient(currentColor, currentColor) 68% 32% / 38% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 68% 49% / 38% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 62% 66% / 26% 2px no-repeat;
  box-shadow: none;
  opacity: 0.08;
  transform: rotate(-4deg);
}

.profile-screen .profile-card::after {
  content: none;
}

.profile-screen .profile-main {
  gap: 16px;
}

.profile-screen .profile-main .avatar {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border: 1px solid rgba(184, 220, 255, 0.22);
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(145deg, #3f94ee, #286fcf);
  box-shadow: 0 8px 18px rgba(4, 42, 99, 0.2);
  font-size: 31px;
  font-weight: 750;
}

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

.profile-screen .profile-copy h2 {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: clamp(23px, 6.2vw, 26px);
  font-weight: 730;
  line-height: 1.12;
}

.profile-screen .profile-copy p {
  color: #afc4dc;
  font-size: 14px;
}

.profile-screen .profile-id {
  margin-top: 8px;
  padding: 4px 7px;
  border: 0;
  border-radius: 8px;
  color: #a9d7ff;
  background: rgba(4, 37, 82, 0.34);
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 680;
}

.profile-screen .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.profile-screen .stats-grid .stat-card:last-child {
  grid-column: auto;
}

.profile-screen .stat-card,
.profile-screen .stat-card-total {
  min-width: 0;
  min-height: 108px;
  padding: 12px;
  border: 1px solid rgba(157, 202, 244, 0.07);
  border-radius: 18px;
  color: #f7faff;
  background: linear-gradient(145deg, #0b2f60 0%, #092851 100%);
  box-shadow:
    0 8px 18px rgba(3, 24, 54, 0.14),
    inset 0 1px 0 rgba(190, 221, 251, 0.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .stat-card:nth-child(1) {
  box-shadow:
    0 8px 18px rgba(3, 24, 54, 0.14),
    inset 0 1px 0 rgba(190, 221, 251, 0.045),
    inset 0 0 24px rgba(102, 184, 255, 0.018);
}

.profile-screen .stat-card:nth-child(2) {
  box-shadow:
    0 8px 18px rgba(3, 24, 54, 0.14),
    inset 0 1px 0 rgba(190, 221, 251, 0.045),
    inset 0 0 24px rgba(63, 140, 255, 0.018);
}

.profile-screen .stat-card:nth-child(3) {
  box-shadow:
    0 8px 18px rgba(3, 24, 54, 0.14),
    inset 0 1px 0 rgba(190, 221, 251, 0.045),
    inset 0 0 24px rgba(231, 175, 91, 0.02);
}

.profile-screen .stat-icon {
  width: 31px;
  height: 31px;
  margin-bottom: 7px;
  border: 0;
  border-radius: 10px;
  color: #7bc7ff;
  background: rgba(76, 157, 236, 0.12);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .stat-card:nth-child(2) .stat-icon {
  color: #5fa7ff;
  background: rgba(63, 140, 255, 0.12);
}

.profile-screen .stat-card:nth-child(3) .stat-icon {
  color: #e7af5b;
  background: rgba(231, 175, 91, 0.105);
}

.profile-screen .stat-icon .ui-icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.profile-screen .stat-card .stat-label {
  min-height: 27px;
  margin-bottom: 0;
  color: #8fa5c0;
  font-size: 11px;
  font-weight: 520;
  line-height: 1.22;
}

.profile-screen .stat-card strong {
  margin-top: 4px;
  color: #ffffff;
  font-size: clamp(18px, 4.8vw, 22px);
  font-weight: 740;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.profile-screen .profile-menu {
  gap: 8px;
  margin-top: 10px;
}

.profile-screen .profile-menu .select-card {
  min-height: 66px;
  padding: 9px 13px;
  border: 1px solid rgba(155, 201, 243, 0.065);
  border-radius: 17px;
  color: #f7faff;
  background: linear-gradient(100deg, #0b2d59 0%, #09264c 100%);
  box-shadow:
    0 7px 17px rgba(3, 23, 52, 0.12),
    inset 0 1px 0 rgba(190, 220, 248, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    transform 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
}

.profile-screen .profile-menu .select-icon {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  color: #74bdff;
  background: rgba(66, 145, 228, 0.115);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-screen .profile-menu .select-card:nth-child(2) .select-icon {
  border: 0;
  color: #e7af5b;
  background: rgba(231, 175, 91, 0.105);
}

.profile-screen .profile-menu .select-card:nth-child(3) .select-icon {
  color: #70bcff;
  background: rgba(70, 153, 237, 0.11);
}

.profile-screen .profile-menu .select-card:nth-child(4) .select-icon {
  color: #9bcfff;
  background: rgba(93, 167, 239, 0.1);
}

.profile-screen .profile-menu .select-icon .ui-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.profile-screen .profile-menu .select-copy strong {
  margin-bottom: 3px;
  color: #f7faff;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.2;
}

.profile-screen .profile-menu .select-copy small {
  overflow: hidden;
  color: #8fa5c0;
  font-size: 12.5px;
  font-weight: 450;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-screen .profile-menu .select-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: rgba(170, 205, 240, 0.72);
  background: transparent;
  transition: transform 200ms ease, color 200ms ease;
}

.profile-screen .profile-menu .select-chevron .ui-icon {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

@media (hover: hover) {
  .profile-screen .profile-menu .select-card:hover {
    border-color: rgba(155, 201, 243, 0.08);
    background: linear-gradient(100deg, #0d3363 0%, #0a2a53 100%);
    box-shadow:
      0 9px 19px rgba(3, 23, 52, 0.14),
      inset 0 1px 0 rgba(197, 225, 251, 0.05);
    transform: translateY(-1px);
  }

  .profile-screen .profile-menu .select-card:hover .select-chevron {
    color: rgba(190, 220, 250, 0.86);
    transform: translateX(2px);
  }
}

.profile-screen .profile-menu .select-card:active {
  transform: scale(0.98);
  transition-duration: 110ms;
}

@media (max-width: 360px) {
  .profile-screen .screen-header {
    margin-top: 14px;
  }

  .profile-screen .screen-header h1 {
    font-size: 35px;
  }

  .profile-screen .screen-header > p:last-child {
    font-size: 14px;
  }

  .profile-screen .profile-card {
    min-height: 132px;
    padding: 20px 18px;
  }

  .profile-screen .profile-card::before {
    right: -68px;
    width: 136px;
    height: 88px;
    opacity: 0.07;
  }

  .profile-screen .profile-main {
    gap: 14px;
  }

  .profile-screen .profile-main .avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    border-radius: 23px;
    font-size: 29px;
  }

  .profile-screen .profile-copy h2 {
    font-size: 22px;
  }

  .profile-screen .profile-copy p {
    font-size: 13px;
  }

  .profile-screen .stat-card,
  .profile-screen .stat-card-total {
    padding: 10px;
  }

  .profile-screen .stat-card .stat-label {
    font-size: 10px;
  }

  .profile-screen .stat-card strong {
    font-size: 17px;
  }

  .profile-screen .profile-menu .select-card {
    padding-right: 11px;
    padding-left: 11px;
  }

  .profile-screen .profile-menu .select-copy strong {
    font-size: 14px;
  }

  .profile-screen .profile-menu .select-copy small {
    font-size: 11.5px;
  }
}

/* v84: top bar uses the same refractive glass material as bottom navigation */
.topbar {
  top: 8px;
  width: min(calc(100% - 16px), 744px);
  min-height: 60px;
  margin: calc(8px + env(safe-area-inset-top, 0px)) auto 0;
  padding: 8px 12px;
  border: 1px solid rgba(157, 211, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.29),
    0 0 0 1px rgba(101, 176, 235, 0.045),
    inset 0 1px 0 rgba(221, 244, 255, 0.18),
    inset 0 -1px 0 rgba(104, 174, 230, 0.055);
  -webkit-backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
  backdrop-filter: blur(8px) saturate(120%) contrast(1.02);
}

.topbar .header-orders,
.topbar .icon-button {
  border-color: rgba(157, 211, 255, 0.16);
  background: rgba(7, 19, 38, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(221, 244, 255, 0.12),
    inset 0 -1px 0 rgba(104, 174, 230, 0.035);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .topbar {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(2px)
      saturate(118%)
      contrast(1.025);
  }
}

@media (hover: hover) {
  .topbar .header-orders:hover,
  .topbar .icon-button:hover {
    border-color: rgba(177, 224, 255, 0.26);
    background: rgba(31, 101, 164, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(230, 248, 255, 0.18),
      inset 0 -1px 0 rgba(104, 174, 230, 0.05);
  }
}

/* v85: seamless matte glass bars with clearer navigation content */
.topbar {
  top: env(safe-area-inset-top, 0px);
  margin-top: env(safe-area-inset-top, 0px);
}

.topbar,
.bottom-nav {
  border-color: rgba(164, 213, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(116, 185, 244, 0.11), rgba(19, 72, 121, 0.055)),
    rgba(7, 25, 50, 0.58);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.3),
    0 0 0 1px rgba(101, 176, 235, 0.045),
    inset 0 1px 0 rgba(224, 245, 255, 0.2),
    inset 0 -1px 0 rgba(104, 174, 230, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
  backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .topbar,
  .bottom-nav {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(125%)
      contrast(1.035);
  }
}

.bottom-nav .nav-item:not(.nav-order) {
  color: rgba(215, 231, 248, 0.8);
  text-shadow: 0 1px 3px rgba(2, 10, 22, 0.58);
}

.bottom-nav .nav-item:not(.nav-order) .nav-icon {
  color: rgba(211, 231, 250, 0.86);
  filter: drop-shadow(0 1px 2px rgba(2, 10, 22, 0.5));
}

.bottom-nav .nav-item.is-active,
.bottom-nav .nav-order.is-active {
  color: #66c8ff;
}

.bottom-nav .nav-item.is-active .nav-icon {
  color: #78d0ff;
}

.bottom-nav .nav-order {
  color: rgba(224, 237, 250, 0.88);
  text-shadow: 0 1px 3px rgba(2, 10, 22, 0.58);
}

.topbar .brand-copy strong {
  color: #f8fbff;
  text-shadow: 0 1px 4px rgba(2, 10, 22, 0.52);
}

.topbar .header-orders,
.topbar .icon-button {
  border-color: rgba(177, 220, 255, 0.2);
  color: #eef7ff;
  background:
    linear-gradient(180deg, rgba(143, 203, 251, 0.1), rgba(20, 73, 121, 0.04)),
    rgba(7, 25, 50, 0.34);
  text-shadow: 0 1px 3px rgba(2, 10, 22, 0.5);
}

.topbar .header-orders-icon .ui-icon,
.topbar .support-button .ui-icon,
.topbar .back-button .ui-icon {
  color: #e3f2ff;
  filter: drop-shadow(0 1px 2px rgba(2, 10, 22, 0.5));
}

/* v86: compact floating blue liquid-glass header only */
.topbar {
  top: calc(8px + env(safe-area-inset-top, 0px));
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  width: calc(100% - 24px);
  max-width: 736px;
  min-height: 58px;
  overflow: hidden;
  gap: 6px;
  margin: calc(8px + env(safe-area-inset-top, 0px)) auto 0;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(160, 211, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(32, 112, 190, 0.52) 0%,
      rgba(14, 68, 135, 0.68) 55%,
      rgba(8, 48, 103, 0.74) 100%
    );
  box-shadow:
    0 8px 24px rgba(3, 30, 67, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
}

.topbar::before,
.topbar::after {
  display: none;
  content: none;
}

.topbar .back-button.is-hidden {
  display: none !important;
}

.topbar:has(.back-button:not(.is-hidden)) {
  grid-template-columns: 40px minmax(0, 1fr) auto 40px;
}

.topbar .brand-button {
  min-width: 0;
  justify-self: start;
  gap: 10px;
  overflow: hidden;
}

.topbar .brand-mark {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(176, 220, 255, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(112, 187, 245, 0.24), rgba(26, 99, 173, 0.16)),
    rgba(19, 82, 151, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 4px 10px rgba(3, 27, 62, 0.1);
}

.topbar .brand-copy {
  min-width: 0;
}

.topbar .brand-copy strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.15;
  text-overflow: ellipsis;
  text-shadow: none;
  white-space: nowrap;
}

.topbar .header-orders,
.topbar .icon-button {
  height: 40px;
  min-height: 40px;
  border: 1px solid rgba(174, 218, 255, 0.14);
  border-radius: 12px;
  color: #edf7ff;
  background: rgba(34, 104, 171, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  text-shadow: none;
}

.topbar .header-orders {
  flex: 0 0 auto;
  gap: 6px;
  padding: 0 12px;
  white-space: nowrap;
}

.topbar .icon-button {
  width: 40px;
  padding: 0;
}

.topbar .header-orders-icon .ui-icon,
.topbar .support-button .ui-icon,
.topbar .back-button .ui-icon {
  color: #e1f1ff;
  filter: none;
}

@media (hover: hover) {
  .topbar .header-orders:hover,
  .topbar .icon-button:hover {
    border-color: rgba(188, 226, 255, 0.22);
    color: #ffffff;
    background: rgba(48, 123, 192, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }
}

.topbar .header-orders:active,
.topbar .icon-button:active {
  transform: scale(0.97);
}

@media (max-width: 350px) {
  .topbar {
    gap: 5px;
    padding-right: 8px;
    padding-left: 9px;
  }

  .topbar .brand-button {
    gap: 8px;
  }

  .topbar .header-orders {
    width: 40px;
    padding: 0;
    justify-content: center;
  }

  .topbar .header-orders > span:last-child {
    display: none;
  }
}

/* v90: compact purchase form without hidden layout gaps */
:root {
  --header-height: 58px;
  --header-content-gap: 16px;
}

html:has(.order-buy-step),
body:has(.order-buy-step) {
  scroll-padding-top:
    calc(var(--header-height) + env(safe-area-inset-top, 0px) + var(--header-content-gap));
}

.app-content:has(.order-buy-step) {
  padding-top: var(--header-content-gap);
}

.order-buy-step {
  min-height: 0;
  height: auto;
  align-content: start;
  grid-auto-rows: max-content;
  padding-bottom:
    calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

.order-buy-step .order-form-section {
  height: auto;
  min-height: 0;
  align-content: start;
  grid-auto-rows: max-content;
  gap: 20px;
  padding: 20px;
  border: 0;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(119, 185, 244, 0.04), transparent 34%),
    #0a315f;
  box-shadow:
    0 12px 27px rgba(3, 23, 52, 0.15),
    inset 0 1px 0 rgba(183, 220, 252, 0.045);
}

.order-buy-step #bankAccountGroup.is-hidden {
  display: none;
}

.order-buy-step .form-field,
.order-buy-step .order-summary,
.order-buy-step .inline-note,
.order-buy-step .order-submit-button {
  scroll-margin-top:
    calc(var(--header-height) + env(safe-area-inset-top, 0px) + var(--header-content-gap));
}

.order-buy-step .segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  background: #08294f;
  box-shadow: inset 0 1px 0 rgba(174, 216, 252, 0.035);
}

.order-buy-step .segment-button {
  width: 100%;
  min-width: 0;
  height: 49px;
  min-height: 49px;
  padding: 0 10px;
  border: 0;
  border-radius: 11px;
  color: #aac1d9;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.order-buy-step .segment-button.is-active {
  color: #ffffff;
  background: #104a87;
  box-shadow: inset 0 1px 0 rgba(194, 228, 255, 0.1);
}

.order-buy-step .segment-check {
  flex: 0 0 auto;
  margin-left: auto;
}

.order-buy-step .inline-note {
  min-height: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 0;
  border-radius: 13px;
  color: #a4bad2;
  background: #0d3a6b;
  box-shadow: inset 0 1px 0 rgba(181, 219, 252, 0.04);
  font-size: 12px;
  line-height: 1.45;
}

.order-buy-step .inline-note-icon {
  flex: 0 0 auto;
  color: #77bdff;
}

.order-buy-step .inline-note strong {
  color: #f7faff;
  font-weight: 720;
}

.order-buy-step .order-submit-button {
  width: 100%;
  min-height: 56px;
  margin-top: -4px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: #2f96e8;
  box-shadow:
    0 8px 18px rgba(7, 66, 126, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.order-buy-step .segment-button:active,
.order-buy-step .order-submit-button:active {
  transform: scale(0.985);
}

body:has(.order-buy-step) .topbar {
  z-index: 40;
  background:
    linear-gradient(
      135deg,
      rgba(31, 106, 180, 0.9) 0%,
      rgba(13, 65, 131, 0.94) 55%,
      rgba(8, 47, 100, 0.96) 100%
    );
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
}

@media (hover: hover) and (pointer: fine) {
  .order-buy-step .segment-button:hover {
    color: #eaf6ff;
    background: #0d3c70;
  }

  .order-buy-step .segment-button.is-active:hover {
    color: #ffffff;
    background: #125291;
  }

  .order-buy-step .order-submit-button:hover {
    background: #39a3f2;
    box-shadow:
      0 9px 19px rgba(7, 66, 126, 0.19),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
  }
}

@media (max-width: 420px) {
  .order-buy-step .order-form-section {
    padding: 18px;
  }
}

@media (max-width: 350px) {
  .order-buy-step .order-form-section {
    padding: 18px 14px;
  }

  .order-buy-step .segment-button {
    padding: 0 7px;
    font-size: 12px;
  }
}

/* v91: compact trust rhythm, protected game art and calmer order navigation */
.screen > .section:has(.trust-grid) {
  margin-top: 26px;
}

.screen > .section:has(.trust-grid) .section-heading {
  margin-bottom: 15px;
}

.screen > .section:has(.trust-grid) + .section {
  margin-top: 22px;
}

.trust-grid {
  gap: 9px;
}

.trust-item {
  width: 100%;
  height: 70px;
  min-height: 70px;
  gap: 11px;
  padding: 12px 13px;
  border: 0;
  border-radius: 16px;
  color: #c8d8e8;
  background: #0a315f;
  box-shadow:
    0 7px 17px rgba(3, 20, 46, 0.14),
    inset 0 1px 0 rgba(190, 222, 250, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.trust-icon {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  color: #55d78c;
  background: rgba(48, 178, 105, 0.1);
  box-shadow: inset 0 1px 0 rgba(180, 244, 207, 0.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
}

.trust-icon .ui-icon {
  width: 18px;
  height: 18px;
  filter: none;
}

.trust-item span:last-child {
  color: #c3d3e3;
  font-size: 13px;
  font-weight: 660;
}

@media (hover: hover) and (pointer: fine) {
  .trust-item:hover {
    border: 0;
    background: #0b3768;
    box-shadow:
      0 8px 18px rgba(3, 20, 46, 0.15),
      inset 0 1px 0 rgba(196, 227, 253, 0.05);
    transform: translateY(-1px);
  }

  .trust-item:hover .trust-icon {
    color: #61dc95;
    background: rgba(48, 178, 105, 0.12);
    transform: none;
  }
}

.project-card:not(.project-card-add)::after,
.project-card[data-project="standoff-2"]::after {
  right: 32px;
}

.project-card:not(.project-card-add) .project-card-chevron {
  top: 50%;
  right: 12px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 0;
  color: rgba(175, 210, 245, 0.72);
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.project-card:not(.project-card-add) .project-card-chevron .ui-icon {
  width: 20px;
  height: 20px;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:not(.project-card-add):hover .project-card-chevron {
    color: rgba(190, 220, 249, 0.82);
    transform: translate(2px, -50%);
  }
}

.nav-order .nav-icon,
.nav-order.is-active .nav-icon {
  color: #ffffff;
  background: linear-gradient(145deg, #53c8ff, #137bff);
  box-shadow:
    0 8px 21px rgba(19, 123, 255, 0.3),
    0 0 0 4px rgba(63, 159, 255, 0.07);
  animation: order-blue-glow 2.8s ease-in-out infinite;
  filter: none;
}

@keyframes order-blue-glow {
  0%,
  100% {
    box-shadow:
      0 8px 20px rgba(19, 123, 255, 0.27),
      0 0 0 4px rgba(63, 159, 255, 0.055);
  }

  50% {
    box-shadow:
      0 10px 24px rgba(46, 168, 255, 0.34),
      0 0 0 6px rgba(63, 159, 255, 0.075);
  }
}

/* v92 cascade guard: keep raffle materials above legacy screen themes */
.raffle-screen .raffle-hero {
  border: 0;
  background:
    linear-gradient(180deg, rgba(106, 177, 243, 0.055), transparent 40%),
    linear-gradient(145deg, #0d3b73 0%, #0a3265 56%, #082b59 100%);
  box-shadow:
    0 14px 30px rgba(3, 24, 57, 0.17),
    inset 0 1px 0 rgba(186, 220, 250, 0.055);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.raffle-screen .ticket-card {
  border: 0;
  background: rgba(7, 39, 82, 0.58);
  box-shadow: inset 0 1px 0 rgba(177, 215, 249, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.raffle-screen .step-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.raffle-screen .step-number {
  border: 0;
  background: rgba(224, 153, 35, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 225, 171, 0.04);
}

@media (hover: hover) and (pointer: fine) {
  .raffle-screen .step-card:hover {
    border: 0;
    background: rgba(44, 111, 178, 0.08);
    box-shadow: none;
  }
}

/* v93: stable rating card composition */
.screen:has(.rating-panel) {
  padding-bottom:
    calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 24px);
}

.screen:has(.rating-panel) > .section:last-child {
  margin-bottom: 0;
}

.rating-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  justify-content: initial;
  gap: 14px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 19px;
  border: 0;
  border-radius: 19px;
  background: #0a3567;
  box-shadow:
    0 12px 26px rgba(3, 20, 47, 0.17),
    inset 0 1px 0 rgba(188, 220, 249, 0.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.rating-copy {
  min-width: 0;
}

.rating-panel .rating-value {
  display: block;
  margin: 0;
  color: #ffffff;
  font-size: clamp(28px, 5.2vw, 31px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.rating-panel .muted {
  margin: 8px 0 0;
  color: #a7bbd2;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.2;
  white-space: nowrap;
}

.rating-stars {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.rating-panel .rating-stars .review-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f2aa3b;
  white-space: nowrap;
}

.rating-panel .rating-stars .review-stars .ui-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  filter: none;
}

.rating-panel .ghost-button {
  width: auto;
  min-width: 152px;
  height: 50px;
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: #35aaf4;
  box-shadow:
    0 8px 18px rgba(14, 105, 190, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-family: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 190ms ease,
    background 190ms ease,
    box-shadow 190ms ease;
}

.rating-panel .ghost-button:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .rating-panel .ghost-button:hover {
    border: 0;
    background: #42b2f7;
    box-shadow:
      0 9px 20px rgba(14, 105, 190, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
  }
}

@media (max-width: 560px) {
  .rating-panel {
    grid-template-columns: 1fr auto;
    gap: 16px 10px;
    padding: 18px;
  }

  .rating-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .rating-stars {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
  }

  .rating-panel .ghost-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
}

@media (max-width: 360px) {
  .rating-panel {
    padding: 18px 16px;
  }

  .rating-panel .rating-value {
    font-size: 28px;
  }

  .rating-panel .rating-stars .review-stars {
    gap: 3px;
  }

  .rating-panel .rating-stars .review-stars .ui-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}

/* v95: compact orders page polish */
.app-content:has(.orders-screen) {
  padding-top: 14px;
}

.orders-screen {
  display: block;
  min-height: 0;
  padding-bottom: 0;
}

.orders-screen .orders-hero {
  min-height: 0;
  margin: 0;
  padding: 18px 19px;
  border: 0;
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(122, 190, 248, 0.05), transparent 48%),
    #0c3970;
  box-shadow:
    0 12px 27px rgba(3, 22, 52, 0.16),
    inset 0 1px 0 rgba(192, 224, 251, 0.05);
}

.orders-screen .orders-hero .eyebrow {
  margin: 0 0 9px;
}

.orders-screen .orders-hero h1 {
  margin: 0 0 9px;
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.04;
}

.orders-screen .orders-hero > p:last-child {
  max-width: 360px;
  margin: 0;
  color: #aac0d9;
  font-size: 14px;
  line-height: 1.38;
}

.orders-screen .order-list {
  display: grid;
  gap: 13px;
  margin-top: 23px;
}

.orders-screen .order-card {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 17px;
  border: 0;
  border-radius: 19px;
  color: #f7faff;
  background: #0a3567;
  box-shadow:
    0 10px 23px rgba(3, 20, 47, 0.15),
    inset 0 1px 0 rgba(192, 224, 251, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
}

.orders-screen .order-top {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.orders-screen .order-id {
  min-width: 0;
  color: #a9bfd8;
  font-size: 13px;
  font-weight: 560;
  line-height: 1.2;
  white-space: nowrap;
}

.orders-screen .status-badge {
  min-height: 29px;
  flex: 0 0 auto;
  align-items: center;
  padding: 6px 9px;
  border: 0;
  border-radius: 9px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.orders-screen .status-badge.waiting {
  color: #f4b65a;
  background: rgba(190, 111, 30, 0.15);
}

.orders-screen .status-badge.processing {
  color: #8fc8ff;
  background: rgba(45, 126, 207, 0.16);
}

.orders-screen .status-badge.paid,
.orders-screen .status-badge.completed,
.orders-screen .status-badge.confirmed {
  color: #69dfa0;
  background: rgba(39, 163, 96, 0.14);
}

.orders-screen .status-badge.cancelled {
  color: #ff8992;
  background: rgba(196, 64, 75, 0.14);
}

.orders-screen .order-game-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin: 16px 0 17px;
}

.orders-screen .order-game-logo {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.orders-screen .order-game-copy {
  min-width: 0;
}

.orders-screen .order-title {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 740;
  line-height: 1.16;
  text-transform: none;
  overflow-wrap: anywhere;
}

.orders-screen .order-server {
  margin: 0;
  color: #abc0d7;
  font-size: 13px;
  line-height: 1.3;
}

.orders-screen .order-bottom {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(180, 215, 246, 0.08);
  color: #a9bfd8;
  font-size: 13px;
  line-height: 1.25;
}

.orders-screen .order-bottom > span {
  min-width: 0;
}

.orders-screen .order-bottom strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.orders-screen .orders-empty-state {
  margin-top: 23px;
  padding: 24px 18px;
  border: 0;
  border-radius: 19px;
  background: #0a3567;
  box-shadow:
    0 10px 23px rgba(3, 20, 47, 0.15),
    inset 0 1px 0 rgba(192, 224, 251, 0.04);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.orders-screen .orders-empty-state .empty-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border: 1px solid rgba(144, 199, 247, 0.14);
  border-radius: 12px;
  background: rgba(40, 119, 199, 0.12);
}

.orders-screen .orders-empty-state .primary-button {
  min-height: 48px;
}

.orders-bottom-spacer {
  height:
    calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px) + 16px);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .orders-screen .order-card:hover {
    border: 0;
    background: #0b3b72;
    box-shadow:
      0 12px 25px rgba(3, 20, 47, 0.17),
      inset 0 1px 0 rgba(192, 224, 251, 0.05);
    transform: translateY(-1px);
  }
}

@media (max-width: 360px) {
  .orders-screen .orders-hero {
    padding: 17px 16px;
  }

  .orders-screen .order-card {
    padding: 16px;
  }

  .orders-screen .order-top {
    gap: 8px;
  }

  .orders-screen .order-id {
    font-size: 12px;
  }

  .orders-screen .status-badge {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}

/* v96: top safe-area and home hero hierarchy polish */
:root {
  --app-background:
    radial-gradient(circle at 8% -6%, rgba(85, 205, 255, 0.42), transparent 35%),
    radial-gradient(circle at 96% 12%, rgba(48, 135, 255, 0.34), transparent 38%),
    radial-gradient(circle at 50% 108%, rgba(104, 188, 255, 0.15), transparent 34%),
    linear-gradient(180deg, #194a76 0%, #173858 42%, #11243d 100%);
}

html,
body,
.app-shell,
#app {
  background: var(--app-background);
  background-attachment: fixed;
}

html {
  min-height: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  padding-top: max(env(safe-area-inset-top, 0px), 6px);
}

.topbar {
  top: max(env(safe-area-inset-top, 0px), 6px);
  margin-top: 0;
}

.app-content:has(.hero) {
  padding-top: 9px;
}

.screen:has(.hero) .hero {
  padding-top: 9px;
  padding-bottom: 13px;
}

.screen:has(.hero) .hero .hero-text {
  color: #9fb3ce;
}

.screen:has(.hero) .hero-actions .primary-button,
.screen:has(.hero) .hero-actions .secondary-button {
  display: inline-flex;
  height: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 13px;
  line-height: 1;
  white-space: nowrap;
}

.screen:has(.hero) .hero-actions .primary-button {
  border: 1px solid rgba(154, 218, 255, 0.36);
  color: #ffffff;
  background: linear-gradient(135deg, #258af7 0%, #35b6ff 100%);
  box-shadow:
    0 8px 18px rgba(27, 139, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.screen:has(.hero) .hero-actions .secondary-button {
  border: 1px solid rgba(239, 195, 100, 0.32);
  color: #241700;
  background: linear-gradient(135deg, #e4ad38 0%, #cf9228 100%);
  box-shadow:
    0 8px 17px rgba(181, 118, 19, 0.15),
    inset 0 1px 0 rgba(255, 245, 210, 0.11);
}

@media (hover: hover) and (pointer: fine) {
  .screen:has(.hero) .hero-actions .primary-button:hover {
    border-color: rgba(180, 228, 255, 0.46);
    background: linear-gradient(135deg, #3195fb 0%, #42bcff 100%);
    box-shadow:
      0 9px 20px rgba(27, 139, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .screen:has(.hero) .hero-actions .secondary-button:hover {
    border-color: rgba(245, 208, 128, 0.4);
    background: linear-gradient(135deg, #eab744 0%, #d89b30 100%);
    box-shadow:
      0 9px 19px rgba(181, 118, 19, 0.17),
      inset 0 1px 0 rgba(255, 245, 210, 0.13);
  }
}

@media (max-width: 360px) {
  .screen:has(.hero) .hero-actions .primary-button,
  .screen:has(.hero) .hero-actions .secondary-button {
    min-width: 0;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .screen:has(.hero) .hero {
    padding-top: 7px;
  }
}

/* v102: top bar matches the bottom navigation glass and pill geometry */
.topbar {
  border-color: rgba(164, 213, 255, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(116, 185, 244, 0.11), rgba(19, 72, 121, 0.055)),
    rgba(7, 25, 50, 0.58);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.3),
    0 0 0 1px rgba(101, 176, 235, 0.045),
    inset 0 1px 0 rgba(224, 245, 255, 0.2),
    inset 0 -1px 0 rgba(104, 174, 230, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
  backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .topbar {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(125%)
      contrast(1.035);
  }
}

/* v103: compensate the top glass for its darker backdrop */
.topbar {
  background:
    linear-gradient(180deg, rgba(145, 207, 255, 0.18), rgba(38, 112, 174, 0.08)),
    rgba(7, 25, 50, 0.38);
}

/* v104: independent Telegram-style glass pills in the top header */
.topbar.app-header {
  display: flex;
  width: calc(100% - 28px);
  max-width: 732px;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  gap: 10px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.topbar.app-header::before,
.topbar.app-header::after {
  display: none;
  content: none;
}

.topbar .header-brand-pill,
.topbar .header-pill,
.topbar .back-button {
  min-height: 50px;
  border: 1px solid rgba(175, 221, 255, 0.14);
  border-radius: 20px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(52, 134, 211, 0.58),
      rgba(12, 72, 139, 0.68)
    );
  box-shadow:
    0 8px 20px rgba(0, 21, 52, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease,
    border-color 180ms ease;
}

.topbar .header-brand-pill {
  display: flex;
  min-width: 0;
  height: 50px;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0 18px;
  overflow: hidden;
}

.topbar .header-brand-pill .brand-copy {
  display: block;
  min-width: 0;
  line-height: 1;
}

.topbar .header-brand-pill .brand-copy strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  text-overflow: clip;
  text-shadow: none;
  white-space: nowrap;
}

.topbar .header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.topbar .orders-pill {
  display: flex;
  width: auto;
  height: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}

.topbar .support-pill,
.topbar .back-button {
  display: grid;
  width: 50px;
  height: 50px;
  min-height: 50px;
  flex: 0 0 50px;
  padding: 0;
  place-items: center;
}

.topbar .header-orders-icon {
  display: grid;
  place-items: center;
}

.topbar .header-orders-icon .ui-icon,
.topbar .support-pill .ui-icon,
.topbar .back-button .ui-icon {
  width: 21px;
  height: 21px;
  color: #edf8ff;
  filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .topbar .header-brand-pill:hover,
  .topbar .header-pill:hover,
  .topbar .back-button:hover {
    border-color: rgba(190, 229, 255, 0.2);
    background:
      linear-gradient(
        180deg,
        rgba(62, 147, 224, 0.62),
        rgba(17, 82, 152, 0.7)
      );
    box-shadow:
      0 9px 21px rgba(0, 21, 52, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
  }
}

.topbar .header-brand-pill:active,
.topbar .header-pill:active,
.topbar .back-button:active {
  transform: scale(0.98);
}

@media (max-width: 350px) {
  .topbar.app-header {
    width: calc(100% - 16px);
    gap: 6px;
  }

  .topbar .header-brand-pill {
    padding-right: 12px;
    padding-left: 12px;
  }

  .topbar .header-actions {
    gap: 6px;
  }

  .topbar .orders-pill {
    padding-right: 10px;
    padding-left: 10px;
  }

  .topbar:has(.back-button.is-hidden) .orders-pill > span:last-child {
    display: inline;
  }
}

/* v105: smaller header pills with the bottom navigation glass material */
.topbar.app-header {
  min-height: 44px;
  gap: 8px;
}

.topbar .header-brand-pill,
.topbar .header-pill,
.topbar .back-button {
  min-height: 44px;
  border-color: rgba(164, 213, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(116, 185, 244, 0.11), rgba(19, 72, 121, 0.055)),
    rgba(7, 25, 50, 0.58);
  box-shadow:
    0 12px 28px rgba(3, 12, 28, 0.24),
    0 0 0 1px rgba(101, 176, 235, 0.045),
    inset 0 1px 0 rgba(224, 245, 255, 0.2),
    inset 0 -1px 0 rgba(104, 174, 230, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
  backdrop-filter: blur(18px) saturate(125%) contrast(1.035);
}

.topbar .header-brand-pill {
  height: 44px;
  padding-right: 14px;
  padding-left: 14px;
}

.topbar .header-brand-pill .brand-copy strong {
  font-size: 14.5px;
}

.topbar .header-actions {
  gap: 7px;
}

.topbar .orders-pill {
  height: 44px;
  min-height: 44px;
  gap: 6px;
  padding-right: 12px;
  padding-left: 12px;
  font-size: 13px;
}

.topbar .support-pill,
.topbar .back-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex-basis: 44px;
}

.topbar .header-orders-icon .ui-icon,
.topbar .support-pill .ui-icon,
.topbar .back-button .ui-icon {
  width: 20px;
  height: 20px;
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .topbar .header-brand-pill,
  .topbar .header-pill,
  .topbar .back-button {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(125%)
      contrast(1.035);
  }
}

@media (hover: hover) and (pointer: fine) {
  .topbar .header-brand-pill:hover,
  .topbar .header-pill:hover,
  .topbar .back-button:hover {
    border-color: rgba(181, 224, 255, 0.34);
    background:
      linear-gradient(180deg, rgba(136, 201, 250, 0.16), rgba(35, 101, 155, 0.075)),
      rgba(7, 25, 50, 0.54);
    box-shadow:
      0 13px 29px rgba(3, 12, 28, 0.26),
      0 0 0 1px rgba(101, 176, 235, 0.055),
      inset 0 1px 0 rgba(230, 248, 255, 0.23),
      inset 0 -1px 0 rgba(104, 174, 230, 0.08);
  }
}

@media (max-width: 350px) {
  .topbar .header-brand-pill {
    padding-right: 10px;
    padding-left: 10px;
  }

  .topbar .orders-pill {
    padding-right: 8px;
    padding-left: 8px;
  }
}

/* v106: fully rounded header pills matching the bottom glass */
.topbar .header-brand-pill,
.topbar .header-pill,
.topbar .back-button {
  border-radius: 999px;
}

/* v107: profile avatar replaces duplicated support in the top header */
.topbar .header-profile-button {
  display: grid;
  width: 50px;
  height: 50px;
  min-height: 50px;
  flex: 0 0 50px;
  overflow: hidden;
  padding: 4px;
  border-radius: 50%;
  place-items: center;
}

.topbar .header-profile-visual,
.topbar .header-profile-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.topbar .header-profile-visual {
  overflow: hidden;
  border: 1px solid rgba(210, 236, 255, 0.24);
}

.topbar .header-profile-avatar {
  border: 0;
  object-fit: cover;
}

.topbar .header-profile-fallback {
  display: grid;
  color: #ffffff;
  background: linear-gradient(145deg, #2f8fea, #1762bd);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.topbar .header-profile-icon {
  width: 22px;
  height: 22px;
  color: #f2f9ff;
}

.topbar .header-profile-button:active {
  transform: scale(0.96);
}

.topbar .header-profile-button:focus-visible {
  outline: 2px solid rgba(174, 224, 255, 0.72);
  outline-offset: 2px;
}

@media (max-width: 350px) {
  .topbar .header-profile-button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    flex-basis: 44px;
    padding: 3px;
  }

  .topbar .header-profile-visual,
  .topbar .header-profile-avatar {
    width: 36px;
    height: 36px;
  }
}

/* v108: apply the v55 refractive liquid glass to both navigation levels */
.bottom-nav,
.topbar .header-brand-pill,
.topbar .header-pill,
.topbar .back-button {
  border-color: rgba(190, 226, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(80, 151, 223, 0.035)),
    rgba(7, 18, 37, 0.46);
  box-shadow:
    0 18px 42px rgba(3, 12, 28, 0.31),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
  backdrop-filter: blur(18px) saturate(155%) contrast(1.03);
}

@supports (backdrop-filter: url("#bottom-nav-refraction")) {
  .bottom-nav,
  .topbar .header-brand-pill,
  .topbar .header-pill,
  .topbar .back-button {
    backdrop-filter:
      url("#bottom-nav-refraction")
      blur(8px)
      saturate(160%)
      contrast(1.04);
  }
}

@media (hover: hover) and (pointer: fine) {
  .topbar .header-brand-pill:hover,
  .topbar .header-pill:hover,
  .topbar .back-button:hover {
    border-color: rgba(207, 235, 255, 0.28);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.115), rgba(94, 168, 235, 0.05)),
      rgba(9, 27, 51, 0.42);
    box-shadow:
      0 19px 43px rgba(3, 12, 28, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.23),
      inset 0 -1px 0 rgba(255, 255, 255, 0.055);
  }
}

/* v109: compact the main hero headline without changing its copy or layout */
.screen > .hero > h1 {
  font-size: clamp(23px, 5.4vw, 30px);
}

@media (max-width: 420px) {
  .screen > .hero > h1 {
    font-size: clamp(21px, 5.8vw, 24px);
  }
}

/* v110: lighter native-glass bottom dock, based on v109 */
.bottom-nav {
  min-height: calc(66px + var(--safe-bottom));
  padding: 5px 5px calc(5px + var(--safe-bottom));
  border: 1px solid rgba(178, 220, 250, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(
      180deg,
      rgba(119, 185, 235, 0.075),
      rgba(26, 80, 130, 0.035)
    ),
    rgba(5, 22, 43, 0.52);
  box-shadow:
    0 12px 30px rgba(2, 15, 34, 0.22),
    inset 0 1px 0 rgba(225, 245, 255, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(132%);
  backdrop-filter: blur(20px) saturate(132%);
}

.bottom-nav .nav-item {
  width: min(72px, calc(100% + 6px));
  height: 54px;
  min-height: 54px;
  justify-self: center;
  gap: 2px;
  padding: 4px 3px;
  border: 1px solid transparent;
  border-radius: 27px;
  color: rgba(198, 216, 233, 0.78);
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none;
  transition:
    color 190ms ease,
    background-color 190ms ease,
    border-color 190ms ease,
    box-shadow 190ms ease,
    transform 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-nav .nav-item > span:last-child {
  color: currentColor;
  font-size: 9px;
  font-weight: 620;
  line-height: 1.1;
  text-shadow: none;
}

.bottom-nav .nav-item .nav-icon,
.bottom-nav .nav-item:not(.nav-order) .nav-icon,
.bottom-nav .nav-item.is-active .nav-icon,
.bottom-nav .nav-order .nav-icon,
.bottom-nav .nav-order.is-active .nav-icon {
  width: 27px;
  height: 27px;
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  color: currentColor;
  background: transparent !important;
  box-shadow: none !important;
  filter: none;
  animation: none !important;
}

.bottom-nav .nav-item .nav-icon .ui-icon,
.bottom-nav .nav-order .nav-icon .ui-icon {
  width: 21px;
  height: 21px;
  filter: none;
}

.bottom-nav .nav-item:not(.is-active),
.bottom-nav .nav-item:not(.is-active) .nav-icon {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-nav .nav-item.is-active {
  color: #f5fbff;
  border-color: rgba(187, 225, 251, 0.16);
  background:
    linear-gradient(
      180deg,
      rgba(88, 178, 237, 0.3),
      rgba(34, 105, 173, 0.27)
    ),
    rgba(10, 45, 82, 0.34) !important;
  box-shadow:
    0 8px 18px rgba(2, 33, 70, 0.18),
    inset 0 1px 0 rgba(236, 249, 255, 0.14) !important;
}

.bottom-nav .nav-order,
.bottom-nav .nav-order:not(.is-active) {
  width: min(76px, calc(100% + 14px));
  height: 56px;
  min-height: 56px;
  margin-top: 0;
  color: rgba(198, 216, 233, 0.78);
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-nav .nav-order.is-active {
  width: min(78px, calc(100% + 16px));
  height: 58px;
  min-height: 58px;
  margin-top: -7px;
  border-radius: 29px;
  color: #ffffff;
  border-color: rgba(194, 230, 253, 0.18) !important;
  background:
    linear-gradient(
      180deg,
      rgba(76, 180, 244, 0.52),
      rgba(29, 112, 193, 0.46)
    ),
    rgba(8, 43, 82, 0.38) !important;
  box-shadow:
    0 9px 20px rgba(2, 44, 91, 0.2),
    inset 0 1px 0 rgba(241, 251, 255, 0.18) !important;
}

.bottom-nav .nav-order.is-active .nav-icon {
  color: #ffffff;
}

.bottom-nav .nav-item:focus-visible {
  outline: 2px solid rgba(126, 201, 249, 0.7);
  outline-offset: 2px;
}

.bottom-nav .nav-item:active {
  transform: scale(0.98);
}

.bottom-nav .nav-order.is-active:active {
  transform: scale(0.98) translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
  .bottom-nav .nav-item:not(.is-active):hover {
    color: rgba(232, 243, 252, 0.92);
    background: transparent !important;
    transform: translateY(-1px);
  }

  .bottom-nav .nav-item:not(.is-active):hover .nav-icon {
    color: inherit;
    background: transparent !important;
  }

  .bottom-nav .nav-item.is-active:hover {
    border-color: rgba(200, 233, 254, 0.2);
    transform: translateY(-1px);
  }

  .bottom-nav .nav-order.is-active:hover {
    transform: translateY(-1px);
  }
}

/* v112: reference-inspired blue page background; navigation materials stay intact */
:root {
  --app-background:
    radial-gradient(
      circle at 48% -9%,
      rgba(126, 226, 255, 0.68),
      transparent 34%
    ),
    radial-gradient(
      circle at 100% 23%,
      rgba(77, 173, 255, 0.24),
      transparent 31%
    ),
    linear-gradient(
      180deg,
      #48bef3 0%,
      #199cf1 20%,
      #147fe9 56%,
      #235fd8 100%
    );
}

html {
  background-color: #235fd8;
}

html,
body,
.app-shell,
#app {
  background: var(--app-background);
  background-attachment: fixed;
}

.ambient {
  opacity: 0.07;
  filter: blur(120px);
}

.ambient-one {
  background: #a3ecff;
}

.ambient-two {
  background: #4b79ff;
}

/* v113: four trust facts become one non-interactive 2x2 information panel */
.trust-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(169, 211, 246, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(151, 207, 250, 0.035),
      transparent 48%
    ),
    #0b3567;
  box-shadow:
    0 10px 24px rgba(3, 24, 55, 0.15),
    inset 0 1px 0 rgba(196, 226, 252, 0.045);
}

.trust-grid .trust-item {
  min-height: 70px;
  padding: 13px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  cursor: default;
  transform: none;
  transition: none;
}

.trust-grid .trust-item:nth-child(odd) {
  border-right: 1px solid rgba(169, 211, 246, 0.11);
}

.trust-grid .trust-item:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(169, 211, 246, 0.11);
}

.trust-grid .trust-item .trust-icon {
  flex: 0 0 32px;
  transform: none;
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .trust-grid .trust-item:hover {
    border-color: rgba(169, 211, 246, 0.11);
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .trust-grid .trust-item:hover .trust-icon {
    color: #55d78c;
    background: rgba(48, 178, 105, 0.1);
    transform: none;
  }
}

/* v114: Platinov Deep Blue Orb Glass for the home information surfaces */
:root {
  --platinov-orb-glass:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.025) 46%,
      rgba(74, 157, 255, 0.09)
    ),
    rgba(8, 22, 46, 0.6);
  --platinov-orb-glass-border: rgba(255, 255, 255, 0.17);
  --platinov-orb-glass-shadow:
    0 20px 48px rgba(3, 12, 28, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.project-card:not(.project-card-add),
.trust-grid,
.rating-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--platinov-orb-glass-border);
  background: var(--platinov-orb-glass);
  box-shadow: var(--platinov-orb-glass-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

.project-card:not(.project-card-add)::before,
.trust-grid::before,
.rating-panel::before {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(196, 228, 255, 0.12);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(181, 226, 255, 0.18),
    transparent 68%
  );
  content: "";
  opacity: 0.5;
  pointer-events: none;
}

.project-card:not(.project-card-add)::before {
  top: -54px;
  right: -44px;
  bottom: auto;
  left: auto;
  width: 124px;
  height: 124px;
}

.trust-grid::before {
  top: -86px;
  right: -68px;
  width: 180px;
  height: 180px;
}

.rating-panel::before {
  top: -82px;
  right: -62px;
  width: 180px;
  height: 180px;
}

.project-card:not(.project-card-add) > *,
.trust-grid > *,
.rating-panel > * {
  position: relative;
  z-index: 1;
}

.project-card:not(.project-card-add)::after {
  z-index: 0;
}

.trust-grid .trust-item {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:not(.project-card-add):hover {
    border-color: rgba(205, 232, 255, 0.23);
    background:
      linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.035) 46%,
        rgba(83, 170, 255, 0.11)
      ),
      rgba(10, 31, 61, 0.62);
    box-shadow:
      0 22px 50px rgba(3, 12, 28, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  }
}

.project-card:not(.project-card-add).is-selected {
  border-color: rgba(205, 232, 255, 0.28);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.04) 46%,
      rgba(85, 174, 255, 0.12)
    ),
    rgba(10, 34, 68, 0.64);
  box-shadow:
    0 22px 50px rgba(3, 12, 28, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.21),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

/* v115: clearer game artwork without an extra orb on project cards */
.project-card:not(.project-card-add)::before {
  display: none;
  content: none;
}

.project-card:not(.project-card-add)::after,
.project-card[data-project="standoff-2"]::after {
  opacity: 0.17;
  filter: saturate(0.92) contrast(1.05);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:not(.project-card-add):hover::after {
    opacity: 0.21;
    filter: saturate(0.98) contrast(1.07);
  }
}

.project-card:not(.project-card-add).is-selected::after {
  opacity: 0.21;
  filter: saturate(0.98) contrast(1.07);
}

/* v115: a trust-themed shield watermark replaces the generic orb */
.trust-grid::before {
  display: none;
  content: none;
}

.trust-grid > .trust-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -18px;
  width: 150px;
  height: 150px;
  color: #b7dcff;
  opacity: 0.07;
  transform: translateY(-50%) rotate(5deg);
  pointer-events: none;
}

.trust-watermark .ui-icon {
  width: 100%;
  height: 100%;
  stroke-width: 1.6;
}

.trust-grid > .trust-item:nth-of-type(n) {
  border-right: 0;
  border-bottom: 0;
}

.trust-grid > .trust-item:nth-of-type(odd) {
  border-right: 1px solid rgba(169, 211, 246, 0.11);
}

.trust-grid > .trust-item:nth-of-type(-n + 2) {
  border-bottom: 1px solid rgba(169, 211, 246, 0.11);
}

/* v118: replace the rating orb with a restrained review watermark */
.rating-panel::before {
  display: none;
  content: none;
}

.rating-panel > .rating-watermark {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -14px;
  width: 120px;
  height: 120px;
  color: #b8dcf8;
  opacity: 0.065;
  transform: translateY(-54%) rotate(-6deg);
  pointer-events: none;
}

.rating-watermark > .ui-icon:first-child {
  width: 120px;
  height: 120px;
  stroke-width: 1.45;
}

.rating-watermark > .rating-watermark-star {
  position: absolute;
  top: 34px;
  left: 44px;
  width: 29px;
  height: 29px;
  stroke-width: 1.55;
}

/* v121: Platinov Deep Blue Orb Glass across the profile screen */
.profile-screen .screen-header,
.profile-screen .profile-card,
.profile-screen .stat-card,
.profile-screen .profile-menu .select-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--platinov-orb-glass-border);
  background: var(--platinov-orb-glass);
  box-shadow: var(--platinov-orb-glass-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

.profile-screen .screen-header {
  padding: 18px 20px;
  border-radius: 22px;
}

.profile-screen .screen-header::before,
.profile-screen .profile-card::after {
  display: none;
  content: none;
}

.profile-screen .screen-header::after,
.profile-screen .profile-card::before {
  position: absolute;
  z-index: 0;
  bottom: auto;
  left: auto;
  border: 1px solid rgba(196, 228, 255, 0.12);
  border-radius: 50%;
  color: transparent;
  background: radial-gradient(
    circle,
    rgba(181, 226, 255, 0.18),
    transparent 68%
  );
  box-shadow: none;
  content: "";
  opacity: 0.5;
  transform: none;
  pointer-events: none;
}

.profile-screen .screen-header::after {
  top: -72px;
  right: -54px;
  width: 170px;
  height: 170px;
}

.profile-screen .profile-card::before {
  top: -55px;
  right: -48px;
  width: 150px;
  height: 150px;
}

.profile-screen .screen-header > *,
.profile-screen .profile-card > * {
  position: relative;
  z-index: 1;
}

.profile-screen .screen-header > p:last-child,
.profile-screen .profile-copy p,
.profile-screen .stat-card .stat-label,
.profile-screen .profile-menu .select-copy small {
  color: #afc4dc;
}

.profile-screen .stat-card:nth-child(n) {
  box-shadow: var(--platinov-orb-glass-shadow);
}

.profile-screen .stat-card::before,
.profile-screen .stat-card::after,
.profile-screen .profile-menu .select-card::before,
.profile-screen .profile-menu .select-card::after {
  display: none;
  content: none;
}

@media (hover: hover) and (pointer: fine) {
  .profile-screen .profile-menu .select-card:hover {
    border-color: rgba(205, 232, 255, 0.23);
    background:
      linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.14),
        rgba(255, 255, 255, 0.035) 46%,
        rgba(83, 170, 255, 0.11)
      ),
      rgba(10, 31, 61, 0.62);
    box-shadow:
      0 22px 50px rgba(3, 12, 28, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  }
}


/* v111: clearer glass material and a softer integrated active lens */
.bottom-nav {
  isolation: isolate;
  border-color: rgba(190, 226, 250, 0.1);
  background:
    linear-gradient(
      180deg,
      rgba(185, 224, 250, 0.07) 0%,
      rgba(72, 142, 199, 0.025) 52%,
      rgba(8, 37, 67, 0.035) 100%
    ),
    rgba(4, 20, 39, 0.31);
  box-shadow:
    0 12px 28px rgba(2, 14, 31, 0.19),
    inset 0 1px 0 rgba(235, 249, 255, 0.1),
    inset 0 -1px 0 rgba(127, 188, 230, 0.035);
  -webkit-backdrop-filter: blur(24px) saturate(142%) contrast(1.015);
  backdrop-filter: blur(24px) saturate(142%) contrast(1.015);
}

.bottom-nav::before {
  position: absolute;
  z-index: 0;
  top: 1px;
  right: 24px;
  left: 24px;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(236, 249, 255, 0.14) 22%,
      rgba(236, 249, 255, 0.07) 78%,
      transparent
    );
  content: "";
  pointer-events: none;
}

.bottom-nav .nav-item {
  position: relative;
  z-index: 1;
}

.bottom-nav .nav-item.is-active {
  color: #f6fbff;
  border-color: rgba(201, 233, 253, 0.13);
  background:
    linear-gradient(
      180deg,
      rgba(230, 247, 255, 0.105) 0%,
      rgba(97, 188, 244, 0.07) 44%,
      rgba(25, 92, 153, 0.055) 100%
    ),
    rgba(31, 127, 197, 0.14) !important;
  box-shadow:
    0 6px 16px rgba(1, 30, 63, 0.13),
    inset 0 1px 0 rgba(244, 252, 255, 0.17),
    inset 0 -1px 0 rgba(111, 190, 242, 0.055) !important;
  -webkit-backdrop-filter: blur(13px) saturate(152%);
  backdrop-filter: blur(13px) saturate(152%);
}

.bottom-nav .nav-item.is-active::before {
  position: absolute;
  top: 1px;
  right: 14px;
  left: 14px;
  height: 1px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(244, 252, 255, 0.2),
      transparent
    );
  content: "";
  pointer-events: none;
}

.bottom-nav .nav-order.is-active {
  width: min(84px, calc(100% + 20px));
  height: 54px;
  min-height: 54px;
  margin-top: -6px;
  border-radius: 27px;
  border-color: rgba(207, 236, 255, 0.15) !important;
  background:
    linear-gradient(
      180deg,
      rgba(224, 246, 255, 0.13) 0%,
      rgba(75, 175, 239, 0.09) 46%,
      rgba(21, 87, 151, 0.07) 100%
    ),
    rgba(39, 143, 213, 0.16) !important;
  box-shadow:
    0 7px 17px rgba(1, 36, 76, 0.14),
    inset 0 1px 0 rgba(246, 253, 255, 0.2),
    inset 0 -1px 0 rgba(99, 186, 242, 0.06) !important;
}

.bottom-nav .nav-order.is-active .nav-icon {
  color: #f8fcff;
}

@media (hover: hover) and (pointer: fine) {
  .bottom-nav .nav-item.is-active:hover {
    border-color: rgba(213, 240, 255, 0.17);
    background:
      linear-gradient(
        180deg,
        rgba(232, 249, 255, 0.13),
        rgba(69, 171, 235, 0.08)
      ),
      rgba(36, 137, 207, 0.16) !important;
  }

  .bottom-nav .nav-order.is-active:hover {
    transform: translateY(-1px);
  }
}

/* v122: Platinov Deep Blue Orb Glass across the raffle screen */
.raffle-screen .raffle-hero,
.raffle-screen .ticket-card,
.raffle-screen .raffle-steps-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--platinov-orb-glass-border);
  background: var(--platinov-orb-glass);
  box-shadow: var(--platinov-orb-glass-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

.raffle-screen .raffle-hero {
  background:
    radial-gradient(
      circle at 96% 5%,
      rgba(181, 226, 255, 0.18),
      transparent 31%
    ),
    var(--platinov-orb-glass);
}

.raffle-screen .raffle-hero::before {
  position: absolute;
  z-index: 0;
  top: -82px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(196, 228, 255, 0.12);
  border-radius: 50%;
  content: "";
  opacity: 0.52;
  pointer-events: none;
}

.raffle-screen .raffle-hero-content,
.raffle-screen .raffle-watermark {
  position: relative;
  z-index: 1;
}

.raffle-screen .raffle-watermark {
  position: absolute;
  opacity: 0.075;
}

.raffle-screen .ticket-card {
  border-color: rgba(205, 232, 255, 0.13);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.018) 50%,
      rgba(74, 157, 255, 0.07)
    ),
    rgba(8, 28, 57, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}

.raffle-screen .raffle-steps-panel {
  background:
    radial-gradient(
      circle at 94% 100%,
      rgba(150, 211, 255, 0.13),
      transparent 34%
    ),
    var(--platinov-orb-glass);
}

.raffle-screen .step-card {
  position: relative;
  z-index: 1;
}

.raffle-screen .step-card + .step-card::before {
  border-color: rgba(197, 226, 250, 0.11);
}

.raffle-screen .raffle-hero .hero-text,
.raffle-screen .ticket-card .ticket-balance span,
.raffle-screen .step-card p {
  color: #afc4dc;
}

@media (hover: hover) and (pointer: fine) {
  .raffle-screen .step-card:hover {
    background: rgba(107, 178, 239, 0.07);
  }
}

/* v124: Platinov Deep Blue Orb Glass throughout the order flow */
.order-flow .order-step-header,
.order-flow .selected-game-card,
.order-flow .order-action-card,
.order-flow .server-search .search-input,
.order-flow .server-row,
.order-flow .order-form-section,
.order-flow .empty-state {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--platinov-orb-glass-border);
  background: var(--platinov-orb-glass);
  box-shadow: var(--platinov-orb-glass-shadow);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  backdrop-filter: blur(30px) saturate(165%);
}

.order-flow .order-step-header {
  background:
    radial-gradient(
      circle at 97% 3%,
      rgba(181, 226, 255, 0.18),
      transparent 34%
    ),
    var(--platinov-orb-glass);
}

.order-flow .selected-game-card {
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.024) 48%,
      rgba(74, 157, 255, 0.085)
    ),
    rgba(8, 25, 51, 0.58);
}

.order-flow .selected-game-card::after {
  z-index: 0;
}

.order-flow .selected-game-card > * {
  position: relative;
  z-index: 1;
}

.order-flow .order-action-card {
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.095),
      rgba(255, 255, 255, 0.022) 48%,
      rgba(74, 157, 255, 0.075)
    ),
    rgba(8, 25, 51, 0.57);
}

.order-flow .order-action-card.is-featured,
.order-flow .order-action-card.is-selected {
  border-color: rgba(182, 222, 255, 0.24);
  background:
    linear-gradient(
      125deg,
      rgba(203, 235, 255, 0.16),
      rgba(89, 176, 255, 0.06) 50%,
      rgba(60, 144, 242, 0.12)
    ),
    rgba(10, 40, 76, 0.66);
  box-shadow:
    0 22px 50px rgba(3, 12, 28, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 3px 0 0 #62b9ff;
}

.order-flow .order-action-sell.is-featured,
.order-flow .order-action-sell.is-selected {
  border-color: rgba(235, 201, 130, 0.2);
  background:
    linear-gradient(
      125deg,
      rgba(255, 236, 196, 0.13),
      rgba(102, 176, 242, 0.045) 50%,
      rgba(215, 164, 61, 0.075)
    ),
    rgba(10, 39, 73, 0.66);
  box-shadow:
    0 22px 50px rgba(3, 12, 28, 0.25),
    inset 0 1px 0 rgba(255, 244, 216, 0.18),
    inset 3px 0 0 #d9a43d;
}

.order-flow .server-search .search-input,
.order-flow .server-row {
  border-color: rgba(202, 232, 255, 0.14);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.012) 52%,
      rgba(74, 157, 255, 0.055)
    ),
    rgba(8, 27, 55, 0.56);
  box-shadow:
    0 12px 28px rgba(3, 12, 28, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.order-flow .server-row.is-selected {
  border-color: rgba(163, 214, 255, 0.25);
  background:
    linear-gradient(
      125deg,
      rgba(202, 235, 255, 0.14),
      rgba(69, 159, 244, 0.055) 52%,
      rgba(74, 157, 255, 0.105)
    ),
    rgba(10, 44, 83, 0.66);
  box-shadow:
    0 14px 31px rgba(3, 12, 28, 0.19),
    inset 3px 0 0 #67baff,
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.order-flow .order-form-section {
  background:
    radial-gradient(
      circle at 102% -2%,
      rgba(181, 226, 255, 0.15),
      transparent 26%
    ),
    var(--platinov-orb-glass);
}

.order-flow .form-field .field-control,
.order-flow .segmented,
.order-flow .order-summary,
.order-flow .inline-note {
  border: 1px solid rgba(202, 232, 255, 0.12);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.01) 54%,
      rgba(74, 157, 255, 0.045)
    ),
    rgba(7, 27, 54, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(255, 255, 255, 0.018);
}

.order-flow .form-field .field-control:focus {
  border-color: rgba(133, 203, 255, 0.42);
  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.018) 54%,
      rgba(74, 157, 255, 0.075)
    ),
    rgba(8, 35, 69, 0.6);
  box-shadow:
    0 0 0 3px rgba(72, 169, 248, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.order-flow .amount-preset {
  border: 1px solid rgba(202, 232, 255, 0.11);
  background: rgba(18, 65, 112, 0.43);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.order-flow .amount-preset.is-active,
.order-flow .segment-button.is-active {
  border-color: rgba(170, 220, 255, 0.25);
  background:
    linear-gradient(
      180deg,
      rgba(156, 215, 255, 0.14),
      rgba(45, 139, 220, 0.08)
    ),
    rgba(22, 93, 158, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    0 6px 16px rgba(3, 30, 65, 0.13);
}

.order-flow .inline-note {
  color: #afc4dc;
}

/* The header contains independent pills; the order screen must not repaint its wrapper. */
body:has(.order-flow) .topbar.app-header,
body:has(.order-buy-step) .topbar.app-header {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .order-flow .order-action-card:hover,
  .order-flow .server-row:hover {
    border-color: rgba(205, 233, 255, 0.22);
    background:
      linear-gradient(
        125deg,
        rgba(255, 255, 255, 0.13),
        rgba(255, 255, 255, 0.03) 48%,
        rgba(83, 170, 255, 0.1)
      ),
      rgba(10, 38, 73, 0.65);
  }

  .order-flow .order-action-card.is-featured:hover,
  .order-flow .order-action-card.is-selected:hover {
    background:
      linear-gradient(
        125deg,
        rgba(216, 241, 255, 0.18),
        rgba(100, 185, 255, 0.07) 50%,
        rgba(70, 154, 246, 0.13)
      ),
      rgba(11, 47, 88, 0.68);
  }

  .order-flow .order-action-sell.is-featured:hover,
  .order-flow .order-action-sell.is-selected:hover {
    background:
      linear-gradient(
        125deg,
        rgba(255, 239, 205, 0.15),
        rgba(109, 184, 248, 0.05) 50%,
        rgba(220, 171, 70, 0.085)
      ),
      rgba(11, 45, 83, 0.68);
  }
}

/* v125: temporary mobile performance test — disable every glass blur */
html *,
html *::before,
html *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* v126: mobile performance mode and progressive review rendering */
html,
body,
.app-shell,
#app {
  background-attachment: scroll !important;
}

.ambient {
  display: none !important;
}

.reviews-screen .review-card {
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: auto 310px;
}

.reviews-pagination {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 14px;
  padding-bottom: 4px;
}

.reviews-pagination > span {
  color: #a9bfd8;
  font-size: 12px;
}

.reviews-more-button {
  display: inline-flex;
  width: min(100%, 260px);
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(190, 226, 255, 0.17);
  border-radius: 14px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(132, 201, 255, 0.13),
      rgba(39, 121, 192, 0.06)
    ),
    rgba(8, 40, 77, 0.72);
  font-size: 14px;
  font-weight: 720;
}

.reviews-more-button small {
  color: #b9d8f2;
  font-size: 11px;
  font-weight: 650;
}

.reviews-more-button:active {
  transform: scale(0.98);
}

@media (max-width: 900px), (pointer: coarse) {
  html *,
  html *::before,
  html *::after {
    animation: none !important;
    box-shadow: none !important;
    filter: none !important;
    text-shadow: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .project-card::before,
  .trust-grid::before,
  .rating-panel::before,
  .profile-screen .screen-header::after,
  .profile-screen .profile-card::before,
  .raffle-screen .raffle-hero::before {
    display: none !important;
    content: none !important;
  }

  .bottom-nav,
  .topbar .header-brand-pill,
  .topbar .header-pill,
  .topbar .back-button {
    background-color: rgba(7, 25, 50, 0.82);
  }

  .reviews-screen .review-card {
    background: #0b315f;
  }
}

/* v127: restore a light native blur without SVG refraction */
html :is(
  .bottom-nav,
  .topbar .header-brand-pill,
  .topbar .header-pill,
  .topbar .back-button,
  .hero,
  .project-card,
  .trust-grid,
  .rating-panel,
  .reviews-hero,
  .review-card,
  .raffle-hero,
  .raffle-steps-panel,
  .profile-screen .screen-header,
  .profile-card,
  .stat-card,
  .profile-menu .select-card,
  .support-hero,
  .legal-card,
  .faq-item,
  .order-step-header,
  .selected-game-card,
  .order-action-card,
  .order-form-section
) {
  -webkit-backdrop-filter: blur(8px) saturate(115%) !important;
  backdrop-filter: blur(8px) saturate(115%) !important;
}

/* v128: restore the brighter blue-teal header-pill color */
html .topbar .header-brand-pill,
html .topbar .header-pill,
html .topbar .back-button {
  border-color: rgba(191, 231, 255, 0.24);
  background:
    linear-gradient(
      180deg,
      rgba(48, 126, 163, 0.88),
      rgba(28, 87, 123, 0.87)
    ) !important;
}

/* v129: nearly clear navigation glass with a lighter 4px blur */
html .bottom-nav,
html .topbar .header-brand-pill,
html .topbar .header-pill,
html .topbar .back-button {
  border-color: rgba(221, 242, 255, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.012)
    ),
    rgba(7, 30, 55, 0.14) !important;
  -webkit-backdrop-filter: blur(4px) saturate(108%) !important;
  backdrop-filter: blur(4px) saturate(108%) !important;
}

/* v130: compact phone-scale navigation glass */
:root {
  --bottom-nav-height: 68px;
}

.topbar.app-header {
  min-height: 44px;
  gap: 6px;
}

.topbar .header-brand-pill {
  height: 44px;
  min-height: 44px;
  padding-right: 11px;
  padding-left: 11px;
}

.topbar .header-brand-pill .brand-copy strong {
  font-size: 13.5px;
}

.topbar .header-actions {
  gap: 6px;
}

.topbar .orders-pill {
  height: 44px;
  min-height: 44px;
  gap: 5px;
  padding-right: 9px;
  padding-left: 9px;
  font-size: 12px;
}

.topbar .header-profile-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex-basis: 44px;
  padding: 3px;
}

.topbar .header-profile-visual,
.topbar .header-profile-avatar {
  width: 36px;
  height: 36px;
}

.topbar .back-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  flex-basis: 44px;
}

.topbar .header-orders-icon .ui-icon,
.topbar .back-button .ui-icon {
  width: 18px;
  height: 18px;
}

.bottom-nav {
  width: min(calc(100% - 24px), 722px);
  min-height: calc(56px + var(--safe-bottom));
  margin-bottom: 7px;
  padding: 4px 4px calc(4px + var(--safe-bottom));
  border-radius: 28px;
}

.bottom-nav .nav-item,
.bottom-nav .nav-order,
.bottom-nav .nav-order:not(.is-active) {
  width: min(62px, calc(100% + 2px));
  height: 46px;
  min-height: 46px;
  gap: 1px;
  padding: 3px 2px;
  border-radius: 23px;
}

.bottom-nav .nav-item > span:last-child {
  font-size: 8px;
}

.bottom-nav .nav-item .nav-icon,
.bottom-nav .nav-item:not(.nav-order) .nav-icon,
.bottom-nav .nav-item.is-active .nav-icon,
.bottom-nav .nav-order .nav-icon,
.bottom-nav .nav-order.is-active .nav-icon {
  width: 23px;
  height: 23px;
}

.bottom-nav .nav-item .nav-icon .ui-icon,
.bottom-nav .nav-order .nav-icon .ui-icon {
  width: 19px;
  height: 19px;
}

.bottom-nav .nav-order.is-active {
  width: min(70px, calc(100% + 10px));
  height: 47px;
  min-height: 47px;
  margin-top: -5px;
  border-radius: 24px;
}

.bottom-nav::before {
  right: 20px;
  left: 20px;
}

@media (max-width: 350px) {
  .topbar .header-brand-pill {
    padding-right: 9px;
    padding-left: 9px;
  }

  .topbar .orders-pill {
    padding-right: 7px;
    padding-left: 7px;
  }

  .bottom-nav {
    width: calc(100% - 16px);
  }
}

/* v131: one continuous page background behind the floating header */
html,
body {
  background: var(--app-background);
}

.app-shell,
#app {
  background: transparent !important;
}

.topbar.app-header,
body:has(.order-flow) .topbar.app-header,
body:has(.order-buy-step) .topbar.app-header {
  border: 0;
  background: transparent !important;
  box-shadow: none;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.topbar.app-header::before,
.topbar.app-header::after {
  display: none !important;
  content: none !important;
}

/* Lightweight interaction feedback: transforms only, no animated blur or shadow. */
.topbar .header-brand-pill,
.topbar .header-pill,
.topbar .back-button,
.bottom-nav .nav-item,
.topbar .header-profile-avatar,
.topbar .header-orders-icon .ui-icon,
.topbar .back-button .ui-icon,
.bottom-nav .nav-icon .ui-icon {
  transition:
    transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    color 160ms ease,
    border-color 160ms ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .topbar .header-brand-pill:hover,
  .topbar .header-pill:hover,
  .topbar .back-button:hover,
  .bottom-nav .nav-item:hover,
  .bottom-nav .nav-item.is-active:hover,
  .bottom-nav .nav-order.is-active:hover {
    transform: translateY(-1px) scale(1.01);
  }

  .topbar .header-profile-button:hover .header-profile-avatar,
  .topbar .orders-pill:hover .ui-icon,
  .topbar .back-button:hover .ui-icon,
  .bottom-nav .nav-item:hover .ui-icon {
    transform: scale(1.045);
  }
}

.topbar .header-brand-pill:active,
.topbar .header-pill:active,
.topbar .back-button:active,
.bottom-nav .nav-item:active,
.bottom-nav .nav-item.is-active:active,
.bottom-nav .nav-order.is-active:active {
  transform: scale(0.97) !important;
  transition-duration: 90ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .topbar .header-brand-pill,
  .topbar .header-pill,
  .topbar .back-button,
  .bottom-nav .nav-item,
  .topbar .header-profile-avatar,
  .topbar .header-orders-icon .ui-icon,
  .topbar .back-button .ui-icon,
  .bottom-nav .nav-icon .ui-icon {
    transition: none !important;
  }
}

/* v132: one low-cost transform animation for every enabled button */
html button:not(:disabled) {
  transform-origin: center;
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}

@media (hover: hover) and (pointer: fine) {
  html button:not(:disabled):hover {
    cursor: pointer;
    transform: translateY(-1px) scale(1.01) !important;
  }
}

html button:not(:disabled):active {
  transform: scale(0.97) !important;
  transition-duration: 85ms !important;
}

@media (prefers-reduced-motion: reduce) {
  html button:not(:disabled),
  html button:not(:disabled):hover,
  html button:not(:disabled):active {
    transform: none !important;
    transition: none !important;
  }
}

/* v133: keep the main cyan-blue page background throughout checkout */
body:has(.order-flow),
body:has(.order-buy-step) {
  background: var(--app-background) !important;
  background-attachment: scroll !important;
}
