/*
 * SignalZ — design system V2 (espace client et back-office Crypto).
 * Portage de la maquette UX V2 ; l'ordre des règles est significatif (cascade).
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/inter-800.ttf) format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/sora-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/sora-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/sora-800.ttf) format('truetype');
}
:root {
  color-scheme: dark;
  --bg: #080e13;
  --panel: #101820;
  --panel2: #0c141d;
  --line: #24323e;
  --text: #f0f4f7;
  --muted: #91a1ae;
  --green: #28d6a0;
  --gold: #edb563;
  --cyan: #73cddd;
  --red: #ee8d96;
  --sidebar: 244px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  min-height: 100%;
  min-height: 100vh;
  min-height: 100lvh;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100lvh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter,system-ui,sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body:before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 0,rgba(12,107,75,.09),transparent 45%),radial-gradient(ellipse at 100% 60%,rgba(134,91,37,.025),transparent 50%);
}

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

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  transition: background .18s,border-color .18s,color .18s,transform .18s;
}

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

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  opacity: .45;
  cursor: default;
}

button {
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
.display,
.kpi-value {
  font-family: Sora,Inter,sans-serif;
}

h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.25;
  font-weight: 700;
}

h2 {
  font-size: 17px;
  letter-spacing: -.4px;
  font-weight: 600;
}

h3 {
  font-size: 15px;
  font-weight: 600;
}

p {
  color: var(--muted);
}

small {
  font-size: 12px;
}

strong {
  font-weight: 600;
}

svg.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green)!important;
  box-shadow: 0 0 0 3px #28d6a014;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 200;
  background: var(--green);
  color: #05241a;
  padding: 12px;
}

.skip-link:focus {
  top: 10px;
}

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

.green {
  color: var(--green);
}

.gold {
  color: var(--gold);
}

.cyan {
  color: var(--cyan);
}

.red {
  color: var(--red);
}

.mono {
  font-variant-numeric: tabular-nums;
  font-family: Inter,sans-serif;
}

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

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

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

.wrap {
  flex-wrap: wrap;
}

.grow {
  flex: 1;
  min-width: 0;
}

.end {
  justify-content: flex-end;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mt {
  margin-top: 20px;
}

.mb {
  margin-bottom: 20px;
}

.gap8 {
  gap: 8px;
}

.spaced {
  margin-top: 7px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tiny {
  font-size: 11px;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.section-gap {
  margin-top: 26px;
}

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

.section-title p {
  margin-top: 4px;
  font-size: 12px;
}

.sidebar {
  width: var(--sidebar);
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  background: linear-gradient(180deg,#0c1916,#090f13 34%);
  border-right: 1px solid #23332f;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 29px 24px 25px;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand img.brand-lockup {
  width: auto;
  height: 42px;
  max-width: 196px;
  object-fit: contain;
  object-position: left center;
}

.brand-word {
  font: 800 20px Sora,sans-serif;
  letter-spacing: -1px;
}

.brand-word span {
  color: var(--green);
  font-size: 11px;
  display: block;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  margin-top: 1px;
}

.workspace {
  margin: 0 18px 20px;
  padding: 11px 12px;
  border: 1px solid #263a36;
  border-radius: 8px;
  background: #14221f;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.workspace i {
  margin-left: auto;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.navigation {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 16px;
  min-height: 0;
  scrollbar-width: thin;
}

.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #74867f;
  padding: 10px 13px 9px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aab8c0;
  padding: 12px 13px;
  margin: 3px 0;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 500;
  min-height: 44px;
  border: 1px solid transparent;
}

.nav-link svg {
  color: #81968e;
}

.nav-link:hover {
  background: #13221d;
  color: #fff;
}

.nav-link.active {
  background: linear-gradient(90deg,#123a2d,#10231d);
  color: #e5fff5;
  border-color: #21563f;
  box-shadow: inset 3px 0 var(--green);
}

.nav-link.active svg {
  color: var(--green);
}

.nav-badge {
  margin-left: auto;
  font-size: 10px;
  color: var(--gold);
  background: #34291a;
  border: 1px solid #5b4624;
  border-radius: 5px;
  padding: 1px 5px;
}

.side-bottom {
  border-top: 1px solid #24332f;
  padding: 12px 14px 16px;
  background: #0b1214;
  flex-shrink: 0;
}

.side-bottom .nav-link {
  padding: 8px 12px;
  min-height: 35px;
  font-size: 12px;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 9px 0;
  border-top: 1px solid #22302e;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #183a2d;
  color: #87e9c4;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar.alt {
  background: #253149;
  color: #a3b7df;
}

.avatar.gold-bg {
  background: #382e1e;
  color: var(--gold);
}

.profile strong {
  font-size: 12px;
  display: block;
}

.profile small {
  color: var(--muted);
  font-size: 10px;
}

.logout {
  margin-left: auto;
  color: var(--muted);
  padding: 6px;
}

.shell {
  margin-left: var(--sidebar);
}

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1d2b31;
  padding: 0 38px;
  gap: 18px;
}

.breadcrumb {
  color: #7f909e;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb strong {
  font-weight: 500;
  color: #ccd5dc;
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

.topbar-date {
  font-size: 11px;
  color: var(--muted);
}

.deposit-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  border: 1px solid #1d2b31;
  border-radius: 8px;
  color: #9eabb4;
  font-size: 11px;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.deposit-pulse strong {
  color: #e7eef3;
  font-weight: 650;
}

.deposit-pulse small {
  color: #7f909e;
}

.deposit-pulse:hover {
  border-color: #2f6a52;
  color: #d5e7df;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #a8b6c1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0e1920;
}

.icon-button:hover {
  border-color: #517363;
  background: #15251f;
}

.mobile-menu,
.mobile-close {
  display: none;
}

.content {
  max-width: 1520px;
  margin: auto;
  padding: 32px 38px 85px;
  min-height: calc(100vh - 76px);
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.page-head p {
  margin-top: 8px;
  font-size: 13px;
  max-width: 720px;
}

.page-head .eyebrow {
  margin-bottom: 8px;
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 40px;
  border: 1px solid #33444d;
  border-radius: 9px;
  background: #141f27;
  color: #dce7e9;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: #203039;
  border-color: #50645b;
}

.btn-primary {
  background: linear-gradient(180deg,#29d6a2,#10b884);
  color: #05281d;
  border-color: #47e3b3;
  box-shadow: 0 4px 20px #10bd8719;
}

.btn-primary:hover {
  background: #50e8b8;
  border-color: #8af3ce;
}

.btn-gold {
  background: linear-gradient(180deg,#e3a248,#bd7528);
  color: #23170a;
  border-color: #e9b465;
}

.btn-gold:hover {
  background: #efb569;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: #2b3b44;
}

.btn-small {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 11px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.text-link:hover {
  color: #afffe3;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: -5px 0 26px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  padding: 13px 16px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.tab.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.tab:hover {
  color: white;
  background: #ffffff03;
}

.segmented {
  padding: 3px;
  border: 1px solid #2b3944;
  border-radius: 8px;
  display: inline-flex;
  gap: 2px;
  background: #0b131c;
}

.segmented button {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--muted);
  white-space: nowrap;
}

.segmented button.active {
  background: #244039;
  color: #a9f3d8;
}

.segmented button:hover {
  color: white;
}

.pill {
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  border-radius: 5px;
  padding: 4px 7px;
  background: #1c3028;
  color: #63ddad;
}

.pill.gold {
  background: #352b1e;
  color: var(--gold);
}

.pill.blue {
  background: #182e3e;
  color: #8dceee;
}

.pill.gray {
  background: #202a33;
  color: #9eabb4;
}

.pill.red {
  background: #38232c;
  color: #f0a0ab;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.wide-narrow {
  grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr);
}

.narrow-wide {
  grid-template-columns: minmax(280px,1fr) minmax(0,1.8fr);
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(130deg,#111b24,#0d151f);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}

.panel.no-pad {
  padding: 0;
  overflow: hidden;
}

.panel.inset {
  background: #0b131c;
  box-shadow: none;
  border-radius: 11px;
}

.panel.glow {
  background: radial-gradient(ellipse at 100% 0,#18433266,transparent 55%),linear-gradient(120deg,#132622,#0e1920);
  border-color: #2b5545;
}

.panel.gold-panel {
  background: radial-gradient(ellipse at 90% 10%,#73502035,transparent 65%),linear-gradient(125deg,#1b2023,#101720);
  border-color: #5c492d;
}

.panel-head {
  padding: 22px 24px 18px;
}

.kpi {
  padding: 21px 22px;
  position: relative;
  overflow: hidden;
  min-height: 153px;
}

.kpi .kpi-label {
  font-size: 11px;
  color: #a9b7c2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.kpi-label .icon {
  color: #607e75;
  width: 16px;
  height: 16px;
}

.kpi-value {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1.2px;
  line-height: 1.4;
  margin: 15px 0 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.kpi-value .currency {
  font-size: 17px;
  color: #849e91;
  font-weight: 400;
  margin-left: 3px;
}

.kpi-foot {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.kpi.highlight {
  background: radial-gradient(ellipse at 90% 0,#23795245,transparent 80%),linear-gradient(130deg,#17372a,#0f211d);
  border-color: #32634a;
}

.kpi.highlight .kpi-label {
  color: #bdd8cb;
}

.spark {
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 65px;
  height: 25px;
  opacity: .55;
}

.chart-panel .section-title {
  margin-bottom: 10px;
}

.chart-total {
  font: 600 30px Sora,sans-serif;
  letter-spacing: -1px;
  margin-top: 5px;
}

.chart-total small {
  font: 400 12px Inter,sans-serif;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 8px;
}

.chart-wrap {
  width: 100%;
  margin-top: 16px;
}

.chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.chart-label {
  font: 10px Inter,sans-serif;
  fill: #7e929f;
}

.chart-grid {
  stroke: #24303b;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.chart-line {
  stroke: var(--green);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.chart-legend {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.dot.gold {
  background: var(--gold);
}

.dot.cyan {
  background: var(--cyan);
}

.donut {
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0 70.49%,var(--cyan) 70.49% 93.25%,var(--gold) 93.25% 100%);
  display: grid;
  place-items: center;
  margin: 20px auto 23px;
  position: relative;
  transform: rotate(-90deg);
}

.donut:after {
  content: "";
  position: absolute;
  inset: 13px;
  background: #101922;
  border-radius: 50%;
}

.donut-inner {
  z-index: 1;
  transform: rotate(90deg);
  text-align: center;
}

.donut-inner small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.donut-inner strong {
  font: 600 20px Sora,sans-serif;
  letter-spacing: -.6px;
}

.legend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  font-size: 11px;
}

.legend-row .muted {
  margin-left: 6px;
  font-size: 10px;
}

.progress {
  height: 5px;
  background: #28343f;
  border-radius: 10px;
  overflow: hidden;
}

.progress span {
  height: 100%;
  background: linear-gradient(90deg,#13a979,var(--green));
  display: block;
  border-radius: 10px;
}

.progress.gold span {
  background: linear-gradient(90deg,#a76e24,#eab86c);
}

.rank-emblem {
  width: 58px;
  height: 66px;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#b0bac6,#384858 38%,#7b8a97 42%,#263440 47%,#1a2630);
  clip-path: polygon(50% 0,97% 24%,97% 72%,50% 100%,3% 72%,3% 24%);
  flex-shrink: 0;
}

.rank-emblem:before {
  content: "";
  position: absolute;
  inset: 4px;
  background: linear-gradient(145deg,#263b45,#101820);
  clip-path: inherit;
}

.rank-emblem span {
  position: relative;
  font: 700 19px Sora,sans-serif;
  color: #e1e8ed;
}

.rank-emblem.gold-emblem {
  background: linear-gradient(145deg,#f2d3a2,#956831,#e8bc71,#483017);
}

.rank-emblem.rank-z1 { background: linear-gradient(145deg,#d5dbe2,#5c656e 38%,#9aa3ac 42%,#3f454c 47%,#24282c); }
.rank-emblem.rank-z2 { background: linear-gradient(145deg,#f0c48a,#8a4b16 38%,#cd7f32 42%,#6b3a12 47%,#3a1e0a); }
.rank-emblem.rank-z3 { background: linear-gradient(145deg,#f8fafc,#64748b 38%,#e2e8f0 42%,#475569 47%,#1e293b); }
.rank-emblem.rank-z4 { background: linear-gradient(145deg,#fde68a,#b45309 38%,#fbbf24 42%,#92400e 47%,#451a03); }
.rank-emblem.rank-z5 { background: linear-gradient(145deg,#ccfbf1,#0f766e 38%,#5eead4 42%,#115e59 47%,#042f2e); }
.rank-emblem.rank-z6 { background: linear-gradient(145deg,#d1fae5,#047857 38%,#34d399 42%,#065f46 47%,#022c22); }
.rank-emblem.rank-z7 { background: linear-gradient(145deg,#dbeafe,#1d4ed8 38%,#93c5fd 42%,#1e3a8a 47%,#172554); }
.rank-emblem.rank-z8 { background: linear-gradient(145deg,#f3e8ff,#6b21a8 38%,#c084fc 42%,#581c87 47%,#2e1065); }
.rank-emblem.rank-z9 { background: linear-gradient(145deg,#ffe4e6,#9f1239 38%,#fb7185 42%,#881337 47%,#4c0519); }
.rank-emblem.rank-z10 { background: linear-gradient(145deg,#e0e7ff,#4c1d95 32%,#7dd3fc 42%,#312e81 58%,#1e1b4b); }
.rank-emblem.rank-z1:before { background: linear-gradient(145deg,#3a424a,#1a1e22); }
.rank-emblem.rank-z2:before { background: linear-gradient(145deg,#4a2c16,#1a0e08); }
.rank-emblem.rank-z3:before { background: linear-gradient(145deg,#3d4a5c,#151c26); }
.rank-emblem.rank-z4:before { background: linear-gradient(145deg,#5a3a12,#1c1006); }
.rank-emblem.rank-z5:before { background: linear-gradient(145deg,#115e59,#042422); }
.rank-emblem.rank-z6:before { background: linear-gradient(145deg,#065f46,#021812); }
.rank-emblem.rank-z7:before { background: linear-gradient(145deg,#1e3a8a,#0c1738); }
.rank-emblem.rank-z8:before { background: linear-gradient(145deg,#581c87,#1a0838); }
.rank-emblem.rank-z9:before { background: linear-gradient(145deg,#881337,#2a0610); }
.rank-emblem.rank-z10:before { background: linear-gradient(145deg,#312e81,#120e32); }

.rank-emblem.big {
  width: 86px;
  height: 96px;
}

.rank-emblem.big span {
  font-size: 27px;
}

.stat-mini {
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--line);
}

.stat-mini strong {
  font-size: 18px;
  display: block;
  font-family: Sora,sans-serif;
}

.stat-mini small {
  font-size: 10px;
  color: var(--muted);
}

.stat-inline {
  display: flex;
  gap: 25px;
}

.stat-inline strong {
  font: 600 20px Sora,sans-serif;
  display: block;
}

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

.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #202c37;
}

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

.activity-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #18372c;
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.activity-icon.gold-bg {
  background: #322a20;
  color: var(--gold);
}

.activity-icon.blue {
  background: #1b3039;
  color: var(--cyan);
}

.activity-row strong {
  font-size: 12px;
  display: block;
}

.activity-row p {
  font-size: 10px;
  margin-top: 3px;
}

.activity-row .amount {
  margin-left: auto;
  text-align: right;
}

.activity-row .amount strong {
  font-size: 12px;
}

.activity-row .amount small {
  font-size: 10px;
  color: var(--muted);
}

.hero-balance {
  padding: 30px;
  border: 1px solid #315142;
  background: radial-gradient(ellipse at 100% 0,#26795138,transparent 70%),linear-gradient(110deg,#163225,#0d191c);
  border-radius: 16px;
}

.hero-balance .display {
  font-size: 43px;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 10px 0 8px;
}

.hero-balance .display small {
  font-size: 22px;
  color: #8db09c;
}

.hero-balance p {
  font-size: 12px;
}

.hero-balance .btn {
  margin-top: 18px;
}

.balance-decoration {
  width: 145px;
  height: 145px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #367251;
  background: radial-gradient(circle,#2e68533a,transparent 70%);
  margin: 0 20px;
}

.balance-decoration:after,
.balance-decoration:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #36725180;
  border-radius: 50%;
  transform: rotate(-30deg) scaleX(.8);
  animation: balance-ring-a 22s linear infinite;
}

.balance-decoration:after {
  inset: -12px;
  border-color: #36725140;
  transform: rotate(30deg) scaleX(.8);
  animation: balance-ring-b 28s linear infinite;
}

.balance-decoration img {
  width: 68%;
  height: auto;
  opacity: 1;
  object-fit: contain;
  position: relative;
  z-index: 1;
  animation: anim-core-float 4.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #28463a;
  background: #13231c;
  border-radius: 10px;
  color: #a6c9b8;
  font-size: 12px;
  line-height: 1.6;
}

.notice.gold {
  background: #282218;
  border-color: #5b4727;
  color: #dec49d;
}

.notice.blue {
  background: #14242c;
  border-color: #2c4c59;
  color: #a3cbd7;
}

.notice .icon {
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.notice strong {
  color: #e9f1e8;
}

.notice.small {
  padding: 10px 12px;
  font-size: 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: block;
  margin-bottom: 20px;
  min-width: 0;
}

.field>span,
.field>label {
  font-size: 12px;
  color: #c4d0d7;
  display: block;
  margin-bottom: 9px;
  font-weight: 500;
}

.field small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}

.input,
input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
  border: 1px solid #30414e;
  background: #0b141d;
  color: #f0f5f7;
  min-height: 44px;
}

input::placeholder,
textarea::placeholder {
  color: #697c8d;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 70px;
  font-size: 24px;
  font-family: Sora,sans-serif;
  font-weight: 600;
}

.input-suffix span {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted);
}

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

.choice {
  padding: 15px;
  border: 1px solid #30404d;
  border-radius: 10px;
  text-align: left;
  background: #0d1720;
  display: flex;
  align-items: center;
  gap: 12px;
}

.choice.active {
  background: #173328;
  border-color: #30a87b;
  box-shadow: inset 0 0 0 1px #30a87b33;
}

.choice.gold-choice.active {
  background: #342818;
  border-color: #b78945;
}

.choice strong {
  font-size: 12px;
  display: block;
}

.choice small {
  color: var(--muted);
  font-size: 10px;
  display: block;
  margin-top: 3px;
}

.coin {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #51331b;
  color: #ffbb65;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.coin.eth {
  background: #2b354e;
  color: #b1bfe5;
}

.coin.usdc {
  background: #1b4166;
  color: #b6dcff;
  font-size: 14px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}

.summary-line strong {
  color: #dbe5ea;
  text-align: right;
}

.summary-line.total {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
  font-size: 14px;
}

.summary-line.total strong {
  font: 600 23px Sora,sans-serif;
  color: var(--green);
}

.summary-aside {
  align-self: start;
}

.steps {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
}

.step {
  font-size: 11px;
  color: #6e8494;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.step b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a2932;
  display: grid;
  place-items: center;
  font-size: 10px;
}

.step.active {
  color: var(--green);
}

.step.active b {
  background: #1b4734;
  color: #8febc6;
}

.step-line {
  height: 1px;
  background: #2b3e47;
  flex: 1;
  min-width: 12px;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 9px;
  font-size: 12px;
}

.table-wrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

th {
  font-weight: 500;
  text-align: left;
  color: #8296a6;
  font-size: 10px;
  padding: 13px 20px;
  background: #121f29;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid #202d38;
  color: #d0dae1;
  white-space: nowrap;
}

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

tbody tr:hover {
  background: #1d2d2c33;
}

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

.table-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}

.table-avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  border-radius: 8px;
}

.search {
  position: relative;
  max-width: 340px;
  flex: 1;
}

.search svg {
  position: absolute;
  top: 13px;
  left: 13px;
  color: var(--muted);
  width: 15px;
  height: 15px;
}

.search input {
  padding-left: 36px;
  font-size: 12px;
}

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

.filter-bar select {
  width: auto;
  max-width: 200px;
  font-size: 11px;
  min-height: 38px;
  padding: 9px 12px;
}

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

.cal-dayname {
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  padding: 5px 0 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cal-cell {
  padding: 11px 10px;
  border: 1px solid #253846;
  border-radius: 8px;
  min-height: 84px;
  background: #0e1822;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cal-cell small {
  font-size: 10px;
  color: #8095a4;
}

.cal-cell strong {
  font-size: 11px;
  color: var(--green);
}

.cal-cell.negative strong {
  color: var(--red);
}

.cal-cell.active-day {
  background: #143025;
  border-color: #276147;
}

.cal-cell.today {
  border-color: #46b78b;
}

.cal-cell.empty {
  opacity: .3;
}

.cal-cell.weekend {
  opacity: .55;
}

.cal-cell .gain {
  font-size: 9px;
  color: #9db3ab;
}

.lot {
  border: 1px solid #293b44;
  background: #101b24;
  padding: 17px;
  border-radius: 10px;
  margin-top: 12px;
}

.lot .flex strong {
  font-size: 12px;
}

.lot .progress {
  margin-top: 14px;
}

.lot small {
  font-size: 10px;
}

.network-tree {
  padding: 26px;
  min-width: 660px;
  text-align: center;
}

.tree-node {
  width: 228px;
  border: 1px solid #31594a;
  border-radius: 10px;
  background: #142920;
  padding: 15px;
  margin: auto;
  display: inline-block;
  position: relative;
  z-index: 1;
  cursor: pointer;
  text-align: center;
}

.tree-node strong {
  display: block;
  font-size: 12px;
  margin-top: 7px;
}

.tree-node small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}

.tree-node .avatar {
  margin: auto;
}

.tree-level {
  display: flex;
  justify-content: center;
  gap: 35px;
  padding-top: 44px;
  position: relative;
}

.tree-level:before {
  content: "";
  position: absolute;
  left: 16.7%;
  right: 16.7%;
  top: 20px;
  height: 1px;
  background: #335245;
}

.tree-branch {
  position: relative;
  flex: 1;
}

.tree-branch:before {
  content: "";
  position: absolute;
  height: 25px;
  width: 1px;
  background: #335245;
  top: -24px;
  left: 50%;
}

.tree-trunk {
  height: 24px;
  width: 1px;
  background: #335245;
  margin: 0 auto -24px;
}

.tree-leaf {
  margin: 22px auto 0;
  border: 1px solid #2c3c46;
  border-radius: 8px;
  padding: 9px;
  width: 210px;
  position: relative;
  color: #b4c6c4;
  font-size: 11px;
  background: #0e1920;
  cursor: pointer;
}

.tree-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #2c463c;
  text-align: left;
}

.tree-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8ea89a;
}

.tree-stats .icon,
.tree-grade-hint .icon {
  width: 13px;
  height: 13px;
}

.tree-stat-invest .icon { color: #8fe0b4; }
.tree-stat-volume .icon { color: #7dd3c0; }
.tree-stat-people .icon { color: #93c5fd; }
.tree-stat-shares .icon { color: #f4c47e; }

.panel .tiny .icon {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}

.tree-stats strong {
  display: block;
  margin: 1px 0 0;
  font: 600 12px Sora, sans-serif;
  color: #e7f6ee;
}

.tree-leaf .tree-stats {
  gap: 5px 6px;
}

.tree-leaf .tree-stats strong {
  font-size: 11px;
}

.tree-grade-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 10px;
  color: #8fe0b4;
}

.tree-node > .text-link,
.tree-leaf > .text-link {
  display: inline-flex;
  margin-top: 8px;
}

.tree-leaf:before {
  content: "";
  position: absolute;
  height: 22px;
  width: 1px;
  background: #335245;
  top: -23px;
  left: 50%;
}

.criteria-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.criteria-row:last-child {
  border: 0;
}

.criteria-row .flex {
  font-size: 12px;
  margin-bottom: 9px;
}

.criteria-row .flex strong {
  margin-left: auto;
}

.rank-track {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px;
}

.rank-card {
  padding: 20px 12px;
  text-align: center;
  background: #0e1921;
  border: 1px solid #283c43;
  border-radius: 12px;
}

.rank-card.current {
  border-color: #3e8362;
  background: #152b21;
}

.rank-card .rank-emblem {
  margin: 0 auto 12px;
}

.rank-card h3 {
  font-size: 12px;
}

.rank-card p {
  font-size: 11px;
  margin-top: 5px;
}

.reward-tile {
  padding: 21px;
  border: 1px solid #344438;
  border-radius: 12px;
  background: #13211e;
}

.reward-tile h3 {
  margin-top: 15px;
}

.reward-tile p {
  font-size: 12px;
  margin: 8px 0 16px;
  line-height: 1.65;
}

.quest {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}

.quest:last-child {
  border: 0;
}

.quest-icon {
  background: #1b2e2a;
  color: var(--green);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  flex-shrink: 0;
}

.quest h3 {
  font-size: 13px;
}

.quest p {
  font-size: 11px;
  margin: 5px 0 12px;
}

.quest-reward {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

.podium {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 15px;
  padding: 20px 15px 0;
}

.podium-card {
  flex: 1;
  max-width: 220px;
  border: 1px solid #3a464d;
  border-radius: 13px 13px 0 0;
  background: linear-gradient(180deg,#1c2934,#101a23);
  text-align: center;
  padding: 24px 16px 20px;
  position: relative;
}

.podium-card.winner {
  padding-top: 34px;
  background: radial-gradient(ellipse at 50% 0,#755a2655,transparent 75%),#18201e;
  border-color: #7d623b;
}

.podium-card .place {
  position: absolute;
  top: -13px;
  left: calc(50% - 14px);
  background: #32424e;
  border: 1px solid #536473;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font: 600 12px Sora,sans-serif;
}

.podium-card.winner .place {
  background: #80602b;
  border-color: #d6ad5f;
  color: #fff1d3;
}

.podium-card .avatar {
  margin: auto;
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.podium-card h3 {
  margin: 12px 0 5px;
  font-size: 13px;
}

.podium-card p {
  font-size: 10px;
}

.podium-card .gold {
  font: 600 18px Sora,sans-serif;
  margin-top: 20px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border: 0;
}

.faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary:after {
  content: "+";
  font-size: 20px;
  color: #7f9b8c;
}

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

.faq-item p {
  font-size: 12px;
  padding: 0 30px 20px 0;
  line-height: 1.8;
}

.doc-cover {
  height: 168px;
  position: relative;
  border: 1px solid #375044;
  border-radius: 10px;
  background: radial-gradient(ellipse at 10% 10%,#296a4955,transparent 65%),linear-gradient(140deg,#152c23,#101a23);
  padding: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doc-cover:after {
  content: "Z";
  position: absolute;
  right: -4px;
  bottom: -50px;
  font: bold 190px Sora,sans-serif;
  color: #378b5520;
  transform: skew(-12deg);
}

.doc-cover.gold-cover {
  background: radial-gradient(ellipse at 0 0,#78551f55,transparent 80%),#171e22;
  border-color: #5b4930;
}

.doc-cover.cyan-cover {
  background: radial-gradient(ellipse at 0 0,#1d586255,transparent 80%),#111c25;
  border-color: #2f4c57;
}

.doc-cover strong {
  font: 600 20px Sora,sans-serif;
  z-index: 1;
  max-width: 220px;
}

.doc-cover .eyebrow {
  color: #77ae8c;
}

.doc-info {
  padding: 18px 0 0;
}

.doc-info p {
  font-size: 11px;
  min-height: 36px;
  margin: 8px 0 16px;
}

.help-hero {
  text-align: center;
  padding: 32px;
  margin-bottom: 25px;
}

.help-hero h2 {
  font-size: 24px;
  letter-spacing: -.7px;
}

.help-hero p {
  font-size: 12px;
  margin: 10px 0 20px;
}

.help-hero .search {
  max-width: 560px;
  margin: auto;
}

.help-hero .search input {
  min-height: 48px;
}

.empty-state {
  text-align: center;
  padding: 35px 25px;
}

.empty-state .activity-icon {
  margin: 0 auto 16px;
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.empty-state h3 {
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 12px;
  max-width: 380px;
  margin: auto;
}

.empty-state .btn {
  margin-top: 20px;
}

.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}

.faq-chip {
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
}

.faq-chip.active {
  border-color: #3d7c5b;
  color: #9fe1be;
  background: #163324;
}

.mobile-overlay {
  display: none;
}

.scrim {
  position: fixed;
  inset: 0;
  background: #03080bbc;
  backdrop-filter: blur(6px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal {
  background: linear-gradient(140deg,#14222b,#0d1722);
  border: 1px solid #385347;
  border-radius: 18px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 120px #000a;
  padding: 28px;
}

.modal.wide {
  max-width: 780px;
}

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

.modal-head h2 {
  font-size: 22px;
  letter-spacing: -.7px;
}

.modal-head p {
  font-size: 12px;
  margin-top: 7px;
}

.modal-head .eyebrow {
  margin-bottom: 6px;
  color: var(--green);
}

.qr-box {
  background: #ecf2ee;
  border-radius: 12px;
  padding: 12px;
  width: 166px;
  flex-shrink: 0;
  text-align: center;
}

.qr-box img {
  width: 142px;
  height: 142px;
  display: block;
}

.qr-box small {
  font-size: 8px;
  color: #33473d;
  display: block;
  margin-top: 5px;
}

.payment-amount {
  font: 600 27px Sora,sans-serif;
  letter-spacing: -1px;
  white-space: nowrap;
  margin: 6px 0 10px;
}

.copy-row {
  border: 1px solid #304651;
  background: #0b151f;
  border-radius: 9px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.copy-row small {
  color: var(--muted);
  display: block;
  font-size: 9px;
  margin-bottom: 4px;
}

.copy-row strong {
  font-size: 11px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.copy-row button {
  color: var(--green);
  font-size: 11px;
}

.pulse-ring {
  width: 74px;
  height: 74px;
  border: 1px solid #26704e;
  background: #163d2b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  margin: 20px auto;
  position: relative;
}

.pulse-ring:before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid #3fc38b70;
  border-radius: 50%;
  animation: pulse 2.5s ease-out infinite;
}

.pulse-ring svg {
  width: 27px;
  height: 27px;
}

.success-ring {
  background: #204d34;
  border-color: #4aad76;
}

#toast {
  position: fixed;
  bottom: 72px;
  right: 24px;
  max-width: 360px;
  padding: 13px 18px;
  background: #1f3b2e;
  border: 1px solid #467859;
  border-radius: 10px;
  z-index: 130;
  font-size: 12px;
  color: #d9f0e4;
  box-shadow: 0 10px 30px #0006;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s,transform .2s;
}

#toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: radial-gradient(ellipse at 10% 20%,#175b3844,transparent 60%),#0a1117;
}

.auth-art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.auth-art .brand {
  padding: 0;
}

.auth-art h1 {
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: -2px;
  margin: 40px 0 18px;
  max-width: 450px;
}

.auth-art>div>p {
  max-width: 410px;
  font-size: 14px;
  line-height: 1.8;
}

.auth-art .hero-balance {
  margin: 45px 0;
  transform: rotate(-3deg);
  max-width: 420px;
  box-shadow: 30px 35px 80px #0007;
}

.auth-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
}

.auth-inner {
  width: 100%;
  max-width: 420px;
}

.auth-inner h1 {
  font-size: 29px;
}

.auth-inner>p {
  margin: 12px 0 28px;
  font-size: 12px;
}

.auth-inner .btn {
  width: 100%;
}

.auth-inner .notice {
  margin-top: 22px;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 20px;
}

.auth-check input {
  accent-color: var(--green);
  margin: 3px 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-top: 15px;
  color: #b6c8ce;
}

.check-row input {
  accent-color: var(--green);
}

.auth-form .form-grid {
  gap: 12px;
}

.auth-form .field {
  margin-bottom: 16px;
}

.auth-back {
  position: absolute;
  right: 25px;
  top: 25px;
}

.guide-block {
  padding: 20px;
  border-left: 2px solid #3b8761;
  background: #12221c;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.guide-block h3 {
  margin-bottom: 8px;
}

.guide-block p {
  font-size: 12px;
  line-height: 1.8;
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
}

.level-cell {
  padding: 13px 10px;
  border: 1px solid #2a4b3c;
  border-radius: 8px;
  background: #143024;
  text-align: center;
}

.level-cell small {
  font-size: 10px;
  color: #97b0a1;
  display: block;
}

.level-cell strong {
  color: var(--green);
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

.level-cell.locked {
  background: #111d26;
  border-color: #2e3c46;
}

.level-cell.locked strong {
  color: #899dab;
}

.messages {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 440px;
}

.conversation-list {
  border-right: 1px solid var(--line);
  padding: 15px;
}

.conversation {
  padding: 15px 10px;
  border-radius: 9px;
}

.conversation.active {
  background: #193428;
}

.conversation strong {
  font-size: 12px;
}

.conversation p {
  font-size: 10px;
  margin-top: 4px;
}

.conversation-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.message-bubble {
  max-width: 85%;
  padding: 14px 17px;
  background: #1d2b36;
  border-radius: 12px 12px 12px 0;
  font-size: 12px;
  color: #c0d1db;
  line-height: 1.7;
}

.message-bubble.outgoing {
  margin-left: auto;
  margin-top: 20px;
  background: #1b3c2d;
  border-radius: 12px 12px 0 12px;
}

.composer {
  margin-top: auto;
  padding-top: 25px;
  display: flex;
  gap: 10px;
}

.composer input {
  font-size: 12px;
}

.rate-big {
  font: 600 42px Sora,sans-serif;
  color: var(--green);
  letter-spacing: -2px;
}

.rate-big small {
  font: 400 12px Inter,sans-serif;
  letter-spacing: 0;
  color: var(--muted);
}

.chart-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 10px;
  color: var(--muted);
}

.inline-input {
  padding: 9px 12px;
  font-size: 12px;
  min-height: 36px;
}

.rank-summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mini-bars {
  height: 70px;
  display: flex;
  align-items: end;
  gap: 6px;
  margin-top: 20px;
}

.mini-bars i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#32c58e,#17392e);
  min-height: 3px;
}

.year-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}

@keyframes pulse {
  0% {
    transform: scale(.9);
    opacity: .8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    scroll-behavior: auto!important;
    transition: none!important;
  }
}

@media(min-width:1700px) {
  .content {
    padding-top: 42px;
  }
  .page-head {
    margin-bottom: 34px;
  }
  .kpi {
    min-height: 166px;
  }
  .kpi-value {
    font-size: 32px;
  }
}

@media(max-width:1200px) {
  :root {
    --sidebar: 220px;
  }
  .brand {
    padding-left: 20px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px 85px;
  }
  .kpi {
    padding: 18px;
  }
  .kpi-value {
    font-size: 23px;
  }
  .wide-narrow {
    grid-template-columns: minmax(0,1.5fr) minmax(260px,1fr);
  }
  .panel {
    padding: 21px;
  }
  .cols3 {
    gap: 15px;
  }
  .topbar-date {
    display: none;
  }
  .cal-cell {
    padding: 9px 6px;
  }
  .auth-art {
    padding: 40px;
  }
  .auth-art h1 {
    font-size: 36px;
  }
  .stat-inline {
    gap: 16px;
  }
}

@media(max-width:1000px) {
  :root {
    --sidebar: 205px;
  }
  .nav-link {
    padding: 11px 10px;
    font-size: 12px;
  }
  .brand-word {
    font-size: 18px;
  }
  .brand img {
    width: 33px;
    height: 33px;
  }
  .brand img.brand-lockup {
    width: auto;
    height: 34px;
    max-width: 158px;
  }
  .cols4 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .wide-narrow,
  .narrow-wide {
    grid-template-columns: 1fr;
  }
  .kpi-value {
    font-size: 28px;
  }
  .chart-panel .chart-wrap {
    max-height: none;
  }
  .donut-panel {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 28px;
    align-items: center;
  }
  .donut-panel .section-title {
    grid-column: 1/-1;
  }
  .donut-panel .donut {
    width: 145px;
    height: 145px;
    margin: 10px auto;
  }
  .donut-panel .donut-legend {
    width: 100%;
  }
  .rank-track {
    grid-template-columns: repeat(5,1fr);
  }
  .rank-card {
    padding: 15px 6px;
  }
  .cols3 {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .cols3>.panel:last-child:nth-child(3) {
    grid-column: 1/-1;
  }
  .page-head {
    align-items: flex-start;
  }
  .page-head .flex {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .messages {
    grid-template-columns: 220px 1fr;
  }
  .auth-layout {
    grid-template-columns: 45% 55%;
  }
  .auth-art {
    padding: 30px;
  }
  .auth-art h1 {
    font-size: 31px;
  }
  .auth-form {
    padding: 35px;
  }
  .balance-decoration {
    width: 110px;
    height: 110px;
  }
}

@media(max-width:760px) {
  :root {
    --sidebar: 244px;
    /* Safari place déjà le viewport sous la barre d’état : un plancher
       (3.25rem) laissait un grand vide. On ne décale que l’encoche réelle. */
    --sz-safe-top: env(safe-area-inset-top, 0px);
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .2s;
    top: var(--ui-vvtop, 0px);
    bottom: auto;
    height: var(--ui-vvh, 100dvh);
    padding-top: var(--sz-safe-top);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-overlay.open {
    display: block;
    position: fixed;
    top: var(--ui-vvtop, 0px);
    right: 0;
    left: 0;
    bottom: auto;
    height: var(--ui-vvh, 100dvh);
    background: #0009;
    z-index: 49;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .mobile-close {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    color: #8da69d;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: calc(65px + var(--sz-safe-top));
    padding: var(--sz-safe-top) max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px));
    gap: 8px;
  }
  .topbar .breadcrumb {
    display: none;
  }
  .topbar .avatar {
    display: none;
  }
  .topbar .flex {
    gap: 8px;
  }
  .deposit-pulse {
    gap: 6px;
    padding: 4px 6px;
    font-size: 10px;
  }
  .deposit-pulse small {
    display: none;
  }
  .topbar .icon-button {
    height: 44px;
    width: 44px;
  }
  .content {
    padding: 25px 18px 90px;
  }
  .page-head {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 22px;
  }
  .page-head .flex {
    justify-content: flex-start;
  }
  .page-head h1 {
    font-size: 26px;
  }
  .page-head p {
    font-size: 12px;
  }
  .page-head .btn {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 38px;
  }
  .grid {
    gap: 15px;
  }
  .cols2,
  .cols3 {
    grid-template-columns: 1fr;
  }
  .cols3>.panel:last-child:nth-child(3) {
    grid-column: auto;
  }
  .kpi {
    padding: 16px;
    min-height: 137px;
  }
  .kpi-value {
    font-size: 23px;
    margin-top: 14px;
  }
  .kpi-label {
    font-size: 10px!important;
  }
  .kpi-foot {
    font-size: 9px;
  }
  .kpi-label .icon {
    width: 13px;
    height: 13px;
  }
  .spark {
    display: none;
  }
  .panel {
    padding: 20px;
  }
  .tabs {
    margin: 0 0 22px;
  }
  .tab {
    padding: 12px;
    font-size: 11px;
  }
  .hero-balance {
    padding: 24px;
  }
  .hero-balance .display {
    font-size: 36px;
  }
  .balance-decoration {
    display: none;
  }
  .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-title h2 {
    font-size: 16px;
  }
  .chart-total {
    font-size: 26px;
  }
  .chart-total small {
    font-size: 10px;
  }
  .chart-wrap {
    margin-top: 12px;
  }
  .donut-panel {
    grid-template-columns: 130px 1fr;
    gap: 0 14px;
  }
  .donut-panel .donut {
    width: 125px;
    height: 125px;
  }
  .donut-inner strong {
    font-size: 17px;
  }
  .donut-inner small {
    font-size: 8px;
  }
  .legend-row {
    font-size: 10px;
  }
  .legend-row .muted {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar .search {
    max-width: none;
    min-width: 190px;
  }
  .calendar {
    gap: 5px;
  }
  .cal-cell {
    padding: 7px 4px;
    min-height: 68px;
    gap: 5px;
  }
  .cal-cell strong {
    font-size: 8px;
  }
  .cal-cell .gain {
    font-size: 8px;
  }
  .cal-cell small {
    font-size: 9px;
  }
  .cal-dayname {
    font-size: 8px;
    letter-spacing: 0;
  }
  .cal-cell:nth-child(7n),
  .cal-cell:nth-child(7n - 1) {
    padding-left: 2px;
    padding-right: 2px;
  }
  .rank-track {
    grid-template-columns: repeat(2,1fr);
  }
  .rank-card {
    padding: 20px 10px;
  }
  .rank-card .rank-emblem {
    width: 50px;
    height: 56px;
  }
  .rank-summary {
    gap: 15px;
  }
  .stat-inline {
    flex-wrap: wrap;
    gap: 18px;
  }
  .stat-inline strong {
    font-size: 18px;
  }
  .modal {
    padding: 22px;
    max-height: 92vh;
    border-radius: 14px;
  }
  .scrim {
    padding: 13px;
  }
  .modal-head h2 {
    font-size: 20px;
  }
  .payment-amount {
    font-size: 23px;
  }
  .payment-layout {
    flex-direction: column;
    align-items: center;
  }
  .payment-layout>.grow {
    width: 100%;
  }
  .qr-box {
    width: 142px;
    padding: 10px;
  }
  .qr-box img {
    width: 122px;
    height: 122px;
  }
  .step {
    font-size: 9px;
    gap: 5px;
  }
  .step b {
    width: 21px;
    height: 21px;
  }
  .auth-layout {
    display: block;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    min-height: 100vh;
    padding: 80px 25px 50px;
  }
  .auth-inner {
    max-width: 450px;
  }
  .auth-inner:before {
    content: "SignalZ Crypto";
    display: block;
    color: var(--green);
    font: 700 18px Sora,sans-serif;
    margin-bottom: 35px;
  }
  .auth-back {
    right: 18px;
    top: 18px;
  }
  .auth-form .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .messages {
    display: block;
  }
  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .conversation-list .conversation:not(.active) {
    display: none;
  }
  .conversation-body {
    min-height: 360px;
    padding: 20px;
  }
  .podium {
    gap: 8px;
    padding: 16px 0 0;
  }
  .podium-card {
    padding: 22px 8px 15px;
  }
  .podium-card h3 {
    font-size: 11px;
  }
  .podium-card .gold {
    font-size: 13px;
  }
  .podium-card .avatar {
    width: 35px;
    height: 35px;
    font-size: 10px;
  }
  .podium-card p {
    font-size: 9px;
  }
  .level-grid {
    grid-template-columns: repeat(4,1fr);
  }
  .table-footer {
    gap: 10px;
  }
  .table-footer .btn-small {
    padding: 5px 8px;
  }
  .hero-balance .flex {
    flex-wrap: wrap;
  }
}

@media print {
  .sidebar,
  .topbar,
  .btn,
  .tabs {
    display: none!important;
  }
  .shell {
    margin: 0;
  }
  .content {
    padding: 15px;
    max-width: 100%;
  }
  .panel,
  .hero-balance {
    break-inside: avoid;
  }
  .scrim {
    position: static;
  }
}

.command-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #36745b;
  border-radius: 16px;
  background: radial-gradient(ellipse at 5% 5%,#1c644239,transparent 58%),radial-gradient(ellipse at 95% 100%,#bc852526,transparent 50%),linear-gradient(115deg,#12251f,#101a21 55%,#161e23);
  box-shadow: inset 0 1px #9bf5cc13,0 0 32px #18bc7810;
}

.command-banner:before {
  content: "";
  position: absolute;
  right: 9%;
  top: -55px;
  width: 260px;
  height: 260px;
  z-index: -1;
  border: 1px solid #3bea9c0d;
  transform: rotate(35deg);
  box-shadow: 0 0 0 35px #5af3ac03,0 0 0 70px #5af3ac03;
  pointer-events: none;
}

.command-main {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.command-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 190px;
}

.command-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 58px;
  background: linear-gradient(145deg,#254d3e,#102d22);
  border: 1px solid #538d6b;
  border-radius: 14px;
  color: #a1f5cf;
  font: 700 18px Sora;
  box-shadow: 0 0 22px #54ec9c12;
  flex-shrink: 0;
}

.command-avatar>span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #68f3b5;
  border: 2px solid #13291e;
  border-radius: 50%;
  bottom: 5px;
  right: 5px;
  box-shadow: 0 0 8px #60e9a7;
}

.command-profile .eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #8fbfa9;
}

.command-profile .eyebrow b {
  color: #8dffc7;
}

.command-profile h2 {
  font-size: 24px;
  letter-spacing: -.7px;
  margin: 4px 0;
}

.command-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #c4dace;
}

.command-status .rank-emblem {
  width: 19px;
  height: 23px;
}

.command-status .rank-emblem:before {
  inset: 2px;
}

.command-status .rank-emblem span {
  font-size: 7px;
}

.command-stats {
  display: flex;
  gap: 30px;
}

.command-stats>div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.command-stats span {
  font-size: 11px;
  color: #a0b4ac;
}

.command-stats strong {
  font: 600 23px Sora;
  letter-spacing: -.7px;
  white-space: nowrap;
}

.command-stats strong small {
  font: 700 18px Sora, sans-serif;
  color: #f0f4f7;
  letter-spacing: -.4px;
}

.command-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.command-withdraw {
  font-size: 11px;
  color: #b0c3ba;
}

.command-withdraw svg {
  width: 12px;
  height: 12px;
  margin-left: 3px;
}

.command-bottom {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 14px 28px;
  background: #07171050;
  border-top: 1px solid #3969494d;
}

.command-goal {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #a7bcb1;
  white-space: nowrap;
}

.command-goal strong {
  color: #effff5;
}

.command-goal svg {
  width: 16px;
  height: 16px;
}

.command-progress {
  flex: 1;
  max-width: 330px;
}

.command-progress>span {
  font-size: 10px;
  display: block;
  color: #8fa99b;
  margin-top: 5px;
}

.command-prize {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 11px;
  color: #a6b9ac;
}

.command-prize strong {
  color: #f4c47e;
  font: 600 16px Sora;
}

.command-prize svg {
  width: 13px;
  height: 13px;
}

.btn-deposit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 44px;
  box-shadow: 0 0 0 1px #94f9c718,0 5px 24px #26d99224,0 0 35px #26d9920d;
  transition: box-shadow .2s,transform .2s,background .2s;
}

.btn-deposit:after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -65%;
  width: 45%;
  transform: skew(-18deg);
  background: linear-gradient(90deg,transparent,#ffffff38,transparent);
  transition: left .45s;
  pointer-events: none;
}

.btn-deposit:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 30px #26d9923d;
}

.btn-deposit:hover:after {
  left: 125%;
}

.btn-gold.btn-deposit {
  box-shadow: 0 4px 24px #dc9b2420;
}

.investment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #2b3e36;
}

.investment-actions .btn {
  flex: 1;
  font-size: 11px;
}

.dashboard-performance {
  grid-template-columns: minmax(0,2.7fr) minmax(240px,1fr);
}

.dashboard-performance .chart-wrap {
  margin-top: 22px;
}

.dashboard-performance .chart-line {
  filter: drop-shadow(0 0 4px #28d6a025);
}

.source-breakdown {
  display: flex;
  flex-direction: column;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
}

.source-item .flex {
  font-size: 12px;
}

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

.source-item>strong {
  font: 600 20px Sora;
  display: block;
  margin: 9px 0 10px;
  letter-spacing: -.6px;
}

.source-track {
  height: 4px;
  border-radius: 10px;
  background: #28343b;
  overflow: hidden;
}

.source-track span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 10px;
}

.source-track .cyan {
  background: var(--cyan);
}

.source-track .gold {
  background: var(--gold);
}

.source-footer {
  margin-top: auto;
  padding-top: 25px;
}

.nav-link.active {
  box-shadow: inset 3px 0 #62f2b6,inset 0 0 20px #52edab05,0 0 12px #1ce99606;
}

.rank-emblem {
  filter: drop-shadow(0 0 7px #88c8b022);
}

.rank-emblem.gold-emblem {
  filter: drop-shadow(0 0 8px #d7a4562e);
}

.rank-card.current {
  box-shadow: inset 0 1px #71e8a91c,0 0 20px #27c48415;
}

.rank-card,
.reward-tile {
  transition: transform .2s,border-color .2s,box-shadow .2s;
}

.rank-card:hover,
.reward-tile:hover {
  transform: translateY(-2px);
  border-color: #568f6c;
  box-shadow: 0 6px 22px #0003;
}

.progress span {
  box-shadow: 0 0 7px #28d6a030;
  animation: progress-enter .65s ease-out both;
  transform-origin: left;
}

.progress.gold span {
  box-shadow: 0 0 7px #edb5632e;
}

.success-ring {
  animation: success-enter .4s ease-out;
}

.success-ring:before {
  animation-iteration-count: 2;
}

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

.calendar-tools .segmented button {
  font-size: 11px;
  padding: 8px 11px;
  min-height: 34px;
}

.calendar-summary {
  font-size: 12px;
  color: #a8c5b6;
  white-space: nowrap;
}

.v2-calendar {
  gap: 8px;
}

.v2-calendar .cal-dayname {
  font-size: 11px;
  letter-spacing: .3px;
}

.v2-calendar .cal-cell {
  position: relative;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px;
  gap: 8px;
  min-height: 85px;
  font-variant-numeric: tabular-nums;
  width: 100%;
  text-align: left;
}

.v2-calendar .cal-date {
  font-size: 12px;
  color: #91ada0;
}

.v2-calendar .cal-value {
  font-size: 15px;
  letter-spacing: -.4px;
  line-height: 1.3;
  white-space: nowrap;
}

.v2-calendar .cal-idle {
  font-size: 11px;
  color: #6f867c;
}

.v2-calendar button.cal-cell {
  background: linear-gradient(130deg,#13382b,#12251f);
  border-color: #285443;
  box-shadow: inset 0 1px #7aedb207;
}

.v2-calendar button.cal-cell.negative {
  background: linear-gradient(130deg,#322127,#211a22);
  border-color: #53343d;
}

.v2-calendar button.cal-cell:hover {
  border-color: #6ae3aa;
  box-shadow: 0 0 14px #28d6a01b;
  transform: translateY(-1px);
}

.v2-calendar .today {
  border-color: #70d8ad;
  background: #17352b;
}

.cal-tick {
  position: absolute;
  right: 7px;
  top: 10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #6ae3aa;
  opacity: .6;
}

.negative .cal-tick {
  background: #e8909a;
}

.calendar-caption {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 16px;
}

.calendar-caption .icon {
  width: 14px;
  height: 14px;
}

.compact-calendar .cal-cell {
  min-height: 70px;
}

.pagination {
  display: flex;
  gap: 6px;
}

.pagination button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #32473d;
  border-radius: 7px;
  background: #122019;
  color: #adc3b7;
  font-size: 12px;
}

.pagination button.active {
  border-color: #49ba83;
  background: #174632;
  color: #bfffe0;
  box-shadow: 0 0 12px #2adb9310;
}

.pagination button:hover:not(:disabled) {
  border-color: #73c398;
}

.history-filters .flex {
  gap: 8px;
}

.withdraw-condition {
  padding: 17px;
  border-radius: 10px;
  border: 1px solid #30624c;
  background: linear-gradient(110deg,#19392c99,#10231c55);
  margin: 6px 0 20px;
}

.withdraw-condition .flex {
  gap: 8px;
  color: #81e4b4;
  font-size: 13px;
}

.withdraw-condition .flex>.icon {
  width: 17px;
  height: 17px;
}

.withdraw-condition p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
}

.condition-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #3c61454f;
  font-size: 12px;
}

.condition-amount>span {
  color: #9eb4a7;
}

.condition-amount>strong {
  color: #96e6bf;
  white-space: nowrap;
}

.condition-amount strong span {
  font-weight: 400;
  color: #90a69a;
}

.withdraw-condition .condition-status {
  font-size: 11px;
  color: #91c0a4;
}

.withdraw-condition.blocked {
  background: linear-gradient(110deg,#3d302099,#241f1855);
  border-color: #75582e;
}

.blocked .flex,
.blocked .condition-amount>strong {
  color: #efcd87;
}

.blocked .condition-status {
  color: #d4bb8b;
}

.withdraw-eligibility-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #82cea3;
  font-size: 11px;
  margin-bottom: 12px;
}

.withdraw-eligibility-mini .icon {
  width: 14px;
  height: 14px;
}

@keyframes progress-enter {
  from {
    transform: scaleX(.1);
    opacity: .5;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes success-enter {
  0% {
    transform: scale(.65);
    opacity: .2;
  }
  70% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media(max-width:1250px) {
  .command-main {
    gap: 18px;
    padding: 22px;
  }
  .command-stats {
    gap: 20px;
  }
  .command-stats strong {
    font-size: 21px;
  }
  .command-profile {
    min-width: 160px;
  }
  .command-profile h2 {
    font-size: 21px;
  }
  .command-avatar {
    display: none;
  }
  .command-bottom {
    padding: 14px 22px;
    gap: 17px;
  }
  .dashboard-performance {
    grid-template-columns: minmax(0,2.2fr) minmax(210px,1fr);
  }
  .source-item>strong {
    font-size: 18px;
  }
  .command-actions .btn {
    padding: 11px 13px;
    font-size: 11px;
  }
}

@media(max-width:1050px) {
  .command-main {
    flex-wrap: wrap;
  }
  .command-profile {
    flex: 1;
  }
  .command-actions {
    flex-direction: row;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .command-actions .btn {
    min-width: 180px;
  }
  .dashboard-performance {
    grid-template-columns: 1fr;
  }
  .source-list {
    flex-direction: row;
    gap: 20px;
  }
  .source-item {
    flex: 1;
    min-width: 0;
  }
  .source-item .flex {
    flex-wrap: wrap;
    gap: 4px;
  }
  .source-footer {
    padding-top: 18px;
  }
  .source-breakdown .section-title {
    margin-bottom: 8px;
  }
  .command-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .command-progress {
    max-width: none;
  }
  .command-prize {
    margin-left: auto;
  }
  .calendar-summary {
    font-size: 11px;
  }
}

@media(max-width:760px) {
  .command-main {
    padding: 20px;
    gap: 18px;
  }
  .command-profile {
    width: 100%;
    min-width: 0;
  }
  .command-avatar {
    display: grid;
    width: 44px;
    height: 50px;
    font-size: 15px;
  }
  .command-profile h2 {
    font-size: 23px;
  }
  .command-profile .eyebrow {
    font-size: 9px;
  }
  .command-stats {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid #3865483b;
    border-bottom: 1px solid #3865483b;
  }
  .command-stats strong {
    font-size: 23px;
  }
  .command-stats span {
    font-size: 11px;
  }
  .command-actions {
    gap: 12px;
  }
  .command-actions .btn {
    min-width: 0;
    flex: 1;
    min-height: 44px;
  }
  .command-withdraw {
    font-size: 11px;
  }
  .command-bottom {
    padding: 14px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 11px;
  }
  .command-progress {
    grid-row: 2;
    grid-column: 1/-1;
    width: 100%;
  }
  .command-prize {
    font-size: 0;
    gap: 5px;
  }
  .command-prize strong {
    font-size: 16px;
  }
  .command-goal {
    font-size: 11px;
  }
  .source-list {
    gap: 14px;
  }
  .source-item .flex {
    font-size: 10px;
  }
  .source-item small {
    font-size: 10px;
  }
  .source-item>strong {
    font-size: 15px;
    white-space: nowrap;
    letter-spacing: -.5px;
  }
  .source-breakdown {
    padding: 18px;
  }
  .source-track {
    height: 3px;
  }
  .dashboard-performance .chart-callout {
    flex-wrap: wrap;
    font-size: 10px;
  }
  .dashboard-performance .chart-panel .section-title {
    gap: 12px;
  }
  .calendar-module {
    padding: 17px 12px;
  }
  .calendar-module .section-title {
    padding: 0 4px;
  }
  .calendar-tools {
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px;
    margin-bottom: 12px;
  }
  .calendar-tools .segmented {
    width: 100%;
    display: flex;
  }
  .calendar-tools .segmented button {
    flex: 1;
    font-size: 11px;
    min-height: 37px;
  }
  .calendar-summary {
    font-size: 11px;
  }
  .v2-calendar {
    gap: 4px;
  }
  .v2-calendar .cal-dayname {
    font-size: 10px;
    padding-bottom: 5px;
  }
  .v2-calendar .cal-cell,
  .compact-calendar .cal-cell {
    padding: 8px 3px;
    min-height: 60px;
    border-radius: 6px;
    align-items: center;
    gap: 6px;
  }
  .v2-calendar .cal-date {
    font-size: 11px;
  }
  .v2-calendar .cal-value {
    font-size: 12px;
    letter-spacing: -.5px;
    line-height: 1.3;
  }
  .v2-calendar .cal-idle {
    font-size: 9px;
  }
  .v2-calendar .cal-cell:nth-child(7n),
  .v2-calendar .cal-cell:nth-child(7n - 1) {
    padding-left: 3px;
    padding-right: 3px;
  }
  .cal-tick {
    display: none;
  }
  .calendar-caption {
    font-size: 10px;
    align-items: flex-start;
    line-height: 1.6;
    padding: 0 4px;
  }
  .calendar-caption .icon {
    margin-top: 2px;
  }
  .history-filters>.flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .history-filters select {
    max-width: none;
    width: 100%;
  }
  .history-filters #history-month {
    grid-column: 1/-1;
  }
  .table-footer {
    flex-wrap: wrap;
  }
  .pagination button {
    width: 36px;
    height: 36px;
  }
  .withdraw-condition {
    padding: 14px;
  }
  .condition-amount {
    flex-wrap: wrap;
    gap: 6px;
  }
  .investment-actions .btn {
    font-size: 11px;
    min-height: 44px;
  }
}

@media(max-width:380px) {
  .command-main {
    padding: 17px;
  }
  .command-stats strong {
    font-size: 21px;
  }
  .command-status {
    font-size: 10px;
  }
  .command-actions .btn {
    font-size: 10px;
    padding: 10px;
  }
  .command-withdraw {
    font-size: 10px;
  }
  .command-bottom {
    padding: 13px 17px;
  }
  .source-list {
    gap: 9px;
  }
  .source-item>strong {
    font-size: 13px;
  }
  .source-item .dot {
    width: 5px;
    height: 5px;
    margin-right: 3px;
  }
  .v2-calendar {
    gap: 3px;
  }
  .v2-calendar .cal-value {
    font-size: 11px;
  }
  .v2-calendar .cal-cell {
    padding-left: 1px;
    padding-right: 1px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .progress span,
  .success-ring {
    animation: none;
  }
  .btn-deposit:after {
    display: none;
  }
}

[hidden] {
  display: none!important;
}

.command-status {
  font-size: 12px;
  gap: 7px;
}

.command-status .rank-emblem {
  width: 28px;
  height: 32px;
}

.command-status .rank-emblem span {
  font-size: 10px;
}

.command-status .muted {
  font-size: 11px;
}

.kpi-detailed {
  display: flex;
  flex-direction: column;
  min-height: 174px;
}

.kpi-detailed .kpi-label>span {
  min-width: 0;
}

.metric-link {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #38554a;
  border-radius: 8px;
  background: #18352a66;
  color: #8bdcba;
  transition: background .2s,border-color .2s,transform .2s;
}

.metric-link .icon {
  color: inherit;
  width: 14px;
  height: 14px;
}

.metric-link:hover {
  background: #235b40;
  border-color: #60c999;
  transform: translateX(1px);
}

.metric-link:focus-visible,
.rank-card:focus-visible,
.rank-detail-button:focus-visible,
.week-day:focus-visible {
  outline: 2px solid #91efbd;
  outline-offset: 4px;
}

.kpi-detailed .kpi-value {
  margin-top: 10px;
}

.kpi-detailed .kpi-foot {
  line-height: 1.5;
  min-height: 15px;
}

.metric-delta {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  margin-top: auto;
  padding-top: 15px;
  font-size: 10px;
  color: #8ea79b;
}

.metric-delta strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #8bf1b7;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.activity-dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6de9a5;
  box-shadow: 0 0 8px #4aec9a48;
  animation: activity-breathe 3.2s ease-in-out infinite;
}

.is-flat .activity-dot {
  background: #8ca59a;
  animation: none;
  box-shadow: none;
}

.is-flat strong {
  color: #9ab0a6;
}

.is-negative strong {
  color: #e8909a;
}

.is-negative .activity-dot {
  background: #e8909a;
  animation: none;
  box-shadow: none;
}

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

.network-metrics .kpi {
  padding: 20px 16px;
}

.network-metrics .kpi-value {
  font-size: clamp(19px,1.55vw,27px);
  letter-spacing: -.8px;
}

.network-metrics .kpi-label {
  min-height: 30px;
  line-height: 1.5;
}

.network-metrics .metric-delta {
  gap: 5px;
}

.network-metrics .metric-delta>span {
  font-size: 9px;
}

.btn-referral {
  position: relative;
  background: linear-gradient(115deg,#54ecaa,#30cc92);
  color: #062a1d!important;
  border-color: #8bf5c5;
  box-shadow: 0 0 0 1px #8cf1bd18,0 4px 24px #36db9530;
  font-weight: 700;
  transition: box-shadow .2s,transform .2s;
}

.btn-referral:hover {
  background: linear-gradient(115deg,#7af4bc,#43dfa0);
  box-shadow: 0 5px 30px #38e99c4a;
  transform: translateY(-1px);
}

.referral-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 20px;
  border: 1px solid #305c46;
  border-radius: 12px;
  background: radial-gradient(ellipse at left,#237e4326,transparent 70%),#101f1b;
  box-shadow: inset 0 1px #83eab90a;
}

.referral-strip-label {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.referral-strip-label>.icon {
  width: 20px;
  height: 20px;
  color: #73dfaa;
}

.referral-strip-label strong {
  font-size: 12px;
}

.referral-strip-label small {
  display: block;
  font-size: 10px;
  color: #95afa0;
  margin-top: 4px;
}

.referral-address {
  min-width: 0;
  flex: 1;
  color: #b1cfc0;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-strip .btn {
  flex-shrink: 0;
  font-size: 11px;
  min-height: 40px;
}

.week-days {
  display: grid;
  grid-template-columns: repeat(7,minmax(0,1fr));
  gap: 9px;
}

.week-day {
  min-width: 0;
  text-align: left;
  border: 1px solid #2e5744;
  background: linear-gradient(145deg,#173728,#10231d);
  border-radius: 9px;
  padding: 12px 13px;
  color: #8aefbb;
  transition: border-color .2s,transform .2s;
}

.week-day>span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #a1b9ac;
  text-transform: capitalize;
}

.week-day b {
  font-size: 12px;
  color: #c4ddcf;
}

.week-day>strong {
  display: block;
  font: 600 17px Sora,Inter,sans-serif;
  letter-spacing: -.5px;
  margin-top: 14px;
  white-space: nowrap;
}

.week-day small {
  font: 400 11px Inter,sans-serif;
  margin-left: 4px;
  opacity: .8;
}

.week-day.negative {
  border-color: #593540;
  background: linear-gradient(135deg,#32242c,#211a22);
  color: #e39aa7;
}

.week-day.is-rest {
  background: #101a20;
  border-color: #293840;
}

.week-day.is-rest>strong {
  color: #7e9691;
  font: 400 12px Inter,sans-serif;
}

.week-day:not(.is-rest):hover {
  border-color: #77dba5;
  transform: translateY(-2px);
}

.week-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: #90ad9c;
  margin-top: 15px;
}

.week-footer strong {
  font-size: 13px;
}

.pulse-network {
  background: radial-gradient(ellipse at 100% 0,#20614320,transparent 65%),#111d23;
  border-color: #2c4e40;
}

.pulse-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8bbf9f;
  font-size: 10px;
  white-space: nowrap;
}

.pulse-feed {
  display: grid;
  gap: 4px;
}

.pulse-row {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  width: 100%;
  color: inherit;
  border: 0;
  border-bottom: 1px solid #29423588;
  padding: 12px 0;
  background: transparent;
  transition: background .2s;
}

.pulse-row:hover {
  background: #254d321b;
}

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

.pulse-row .activity-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.pulse-row .activity-icon .icon {
  width: 16px;
  height: 16px;
}

.pulse-row .grow {
  min-width: 0;
}

.pulse-row .grow strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.pulse-row small {
  display: block;
  font-size: 11px;
  color: #8fa69b;
  margin-top: 4px;
  line-height: 1.5;
}

.pulse-time {
  font-size: 10px;
  color: #8ba094;
  white-space: nowrap;
}

.pulse-row>strong {
  font: 600 14px Sora,sans-serif;
  white-space: nowrap;
}

.pulse-footer {
  padding-top: 10px;
}

.deposit-pulse-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px;
  border: 1px solid #325742;
  border-radius: 10px;
  background: #1b3e2e44;
  margin-bottom: 15px;
}

.deposit-pulse-summary span {
  display: block;
  color: #91b5a2;
  font-size: 11px;
}

.deposit-pulse-summary strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 23px Sora,sans-serif;
  margin-top: 7px;
}

.withdraw-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.withdraw-side .summary-aside {
  width: 100%;
}

.withdraw-side .withdraw-condition {
  margin: 0;
}

.capital-schedule {
  padding: 18px;
  border: 1px solid #635335;
  border-radius: 11px;
  margin: 0 0 22px;
  background: linear-gradient(120deg,#47392033,#1e292b55);
}

.capital-schedule h3 {
  font-size: 14px;
}

.capital-schedule>.tiny {
  line-height: 1.8;
}

.fee-schedule {
  width: 100%;
  margin: 17px 0 13px;
  table-layout: fixed;
  border-collapse: collapse;
}

.fee-schedule th {
  color: #96af9e;
  font-size: 10px;
  font-weight: 500;
  padding: 10px 8px;
  white-space: normal;
}

.fee-schedule th:first-child {
  width: 78%;
}

.fee-schedule th:last-child,
.fee-schedule td:last-child {
  text-align: right;
}

.fee-schedule td {
  font-size: 12px;
  padding: 13px 8px;
  white-space: normal;
  border-bottom: 1px solid #384c3e;
}

.fee-schedule .current {
  background: #3b624329;
}

.fee-schedule .current td {
  color: #e6d8ac;
}

.fee-schedule .current td:last-child {
  color: #f5cc80;
}

.fee-current {
  display: block;
  color: #80cfa2;
  font-size: 10px;
  margin-top: 4px;
}

.fee-next {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #acc3b4;
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.6;
}

.fee-next .icon {
  width: 14px;
  height: 14px;
  color: #d2b37d;
}

.fee-next strong {
  color: #e6cb98;
}

.rank-card {
  width: 100%;
  color: inherit;
  cursor: pointer;
}

.rank-open {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: #84ac95;
  margin-top: 13px;
}

.rank-open .icon {
  width: 11px;
  height: 11px;
}

.rank-detail-button {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.rank-detail-button:hover {
  filter: brightness(1.18);
}

.grade-modal-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 0 23px;
  border-bottom: 1px solid #34483d;
}

.grade-modal-hero>div>strong {
  display: block;
  font: 600 30px Sora,sans-serif;
  margin-top: 8px;
}

.grade-modal-hero .eyebrow {
  color: #97b29f;
}

.grade-modal-criteria {
  margin-top: 8px;
}

.grade-modal-criteria .criteria-row .flex {
  flex-wrap: wrap;
  gap: 7px;
}

.grade-modal-criteria .criteria-row .flex strong {
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.criterion-remaining {
  display: block;
  margin-top: 8px;
  color: #b0a68b;
  font-size: 10px;
}

.grade-modal-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 23px;
}

.tree-leaf {
  display: block;
}

.tree-level {
  align-items: flex-start;
}

#activation,
#strategies {
  scroll-margin-top: 90px;
}

@keyframes activity-breathe {
  0%,
  100% {
    opacity: .55;
    box-shadow: 0 0 0 0 #67eaa500;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 4px #67eaa512,0 0 10px #67eaa540;
  }
}

@media(max-width:1250px) {
  .network-metrics {
    grid-template-columns: repeat(6,minmax(0,1fr));
  }
  .network-metrics>.kpi {
    grid-column: span 2;
  }
  .network-metrics>.kpi:nth-last-child(-n+2) {
    grid-column: span 3;
  }
  .network-metrics .kpi-value {
    font-size: 25px;
  }
  .referral-strip {
    flex-wrap: wrap;
    gap: 13px;
  }
  .referral-address {
    flex-basis: 40%;
  }
  .referral-strip .btn {
    margin-left: auto;
  }
  .week-day {
    padding: 11px 8px;
  }
  .week-day>strong {
    font-size: 15px;
  }
}

@media(max-width:1000px) {
  .network-metrics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .network-metrics>.kpi,
  .network-metrics>.kpi:nth-last-child(-n+2) {
    grid-column: auto;
  }
  .network-metrics>.kpi:last-child {
    grid-column: 1/-1;
  }
  .week-days {
    gap: 6px;
  }
  .week-day {
    padding: 11px 6px;
  }
  .week-day>strong {
    font-size: 14px;
  }
  .week-day small {
    font-size: 10px;
    margin-left: 2px;
  }
}

@media(max-width:760px) {
  .kpi-detailed {
    padding: 15px 13px;
    min-height: 172px;
  }
  .kpi-detailed .kpi-label {
    align-items: flex-start;
    min-height: 29px;
  }
  .metric-link {
    width: 27px;
    height: 27px;
  }
  .kpi-detailed .kpi-value {
    font-size: 22px;
    letter-spacing: -1px;
  }
  .kpi-detailed .kpi-foot {
    font-size: 10px;
  }
  .metric-delta {
    font-size: 9px;
    gap: 5px;
    margin-top: auto;
    padding-top: 13px;
  }
  .metric-delta strong {
    font-size: 11px;
  }
  .network-metrics .kpi {
    padding: 15px 13px;
  }
  .network-metrics .kpi-value {
    font-size: 22px;
  }
  .network-metrics>.kpi:last-child {
    min-height: 150px;
  }
  .referral-strip {
    padding: 16px;
    gap: 14px;
  }
  .referral-strip-label {
    width: 100%;
  }
  .referral-address {
    flex-basis: 100%;
    font-size: 10px;
  }
  .referral-strip .btn {
    width: 100%;
    margin-left: 0;
  }
  .week-trading {
    padding: 19px 15px;
  }
  .week-days {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 7px;
  }
  .week-day {
    padding: 10px 7px;
  }
  .week-day>strong {
    font-size: 14px;
    margin-top: 12px;
  }
  .week-day>span {
    font-size: 10px;
  }
  .week-footer {
    font-size: 10px;
    align-items: center;
  }
  .week-footer strong {
    font-size: 12px;
    white-space: nowrap;
  }
  .pulse-network {
    padding: 18px;
  }
  .pulse-row {
    gap: 9px;
  }
  .pulse-row small {
    font-size: 10px;
  }
  .pulse-row .grow strong {
    font-size: 11px;
  }
  .pulse-row>strong {
    font-size: 12px;
  }
  .pulse-time {
    display: none;
  }
  .deposit-pulse-summary {
    padding: 14px;
    gap: 12px;
  }
  .deposit-pulse-summary strong {
    font-size: 18px;
  }
  .capital-schedule {
    padding: 14px;
  }
  .capital-schedule .pill {
    font-size: 10px;
  }
  .fee-schedule th:first-child {
    width: 76%;
  }
  .fee-schedule td {
    font-size: 11px;
    padding: 12px 6px;
  }
  .fee-schedule th {
    padding: 10px 6px;
  }
  .grade-modal-criteria .criteria-row .flex {
    display: block;
  }
  .grade-modal-criteria .criteria-row .flex strong {
    margin: 7px 0 0;
    font-size: 12px;
  }
  .grade-modal-hero .rank-emblem.big {
    width: 64px;
    height: 74px;
  }
  .grade-modal-hero>div>strong {
    font-size: 26px;
  }
  .grade-modal-links {
    align-items: flex-start;
    flex-direction: column;
  }
  .command-status {
    font-size: 12px;
  }
  .command-status .muted {
    font-size: 10px;
  }
}

@media(max-width:380px) {
  .kpi-detailed .kpi-value,
  .network-metrics .kpi-value {
    font-size: 20px;
  }
  .metric-delta {
    justify-content: flex-start;
  }
  .metric-delta>span {
    font-size: 9px;
  }
  .metric-link {
    width: 24px;
    height: 24px;
  }
  .week-day>strong {
    font-size: 12px;
  }
  .week-day small {
    font-size: 9px;
  }
  .week-footer {
    gap: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .activity-dot {
    animation: none;
  }
  .metric-link,
  .btn-referral,
  .week-day {
    transition: none;
  }
  .week-day:hover,
  .btn-referral:hover {
    transform: none;
  }
}

.deposit-destinations>.choice.animation-card {
  display: block;
  text-align: left;
  min-width: 0;
  width: 100%;
  border-radius: 16px;
  font-family: inherit;
  color: inherit;
  background: radial-gradient(ellipse at 50% 25%,rgba(var(--anim-rgb),.075),transparent 60%),#101c24;
  transition: border-color .2s,box-shadow .2s,transform .2s;
  cursor: pointer;
}

.deposit-destinations>.choice.animation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--anim-rgb),.65);
}

.deposit-destinations>.choice.animation-card.active {
  border-color: var(--anim-mid);
  box-shadow: 0 0 0 1px rgba(var(--anim-rgb),.18),0 12px 35px rgba(var(--anim-rgb),.07);
}

.deposit-destinations>.choice.animation-card:focus-visible {
  outline: 2px solid var(--anim);
  outline-offset: 4px;
}

.deposit-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 23px 0;
}

.deposit-destinations .animation-card-scene {
  height: 205px;
}

.deposit-destinations .animation-card-info {
  display: block;
  padding-top: 19px;
}

.deposit-destinations .deposit-card-title {
  display: block;
  font: 600 21px/1.4 Sora,sans-serif;
  letter-spacing: -.5px;
}

.deposit-card-description {
  display: block;
  font-size: 12px;
  line-height: 1.8;
  color: #a3b4ae;
  margin-top: 7px;
}

.deposit-card-detail {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--anim);
  margin-top: 18px;
}

.deposit-card-detail .icon {
  width: 15px;
  height: 15px;
}

.deposit-v2-form {
  border-top: 2px solid var(--anim-mid);
}

.payment-modal {
  background: radial-gradient(ellipse at 50% 34%,rgba(var(--anim-rgb),.07),transparent 55%),linear-gradient(140deg,#14222b,#0d1722)!important;
}

.payment-intro {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 -10px;
}

.payment-intro>.anim-orb.mini {
  width: 155px;
  height: 155px;
  transform: scale(.85);
  flex-shrink: 0;
}

.payment-intro .anim-core {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.payment-intro .anim-core:before {
  border-radius: 17px;
}

.payment-intro .anim-core svg {
  width: 45px;
  height: 45px;
}

.payment-intro h3 {
  font: 600 18px/1.4 Sora,sans-serif;
  margin-top: 8px;
}

.payment-intro p {
  font-size: 11px;
  line-height: 1.8;
  color: #9ab0a4;
  max-width: 320px;
  margin-top: 7px;
}

.payment-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--anim);
}

.payment-status .icon {
  width: 13px;
  height: 13px;
}

.payment-transfer {
  display: grid;
  grid-template-columns: 130px minmax(0,1fr);
  gap: 16px;
  align-items: center;
  background: #07111866;
  border: 1px solid rgba(var(--anim-rgb),.17);
  padding: 18px;
  border-radius: 13px;
}

.payment-transfer .qr-box {
  width: 130px;
  flex-shrink: 0;
  padding: 10px;
}

.payment-transfer .qr-box img {
  width: 100%;
  height: auto;
}

.payment-transfer .qr-box small {
  font-size: 6px;
}

.payment-transfer .payment-amount {
  font-size: 23px;
  line-height: 1.5;
  margin-top: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.payment-transfer .payment-amount>span {
  color: var(--anim);
}

.payment-transfer .payment-amount>small {
  font-size: 12px;
}

.payment-transfer .copy-row {
  min-width: 0;
  padding: 10px;
  gap: 10px;
  margin-top: 10px;
}

.payment-transfer .copy-row strong {
  font-size: 10px;
  overflow-wrap: anywhere;
}

.payment-transfer .copy-row small {
  font-size: 8px;
}

.payment-transfer .copy-row button {
  flex-shrink: 0;
  font-size: 10px;
}

.payment-address {
  grid-column: 1/-1;
  margin-top: 0!important;
}

.payment-address>div {
  min-width: 0;
}

.payment-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 23px;
}

.payment-actions>.btn {
  min-height: 44px;
}

.payment-waiting-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(var(--anim-rgb),.17);
  background: rgba(var(--anim-rgb),.035);
  border-radius: 10px;
  padding: 15px;
  color: #a9bcb1;
  font-size: 11px;
  line-height: 1.8;
}

.payment-waiting-detail>.icon {
  color: var(--anim);
  flex-shrink: 0;
}

.payment-modal .anim-summary {
  flex-wrap: wrap;
}

@media(max-width:760px) {
  .deposit-destinations .animation-card-scene {
    height: 175px;
  }
  .deposit-card-heading {
    padding: 17px 18px 0;
  }
  .deposit-destinations .animation-card-info {
    padding: 18px;
  }
  .deposit-destinations .deposit-card-title {
    font-size: 19px;
  }
  .deposit-destinations .anim-orb.mini {
    transform: scale(.72);
  }
  .payment-intro {
    gap: 0;
    margin: 0 -6px;
  }
  .payment-intro>.anim-orb.mini {
    width: 115px;
    height: 145px;
    transform: scale(.78);
  }
  .payment-intro h3 {
    font-size: 16px;
  }
  .payment-intro p {
    font-size: 10px;
  }
  .payment-transfer {
    padding: 13px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }
  .payment-transfer .payment-instructions,
  .payment-transfer .payment-address {
    width: 100%;
  }
  .payment-transfer .qr-box {
    width: min(168px, 52vw);
    padding: 8px;
  }
  .payment-transfer .payment-amount {
    font-size: 18px;
  }
  .payment-transfer .eyebrow {
    font-size: 8px;
  }
  .payment-transfer .copy-row {
    flex-wrap: wrap;
  }
  .payment-transfer .copy-row button {
    min-height: 30px;
  }
}

@media(max-width:380px) {
  .payment-transfer {
    grid-template-columns: 1fr;
  }
  .payment-transfer .qr-box {
    justify-self: center;
    width: 115px;
  }
  .payment-address {
    grid-column: auto;
  }
  .payment-intro>.anim-orb.mini {
    width: 95px;
  }
  .payment-modal .anim-summary>span:last-child {
    width: 100%;
  }
}

.theme-trading {
  --anim: #72efb4;
  --anim-mid: #31d69a;
  --anim-rgb: 66,224,153;
  --anim-bg: #163f30;
}

.theme-shares {
  --anim: #f5d699;
  --anim-mid: #e5b665;
  --anim-rgb: 236,188,110;
  --anim-bg: #493b25;
}

.deposit-destinations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.animation-card {
  overflow: hidden;
  padding: 0!important;
  border-color: rgba(var(--anim-rgb),.24);
  background: radial-gradient(ellipse at 50% 25%,rgba(var(--anim-rgb),.075),transparent 60%),#101c24;
}

.animation-card>header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 23px 0;
}

.anim-card-index {
  color: var(--anim);
  font: 600 12px Sora,sans-serif;
}

.anim-card-label {
  color: #9ab0aa;
  font-size: 9px;
  letter-spacing: 1.6px;
}

.anim-card-tag {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 4px;
  border: 1px solid rgba(var(--anim-rgb),.2);
  color: var(--anim);
  font-size: 8px;
  letter-spacing: 1px;
}

.animation-card-scene {
  height: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.animation-card-info {
  padding: 24px;
  border-top: 1px solid rgba(var(--anim-rgb),.13);
  background: #09131b33;
}

.animation-card-info h2 {
  font-size: 21px;
  letter-spacing: -.6px;
}

.animation-card-info>p {
  font-size: 12px;
  line-height: 1.8;
  color: #94a9a2;
  margin-top: 8px;
  max-width: 360px;
}

.anim-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
}

.anim-card-bottom>span {
  color: #81978e;
  font-size: 10px;
}

.anim-card-bottom strong {
  display: block;
  color: #d4e5dc;
  font: 500 15px Sora,sans-serif;
  margin-top: 5px;
}

.anim-card-bottom .btn {
  font-size: 11px;
  min-height: 42px;
}

.theme-shares .activity-dot {
  background: var(--anim);
  box-shadow: 0 0 9px rgba(var(--anim-rgb),.3);
}

.anim-orb {
  position: relative;
  width: 270px;
  height: 270px;
  display: grid;
  place-items: center;
  isolation: isolate;
  color: var(--anim);
  flex-shrink: 0;
}

.anim-orb.mini {
  width: 240px;
  height: 240px;
  transform: scale(.85);
}

.anim-halo {
  position: absolute;
  inset: 12%;
  background: radial-gradient(circle,rgba(var(--anim-rgb),.18),rgba(var(--anim-rgb),.035) 55%,transparent 70%);
  filter: blur(15px);
  animation: anim-halo-breathe 4s ease-in-out infinite;
}

.anim-orbit {
  position: absolute;
  border: 1px solid rgba(var(--anim-rgb),.17);
  border-radius: 50%;
  transform-origin: center;
  animation: anim-orbit-spin 12s linear infinite;
  pointer-events: none;
}

.orbit-outer {
  inset: 7%;
  border-top-color: rgba(var(--anim-rgb),.55);
  border-left-style: dashed;
}

.orbit-inner {
  inset: 17%;
  animation-duration: 8s;
  animation-direction: reverse;
  border-bottom-color: rgba(var(--anim-rgb),.55);
}

.anim-orbit i {
  position: absolute;
  left: 50%;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--anim);
  box-shadow: 0 0 12px var(--anim);
}

.orbit-inner i {
  width: 4px;
  height: 4px;
  top: -2px;
}

.anim-axis {
  position: absolute;
  inset: 1%;
  border: 1px solid rgba(var(--anim-rgb),.09);
  border-radius: 50%;
  pointer-events: none;
}

.axis-a {
  transform: rotate(-32deg) scaleY(.42);
}

.axis-b {
  transform: rotate(32deg) scaleY(.42);
}

.anim-core {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--anim-rgb),.45);
  border-radius: 29px;
  background: linear-gradient(145deg,rgba(var(--anim-rgb),.18),#0e1c24 72%);
  box-shadow: inset 0 1px 1px rgba(var(--anim-rgb),.3),inset 0 -8px 25px #0003,0 15px 40px #0005,0 0 35px rgba(var(--anim-rgb),.13);
  animation: anim-core-float 4s ease-in-out infinite;
}

.anim-core:before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(var(--anim-rgb),.1);
  border-radius: 23px;
}

.anim-core svg {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 0 7px rgba(var(--anim-rgb),.26));
  animation: anim-glyph-enter .6s cubic-bezier(.22,.7,.3,1) both;
}

.anim-ground {
  position: absolute;
  bottom: 7px;
  left: 27%;
  width: 46%;
  height: 15px;
  border-radius: 50%;
  background: rgba(var(--anim-rgb),.15);
  filter: blur(12px);
  animation: anim-ground-breathe 4s ease-in-out infinite;
}

.anim-particle {
  position: absolute;
  left: calc(12% + var(--p)*14%);
  top: calc(21% + var(--p)*9%);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--anim);
  box-shadow: 0 0 7px rgba(var(--anim-rgb),.6);
  animation: anim-particle-float 5s ease-in-out infinite;
  animation-delay: calc(var(--p)*-.8s);
}

.animation-modal {
  padding: 25px!important;
  max-width: 610px!important;
  background: radial-gradient(ellipse at 50% 34%,#19372a33,transparent 55%),linear-gradient(140deg,#14222b,#0d1722);
}

.animation-modal>.modal-head {
  margin-bottom: 20px;
}

.animation-modal>.modal-head h2 {
  font-size: 19px;
}

.animation-modal>.modal-head p {
  font-size: 11px;
}

.animation-player {
  position: relative;
}

.anim-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(var(--anim-rgb),.18);
  border-radius: 9px;
  background: rgba(var(--anim-rgb),.035);
  font-size: 10px;
  color: #91a99b;
}

.anim-summary strong {
  font: 600 16px Sora,sans-serif;
  color: #e4f0e8;
}

.anim-summary>span:last-child {
  font-size: 10px;
}

.animation-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.anim-orb-slot {
  height: 248px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-copy {
  width: 100%;
  text-align: center;
  min-height: 95px;
  padding: 0 16px;
}

.anim-copy h3 {
  font: 600 19px/1.5 Sora,sans-serif;
  letter-spacing: -.5px;
  color: #e7f3eb;
  max-width: 450px;
  margin: auto;
  text-wrap: balance;
}

.anim-copy p {
  font-size: 12px;
  line-height: 1.8;
  color: #94afa0;
  margin: 9px auto 0;
  max-width: 385px;
  text-wrap: balance;
}

.anim-copy-enter {
  animation: anim-copy-enter .55s ease-out both;
}

.anim-waiting-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 11px 0 20px;
  color: var(--anim);
  font-size: 10px;
}

.anim-loading-dots {
  display: flex;
  gap: 3px;
}

.anim-loading-dots i {
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  animation: anim-dot-wait 1.5s ease-in-out infinite;
}

.anim-loading-dots i:nth-child(2) {
  animation-delay: .2s;
}

.anim-loading-dots i:nth-child(3) {
  animation-delay: .4s;
}

.animation-final-detail {
  border: 1px solid rgba(var(--anim-rgb),.25);
  border-radius: 10px;
  background: rgba(var(--anim-rgb),.055);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 17px;
}

.animation-final-detail>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.animation-final-detail .icon {
  color: var(--anim);
  width: 20px;
  height: 20px;
}

.animation-final-detail span {
  font-size: 10px;
  color: #a3b8ac;
}

.animation-final-detail strong {
  display: block;
  font-size: 12px;
  color: #d4e7d9;
  margin-top: 4px;
}

.animation-final-detail .pill {
  font-size: 9px;
  white-space: nowrap;
}

.is-complete .anim-orbit {
  animation: anim-success-ring .7s ease-out both;
  border-color: rgba(var(--anim-rgb),.4);
}

.is-complete .orbit-inner {
  animation-delay: .1s;
}

.is-complete .anim-orbit i {
  display: none;
}

.is-complete .anim-core {
  animation: anim-success-core .65s cubic-bezier(.2,.8,.3,1) both;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(var(--anim-rgb),.2),inset 0 0 28px rgba(var(--anim-rgb),.08);
}

.is-complete .anim-core:before {
  border-radius: 50%;
}

.is-complete .anim-axis {
  opacity: 0;
  transition: opacity .5s;
}

.anim-check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: anim-check-draw .65s .15s ease-out forwards;
}

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

@keyframes anim-core-float {
  0%,
  100% {
    transform: translateY(2px) rotate(-2deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes anim-halo-breathe {
  0%,
  100% {
    opacity: .55;
    transform: scale(.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes anim-ground-breathe {
  0%,
  100% {
    opacity: .7;
    transform: scale(1);
  }
  50% {
    opacity: .4;
    transform: scale(.75);
  }
}

@keyframes anim-glyph-enter {
  from {
    opacity: 0;
    transform: translateY(7px) scale(.84);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes anim-copy-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anim-particle-float {
  0%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
  50% {
    opacity: .7;
    transform: translateY(-12px);
  }
}

@keyframes anim-dot-wait {
  0%,
  70%,
  100% {
    opacity: .3;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes anim-success-ring {
  from {
    transform: scale(.84);
    opacity: .3;
  }
  to {
    transform: scale(1.05);
    opacity: .7;
  }
}

@keyframes anim-success-core {
  0% {
    transform: scale(.85);
  }
  65% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes anim-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media(max-width:1100px) {
  .anim-card-bottom {
    flex-wrap: wrap;
  }
  .anim-card-bottom .btn {
    width: 100%;
  }
  .animation-card-info>p {
    min-height: 43px;
  }
}

@media(max-width:760px) {
  .deposit-destinations {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .animation-card>header {
    padding: 18px 20px 0;
  }
  .animation-card-scene {
    height: 255px;
  }
  .animation-card-info {
    padding: 20px;
  }
  .animation-card-info h2 {
    font-size: 20px;
  }
  .animation-card-info>p {
    min-height: 0;
  }
  .anim-card-bottom {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .anim-card-bottom .btn {
    width: auto;
    font-size: 10px;
    padding: 10px;
  }
  .animation-modal {
    padding: 18px!important;
  }
  .animation-modal>.modal-head {
    gap: 10px;
    margin-bottom: 16px;
  }
  .animation-modal>.modal-head h2 {
    font-size: 18px;
  }
  .animation-modal>.modal-head p {
    font-size: 10px;
  }
  .animation-modal>.modal-head .eyebrow {
    font-size: 8px;
  }
  .anim-summary {
    padding: 11px;
    font-size: 9px;
    gap: 6px;
  }
  .anim-summary strong {
    font-size: 14px;
  }
  .anim-summary>span:last-child {
    font-size: 8px;
  }
  .anim-orb-slot {
    height: 215px;
  }
  .anim-orb-slot .anim-orb {
    transform: scale(.84);
  }
  .anim-copy {
    padding: 0 3px;
    min-height: 110px;
  }
  .anim-copy h3 {
    font-size: 17px;
    line-height: 1.5;
  }
  .anim-copy p {
    font-size: 11px;
    line-height: 1.8;
    margin-top: 9px;
  }
  .anim-waiting-label {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .animation-final-detail {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
  }
  .animation-final-detail .pill {
    align-self: flex-end;
  }
}

@media(prefers-reduced-motion:reduce) {
  .animation-player *,
  .animation-card-scene * {
    animation: none!important;
    transition: none!important;
  }
  .anim-check-path {
    stroke-dashoffset: 0;
  }
  .anim-orbit i {
    opacity: .6;
  }
  .anim-core {
    transform: none;
  }
  .anim-particle {
    display: none;
  }
}

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

.content>section,
.content>.grid,
.content>.simulator-layout {
  animation: surface-enter .35s ease-out both;
}

@keyframes surface-enter {
  from {
    opacity: .55;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn-primary,
.btn-gold {
  transition: box-shadow .2s,transform .2s,filter .2s;
}

.btn-primary:hover {
  box-shadow: 0 4px 22px #28d6a023;
}

.btn-gold:hover {
  box-shadow: 0 4px 22px #edb56325;
}

.btn:disabled {
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(.8);
  opacity: .45;
}

.command-actions .command-shares {
  min-height: 39px;
  font-size: 11px;
  box-shadow: 0 0 20px #e5b66512;
}

.source-simulator {
  padding-top: 23px;
}

.source-simulator+.source-footer {
  padding-top: 13px;
}

.choices:has(.premium-choice) {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.choices .premium-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  min-height: 96px;
  min-width: 0;
  padding: 14px 30px 14px 12px;
  border: 1px solid rgba(var(--anim-rgb),.24);
  border-radius: 12px;
  background: radial-gradient(ellipse at 12% 50%,rgba(var(--anim-rgb),.075),transparent 75%),#101d25;
  color: inherit;
  transition: box-shadow .2s,border-color .2s;
}

.choices .premium-choice.active {
  border-color: var(--anim-mid);
  background: radial-gradient(ellipse at 12% 50%,rgba(var(--anim-rgb),.13),transparent 85%),#112029;
  box-shadow: inset 0 1px rgba(var(--anim-rgb),.12),0 0 20px rgba(var(--anim-rgb),.05);
}

.choices .premium-choice:hover {
  border-color: var(--anim);
  box-shadow: 0 0 20px rgba(var(--anim-rgb),.08);
}

.premium-choice .compact-orb {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.compact-orb .anim-orb.mini {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 50%;
  top: 50%;
  margin: -80px 0 0 -80px;
  transform: scale(.43);
}

.compact-orb .anim-core {
  width: 90px;
  height: 90px;
  border-radius: 24px;
}

.compact-orb .anim-core svg {
  width: 50px;
  height: 50px;
}

.premium-choice .compact-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.compact-choice-copy .compact-index {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--anim);
  line-height: 1;
}

.premium-choice .compact-choice-copy strong {
  font-size: 13px;
  color: #e5f0ea;
  line-height: 1.4;
  white-space: normal;
}

.premium-choice .compact-choice-copy>small:last-child {
  font-size: 9px;
  line-height: 1.5;
  color: #98ada4;
  margin: 0;
}

.premium-choice .choice-check {
  position: absolute;
  top: 12px;
  right: 11px;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(var(--anim-rgb),.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--anim);
}

.choice-check .icon {
  width: 9px;
  height: 9px;
  opacity: 0;
}

.active .choice-check {
  background: rgba(var(--anim-rgb),.13);
}

.active .choice-check .icon {
  opacity: 1;
}

.security-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  padding: 17px 0;
  font-size: 10px;
  color: #8da79c;
}

.security-strip>span,
.security-strip>button {
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-strip .icon {
  width: 13px;
  height: 13px;
  color: #92c7ac;
  flex-shrink: 0;
}

.security-strip button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}

.security-strip button:hover {
  color: #d0e6d9;
}

.deposit-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.deposit-next .text-link {
  font-size: 11px;
}

.security-explain {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-explain>section {
  display: flex;
  gap: 14px;
}

.security-explain>section>span {
  color: #80d9ae;
  padding-top: 3px;
}

.security-explain h3 {
  font-size: 13px;
}

.security-explain p {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 7px;
  color: var(--muted);
}

.shares-invite {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 21px 24px;
  margin-top: 22px;
  border: 1px solid #e4b36136;
  border-radius: 12px;
  background: radial-gradient(ellipse at 0 50%,#ddb15d0e,transparent 65%),#152027;
}

.invite-emblem {
  width: 43px;
  height: 43px;
  border: 1px solid #e4b36140;
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px #e4b36109;
  color: var(--gold);
}

.shares-invite .grow {
  flex: 1 1 240px;
}

.shares-invite h3 {
  font-size: 14px;
}

.shares-invite p {
  font-size: 11px;
  line-height: 1.7;
  margin-top: 5px;
  color: #a7b1ab;
}

.shares-invite .btn {
  font-size: 11px;
  min-height: 41px;
}

.invite-plan {
  display: flex;
  gap: 5px;
  align-items: center;
  color: #d5bd91;
  font-size: 10px;
}

.invite-plan .icon {
  width: 13px;
  height: 13px;
}

.equity-plan-hero {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(180px,1fr);
  gap: 30px;
  align-items: center;
  padding: 35px;
  background: radial-gradient(ellipse at 85% 40%,#dbad5012,transparent 60%),linear-gradient(110deg,#1e2728,#141e28);
  border-color: #b894543d;
}

.equity-plan-hero h2 {
  font-size: clamp(23px,2.5vw,34px);
  line-height: 1.35;
  letter-spacing: -1px;
  margin-top: 16px;
}

.equity-plan-hero p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 480px;
  color: #a7b6af;
  margin-top: 14px;
}

.equity-plan-number {
  text-align: center;
  position: relative;
  padding: 16px 0;
}

.equity-plan-number>span {
  display: block;
  color: #cbb68e;
  font-size: 11px;
}

.equity-plan-number>strong {
  display: block;
  font: 600 76px/1.3 Sora,sans-serif;
  letter-spacing: -5px;
  color: #f3cf90;
  text-shadow: 0 0 35px #edb5631b;
}

.equity-plan-number strong small {
  font-size: 30px;
  letter-spacing: -1px;
}

.equity-plan-number p {
  font-size: 10px;
  margin: 0;
}

.equity-plan-number>svg {
  position: absolute;
  right: 0;
  top: 0;
  width: 58px;
  height: 58px;
  opacity: .09;
  transform: rotate(12deg);
}

.commission-example {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0;
}

.commission-example>div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.commission-example span {
  font-size: 9px;
  color: #97aa9f;
}

.commission-example strong {
  font: 500 clamp(15px,1.4vw,21px) Sora,sans-serif;
  white-space: nowrap;
}

.commission-example .example-sign {
  color: #c0ac84;
  font-size: 18px;
}

.equity-levels .level-cell {
  border-color: #a8823938;
  background: #a8823908;
}

.equity-levels .level-cell strong {
  color: #eccc94;
}

.plan-footnote {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #96a99d;
  font-size: 11px;
  line-height: 1.8;
  margin-top: 20px;
}

.plan-footnote .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.depth-cards {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 10px;
}

.depth-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 12px;
  border: 1px solid #334c40;
  border-radius: 9px;
  background: #11231c3d;
}

.depth-card>span {
  font-size: 10px;
  color: #a4b8aa;
}

.depth-card>strong {
  font: 500 17px Sora,sans-serif;
  color: #c5e4d1;
  white-space: nowrap;
}

.depth-card small {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6fcd9d;
}

.depth-card .icon {
  width: 11px;
  height: 11px;
}

.plan-paragraph {
  font-size: 12px;
  line-height: 1.9;
  margin-top: 10px;
  color: #afc0b5;
}

.gold-panel {
  border-color: #b894543d;
}

.workweek,
.workweek-heading {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr)) minmax(125px,1.45fr);
  gap: 9px;
}

.workweek+.workweek {
  margin-top: 9px;
}

.workweek-heading {
  margin: 12px 0 10px;
  color: #92a99c;
  font-size: 11px;
  text-align: center;
}

.workday {
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: flex-start;
  min-width: 0;
  min-height: 108px;
  padding: 12px;
  border: 1px solid #315947;
  border-radius: 9px;
  text-align: left;
  background: linear-gradient(130deg,#163328,#12251f);
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  color: #d8eee2;
  width: 100%;
}

button.workday {
  cursor: pointer;
  transition: border-color .2s,box-shadow .2s;
}

button.workday:hover {
  border-color: #67c89b;
  box-shadow: 0 0 16px #28d6a00e;
}

.workday-heading {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  color: #a6bcae;
}

.workday-heading b {
  font-weight: 500;
}

.workday-heading>span {
  color: #a1b6aa;
  font-size: 10px;
}

.workday-rate {
  font-size: clamp(12px,1.12vw,16px);
  font-weight: 600;
  letter-spacing: -.4px;
  color: #8ae7b8;
  white-space: nowrap;
  margin-top: auto;
}

.workday-money {
  font-size: 12px;
  color: #c0d7c9;
  white-space: nowrap;
  letter-spacing: -.2px;
}

.workday-money small {
  font-size: 10px;
  margin-left: 3px;
  color: #82a792;
}

.workday.is-negative {
  background: linear-gradient(130deg,#35242b,#241d25);
  border-color: #623c47;
}

.is-negative .workday-rate {
  color: #ef9ca9;
}

.is-negative .workday-money {
  color: #dbb2b9;
}

.is-negative .workday-money small {
  color: #b58792;
}

.workday.is-empty {
  border-color: #283b34;
  background: #111e1d;
  min-height: 86px;
  color: #728b7d;
}

.workday.outside-month {
  opacity: .45;
}

.workday-empty {
  font-size: 15px;
  margin: auto 0;
  color: #526b5d;
}

.week-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid #537b533d;
  border-left: 2px solid #88bb72;
  border-radius: 9px;
  background: linear-gradient(115deg,#253e2729,#16261f);
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.week-result>span:first-child {
  font-size: 10px;
  color: #a3b69b;
  line-height: 1.5;
}

.week-result>strong {
  font: 600 18px Sora,sans-serif;
  letter-spacing: -.5px;
  color: #b8dda5;
  white-space: nowrap;
}

.week-result-money {
  font-size: 12px;
  color: #c8dcc0;
}

.week-result.is-negative {
  border-left-color: #dc8095;
}

.week-result.is-negative>strong {
  color: #ef9ca9;
}

.calendar-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.calendar-month {
  text-transform: capitalize;
  font-size: 23px;
  margin-top: 9px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.calendar-nav>button {
  border: 1px solid #334c3e;
  border-radius: 7px;
  background: #15271f;
  color: #aec7b8;
  min-height: 34px;
  cursor: pointer;
}

.calendar-nav>button:not(.icon-button) {
  font: 500 10px Inter,sans-serif;
  padding: 8px 12px;
}

.calendar-nav>.icon-button {
  font-size: 21px;
  width: 34px;
}

.calendar-month-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 17px;
  border-top: 1px solid #2b4134;
  border-bottom: 1px solid #2b4134;
  padding: 15px 0;
  margin: 21px 0 19px;
  font-size: 12px;
}

.calendar-month-summary>span {
  color: #98ada0;
  margin-right: auto;
}

.calendar-month-summary>strong {
  color: #bce0c9;
  font-size: 14px;
}

.is-compact .workday {
  min-height: 111px;
}

.calendar-caption {
  line-height: 1.7;
}

.calendar-caption .icon {
  flex-shrink: 0;
}

.simulator-layout {
  display: grid;
  grid-template-columns: minmax(290px,.85fr) minmax(0,1.45fr);
  gap: 22px;
  align-items: start;
}

.simulator-controls,
.simulator-results {
  min-width: 0;
}

.simulator-controls>h2 {
  font-size: 21px;
  line-height: 1.5;
  margin: 13px 0 27px;
  letter-spacing: -.6px;
}

.sim-capital-label {
  display: block;
  font-size: 11px;
  color: #a8c0b1;
  margin-bottom: 10px;
}

.sim-capital-input {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #40604b;
  border-radius: 10px;
  padding: 8px 15px;
  background: #091610;
  box-shadow: inset 0 1px #7ac58d0a;
}

.sim-capital-input:focus-within {
  outline: 2px solid #28d6a075;
  outline-offset: 2px;
}

.sim-capital-input>input {
  min-width: 0;
  width: 100%;
  font: 500 33px Sora,sans-serif;
  letter-spacing: -1px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #ddf3e5;
  box-shadow: none;
  outline: none;
}

.sim-capital-input>span {
  font-size: 11px;
  color: #8eab98;
}

#sim-capital-range {
  display: block;
  width: 100%;
  height: 6px;
  margin: 25px 0 10px;
  padding: 0;
  border: 0;
  accent-color: #28d6a0;
  cursor: pointer;
}

.range-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #7c9a87;
}

.sim-presets {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 6px;
  margin-top: 20px;
}

.sim-presets button {
  font: 500 10px Inter,sans-serif;
  min-height: 34px;
  padding: 6px 3px;
  border: 1px solid #314d3b;
  border-radius: 6px;
  background: #17281e;
  color: #a7c4b1;
  cursor: pointer;
}

.sim-presets button[aria-pressed=true],
.sim-presets button:hover {
  border-color: #53b781;
  background: #224a32;
  color: #c4f6d9;
}

.sim-assumptions {
  padding: 20px 0;
  margin: 8px 0;
  border-bottom: 1px solid #2b4134;
}

.sim-assumptions>div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #9bb4a4;
  line-height: 1.7;
}

.sim-assumptions>div+div {
  margin-top: 11px;
}

.sim-assumptions strong {
  color: #c5d9ce;
  font-size: 14px;
  white-space: nowrap;
}

.sim-assumptions strong.green {
  color: #6ce6a9;
}

.sim-reinvest {
  display: flex;
  gap: 11px;
  align-items: center;
  position: relative;
  cursor: pointer;
  margin: 23px 0;
}

.sim-reinvest>input {
  position: absolute;
  width: 40px;
  height: 24px;
  left: 0;
  opacity: 0;
}

.toggle-track {
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #42614b;
  border-radius: 20px;
  background: #22362a;
  transition: background .2s;
}

.toggle-track:after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 3px;
  background: #91ac9a;
  border-radius: 50%;
  transition: transform .2s;
}

.sim-reinvest input:checked+.toggle-track {
  background: #24623f;
  border-color: #52c984;
}

.sim-reinvest input:checked+.toggle-track:after {
  transform: translateX(16px);
  background: #a5f3c8;
  box-shadow: 0 0 10px #8ef0b244;
}

.sim-reinvest input:focus-visible+.toggle-track {
  outline: 2px solid #a5f3c8;
  outline-offset: 4px;
}

.sim-reinvest strong {
  display: block;
  font-size: 12px;
  color: #d1e2d7;
}

.sim-reinvest small {
  display: block;
  font-size: 10px;
  color: #92ad9a;
  margin-top: 5px;
}

.sim-delay {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid #41583e;
  border-radius: 9px;
  background: #647f4211;
}

.sim-delay>.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #b5c993;
}

.sim-delay strong {
  font-size: 11px;
  color: #bed09f;
}

.sim-delay p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 5px;
  color: #94aa8e;
}

.sim-disclaimer {
  font-size: 10px;
  color: #799386;
  line-height: 1.8;
  margin-top: 18px;
}

.simulator-results {
  background: radial-gradient(ellipse at 85% 0,#236b4521,transparent 50%),#13221e;
  border-color: #375744;
}

.simulation-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #9ac5aa;
}

.simulation-monthly {
  margin: 27px 0 25px;
}

.simulation-monthly>span {
  display: block;
  font-size: 11px;
  color: #a9c0b1;
}

.simulation-monthly>strong {
  display: block;
  font: 500 clamp(33px,3.5vw,49px)/1.5 Sora,sans-serif;
  letter-spacing: -2px;
  color: #e0f3e6;
}

.simulation-monthly>small {
  font-size: 10px;
  color: #90b09a;
}

.simulation-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid #334e3c;
  border-bottom: 1px solid #334e3c;
}

.simulation-stats>div {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.simulation-stats span {
  font-size: 10px;
  color: #8eac98;
}

.simulation-stats strong {
  font: 500 clamp(16px,1.8vw,25px) Sora,sans-serif;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}

.simulator-chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 15px;
  overflow: visible;
}

.simulator-chart text {
  font: 10px Inter,sans-serif;
  fill: #8eaa99;
}

.sim-grid {
  stroke: #385343;
  stroke-width: .7;
  stroke-dasharray: 3 4;
}

.sim-baseline {
  stroke: #92ad9b;
  stroke-opacity: .4;
  stroke-dasharray: 5 5;
}

.sim-line {
  fill: none;
  stroke: #55e29c;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px #55e29c20);
}

.sim-point {
  fill: #13221e;
  stroke: #77e7ac;
  stroke-width: 2;
}

.sim-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #abc4b2;
}

.sim-chart-legend>span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sim-chart-legend .dot {
  width: 5px;
  height: 5px;
  margin: 0;
}

.simulator-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.simulator-cta .btn {
  font-size: 12px;
  min-height: 45px;
}

.simulator-cta .text-link {
  font-size: 10px;
}

.simulation-detail {
  margin-top: 25px;
  border-top: 1px solid #2e4836;
  padding-top: 16px;
}

.simulation-detail>summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #a5c3ad;
  cursor: pointer;
  list-style: none;
}

.simulation-detail>summary>.icon {
  width: 13px;
  height: 13px;
}

.simulation-detail[open]>summary {
  margin-bottom: 14px;
}

.simulation-detail td,
.simulation-detail th {
  padding: 12px 9px;
  font-size: 10px;
}

.twofa-panel {
  margin-top: 24px;
  scroll-margin-top: 90px;
}

.twofa-profile-row {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-wrap: wrap;
}

.twofa-profile-row .grow {
  flex: 1 1 240px;
}

.twofa-profile-row h3 {
  font-size: 13px;
}

.twofa-profile-row p {
  font-size: 11px;
  line-height: 1.8;
  color: #99b1a2;
  margin-top: 7px;
}

.twofa-profile-row>.btn {
  font-size: 11px;
}

.twofa-emblem {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 1px solid #63bb854d;
  border-radius: 14px;
  background: #70c2880a;
  color: #87daa7;
  box-shadow: 0 0 20px #70c2880a;
}

.twofa-emblem .icon {
  width: 24px;
  height: 24px;
}

.twofa-return {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid #334d3a;
  padding-top: 18px;
  margin-top: 18px;
}

.twofa-return>span {
  font-size: 11px;
  color: #a3c2ac;
}

.twofa-return>.btn {
  font-size: 11px;
}

.twofa-required {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #98723e70;
  border-radius: 9px;
  background: #79603415;
  margin-top: 19px;
  color: #e3c18e;
}

.twofa-required>.icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.twofa-required strong {
  font-size: 12px;
  line-height: 1.7;
}

.twofa-required small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  margin-top: 5px;
  color: #bca788;
}

.twofa-required small .icon {
  width: 12px;
  height: 12px;
  vertical-align: middle;
}

.twofa-required:hover {
  border-color: #d3aa67;
}

.withdraw-confirmation {
  width: 100%;
}

.twofa-ready {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #9dceb1;
  margin-top: 18px;
}

.twofa-ready .icon {
  width: 16px;
  height: 16px;
}

.twofa-setup {
  text-align: center;
}

.twofa-setup>.twofa-emblem {
  margin: 0 auto 18px;
}

.twofa-setup h3 {
  font-size: 15px;
}

.twofa-setup>p {
  font-size: 12px;
  line-height: 1.8;
  color: #9ab3a2;
  margin: 12px auto;
  max-width: 360px;
}

#twofa-code {
  font-size: 19px;
  letter-spacing: 6px;
}

.twofa-error {
  font-size: 11px;
  color: #f2a3af;
  margin-top: 10px;
  min-height: 16px;
}

.community-preference {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.network-activation-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 24px;
  margin-top: 25px;
}

.network-activation-stats>div {
  min-width: 0;
}

.network-activation-stats span {
  display: block;
  font-size: 10px;
  color: #95af9e;
}

.network-activation-stats strong {
  display: block;
  font: 500 24px Sora,sans-serif;
  letter-spacing: -.7px;
  margin-top: 10px;
  color: #d2e8d9;
}

.network-activation-stats strong.gold {
  color: var(--gold);
}

.network-activation-stats>div:last-child strong {
  font-size: 17px;
  line-height: 1.5;
}

.network-activation-stats small {
  display: block;
  font-size: 10px;
  color: #a1b19b;
  margin-top: 6px;
}

#network-activations {
  scroll-margin-top: 90px;
}

.network-lot-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin: 22px 0 18px;
}

.network-lot-filters label {
  display: block;
  font-size: 10px;
  color: #90aa9b;
  margin-bottom: 9px;
}

.network-lot-filters select,
.network-lot-filters input {
  width: 100%;
  min-width: 0;
  font-size: 11px;
}

.network-lot-head,
.network-lot {
  display: grid;
  grid-template-columns: minmax(200px,2fr) minmax(90px,1fr) minmax(105px,1fr) minmax(130px,1.2fr) minmax(95px,.9fr);
  gap: 12px;
  align-items: center;
}

.network-lot-head {
  font-size: 9px;
  color: #819e8c;
  padding: 0 12px 14px;
  border-bottom: 1px solid #354e3e;
}

.network-lot {
  padding: 18px 12px;
  border-bottom: 1px solid #2b4033;
  font-size: 11px;
}

.network-lot:last-child {
  border-bottom: 0;
}

.network-lot-member>button {
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #c6dfcf;
  font: 600 11px Inter,sans-serif;
  padding: 0;
  cursor: pointer;
}

.network-lot-member>button:hover {
  color: #8ce2b0;
}

.network-lot-member .icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.network-lot-member>small {
  display: block;
  font-size: 9px;
  line-height: 1.8;
  color: #7f9e8b;
  margin-top: 5px;
}

.network-lot-amount strong {
  font-weight: 600;
  white-space: nowrap;
}

.network-lot-date strong {
  font-weight: 400;
  color: #abc6b4;
  font-size: 10px;
}

.network-lot .pill {
  font-size: 9px;
  padding: 5px 8px;
  white-space: nowrap;
}

.network-lot-delay {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
}

.network-lot-delay .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.lot-mobile-label {
  display: none;
}

.community-activity {
  position: fixed;
  right: 23px;
  bottom: 83px;
  z-index: 58;
  width: 320px;
  max-width: calc(100vw - 28px);
}

.community-activity[hidden] {
  display: none;
}

.community-card {
  position: relative;
  display: grid;
  grid-template-columns: 37px minmax(0,1fr) 23px;
  gap: 10px;
  align-items: center;
  padding: 15px 12px 15px 14px;
  border: 1px solid rgba(var(--anim-rgb),.3);
  border-radius: 12px;
  background: linear-gradient(120deg,rgba(var(--anim-rgb),.04),transparent),#101d23;
  box-shadow: 0 14px 38px #0006,0 0 24px rgba(var(--anim-rgb),.025);
  animation: activity-enter .4s ease-out both;
}

.community-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 38px;
  border: 1px solid rgba(var(--anim-rgb),.2);
  border-radius: 10px;
  color: var(--anim);
  background: rgba(var(--anim-rgb),.045);
}

.community-icon .icon {
  width: 18px;
  height: 18px;
}

.community-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #a6b9ae;
  margin-top: 4px;
}

.community-card p strong {
  color: #d4e5dc;
}

.community-value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
}

.community-value>strong {
  font: 500 12px Sora,sans-serif;
  color: var(--anim);
}

.community-value>span {
  font-size: 8px;
  color: #789586;
}

.community-close {
  display: grid;
  place-items: center;
  align-self: start;
  background: none;
  border: 0;
  color: #9db3a7;
  padding: 0;
  width: 26px;
  height: 28px;
  cursor: pointer;
}

.community-close .icon {
  width: 13px;
  height: 13px;
}

.community-close:hover {
  color: #e3efe8;
}

@keyframes activity-enter {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:1250px) {
  .depth-cards {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .workweek,
  .workweek-heading {
    gap: 6px;
    grid-template-columns: repeat(5,minmax(0,1fr)) minmax(110px,1.35fr);
  }
  .workday {
    padding: 10px 8px;
  }
  .workday-money {
    font-size: 11px;
  }
  .week-result {
    padding: 11px;
  }
  .week-result>strong {
    font-size: 16px;
  }
  .simulator-layout {
    grid-template-columns: minmax(270px,.9fr) minmax(0,1.25fr);
  }
  .network-lot-head,
  .network-lot {
    grid-template-columns: minmax(160px,1.8fr) minmax(80px,1fr) minmax(90px,1fr) minmax(112px,1.15fr) minmax(77px,.8fr);
    gap: 8px;
  }
}

@media(max-width:1100px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  .simulator-controls>h2 {
    max-width: 450px;
  }
  .sim-presets {
    max-width: 450px;
  }
  .network-lot-head {
    display: none;
  }
  .network-lot {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 12px 20px;
  }
  .network-lot-member {
    grid-column: 1/3;
  }
  .network-lot>div:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  .network-lot-amount {
    grid-column: 1;
    grid-row: 2;
  }
  .network-lot-date {
    grid-column: 2;
    grid-row: 2;
  }
  .network-lot-delay {
    grid-column: 3;
    grid-row: 2;
  }
  .lot-mobile-label {
    display: block;
    font-size: 9px;
    color: #7f9e8b;
    margin-bottom: 5px;
  }
}

@media(max-width:760px) {
  .choices:has(.premium-choice) {
    gap: 8px;
  }
  .choices .premium-choice {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-height: 126px;
    padding: 11px 13px;
  }
  .premium-choice .compact-orb {
    width: 47px;
    height: 40px;
    flex: 0 0 40px;
    margin-left: -4px;
  }
  .compact-orb .anim-orb.mini {
    transform: scale(.32);
  }
  .compact-choice-copy .compact-index {
    display: none;
  }
  .premium-choice .compact-choice-copy strong {
    font-size: 12px;
  }
  .premium-choice .compact-choice-copy>small:last-child {
    font-size: 9px;
  }
  .premium-choice .choice-check {
    top: 12px;
    right: 12px;
  }
  .deposit-next {
    gap: 16px;
  }
  .deposit-next>.btn {
    width: 100%;
    font-size: 12px;
  }
  .security-strip {
    gap: 10px 13px;
    font-size: 9px;
  }
  .security-strip .icon {
    width: 12px;
    height: 12px;
  }
  .shares-invite {
    padding: 18px;
    gap: 13px;
  }
  .shares-invite .grow {
    flex: 1 1 170px;
  }
  .shares-invite h3 {
    font-size: 13px;
  }
  .shares-invite p {
    font-size: 10px;
  }
  .shares-invite>.btn {
    flex: 1 1 160px;
  }
  .shares-invite>.invite-plan {
    margin-left: auto;
  }
  .invite-emblem {
    width: 35px;
    height: 37px;
    border-radius: 10px;
  }
  .command-actions .command-shares {
    font-size: 11px;
  }
  .equity-plan-hero {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .equity-plan-hero h2 {
    font-size: 26px;
  }
  .equity-plan-hero p {
    font-size: 11px;
  }
  .equity-plan-number {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0 12px;
    text-align: left;
    border-top: 1px solid #a98d542c;
    padding: 17px 0 0;
  }
  .equity-plan-number>strong {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 59px;
    letter-spacing: -3px;
  }
  .equity-plan-number p {
    grid-column: 1;
    font-size: 9px;
    line-height: 1.8;
  }
  .equity-plan-number>svg {
    display: none;
  }
  .commission-example {
    gap: 9px;
  }
  .commission-example strong {
    font-size: 17px;
  }
  .commission-example span {
    font-size: 8px;
  }
  .depth-cards {
    gap: 8px;
  }
  .depth-card {
    padding: 14px 9px;
    gap: 9px;
  }
  .depth-card>strong {
    font-size: 15px;
  }
  .depth-card>span {
    font-size: 9px;
  }
  .depth-card small {
    font-size: 8px;
  }
  .workweek,
  .workweek-heading {
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 5px;
  }
  .workweek+.workweek {
    margin-top: 12px;
  }
  .workweek-heading>span:last-child {
    display: none;
  }
  .workweek-heading {
    font-size: 10px;
  }
  .workday,
  .is-compact .workday {
    padding: 9px 4px;
    min-height: 89px;
    gap: 8px;
    border-radius: 7px;
    align-items: center;
  }
  .workday-heading {
    width: 100%;
    font-size: 10px;
    justify-content: center;
    gap: 3px;
  }
  .is-compact .workday-heading {
    flex-direction: column;
    gap: 3px;
  }
  .workday-heading>span {
    font-size: 9px;
  }
  .workday-rate {
    font-size: 12px;
    letter-spacing: -.5px;
  }
  .workday-money {
    font-size: 10px;
    letter-spacing: -.4px;
  }
  .workday-money small {
    font-size: 8px;
    margin-left: 2px;
  }
  .workday.is-empty {
    min-height: 72px;
  }
  .is-compact .workday {
    min-height: 101px;
  }
  .week-result {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-left-width: 2px;
    border-radius: 7px;
  }
  .week-result>span:first-child {
    font-size: 9px;
  }
  .week-result>strong {
    font-size: 14px;
    letter-spacing: -.3px;
  }
  .week-result-money {
    font-size: 11px;
    text-align: right;
  }
  .calendar-top {
    gap: 9px;
  }
  .calendar-month {
    font-size: 20px;
  }
  .calendar-top .eyebrow {
    font-size: 8px;
  }
  .calendar-nav {
    gap: 4px;
  }
  .calendar-nav>.icon-button {
    width: 29px;
    min-height: 31px;
    font-size: 18px;
  }
  .calendar-nav>button:not(.icon-button) {
    padding: 7px;
    font-size: 9px;
    min-height: 31px;
  }
  .calendar-month-summary {
    margin: 17px 0 14px;
    font-size: 10px;
    gap: 7px 12px;
  }
  .calendar-month-summary>strong {
    font-size: 12px;
  }
  .calendar-caption {
    font-size: 9px;
  }
  .week-trading .section-title {
    flex-wrap: wrap;
    gap: 12px;
  }
  .week-trading .section-title h2 {
    font-size: 16px;
  }
  .simulator-layout {
    gap: 17px;
  }
  .simulator-controls,
  .simulator-results {
    padding: 21px 18px;
  }
  .simulator-controls>h2 {
    font-size: 20px;
    margin-bottom: 22px;
  }
  .sim-capital-input>input {
    font-size: 31px;
  }
  .simulation-monthly-figure strong {
    font-size: 39px;
  }
  .simulation-monthly>span {
    font-size: 10px;
  }
  .simulation-stats strong {
    font-size: 20px;
  }
  .simulation-stats span {
    font-size: 9px;
    line-height: 1.6;
  }
  .simulation-stats {
    gap: 12px;
  }
  .simulator-chart {
    margin-top: 20px;
  }
  .simulator-cta .btn {
    width: 100%;
  }
  .simulator-cta>.text-link {
    margin: 0 auto;
  }
  .simulation-detail td,
  .simulation-detail th {
    font-size: 9px;
    padding: 10px 7px;
  }
  .sim-chart-legend {
    font-size: 8px;
    line-height: 1.6;
  }
  .sim-disclaimer {
    font-size: 9px;
  }
  .twofa-profile-row {
    gap: 13px;
  }
  .twofa-profile-row .grow {
    flex-basis: 190px;
  }
  .twofa-profile-row>.btn {
    width: 100%;
  }
  .twofa-panel .section-title {
    gap: 10px;
  }
  .twofa-panel h2 {
    font-size: 18px;
  }
  .twofa-return>.btn {
    width: 100%;
  }
  .twofa-required {
    padding: 12px;
    gap: 9px;
  }
  .twofa-required strong {
    font-size: 11px;
  }
  .twofa-required small {
    font-size: 9px;
  }
  .twofa-ready {
    font-size: 10px;
    align-items: flex-start;
    line-height: 1.6;
  }
  .withdraw-confirmation>.flex {
    flex-wrap: wrap;
  }
  .community-preference>.btn {
    width: 100%;
  }
  .network-activation-summary .section-title {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }
  .network-activation-summary h2 {
    font-size: 18px;
  }
  .network-activation-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px 13px;
    margin-top: 22px;
  }
  .network-activation-stats>div:last-child {
    grid-column: 1/-1;
    padding-top: 18px;
    border-top: 1px solid #304735;
  }
  .network-activation-stats strong {
    font-size: 23px;
  }
  .network-activation-stats span {
    font-size: 9px;
  }
  .network-activation-detail {
    padding: 21px 15px;
  }
  .network-activation-detail .section-title {
    flex-wrap: wrap;
    gap: 12px;
  }
  .network-activation-detail h2 {
    font-size: 18px;
    line-height: 1.5;
  }
  .network-lot-filters {
    grid-template-columns: 1fr 1fr;
    gap: 13px 9px;
  }
  .network-lot-filters>div:first-child {
    grid-column: 1/-1;
  }
  .network-lot-filters select {
    padding-left: 10px;
    font-size: 10px;
  }
  .network-lot {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    padding: 19px 4px;
  }
  .network-lot-member {
    grid-column: 1/-1;
  }
  .network-lot>div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
  .network-lot-amount {
    grid-column: 1;
    grid-row: 2;
  }
  .network-lot-date {
    grid-column: 1;
    grid-row: 3;
  }
  .network-lot-delay {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
  }
  .network-lot-date strong {
    font-size: 11px;
  }
  .network-lot-member>button {
    font-size: 12px;
  }
  .community-activity {
    right: 12px;
    /* Safari termine déjà le viewport au-dessus de sa barre : 77px
       laissait un grand vide. On ne garde qu’un petit écart et l’encoche réelle. */
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 300px;
  }
  .community-card {
    padding: 12px 9px 12px 12px;
    grid-template-columns: 32px minmax(0,1fr) 25px;
    gap: 9px;
  }
  .community-icon {
    width: 31px;
    height: 35px;
  }
  .community-close {
    width: 30px;
    height: 30px;
  }
  .community-card p {
    font-size: 9px;
  }
  .community-value>strong {
    font-size: 11px;
  }
}

@media(max-width:380px) {
  .workweek,
  .workweek-heading {
    gap: 3px;
  }
  .workday-rate {
    font-size: 10px;
    letter-spacing: -.4px;
  }
  .workday-money {
    font-size: 9px;
  }
  .workday-money small {
    font-size: 7px;
  }
  .workday-heading {
    font-size: 9px;
  }
  .week-result {
    gap: 8px;
    padding: 10px 8px;
  }
  .week-result>span:first-child {
    font-size: 8px;
  }
  .week-result>strong {
    font-size: 12px;
  }
  .week-result-money {
    font-size: 10px;
  }
  .calendar-month {
    font-size: 18px;
  }
  .calendar-nav>button:not(.icon-button) {
    font-size: 8px;
    padding: 5px;
  }
  .commission-example strong {
    font-size: 15px;
  }
  .depth-card>strong {
    font-size: 13px;
  }
  .simulation-stats strong {
    font-size: 17px;
  }
  .premium-choice .compact-choice-copy strong {
    font-size: 11px;
  }
  .premium-choice .compact-choice-copy>small:last-child {
    font-size: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .content>section,
  .content>.grid,
  .content>.simulator-layout,
  .community-card,
  .compact-orb * {
    animation: none!important;
  }
  .btn-primary,
  .btn-gold,
  .choices .premium-choice,
  .toggle-track,
  .toggle-track:after,
  button.workday {
    transition: none!important;
  }
  .btn:hover,
  button.workday:hover {
    transform: none;
  }
  .progress span {
    animation: none;
  }
  .anim-orb * {
    animation: none!important;
    transition: none!important;
  }
  .anim-check-path {
    stroke-dashoffset: 0;
  }
}

@media print {
  .community-activity {
    display: none!important;
  }
}

:is(.scene-actionnariat,
.scene-remuneration-actionnariat,
.scene-zcoins,
.scene-quetes,
.scene-classements,
.scene-progression) {
  --scene-light: 236,188,110;
}

:is(.scene-trading,
.scene-simulateur,
.scene-reseau,
.scene-profit-sharing,
.scene-remuneration,
.scene-aide,
.scene-profil) {
  --scene-light: 66,224,153;
}

.content[class*="scene-"]>.page-head {
  position: relative;
  isolation: isolate;
}

.content[class*="scene-"]>.page-head:before {
  content: "";
  position: absolute;
  left: -45px;
  top: -45px;
  width: 280px;
  height: 160px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse,rgba(var(--scene-light,66,224,153),.055),transparent 70%);
}

:is(.scene-actionnariat,
.scene-zcoins) .hero-balance,
.equity-plan-hero,
.scene-progression .rank-summary,
.podium-stage,
.leader-personal,
.scene-profil .summary-aside,
.scene-aide .help-hero {
  position: relative;
  isolation: isolate;
}

:is(.scene-actionnariat,
.scene-zcoins) .hero-balance {
  overflow: hidden;
  border-color: #bd98535c!important;
  box-shadow: 0 0 0 1px #f7c97905,0 10px 60px #d99c3211,inset 0 1px #f9da9524;
}

:is(.scene-actionnariat,
.scene-zcoins) .hero-balance:before,
.equity-plan-hero:before {
  content: "";
  position: absolute;
  right: -7%;
  top: -70%;
  width: 65%;
  aspect-ratio: 1;
  background: radial-gradient(circle,#f5be4630 0%,#d9972510 35%,transparent 65%);
  filter: blur(12px);
  z-index: -1;
  pointer-events: none;
  animation: treasure-aura 8s ease-in-out infinite;
}

:is(.scene-actionnariat,
.scene-zcoins) .hero-balance:after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -70%;
  width: 35%;
  background: linear-gradient(90deg,transparent,#ffe0a408,transparent);
  transform: rotate(24deg);
  animation: surface-reflection 13s ease-in-out infinite;
  pointer-events: none;
}

.scene-actionnariat .hero-balance .display,
.scene-zcoins .hero-balance .display,
.equity-plan-number>strong {
  text-shadow: 0 0 28px #e3bd6936,0 2px 1px #0008;
}

.scene-actionnariat .balance-decoration {
  width: 105px;
  height: 105px;
  border-radius: 25px;
  transform: rotate(-8deg);
  box-shadow: inset 0 1px #ffe3aa25,0 0 25px #dba94a16,0 15px 40px #0004;
  background: radial-gradient(circle,#deb65d0f,transparent 70%);
  animation: treasure-float 7s ease-in-out infinite;
}

.scene-actionnariat .balance-decoration .icon {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 9px #f8d18145);
}

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

.hero-balance .share-hero-actions .btn {
  margin-top: 0;
}

.share-hero-actions>span {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  color: #b9b498;
}

.share-hero-actions>span .icon {
  width: 12px;
  height: 12px;
  color: #d3b56c;
}

.btn-treasure,
.shares-invite>.btn,
.scene-actionnariat .page-head .btn-gold {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 5px 22px #e4b45e24,inset 0 1px #fff3ca66;
  border-color: #efd49a;
  transition: transform .2s,box-shadow .2s;
}

.btn-treasure:after,
.shares-invite>.btn:after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -80%;
  width: 45%;
  transform: skew(-22deg);
  background: linear-gradient(90deg,transparent,#fff7dc66,transparent);
  animation: button-reflection 9s ease-in-out infinite;
  pointer-events: none;
}

.btn-treasure:hover,
.shares-invite>.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px #e4b45e35,inset 0 1px #fff3ca77;
}

.chart-invest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 17px;
  padding-top: 19px;
  border-top: 1px solid #ab874a2d;
}

.chart-invest>div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chart-invest strong {
  font-size: 12px;
  color: #d1bc91;
}

.chart-invest span {
  font-size: 10px;
  color: #879d91;
}

.chart-invest>.btn {
  font-size: 10px;
}

.shares-invite {
  position: relative;
  isolation: isolate;
  margin-bottom: 24px;
  background: radial-gradient(ellipse at 12% 0,#d5a44317,transparent 60%),linear-gradient(110deg,#212820,#14202a);
  border-color: #c49a4c55;
  box-shadow: inset 0 1px #e8c58014,0 7px 30px #b78a2a08;
}

.shares-invite .invite-emblem {
  background: linear-gradient(145deg,#deb6601c,#272b22);
  box-shadow: inset 0 1px #f8dca529,0 0 20px #dba84c18;
  transform: rotate(-5deg);
  transition: transform .25s;
}

.shares-invite:hover .invite-emblem {
  transform: rotate(2deg) scale(1.06);
}

.equity-plan-hero {
  overflow: hidden;
  box-shadow: inset 0 1px #f8dca51f,0 12px 55px #b98c2f0c;
  border-color: #d4b16b55;
}

.equity-plan-action {
  margin-top: 24px;
}

.equity-plan-action .btn {
  font-size: 12px;
  min-height: 44px;
}

.equity-levels .level-cell {
  transition: border-color .2s,background .2s,box-shadow .2s;
}

.equity-levels .level-cell:hover {
  border-color: #d8b56a88;
  background: #c49b4815;
  box-shadow: 0 0 17px #d4a94e16;
}

.depth-card.unlocked {
  box-shadow: inset 0 1px #92deaf0d;
}

.depth-card:hover {
  border-color: #6caf81;
}

.scene-trading #capital-trading {
  background: radial-gradient(ellipse at 5% 0,#27b57d19,transparent 65%),linear-gradient(125deg,#14281f,#101b24);
  border-color: #3e805957;
  box-shadow: 0 5px 36px #21b9750c;
}

.scene-trading .kpi.highlight,
.scene-simulateur .simulator-results {
  box-shadow: 0 0 36px #24c7820c,inset 0 1px #7ce2a818;
  border-color: #46956555;
}

.scene-trading .rate-big {
  color: #a8edbd;
  text-shadow: 0 0 24px #4be09420;
}

:is(.scene-remuneration,
.scene-profit-sharing) .panel.glow {
  background: radial-gradient(ellipse at 90% 0,#39c3811a,transparent 65%),linear-gradient(130deg,#13271f,#101c24);
  border-color: #4c9f6655;
  box-shadow: 0 8px 35px #27ba7109;
}

.scene-remuneration .rate-big {
  text-shadow: 0 0 25px #52e8aa26;
}

.scene-bonus-rang .panel.no-pad {
  box-shadow: 0 0 40px #dba94a09;
  border-top-color: #d4a95577;
}

.scene-bonus-rang tbody tr:hover {
  background: #dcba6510;
}

.scene-bonus-rang tbody .gold {
  font-weight: 600;
  text-shadow: 0 0 14px #d7a44c20;
}

.scene-progression .rank-summary {
  padding: 18px 0;
  margin: 10px 0;
}

.scene-progression .rank-summary:before {
  content: "";
  position: absolute;
  left: -20px;
  top: -30px;
  width: 200px;
  height: 190px;
  z-index: -1;
  background: radial-gradient(circle,#f2ba4429,transparent 68%);
  animation: treasure-aura 7s ease-in-out infinite;
}

.scene-progression .gold-panel {
  background: radial-gradient(ellipse at 0 30%,#ab75231b,transparent 70%),linear-gradient(125deg,#22291f,#111d25);
  border-color: #bb944856;
  box-shadow: inset 0 1px #e9cb8126,0 8px 35px #ca9a360c;
}

.rank-emblem:after {
  content: "";
  position: absolute;
  inset: -30% -150%;
  transform: translateX(-40%) rotate(-30deg);
  background: linear-gradient(90deg,transparent 40%,#fff2cb00 46%,#fff2cb55 50%,#fff2cb00 54%,transparent 60%);
  opacity: 0;
  pointer-events: none;
}

.scene-progression .rank-summary .rank-emblem:after,
.rank-card.current .rank-emblem:after,
.scene-profil .rank-emblem:after {
  animation: rank-reflection 9s ease-in-out infinite;
}

.rank-card:hover .rank-emblem:after {
  animation: rank-reflection 1.7s ease-out;
}

.rank-card .rank-emblem {
  transition: transform .3s,filter .3s;
}

.rank-card:hover .rank-emblem {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.16);
}

.scene-progression .rank-card {
  position: relative;
  background: radial-gradient(ellipse at 50% 15%,#c39a3f0b,transparent 65%),#111d23;
  border-color: #7c6a3a44;
  transition: border-color .25s,box-shadow .25s,transform .25s;
}

.scene-progression .rank-card.current {
  background: radial-gradient(ellipse at 50% 10%,#42ce8822,transparent 70%),#12261d;
  border-color: #6bd99a80;
  box-shadow: 0 0 21px #36d68416,inset 0 1px #9df4bd29;
}

.scene-progression .rank-card.rank-z1:not(.current) { border-color: #8b939c55; }
.scene-progression .rank-card.rank-z2:not(.current) { border-color: #cd7f3266; }
.scene-progression .rank-card.rank-z3:not(.current) { border-color: #cbd5e166; }
.scene-progression .rank-card.rank-z4:not(.current) { border-color: #fbbf2466; }
.scene-progression .rank-card.rank-z5:not(.current) { border-color: #5eead466; }
.scene-progression .rank-card.rank-z6:not(.current) { border-color: #34d39966; }
.scene-progression .rank-card.rank-z7:not(.current) { border-color: #60a5fa66; }
.scene-progression .rank-card.rank-z8:not(.current) { border-color: #c084fc66; }
.scene-progression .rank-card.rank-z9:not(.current) { border-color: #fb718566; }
.scene-progression .rank-card.rank-z10:not(.current) { border-color: #a5b4fc73; }

.scene-progression .rank-card:hover {
  box-shadow: 0 9px 28px #0003;
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.scene-progression .rank-card>p.gold {
  font-weight: 600;
  text-shadow: 0 0 15px #deb96026;
}

.scene-progression .rank-summary .rank-emblem {
  filter: drop-shadow(0 0 14px #efba4a30);
  animation: treasure-float 6s ease-in-out infinite;
}

.scene-profil .summary-aside {
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0,#42c78319,transparent 55%),linear-gradient(145deg,#172c23,#101b24);
  border-color: #52966a55;
  box-shadow: inset 0 1px #a0e8b91e,0 10px 35px #29af650b;
}

.scene-profil .summary-aside>.flex:first-child .avatar {
  width: 47px;
  height: 47px;
  box-shadow: 0 0 0 4px #70dc9b09,0 0 23px #50c98725;
  border: 1px solid #6fcb9666;
  background: linear-gradient(140deg,#3d7050,#1b3229);
}

.scene-profil .summary-aside h2 {
  text-shadow: 0 0 18px #5bc38418;
}

.scene-profil .summary-aside .status-dot {
  box-shadow: 0 0 8px #55e6a17a;
}

.scene-aide .help-hero {
  overflow: hidden;
  border-color: #38865e6b;
  background: radial-gradient(ellipse at 50% -20%,#1ca87332,transparent 70%),linear-gradient(140deg,#13281e,#101b24);
  box-shadow: 0 7px 35px #24bd7b0d;
}

.help-emblem {
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  width: 47px;
  height: 47px;
  border: 1px solid #77dca34d;
  border-radius: 15px;
  background: #6fd89d0a;
  box-shadow: 0 0 25px #56db9a18;
  transform: rotate(-6deg);
}

.help-emblem .icon {
  color: #99deb9;
  width: 23px;
  height: 23px;
}

.scene-aide .faq-item {
  transition: background .2s,border-color .2s;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}

.scene-aide .faq-item:hover,
.scene-aide .faq-item[open] {
  background: linear-gradient(90deg,#3bb97c0b,transparent);
  border-color: #4a99715c;
}

.scene-aide .faq-item[open] summary {
  color: #a5e3bf;
}

.scene-aide .faq-chip.active {
  box-shadow: 0 0 16px #32c98614;
}

.payment-reassurance {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
  margin: 22px 0 8px;
  padding-top: 19px;
  border-top: 1px solid rgba(var(--anim-rgb),.15);
}

.payment-reassurance>button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  gap: 6px;
  text-align: center;
  padding: 13px 4px;
  border: 1px solid rgba(var(--anim-rgb),.12);
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 0,rgba(var(--anim-rgb),.055),transparent 85%);
  transition: border-color .2s,box-shadow .2s;
}

.payment-reassurance>button:hover {
  border-color: rgba(var(--anim-rgb),.42);
  box-shadow: 0 0 16px rgba(var(--anim-rgb),.055);
}

.payment-reassurance>button>span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 33px;
  color: var(--anim);
}

.payment-reassurance>button>span>svg {
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 0 6px rgba(var(--anim-rgb),.2));
}

.payment-reassurance>button>span>.icon {
  width: 24px;
  height: 24px;
}

.payment-reassurance strong {
  font-size: 9px;
  color: #b8cebf;
  line-height: 1.5;
}

.payment-reassurance small {
  font-size: 8px;
  color: #769885;
  line-height: 1.6;
}

#capital-rules-desktop .capital-schedule {
  margin: 18px 0 0;
}

#capital-rules-mobile:empty {
  display: none;
}

.sim-scroll {
  width: 100%;
  margin: 2px 0 0;
  min-height: 45px;
  font-size: 12px;
  box-shadow: 0 3px 22px #32b97b15;
}

#sim-results {
  scroll-margin-top: 90px;
}

#sim-results:focus {
  outline: none;
}

#sim-results:focus-visible {
  outline: 1px solid #66c794;
  outline-offset: 4px;
}

.interactive-chart {
  position: relative;
  min-width: 0;
  --chart-accent: #5ae4ae;
}

.interactive-chart.chart-tone-gold {
  --chart-accent: #edc578;
}

.interactive-chart.chart-tone-cyan {
  --chart-accent: #83d9eb;
}

.interactive-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
  cursor: crosshair;
  border-radius: 8px;
}

.interactive-chart-svg:focus-visible {
  outline: 1px solid var(--chart-accent);
  outline-offset: 4px;
}

.interactive-chart-svg text {
  fill: #87a394;
  font: 10px Inter,sans-serif;
}

.interactive-chart-grid {
  stroke: #526f5c;
  stroke-width: .6;
  stroke-opacity: .38;
  stroke-dasharray: 3 5;
}

.interactive-chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb,var(--chart-accent) 22%,transparent));
  animation: chart-reveal .45s ease-out both;
}

.chart-crosshair {
  stroke: var(--chart-accent);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: .55;
  pointer-events: none;
}

.chart-focus-dot {
  fill: #13251d;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 4px var(--chart-accent));
  pointer-events: none;
}

.chart-endpoint {
  filter: drop-shadow(0 0 4px color-mix(in srgb,var(--chart-accent) 40%,transparent));
}

.chart-tooltip {
  position: absolute;
  z-index: 3;
  top: 7px;
  transform: translateX(-50%);
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb,var(--chart-accent) 35%,transparent);
  border-radius: 9px;
  background: #101e21f5;
  box-shadow: 0 7px 25px #0005;
  pointer-events: none;
  min-width: 130px;
  max-width: 80%;
  text-align: center;
  backdrop-filter: blur(8px);
}

.chart-tooltip[hidden] {
  display: none;
}

.chart-tooltip>span {
  display: block;
  font-size: 9px;
  color: #9cb3a7;
}

.chart-tooltip>strong {
  display: block;
  font: 600 16px Sora,sans-serif;
  color: var(--chart-accent);
  margin-top: 5px;
  white-space: nowrap;
}

.chart-tooltip>small {
  display: block;
  font-size: 9px;
  color: #adc5b6;
  margin-top: 4px;
}

.chart-tooltip>small:empty {
  display: none;
}

.chart-interaction-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 8px;
  color: #6f8e7c;
  margin: 3px 0 8px;
}

.chart-interaction-hint>span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chart-interaction-hint .icon {
  width: 11px;
  height: 11px;
}

.simulator-results .chart-wrap {
  margin-top: 18px;
}

.gift-modal {
  max-width: 560px!important;
  background: radial-gradient(ellipse at 50% 35%,#7f643115,transparent 60%),linear-gradient(140deg,#16251f,#0d1721)!important;
  border-color: #b38f4547;
}

.gift-modal>.modal-head {
  margin-bottom: 8px;
}

.gift-experience {
  text-align: center;
}

.gift-scene {
  width: 250px;
  height: 214px;
  position: relative;
  isolation: isolate;
  margin: -6px auto 0;
  pointer-events: none;
}

.gift-art {
  width: 250px;
  height: 221px;
  position: relative;
  filter: drop-shadow(0 10px 15px #0005);
  animation: gift-hover 6s ease-in-out infinite;
  overflow: visible;
}

.gift-aura {
  position: absolute;
  inset: 4% -15% -9%;
  background: radial-gradient(ellipse,#edc16a1f,rgba(var(--anim-rgb),.065) 36%,transparent 68%);
  filter: blur(9px);
  animation: treasure-aura 6s ease-in-out infinite;
  z-index: -1;
}

.gift-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #eaca8a;
  box-shadow: 0 0 9px #e4bc76;
  border-radius: 50%;
  left: calc(8% + var(--spark)*12%);
  top: calc(19% + var(--spark)*7%);
  animation: gift-dust 5s ease-in-out infinite;
  animation-delay: calc(var(--spark)*-.7s);
}

.gift-box-treasure {
  opacity: 0;
  transform: translateY(30px);
  transform-origin: 130px 120px;
}

.gift-copy {
  font: 500 18px/1.6 Sora,sans-serif;
  color: #d7e7da;
  letter-spacing: -.4px;
  margin: 5px 0 20px;
}

.gift-preview-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid #9b814039;
  border-radius: 11px;
  background: #c8a55508;
}

.gift-preview-details>div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 6px;
}

.gift-preview-details span {
  font-size: 9px;
  color: #8fa593;
}

.gift-preview-details strong {
  font: 500 20px Sora,sans-serif;
  color: #edcc8e;
  overflow-wrap: anywhere;
}

.gift-preview-details>div:last-child strong {
  font-size: 14px;
  color: #c9dfd0;
  line-height: 1.8;
}

.gift-preview-details small {
  font-size: 10px;
  color: #a8b79b;
  line-height: 1.6;
}

.gift-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 23px 0 19px;
}

.gift-actions .btn {
  min-height: 44px;
  font-size: 12px;
}

.gift-message {
  margin: 17px 0 0;
  padding: 13px 18px;
  border-left: 2px solid #c8a75a55;
  text-align: left;
  color: #b2c5b7;
  background: #9bad5a07;
  font-size: 11px;
  line-height: 1.8;
  border-radius: 0 8px 8px 0;
}

.gift-message cite {
  display: block;
  font-size: 9px;
  color: #6f8e7b;
  font-style: normal;
  margin-top: 5px;
}

.gift-sending .gift-art {
  animation: gift-send 1s cubic-bezier(.4,0,.3,1) both;
}

.gift-sending .gift-spark {
  animation: gift-send-sparks 1s ease-out both;
}

.gift-sending .gift-aura {
  animation: gift-send-aura 1s ease-out both;
}

.gift-sent .gift-art {
  animation: gift-arrive .7s ease-out both;
  opacity: .7;
}

.gift-sent-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px;
  border-radius: 9px;
  border: 1px solid #5da6794d;
  background: #57b77909;
  font-size: 12px;
  color: #accbb7;
}

.gift-sent-detail>.icon {
  color: #a4e0af;
  flex-shrink: 0;
}

.gift-busy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #d4bd85;
}

.gift-busy>.icon {
  width: 15px;
  height: 15px;
  animation: gift-busy-turn 3s linear infinite;
}

.gift-received .gift-art {
  animation: gift-arrive .65s cubic-bezier(.2,.8,.3,1) both,gift-hover 6s .65s ease-in-out infinite;
}

.gift-received .gift-copy {
  max-width: 340px;
  margin: 8px auto 0;
  font-size: 17px;
}

.gift-opening .gift-art,
.gift-opened .gift-art {
  animation: none;
}

.gift-opening .gift-box-lid {
  animation: gift-lid-open 1.1s cubic-bezier(.2,.8,.3,1) both;
  transform-origin: 130px 80px;
}

.gift-opened .gift-box-lid {
  transform: translate(-14px,-65px) rotate(-13deg);
  transform-origin: 130px 80px;
  opacity: .55;
}

.gift-opening .gift-box-treasure {
  animation: gift-treasure-rise 1s .2s ease-out both;
}

.gift-opened .gift-box-treasure {
  opacity: 1;
  transform: translateY(-10px);
  filter: drop-shadow(0 0 14px #e7c06355);
}

.gift-opening .gift-aura {
  animation: gift-opening-aura 1.2s ease-out both;
}

.gift-opened .gift-scene {
  height: 190px;
  margin-top: 10px;
}

.gift-opened .gift-copy {
  display: none;
}

.gift-reveal {
  animation: gift-reveal .6s ease-out both;
  margin-top: 7px;
}

.gift-reveal>span {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #bba97c;
}

.gift-reveal>strong {
  display: block;
  font: 600 38px/1.6 Sora,sans-serif;
  color: #f1ce8b;
  letter-spacing: -1.4px;
  text-shadow: 0 0 28px #e6b24a2b;
}

.gift-reveal>p {
  font-size: 11px;
  line-height: 1.8;
  max-width: 340px;
  margin: 0 auto;
  color: #9cb89e;
}

.gift-shop-emblem {
  width: 58px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #eac57c;
  border: 1px solid #b6954a66;
  border-radius: 16px;
  background: linear-gradient(140deg,#d0a14e19,#203329);
  box-shadow: inset 0 1px #fce0a92b,0 0 25px #d9aa5213;
  transform: rotate(-6deg);
}

.gift-shop-emblem>.icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 6px #e4b45d33);
}

.scene-zcoins .hero-balance {
  padding-right: 130px;
}

.scene-zcoins .hero-balance:before {
  right: -4%;
  top: -40%;
  width: 45%;
  background: radial-gradient(circle,#dfb55232,transparent 60%);
}

.scene-zcoins .hero-balance .display {
  color: #f6d894;
}

.scene-zcoins .hero-balance .eyebrow {
  letter-spacing: 1.8px;
}

.scene-zcoins .hero-balance>.flex .btn-gold {
  box-shadow: 0 4px 20px #e6b24d29;
}

.zc-treasure {
  position: absolute;
  right: 29px;
  top: 39px;
  width: 86px;
  height: 86px;
  transform: rotate(-12deg);
  animation: treasure-float 6s ease-in-out infinite;
}

.zc-treasure>span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 2px solid #edca81aa;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%,#e4bd744d,#7d602d33 60%,#4e482a);
  box-shadow: inset 0 0 0 5px #654c281a,inset 0 0 0 6px #ecd08a55,inset 0 2px #ffebba77,4px 5px 0 #554729,0 0 35px #deb05729,0 12px 25px #0004;
  color: #ffe1a1;
}

.zc-treasure svg {
  width: 49px;
  height: 49px;
  filter: drop-shadow(0 0 6px #ffdf9766);
}

.zc-treasure>i {
  position: absolute;
  width: 5px;
  height: 5px;
  top: -6px;
  right: 4px;
  background: #f6d99c;
  clip-path: polygon(50% 0,65% 35%,100% 50%,65% 65%,50% 100%,35% 65%,0 50%,35% 35%);
  filter: drop-shadow(0 0 5px #ffdc89);
}

.zc-treasure>i:last-child {
  top: auto;
  right: auto;
  left: -9px;
  bottom: 5px;
  width: 8px;
  height: 8px;
}

.scene-zcoins .grid.cols3>.panel {
  background: radial-gradient(ellipse at 50% 0,#bc974215,transparent 75%),linear-gradient(140deg,#1d2b22,#121e26);
  border-color: #9c814344;
  transition: transform .25s,border-color .25s,box-shadow .25s;
}

.scene-zcoins .grid.cols3>.panel:hover {
  transform: translateY(-3px);
  border-color: #cfaa6099;
  box-shadow: 0 9px 30px #0003,0 0 20px #b99a4010;
}

.scene-zcoins .grid.cols3>.panel>.icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px #d4ad5638);
}

.scene-quetes .quest {
  border-radius: 11px;
  border: 1px solid #48634540;
  padding: 19px 15px;
  margin-bottom: 13px;
  background: radial-gradient(ellipse at 100% 0,#d8aa4a0b,transparent 60%),#12221d;
  transition: border-color .2s,box-shadow .2s;
}

.scene-quetes .quest:last-child {
  margin-bottom: 0;
}

.scene-quetes .quest:hover {
  border-color: #bd9b4e77;
  box-shadow: 0 0 20px #d6af4c09;
}

.scene-quetes .quest-complete {
  border-color: #54bd8155;
  background: radial-gradient(ellipse at 0 50%,#34c77e13,transparent 60%),#13261e;
}

.quest-complete .quest-icon {
  background: #46bb7b14;
  border: 1px solid #70d89945;
  box-shadow: 0 0 14px #65da920f;
}

.quest-progress .quest-icon {
  background: #c39b3b0e;
  color: #d1b66d;
}

.scene-quetes .quest-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 76px;
  padding: 11px 8px;
  border: 1px solid #d1a95647;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 0,#dab04717,transparent 80%);
  box-shadow: inset 0 1px #f3d5901b;
  color: #f0ce83;
  font: 600 12px Sora,sans-serif;
  white-space: nowrap;
}

.quest-reward>.icon {
  width: 23px;
  height: 23px;
  filter: drop-shadow(0 0 5px #e6b95040);
}

.quest-reward>small {
  font: 500 6px Inter,sans-serif;
  letter-spacing: .7px;
  color: #bca36d;
}

.quest-complete .quest-reward {
  border-color: #cbaa5f66;
  box-shadow: 0 0 20px #d4ae5310,inset 0 1px #f7d68c22;
}

.scene-quetes aside.gold-panel {
  background: radial-gradient(ellipse at 50% 0,#b285301c,transparent 65%),#17261f;
  border-color: #b7934e55;
  box-shadow: 0 0 29px #d4a34709;
}

.leader-personal {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr) auto;
  align-items: center;
  gap: 25px;
  padding: 25px 28px;
  border: 1px solid #b6974b64;
  border-radius: 16px;
  background: radial-gradient(ellipse at 0 40%,#cdac4920,transparent 60%),linear-gradient(125deg,#263024,#132128);
  box-shadow: inset 0 1px #f2d58921,0 8px 35px #ba943c0c;
}

.leader-position {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 4px;
}

.leader-position>small {
  font-size: 8px;
  letter-spacing: 1px;
  color: #b4a06b;
}

.leader-position>strong {
  font: 600 58px/1.3 Sora,sans-serif;
  letter-spacing: -3px;
  color: #f5d590;
  text-shadow: 0 0 26px #ebbd5530;
}

.leader-next h2 {
  margin-top: 9px;
  font-size: 20px;
}

.leader-next>p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0 16px;
  color: #a9baa3;
}

.leader-next>.eyebrow {
  font-size: 8px;
}

.leader-next>span:last-child {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 9px;
  color: #8da58e;
  margin-top: 9px;
}

.leader-next b {
  font-weight: 500;
  color: #b9c99d;
}

.leader-next-reward {
  text-align: right;
  min-width: 175px;
}

.leader-next-reward>span {
  display: block;
  font-size: 9px;
  color: #aeac85;
}

.leader-next-reward>strong {
  display: block;
  font: 600 26px Sora,sans-serif;
  color: #ebca80;
  margin: 8px 0 12px;
}

.leader-next-reward small {
  font-size: 12px;
  color: #b9a16a;
}

.leader-next-reward .btn {
  font-size: 10px;
}

.podium-stage {
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 75%,#d1a14916,transparent 65%),linear-gradient(145deg,#17251f,#101923);
  border-color: #8e753b4d;
  box-shadow: inset 0 1px #ecd08b12;
}

.podium-stage .podium {
  padding-top: 59px;
  gap: 20px;
}

.podium-stage .podium-card {
  background: linear-gradient(135deg,#27332d,#15221e);
  border-color: #93a38a59;
  border-bottom: 0;
  min-height: 229px;
  padding-top: 30px;
  box-shadow: inset 0 1px #e2e6cf22,0 0 32px #98b6a409;
}

.podium-stage .podium-card.winner {
  min-height: 265px;
  padding-top: 46px;
  background: radial-gradient(ellipse at 50% 0,#e5b64f27,transparent 70%),linear-gradient(140deg,#343827,#1c2922);
  border-color: #dbb6608c;
  box-shadow: 0 0 42px #dfac4c19,inset 0 1px #ffdc8c4d;
}

.podium-stage .podium-3 {
  background: linear-gradient(135deg,#322e24,#1b2320);
  border-color: #b4945766;
  min-height: 212px;
}

.podium-crown {
  position: absolute;
  top: -52px;
  left: calc(50% - 24px);
  width: 48px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #becbaa;
  filter: drop-shadow(0 0 7px #c4d7b140);
}

.podium-crown .icon {
  width: 27px;
  height: 27px;
}

.winner .podium-crown {
  top: -55px;
  color: #f5d78f;
  filter: drop-shadow(0 0 11px #ecc45e70);
  animation: treasure-float 5s ease-in-out infinite;
}

.winner .podium-crown .icon {
  width: 36px;
  height: 36px;
}

.podium-3 .podium-crown {
  color: #c69f6a;
}

.podium-stage .winner .avatar {
  width: 55px;
  height: 55px;
  box-shadow: 0 0 0 5px #ebcb730c,0 0 23px #d9b05a2b;
  border: 1px solid #dbb35c66;
}

.podium-stage .podium-card .gold {
  font-size: 23px;
  text-shadow: 0 0 18px #e1b54a25;
}

.podium-stage .podium-card .gold small {
  font-size: 11px;
}

.podium-caption {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  color: #999c7b;
  margin-top: 15px;
}

.leaderboard-table tbody tr:has(.leader-you) {
  background: linear-gradient(90deg,#d8b15c17,#3f744716);
  box-shadow: inset 3px 0 #ceac58;
}

.leader-table-position {
  font: 500 14px Sora,sans-serif;
  color: #9bb4a1;
}

.leader-table-position.is-you {
  color: #edd08a;
}

.leader-you {
  color: #cce9d4;
}

.leader-you>span {
  font: 600 7px Inter,sans-serif;
  padding: 3px 5px;
  border-radius: 4px;
  margin-left: 5px;
  background: #d9b65f20;
  color: #dfc281;
  letter-spacing: .6px;
}

@keyframes treasure-aura {
  0%,
  100% {
    opacity: .65;
    transform: scale(.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.07);
  }
}

@keyframes treasure-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

@keyframes surface-reflection {
  0%,
  72% {
    left: -70%;
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  92%,
  100% {
    left: 160%;
    opacity: 0;
  }
}

@keyframes button-reflection {
  0%,
  72% {
    left: -80%;
    opacity: 0;
  }
  74% {
    opacity: 1;
  }
  91%,
  100% {
    left: 150%;
    opacity: 0;
  }
}

@keyframes rank-reflection {
  0%,
  65% {
    transform: translateX(-45%) rotate(-30deg);
    opacity: 0;
  }
  70% {
    opacity: .8;
  }
  95%,
  100% {
    transform: translateX(45%) rotate(-30deg);
    opacity: 0;
  }
}

@keyframes chart-reveal {
  from {
    opacity: .35;
  }
  to {
    opacity: 1;
  }
}

@keyframes gift-hover {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-5px) rotate(1deg);
  }
}

@keyframes gift-dust {
  0%,
  100% {
    opacity: 0;
    transform: translateY(4px) scale(.5);
  }
  50% {
    opacity: .65;
    transform: translateY(-13px) scale(1);
  }
}

@keyframes gift-send {
  0% {
    transform: translate(0,0) scale(1);
    opacity: 1;
  }
  25% {
    transform: translate(-8px,5px) scale(.95);
    opacity: 1;
  }
  100% {
    transform: translate(120px,-75px) scale(.2) rotate(12deg);
    opacity: 0;
  }
}

@keyframes gift-send-sparks {
  to {
    transform: translate(65px,-40px);
    opacity: 0;
  }
}

@keyframes gift-send-aura {
  to {
    transform: scale(.5);
    opacity: 0;
  }
}

@keyframes gift-arrive {
  from {
    opacity: 0;
    transform: translate(-35px,-20px) scale(.72) rotate(-9deg);
  }
  to {
    opacity: 1;
    transform: translate(0,0) scale(1) rotate(-2deg);
  }
}

@keyframes gift-lid-open {
  0% {
    transform: translate(0,0);
    opacity: 1;
  }
  25% {
    transform: translate(0,-5px) rotate(3deg);
  }
  100% {
    transform: translate(-14px,-65px) rotate(-13deg);
    opacity: .55;
  }
}

@keyframes gift-treasure-rise {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.6);
  }
  to {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
}

@keyframes gift-opening-aura {
  0% {
    opacity: .6;
    transform: scale(.9);
  }
  60% {
    opacity: 1;
    transform: scale(1.25);
  }
  100% {
    opacity: .8;
    transform: scale(1.1);
  }
}

@keyframes gift-reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gift-busy-turn {
  to {
    transform: rotate(360deg);
  }
}

@media(min-width:1001px) {
  #capital-rules-mobile {
    display: none;
  }
}

@media(max-width:1000px) {
  #capital-rules-desktop {
    display: none;
  }
  .leader-personal {
    grid-template-columns: 90px minmax(0,1fr);
    gap: 17px;
  }
  .leader-next-reward {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    border-top: 1px solid #8d814335;
    padding-top: 17px;
  }
  .leader-next-reward>strong {
    margin: 0;
  }
  .leader-next-reward>.btn {
    margin-left: auto;
  }
}

@media(max-width:760px) {
  .zc-treasure {
    right: 23px;
    top: 18px;
    width: 36px;
    height: 36px;
  }
  .zc-treasure svg {
    width: 23px;
    height: 23px;
  }
  .zc-treasure>span {
    border-width: 1px;
    box-shadow: inset 0 0 0 3px #ecd08a25,2px 3px 0 #554729,0 0 25px #deb05726;
  }
  .share-hero-actions {
    align-items: flex-start;
    gap: 11px;
  }
  .share-hero-actions>span {
    font-size: 9px;
  }
  .share-hero-actions>.btn {
    font-size: 11px;
    min-height: 43px;
  }
  .scene-actionnariat .balance-decoration {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
  }
  .scene-actionnariat .balance-decoration .icon {
    width: 34px;
    height: 34px;
  }
  .scene-actionnariat .hero-balance {
    gap: 18px;
    flex-wrap: wrap;
  }
  .chart-invest>div {
    width: 100%;
  }
  .chart-invest>.btn {
    width: 100%;
  }
  .shares-invite {
    margin-bottom: 20px;
  }
  .equity-plan-action {
    margin-top: 20px;
  }
  .equity-plan-action>.btn {
    width: 100%;
  }
  .payment-reassurance {
    gap: 5px;
    margin-top: 19px;
    padding-top: 15px;
  }
  .payment-reassurance>button {
    padding: 11px 3px;
    gap: 4px;
  }
  .payment-reassurance strong {
    font-size: 8px;
  }
  .payment-reassurance small {
    font-size: 7px;
  }
  .payment-reassurance>button>span {
    height: 29px;
  }
  .payment-reassurance>button>span>svg {
    width: 27px;
    height: 27px;
  }
  .chart-tooltip {
    padding: 9px 10px;
    min-width: 108px;
    top: 0;
  }
  .chart-tooltip>strong {
    font-size: 13px;
  }
  .chart-tooltip>span,
  .chart-tooltip>small {
    font-size: 8px;
  }
  .chart-interaction-hint {
    font-size: 7px;
    gap: 5px;
  }
  .scene-zcoins .hero-balance {
    padding-right: 24px;
  }
  .scene-quetes .quest {
    padding: 15px 10px;
    gap: 9px;
  }
  .scene-quetes .quest-icon {
    width: 30px;
    height: 32px;
    flex-shrink: 0;
  }
  .scene-quetes .quest .grow {
    min-width: 0;
  }
  .scene-quetes .quest h3 {
    font-size: 12px;
  }
  .scene-quetes .quest p {
    font-size: 10px;
  }
  .scene-quetes .quest-reward {
    min-width: 59px;
    padding: 9px 5px;
    font-size: 10px;
    gap: 5px;
  }
  .quest-reward>.icon {
    width: 20px;
    height: 20px;
  }
  .quest-reward>small {
    font-size: 5px;
    letter-spacing: .3px;
  }
  .scene-quetes .quest .tiny {
    font-size: 9px;
    flex-wrap: wrap;
  }
  .leader-personal {
    padding: 21px 17px;
    grid-template-columns: 65px minmax(0,1fr);
    gap: 15px;
  }
  .leader-position>strong {
    font-size: 45px;
  }
  .leader-position>small {
    font-size: 6px;
  }
  .leader-next h2 {
    font-size: 16px;
    line-height: 1.5;
  }
  .leader-next>.eyebrow {
    font-size: 6px;
  }
  .leader-next>p {
    font-size: 10px;
    line-height: 1.7;
  }
  .leader-next>span:last-child {
    font-size: 8px;
    line-height: 1.6;
  }
  .leader-next-reward {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }
  .leader-next-reward>span {
    font-size: 8px;
  }
  .leader-next-reward>strong {
    font-size: 21px;
  }
  .leader-next-reward>.btn {
    width: 100%;
  }
  .podium-stage {
    padding: 22px 12px 0;
  }
  .podium-stage .podium {
    gap: 7px;
    padding: 54px 0 0;
  }
  .podium-stage .podium-card {
    padding: 25px 7px 16px;
    min-height: 201px;
  }
  .podium-stage .podium-card.winner {
    min-height: 233px;
    padding-top: 37px;
  }
  .podium-stage .podium-3 {
    min-height: 186px;
  }
  .podium-stage .podium-card .gold {
    font-size: 16px;
    margin-top: 14px;
  }
  .podium-stage .podium-card .gold small {
    font-size: 8px;
  }
  .podium-stage .winner .avatar {
    width: 42px;
    height: 42px;
  }
  .podium-stage .podium-card h3 {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .podium-stage .podium-card p {
    font-size: 8px;
  }
  .podium-caption {
    font-size: 5px;
    letter-spacing: .4px;
    line-height: 1.6;
  }
  .podium-crown .icon {
    width: 23px;
    height: 23px;
  }
  .winner .podium-crown .icon {
    width: 30px;
    height: 30px;
  }
  .gift-scene {
    width: 222px;
    height: 196px;
  }
  .gift-art {
    width: 222px;
    height: 203px;
  }
  .gift-copy {
    font-size: 16px;
    margin-top: 5px;
  }
  .gift-preview-details {
    padding: 15px;
    gap: 12px;
  }
  .gift-preview-details strong {
    font-size: 19px;
  }
  .gift-preview-details>div:last-child strong {
    font-size: 13px;
  }
  .gift-preview-details small {
    font-size: 9px;
  }
  .gift-actions .btn {
    font-size: 11px;
  }
  .gift-reveal>strong {
    font-size: 32px;
  }
  .gift-reveal>p {
    font-size: 10px;
  }
  .gift-opened .gift-scene {
    height: 176px;
  }
  .gift-sent-detail {
    font-size: 11px;
    text-align: left;
  }
  .gift-message {
    font-size: 10px;
  }
  .gift-received .gift-copy {
    font-size: 15px;
  }
  .sim-scroll {
    font-size: 12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .zc-treasure,
  .rank-emblem:after,
  .gift-art,
  .gift-spark,
  .gift-aura,
  .gift-box-lid,
  .gift-box-treasure,
  .gift-reveal,
  .gift-busy>.icon,
  .interactive-chart-line,
  .podium-crown,
  .rank-summary .rank-emblem,
  .btn-treasure:after,
  .shares-invite>.btn:after,
  .hero-balance:before,
  .hero-balance:after,
  .equity-plan-hero:before,
  .rank-summary:before,
  .balance-decoration {
    animation: none!important;
    transition: none!important;
  }
  .gift-sending .gift-art {
    opacity: .35;
  }
  .gift-opening .gift-box-lid {
    transform: translate(-14px,-65px) rotate(-13deg);
    transform-origin: 130px 80px;
    opacity: .55;
  }
  .gift-opening .gift-box-treasure {
    opacity: 1;
    transform: translateY(-10px);
  }
  .rank-emblem:after {
    display: none;
  }
  .btn-treasure:hover,
  .shares-invite>.btn:hover,
  .rank-card:hover,
  .scene-zcoins .grid.cols3>.panel:hover {
    transform: none;
  }
}


/* Intégration Django : éléments de formulaire et variantes absents de la maquette statique. */
.nav-label-spaced {
  margin-top: 12px;
}
.profile form {
  margin-left: auto;
}
button.logout {
  background: none;
  border: 0;
  cursor: pointer;
}
/* staff : sidebar à sous-rubriques repliables, sélecteur d'applications, listes compactes */
.app-switch { position: relative; flex: 1; min-width: 0; }
.app-switch summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; cursor: pointer; }
.app-switch summary::-webkit-details-marker { display: none; }
.app-switch summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-switch summary .icon { width: 14px; height: 14px; color: var(--muted); }
.app-switch[open] summary .icon { transform: rotate(180deg); }
.app-switch ul { position: absolute; z-index: 60; top: calc(100% + 10px); left: -34px; right: -24px; margin: 0; padding: 5px; list-style: none; background: #0e1920; border: 1px solid #263a36; border-radius: 9px; box-shadow: 0 12px 40px #0009; }
.app-switch li a, .app-switch li span { display: block; padding: 9px 11px; border-radius: 6px; color: #aab8c0; }
.app-switch li a:hover { background: #13221d; color: #fff; }
.app-switch li .active { background: #123a2d; color: var(--green); }
.workspace:has(.app-switch) i { display: none; }
.nav-group > summary { list-style: none; position: relative; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary .nav-link { padding-right: 40px; }
.nav-group-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 7px; color: #74867f; cursor: pointer; }
.nav-group-toggle:hover { background: #13221d; color: #fff; }
.nav-group-toggle .icon { width: 14px; height: 14px; transition: transform .18s; }
.nav-group[open] .nav-group-toggle .icon { transform: rotate(180deg); }
.nav-sub { display: flex; flex-direction: column; gap: 1px; margin: 2px 0 8px 22px; padding-left: 12px; border-left: 1px solid #23332f; }
.nav-sub-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 7px 10px; border-radius: 7px; color: #8fa19a; font-size: 12px; }
.nav-sub-link:hover { background: #13221d; color: #fff; }
.nav-sub-link.active { background: #123a2d; color: #e5fff5; }
.nav-sub-child { margin-left: 12px; font-size: 11px; }
.nav-sub-child.active { background: none; color: var(--green); }
.nav-sep { height: 1px; background: #23332f; margin: 10px 13px; }
.segmented a { font-size: 11px; font-weight: 600; padding: 7px 11px; border-radius: 5px; color: var(--muted); white-space: nowrap; }
.segmented a.active { background: #244039; color: #a9f3d8; }
.segmented a:hover { color: #fff; }
.flow-bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #1a2630; }
.flow-bar > span { display: block; min-width: 2px; }
.flow-bar .leg-mlm { background: var(--green); }
.flow-bar .leg-company { background: #5d6f7c; }
.flow-bar .leg-shareholder { background: var(--gold); }
.flow-bar .leg-plan1 { background: var(--cyan); }
.flow-bar .leg-other { background: #8f94e8; }
.dot.gray { background: #5d6f7c; }
dialog.sz-dialog { padding: 0; border: 0; background: transparent; color: var(--text); width: 100%; max-width: min(620px, calc(100vw - 26px)); overflow: visible; }
dialog.sz-dialog::backdrop { background: #03080bbc; backdrop-filter: blur(6px); }
dialog.sz-dialog > .modal { max-width: none; }
.modal-foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.run-steps { list-style: none; margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #0b131c; display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.run-steps .is-run { color: var(--cyan); }
.run-steps .is-done { color: var(--green); }
.run-steps.inline { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; background: none; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; }
.run-steps.inline li { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.run-steps.inline .is-run { border-color: #2c6b78; background: #10262c; }
.run-steps.inline .is-done { border-color: #276147; }
.progress.is-indet span { width: 35% !important; animation: sz-indet 1.1s ease-in-out infinite; }
@keyframes sz-indet { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
.break { word-break: break-all; overflow-wrap: anywhere; min-width: 0; }
.form-grid.inline-form { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-items: end; gap: 12px; }
.inline-form .field { margin-bottom: 0; }
.referrer-results { display: grid; gap: 6px; max-height: 260px; overflow-y: auto; }
input:not([type]), input[type=date], input[type=datetime-local], input[type=url], input[type=search] { width: 100%; padding: 13px 14px; border-radius: 9px; border: 1px solid #30414e; background: #0b141d; color: #f0f5f7; min-height: 44px; color-scheme: dark; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.cal-head h2 { margin: 0; font-size: 18px; text-align: center; }
.cols5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media(max-width:1200px) { .cols5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media(max-width:760px) { .cols5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wallet-cell small, .summary-line small, .wallet-net small { display: block; margin-top: 2px; font-size: 10px; color: var(--muted); }
.wallet-cell { white-space: normal; min-width: 140px; max-width: 260px; }
.note-cell { white-space: pre-wrap; min-width: 180px; max-width: 360px; }
.wallet-net { padding: 7px 0; border-top: 1px solid var(--line); }
.pay-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.pay-card-head h3 { margin: 4px 0; font-size: 15px; }
.staff-pay-details { border-top: 1px solid var(--line); }
.staff-pay-details > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 20px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; }
.staff-pay-details > summary::-webkit-details-marker { display: none; }
.staff-pay-details > summary:hover { background: #ffffff06; }
.staff-pay-details > summary .icon { width: 15px; height: 15px; transition: transform .2s; }
.staff-pay-details[open] > summary .icon { transform: rotate(180deg); }
.staff-pay-details .when-open, .staff-pay-details[open] .when-closed { display: none; }
.staff-pay-details[open] .when-open { display: inline; }
.staff-pay-body { padding: 0 20px 20px; }
.staff-legend span { display: inline-flex; align-items: center; gap: 4px; }
.staff-legend .icon { width: 13px; height: 13px; }
.staff-cal { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 6px; }
.staff-cal th { background: none; border: 0; padding: 2px 0 4px; text-align: center; text-transform: uppercase; letter-spacing: 1px; font-size: 9px; }
.staff-cal td { padding: 0; border: 0; white-space: normal; vertical-align: top; }
.staff-cal tbody tr:hover { background: none; }
.staff-cal-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 92px; padding: 6px 4px; border: 1px solid #253846; border-radius: 9px; background: #0e1822; text-align: center; overflow: hidden; }
a.staff-cal-cell:hover { border-color: #517363; }
.staff-cal-cell--out { border-color: transparent; background: none; color: #33444d; }
.staff-cal-cell--future { opacity: .55; }
.staff-cal-cell--applied { background: #143025; border-color: #276147; }
.staff-cal-cell--pending { background: #282218; border-color: #5b4727; }
.staff-cal-cell--freeze { background: #14242c; border-color: #2c4c59; }
.staff-cal-cell--selected { box-shadow: inset 0 0 0 2px var(--green); }
.staff-cal-cell--week { background: #121c27; border-color: #2c4c59; box-shadow: inset 3px 0 var(--cyan); }
.staff-cal-num { font: 600 17px Sora, sans-serif; color: #fff; line-height: 1.1; }
.staff-cal-cell--today .staff-cal-num { color: var(--green); }
.staff-cal-cell--out .staff-cal-num { color: inherit; }
.staff-cal-line { display: inline-flex; align-items: center; gap: 3px; }
.staff-cal-line .icon { width: 12px; height: 12px; }
.staff-cal-meta { font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.staff-cal-kicker { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); }
@media(max-width:760px) {
  .staff-cal { border-spacing: 3px; }
  .staff-cal-cell { height: 74px; padding: 4px 2px; }
  .staff-cal-num { font-size: 13px; }
  .staff-cal-meta { font-size: 8px; }
  .staff-cal-line .icon { display: none; }
}
.th-sort { display: inline-flex; align-items: center; gap: 4px; padding: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.th-sort .icon { width: 12px; height: 12px; opacity: .35; }
.th-sort.active { color: var(--green); }
.th-sort.active .icon { opacity: 1; transform: rotate(180deg); }
.th-sort.active.desc .icon { transform: none; }
.table-wrap.compact th { padding: 10px 12px; }
.table-wrap.compact td { padding: 10px 12px; }
@media(max-width:760px) {
  .nav-sub-link { min-height: 44px; }
}
/* compte, auth, messagerie, support : erreurs de champ, OTP, bannière iPhone, contenu markdown, PJ */
.auth-forgot { margin: -5px 0 22px; }
.auth-socials { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin-top: 24px; }
.field small.field-error { color: #f2a3af; }
.otp-input { font-size: 19px; letter-spacing: 6px; text-align: center; }
.pwa-banner { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80; max-width: 520px; margin: 0 auto; box-shadow: 0 14px 38px #0008; }
.pwa-banner[hidden] { display: none; }
a.conversation { display: block; color: inherit; }
a.conversation:hover { background: #13221d; }
.conversation .unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.md-body { font-size: 13px; line-height: 1.75; color: #c0d1db; overflow-wrap: anywhere; }
.md-body > :first-child { margin-top: 0; }
.md-body h1, .md-body h2, .md-body h3, .md-body h4 { margin: 1.1em 0 .45em; color: #eef6f2; }
.md-body p, .md-body ul, .md-body ol, .md-body pre, .md-body blockquote, .md-body table { margin: 0 0 .9em; }
.md-body ul, .md-body ol { padding-left: 1.3rem; }
.md-body a { color: var(--green); }
.md-body code { background: #1b3c2d; padding: .1em .4em; border-radius: 4px; }
.md-body pre { background: #0a1117; padding: 12px; border-radius: 9px; overflow-x: auto; }
.md-body blockquote { border-left: 2px solid #3b8761; padding-left: 12px; color: var(--muted); }
.md-body img { max-width: 100%; height: auto; border-radius: 8px; }
.md-body table { width: 100%; border-collapse: collapse; }
.md-body th, .md-body td { border: 1px solid var(--line); padding: 6px 9px; text-align: left; }
.attachment-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.attachment-thumbs img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
@media(max-width:760px) {
  .conversation-list a.conversation:not(.active) { display: block; }
}
/* récompenses, plan, aide : solde Z Coins doré */
.hero-balance.gold-panel { background: radial-gradient(ellipse at 100% 0,#86612b44,transparent 70%),#191e1d; border-color: #685230; }
/* overview : prime du bloc réseau, jauge de volume, lignes du détail par source */
.overview-bonus { font: 600 22px Sora, sans-serif; }
.overview-gauge { margin-top: 9px; }
.overview-kind { margin: 18px 0; }
.overview-kind .progress { margin-top: 8px; }
/* overview : champ de recherche du journal (type=search absent des styles de champ) */
.journal-search input[type=search] { width: 100%; min-height: 44px; padding: 13px 14px 13px 36px; border-radius: 9px; border: 1px solid #30414e; background: #0b141d; color: #f0f5f7; font-size: 12px; }
.journal-search svg { top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) { .journal-search input[type=search] { font-size: 16px; } }
/* compte : préférences (case + description), notifications cliquables */
.check-row:has(small.block-muted) { align-items: flex-start; }
.check-row:has(small.block-muted) input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.check-row small.block-muted { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
a.activity-row { color: inherit; text-decoration: none; }
a.activity-row:hover strong:first-child { color: var(--green); }
a.activity-row.active { background: #123a2d; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.ticket-filters { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 12px; }
.ticket-filters select, .ticket-filters input { width: 100%; }
.ticket-list { padding: 0 16px 12px; }
.doc-frame { width: 100%; min-height: 75vh; border: 0; background: #fff; }
.hidden { display: none !important; }
.is-dimmed { opacity: 0.4; }
.user-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; cursor: pointer; }
.user-row:hover { background: #12202b; }
.recipient-list { max-height: 18rem; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px; background: #0b141d; }
.comm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .comm-split { grid-template-columns: 1fr; } }
.sz-md { color: #d5dee6; font-size: 14px; line-height: 1.65; word-break: break-word; min-height: 280px; overflow: auto; }
.sz-md > *:first-child { margin-top: 0; }
.sz-md h1, .sz-md h2, .sz-md h3 { color: #f4f7f8; margin: 1em 0 .4em; }
.sz-md p, .sz-md ul, .sz-md ol { margin: 0 0 .8em; }
.sz-md a { color: var(--green); }
.sz-md code { background: #123026; padding: 0 .3em; border-radius: 4px; }
.sz-md pre { background: #070d12; padding: 12px; border-radius: 8px; overflow: auto; }
.sz-md img, .md-body img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 0.6em 0; }
.alloc-bar { height: 14px; border-radius: 999px; overflow: hidden; display: flex; background: #1a242e; border: 1px solid var(--line); }
.alloc-bar > span { display: block; height: 100%; }
.alloc-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.alloc-legend li { display: flex; align-items: center; gap: 8px; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.swatch { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.depth-card.locked { border-color: #2a3540; background: none; }
.depth-card.locked>strong { color: #8a99a5; }
.depth-card.locked small { color: var(--muted); }
/* portefeuille : QR serveur (SVG inline) et liste « avant de transférer » du dépôt */
.qr-box svg { display: block; width: 142px; max-width: 100%; height: auto; }
.payment-transfer .qr-box svg { width: 100%; height: auto; }
.deposit-checklist { gap: 15px; }
.deposit-checklist > .flex { align-items: flex-start; }
/* support et messagerie : fil d'un ticket, pièces jointes, liste mobile bornée */
.ticket-thread { display: flex; flex-direction: column; gap: 14px; }
.ticket-thread .message-bubble.outgoing { margin-top: 0; }
.ticket-event { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.ticket-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.file-pick { cursor: pointer; }
.file-pick:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 760px) { .conversation-list { max-height: 260px; overflow-y: auto; } .ticket-thread .message-bubble { max-width: 100%; } }
/* actionnariat : revenus de parts infimes affichés à 8 décimales, à replier dans les KPI étroits */
.scene-actionnariat .kpi-value { overflow-wrap: anywhere; }
/* documentation publique (sans compte) : en-tête marque + connexion */
.public-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: 1520px; margin: 0 auto; padding: 0 38px 0 14px; border-bottom: 1px solid var(--line); }
@media(max-width:760px) {
  .public-top { padding: 0 16px 16px 0; }
  .public-top .brand { padding: 20px 16px 8px; }
}
/* mon réseau : arbre (connecteurs pour un nombre variable de branches, déplacement, zoom), QR, montants, étapes */
.tree-viewport { overflow: auto; max-height: 72vh; cursor: grab; touch-action: pan-x pan-y; overscroll-behavior: contain; }
.tree-viewport.is-dragging { cursor: grabbing; user-select: none; }
.tree-viewport .network-tree { width: max-content; min-width: max(100%, 660px); box-sizing: border-box; }
.network-tree .tree-level { gap: 0; }
.network-tree .tree-level:before { display: none; }
.network-tree .tree-branch { flex: 1 0 auto; padding: 0 17px; }
.network-tree .tree-branch:after { content: ""; position: absolute; top: -24px; left: 0; right: 0; height: 1px; background: #335245; }
.network-tree .tree-branch:first-child:after { left: 50%; }
.network-tree .tree-branch:last-child:after { right: 50%; }
.network-tree .tree-branch:only-child:after { display: none; }
.network-tree button { font: inherit; color: inherit; cursor: pointer; }
.network-tree .tree-node.is-root { border-color: #44a076; cursor: default; }
.tree-leaf small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); }
.tree-leaf.tree-more { border-style: dashed; color: var(--green); }
.network-tree .is-dim { opacity: .3; }
.network-tree .is-match { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.tree-node-actions { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px; }
.tree-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 12px; font-size: 12px; }
.qr-box.qr-live { border: 0; margin: 0 auto; cursor: zoom-in; }
.qr-box.qr-live svg { display: block; width: 142px; height: 142px; }
.qr-modal-code { background: #fff; border-radius: 12px; padding: 16px; width: min(420px, 100%); margin: 0 auto; }
.qr-modal-code svg { display: block; width: 100%; height: auto; }
.share-message { font-size: 12px; line-height: 1.8; margin: 12px 0; overflow-wrap: anywhere; }
.referral-step { align-items: flex-start; }
.referral-step h3 { font-size: 12px; }
.rank-bonus-amount { font: 600 23px Sora, sans-serif; }
.network-income .kpi-value { font-size: 23px; }
.is-paged { display: none !important; }
.search input[type=search] { padding-left: 36px; }
#network-activations { scroll-margin-top: 90px; }
@media(max-width:760px) {
  .tree-viewport { max-height: 64vh; }
  .network-tree [data-tree-node], .tree-path .text-link { min-height: 44px; }
}
/* tutoriels : tour guidé (?tour=<parcours>) projecteur et carte */
.tour-layer { position: fixed; inset: 0; z-index: 140; }
.tour-spot { position: fixed; border-radius: 12px; border: 1px solid var(--green); box-shadow: 0 0 0 9999px #050a0ecc; transition: top .2s, left .2s, width .2s, height .2s; pointer-events: none; }
.tour-card { position: fixed; width: min(360px, calc(100vw - 32px)); padding: 18px; background: var(--panel); border: 1px solid #2c4a40; border-radius: var(--radius); box-shadow: 0 18px 50px #000a; }
.tour-card h2 { margin: 10px 0 6px; font: 600 17px Sora, sans-serif; }
.tour-card p { margin: 0; color: var(--muted); }
@media(max-width:760px) {
  .tour-card { left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: auto; }
  .tour-card .btn, .tour-card .icon-button { min-height: 44px; }
}

.choice-stack { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.choice-hint { margin: 0; font-size: 11px; line-height: 1.45; color: var(--muted); }
a.text-link.gold, a.text-link.gold .icon { color: var(--gold); }
a.text-link.gold:hover { color: #f3d7a4; }

.day-return { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.day-return-score { font: 600 28px Sora, sans-serif; letter-spacing: -.03em; }
.day-return .tiny { margin: 0; }

a.community-hit { display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; color: inherit; text-decoration: none; }
.community-card { grid-template-columns: minmax(0, 1fr) 23px; }

.banner-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.banner-choices form { margin: 0; }
.banner-choices .choice { min-width: 108px; }

.payment-reassurance { gap: 6px; margin: 10px 0 4px; padding-top: 10px; }
.payment-reassurance > button { padding: 6px 4px; gap: 2px; }
.payment-reassurance > button > span { width: 20px; height: 18px; }
.payment-reassurance > button > span > svg,
.payment-reassurance > button > span > .icon { width: 15px; height: 15px; filter: none; }
.payment-reassurance strong { font-size: 8px; }
.payment-reassurance small { font-size: 7px; line-height: 1.3; }
.security-strip { padding: 8px 0; gap: 6px 12px; font-size: 9px; }
.security-explain { gap: 12px; }
.security-explain h3 { font-size: 12px; }
.security-explain p { font-size: 11px; line-height: 1.5; margin-top: 3px; }
#modal-root .anim-orb-slot { transform: scale(.72); transform-origin: center top; }

@keyframes balance-ring-a {
  from { transform: rotate(-30deg) scaleX(.8); }
  to { transform: rotate(330deg) scaleX(.8); }
}
@keyframes balance-ring-b {
  from { transform: rotate(30deg) scaleX(.8); }
  to { transform: rotate(-330deg) scaleX(.8); }
}

.simulation-monthly-figure {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
}
.simulation-monthly-figure strong {
  font: 500 clamp(33px, 3.5vw, 49px)/1 Sora, sans-serif;
  letter-spacing: -2px;
  color: #e0f3e6;
}
.simulation-monthly-figure .per-month {
  font: 600 15px/1 Sora, sans-serif;
  letter-spacing: 0;
  color: #9bb5a4;
}
.sim-scroll-mobile { display: none; }
.sim-scroll .icon { margin-right: 6px; }

.scene-actionnariat .hero-balance.gold-panel {
  border-color: #c9a15a;
  box-shadow: inset 0 1px 0 rgba(255, 236, 196, .35);
  background:
    linear-gradient(120deg, rgba(255, 236, 196, .16), transparent 34%),
    radial-gradient(ellipse at 100% 0, #86612b55, transparent 70%),
    #191e1d;
}
.scene-actionnariat .hero-balance .display small { color: #e7c98a; }

.gift-search { max-width: none; width: 100%; }
.gift-search input { width: 100%; }

.withdraw-condition.blocked {
  background: linear-gradient(110deg, #4a2a12cc, #24180e);
  border-color: #e07a2f;
}
.withdraw-condition.eligible { padding: 12px 14px; }
.withdraw-condition .icon-button { flex: 0 0 auto; }
.fee-reopen { display: inline-flex; margin: 8px 0 4px; }

.capital-schedule.fee-tier-50 {
  padding: 20px;
  border-color: #e07a2f;
  background: linear-gradient(120deg, #4a2614cc, #1c1410);
}
.capital-schedule.fee-tier-50 h3 { font-size: 16px; color: #ffc49a; }
.capital-schedule.fee-tier-20 {
  padding: 12px 14px;
  border-color: #4a564e;
  background: #121a1888;
}
.capital-schedule.fee-tier-20 h3 { font-size: 13px; }
.capital-schedule.fee-tier-20 .fee-schedule { margin: 10px 0 8px; }
.capital-schedule.fee-tier-2 {
  padding: 10px 12px;
  border-color: #314038;
  background: transparent;
}
.capital-schedule.fee-tier-2 h3 { font-size: 12px; }
.capital-schedule.fee-tier-2 .fee-schedule { margin: 8px 0; }

.filter-bar select,
.history-filters select {
  color: #f0f5f7;
  background-color: #0b141d;
  padding-right: 28px;
}

@media (min-width: 761px) {
  .gift-amounts { grid-template-columns: 1fr 1fr; }
  .gift-amounts .gift-amount { order: 1; }
  .gift-amounts .gift-source { order: 2; }
}

@media (max-width: 1100px) {
  .sim-scroll-desktop { display: none; }
  .sim-scroll-mobile { display: inline-flex; }
}

@media (max-width: 1000px) {
  #withdraw-form {
    display: flex;
    flex-direction: column;
  }
  #withdraw-form .withdraw-side { display: contents; }
  #withdraw-form > section.panel { order: 1; }
  #withdraw-gains-condition { order: 2; }
  #withdraw-form .summary-aside { order: 3; }
}

@media (max-width: 760px) {
  .filter-bar > .segmented,
  .calendar-tools .segmented {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
  }
  .filter-bar > .segmented button,
  .calendar-tools .segmented button { flex: 1 0 auto; }
  .history-filters .btn { grid-column: 1 / -1; }
  .history-filters select { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .balance-decoration:before,
  .balance-decoration:after,
  .balance-decoration img { animation: none; }
}
