:root {
  --bg: #000712;
  --panel: #06182a;
  --panel-2: #082035;
  --line: rgba(167, 202, 255, .08);
  --text: #f7fbff;
  --muted: #96a6bb;
  --green: #22e36d;
  --green-2: #00bd72;
  --gold: #ffc400;
  --orange: #ff8708;
  --blue: #0c55b8;
  --danger: #ff4f67;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-body,
.app-body {
  background:
    radial-gradient(circle at 15% 18%, rgba(35, 90, 255, .32), transparent 30%),
    radial-gradient(circle at 88% 34%, rgba(11, 221, 101, .34), transparent 30%),
    radial-gradient(circle at 50% 115%, rgba(0, 103, 67, .44), transparent 36%),
    #000712;
}

.phone-shell {
  width: min(100%, 540px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.auth-shell {
  padding: 28px 22px 42px;
}

.app-shell {
  padding: 0 22px 132px;
}

.back-link,
.sub-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
}

.auth-hero {
  text-align: center;
  padding: 42px 0 24px;
}

.auth-hero.compact {
  padding-top: 22px;
}

.brand-mark,
.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-mark span,
.brand-mini span,
.page-header > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #08111d;
  font-size: 30px;
  box-shadow: 0 0 30px rgba(255, 196, 0, .36);
}

.brand-mark strong,
.brand-mini strong {
  font-size: 32px;
  line-height: .9;
  text-align: left;
  text-shadow: 0 0 18px rgba(255,255,255,.22);
}

.brand-mark b,
.brand-mini b,
.headline span,
.announcement span {
  color: var(--green);
}

.brand-mark small,
.brand-mini small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.64);
  font-size: 11px;
  letter-spacing: 6px;
  font-weight: 500;
}

.brand-mark.small strong {
  font-size: 24px;
}

.auth-hero h1 {
  margin: 28px 0 10px;
  font-size: 38px;
  line-height: 1.08;
}

.auth-hero p,
.muted {
  color: var(--muted);
}

.auth-card,
.modal-card,
.feed-card,
.empty-state,
.invite-card,
.notice-card,
.tip-card,
.section-block {
  background: linear-gradient(180deg, rgba(8, 32, 53, .96), rgba(3, 18, 31, .96));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 28px;
}

label {
  display: block;
  margin: 18px 0 10px;
  color: rgba(246, 250, 255, .68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 29, 49, .86);
  color: var(--text);
  min-height: 58px;
  padding: 0 18px;
  outline: 0;
}

input:focus,
select:focus {
  border-color: rgba(34, 227, 109, .6);
  box-shadow: 0 0 0 4px rgba(34, 227, 109, .1);
}

.phone-input,
.password-input {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 29, 49, .86);
  overflow: hidden;
}

.phone-input b {
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  color: #ffd45d;
  border-right: 1px solid var(--line);
}

.phone-input input,
.password-input input {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.password-input button {
  width: 52px;
  height: 52px;
  border: 0;
  color: var(--muted);
  background: transparent;
}

.subtle-link {
  display: block;
  margin: 16px 0;
  color: rgba(255,255,255,.72);
  text-align: right;
}

.btn,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 24px;
  min-height: 56px;
  padding: 0 24px;
  color: #03111d;
  font-weight: 900;
  width: 100%;
}

.btn:disabled {
  opacity: .7;
}

.btn.gold,
.btn.primary,
.gold-pill {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 14px 34px rgba(255, 178, 0, .24);
}

.btn.green,
.green-card {
  background: linear-gradient(135deg, #31ef6f, #00bf72);
  box-shadow: 0 14px 34px rgba(0, 214, 110, .24);
}

.btn.blue {
  color: #fff;
  background: linear-gradient(135deg, #0754b7, #063a82);
}

.btn.ghost {
  margin-top: 12px;
  color: #ffd344;
  background: transparent;
  border: 1px solid rgba(255, 211, 68, .42);
}

.btn.small {
  min-height: 44px;
  width: auto;
  padding: 0 18px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 10px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  text-align: center;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.centered {
  text-align: center;
}

.centered a {
  color: #ffd344;
  font-weight: 800;
}

.secure-note {
  margin-top: 28px;
  color: rgba(255,255,255,.58);
  text-align: center;
  font-size: 13px;
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.trust-row div {
  min-height: 86px;
  display: grid;
  place-items: center;
  gap: 6px;
  background: rgba(5, 26, 44, .9);
  border: 1px solid var(--line);
  border-radius: 22px;
  font-size: 13px;
}

.top-bar,
.page-header,
.sub-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 -22px 22px;
  padding: 16px 22px;
  background: rgba(4, 22, 38, .94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}

.top-bar {
  justify-content: space-between;
}

.brand-mini span,
.page-header > span {
  width: 52px;
  height: 52px;
  background: var(--green);
  box-shadow: 0 0 28px rgba(34, 227, 109, .32);
  font-size: 26px;
}

.brand-mini strong {
  font-size: 24px;
}

.brand-mini small {
  letter-spacing: 5px;
}

.pill {
  width: auto;
  min-height: 44px;
  border-radius: 22px;
  text-transform: uppercase;
}

.hero-card {
  min-height: 248px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  border-radius: 8px 8px 30px 30px;
  background:
    linear-gradient(90deg, rgba(0, 8, 20, .18), rgba(0,0,0,.6)),
    repeating-linear-gradient(90deg, rgba(34,227,109,.22) 0 2px, transparent 2px 48px),
    linear-gradient(135deg, #073b28, #061827 45%, #03111f);
  box-shadow: inset 0 0 80px rgba(34, 227, 109, .18), var(--shadow);
}

.hero-card h1 {
  margin: 6px 0;
  font-size: 30px;
}

.hero-card small {
  color: var(--green);
  font-weight: 900;
}

.hero-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
}

.headline {
  margin: 20px 0;
  font-size: 38px;
  line-height: 1.16;
}

.quick-grid,
.account-actions,
.fund-actions,
.why-grid,
.network-grid,
.amount-grid {
  display: grid;
  gap: 12px;
}

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

.quick-grid a,
.quick-grid button,
.account-actions a,
.fund-actions a {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #08243c, #06182a);
  color: var(--text);
  font-weight: 800;
}

.quick-grid span,
.account-actions span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.06);
  font-size: 30px;
}

.quick-grid em {
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 14px;
  color: #06111e;
  background: var(--gold);
  font-size: 10px;
  font-style: normal;
}

.reward-banner {
  width: 100%;
  min-height: 102px;
  margin: 18px 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #06111e;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  text-align: left;
}

.reward-banner span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.3);
  font-size: 28px;
}

.reward-banner b {
  flex: 1;
  font-size: 20px;
}

.reward-banner i {
  font-size: 38px;
  font-style: normal;
}

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

.stats-row div {
  min-height: 76px;
  padding: 14px 8px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 32, 53, .86);
  text-align: center;
}

.stats-row b {
  color: var(--green);
  font-size: 18px;
}

.stats-row span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.section-block {
  margin-top: 26px;
  padding: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-block h2,
.section-title {
  margin: 0 0 16px;
  font-size: 26px;
}

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

.why-grid div {
  min-height: 142px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #08243c, #06182a);
}

.why-grid span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: rgba(34, 227, 109, .14);
}

.why-grid b {
  font-size: 20px;
}

.why-grid small {
  color: var(--muted);
}

.feed-card {
  margin-top: 18px;
  padding: 16px 0 10px;
  overflow: hidden;
}

.feed-title,
.feed-row,
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.feed-title {
  color: rgba(255,255,255,.74);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.feed-title span {
  color: var(--muted);
  text-transform: lowercase;
}

.feed-row b {
  color: var(--green);
}

.page-header h1,
.sub-header h1 {
  margin: 0;
  font-size: 26px;
}

.page-header p {
  margin: 3px 0 0;
  color: var(--muted);
}

.notice-card {
  margin-bottom: 20px;
  padding: 18px;
  color: rgba(255,255,255,.8);
  background: rgba(9, 46, 35, .78);
  border-color: rgba(34, 227, 109, .22);
}

.machine-list {
  display: grid;
  gap: 16px;
}

.machine-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(34, 227, 109, .12);
  background:
    radial-gradient(circle at 90% 10%, rgba(34, 227, 109, .15), transparent 26%),
    linear-gradient(145deg, #0a4460, #071c31 70%);
  box-shadow: var(--shadow);
}

.bonus-machine {
  background:
    radial-gradient(circle at 12% 0, rgba(255, 196, 0, .33), transparent 30%),
    linear-gradient(145deg, #3c3b10, #071c31 72%);
}

.machine-art {
  min-height: 112px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--green);
  background:
    radial-gradient(circle, rgba(34, 227, 109, .28), transparent 58%),
    linear-gradient(135deg, #041524, #09243a);
  font-size: 40px;
}

.machine-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.machine-title h2,
.machine-body h2 {
  margin: 0;
  font-size: 28px;
}

.machine-title span,
.mini-chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 16px;
  color: var(--green);
  background: rgba(34, 227, 109, .12);
  font-weight: 800;
  white-space: nowrap;
}

.machine-body p {
  margin: 8px 0 12px;
  color: var(--muted);
}

.machine-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.machine-specs div {
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(1, 16, 29, .58);
  border: 1px solid var(--line);
}

.machine-specs small,
.invite-card small,
.balance-card small {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.machine-specs b:nth-child(2),
.machine-specs div:nth-child(2) b {
  color: var(--green);
}

.machine-action {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.machine-action small {
  color: var(--muted);
}

.machine-action .btn {
  width: auto;
  min-height: 48px;
}

.balance-card {
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 28px;
  color: #06111e;
}

.balance-card.gradient {
  color: #fff;
  background: linear-gradient(135deg, #735cff, #13c8e7 45%, #00c86f);
}

.balance-card h2 {
  margin: 8px 0 14px;
  font-size: 42px;
}

.balance-card p {
  margin: 0;
  color: rgba(255,255,255,.8);
}

.balance-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,.75);
}

.balance-card.green-card > div,
.balance-card.green-card small {
  color: rgba(0,0,0,.65);
}

.fund-actions {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.fund-actions a {
  min-height: 112px;
}

.fund-actions span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #06111e;
  background: var(--green);
  font-size: 24px;
}

.empty-state,
.empty-card {
  padding: 28px 18px;
  text-align: center;
  color: var(--muted);
}

.empty-state > span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--green);
  background: rgba(34, 227, 109, .14);
}

.empty-state h2 {
  margin: 0 0 10px;
  color: var(--text);
}

.empty-state .btn {
  width: auto;
  margin-top: 12px;
}

.invite-card {
  margin: 18px 0 24px;
  padding: 24px;
}

.invite-card h2 {
  margin: 10px 0 18px;
  color: var(--green);
  font-size: 34px;
}

.invite-card .btn {
  width: calc(50% - 7px);
  display: inline-flex;
}

.level-card {
  min-height: 118px;
  margin-bottom: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-left: 5px solid var(--green);
  border-radius: 26px;
  background: linear-gradient(180deg, #08243c, #06182a);
  box-shadow: var(--shadow);
}

.level-card b {
  display: block;
  font-size: 20px;
}

.level-card span,
.level-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.level-card strong {
  color: var(--green);
  font-size: 24px;
  text-align: right;
}

.account-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 0 18px;
}

.avatar {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #d6fbff, #8173ff);
  font-size: 44px;
}

.account-head h1 {
  margin: 0 0 8px;
  font-size: 20px;
}

.account-head button {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: rgba(255,255,255,.16);
}

.account-actions {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.menu-list {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 32, 53, .96), rgba(3, 18, 31, .96));
}

.menu-list a,
.menu-list button {
  width: 100%;
  min-height: 88px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 800;
}

.menu-list span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  font-size: 26px;
}

.menu-list i {
  margin-left: auto;
  color: var(--muted);
  font-style: normal;
  font-size: 24px;
}

.menu-list .danger {
  color: var(--danger);
}

.tip-card {
  margin-top: 18px;
  padding: 18px;
  color: var(--muted);
  background: rgba(5, 48, 34, .76);
  border-color: rgba(34, 227, 109, .2);
}

.tip-card b,
.tip-card a {
  color: var(--green);
  font-weight: 900;
}

.sub-header {
  margin-bottom: 16px;
}

.sub-header span {
  font-size: 32px;
}

.progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.progress span {
  height: 8px;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(34, 227, 109, .32);
}

.recharge-form {
  display: block;
}

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

.network-grid button,
.amount-grid button {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--text);
  background: linear-gradient(180deg, #08243c, #06182a);
  font-weight: 800;
}

.network-grid button.selected,
.amount-grid button.selected {
  border-color: rgba(34, 227, 109, .7);
  color: #04130d;
  background: linear-gradient(100deg, #38f070, #04c865);
  box-shadow: 0 12px 26px rgba(23, 214, 100, .22), inset 0 0 0 2px rgba(255, 255, 255, .12);
}

.selected-network,
.payment-box,
.instruction {
  margin: 18px 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 32, 53, .88);
  border: 1px solid var(--line);
}

.selected-network {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.selected-network small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.selected-network b,
.payment-box b {
  display: block;
  color: var(--green);
  font-size: 24px;
}

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

.amount-grid button {
  min-height: 58px;
}

.payment-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.payment-box small,
.payment-box span {
  color: var(--muted);
}

.instruction {
  color: rgba(255,255,255,.76);
  border-color: rgba(255, 196, 0, .3);
  background: rgba(48, 44, 18, .45);
}

.or {
  margin: 18px 0 8px;
  color: var(--muted);
  text-align: center;
}

.upload-box {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(150, 166, 187, .25);
  border-radius: 22px;
  background: rgba(8, 29, 49, .55);
}

.upload-box input {
  display: none;
}

.upload-box span {
  color: var(--green);
  font-size: 34px;
}

.upload-box small {
  color: var(--muted);
}

.status-line {
  color: var(--muted);
  text-align: center;
}

.status-line b {
  color: #ffd344;
  text-transform: uppercase;
}

.history-list {
  margin-top: 18px;
}

.history-row div,
.history-row strong {
  display: grid;
  gap: 4px;
}

.history-row span,
.history-row small {
  color: var(--muted);
}

.history-row strong {
  text-align: right;
  color: var(--green);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(calc(100% - 34px), 506px);
  min-height: 116px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 25, 43, .9);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .48);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.bottom-nav a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #aab6c4;
  font-size: 13px;
  font-weight: 700;
}

.bottom-nav a svg {
  width: 24px;
  height: 24px;
}

.bottom-nav a.active {
  color: var(--green);
}

.bottom-nav a.active svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 50%;
  color: #06111e;
  background: var(--green);
  box-shadow: 0 0 28px rgba(34, 227, 109, .36);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 5, 12, .72);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(100%, 480px);
  padding: 28px;
  position: relative;
}

.modal-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.24);
  font-size: 28px;
}

.announcement {
  background: linear-gradient(135deg, #7658ff, #1fc4df 48%, #00c86f);
  box-shadow: 0 20px 70px rgba(34, 227, 109, .22);
}

.announcement small {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.2);
  font-weight: 900;
  text-transform: uppercase;
}

.announcement p {
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}

.toast {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 100;
  width: min(calc(100% - 34px), 480px);
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  background: #102338;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

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

.toast.ok {
  border: 1px solid rgba(34, 227, 109, .36);
}

.toast.bad {
  border: 1px solid rgba(255, 79, 103, .42);
}

.install-shell {
  display: grid;
  place-items: center;
  padding: 22px;
}

@media (max-width: 460px) {
  .auth-shell,
  .app-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-bar,
  .page-header,
  .sub-header {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-mark strong {
    font-size: 27px;
  }

  .auth-hero h1,
  .headline {
    font-size: 34px;
  }

  .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-grid a,
  .quick-grid button {
    min-height: 118px;
    padding: 8px;
    font-size: 13px;
  }

  .quick-grid span {
    width: 52px;
    height: 52px;
  }

  .machine-card {
    grid-template-columns: 92px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .machine-art {
    min-height: 92px;
  }

  .machine-title h2,
  .machine-body h2 {
    font-size: 26px;
  }

  .machine-specs {
    grid-template-columns: 1fr;
  }

  .machine-action {
    display: grid;
  }

  .machine-action .btn {
    width: 100%;
  }

  .amount-grid,
  .network-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact VIP cards */
.machine-list {
  gap: 12px;
}

.machine-list .machine-card {
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 15px;
  border-radius: 24px;
}

.machine-list .machine-art {
  min-height: 88px;
  border-radius: 18px;
}

.machine-list .machine-art b {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 13px;
}

.machine-list .machine-title h2,
.machine-list .machine-body h2 {
  font-size: 23px;
}

.machine-list .machine-body p {
  margin: 5px 0 9px;
  font-size: 13px;
}

.machine-list .machine-title span {
  padding: 6px 9px;
  font-size: 11px;
}

.machine-list .machine-specs {
  gap: 6px;
}

.machine-list .machine-specs div {
  min-height: 50px;
  padding: 8px 10px;
  border-radius: 15px;
}

.machine-list .machine-specs small {
  font-size: 10px;
}

.machine-list .machine-specs b {
  font-size: 13px;
}

.machine-list .machine-action {
  margin-top: 10px;
  gap: 10px;
}

.machine-list .machine-action small {
  font-size: 12px;
}

.machine-list .machine-action .btn {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 20px;
  font-size: 14px;
}

.machine-list .machine-card::before {
  left: 15px;
  right: 15px;
  bottom: 10px;
}

@media (max-width: 460px) {
  .machine-list .machine-card {
    grid-template-columns: 78px 1fr;
    gap: 10px;
    padding: 14px;
  }

  .machine-list .machine-art {
    min-height: 78px;
  }

  .machine-list .machine-art b {
    width: 52px;
    height: 52px;
    font-size: 12px;
  }

  .machine-list .machine-title h2,
  .machine-list .machine-body h2 {
    font-size: 22px;
  }
}

/* Animated welcome sliders */
.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading-row h2 {
  margin: 0;
}

.section-heading-row span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: .8;
}

.why-slider-section {
  overflow: hidden;
}

.why-slider {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 12px;
  margin: 0 -2px;
  scrollbar-width: none;
}

.why-slider::-webkit-scrollbar {
  display: none;
}

.why-slider .why-slide {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  animation: whyFloat 5.5s ease-in-out infinite;
}

.why-slider .why-slide:nth-child(2) {
  animation-delay: .45s;
}

.why-slider .why-slide:nth-child(3) {
  animation-delay: .9s;
}

.why-slider .why-slide:nth-child(4) {
  animation-delay: 1.35s;
}

.why-slider .why-slide::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -60%;
  width: 54%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .11), transparent);
  transform: rotate(18deg);
  animation: cardSheen 4.8s ease-in-out infinite;
}

.why-slider .why-slide:nth-child(2)::after {
  animation-delay: .7s;
}

.why-slider .why-slide:nth-child(3)::after {
  animation-delay: 1.4s;
}

.why-slider .why-slide:nth-child(4)::after {
  animation-delay: 2.1s;
}

.withdrawals-ticker {
  position: relative;
  padding-bottom: 0;
}

.feed-title span {
  position: relative;
  padding-left: 14px;
}

.feed-title span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(36, 230, 106, .72);
  animation: livePulse 1.4s ease-in-out infinite;
}

.ticker-window {
  height: 216px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}

.ticker-track {
  animation: withdrawalTicker 14s linear infinite;
}

.withdrawals-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.withdrawals-ticker .feed-row {
  min-height: 54px;
  background: linear-gradient(90deg, rgba(9, 31, 52, .58), rgba(9, 31, 52, .22));
  border-bottom-color: rgba(132, 176, 226, .075);
  animation: rowGlow 3s ease-in-out infinite;
}

.withdrawals-ticker .feed-row:nth-child(even) {
  animation-delay: 1.5s;
}

@keyframes whyFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .34), 0 0 22px rgba(36, 230, 106, .08);
  }
}

@keyframes cardSheen {
  0%, 52% {
    left: -65%;
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes livePulse {
  0%, 100% {
    transform: translateY(-50%) scale(.88);
    opacity: .65;
  }
  50% {
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
  }
}

@keyframes withdrawalTicker {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes rowGlow {
  0%, 100% {
    box-shadow: inset 0 0 0 rgba(36, 230, 106, 0);
  }
  50% {
    box-shadow: inset 3px 0 0 rgba(36, 230, 106, .35);
  }
}

@media (max-width: 460px) {
  .why-slider .why-slide {
    flex-basis: calc(52% - 6px);
  }

  .ticker-window {
    height: 208px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-slider .why-slide,
  .why-slider .why-slide::after,
  .ticker-track,
  .feed-title span::before,
  .withdrawals-ticker .feed-row {
    animation: none;
  }
}

/* Money workflow and finance review */
.proof-uploader {
  gap: 8px;
  padding: 14px;
}

.upload-preview {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.request-status-card {
  margin-top: 18px;
}

.status-text {
  display: inline-flex;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
}

.status-text.pending,
.status-badge.pending {
  color: #ffd84a;
  background: rgba(255, 216, 74, .12);
}

.status-text.approved,
.status-badge.approved {
  color: var(--green);
  background: rgba(36, 230, 106, .12);
}

.status-text.rejected,
.status-badge.rejected {
  color: var(--danger);
  background: rgba(255, 79, 103, .12);
}

.admin-shell {
  padding-bottom: 48px;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.admin-summary div {
  min-height: 82px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #08243d, #06192c);
  border: 1px solid var(--line);
}

.admin-summary b {
  color: var(--green);
  font-size: 24px;
}

.admin-summary span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-logout {
  margin-bottom: 18px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-request {
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(180deg, #061d32, #031526);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.request-head small {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 1px;
}

.request-head h3 {
  margin: 6px 0 4px;
  font-size: 28px;
}

.request-head p,
.request-details p {
  margin: 4px 0;
  color: var(--muted);
}

.status-badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-preview {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  color: var(--green);
  font-weight: 800;
}

.proof-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(36, 230, 106, .2);
}

.admin-decision {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

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

.btn.reject {
  color: #fff;
  background: linear-gradient(100deg, #ff6680, #df2946);
  box-shadow: 0 16px 34px rgba(223, 41, 70, .18);
}

/* VIP plan conversion */
.vip-hero {
  position: relative;
  min-height: 260px;
  margin: 0 0 16px;
  padding: 26px 22px 20px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 210, 42, .24);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 205, 35, .28), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(36, 230, 106, .18), transparent 28%),
    linear-gradient(135deg, #18120b 0%, #071729 46%, #041225 100%);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .45), 0 0 34px rgba(255, 187, 20, .08);
  isolation: isolate;
}

.vip-hero::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, transparent, rgba(255, 211, 49, .42), transparent 58%);
  filter: blur(.2px);
  animation: vipSpin 10s linear infinite;
  z-index: -1;
}

.vip-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -80px -40px;
  height: 150px;
  background: radial-gradient(ellipse at center, rgba(36, 230, 106, .18), transparent 68%);
  animation: vipGlow 4s ease-in-out infinite;
  z-index: -1;
}

.vip-hero small {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffe27a;
  background: rgba(255, 210, 42, .1);
  border: 1px solid rgba(255, 210, 42, .2);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.vip-hero h2 {
  max-width: 380px;
  margin: 18px 0 10px;
  font-size: 33px;
  line-height: 1.05;
  font-weight: 900;
}

.vip-hero p {
  max-width: 390px;
  margin: 0;
  color: rgba(245, 249, 255, .72);
  line-height: 1.45;
}

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

.vip-hero-stats div {
  min-height: 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(6, 25, 44, .76);
  border: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  animation: vipStatRise .65s ease both;
}

.vip-hero-stats div:nth-child(2) {
  animation-delay: .08s;
}

.vip-hero-stats div:nth-child(3) {
  animation-delay: .16s;
}

.vip-hero-stats b {
  color: var(--gold);
  font-size: 24px;
}

.vip-hero-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.vip-orbit {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(255, 210, 42, .2);
  border-radius: 50%;
  animation: vipSpin 12s linear infinite reverse;
}

.vip-orbit span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 210, 42, .52);
}

.vip-orbit span:nth-child(1) {
  top: -7px;
  left: 40px;
}

.vip-orbit span:nth-child(2) {
  right: 4px;
  bottom: 12px;
  background: var(--green);
}

.vip-orbit span:nth-child(3) {
  left: 8px;
  bottom: 8px;
  width: 10px;
  height: 10px;
}

.vip-rate-table {
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 210, 42, .18);
  background: linear-gradient(180deg, rgba(8, 29, 49, .96), rgba(3, 17, 30, .96));
  box-shadow: var(--shadow);
}

.vip-rate-head,
.vip-rate-row {
  display: grid;
  grid-template-columns: .82fr 1.1fr 1.1fr 1.2fr;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
}

.vip-rate-head {
  color: #ffe27a;
  background: rgba(255, 210, 42, .08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.vip-rate-row {
  min-height: 50px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(245, 249, 255, .8);
  font-size: 13px;
  animation: vipRowIn .55s ease both;
}

.vip-rate-row:nth-child(2n) {
  background: rgba(255, 255, 255, .018);
}

.vip-rate-row b,
.vip-rate-row strong {
  color: #ffd84a;
}

.machine-card {
  animation: vipCardIn .55s ease both;
}

.machine-card:nth-child(2) { animation-delay: .04s; }
.machine-card:nth-child(3) { animation-delay: .08s; }
.machine-card:nth-child(4) { animation-delay: .12s; }
.machine-card:nth-child(5) { animation-delay: .16s; }
.machine-card:nth-child(6) { animation-delay: .2s; }

.machine-card::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -60%;
  width: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  transform: rotate(18deg);
  animation: vipCardSheen 6s ease-in-out infinite;
}

.machine-card {
  position: relative;
  overflow: hidden;
}

.machine-list {
  perspective: 1100px;
}

.machine-list .machine-card {
  border-color: rgba(255, 210, 42, .13);
  background:
    linear-gradient(135deg, rgba(255, 210, 42, .12), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(36, 230, 106, .18), transparent 28%),
    linear-gradient(145deg, #0a425d, #061b31 72%);
  transform-origin: center;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.machine-list .machine-card:hover {
  transform: translateY(-5px) rotateX(1.5deg);
  border-color: rgba(255, 210, 42, .32);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .48), 0 0 34px rgba(255, 210, 42, .08);
}

.machine-list .machine-card::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 14px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green), transparent);
  transform-origin: left;
  animation: vipProgress 3.8s ease-in-out infinite;
  opacity: .78;
}

.machine-list .machine-card:nth-child(odd)::before {
  animation-delay: .7s;
}

.machine-list .machine-art {
  color: #06151f;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .42), transparent 20%),
    linear-gradient(135deg, #ffe36a, #ffb10b 50%, #25df70);
  box-shadow: inset 0 0 22px rgba(255, 255, 255, .12), 0 0 28px rgba(255, 210, 42, .18);
  animation: vipBadgePulse 3.2s ease-in-out infinite;
}

.machine-list .machine-art b {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(1, 16, 29, .88);
  color: #ffd84a;
  box-shadow: inset 0 0 0 1px rgba(255, 210, 42, .18);
}

.machine-list .machine-title span {
  color: #06151f;
  background: linear-gradient(100deg, #ffe36a, #24e66a);
  box-shadow: 0 0 22px rgba(36, 230, 106, .16);
}

.machine-list .machine-specs div {
  background: rgba(1, 16, 29, .5);
  backdrop-filter: blur(8px);
}

.machine-list .machine-action .btn {
  position: relative;
  overflow: hidden;
}

.machine-list .machine-action .btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -50%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
  transform: skewX(-18deg);
  animation: vipButtonSweep 3.6s ease-in-out infinite;
}

.vip-active-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.vip-active-card .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}

@keyframes vipSpin {
  to { transform: rotate(360deg); }
}

@keyframes vipGlow {
  0%, 100% { opacity: .55; transform: scale(.98); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes vipStatRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vipRowIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes vipCardIn {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vipCardSheen {
  0%, 55% { left: -70%; opacity: 0; }
  65% { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

@keyframes vipProgress {
  0%, 100% { transform: scaleX(.18); opacity: .45; }
  50% { transform: scaleX(1); opacity: .95; }
}

@keyframes vipBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes vipButtonSweep {
  0%, 58% { left: -55%; opacity: 0; }
  66% { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

@media (max-width: 460px) {
  .vip-hero {
    min-height: 250px;
    padding: 24px 18px 18px;
  }

  .vip-hero h2 {
    font-size: 29px;
    max-width: 310px;
  }

  .vip-orbit {
    width: 74px;
    height: 74px;
    opacity: .75;
  }

  .vip-rate-head,
  .vip-rate-row {
    grid-template-columns: .75fr 1fr 1fr 1.1fr;
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
}

/* Welcome page density correction */
.hero-card {
  min-height: 220px;
  padding: 20px 22px;
}

.headline {
  margin: 14px 0 18px;
}

.quick-grid {
  gap: 8px;
}

.quick-grid a,
.quick-grid button {
  min-height: 112px;
  border-radius: 22px;
  padding: 10px 6px;
}

.quick-grid span {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  font-size: 25px;
}

.reward-banner {
  min-height: 88px;
  margin: 14px 0;
  border-radius: 24px;
  padding: 14px 18px;
}

.reward-banner span {
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.reward-banner b {
  font-size: 18px;
}

.stats-row {
  gap: 8px;
}

.stats-row div {
  min-height: 70px;
  border-radius: 18px;
  padding: 10px 6px;
}

.section-block {
  margin-top: 20px;
  padding: 12px 0;
}

.why-grid {
  gap: 10px;
}

.why-grid div {
  min-height: 124px;
  border-radius: 22px;
  padding: 16px;
}

.why-grid span {
  width: 44px;
  height: 44px;
}

.feed-card {
  margin-top: 12px;
}

@media (max-width: 460px) {
  .hero-card {
    min-height: 205px;
  }

  .quick-grid a,
  .quick-grid button {
    min-height: 104px;
  }

  .quick-grid span {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .reward-banner {
    min-height: 84px;
  }

  .why-grid div {
    min-height: 118px;
  }
}

/* Font scale correction: closer to the supplied app screenshots */
body {
  font-size: 15px;
}

.app-shell {
  font-size: 15px;
}

.top-bar,
.page-header,
.sub-header {
  min-height: 78px;
}

.page-header h1,
.sub-header h1 {
  font-size: 24px;
  line-height: 1.15;
}

.page-header p {
  font-size: 14px;
}

.brand-mini strong {
  font-size: 21px;
}

.brand-mini small {
  font-size: 10px;
  letter-spacing: 4px;
}

.headline {
  font-size: 34px;
  line-height: 1.12;
}

.hero-card h1 {
  font-size: 27px;
}

.hero-card p {
  font-size: 16px;
}

.quick-grid a,
.quick-grid button,
.account-actions a,
.fund-actions a {
  font-size: 14px;
  line-height: 1.15;
}

.reward-banner b {
  font-size: 19px;
}

.stats-row b {
  font-size: 17px;
}

.stats-row span {
  font-size: 11px;
}

.section-block h2,
.section-title {
  font-size: 24px;
  line-height: 1.2;
}

.why-grid b {
  font-size: 18px;
}

.why-grid small,
.feed-row,
.feed-title {
  font-size: 14px;
}

.balance-card h2 {
  font-size: 40px;
  line-height: 1;
}

.balance-card small,
.machine-specs small,
.invite-card small {
  font-size: 12px;
}

.balance-card p,
.balance-card > div {
  font-size: 14px;
}

.account-head h1 {
  font-size: 18px;
}

.account-head button {
  font-size: 13px;
}

.menu-list a,
.menu-list button {
  min-height: 86px;
  font-size: 17px;
  line-height: 1.25;
}

.machine-title h2,
.machine-body h2 {
  font-size: 27px;
  line-height: 1.12;
}

.machine-body p {
  font-size: 15px;
}

.machine-title span,
.mini-chip {
  font-size: 13px;
}

.machine-specs b {
  font-size: 14px;
}

.machine-action small {
  font-size: 13px;
}

.machine-action .btn {
  font-size: 15px;
  min-height: 46px;
}

.invite-card h2 {
  font-size: 31px;
}

.level-card b {
  font-size: 18px;
}

.level-card strong {
  font-size: 22px;
}

.level-card span,
.level-card small,
.empty-card,
.empty-state p,
.tip-card {
  font-size: 14px;
}

label {
  font-size: 13px;
}

input,
select {
  font-size: 16px;
}

.selected-network b,
.payment-box b {
  font-size: 25px;
}

.amount-grid button {
  font-size: 17px;
}

.network-grid button {
  font-size: 15px;
}

.instruction,
.status-line,
.history-row {
  font-size: 14px;
}

.bottom-nav a {
  font-size: 12px;
}

.bottom-nav a svg {
  width: 22px;
  height: 22px;
}

.bottom-nav a.active svg {
  width: 52px;
  height: 52px;
}

.modal-card h2 {
  font-size: 24px;
}

.modal-card {
  font-size: 15px;
}

@media (max-width: 460px) {
  .headline {
    font-size: 32px;
  }

  .page-header h1,
  .sub-header h1 {
    font-size: 23px;
  }

  .quick-grid a,
  .quick-grid button {
    font-size: 13px;
  }

  .menu-list a,
  .menu-list button {
    font-size: 16px;
  }

  .machine-title h2,
  .machine-body h2 {
    font-size: 25px;
  }

  .amount-grid button {
    font-size: 16px;
  }
}

/* Screenshot-matched mobile visual pass */
:root {
  --bg: #000814;
  --panel: #061a2d;
  --panel-deep: #021121;
  --panel-soft: #092238;
  --line: rgba(132, 176, 226, .105);
  --text: #f7fbff;
  --muted: #a2adbd;
  --green: #24e66a;
  --green-2: #00bf72;
  --gold: #ffd111;
  --orange: #ff8708;
  --blue: #0757b8;
  --shadow: 0 24px 48px rgba(0, 0, 0, .42);
}

body {
  background: #0f1118;
}

.auth-body,
.app-body {
  background:
    radial-gradient(circle at 12% 11%, rgba(30, 83, 198, .62), transparent 31%),
    radial-gradient(circle at 100% 43%, rgba(9, 216, 95, .38), transparent 31%),
    radial-gradient(circle at 58% 88%, rgba(0, 143, 81, .32), transparent 28%),
    linear-gradient(180deg, #020612 0%, #000814 100%);
}

.phone-shell {
  width: min(100%, 540px);
  background:
    radial-gradient(circle at 85% 1%, rgba(255, 196, 0, .08), transparent 26%),
    radial-gradient(circle at 0% 18%, rgba(32, 79, 180, .14), transparent 30%),
    #000814;
}

.auth-shell {
  padding: 38px 22px 52px;
}

.app-shell {
  padding: 0 22px 142px;
}

.back-link {
  min-height: 32px;
  color: rgba(202, 211, 225, .72);
  font-size: 16px;
}

.auth-hero {
  padding: 50px 0 34px;
}

.auth-hero.compact {
  padding-top: 30px;
  padding-bottom: 26px;
}

.brand-mark {
  min-height: 72px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 199, 12, .98), rgba(255, 199, 12, .18) 23%, rgba(1, 15, 27, .92) 30%, rgba(1, 15, 27, .92));
  border: 1px solid rgba(255, 211, 49, .42);
  box-shadow: 0 0 34px rgba(255, 200, 12, .22);
}

.brand-mark span,
.brand-mini span,
.page-header > span {
  width: 54px;
  height: 54px;
  font-size: 0;
  position: relative;
}

.brand-mark span::before,
.brand-mini span::before,
.page-header > span::before {
  content: "";
  width: 26px;
  height: 26px;
  border: 4px solid currentColor;
  border-radius: 6px;
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, .14),
    0 -10px 0 -7px currentColor,
    0 10px 0 -7px currentColor,
    -10px 0 0 -7px currentColor,
    10px 0 0 -7px currentColor;
}

.brand-mark strong {
  font-size: 34px;
  letter-spacing: -.5px;
}

.brand-mark b,
.heinken-logo b {
  color: var(--gold);
}

.heinken-logo strong {
  font-size: 27px;
  letter-spacing: .2px;
}

.brand-mini.heinken-logo strong {
  font-size: 18px;
}

.heinken-logo small {
  letter-spacing: 5px;
}

.brand-mark.heinken-logo {
  padding-right: 18px;
}

.brand-mini.heinken-logo small {
  letter-spacing: 3.4px;
  font-size: 9px;
}

.brand-mark small {
  margin-top: 6px;
  letter-spacing: 7px;
  font-size: 12px;
}

.auth-hero h1 {
  margin: 30px 0 12px;
  font-size: 42px;
  font-weight: 900;
}

.auth-hero p {
  margin: 0;
  font-size: 20px;
}

.auth-card {
  padding: 28px 26px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(7, 28, 49, .98), rgba(3, 20, 34, .98)),
    radial-gradient(circle at 100% 100%, rgba(31, 226, 105, .14), transparent 40%);
}

label {
  margin: 18px 0 9px;
  font-size: 14px;
  letter-spacing: 1.5px;
}

input,
select,
.phone-input,
.password-input {
  min-height: 62px;
  border-radius: 28px;
  background: rgba(9, 31, 52, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .015);
}

.phone-input b {
  min-width: 92px;
  color: #ffd44a;
  font-size: 18px;
  line-height: 1.15;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.btn {
  min-height: 74px;
  border-radius: 26px;
  font-size: 20px;
}

.btn.gold {
  color: #171008;
  background: linear-gradient(100deg, #ffdc10 0%, #ffc107 42%, #ff8807 100%);
  box-shadow: 0 16px 34px rgba(255, 174, 0, .22), 0 0 28px rgba(255, 199, 12, .18);
}

.btn.green {
  color: #07151f;
  background: linear-gradient(100deg, #37f26f 0%, #0cd465 50%, #00be70 100%);
  box-shadow: 0 16px 34px rgba(0, 214, 100, .22), 0 0 28px rgba(35, 230, 106, .16);
}

.btn.ghost {
  min-height: 64px;
  border-color: rgba(255, 210, 42, .52);
  color: #ffdc3a;
}

.trust-row {
  margin-bottom: 20px;
}

.trust-row div {
  min-height: 88px;
  border-radius: 24px;
  background: linear-gradient(180deg, #062139, #031729);
  position: relative;
  padding-top: 46px;
}

.trust-row div span {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffd43a;
  background: rgba(255, 210, 42, .12);
  border: 1px solid rgba(255, 210, 42, .3);
  font-size: 0;
}

.trust-row div:first-child span::before {
  content: "";
  width: 17px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.trust-row div:last-child span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.trust-row div:last-child span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.secure-note {
  margin-top: 28px;
}

.top-bar,
.page-header,
.sub-header {
  min-height: 80px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 84% 0%, rgba(36, 230, 106, .18), transparent 32%),
    rgba(3, 19, 34, .98);
}

.brand-mini {
  gap: 10px;
}

.brand-mini strong {
  font-size: 22px;
}

.brand-mini b {
  color: var(--green);
}

.brand-mini small {
  margin-top: 5px;
  letter-spacing: 5px;
  font-size: 11px;
}

.gold-pill {
  min-height: 44px;
  border-radius: 22px;
  padding: 0 22px;
}

.hero-card {
  min-height: 250px;
  margin-top: 10px;
  border-radius: 8px 8px 28px 28px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .68)),
    url("../img/heineken-07.jpeg") center/cover;
  box-shadow: inset 0 0 70px rgba(36, 230, 106, .2), 0 18px 44px rgba(0, 0, 0, .36);
}

.headline {
  margin: 18px 0 20px;
  font-size: 39px;
  line-height: 1.08;
  font-weight: 900;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quick-grid a,
.quick-grid button {
  min-height: 132px;
  border-radius: 24px;
  background: linear-gradient(180deg, #08233a, #06192d);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
}

.quick-grid span,
.account-actions span,
.menu-list span {
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  border: 1px solid rgba(255, 255, 255, .05);
}

.reward-banner {
  min-height: 102px;
  border-radius: 26px;
  background: linear-gradient(100deg, #ffdf12 0%, #ffbd09 42%, #ff8908 100%);
}

.stats-row div {
  min-height: 80px;
  border-radius: 18px;
  background: linear-gradient(180deg, #08243d, #06192c);
}

.feed-card,
.menu-list,
.invite-card,
.empty-state,
.empty-card,
.notice-card,
.tip-card,
.modal-card {
  border-radius: 28px;
  background: linear-gradient(180deg, #061d32, #031526);
  border-color: var(--line);
}

.page-header h1,
.sub-header h1 {
  font-size: 27px;
  font-weight: 900;
}

.page-header > span {
  background: var(--green);
  color: #06151f;
}

.balance-card {
  min-height: 172px;
  border-radius: 28px;
}

.balance-card.gradient {
  background: linear-gradient(125deg, #7357ff 0%, #22c7e8 45%, #00c86f 100%);
}

.balance-card.green-card {
  color: #020b10;
  background: linear-gradient(100deg, #37f26f 0%, #0cd465 55%, #00bd72 100%);
}

.balance-card h2 {
  font-size: 44px;
  font-weight: 900;
}

.account-head {
  min-height: 218px;
  align-items: flex-start;
  padding-top: 32px;
  background: linear-gradient(135deg, #715cff 0%, #20c6e8 48%, #00c872 100%);
  margin: 0 -22px 16px;
  padding-left: 22px;
  padding-right: 22px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}

.account-actions {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0 18px;
}

.account-actions a {
  min-height: 150px;
  border-radius: 26px;
}

.menu-list a,
.menu-list button {
  min-height: 90px;
  font-size: 19px;
}

.tip-card {
  margin-top: 20px;
  padding: 20px 18px;
  border-color: rgba(36, 230, 106, .22);
  background: rgba(5, 47, 34, .86);
}

.fund-actions {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fund-actions a {
  min-height: 112px;
  border-radius: 24px;
}

.empty-state {
  min-height: 290px;
  display: grid;
  place-items: center;
  align-content: center;
}

.machine-card {
  border-radius: 30px;
  grid-template-columns: 114px 1fr;
  background:
    radial-gradient(circle at 8% 8%, rgba(54, 226, 108, .18), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(23, 107, 255, .14), transparent 36%),
    linear-gradient(145deg, #07546b, #061b31 76%);
}

.machine-card:nth-child(6n) {
  background:
    radial-gradient(circle at 2% 8%, rgba(136, 92, 255, .2), transparent 32%),
    linear-gradient(145deg, #26316b, #071a31 74%);
}

.machine-art {
  min-height: 114px;
  border-radius: 22px;
  box-shadow: inset 0 0 28px rgba(35, 230, 106, .2);
}

.machine-title h2,
.machine-body h2 {
  font-size: 30px;
  font-weight: 900;
}

.machine-specs div {
  min-height: 58px;
  border-radius: 18px;
}

.network-grid button {
  min-height: 146px;
  border-radius: 22px;
}

.selected-network,
.payment-box {
  min-height: 92px;
  border-radius: 24px;
}

.amount-selected-card b {
  color: var(--green);
  font-size: 23px;
}

.amount-grid {
  gap: 10px;
}

.amount-grid button {
  min-height: 58px;
  border-radius: 22px;
  font-size: 19px;
}

.upload-box {
  min-height: 150px;
  border-radius: 24px;
}

.level-card {
  border-radius: 24px;
  min-height: 132px;
  background: linear-gradient(180deg, #062139, #041729);
}

.bottom-nav {
  width: min(calc(100% - 34px), 506px);
  min-height: 118px;
  bottom: 22px;
  border-radius: 28px;
  background: rgba(6, 23, 40, .94);
}

.bottom-nav a.active svg {
  width: 56px;
  height: 56px;
  padding: 14px;
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  border-radius: 28px;
  margin: 10px 0 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .36);
}

.about-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 8, 16, .08), rgba(2, 8, 16, .84));
}

.about-hero div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.about-hero small,
.about-section h2 {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 800;
}

.about-hero h2 {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.08;
}

.about-hero p,
.about-section p {
  color: var(--muted);
}

.about-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.about-gallery::-webkit-scrollbar {
  display: none;
}

.about-gallery img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-radius: 22px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.about-section {
  padding: 20px;
  margin-bottom: 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, #061d32, #031526);
  border: 1px solid var(--line);
}

.about-section h2 {
  margin: 0 0 14px;
  font-size: 14px;
}

.about-section p {
  margin: 10px 0;
  line-height: 1.48;
}

.about-section b {
  color: var(--text);
}

.admin-layout {
  width: min(1220px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
}

.admin-sidebar {
  position: sticky;
  top: 22px;
  height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 0, rgba(35, 230, 106, .15), transparent 34%),
    linear-gradient(180deg, #061d32, #031526);
}

.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-menu-panel {
  display: contents;
}

.admin-menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255,255,255,.055);
  font-weight: 900;
}

.admin-menu-toggle span,
.admin-menu-toggle span::before,
.admin-menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  transition: .18s ease;
}

.admin-menu-toggle span {
  position: relative;
}

.admin-menu-toggle span::before,
.admin-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.admin-menu-toggle span::before {
  top: -6px;
}

.admin-menu-toggle span::after {
  top: 6px;
}

.admin-sidebar.menu-open .admin-menu-toggle span {
  background: transparent;
}

.admin-sidebar.menu-open .admin-menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.admin-sidebar.menu-open .admin-menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.admin-brand > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #04130d;
  background: var(--green);
  font-weight: 900;
}

.admin-brand strong {
  display: grid;
  font-size: 19px;
}

.admin-brand small,
.admin-top small,
.admin-login-copy small {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 11px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
}

.admin-tabs a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 800;
}

.admin-tabs a span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
}

.admin-tabs a.active {
  color: #04130d;
  background: linear-gradient(100deg, #38f070, #04c865);
}

.admin-main {
  min-width: 0;
}

.admin-top,
.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #08243d, #06182a);
}

.admin-top h1,
.admin-login-copy h1 {
  margin: 6px 0 0;
  font-size: 34px;
  line-height: 1.08;
}

.admin-login-panel {
  min-height: calc(100vh - 44px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center;
}

.admin-login-copy {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 32px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72)),
    url("../img/heineken-06.jpeg") center/cover;
  box-shadow: 0 18px 50px rgba(0,0,0,.34);
}

.admin-login-copy p {
  color: rgba(255,255,255,.82);
  max-width: 520px;
}

.admin-metric-grid,
.admin-alert-grid,
.admin-plan-grid,
.admin-user-grid {
  display: grid;
  gap: 14px;
}

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

.admin-metric-grid article,
.admin-alert-grid a,
.admin-plan-card,
.admin-user-card,
.admin-table-card,
.admin-request {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #061d32, #031526);
}

.admin-metric-grid article,
.admin-alert-grid a {
  padding: 18px;
  color: var(--text);
}

.admin-metric-grid small,
.admin-alert-grid span,
.admin-row span,
.admin-user-card small,
.admin-plan-card p {
  color: var(--muted);
}

.admin-metric-grid b,
.admin-alert-grid b {
  display: block;
  margin: 6px 0;
  font-size: 25px;
  line-height: 1.05;
}

.admin-alert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.admin-alert-grid a {
  background:
    radial-gradient(circle at 100% 0, rgba(35,230,106,.16), transparent 32%),
    linear-gradient(180deg, #08243d, #06182a);
}

.admin-alert-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-request {
  padding: 18px;
}

.admin-request.compact {
  margin-bottom: 12px;
}

.request-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.request-head h3 {
  margin: 4px 0;
  font-size: 28px;
}

.request-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.request-details p {
  margin: 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.status-badge {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.status-badge.pending,
.pending {
  color: #ffd34e;
}

.status-badge.approved,
.approved {
  color: var(--green);
}

.status-badge.rejected,
.rejected {
  color: #ff6b7a;
}

.admin-table-card {
  overflow: hidden;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-row:last-child {
  border-bottom: 0;
}

.admin-row div {
  display: grid;
  gap: 4px;
}

.admin-row strong {
  text-align: right;
}

.admin-row small {
  display: block;
  margin-top: 4px;
}

.admin-section-head h2 {
  margin: 0 0 6px;
  font-size: 25px;
}

.admin-section-head p {
  margin: 0;
  color: var(--muted);
}

.admin-section-head > span {
  color: var(--green);
  font-weight: 900;
}

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

.admin-user-card,
.admin-plan-card {
  padding: 18px;
}

.admin-user-card > div,
.admin-plan-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.user-dot {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(35,230,106,.14);
}

.admin-user-card dl,
.admin-plan-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.admin-user-card dt,
.admin-plan-card dt {
  color: var(--muted);
}

.admin-user-card dd,
.admin-plan-card dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.admin-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.admin-plan-card h3 {
  margin: 0;
  font-size: 26px;
}

.admin-plan-card > div span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(35,230,106,.1);
  font-weight: 900;
}

.transaction-review-list {
  gap: 18px;
}

.transaction-review-card {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.transaction-proof-area {
  min-width: 0;
}

.proof-reader,
.proof-empty {
  min-height: 260px;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 0, rgba(35,230,106,.14), transparent 36%),
    rgba(255,255,255,.035);
}

.proof-reader {
  position: relative;
  color: #fff;
}

.proof-reader img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: contain;
  background: rgba(0,0,0,.28);
}

.proof-reader span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.proof-empty {
  align-content: center;
  gap: 8px;
  padding: 22px;
  text-align: center;
  color: var(--muted);
}

.proof-empty b {
  color: var(--text);
  font-size: 22px;
}

.proof-empty.payout {
  background:
    radial-gradient(circle at 50% 0, rgba(57,141,255,.16), transparent 36%),
    rgba(255,255,255,.035);
}

.proof-empty.auto {
  background:
    radial-gradient(circle at 50% 0, rgba(255,201,54,.14), transparent 36%),
    rgba(255,255,255,.035);
}

.transaction-review-body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

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

.transaction-detail-grid p {
  margin: 0;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.045);
}

.transaction-detail-grid span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.transaction-detail-grid b {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .admin-layout,
  .admin-login-panel,
  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 14px;
    border-radius: 22px;
  }

  .admin-tabs {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .admin-tabs a {
    min-width: 0;
  }

  .admin-metric-grid,
  .admin-alert-grid,
  .admin-plan-grid,
  .admin-user-grid,
  .transaction-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .transaction-review-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-layout {
    padding: 10px;
    gap: 12px;
    display: block;
  }

  .admin-sidebar {
    margin-bottom: 12px;
  }

  .admin-menu-toggle {
    display: inline-flex;
  }

  .admin-menu-panel {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows .22s ease, opacity .18s ease, margin-top .18s ease;
  }

  .admin-menu-panel > * {
    min-height: 0;
  }

  .admin-sidebar.menu-open .admin-menu-panel {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
  }

  .admin-sidebar:not(.menu-open) .admin-tabs,
  .admin-sidebar:not(.menu-open) .admin-logout {
    display: none;
  }

  .admin-sidebar.menu-open .admin-tabs,
  .admin-sidebar.menu-open .admin-logout {
    display: grid;
  }

  .admin-top,
  .admin-section-head,
  .request-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metric-grid,
  .admin-alert-grid,
  .admin-plan-grid,
  .admin-user-grid,
  .request-details,
  .transaction-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-top,
  .admin-section-head {
    padding: 16px;
    border-radius: 22px;
  }

  .admin-top .btn {
    width: 100%;
  }

  .admin-top h1,
  .admin-login-copy h1 {
    font-size: 29px;
  }

  .admin-metric-grid b,
  .admin-alert-grid b {
    font-size: 22px;
  }

  .admin-request,
  .admin-user-card,
  .admin-plan-card {
    padding: 14px;
    border-radius: 20px;
  }

  .admin-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-row strong {
    text-align: left;
  }

  .proof-reader,
  .proof-empty,
  .proof-reader img {
    min-height: 330px;
  }

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

@media (max-width: 460px) {
  .phone-shell {
    width: 100%;
  }

  .auth-shell {
    padding: 34px 22px 48px;
  }

  .brand-mark strong {
    font-size: 29px;
  }

  .brand-mark small {
    letter-spacing: 5px;
  }

  .auth-hero h1 {
    font-size: 38px;
  }

  .auth-hero p {
    font-size: 18px;
  }

  .auth-card {
    padding: 26px;
  }

  .quick-grid a,
  .quick-grid button {
    min-height: 126px;
    font-size: 13px;
  }

  .quick-grid span {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .headline {
    font-size: 36px;
  }

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

  .network-grid button {
    min-height: 146px;
    padding: 8px;
    font-size: 14px;
  }
}
