:root {
  --safe-top: 0px;
  --safe-right: 0px;
  --safe-bottom: 0px;
  --safe-left: 0px;
  --content-safe-top: 0px;
  --content-safe-right: 0px;
  --content-safe-bottom: 0px;
  --content-safe-left: 0px;
  --app-safe-top: 0px;
  --app-safe-bottom: 0px;
  --telegram-controls-top-gap: 0px;
  --ink: #101820;
  --muted: #66737d;
  --line: #dbe3e8;
  --panel: #ffffff;
  --soft: #eef3f5;
  --green: #3a8299;
  --blue: #267a96;
  --app-bg: #08050d;
  --app-bg-2: #100912;
  --app-card: #171017;
  --app-border: #20354a;
  --accent: #44cbf6;
  --accent-2: #30bce8;
  --accent-hover: #82e1ff;
  --button-text: #050f1a;
  --text-main: #eff5f7;
  --text-secondary: #a6c1c9;
  --text-muted: #8f7e78;
  --success: #36b0d7;
  --warning: #66daff;
  --error: #ff5b4d;
  --info: #62afff;
  color: var(--ink);
  background: #f4f7f8;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  min-height: 100%;
  margin: 0;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #f4f7f8;
  letter-spacing: 0;
}
button,
select {
  font: inherit;
}
.app-shell {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin: 0 auto;
  background: #f4f7f8;
  padding: calc(12px + var(--app-safe-top) + var(--telegram-controls-top-gap))
    calc(14px + var(--safe-right) + var(--content-safe-right))
    calc(86px + var(--app-safe-bottom))
    calc(14px + var(--safe-left) + var(--content-safe-left));
}
body.mobile .app-shell {
  --telegram-controls-top-gap: 30px;
}
body.desktop .app-shell {
  max-width: 480px;
  min-height: min(760px, 100vh);
  padding: 18px 18px 104px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  box-shadow: 0 24px 80px #1018201f;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  margin-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
.brand-logo-img {
  display: block;
  width: min(260px, calc(100vw - 132px));
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.brand-mark {
  position: relative;
  width: 46px;
  height: 54px;
  flex: 0 0 46px;
}
.brand-mark:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 34px;
  border-radius: 0 0 0 34px;
  background: #050607;
}
.brand-mark:after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 2px;
  width: 24px;
  height: 24px;
  background: #050607;
}
.brand-title {
  display: grid;
  gap: 0;
  min-width: 0;
}
.brand-title strong {
  display: grid;
  gap: 0;
  font-size: 29px;
  line-height: 0.82;
  font-weight: 820;
  white-space: nowrap;
}
.brand-title .brand-word {
  color: inherit;
  font-size: inherit;
  letter-spacing: 0;
  margin-top: 0;
  padding-left: 0;
  text-transform: none;
}
.brand-title span {
  color: var(--muted);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.48em;
  padding-left: 2px;
  margin-top: 4px;
}
.profile-chip {
  min-width: 0;
  max-width: 116px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: #2f3b45;
  background: #ffffffc7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.header-language-wrap {
  position: relative;
  z-index: 20;
}
.header-language {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffffd1;
  color: #101820;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 10px 24px #1018200d;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.header-language:hover {
  border-color: #997c3a57;
  box-shadow: 0 12px 26px #997c3a14;
}
.header-language:active {
  transform: translateY(1px);
}
.header-language[disabled] {
  opacity: 0.62;
  cursor: wait;
}
.header-language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 172px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #100912fa;
  padding: 6px;
  box-shadow: 0 18px 44px #00000057;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-language-option {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}
.header-language-option.active {
  background: #f6c74424;
  color: var(--accent-hover);
  font-weight: 820;
}
.header-language-option[disabled] {
  opacity: 0.62;
  cursor: wait;
}
[dir="rtl"] .header-language-menu {
  left: 0;
  right: auto;
}
.screen {
  display: grid;
  gap: 12px;
}
.hero-panel,
.card,
.state-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 38px #1018200f;
}
.hero-panel {
  padding: 16px 18px;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff, #f8fbfc 48%, #edf5f7);
}
.hero-panel:after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 22px solid rgba(16, 24, 32, 0.06);
  border-radius: 50%;
}
.hero-panel:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.hero-panel > * {
  position: relative;
  z-index: 1;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  margin-top: 8px;
  max-width: 300px;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 860;
}
h2 {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 820;
}
h3 {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 780;
}
p {
  color: var(--muted);
  line-height: 1.5;
}
.card {
  padding: 16px;
  display: grid;
  gap: 12px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #f8fbfc;
  padding: 12px;
  min-height: 76px;
  text-align: left;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.metric strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}
.market-card {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: stretch;
  gap: 12px;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}
.market-card:after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border: 15px solid rgba(38, 122, 150, 0.08);
  border-radius: 50%;
}
.market-card > * {
  position: relative;
  z-index: 1;
}
.market-card strong {
  font-size: 26px;
  letter-spacing: 0;
  min-height: 30px;
  display: flex;
  align-items: flex-end;
}
.market-card p {
  font-size: 13px;
  line-height: 1.35;
  margin-top: 4px;
}
.market-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.market-badge {
  border-radius: 999px;
  background: #e4eef1;
  color: var(--green);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 820;
  white-space: nowrap;
}
.market-badge.closed {
  background: #edf1f3;
  color: #6b7780;
}
.market-card.disabled {
  border-color: #d7e0e5;
  background: linear-gradient(180deg, #f6f9faf5, #ebf0f3f5), #eef2f4;
  color: #75818a;
  cursor: not-allowed;
  box-shadow: none;
}
.market-card.disabled:after {
  border-color: #74818a1a;
}
.market-card.disabled strong,
.market-card.disabled p,
.market-card.disabled .market-kicker span {
  color: #75818a;
}
.market-card.disabled:hover,
.market-card.disabled:active {
  border-color: #d7e0e5;
  box-shadow: none;
  transform: none;
}
.market-note {
  color: #6f7b84;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 8px;
}
.market-card:hover {
  border-color: #267a96;
  box-shadow: 0 10px 26px #267a961f;
  transform: translateY(-1px);
}
.market-card:active {
  transform: translateY(0);
}
.pair-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.back-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #23313b;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 760;
}
.pair-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pair-search-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}
.pair-search-input::placeholder {
  color: var(--muted);
}
.pair-card {
  width: 100%;
  min-height: 86px;
  display: grid;
  gap: 9px;
  align-content: space-between;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}
.pair-card:hover {
  border-color: #267a9673;
  box-shadow: 0 10px 22px #10182014;
  transform: translateY(-1px);
}
.pair-card:active {
  transform: translateY(0);
}
.pair-name {
  min-width: 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 820;
  overflow: hidden;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.pair-payout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 50px;
  border-radius: 999px;
  background: #e4eef1;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
  padding: 6px 9px;
  white-space: nowrap;
}
.expiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.expiry-button {
  min-height: 66px;
  border: 1px solid #dce7ec;
  border-radius: 8px;
  background: #f8fbfc;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 4px;
  align-content: center;
  text-align: center;
}
.expiry-button strong {
  font-size: 21px;
  line-height: 1;
}
.analysis-card {
  border-color: #267a9638;
  background: linear-gradient(180deg, #fff, #f5fbfd);
}
.signal-loader-card {
  min-height: calc(
    100vh - 210px - var(--app-safe-top) - var(--app-safe-bottom)
  );
  min-height: calc(
    100dvh - 210px - var(--app-safe-top) - var(--app-safe-bottom)
  );
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px 18px;
  overflow: hidden;
  position: relative;
}
.signal-loader-card:after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 24px solid rgba(16, 24, 32, 0.055);
  border-radius: 50%;
}
.signal-loader-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: 100%;
}
.lottie-loader {
  width: min(230px, 72vw);
  aspect-ratio: 1;
}
.signal-loader-text {
  display: grid;
  gap: 8px;
}
.signal-loader-text h2 {
  font-size: 26px;
}
.signal-loader-status {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(58,130,153,0.18);
  border-radius: 999px;
  background: #e4eef1;
  color: var(--green);
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 820;
}
.signal-loader-status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px #997c3a1f;
  animation: signalStatusPulse 1.05s ease-in-out infinite;
}
.analysis-steps {
  display: grid;
  gap: 8px;
}
.analysis-step {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #42515c;
  font-size: 14px;
}
.analysis-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 5px #267a961f;
}
.signal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(134, 213, 232, 0.2);
  background:
    radial-gradient(
      circle at 78% 8%,
      rgba(134, 213, 232, 0.16),
      transparent 34%
    ),
    linear-gradient(145deg, #267a9638, #10182000 44%), #101820;
  color: #fff;
  box-shadow: 0 24px 58px #10182033;
}
.signal-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--green));
}
.signal-card:after {
  content: "";
  position: absolute;
  right: -58px;
  top: -70px;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 24px solid rgba(58,130,153,0.1);
}
.signal-card.sell:after {
  border-color: #b2363621;
}
.signal-card .eyebrow {
  color: #86d5e8;
}
.signal-card p {
  color: #b7c8d4;
}
.signal-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.signal-top h2 {
  font-size: 24px;
  line-height: 1.02;
}
.direction-badge {
  min-width: 82px;
  min-height: 42px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 860;
  box-shadow: 0 12px 24px #0003;
}
.direction-badge.buy {
  background: linear-gradient(135deg, #3e8ba3, var(--green));
}
.direction-badge.sell {
  background: linear-gradient(135deg, #d54b4b, #b23636);
}
.signal-visual {
  position: relative;
  z-index: 1;
  min-height: 170px;
  border: 1px solid rgba(134, 213, 232, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 50% 16%,
      rgba(134, 213, 232, 0.15),
      transparent 48%
    ),
    linear-gradient(180deg, #ffffff12, #ffffff06);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  box-shadow: inset 0 0 0 1px #ffffff08;
}
.signal-chart {
  width: min(190px, 78%);
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.26));
}
.signal-chart path,
.signal-chart polyline {
  stroke: var(--green);
}
.signal-card.sell .signal-chart path,
.signal-card.sell .signal-chart polyline {
  stroke: #ef5350;
}
.signal-callout {
  display: grid;
  gap: 2px;
  margin-top: -10px;
}
.signal-callout span {
  color: #b7c8d4;
  font-size: 12px;
  font-weight: 760;
}
.signal-callout strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.signal-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.signal-meta.open {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.signal-meta-item {
  border: 1px solid rgba(134, 213, 232, 0.18);
  border-radius: 8px;
  padding: 11px;
  background: linear-gradient(180deg, #ffffff13, #ffffff09);
}
.signal-meta-item span {
  display: block;
  color: #9eb3c1;
  font-size: 12px;
  margin-bottom: 4px;
}
.signal-meta-item strong {
  font-size: 18px;
  color: #fff;
}
.signal-description {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  border: 1px solid rgba(68,203,246,0.24);
  border-radius: 8px;
  background: #f6c74414;
  color: var(--text-secondary);
  padding: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.result-banner {
  position: relative;
  z-index: 1;
  min-height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  font-weight: 820;
}
.result-banner .back-button {
  background: #ffffffe6;
}
.result-banner.win {
  background: #e4eef1;
  color: var(--green);
}
.result-banner.loss {
  background: #f8e9e9;
  color: #b23636;
}
.result-banner.draw {
  background: #eef3f5;
  color: #42515c;
}
.signal-action-row {
  display: grid;
  gap: 8px;
}
.signal-action-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #101820;
  font-size: 15px;
  font-weight: 820;
  cursor: pointer;
  box-shadow: 0 10px 24px #1018200d;
}
.signal-action-button.primary {
  border-color: #997c3a33;
  background: var(--green);
  color: #fff;
}
.signal-list {
  display: grid;
  gap: 10px;
}
.active-preview-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid;
  border-color: #f6c74442;
  border-radius: 8px;
  background: linear-gradient(180deg, #171017f5, #08050dfa);
  padding: 12px;
  box-shadow: 0 14px 34px #0000003d;
}
.active-preview-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.active-preview-main h3 {
  font-size: 19px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.active-preview-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.mini-direction {
  border-radius: 999px;
  color: #fff;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 860;
  line-height: 1;
}
.mini-direction.buy {
  background: var(--green);
}
.mini-direction.sell {
  background: #b23636;
}
.mini-countdown {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.active-preview-card .back-button {
  border-color: #f6c74452;
  background: #08050dc7;
  color: var(--ink);
  box-shadow: none;
}
.active-preview-card .back-button:hover {
  border-color: #ffe0829e;
  color: var(--accent-hover);
}
.empty-signals {
  min-height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 0.84;
}
.empty-signals .lottie-loader {
  width: min(190px, 50vw);
}
.section-heading {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}
.section-heading h2 {
  font-size: 26px;
  line-height: 1.05;
}
.section-heading p {
  font-size: 14px;
}
.signal-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #f8fbfc;
  padding: 12px;
}
.signal-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #101820;
  color: #fff;
}
.tag {
  border-radius: 999px;
  background: #e4eef1;
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
  padding: 6px 9px;
  white-space: nowrap;
}
.history-line {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px #1018200b;
}
.history-line:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #c8d2d8;
}
.history-line.win {
  border-color: #997c3ab8;
  background: linear-gradient(90deg, #997c3a1a, #fff 42%);
  box-shadow: 0 10px 26px #997c3a21;
}
.history-line.win:before {
  background: var(--green);
}
.history-line.loss {
  border-color: #b23636b8;
  background: linear-gradient(90deg, #b236361a, #fff 42%);
  box-shadow: 0 10px 26px #b2363621;
}
.history-line.loss:before {
  background: #b23636;
}
.history-line.draw {
  border-color: #5d6c7699;
  background: linear-gradient(90deg, #5d6c7617, #fff 42%);
}
.history-line.draw:before {
  background: #7c8b94;
}
.history-detail {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.history-detail h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-values {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.28;
}
.history-values strong {
  color: var(--ink);
  font-weight: 820;
}
.history-result {
  width: fit-content;
  border-radius: 999px;
  background: #eef3f5;
  color: #5d6c76;
  font-size: 12px;
  font-weight: 820;
  padding: 6px 9px;
}
.history-result.win {
  background: #e4eef1;
  color: var(--green);
}
.history-result.loss {
  background: #f8e9e9;
  color: #b23636;
}
.history-result-main {
  min-width: 82px;
  min-height: 42px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 860;
  box-shadow: 0 12px 22px #10182021;
}
.history-result-main.win {
  background: linear-gradient(135deg, #3e8ba3, var(--green));
}
.history-result-main.loss {
  background: linear-gradient(135deg, #d54b4b, #b23636);
}
.history-result-main.draw {
  background: linear-gradient(135deg, #8b9aa3, #63717b);
}
.history-direction {
  width: fit-content;
  border-radius: 999px;
  background: #eef3f5;
  color: #17202a;
  font-size: 12px;
  font-weight: 820;
  padding: 5px 9px;
}
.history-direction.buy {
  background: #e4eef1;
  color: var(--green);
}
.history-direction.sell {
  background: #f8e9e9;
  color: #b23636;
}
.profile-grid {
  display: grid;
  gap: 10px;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e6edf1;
  padding-bottom: 10px;
}
.profile-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.profile-row span {
  color: var(--muted);
}
.profile-hero {
  display: grid;
  gap: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fff, #f8fbfc 52%, #edf5f7);
}
.profile-hero:after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border: 20px solid rgba(16, 24, 32, 0.055);
  border-radius: 50%;
}
.profile-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 1px solid #dbe6eb;
  background: #101820;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 26px;
  font-weight: 860;
  box-shadow: 0 14px 26px #1018201f;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.profile-name h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-trader {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce7ec;
  border-radius: 999px;
  background: #ffffffb8;
  padding: 7px 10px;
  color: #40515c;
  font-size: 13px;
}
.profile-trader strong {
  color: var(--ink);
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.profile-stats-card {
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 100% 0%, rgba(68,203,246,0.1), transparent 34%),
    var(--app-card);
}
.profile-stats-card:after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 20px solid rgba(68,203,246,0.055);
  border-radius: 50%;
}
.profile-stat {
  position: relative;
  z-index: 1;
  min-height: 94px;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #171017f5, #100912fa);
  padding: 12px;
  display: grid;
  align-content: space-between;
}
.profile-stat-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-stat-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f6c7441f;
  color: var(--accent);
}
.profile-stat-icon svg {
  width: 17px;
  height: 17px;
}
.profile-stat span {
  color: var(--muted);
  font-size: 12px;
}
.profile-stat strong {
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
}
.education-hero {
  display: grid;
  gap: 14px;
}
.education-progress {
  display: grid;
  gap: 8px;
}
.education-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}
.education-progress-track {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(68,203,246,0.28);
  border-radius: 999px;
  background: #08050dcc;
}
.education-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px #f6c74452;
}
.education-stats,
.profile-learning-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.education-stat {
  min-height: 72px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background: #171017b8;
  padding: 10px;
}
.education-stat span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.education-stat strong {
  color: var(--accent-hover);
  font-size: 21px;
  line-height: 1;
}
.education-section,
.education-modules {
  display: grid;
  gap: 12px;
}
.education-module-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.education-module-tab {
  min-height: 76px;
  display: grid;
  gap: 6px;
  align-content: space-between;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background: #08050d75;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}
.education-module-tab.active {
  border-color: #f6c7449e;
  box-shadow:
    inset 0 0 0 1px #f6c74429,
    0 14px 28px #00000038;
}
.education-module-tab.passed {
  border-color: #00ff6670;
  background: #00ff6614;
}
.education-module-tab strong {
  font-size: 13px;
  line-height: 1.2;
}
.education-module-status {
  width: fit-content;
  border: 1px solid rgba(68,203,246,0.24);
  border-radius: 999px;
  background: #f6c7441a;
  color: var(--accent-hover);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 860;
}
.education-module-status.passed {
  border-color: #00ff665c;
  background: #00ff661f;
  color: var(--success);
}
.education-module-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 94% 10%,
      rgba(68,203,246,0.08),
      transparent 34%
    ),
    linear-gradient(180deg, #171017f5, #100912fa);
  padding: 14px;
  box-shadow: 0 16px 34px #00000038;
}
.education-module-card.done {
  border-color: #00ff666b;
}
.education-module-card.collapsed {
  padding: 0;
}
.education-module-card.expanded {
  border-color: #f6c7447a;
}
.education-module-detail {
  display: grid;
  gap: 12px;
}
.education-module-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.education-module-toggle-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.education-module-toggle-main h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.education-module-toggle-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68,203,246,0.26);
  border-radius: 8px;
  background: #f6c74414;
  color: var(--accent-hover);
  font-size: 18px;
  font-weight: 860;
}
.education-module-card.expanded .education-module-toggle-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--button-text);
}
.education-module-content {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px;
}
.education-module-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.education-module-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.education-module-kicker,
.education-lesson-time,
.education-quiz-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
}
.education-module-progress {
  min-width: 62px;
  border: 1px solid rgba(68,203,246,0.24);
  border-radius: 999px;
  background: #f6c7441a;
  color: var(--accent-hover);
  padding: 6px 9px;
  text-align: center;
  font-size: 12px;
  font-weight: 860;
}
.education-lessons {
  display: grid;
  gap: 8px;
}
.education-lesson-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background: #08050d6b;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  cursor: pointer;
}
.education-lesson-item.done {
  border-color: #00ff665c;
  background: #00ff6612;
}
.education-check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68,203,246,0.28);
  border-radius: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 860;
}
.education-lesson-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.education-lesson-copy strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}
.education-lesson-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.education-lesson-detail {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(68,203,246,0.18);
  border-radius: 8px;
  background: #08050d85;
  padding: 12px;
}
.education-lesson-detail p,
.education-lesson-detail li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.education-lesson-detail ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}
.education-complete-button,
.education-reset-button,
.education-restart-button {
  min-height: 40px;
  border: 1px solid rgba(68,203,246,0.36);
  border-radius: 8px;
  background: #f6c7441f;
  color: var(--accent-hover);
  font-weight: 860;
  cursor: pointer;
}
.education-restart-button {
  width: fit-content;
  padding: 0 13px;
  background: #171017eb;
}
.education-complete-button.done {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--button-text);
}
.education-quiz-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(31,48,65,0.95);
  border-radius: 8px;
  background:
    radial-gradient(circle at 95% 0%, rgba(68,203,246,0.06), transparent 30%),
    #08050d57;
  padding: 14px;
}
.education-quiz-card .section-heading h2 {
  font-size: 20px;
}
.education-quiz-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(68,203,246,0.18);
  border-radius: 8px;
  background: #f6c7440e;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
.education-quiz-summary strong {
  color: var(--accent-hover);
  font-size: 18px;
}
.education-question {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(31,48,65,0.82);
  padding-top: 14px;
}
.education-quiz-option {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(31,48,65,0.86);
  border-radius: 8px;
  background: #100912a8;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  font-weight: 760;
  cursor: pointer;
}
.education-quiz-option:disabled {
  cursor: default;
}
.education-quiz-option.correct {
  border-color: #00ff6675;
  background: #00ff661f;
  color: var(--success);
}
.education-quiz-option.wrong {
  border-color: #ff3b3b75;
  background: #ff3b3b1f;
  color: var(--error);
}
.education-quiz-explain {
  border-radius: 8px;
  background: #f6c74412;
  color: var(--muted);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}
.education-quiz-actions {
  display: flex;
  justify-content: flex-end;
}
.education-course-actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 74px;
}
.education-toast {
  position: sticky;
  top: calc(10px + var(--app-safe-top) + var(--telegram-controls-top-gap));
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(68,203,246,0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(68,203,246,0.2), transparent 34%),
    linear-gradient(180deg, #171017fa, #08050dfa);
  color: var(--ink);
  padding: 12px;
  box-shadow:
    0 18px 44px #0000005c,
    0 0 0 1px #e890300d;
}
.education-toast.achievement {
  border-color: #ffe08294;
  box-shadow:
    0 18px 44px #0000005c,
    0 0 26px #f6c7441f;
}
.education-toast-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--button-text);
  font-weight: 920;
}
.education-toast-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.education-toast-copy strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.15;
}
.education-toast-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.education-toast-close {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68,203,246,0.2);
  border-radius: 8px;
  background: #08050db8;
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}
.education-achievements,
.profile-learning-achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.education-achievement {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon status" "icon title" "body body" "hint hint";
  column-gap: 10px;
  row-gap: 5px;
  align-content: start;
  border: 1px solid rgba(31,48,65,0.86);
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(68,203,246,0.05),
      transparent 42%
    ),
    linear-gradient(180deg, #171017bd, #08050dd1);
  padding: 12px 38px 12px 12px;
  opacity: 0.74;
  overflow: hidden;
}
.achievement-info-button {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68,203,246,0.24);
  border-radius: 999px;
  background: #08050db8;
  color: var(--accent-hover);
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #e890300a;
}
.achievement-info-button:hover {
  border-color: #ffe08294;
  background: #f6c7441f;
}
.education-achievement-icon {
  grid-area: icon;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #f6c74433, #e8903014), #08050db8;
  border: 1px solid rgba(68,203,246,0.22);
  color: var(--accent-hover);
  box-shadow: inset 0 0 0 1px #e890300a;
}
.education-achievement-icon svg {
  width: 20px;
  height: 20px;
}
.education-achievement.unlocked {
  opacity: 1;
  border-color: #f6c74466;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(68,203,246,0.14),
      transparent 46%
    ),
    linear-gradient(180deg, #2e1e24e0, #100b0df0);
  box-shadow:
    inset 0 0 0 1px #e890300d,
    0 12px 26px #0000002e;
}
.education-achievement-status {
  grid-area: status;
  align-self: end;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}
.education-achievement-title {
  grid-area: title;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.05;
}
.education-achievement-lead {
  grid-area: body;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}
.achievement-hint {
  grid-area: hint;
  margin-top: 4px;
  border: 1px solid rgba(68,203,246,0.22);
  border-radius: 7px;
  background: #08050db8;
  color: var(--accent-hover);
  padding: 8px;
  font-size: 12px;
  line-height: 1.35;
}
.profile-learning-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  position: relative;
}
.profile-learning-card:after {
  content: "";
  position: absolute;
  right: -56px;
  top: -60px;
  width: 146px;
  height: 146px;
  border: 20px solid rgba(68,203,246,0.055);
  border-radius: 50%;
}
.profile-learning-card > * {
  position: relative;
  z-index: 1;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.language-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  color: var(--ink);
  cursor: pointer;
}
.language-button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 760;
}
.flag-icon {
  width: 23px !important;
  height: 17px !important;
  border-radius: 3px;
  box-shadow: 0 0 0 1px #1018201f;
  object-fit: cover;
  flex: 0 0 auto;
}
.bottom-nav {
  position: fixed;
  left: calc(var(--safe-left) + 12px);
  right: calc(var(--safe-right) + 12px);
  bottom: calc(var(--app-safe-bottom) + 10px);
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 452px;
  margin: 0 auto;
  border: 1px solid rgba(211, 223, 229, 0.95);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffffff5, #f5fafcf0), #f8fbfc;
  padding: 8px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 42px #1018201f;
}
body.desktop .bottom-nav {
  left: 50%;
  right: auto;
  width: min(452px, calc(100vw - 28px));
  transform: translate(-50%);
}
body.desktop .pair-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nav-button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5d6c76;
  display: grid;
  place-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 12px;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.nav-button svg {
  width: 21px;
  height: 21px;
}
.nav-button.active {
  background: linear-gradient(135deg, #3a8299, var(--green));
  color: #fff;
  box-shadow: 0 10px 24px #997c3a38;
}
.nav-button:active {
  transform: translateY(1px);
}
.state-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(18px + var(--safe-top)) calc(18px + var(--safe-right))
    calc(18px + var(--safe-bottom)) calc(18px + var(--safe-left));
}
.state-card {
  width: min(430px, 100%);
  padding: 24px;
  display: grid;
  gap: 16px;
  text-align: left;
}
.state-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
}
.loader {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #d6e1e7;
  border-top-color: #101820;
  animation: spin 0.85s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes signalStatusPulse {
  0%,
  to {
    opacity: 0.55;
    transform: scale(0.86);
    box-shadow: 0 0 0 3px #997c3a1f;
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
    box-shadow: 0 0 0 7px #997c3a2e;
  }
}
:root {
  --ink: var(--text-main);
  --muted: var(--text-secondary);
  --line: var(--app-border);
  --panel: var(--app-card);
  --soft: var(--app-bg-2);
  --green: var(--accent);
  --blue: var(--info);
  color: var(--ink);
  background: var(--app-bg);
}
body,
.app-shell {
  background:
    radial-gradient(
      circle at 10% -10%,
      rgba(68,203,246,0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 100% 8%,
      rgba(48,188,232,0.08),
      transparent 34%
    ),
    linear-gradient(180deg, var(--app-bg) 0%, var(--app-bg-2) 100%);
  color: var(--ink);
}
body.desktop .app-shell {
  border-color: #412d1fe6;
  box-shadow: 0 24px 80px #00000094;
}
p,
.metric span,
.profile-chip,
.market-card p,
.pair-lead,
.profile-row span,
.history-detail,
.nav-button,
.market-note {
  color: var(--muted);
}
.brand-logo-img {
  height: 62px;
  max-height: 62px;
  object-fit: cover;
  object-position: center 56%;
  border-radius: 6px;
  filter: drop-shadow(0 0 18px rgba(68,203,246,0.22));
}
.header-language-trigger,
.profile-trader {
  background: #171017eb;
  border-color: #f6c74457;
  color: var(--ink);
  box-shadow:
    0 0 0 1px #e890300f,
    0 10px 26px #0000002e;
}
.header-language-trigger:hover,
.profile-trader:hover {
  border-color: #ffe08294;
}
.profile-trader strong {
  color: var(--accent-hover);
}
.profile-chip {
  background: #171017e0;
  border-color: #f6c74447;
  color: var(--muted);
}
.header-language-trigger,
.profile-chip,
.header-language-menu,
.header-language-option,
.language-card,
.card,
.metric,
.hero-panel,
.pair-card,
.expiry-card,
.profile-card,
.profile-row,
.history-line,
.bottom-nav,
.state-card,
.signal-list,
.detail-card {
  border-color: #412d1feb;
  background: linear-gradient(180deg, #171017f5, #100912fa), var(--app-card);
  color: var(--ink);
  box-shadow: 0 16px 42px #0000004d;
}
.back-button,
.page-button,
.action-button {
  border-color: #412d1ff2;
  background: var(--app-card);
  color: var(--ink);
}
.hero-panel {
  background:
    radial-gradient(circle at 86% 18%, rgba(68,203,246,0.1), transparent 34%),
    linear-gradient(135deg, #171017fa, #08050dfa);
}
.hero-panel:before,
.signal-card:before {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent-2));
}
.hero-panel:after,
.market-card:after,
.profile-hero:after {
  border-color: #f6c74414;
}
.eyebrow,
.details-label,
.signal-card .eyebrow,
.pair-payout,
.profile-row strong,
.history-direction {
  color: var(--accent);
}
.pair-payout {
  background: #f6c7441f;
  border: 1px solid rgba(68,203,246,0.26);
  color: var(--accent-hover);
  box-shadow: inset 0 0 0 1px #e890300a;
}
.pair-search-input {
  background: #171017f0;
  border-color: #f6c74447;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #e890300a;
}
.pair-search-input:focus {
  outline: none;
  border-color: #ffe082b3;
  box-shadow: 0 0 0 3px #f6c7441a;
}
.expiry-button {
  background: linear-gradient(180deg, #171017f5, #100912fa);
  border-color: #f6c74447;
  color: var(--ink);
  box-shadow:
    inset 0 0 0 1px #e890300a,
    0 12px 26px #0000002e;
}
.expiry-button:hover {
  border-color: #ffe082a3;
  transform: translateY(-1px);
}
.expiry-button strong {
  color: var(--accent-hover);
}
.expiry-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}
.signal-loader-status {
  background: #f6c7441f;
  border-color: #f6c7444d;
  color: var(--accent-hover);
  box-shadow: inset 0 0 0 1px #e890300a;
}
.signal-loader-status:before {
  box-shadow: 0 0 0 4px #f6c74424;
}
.signal-action-button {
  background: #171017f0;
  border-color: #f6c7444d;
  color: var(--ink);
  box-shadow: 0 12px 28px #0003;
}
.signal-action-button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: #f6c74480;
  color: var(--button-text);
}
.result-banner {
  border: 1px solid rgba(31,48,65,0.95);
  box-shadow: inset 0 0 0 1px #e890300a;
}
.result-banner.win {
  background: #00ff661f;
  border-color: #00ff6657;
  color: var(--success);
}
.result-banner.loss {
  background: #ff3b3b24;
  border-color: #ff3b3b57;
  color: var(--error);
}
.result-banner.draw {
  background: #c9b9a61f;
  border-color: #c9b9a63d;
  color: var(--muted);
}
.history-line {
  background: linear-gradient(180deg, #171017f5, #100912fa);
  border-color: #412d1ff2;
  box-shadow: 0 12px 28px #00000038;
}
.history-line.win {
  border-color: #00ff667a;
  background: linear-gradient(90deg, #00ff661a, #171017fa 42%), var(--app-card);
}
.history-line.loss {
  border-color: #ff3b3b8a;
  background: linear-gradient(90deg, #ff3b3b1f, #171017fa 42%), var(--app-card);
}
.history-line.draw {
  border-color: #c9b9a657;
  background: linear-gradient(90deg, #c9b9a614, #171017fa 42%), var(--app-card);
}
.history-detail h3,
.history-values strong {
  color: var(--ink);
}
.history-values {
  color: var(--muted);
}
.history-result,
.history-direction {
  background: #c9b9a61f;
  border: 1px solid rgba(166,193,201,0.22);
  color: var(--muted);
}
.history-result.win,
.history-direction.buy {
  background: #00ff661f;
  border-color: #00ff6647;
  color: var(--success);
}
.history-result.loss,
.history-direction.sell {
  background: #ff3b3b24;
  border-color: #ff3b3b4d;
  color: var(--error);
}
.market-card:hover,
.pair-card:hover,
.expiry-card:hover {
  border-color: #ffe082c2;
  box-shadow: 0 14px 30px #f6c74429;
}
.market-badge,
.access-badge,
.status-pill,
.profile-status,
.language-current,
.summary-badge {
  background: #f6c74424;
  color: var(--accent);
}
.market-badge.closed {
  background: #ffd1661f;
  color: var(--warning);
}
.market-card.disabled {
  border-color: #8f7e7838;
  background: linear-gradient(180deg, #191517eb, #0f0c0df2), #100d0e;
  color: var(--text-muted);
}
.market-card.disabled strong,
.market-card.disabled p,
.market-card.disabled .market-kicker span {
  color: var(--text-muted);
}
.nav-button.active,
.primary-link,
.action-button.primary,
.save-button,
.language-option.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--button-text);
  box-shadow: 0 12px 28px #f6c74440;
}
.signal-card,
.active-signal-card {
  border-color: #412d1ff2;
  background:
    radial-gradient(circle at 78% 8%, rgba(68,203,246,0.12), transparent 34%),
    linear-gradient(145deg, #e890301f, #08050d00 44%), var(--app-bg);
}
.loader {
  border-top-color: var(--accent);
}
.brand-mark:before,
.brand-mark:after {
  background: var(--accent);
}
[dir="rtl"] .profile-row {
  direction: rtl;
}
@media (max-width: 360px) {
  .brand-title strong {
    font-size: 25px;
  }
  .brand-mark {
    width: 42px;
    height: 50px;
    flex-basis: 42px;
  }
  .brand-mark:before {
    width: 35px;
    height: 31px;
  }
  .brand-mark:after {
    left: 18px;
    width: 22px;
    height: 22px;
  }
  .metric-row,
  .language-grid {
    grid-template-columns: 1fr;
  }
  .pair-list,
  .signal-meta.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  h1 {
    font-size: 24px;
  }
}

/* Signal probability */
.signal-meta.open {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.signal-meta-item.signal-confidence {
  border-color: rgba(68,203,246,0.4);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(68,203,246,0.14),
      transparent 52%
    ),
    linear-gradient(180deg, #271b1f, #100912);
}
.signal-confidence strong {
  color: var(--accent-hover);
}
.signal-confidence-track {
  height: 6px;
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid rgba(68,203,246,0.25);
  border-radius: 999px;
  background: #08050d;
}
.signal-confidence-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(68,203,246,0.35);
}
.mini-confidence {
  border: 1px solid rgba(68,203,246,0.3);
  border-radius: 999px;
  background: rgba(68,203,246,0.1);
  color: var(--accent-hover);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 820;
}
.active-preview-meta .mini-confidence {
  white-space: nowrap;
}
@media (max-width: 360px) {
  .signal-meta.open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Balance-based AI access */
.balance-access-card {
  position: relative;
  overflow: hidden;
  gap: 14px;
  border-color: rgba(102,218,255,0.5);
  background:
    radial-gradient(circle at 100% 0%, rgba(102,218,255,0.13), transparent 38%),
    linear-gradient(180deg, #171017, #0f0b0c);
}
.balance-access-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 150px;
  height: 150px;
  border: 20px solid rgba(68,203,246,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.balance-access-card > * {
  position: relative;
  z-index: 1;
}
.balance-access-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(102,218,255,0.5);
  border-radius: 12px;
  background: rgba(102,218,255,0.12);
  color: var(--warning);
  font-size: 25px;
  font-weight: 900;
}
.balance-access-card h2 {
  color: var(--text-main);
}
.balance-access-card > p {
  color: var(--text-secondary);
  font-size: 14px;
}
.balance-access-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.balance-access-metrics > div {
  min-height: 76px;
  display: grid;
  align-content: space-between;
  gap: 7px;
  border: 1px solid rgba(68,203,246,0.2);
  border-radius: 8px;
  background: rgba(8, 5, 13, 0.7);
  padding: 10px;
}
.balance-access-metrics span {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.25;
}
.balance-access-metrics strong {
  color: var(--accent-hover);
  font-size: 18px;
}
.balance-check-button {
  width: 100%;
  min-height: 50px;
}
.balance-check-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
@media (max-width: 360px) {
  .balance-access-metrics {
    grid-template-columns: 1fr;
  }
  .balance-access-metrics > div {
    min-height: 58px;
  }
}

/* Golden Gate visual refinement v2 */
:root {
  --app-bg: #080200;
  --app-bg-2: #180700;
  --app-card: #200b03;
  --app-border: #08427f;
  --accent: #00c2ff;
  --accent-2: #00c2ff;
  --accent-hover: #a3e9ff;
  --button-text: #001224;
  --text-main: #f0f5f7;
  --text-secondary: #93d7ed;
  --text-muted: #5ea6bd;
}
body,
.app-shell {
  background:
    radial-gradient(circle at 8% -8%, rgba(0,194,255,.28), transparent 28%),
    radial-gradient(circle at 102% 10%, rgba(0,194,255,.22), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(159, 48, 0, .2), transparent 38%),
    linear-gradient(180deg, #080200 0%, #130500 52%, #090200 100%);
}
body.desktop .app-shell {
  border-color: rgba(20,199,255,.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .82);
}
.topbar {
  position: relative;
  min-height: 70px;
  margin-bottom: 14px;
  overflow: visible;
  border: 1px solid rgba(20,199,255,.34);
  border-radius: 15px;
  padding: 6px 8px 6px 10px;
  background:
    radial-gradient(circle at 4% 50%, rgba(0,194,255,.17), transparent 36%),
    linear-gradient(110deg, rgba(27, 5, 0, .98), rgba(11, 2, 0, .98));
  box-shadow:
    inset 0 1px 0 rgba(159,232,255,.08),
    0 12px 34px rgba(0, 0, 0, .42),
    0 0 24px rgba(0,194,255,.06);
}
.brand {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.brand-logo-img {
  width: min(276px, calc(100vw - 142px));
  height: 56px;
  max-height: 56px;
  border-radius: 0;
  object-fit: cover;
  object-position: center 55%;
  mix-blend-mode: screen;
  filter:
    saturate(1.34)
    contrast(1.1)
    drop-shadow(0 0 9px rgba(0,194,255,.28));
}
.header-language-trigger {
  min-height: 42px;
  border-color: rgba(35,202,255,.52);
  background: linear-gradient(180deg, rgba(67, 20, 1, .98), rgba(32, 8, 0, .98));
  color: var(--text-main);
  box-shadow:
    inset 0 1px 0 rgba(200,219,225,.12),
    0 8px 22px rgba(0, 0, 0, .4);
}
.header-language-trigger:hover {
  border-color: rgba(92,216,255,.86);
}
.hero-panel {
  min-height: 150px;
  border-color: rgba(15,197,255,.58);
  background:
    radial-gradient(circle at 88% 18%, rgba(0,194,255,.25), transparent 34%),
    linear-gradient(128deg, rgba(50, 12, 1, .99), rgba(18, 4, 0, .99));
  box-shadow:
    inset 0 1px 0 rgba(143,228,255,.07),
    0 18px 44px rgba(0, 0, 0, .48),
    0 0 32px rgba(0,194,255,.06);
}
.hero-panel:before,
.signal-card:before {
  background: linear-gradient(180deg, #7adfff, #00c2ff 54%, #ff4d00);
  box-shadow: 0 0 16px rgba(0,194,255,.46);
}
.hero-panel:after,
.market-card:after,
.profile-hero:after {
  border-color: rgba(31,201,255,.1);
}
.metric-row {
  gap: 10px;
}
.metric.market-card {
  border-color: rgba(8,196,255,.4);
  background:
    radial-gradient(circle at 100% 100%, rgba(0,194,255,.14), transparent 46%),
    linear-gradient(160deg, rgba(39, 10, 1, .98), rgba(17, 4, 0, .99));
  box-shadow:
    inset 0 1px 0 rgba(141,228,255,.055),
    0 14px 32px rgba(0, 0, 0, .38);
}
.metric.market-card:hover {
  border-color: rgba(68,210,255,.9);
  box-shadow:
    inset 0 1px 0 rgba(202,221,227,.1),
    0 15px 34px rgba(0, 0, 0, .48),
    0 0 24px rgba(0,194,255,.16);
}
.market-card.disabled {
  border-color: rgba(42,123,148,.4);
  background: linear-gradient(160deg, rgba(32, 18, 13, .96), rgba(15, 8, 5, .99));
}
.market-card strong,
h1,
h2,
h3 {
  text-shadow: 0 2px 12px rgba(0,194,255,.08);
}
.market-badge,
.access-badge,
.status-pill,
.profile-status,
.language-current,
.summary-badge {
  border: 1px solid rgba(26,200,255,.28);
  background: rgba(0,194,255,.16);
  color: #6bdbff;
}
.bottom-nav {
  border-color: rgba(20,199,255,.5);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,194,255,.13), transparent 55%),
    linear-gradient(180deg, rgba(37, 9, 1, .96), rgba(15, 3, 0, .98));
  box-shadow:
    inset 0 1px 0 rgba(150,230,255,.08),
    0 18px 44px rgba(0, 0, 0, .68);
}
.bottom-nav .nav-button {
  color: #80bed1;
}
.bottom-nav .nav-button.active {
  background: linear-gradient(135deg, #52d5ff 0%, #00c2ff 55%, #00c2ff 100%);
  color: #00152a;
  box-shadow: 0 10px 28px rgba(0,194,255,.42);
}
@media (max-width: 380px) {
  .topbar {
    min-height: 64px;
    padding-left: 7px;
  }
  .brand-logo-img {
    width: min(242px, calc(100vw - 132px));
    height: 51px;
    max-height: 51px;
  }
}

/* Golden Gate product UI v6: branded access loading state */
.loading-state-card {
  position: relative;
  justify-items: center;
  width: min(390px, 100%);
  overflow: hidden;
  border-color: rgba(28,201,255,.42);
  border-radius: 19px;
  padding: 28px 24px 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(0,194,255,.11), transparent 38%),
    linear-gradient(150deg, rgba(35, 8, 1, .99), rgba(11, 2, 0, .995));
  box-shadow: inset 0 1px 0 rgba(151,230,255,.07), 0 24px 65px rgba(0, 0, 0, .58), 0 0 44px rgba(0,194,255,.08);
}
.loading-state-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00c2ff, #5ed8ff, #00c2ff, transparent);
  box-shadow: 0 0 14px rgba(0,194,255,.72);
}
.loading-state-card .state-logo {
  position: relative;
  width: 100%;
  justify-content: center;
  padding-bottom: 17px;
}
.loading-state-card .state-logo::after {
  content: "";
  position: absolute;
  right: 15%;
  bottom: 3px;
  left: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,204,255,.46), transparent);
}
.loading-state-card .brand {
  min-height: 42px;
  padding: 0;
}
.access-loader {
  position: relative;
  display: grid;
  width: 146px;
  height: 146px;
  margin: 5px 0 1px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(24,200,255,.12) 0 28%, transparent 29%),
    repeating-radial-gradient(circle, transparent 0 42px, rgba(39,203,255,.075) 43px 44px, transparent 45px 56px);
}
.access-loader::before,
.access-loader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.access-loader::before {
  inset: 11px;
  border: 1px solid rgba(68,210,255,.22);
  border-top-color: #59d7ff;
  border-right-color: #00c2ff;
  animation: accessLoaderSpin 2.25s linear infinite;
}
.access-loader::after {
  inset: 29px;
  border: 1px dashed rgba(29,201,255,.28);
  animation: accessLoaderReverse 4.6s linear infinite;
}
.access-loader-track {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 14%, #00c2ff 20%, #5bd8ff 27%, transparent 34% 68%, rgba(24,200,255,.58) 76%, transparent 84%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  filter: drop-shadow(0 0 6px rgba(0,194,255,.8));
  animation: accessLoaderSpin 1.55s linear infinite;
}
.access-loader-bridge {
  position: absolute;
  z-index: 2;
  top: 43px;
  width: 92px;
  height: 43px;
  border-top: 2px solid rgba(56,207,255,.78);
  border-radius: 50% 50% 0 0;
  filter: drop-shadow(0 0 5px rgba(0,194,255,.54));
  animation: accessBridgeGlow 1.7s ease-in-out infinite;
}
.access-loader-bridge::before,
.access-loader-bridge::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 2px;
  height: 36px;
  background: linear-gradient(#63daff, #00c2ff);
  box-shadow: 0 0 7px rgba(0,194,255,.7);
}
.access-loader-bridge::before { left: 18px; }
.access-loader-bridge::after { right: 18px; }
.access-loader-core {
  position: relative;
  z-index: 4;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(76,212,255,.56);
  border-radius: 15px;
  color: #87e2ff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .1em;
  background: linear-gradient(145deg, rgba(83, 23, 1, .98), rgba(23, 5, 0, .99));
  box-shadow: inset 0 1px 0 rgba(210,225,231,.1), 0 0 24px rgba(0,194,255,.24);
  animation: accessCorePulse 1.6s ease-in-out infinite;
}
.access-loader-text {
  position: relative;
  margin: 2px 0 0;
  color: #8cd8f0;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: .01em;
}
.access-loader-text::after {
  content: "…";
  display: inline-block;
  width: 22px;
  overflow: hidden;
  vertical-align: bottom;
  animation: accessDots 1.4s steps(4, end) infinite;
}
@keyframes accessLoaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes accessLoaderReverse {
  to { transform: rotate(-360deg); }
}
@keyframes accessCorePulse {
  0%, 100% { transform: scale(.95); filter: brightness(.88); }
  50% { transform: scale(1.04); filter: brightness(1.22); }
}
@keyframes accessBridgeGlow {
  0%, 100% { opacity: .38; }
  50% { opacity: .92; }
}
@keyframes accessDots {
  0% { width: 0; }
  100% { width: 22px; }
}

/* Golden Gate product UI v5: separated brand, market gateway and analysis loader */
.topbar {
  position: relative;
  display: grid;
  min-height: 68px;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 5px 12px 15px;
  background: transparent;
  box-shadow: none;
}
.topbar::after {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 5px;
  left: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,.55) 18%, #4bd4ff 50%, rgba(0,194,255,.55) 82%, transparent);
  box-shadow: 0 0 8px rgba(0,194,255,.68), 0 0 22px rgba(0,194,255,.28);
}
.brand {
  min-height: 44px;
  padding: 0 18px;
}
.brand::after {
  padding: 2px 7px 5px;
  font-size: clamp(25px, 6.6vw, 31px);
  letter-spacing: .105em;
  filter: drop-shadow(0 2px 0 rgba(83, 20, 0, .76)) drop-shadow(0 0 12px rgba(0,194,255,.3));
}
.hero-panel {
  min-height: 154px;
  border: 0;
  border-left: 3px solid #13c6ff;
  border-radius: 3px 17px 17px 3px;
  padding: 24px 21px;
  background:
    linear-gradient(104deg, rgba(68, 17, 1, .98), rgba(25, 6, 0, .98) 63%, rgba(13, 3, 0, .99));
  box-shadow: inset 0 1px 0 rgba(142,228,255,.05), 0 16px 34px rgba(0, 0, 0, .36), -7px 0 24px rgba(0,194,255,.08);
}
.hero-panel::before {
  top: auto;
  right: 20px;
  bottom: 16px;
  left: 20px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(43,204,255,.58), rgba(0,194,255,.12), transparent 82%);
  box-shadow: none;
}
.hero-panel::after {
  inset: 19px 15px 19px auto;
  width: 142px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 92'%3E%3Cg fill='none' stroke='%23ffc23b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 72L27 60L49 64L75 42L96 50L126 19L154 27'/%3E%3Cpath d='M139 20h-11v11'/%3E%3C/g%3E%3Cg stroke='%23ff7b18' stroke-width='1.7'%3E%3Cpath d='M24 37v31M19 46h10v13H19zM66 28v38M61 36h10v18H61zM111 17v40M106 27h10v18h-10z' fill='%23ff9d18' fill-opacity='.22'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .42;
}
.hero-panel > div {
  position: relative;
  z-index: 2;
  max-width: 68%;
}
.hero-panel h1 {
  font-size: clamp(29px, 7.3vw, 36px);
}
.market-section-heading {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 7px 0 1px;
  padding: 3px 10px 11px 15px;
}
.market-section-heading::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 12px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5cd8ff, #00c2ff);
  box-shadow: 0 0 10px rgba(0,194,255,.42);
}
.market-section-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 15px;
  height: 1px;
  background: linear-gradient(90deg, rgba(28,201,255,.34), transparent 88%);
}
.market-section-kicker {
  color: #23caff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.market-section-heading h2 {
  margin: 0;
  color: #f0f5f7;
  font-size: 22px;
  letter-spacing: -.02em;
}
.market-section-heading p {
  max-width: 360px;
  margin: 0;
  color: #68a9bd;
  font-size: 12px;
  line-height: 1.45;
}
.profile-language-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, .78fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  background:
    linear-gradient(120deg, rgba(61, 16, 1, .98), rgba(19, 4, 0, .99));
}
.profile-language-copy {
  display: grid;
  gap: 4px;
}
.profile-language-copy .eyebrow {
  color: #20c9ff;
}
.profile-language-copy h2 {
  margin: 0;
  color: #eaf1f4;
  font-size: 19px;
}
.profile-language-card .header-language-wrap {
  position: relative;
  top: auto;
  right: auto;
  z-index: 20;
  width: 100%;
  transform: none;
}
.profile-language-card .header-language {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  border-color: rgba(31,201,255,.48);
  border-radius: 11px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(72, 20, 1, .98), rgba(31, 7, 0, .99));
}
.profile-language-card .header-language::after {
  content: "⌄";
  color: #38cfff;
  font-size: 18px;
}
.profile-language-card .header-language-menu {
  top: calc(100% + 7px);
  right: 0;
  left: auto;
  width: max(190px, 100%);
  border-color: rgba(23,199,255,.45);
  background: rgba(24, 6, 0, .99);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .7);
}
.golden-analysis-loader {
  position: relative;
  display: grid;
  width: min(190px, 58vw);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(24,200,255,.15) 0 30%, transparent 31%),
    repeating-radial-gradient(circle, transparent 0 35px, rgba(32,201,255,.08) 36px 37px, transparent 38px 52px);
  filter: drop-shadow(0 0 25px rgba(0,194,255,.2));
}
.golden-analysis-loader::before,
.golden-analysis-loader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.golden-analysis-loader::before {
  inset: 11px;
  border: 1px solid rgba(63,209,255,.22);
  border-top-color: #4bd4ff;
  border-right-color: #00c2ff;
  animation: goldenLoaderSpin 2.4s linear infinite;
}
.golden-analysis-loader::after {
  inset: 33px;
  border: 1px dashed rgba(31,201,255,.38);
  animation: goldenLoaderSpinReverse 5s linear infinite;
}
.golden-loader-orbit {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: conic-gradient(from 12deg, transparent 0 15%, #46d3ff 22%, #00c2ff 29%, transparent 36% 70%, rgba(40,203,255,.5) 79%, transparent 86%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
  animation: goldenLoaderSpin 1.75s linear infinite;
}
.golden-loader-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(74,212,255,.6);
  border-radius: 20px;
  color: #a1e8ff;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: .09em;
  background: linear-gradient(145deg, rgba(86, 25, 2, .98), rgba(27, 6, 0, .99));
  box-shadow: inset 0 1px 0 rgba(204,222,227,.12), 0 0 32px rgba(0,194,255,.22);
  animation: goldenCorePulse 1.6s ease-in-out infinite;
}
.golden-loader-scan {
  position: absolute;
  z-index: 1;
  width: 92%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3cd0ff, transparent);
  box-shadow: 0 0 13px rgba(0,194,255,.8);
  animation: goldenScan 2.15s ease-in-out infinite;
}
.signal-loader-card {
  box-shadow: inset 0 1px 0 rgba(157,231,255,.05), 0 18px 46px rgba(0, 0, 0, .52);
}
.signal-loader-text {
  position: relative;
  width: min(360px, 100%);
  padding-top: 14px;
}
.signal-loader-text::before {
  content: "";
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #3cd0ff, transparent);
  box-shadow: 0 0 8px rgba(0,194,255,.54);
}
@keyframes goldenLoaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes goldenLoaderSpinReverse {
  to { transform: rotate(-360deg); }
}
@keyframes goldenCorePulse {
  0%, 100% { transform: scale(.96); filter: brightness(.9); }
  50% { transform: scale(1.04); filter: brightness(1.18); }
}
@keyframes goldenScan {
  0%, 100% { transform: translateY(-64px); opacity: .15; }
  50% { transform: translateY(64px); opacity: .95; }
}
@media (max-width: 380px) {
  .brand {
    padding: 0 8px;
  }
  .brand::after {
    font-size: 23px;
  }
  .hero-panel > div {
    max-width: 73%;
  }
  .profile-language-card {
    grid-template-columns: 1fr;
  }
}

/* Golden Gate layout refinement v3: crisp wordmark, geometric dashboard */
.topbar {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: 66px;
  overflow: visible;
  border-color: rgba(22,199,255,.5);
  padding: 7px 72px;
  background:
    linear-gradient(105deg, rgba(48, 13, 0, .98), rgba(18, 4, 0, .99) 58%, rgba(30, 7, 0, .99));
}
.brand {
  display: grid;
  width: 100%;
  min-height: 48px;
  place-items: center;
  overflow: visible;
}
.brand-logo-img {
  position: absolute;
  width: 1px;
  height: 1px;
  max-height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.brand::after {
  content: "PRIME TRADE";
  display: block;
  color: #42d2ff;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(24px, 6.3vw, 31px);
  font-style: italic;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .055em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, #c4d9df 0%, #26cbff 42%, #00c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(91, 24, 0, .8)) drop-shadow(0 0 9px rgba(0,194,255,.22));
}
.header-language-wrap {
  position: absolute;
  top: 50%;
  right: 9px;
  z-index: 4;
  transform: translateY(-50%);
}
.header-language {
  min-width: 62px;
  min-height: 40px;
  border-color: rgba(31,201,255,.52);
  background: linear-gradient(180deg, rgba(59, 17, 1, .98), rgba(28, 7, 0, .99));
  color: #e8f0f3;
  box-shadow: inset 0 1px 0 rgba(159,232,255,.1), 0 8px 22px rgba(0, 0, 0, .38);
}
.header-language:hover {
  border-color: rgba(99,218,255,.88);
}
.screen {
  gap: 13px;
}
.hero-panel {
  min-height: 134px;
  align-content: center;
  border-radius: 14px;
  padding: 21px 20px;
  background:
    linear-gradient(100deg, rgba(61, 16, 1, .99), rgba(22, 5, 0, .99) 68%),
    #210700;
}
.hero-panel:before {
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00c2ff, #31ceff 48%, transparent 92%);
  box-shadow: 0 0 18px rgba(0,194,255,.3);
}
.hero-panel:after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(118deg, transparent 0 66%, rgba(54,207,255,.09) 66% 67%, transparent 67% 100%),
    repeating-linear-gradient(90deg, transparent 0 43px, rgba(35,202,255,.035) 43px 44px);
  opacity: .72;
}
.hero-panel h1 {
  max-width: none;
  margin-top: 0;
  font-size: clamp(27px, 7vw, 34px);
  letter-spacing: -.025em;
}
.hero-panel p {
  max-width: 350px;
  margin-top: 11px;
  color: #82d0e9;
  font-size: 14px;
}
.metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.metric.market-card {
  min-height: 132px;
  overflow: hidden;
  border-radius: 13px;
  padding: 14px;
  background:
    linear-gradient(150deg, rgba(42, 12, 2, .99), rgba(17, 4, 0, .99));
}
.metric.market-card:nth-child(2) {
  order: -1;
  grid-column: 1 / -1;
  min-height: 112px;
  border-color: rgba(39,203,255,.68);
  padding: 16px 18px;
  background:
    linear-gradient(110deg, rgba(81, 25, 1, .98), rgba(34, 8, 0, .99) 64%, rgba(24, 5, 0, .99));
  box-shadow:
    inset 0 1px 0 rgba(197,217,224,.08),
    0 16px 38px rgba(0, 0, 0, .46),
    0 0 28px rgba(0,194,255,.09);
}
.metric.market-card:nth-child(2) > div:last-child {
  max-width: 78%;
}
.market-card:after {
  right: -24px;
  bottom: -18px;
  width: 105px;
  height: 82px;
  border: 0;
  border-radius: 0;
  background:
    repeating-linear-gradient(132deg, transparent 0 10px, rgba(30,201,255,.09) 10px 12px);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .82;
}
.market-card strong {
  font-size: clamp(22px, 5.8vw, 27px);
  letter-spacing: -.02em;
}
.market-card p {
  margin-top: 7px;
  color: #79c2d9;
  font-size: 12px;
  line-height: 1.42;
}
.market-kicker {
  margin-bottom: 12px;
}
.market-kicker > span {
  color: #5fb0c9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.market-badge {
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: .01em;
}
.bottom-nav {
  gap: 5px;
  border-radius: 15px;
  padding: 6px;
  background: linear-gradient(180deg, rgba(39, 10, 1, .97), rgba(16, 4, 0, .99));
}
.bottom-nav .nav-button {
  min-height: 55px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #69b0c6;
}
.bottom-nav .nav-button.active {
  border-color: rgba(127,224,255,.5);
  background: linear-gradient(135deg, #6bdbff 0%, #16c7ff 50%, #00c2ff 100%);
  color: #00152a;
  box-shadow: 0 9px 24px rgba(0,194,255,.36);
}
.profile-hero,
.profile-stats-card,
.profile-learning-card {
  overflow: hidden;
  border-radius: 14px;
  border-color: rgba(15,197,255,.44);
  background:
    linear-gradient(145deg, rgba(48, 13, 2, .98), rgba(18, 4, 0, .99));
  box-shadow: inset 0 1px 0 rgba(154,231,255,.055), 0 16px 38px rgba(0, 0, 0, .42);
}
.profile-hero {
  padding: 18px;
}
.profile-hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c2ff, #3cd0ff, transparent 92%);
}
.profile-hero:after,
.profile-stats-card:after,
.profile-learning-card:after {
  display: none;
}
.profile-main {
  gap: 14px;
}
.profile-avatar {
  width: 68px;
  height: 68px;
  border-color: rgba(42,204,255,.55);
  border-radius: 16px;
  background: linear-gradient(145deg, #00c2ff, #7c2600);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .4), 0 0 22px rgba(0,194,255,.12);
}
.profile-name h2 {
  font-size: 24px;
}
.profile-trader {
  border-color: rgba(29,201,255,.36);
  border-radius: 8px;
  background: rgba(0,194,255,.09);
}
.profile-stats-card > h2,
.profile-learning-card .section-heading h2 {
  font-size: 19px;
}
.profile-stat {
  min-height: 100px;
  border-color: rgba(12,197,255,.3);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(50, 14, 2, .88), rgba(18, 5, 0, .96));
}
.profile-stat-icon {
  border: 1px solid rgba(42,204,255,.28);
  border-radius: 8px;
  background: rgba(0,194,255,.13);
  color: #4bd4ff;
}
.profile-stat strong {
  color: #79dfff;
  font-size: 27px;
}
.profile-learning-metrics .education-stat {
  border-color: rgba(12,197,255,.28);
  border-radius: 11px;
  background: rgba(39, 10, 1, .78);
}
.profile-learning-achievements .education-achievement {
  border-color: rgba(10,196,255,.27);
  border-radius: 11px;
  background: linear-gradient(155deg, rgba(42, 11, 1, .9), rgba(17, 4, 0, .97));
}
@media (max-width: 380px) {
  .topbar {
    min-height: 62px;
    padding: 6px 64px;
  }
  .brand {
    min-height: 46px;
  }
  .brand::after {
    font-size: 22px;
    letter-spacing: .045em;
  }
  .header-language-wrap {
    right: 7px;
  }
  .header-language {
    min-width: 56px;
    min-height: 38px;
    padding: 6px 8px;
  }
  .hero-panel {
    min-height: 126px;
    padding: 18px 16px;
  }
  .metric.market-card {
    min-height: 126px;
    padding: 12px;
  }
  .metric.market-card:nth-child(2) {
    min-height: 106px;
    padding: 14px;
  }
}

/* Golden Gate product UI v4: market console and complete inner flow */
.topbar {
  min-height: 64px;
  padding: 7px;
}
.brand {
  padding: 0 64px;
}
.brand::after {
  overflow: visible;
  padding: 3px 8px 5px;
  color: #4ad4ff;
  font-family: Inter, "Arial Black", Arial, sans-serif;
  font-size: clamp(23px, 6vw, 29px);
  font-style: normal;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: .085em;
  background: linear-gradient(180deg, #d8e6ea 0%, #5ad7ff 38%, #16c7ff 72%, #00c2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(83, 20, 0, .72)) drop-shadow(0 0 8px rgba(0,194,255,.2));
}
.hero-panel {
  min-height: 148px;
  padding: 22px 20px;
  background:
    linear-gradient(105deg, rgba(56, 14, 1, .99), rgba(23, 5, 0, .99) 62%, rgba(12, 3, 0, .99));
}
.hero-panel > div {
  max-width: 66%;
}
.hero-panel:after {
  inset: 24px 17px 22px auto;
  width: 138px;
  height: 82px;
  border: 0;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cg fill='none' stroke='%23ffc83d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 70L32 58L52 64L78 38L99 47L129 17L154 24'/%3E%3Cpath d='M139 17h-10v10'/%3E%3C/g%3E%3Cg stroke='%23ff8b1a' stroke-width='2'%3E%3Cpath d='M24 37v30M19 45h10v14H19zM65 27v39M60 35h10v19H60zM111 18v39M106 27h10v18h-10z' fill='%23ff9d18' fill-opacity='.28'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .34;
}
.hero-panel h1 {
  font-size: clamp(28px, 7.2vw, 35px);
}
.metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}
.metric.market-card,
.metric.market-card:nth-child(2) {
  --market-accent: #3dd0ff;
  --market-border: rgba(61,208,255,.55);
  --market-glow: rgba(0,194,255,.13);
  grid-column: 1;
  min-height: 104px;
  display: grid;
  gap: 4px;
  overflow: hidden;
  border-color: var(--market-border);
  border-radius: 15px;
  padding: 14px 48px 14px 72px;
  background:
    linear-gradient(112deg, var(--market-glow), transparent 46%),
    linear-gradient(145deg, rgba(42, 11, 1, .99), rgba(17, 4, 0, .99));
  box-shadow: inset 0 1px 0 rgba(196,217,224,.045), 0 12px 30px rgba(0, 0, 0, .36);
}
.metric.market-card:nth-child(2) { order: -5; --market-accent: #4dd4ff; --market-border: rgba(55,207,255,.72); --market-glow: rgba(0,194,255,.22); }
.metric.market-card:nth-child(3) { order: -4; --market-accent: #5cd8ff; --market-border: rgba(49,206,255,.48); --market-glow: rgba(255, 85, 19, .14); }
.metric.market-card:nth-child(4) { order: -3; --market-accent: #62c5e4; --market-border: rgba(62,169,203,.43); --market-glow: rgba(24,146,184,.12); }
.metric.market-card:nth-child(5) { order: -2; --market-accent: #bea2ff; --market-border: rgba(159, 122, 255, .46); --market-glow: rgba(126, 83, 255, .13); }
.metric.market-card:nth-child(1) { order: -1; --market-accent: #96abc0; --market-border: rgba(117, 143, 165, .38); --market-glow: rgba(83, 116, 143, .1); }
.market-card:before {
  content: "•";
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--market-border);
  border-radius: 12px;
  color: var(--market-accent);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.04em;
  background: var(--market-glow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
  transform: translateY(-50%);
}
.market-card:nth-child(1):before { content: "FX"; font-size: 13px; }
.market-card:nth-child(2):before { content: "24"; }
.market-card:nth-child(3):before { content: "◆"; }
.market-card:nth-child(4):before { content: "↗"; font-size: 22px; }
.market-card:nth-child(5):before { content: "₿"; font-size: 22px; }
.market-card:after {
  content: "›";
  top: 50%;
  right: 17px;
  bottom: auto;
  z-index: 2;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: var(--market-accent);
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  background: none;
  clip-path: none;
  opacity: .82;
  transform: translateY(-52%);
}
.market-kicker {
  margin: 0 0 3px;
}
.market-kicker > span {
  color: var(--market-accent);
  opacity: .72;
}
.market-card .market-badge {
  border-color: var(--market-border);
  border-radius: 7px;
  background: var(--market-glow);
  color: var(--market-accent);
}
.market-card strong {
  min-height: 0;
  align-items: center;
  color: #f1f6f7;
  font-size: 24px;
}
.market-card p {
  max-width: 310px;
  margin-top: 4px;
  color: #7fc0d5;
  font-size: 12px;
}
.metric.market-card:hover {
  border-color: var(--market-accent);
  box-shadow: 0 15px 34px rgba(0, 0, 0, .48), 0 0 24px var(--market-glow);
  transform: translateY(-1px);
}
.metric.market-card.disabled {
  border-color: rgba(113, 133, 150, .3);
  background: linear-gradient(145deg, rgba(18,22,27,.96), rgba(14, 9, 7, .99));
  box-shadow: none;
}
.market-card.disabled:after {
  content: "—";
  color: #71808c;
}
.card {
  border-radius: 16px;
  border-color: rgba(18,198,255,.38);
  background:
    linear-gradient(145deg, rgba(40, 11, 2, .98), rgba(16, 4, 0, .99));
  box-shadow: inset 0 1px 0 rgba(154,231,255,.04), 0 16px 38px rgba(0, 0, 0, .4);
}
.pair-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(24,200,255,.2);
}
.back-button {
  border-color: rgba(29,201,255,.34);
  border-radius: 10px;
  background: rgba(0,194,255,.075);
  color: #8be3ff;
}
.pair-search-input {
  min-height: 48px;
  border-color: rgba(24,200,255,.34);
  border-radius: 11px;
  background: rgba(13, 3, 0, .82);
}
.pair-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.pair-card {
  position: relative;
  min-height: 94px;
  overflow: hidden;
  border-color: rgba(16,198,255,.28);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(49, 13, 2, .92), rgba(16, 4, 0, .98));
}
.pair-card:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c2ff, #49d3ff, transparent 86%);
}
.pair-name {
  color: #f1f6f7;
  font-size: 14px;
}
.pair-payout {
  border-color: rgba(57,207,255,.32);
  border-radius: 7px;
  background: rgba(0,194,255,.12);
  color: #6fdcff;
}
.expiry-grid {
  gap: 11px;
}
.expiry-button {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  border-color: rgba(18,198,255,.36);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(55, 15, 2, .98), rgba(17, 4, 0, .99));
  box-shadow: inset 0 1px 0 rgba(160,232,255,.04), 0 12px 28px rgba(0, 0, 0, .32);
}
.expiry-button:after {
  content: "→";
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(51,206,255,.4);
  font-size: 18px;
}
.expiry-button strong {
  color: #6edcff;
  font-size: 31px;
}
.expiry-button span {
  color: #65b0c8;
}
.signal-loader-card:after {
  display: none;
}
.signal-loader-card {
  border-color: rgba(31,201,255,.48);
  background:
    linear-gradient(rgba(18,198,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,198,255,.035) 1px, transparent 1px),
    linear-gradient(145deg, rgba(45, 12, 1, .99), rgba(10, 2, 0, .99));
  background-size: 26px 26px, 26px 26px, auto;
}
.signal-loader-status {
  border-radius: 9px;
  background: rgba(0,194,255,.11);
}
.signal-card {
  border-color: rgba(30,201,255,.48);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(49, 13, 2, .99), rgba(12, 3, 0, .99));
}
.signal-card:after {
  display: none;
}
.signal-card:before {
  width: 4px;
  background: linear-gradient(180deg, #59d7ff, #00c2ff);
}
.signal-visual {
  border-color: rgba(25,200,255,.25);
  border-radius: 14px;
  background:
    linear-gradient(rgba(33,202,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,202,255,.045) 1px, transparent 1px),
    rgba(17, 4, 0, .62);
  background-size: 24px 24px;
}
.signal-meta-item {
  border-color: rgba(20,199,255,.25);
  border-radius: 11px;
  background: rgba(0,194,255,.065);
}
.active-preview-card {
  border-color: rgba(25,200,255,.4);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(47, 13, 2, .96), rgba(14, 3, 0, .99));
}
.profile-hero {
  padding: 22px 18px;
  background:
    linear-gradient(135deg, rgba(66, 18, 1, .98), rgba(23, 5, 0, .99) 68%);
}
.profile-main {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  padding: 6px 0;
  text-align: center;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  font-size: 32px;
}
.profile-name {
  justify-items: center;
}
.profile-name h2 {
  max-width: 100%;
  font-size: 27px;
}
.profile-trader {
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 12px;
}
.profile-stats-card,
.profile-learning-card {
  padding: 18px;
}
.profile-stats-card > h2,
.profile-learning-card .section-heading h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22,199,255,.2);
}
.profile-stat {
  --profile-accent: #4fd5ff;
  min-height: 108px;
  border-color: rgba(18,198,255,.28);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(46, 12, 2, .94), rgba(16, 4, 0, .99));
}
.profile-stat:nth-child(2) { --profile-accent: #83c7ff; border-color: rgba(77, 158, 220, .28); }
.profile-stat:nth-child(3) { --profile-accent: #66c6e4; border-color: rgba(50,162,198,.28); }
.profile-stat:nth-child(4) { --profile-accent: #c5a5ff; border-color: rgba(151, 111, 230, .3); }
.profile-stat-icon {
  color: var(--profile-accent);
}
.profile-stat strong {
  color: var(--profile-accent);
}
.education-stat,
.profile-learning-achievements .education-achievement {
  border-radius: 13px;
}
.bottom-nav {
  border-color: rgba(23,199,255,.46);
  background: rgba(20, 5, 0, .96);
  box-shadow: inset 0 1px 0 rgba(151,230,255,.055), 0 18px 48px rgba(0, 0, 0, .72);
}
@media (max-width: 380px) {
  .brand {
    padding: 0 58px;
  }
  .brand::after {
    padding-inline: 4px;
    font-size: 20px;
    letter-spacing: .065em;
  }
  .hero-panel > div {
    max-width: 72%;
  }
  .hero-panel:after {
    right: 10px;
    width: 112px;
    opacity: .24;
  }
  .metric.market-card,
  .metric.market-card:nth-child(2) {
    min-height: 100px;
    padding: 12px 43px 12px 65px;
  }
  .market-card:before {
    left: 12px;
    width: 38px;
    height: 38px;
  }
  .market-card:after {
    right: 13px;
  }
}

.vip-channel-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  min-height: 94px;
  border: 1px solid rgba(68,203,246,.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 0%, rgba(68,203,246,.22), transparent 44%),
    linear-gradient(135deg, #291b20 0%, #150e11 56%, #110b0d 100%);
  color: var(--text-main);
  padding: 14px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(48,188,232,.06), 0 16px 38px rgba(0, 0, 0, .34);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vip-channel-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -52px;
  width: 132px;
  height: 132px;
  border: 18px solid rgba(68,203,246,.08);
  border-radius: 50%;
}
.vip-channel-card:hover {
  border-color: rgba(130,225,255,.92);
  box-shadow: inset 0 0 0 1px rgba(48,188,232,.1), 0 20px 44px rgba(68,203,246,.12);
  transform: translateY(-1px);
}
.vip-channel-card:active {
  transform: translateY(0);
}
.vip-channel-icon,
.vip-channel-copy,
.vip-channel-action {
  position: relative;
  z-index: 1;
}
.vip-channel-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(130,225,255,.72);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--button-text);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(68,203,246,.2);
}
.vip-channel-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.vip-channel-copy strong {
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.15;
}
.vip-channel-copy small {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.35;
}
.vip-channel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(68,203,246,.45);
  border-radius: 999px;
  background: rgba(68,203,246,.14);
  color: var(--accent-hover);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 860;
  white-space: nowrap;
}
@media (max-width: 370px) {
  .vip-channel-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .vip-channel-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Golden Gate profile VIP card v2 */
.vip-channel-card {
  min-height: 100px;
  border-color: rgba(47,205,255,.62);
  border-radius: 15px;
  background:
    linear-gradient(112deg, rgba(89, 27, 0, .98), rgba(36, 9, 0, .99) 60%, rgba(18, 4, 0, .99));
  box-shadow: inset 0 1px 0 rgba(197,217,224,.07), 0 16px 38px rgba(0, 0, 0, .42);
}
.vip-channel-card::after {
  content: "VIP";
  top: 50%;
  right: 16px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: rgba(72,211,255,.08);
  font-size: 64px;
  font-weight: 950;
  letter-spacing: -.08em;
  transform: translateY(-53%);
}
.vip-channel-icon {
  border-radius: 13px;
  background: linear-gradient(145deg, #6adbff, #00c2ff 60%, #00c2ff);
}
.vip-channel-action {
  border-radius: 8px;
}

:root {
  --ink: #f2f7f8;
  --muted: rgba(222,234,238,0.68);
  --line: rgba(0,194,255,0.14);
  --panel: rgba(6,16,26,0.72);
  --soft: rgba(0,194,255,0.055);
  --green: #00c2ff;
  --blue: #74deff;
  --app-bg: #040b13;
  --app-bg-2: #08111b;
  --app-card: rgba(6,16,26,0.78);
  --app-border: rgba(0,194,255,0.16);
  --accent: #00c2ff;
  --accent-2: #74deff;
  --accent-hover: #c6dae1;
  --button-text: #030b14;
  --text-main: #f2f7f8;
  --text-secondary: rgba(222,234,238,0.74);
  --text-muted: rgba(222,234,238,0.5);
  --success: #00c2ff;
  --warning: #5cd8ff;
  --error: #ff6f7d;
  --info: #72d8ff;
  color-scheme: dark;
}

html,
body,
#root {
  background: #040b13 !important;
  color: var(--text-main);
}

body {
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif !important;
  background:
    radial-gradient(circle at 12% -8%, rgba(0,194,255,0.13), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(116,222,255,0.08), transparent 30%),
    linear-gradient(160deg, #030a11 0%, #06101a 48%, #030a11 100%) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(0,194,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 74%);
}

#root {
  position: relative;
  z-index: 1;
}

.app-shell,
.shell {
  background:
    radial-gradient(circle at 8% 0%, rgba(0,194,255,0.09), transparent 28%),
    linear-gradient(180deg, rgba(4,11,19,0.97), rgba(3,9,15,0.99)) !important;
  color: var(--text-main) !important;
}

body.desktop .app-shell {
  border-color: rgba(0,194,255,0.12) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 60px rgba(0,194,255,0.035) !important;
}

.topbar {
  border-color: rgba(0,194,255,0.12) !important;
  background:
    linear-gradient(105deg, rgba(3,13,24,0.98), rgba(2,7,13,0.99) 58%, rgba(4,16,29,0.99)) !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.brand-logo-img {
  position: relative !important;
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  object-fit: contain !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  filter: drop-shadow(0 0 12px rgba(0,194,255,0.24)) !important;
}

.brand::after {
  content: "PRIME TRADE" !important;
  color: #74deff !important;
  background: linear-gradient(180deg, #f1f6f8 0%, #74deff 42%, #00c2ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 0 rgba(0,28,58,0.9)) drop-shadow(0 0 12px rgba(0,194,255,0.2)) !important;
}

.market-card .market-kicker {
  justify-content: flex-end !important;
}

.locked-card::before,
.topbar h1::before {
  content: "";
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  flex: 0 0 44px;
  vertical-align: middle;
  background: url("/assets/prime-trade-logo.svg?v=20261013") center / cover no-repeat;
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0,194,255,0.12);
}

.locked-card::before {
  display: block;
  margin: 0 0 18px;
  width: 58px;
  height: 58px;
}

.topbar h1 {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  filter: drop-shadow(0 8px 24px rgba(0,194,255,0.14));
}

.profile-chip,
.header-language,
.header-language-trigger,
.language-trigger,
.language-option,
.language-button {
  border-color: rgba(0,194,255,0.16) !important;
  background: rgba(0,194,255,0.045) !important;
  color: var(--text-main) !important;
  box-shadow: none !important;
}

.header-language-menu,
.language-menu {
  border-color: rgba(0,194,255,0.17) !important;
  background: rgba(3,9,16,0.97) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52) !important;
}

.header-language-option,
.language-option {
  color: var(--text-secondary) !important;
}

.header-language-option.active,
.language-option.active,
.header-language-option:hover,
.language-option:hover {
  color: var(--accent) !important;
  background: rgba(0,194,255,0.08) !important;
}

.hero-panel,
.content,
.locked-card,
.card,
.market-card,
.pair-card,
.expiry-card,
.signal-card,
.active-signal-card,
.detail-card,
.state-card,
.loading-state-card,
.signal-loader-card,
.analysis-card,
.profile-card,
.profile-hero,
.profile-stats-card,
.profile-language-card,
.profile-learning-card,
.balance-access-card,
.education-hero,
.education-module-card,
.education-quiz-card,
.education-achievement,
.users-panel,
.partner-card,
.partner-detail-panel,
.stat-card,
.setting-row,
.broadcast-card,
.broadcast-preview-box,
.postbacks-panel,
.postback-company-card,
.postback-summary-card,
.postback-profile,
.provider-summary-card,
.provider-campaign-card,
.technical-profile-card,
.channel-settings-panel,
.channel-balance-card,
.channel-stat-card,
.access-card,
.aichatter-panel,
.aichatter-system-card,
.aichatter-switch-card,
.aichatter-followup-card,
.funnel-stage-card,
.dialog-thread-card {
  border-color: rgba(0,194,255,0.13) !important;
  background:
    linear-gradient(145deg, rgba(7,19,31,0.9), rgba(3,10,17,0.95)) !important;
  box-shadow:
    inset 0 1px 0 rgba(242,247,248,0.018),
    0 16px 48px rgba(0, 0, 0, 0.18) !important;
}

.hero-panel::before,
.education-hero::before,
.profile-hero::before {
  background: radial-gradient(circle, rgba(0,194,255,0.16), transparent 70%) !important;
}

h1,
h2,
h3,
.brand-title strong,
.section-heading,
.pair-name,
.profile-name,
.stat-value,
.user-title,
.partner-name {
  color: var(--text-main) !important;
  letter-spacing: -0.025em;
}

p,
.signal-description,
.market-note,
.user-subtitle,
.partner-meta,
.broadcast-muted,
.muted,
.details-label,
.language-label,
.nav-hint {
  color: var(--text-secondary) !important;
}

.eyebrow,
.market-kicker,
.market-section-kicker,
.education-module-kicker,
.channel-settings-eyebrow,
.signal-strategy-eyebrow,
.aichatter-system-kicker {
  color: var(--accent) !important;
  letter-spacing: 0.13em;
}

button,
.action-button,
.page-button,
.icon-button,
.nav-button,
.filter-tab,
.period-button,
.signal-preset-button,
.education-module-tab,
.copy-id-button,
.source-copy-button,
.postback-guide-button {
  border-color: rgba(0,194,255,0.15) !important;
  color: var(--text-main) !important;
}

button:hover,
.action-button:hover,
.page-button:hover,
.icon-button:hover,
.nav-button:hover,
.filter-tab:hover,
.period-button:hover {
  border-color: rgba(0,194,255,0.42) !important;
  background-color: rgba(0,194,255,0.075) !important;
}

.action-button.primary,
.save-button,
.signal-action-button,
.balance-check-button,
.education-complete-button,
.dialog-reply-send,
.postback-guide-finish,
.primary-link,
button.primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, #00c2ff, #74deff) !important;
  color: #030b14 !important;
  box-shadow: 0 13px 32px rgba(0,194,255,0.16) !important;
}

.action-button.primary:hover,
.save-button:hover,
.signal-action-button:hover,
.balance-check-button:hover,
.education-complete-button:hover,
.dialog-reply-send:hover,
button.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.bottom-nav {
  border-color: rgba(0,194,255,0.12) !important;
  background: rgba(3,9,16,0.9) !important;
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(20px) saturate(120%);
}

.nav-button.active,
.filter-tab.active,
.period-button.active,
.page-button.active,
.education-module-tab.active,
.signal-preset-button.active {
  border-color: rgba(0,194,255,0.38) !important;
  background: rgba(0,194,255,0.1) !important;
  color: var(--accent) !important;
}

.status-pill,
.tag,
.access-badge,
.market-badge,
.summary-badge,
.partner-badge,
.partner-pill,
.stage-badge,
.legend-pill,
.direction-badge {
  border-color: rgba(0,194,255,0.19) !important;
  background: rgba(0,194,255,0.07) !important;
  color: #8de4ff !important;
}

input,
select,
textarea,
.pair-search-input,
.user-search {
  border-color: rgba(0,194,255,0.14) !important;
  background: rgba(1,6,12,0.72) !important;
  color: var(--text-main) !important;
  outline: none;
}

input:focus,
select:focus,
textarea:focus,
.pair-search-input:focus,
.user-search:focus {
  border-color: rgba(0,194,255,0.58) !important;
  box-shadow: 0 0 0 3px rgba(0,194,255,0.08) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(222,234,238,0.36) !important;
}

.partner-editor-backdrop,
.partner-modal-backdrop,
.postback-modal-backdrop,
.access-editor-backdrop,
.user-reassign-backdrop {
  background: rgba(1,4,8,0.84) !important;
  backdrop-filter: blur(10px);
}

.partner-editor-modal,
.partner-modal,
.postback-modal,
.access-editor-modal,
.user-reassign-modal {
  border-color: rgba(0,194,255,0.24) !important;
  background: #040b13 !important;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62) !important;
}

.education-progress-fill,
.signal-confidence-track > span,
.channel-retention-track > span,
.aichatter-master-switch-track::after,
.reviews-setting-switch-track::after {
  background: linear-gradient(90deg, #00c2ff, #74deff) !important;
}

a {
  color: #74deff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0,194,255,0.025);
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 99px;
  background: rgba(0,194,255,0.23);
  background-clip: padding-box;
}

@media (max-width: 640px) {
  body::before {
    background-size: 32px 32px;
  }

  .app-shell,
  .shell {
    background:
      radial-gradient(circle at 50% -5%, rgba(0,194,255,0.1), transparent 30%),
      #040b13 !important;
  }

  .brand-logo-img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    flex-basis: 36px !important;
  }
}

/* Devsbite parity v6: compact product cards and strict mobile geometry. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.app-shell {
  width: 100% !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: calc(8px + var(--app-safe-top) + var(--telegram-controls-top-gap))
    calc(10px + var(--safe-right) + var(--content-safe-right))
    calc(76px + var(--app-safe-bottom))
    calc(10px + var(--safe-left) + var(--content-safe-left)) !important;
  border-right: 1px solid rgba(0,194,255,0.1);
  border-left: 1px solid rgba(0,194,255,0.1);
  overflow-x: hidden;
}

.topbar {
  justify-content: center !important;
  min-height: 50px !important;
  margin-bottom: 8px !important;
  padding: 0 4px !important;
  border-bottom: 1px solid rgba(0,194,255,0.13) !important;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,194,255,0.025);
}

.brand,
.loading-state-card .brand,
.state-card .brand {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 !important;
  overflow: hidden;
}

.brand-logo-img {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
}

.brand::after {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 38px);
  padding: 0 !important;
  overflow: hidden !important;
  font-size: clamp(14px, 4.7vw, 18px) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.09em !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.state-wrap {
  width: 100%;
  max-width: 100%;
  padding: calc(14px + var(--safe-top)) calc(14px + var(--safe-right))
    calc(14px + var(--safe-bottom)) calc(14px + var(--safe-left)) !important;
  overflow: hidden;
}

.state-card,
.loading-state-card {
  width: min(360px, 100%) !important;
  max-width: 100% !important;
  gap: 12px !important;
  border-radius: 16px !important;
  padding: 18px !important;
  overflow: hidden;
}

.state-logo {
  width: 100%;
  min-width: 0;
}

.primary-link {
  min-height: 44px !important;
  border-radius: 12px !important;
}

.screen {
  gap: 8px !important;
}

.hero-panel {
  min-height: 108px !important;
  border-radius: 16px !important;
  padding: 15px !important;
  background:
    radial-gradient(circle at 86% 46%, rgba(0,194,255,0.09), transparent 31%),
    linear-gradient(135deg, rgba(7,21,36,0.98), rgba(2,10,18,0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(210,225,231,0.025),
    0 14px 38px rgba(0, 0, 0, 0.2),
    0 0 28px rgba(0,194,255,0.025) !important;
}

.hero-panel::before {
  top: 0 !important;
  right: 14% !important;
  bottom: auto !important;
  left: 14% !important;
  width: auto !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #00c2ff, transparent) !important;
  box-shadow: 0 0 12px rgba(0,194,255,0.34) !important;
}

.hero-panel::after {
  inset: 18px 12px 16px auto !important;
  width: 92px !important;
  height: 58px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cg fill='none' stroke='%2300ff9a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 70L32 58L52 64L78 38L99 47L129 17L154 24'/%3E%3Cpath d='M139 17h-10v10'/%3E%3C/g%3E%3Cg stroke='%2374ffc8' stroke-width='2'%3E%3Cpath d='M24 37v30M19 45h10v14H19zM65 27v39M60 35h10v19H60zM111 18v39M106 27h10v18h-10z' fill='%2300ff9a' fill-opacity='.15'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important;
  opacity: 0.26 !important;
}

.hero-panel > div {
  max-width: 65% !important;
}

.hero-panel h1 {
  max-width: 210px !important;
  margin-top: 0 !important;
  font-size: clamp(23px, 6.5vw, 27px) !important;
  line-height: 1.02 !important;
}

.hero-panel p {
  max-width: 220px !important;
  margin-top: 7px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.market-section-heading {
  gap: 3px !important;
  margin: 1px 0 0 !important;
  padding: 3px 8px 8px 12px !important;
}

.market-section-heading::before {
  top: 3px !important;
  bottom: 8px !important;
  background: linear-gradient(180deg, #74deff, #00c2ff) !important;
  box-shadow: 0 0 9px rgba(0,194,255,0.34) !important;
}

.market-section-heading::after {
  left: 12px !important;
  background: linear-gradient(90deg, rgba(0,194,255,0.27), transparent 88%) !important;
}

.market-section-kicker {
  font-size: 8px !important;
  letter-spacing: 0.13em !important;
}

.market-section-heading h2 {
  font-size: 18px !important;
  line-height: 1.1 !important;
}

.market-section-heading p {
  max-width: 310px !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

.metric-row {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}

.metric.market-card,
.metric.market-card:nth-child(2) {
  grid-column: 1 !important;
  min-height: 78px !important;
  gap: 0 !important;
  border-radius: 14px !important;
  padding: 9px 38px 9px 58px !important;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--market-glow), transparent 20%), transparent 45%),
    linear-gradient(145deg, rgba(6,18,30,0.98), rgba(2,9,16,0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(226,236,240,0.025),
    0 10px 24px rgba(0, 0, 0, 0.17) !important;
}

.market-card > div:last-child {
  display: grid;
  min-width: 0;
  align-content: center;
}

.market-card::before {
  left: 11px !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 0 18px var(--market-glow) !important;
}

.market-card:nth-child(1)::before {
  font-size: 11px !important;
}

.market-card::after {
  right: 12px !important;
  font-size: 24px !important;
}

.market-card .market-kicker {
  position: absolute !important;
  top: 8px !important;
  right: 34px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

.market-card .market-badge {
  border-radius: 6px !important;
  padding: 3px 6px !important;
  font-size: 8px !important;
  line-height: 1 !important;
}

.market-card strong {
  min-height: 0 !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
}

.market-card p {
  max-width: 250px !important;
  margin-top: 3px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
}

.market-card .market-note {
  margin-top: 2px !important;
  font-size: 9px !important;
}

.empty-signals {
  display: none !important;
}

.bottom-nav,
body.desktop .bottom-nav {
  right: calc(var(--safe-right) + 10px) !important;
  bottom: calc(var(--app-safe-bottom) + 8px) !important;
  left: calc(var(--safe-left) + 10px) !important;
  width: min(440px, calc(100vw - 20px)) !important;
  max-width: 440px !important;
  min-height: 56px !important;
  margin: 0 auto !important;
  gap: 4px !important;
  border-radius: 16px !important;
  padding: 4px !important;
  transform: none !important;
}

.bottom-nav .nav-button {
  min-height: 46px !important;
  gap: 2px !important;
  border-radius: 12px !important;
  font-size: 10px !important;
}

.bottom-nav .nav-button svg {
  width: 17px !important;
  height: 17px !important;
}

.bottom-nav .nav-button.active {
  box-shadow: inset 0 0 18px rgba(0,194,255,0.05), 0 0 20px rgba(0,194,255,0.07) !important;
}

.pair-card,
.expiry-button,
.back-button {
  border-radius: 12px !important;
}

@media (max-width: 380px) {
  .app-shell {
    padding-right: calc(8px + var(--safe-right) + var(--content-safe-right)) !important;
    padding-left: calc(8px + var(--safe-left) + var(--content-safe-left)) !important;
  }

  .brand::after {
    font-size: 13px !important;
    letter-spacing: 0.075em !important;
  }

  .hero-panel {
    min-height: 102px !important;
    padding: 13px !important;
  }

  .hero-panel::after {
    right: 8px !important;
    width: 82px !important;
  }

  .hero-panel h1 {
    font-size: 22px !important;
  }

  .metric.market-card,
  .metric.market-card:nth-child(2) {
    min-height: 74px !important;
    padding-right: 35px !important;
    padding-left: 55px !important;
  }
}

/* Devsbite parity v9: merged signal hero and two-column market grid. */
.hero-panel {
  min-height: 142px !important;
  padding: 14px !important;
}

.hero-panel > div {
  max-width: 72% !important;
}

.hero-panel h1 {
  max-width: 205px !important;
  font-size: clamp(23px, 6.5vw, 27px) !important;
}

.hero-direction-title {
  max-width: 215px !important;
  margin: 12px 0 0 !important;
  color: #f6f9fa !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

.hero-panel .hero-direction-lead {
  max-width: 225px !important;
  margin-top: 4px !important;
  color: #9aaeb4 !important;
  font-size: 9.5px !important;
  line-height: 1.32 !important;
}

.market-section-heading {
  display: none !important;
}

.metric-row {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.metric-row > .metric.market-card {
  grid-column: auto !important;
  min-height: 116px !important;
  align-content: end !important;
  padding: 50px 27px 10px 10px !important;
}

.metric-row > .market-card > div:last-child {
  align-content: end !important;
}

.metric-row > .market-card::before {
  top: 10px !important;
  left: 10px !important;
  transform: none !important;
}

.metric-row > .market-card::after {
  top: auto !important;
  right: 10px !important;
  bottom: 10px !important;
  transform: none !important;
}

.metric-row > .market-card .market-kicker {
  top: 10px !important;
  right: 10px !important;
}

.metric-row > .market-card strong {
  font-size: 16px !important;
  line-height: 1.05 !important;
}

.metric-row > .market-card p {
  display: -webkit-box !important;
  max-width: 100% !important;
  margin-top: 3px !important;
  overflow: hidden !important;
  font-size: 8.5px !important;
  line-height: 1.28 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.metric-row > .metric.market-card:nth-child(1) {
  grid-column: 1 / -1 !important;
  min-height: 78px !important;
  align-content: center !important;
  padding: 9px 38px 9px 58px !important;
}

.metric-row > .market-card:nth-child(1)::before {
  top: 50% !important;
  left: 11px !important;
  transform: translateY(-50%) !important;
}

.metric-row > .market-card:nth-child(1)::after {
  top: 50% !important;
  right: 12px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}

.metric-row > .market-card:nth-child(1) .market-kicker {
  top: 8px !important;
  right: 34px !important;
}

.metric-row > .market-card:nth-child(1) p {
  display: block !important;
  font-size: 9px !important;
}

@media (max-width: 380px) {
  .hero-panel {
    min-height: 138px !important;
    padding: 13px !important;
  }

  .hero-direction-title {
    margin-top: 10px !important;
    font-size: 15px !important;
  }

  .hero-panel .hero-direction-lead {
    max-width: 205px !important;
    font-size: 8.7px !important;
  }

  .metric-row > .metric.market-card {
    min-height: 112px !important;
    padding-right: 24px !important;
  }
}

/* Devsbite parity v7: compact profile, VIP and learning sections. */
.app-shell {
  padding-bottom: calc(104px + var(--app-safe-bottom)) !important;
  scroll-padding-bottom: calc(104px + var(--app-safe-bottom));
}

.profile-hero,
.profile-language-card,
.profile-stats-card,
.profile-learning-card {
  border: 1px solid rgba(0,194,255,0.22) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,194,255,0.055), transparent 34%),
    linear-gradient(145deg, rgba(1,13,25,0.98), rgba(0,7,15,0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(116,222,255,0.025), 0 14px 36px rgba(0, 0, 0, 0.12) !important;
}

.profile-hero {
  padding: 14px !important;
  border-radius: 16px !important;
}

.profile-hero::before {
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.48), transparent) !important;
}

.profile-main {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  justify-items: stretch !important;
  gap: 12px !important;
  padding: 0 !important;
  text-align: left !important;
}

.profile-avatar {
  width: 58px !important;
  height: 58px !important;
  border: 1px solid rgba(0,194,255,0.55) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(0,194,255,0.13), rgba(0,12,25,0.98)) !important;
  box-shadow: inset 0 0 22px rgba(0,194,255,0.08), 0 0 18px rgba(0,194,255,0.07) !important;
  color: #74deff !important;
  font-size: 22px !important;
}

.profile-name {
  align-content: center !important;
  justify-items: start !important;
  gap: 3px !important;
  min-width: 0 !important;
}

.profile-name .eyebrow {
  color: #00c2ff !important;
  font-size: 8px !important;
  letter-spacing: 0.14em !important;
}

.profile-name h2 {
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #f7fafa !important;
  font-size: 20px !important;
  line-height: 1.08 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.profile-trader {
  min-height: 29px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(0,194,255,0.22) !important;
  border-radius: 8px !important;
  background: rgba(0,194,255,0.055) !important;
  color: #b9cdd3 !important;
  font-size: 10px !important;
}

.profile-language-card {
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
}

.profile-language-copy {
  gap: 3px !important;
}

.profile-language-copy .eyebrow {
  color: #00c2ff !important;
  font-size: 8px !important;
}

.profile-language-copy h2 {
  font-size: 16px !important;
  line-height: 1.15 !important;
}

.profile-language-card .header-language-wrap {
  width: 132px !important;
}

.profile-language-card .header-language {
  min-height: 42px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(0,194,255,0.2) !important;
  border-radius: 11px !important;
  background: rgba(0,194,255,0.045) !important;
}

.profile-stats-card,
.profile-learning-card {
  gap: 10px !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

.profile-stats-card > h2,
.profile-learning-card .section-heading > h2 {
  margin: 0 !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid rgba(0,194,255,0.2) !important;
  color: #f1f6f8 !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

.profile-stats {
  gap: 8px !important;
}

.profile-stat {
  --profile-accent: #74deff;
  min-height: 78px !important;
  gap: 8px !important;
  padding: 10px !important;
  border: 1px solid rgba(0,194,255,0.18) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(3,18,34,0.93), rgba(0,8,17,0.97)) !important;
  box-shadow: inset 0 1px 0 rgba(116,222,255,0.025) !important;
}

.profile-stat:nth-child(2) {
  --profile-accent: #72d8ff;
}

.profile-stat:nth-child(3) {
  --profile-accent: #00c2ff;
}

.profile-stat:nth-child(4) {
  --profile-accent: #bda7ff;
}

.profile-stat-head {
  gap: 6px !important;
}

.profile-stat-icon {
  width: 27px !important;
  height: 27px !important;
  border: 1px solid color-mix(in srgb, var(--profile-accent) 36%, transparent) !important;
  border-radius: 8px !important;
  background: color-mix(in srgb, var(--profile-accent) 8%, transparent) !important;
  color: var(--profile-accent) !important;
}

.profile-stat-head span {
  color: #98a9af !important;
  font-size: 9.5px !important;
}

.profile-stat strong {
  color: var(--profile-accent) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.vip-channel-card {
  min-height: 78px !important;
  gap: 10px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(0,194,255,0.3) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 92% 15%, rgba(0,194,255,0.11), transparent 36%),
    linear-gradient(145deg, rgba(2,17,33,0.98), rgba(0,8,16,0.99)) !important;
  box-shadow: inset 0 1px 0 rgba(116,222,255,0.04), 0 0 26px rgba(0,194,255,0.04) !important;
}

.vip-channel-card::after {
  display: none !important;
}

.vip-channel-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 11px !important;
  background: linear-gradient(135deg, #00c2ff, #69dbff) !important;
  box-shadow: 0 0 18px rgba(0,194,255,0.14) !important;
  color: #000d1b !important;
  font-size: 13px !important;
}

.vip-channel-copy {
  gap: 3px !important;
}

.vip-channel-copy strong {
  color: #f5f8f9 !important;
  font-size: 15px !important;
}

.vip-channel-copy small {
  color: #94a7ad !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
}

.vip-channel-action {
  min-height: 30px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(0,194,255,0.3) !important;
  border-radius: 8px !important;
  background: rgba(0,194,255,0.08) !important;
  color: #74deff !important;
  font-size: 9.5px !important;
  white-space: nowrap !important;
}

.profile-learning-card .section-heading {
  gap: 5px !important;
  margin: 0 !important;
}

.profile-learning-card .section-heading > p {
  color: #9aabb1 !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

.profile-learning-metrics,
.profile-learning-achievements {
  gap: 8px !important;
}

.profile-learning-card > h3 {
  margin: 1px 0 0 !important;
  color: #f1f6f8 !important;
  font-size: 15px !important;
}

.education-stat {
  min-height: 62px !important;
  gap: 5px !important;
  padding: 9px !important;
  border: 1px solid rgba(0,194,255,0.18) !important;
  border-radius: 11px !important;
  background: linear-gradient(145deg, rgba(3,18,34,0.9), rgba(0,8,17,0.96)) !important;
}

.education-stat span {
  color: #98a9af !important;
  font-size: 9px !important;
}

.education-stat strong {
  color: #74deff !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

.education-achievement {
  min-height: 108px !important;
  gap: 5px 8px !important;
  padding: 10px 30px 10px 10px !important;
  border: 1px solid rgba(0,194,255,0.16) !important;
  border-radius: 11px !important;
  background: linear-gradient(145deg, rgba(3,18,33,0.88), rgba(0,8,16,0.96)) !important;
}

.education-achievement .achievement-icon,
.education-achievement-icon {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(0,194,255,0.2) !important;
  border-radius: 9px !important;
  background: rgba(0,194,255,0.055) !important;
  color: #74deff !important;
}

.education-achievement strong {
  color: #f1f6f8 !important;
  font-size: 13px !important;
  line-height: 1.08 !important;
}

.education-achievement p,
.education-achievement small,
.education-achievement .achievement-status {
  color: #879aa0 !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
}

/* Devsbite parity v12: animated signal beacon and roomier market spacing. */
@keyframes tisaram-signal-beacon {
  0%,
  100% {
    opacity: 0.24;
    transform: scale(0.94);
    filter: drop-shadow(0 0 8px rgba(0,194,255,0.14));
  }

  50% {
    opacity: 0.46;
    transform: scale(1.06);
    filter: drop-shadow(0 0 18px rgba(0,194,255,0.34));
  }
}

.hero-panel::after {
  inset: 33px 29px auto auto !important;
  width: 66px !important;
  height: 66px !important;
  background: url("/assets/bootstrap-icons/broadcast-pin.svg") center / contain no-repeat !important;
  opacity: 0.24;
  transform-origin: center;
  animation: tisaram-signal-beacon 2.6s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.screen > .metric-row {
  margin-top: 10px !important;
}

.market-card::before {
  content: "" !important;
  background-color: color-mix(in srgb, var(--market-accent) 7%, transparent) !important;
  background-image: var(--market-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 25px 25px !important;
}

.market-card:nth-child(1) {
  --market-icon: url("/assets/bootstrap-icons/currency-exchange.svg");
}

.market-card:nth-child(2) {
  --market-icon: url("/assets/bootstrap-icons/clock-history.svg");
}

.market-card:nth-child(3) {
  --market-icon: url("/assets/bootstrap-icons/gem.svg");
}

.market-card:nth-child(4) {
  --market-icon: url("/assets/bootstrap-icons/graph-up-arrow.svg");
}

.market-card:nth-child(5) {
  --market-icon: url("/assets/bootstrap-icons/currency-bitcoin.svg");
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel::after {
    animation: none;
    opacity: 0.34;
    transform: none;
    filter: drop-shadow(0 0 13px rgba(0,194,255,0.22));
  }
}

/* Compact wordmark inside both animated loader cores. */
.access-loader-core {
  width: 104px !important;
  height: 54px !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 6px !important;
  padding: 7px 9px !important;
}

.access-loader-core > .access-loader-logo {
  width: 32px;
  height: 32px;
}

.access-loader-wordmark {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 1px;
  line-height: 1;
}

.access-loader-wordmark strong {
  color: #c6dae1;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.085em;
}

.access-loader-wordmark small {
  color: #00c2ff;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.golden-loader-core {
  width: 122px !important;
  height: 60px !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px 10px !important;
}

.golden-loader-core > .access-loader-logo {
  width: 40px;
  height: 40px;
}

.golden-loader-core .access-loader-wordmark strong {
  font-size: 10px;
}

.golden-loader-core .access-loader-wordmark small {
  font-size: 7.5px;
}

/* The signal-analysis loader uses the same TISARAM visual language. */
.golden-analysis-loader {
  background:
    radial-gradient(circle, rgba(0,194,255,0.12) 0 30%, transparent 31%),
    repeating-radial-gradient(circle, transparent 0 35px, rgba(0,194,255,0.07) 36px 37px, transparent 38px 52px) !important;
  filter: drop-shadow(0 0 25px rgba(0,194,255,0.09)) !important;
}

.golden-analysis-loader::before {
  border-color: rgba(0,194,255,0.2) !important;
  border-top-color: #74deff !important;
  border-right-color: #00c2ff !important;
  animation: tisaramAccessSpin 2.4s linear infinite !important;
}

.golden-analysis-loader::after {
  border-color: rgba(116,222,255,0.3) !important;
  animation: tisaramAccessReverse 5s linear infinite !important;
}

.golden-loader-orbit {
  background: conic-gradient(
    from 12deg,
    transparent 0 15%,
    #74deff 22%,
    #00c2ff 29%,
    transparent 36% 70%,
    rgba(0,194,255,0.48) 79%,
    transparent 86%
  ) !important;
  filter: drop-shadow(0 0 7px rgba(0,194,255,0.42));
  animation: tisaramAccessSpin 1.75s linear infinite !important;
}

.golden-loader-core {
  border-color: rgba(0,194,255,0.5) !important;
  background:
    radial-gradient(circle at 50% 25%, rgba(116,222,255,0.14), transparent 48%),
    linear-gradient(145deg, rgba(0,22,45,0.98), rgba(0,8,16,0.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(198,218,225,0.08),
    inset 0 0 24px rgba(0,194,255,0.06),
    0 0 32px rgba(0,194,255,0.16) !important;
  animation: tisaramAccessCore 1.8s ease-in-out infinite !important;
}

.golden-loader-core .access-loader-logo {
  width: 43px;
  height: 43px;
}

.golden-loader-scan {
  background: linear-gradient(90deg, transparent, #74deff, transparent) !important;
  box-shadow: 0 0 13px rgba(0,194,255,0.58) !important;
  animation: tisaramAccessScan 2.15s ease-in-out infinite !important;
}

.signal-loader-text::before {
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.5), transparent) !important;
  box-shadow: 0 0 10px rgba(0,194,255,0.16) !important;
}

@keyframes tisaramAccessScan {
  0%,
  100% {
    opacity: 0.18;
    transform: translateY(-66px) scaleX(0.62);
  }
  50% {
    opacity: 0.92;
    transform: translateY(66px) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .golden-analysis-loader::before,
  .golden-analysis-loader::after,
  .golden-loader-orbit,
  .golden-loader-core,
  .golden-loader-scan {
    animation: none !important;
  }
}

.achievement-info-button {
  width: 24px !important;
  height: 24px !important;
  top: 8px !important;
  right: 8px !important;
  border: 1px solid rgba(0,194,255,0.18) !important;
  background: rgba(0,6,13,0.86) !important;
  color: #74deff !important;
}

@media (max-width: 380px) {
  .profile-language-card {
    padding: 11px 12px !important;
  }

  .profile-language-card .header-language-wrap {
    width: 120px !important;
  }

  .profile-language-copy h2 {
    font-size: 15px !important;
  }

  .vip-channel-card {
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    padding: 10px !important;
  }

  .vip-channel-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .vip-channel-copy small {
    font-size: 9px !important;
  }

  .vip-channel-action {
    padding-right: 7px !important;
    padding-left: 7px !important;
    font-size: 9px !important;
  }
}

/* Header layout, language access and green-only market accents. */
.brand::after {
  content: "PRIME TRADE" !important;
}

.app-shell > .topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  direction: ltr;
  gap: 10px !important;
  overflow: visible !important;
}

.app-shell > .topbar::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,194,255,0.44) 18%,
    #00c2ff 50%,
    rgba(0,194,255,0.44) 82%,
    transparent
  ) !important;
  box-shadow: 0 0 8px rgba(0,194,255,0.38), 0 0 22px rgba(0,194,255,0.14) !important;
}

.app-shell > .topbar .brand {
  width: auto !important;
  max-width: calc(100% - 50px) !important;
  flex: 1 1 auto !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  overflow: visible !important;
}

.app-shell > .topbar .brand::after {
  max-width: calc(100% - 38px) !important;
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.08)) !important;
}

.app-shell > .topbar .header-language-wrap {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 80 !important;
  flex: 0 0 auto !important;
  transform: none !important;
}

.app-shell > .topbar .header-language {
  width: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(0,194,255,0.24) !important;
  border-radius: 11px !important;
  background: rgba(0,194,255,0.055) !important;
  color: #74deff !important;
}

.app-shell > .topbar .header-language:hover,
.app-shell > .topbar .header-language:focus-visible {
  border-color: rgba(0,194,255,0.52) !important;
  background: rgba(0,194,255,0.1) !important;
}

.app-shell > .topbar .header-language > svg {
  width: 20px;
  height: 20px;
}

.app-shell > .topbar .header-language-menu {
  right: 0 !important;
  left: auto !important;
  z-index: 90 !important;
  max-height: min(320px, 70vh);
  overflow-y: auto;
}

.app-shell .hero-panel::before {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}

.metric.market-card:nth-child(2),
.metric.market-card:nth-child(3) {
  --market-accent: #00c2ff !important;
  --market-border: rgba(0,194,255,0.4) !important;
  --market-glow: rgba(0,194,255,0.1) !important;
}

.metric.market-card:nth-child(2) {
  --market-icon: url("/assets/bootstrap-icons/clock-history.svg?v=20260830-green-v1") !important;
}

.metric.market-card:nth-child(3) {
  --market-icon: url("/assets/bootstrap-icons/gem.svg?v=20260830-green-v1") !important;
}

/* Sequential academy flow: one module, its test, then gated navigation. */
.education-progress-track {
  border-color: rgba(0,194,255,0.25) !important;
  background: rgba(0,5,10,0.88) !important;
}

.education-flow {
  gap: 10px !important;
}

.education-module-focus {
  scroll-margin-top: calc(12px + var(--app-safe-top) + var(--telegram-controls-top-gap));
  gap: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(0,194,255,0.24) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,194,255,0.08), transparent 32%),
    linear-gradient(145deg, rgba(2,15,29,0.98), rgba(0,7,14,0.99)) !important;
  box-shadow: inset 0 1px 0 rgba(116,222,255,0.035), 0 18px 44px rgba(0, 0, 0, 0.2) !important;
}

.education-module-focus.done {
  border-color: rgba(0,194,255,0.46) !important;
  box-shadow: inset 0 1px 0 rgba(116,222,255,0.05), 0 0 28px rgba(0,194,255,0.05) !important;
}

.education-module-focus-head {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid rgba(0,194,255,0.12);
  background: linear-gradient(135deg, rgba(0,194,255,0.055), transparent 58%);
}

.education-module-focus-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.education-module-focus .education-module-kicker {
  font-size: 10px !important;
  font-weight: 900 !important;
}

.education-module-focus .education-module-status {
  flex: 0 0 auto;
  border-color: rgba(0,194,255,0.2) !important;
  background: rgba(0,194,255,0.06) !important;
  color: #9bc9d8 !important;
  font-size: 9px !important;
}

.education-module-focus .education-module-status.passed {
  border-color: rgba(0,194,255,0.45) !important;
  background: rgba(0,194,255,0.12) !important;
  color: #74deff !important;
}

.education-module-focus-head h2 {
  margin: 0 !important;
  color: #f6f9fa !important;
  font-size: clamp(22px, 6vw, 28px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.03em !important;
}

.education-module-focus-head > p {
  margin: 0 !important;
  color: #9db0b6 !important;
  font-size: 11px !important;
  line-height: 1.42 !important;
}

.education-module-body {
  display: grid;
  gap: 11px;
  padding: 13px;
}

.education-flow-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.education-flow-section-title strong {
  color: #f1f6f8;
  font-size: 14px;
}

.education-flow-section-title span {
  min-width: 26px;
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 999px;
  padding: 3px 7px;
  color: #74deff;
  text-align: center;
  font-size: 10px;
  font-weight: 850;
}

.education-flow-lessons {
  gap: 7px !important;
}

.education-flow-lesson {
  display: grid;
  gap: 6px;
}

.education-flow .education-lesson-item {
  min-height: 62px;
  border-color: rgba(0,194,255,0.14) !important;
  border-radius: 12px !important;
  background: rgba(0,6,12,0.58) !important;
  padding: 10px !important;
}

.education-flow .education-lesson-item.active {
  border-color: rgba(0,194,255,0.4) !important;
  background: rgba(0,194,255,0.075) !important;
  box-shadow: inset 0 0 18px rgba(0,194,255,0.025) !important;
}

.education-flow .education-check {
  border-color: rgba(0,194,255,0.25) !important;
  background: rgba(0,194,255,0.055) !important;
  color: #74deff !important;
}

.education-flow .education-lesson-copy strong {
  color: #f1f6f8 !important;
}

.education-flow .education-lesson-copy span,
.education-flow .education-lesson-time {
  color: #91a4aa !important;
}

.education-flow .education-lesson-detail {
  margin: 0 3px 2px;
  border-color: rgba(0,194,255,0.16) !important;
  border-radius: 11px !important;
  background: rgba(0,7,14,0.78) !important;
}

.education-flow .education-lesson-detail p,
.education-flow .education-lesson-detail li {
  color: #a7b8be !important;
  font-size: 12px !important;
}

.education-test-launch {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(0,194,255,0.3) !important;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 0% 50%, rgba(0,194,255,0.12), transparent 34%),
    linear-gradient(135deg, rgba(0,21,42,0.94), rgba(0,10,20,0.98)) !important;
  padding: 9px 11px !important;
  color: #f1f6f8 !important;
  text-align: left;
  cursor: pointer;
}

.education-test-launch.active,
.education-test-launch.passed {
  border-color: rgba(0,194,255,0.52) !important;
  box-shadow: 0 0 24px rgba(0,194,255,0.06) !important;
}

.education-test-launch-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,194,255,0.32);
  border-radius: 11px;
  background: rgba(0,194,255,0.1);
  color: #74deff;
  font-size: 18px;
  font-weight: 950;
}

.education-test-launch-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.education-test-launch-copy strong {
  color: #f5f8f9;
  font-size: 15px;
}

.education-test-launch-copy small {
  overflow: hidden;
  color: #91a4aa;
  font-size: 9px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.education-test-launch-arrow {
  color: #74deff;
  font-size: 17px;
  font-weight: 900;
}

.education-flow-quiz {
  border-color: rgba(0,194,255,0.2) !important;
  border-radius: 13px !important;
  background: rgba(0,6,12,0.7) !important;
  padding: 12px !important;
}

.education-flow-quiz .education-quiz-summary {
  border-color: rgba(0,194,255,0.18) !important;
  background: rgba(0,194,255,0.055) !important;
}

.education-flow-quiz .education-quiz-summary strong {
  color: #74deff !important;
}

.education-flow-quiz .education-question {
  border-top-color: rgba(0,194,255,0.13) !important;
}

.education-flow-quiz .education-quiz-option {
  border-color: rgba(0,194,255,0.14) !important;
  background: rgba(0,8,17,0.86) !important;
  color: #e6eff1 !important;
}

.education-flow-quiz .education-quiz-option.correct {
  border-color: rgba(0,194,255,0.5) !important;
  background: rgba(0,194,255,0.12) !important;
  color: #74deff !important;
}

.education-flow-quiz .education-quiz-option.wrong {
  border-color: rgba(255, 85, 101, 0.5) !important;
  background: rgba(255, 85, 101, 0.11) !important;
  color: #ff9ca7 !important;
}

.education-flow-quiz .education-quiz-explain {
  background: rgba(0,194,255,0.055) !important;
  color: #a5b7bd !important;
}

.education-flow-quiz .education-quiz-explain.success {
  border: 1px solid rgba(0,194,255,0.24);
  color: #74deff !important;
}

.education-flow .education-restart-button,
.education-flow + .education-course-actions .education-reset-button,
.education-course-actions .education-reset-button {
  border-color: rgba(0,194,255,0.22) !important;
  background: rgba(0,194,255,0.055) !important;
  color: #a9cdd8 !important;
}

.education-module-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 7px;
}

.education-module-nav-button {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,194,255,0.2) !important;
  border-radius: 12px !important;
  background: rgba(0,10,20,0.9) !important;
  padding: 8px 10px !important;
  color: #f1f6f8 !important;
  cursor: pointer;
}

.education-module-nav-button.next {
  justify-content: flex-end;
  text-align: right;
}

.education-module-nav-button.available {
  border-color: rgba(0,194,255,0.5) !important;
  background: linear-gradient(135deg, rgba(0,194,255,0.17), rgba(0,40,82,0.2)) !important;
}

.education-module-nav-button:disabled {
  border-color: rgba(127,156,165,0.12) !important;
  background: rgba(0,6,13,0.62) !important;
  color: rgba(196,216,222,0.4) !important;
  cursor: not-allowed;
  opacity: 0.68;
}

.education-module-nav-button:disabled:hover {
  border-color: rgba(127,156,165,0.12) !important;
  background: rgba(0,6,13,0.62) !important;
}

.education-module-nav-arrow {
  flex: 0 0 auto;
  color: #74deff;
  font-size: 17px;
  font-weight: 900;
}

.education-module-nav-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.education-module-nav-copy strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.education-module-nav-copy small {
  overflow: hidden;
  color: #8399a0;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.education-module-position {
  min-width: 48px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(0,194,255,0.14);
  border-radius: 12px;
  background: rgba(0,6,13,0.78);
  text-align: center;
}

.education-module-position strong {
  color: #74deff;
  font-size: 12px;
}

.education-module-position span {
  max-width: 42px;
  color: #788c92;
  font-size: 7px;
  line-height: 1.05;
}

.education-module-lock-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 3px 9px;
  color: #80959b;
  text-align: center;
}

.education-module-lock-hint p {
  margin: 0;
  font-size: 9px;
  line-height: 1.3;
}

.education-course-actions {
  padding-bottom: 78px !important;
}

@media (max-width: 380px) {
  .education-module-focus-head {
    padding: 13px;
  }

  .education-module-body {
    padding: 10px;
  }

  .education-module-navigation {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 5px;
  }

  .education-module-nav-button {
    gap: 5px;
    padding: 7px !important;
  }

  .education-module-nav-copy strong {
    font-size: 11px;
  }
}

/* TISARAM access loader: replaces the legacy Golden Gate animation. */
.loading-state-card {
  border: 1px solid rgba(0,194,255,0.28) !important;
  background:
    radial-gradient(circle at 50% 52%, rgba(0,194,255,0.075), transparent 38%),
    linear-gradient(150deg, rgba(2,15,29,0.99), rgba(0,6,13,0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(116,222,255,0.035),
    0 24px 65px rgba(0, 0, 0, 0.48),
    0 0 44px rgba(0,194,255,0.045) !important;
}

.loading-state-card::before {
  right: 10% !important;
  left: 10% !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.58), #74deff, rgba(0,194,255,0.58), transparent) !important;
  box-shadow: 0 0 14px rgba(0,194,255,0.32) !important;
}

.loading-state-card .state-logo::after {
  background: linear-gradient(90deg, transparent, rgba(0,194,255,0.28), transparent) !important;
}

.access-loader {
  width: 148px !important;
  height: 148px !important;
  margin: 7px 0 3px !important;
  background:
    radial-gradient(circle, rgba(0,194,255,0.11) 0 27%, transparent 28%),
    repeating-radial-gradient(circle, transparent 0 41px, rgba(0,194,255,0.07) 42px 43px, transparent 44px 56px) !important;
  filter: drop-shadow(0 0 22px rgba(0,194,255,0.055));
}

.access-loader::before {
  inset: 11px !important;
  border: 1px solid rgba(0,194,255,0.2) !important;
  border-top-color: #74deff !important;
  border-right-color: #00c2ff !important;
  box-shadow: inset 0 0 14px rgba(0,194,255,0.025);
  animation: tisaramAccessSpin 2.4s linear infinite !important;
}

.access-loader::after {
  inset: 27px !important;
  border: 1px dashed rgba(116,222,255,0.28) !important;
  animation: tisaramAccessReverse 4.8s linear infinite !important;
}

.access-loader-track {
  inset: 1px !important;
  background: conic-gradient(
    from 18deg,
    transparent 0 14%,
    rgba(0,194,255,0.65) 19%,
    #74deff 25%,
    transparent 32% 66%,
    rgba(0,194,255,0.46) 74%,
    transparent 82%
  ) !important;
  filter: drop-shadow(0 0 6px rgba(0,194,255,0.54)) !important;
  animation: tisaramAccessSpin 1.7s linear infinite !important;
}

.access-loader-bridge {
  inset: 37px !important;
  top: 37px !important;
  z-index: 2 !important;
  width: auto !important;
  height: auto !important;
  border: 1px solid rgba(0,194,255,0.2) !important;
  border-top-color: rgba(116,222,255,0.62) !important;
  border-bottom-color: rgba(0,194,255,0.42) !important;
  border-radius: 50% !important;
  filter: drop-shadow(0 0 5px rgba(0,194,255,0.28)) !important;
  animation: tisaramAccessOrbit 2.9s ease-in-out infinite !important;
}

.access-loader-bridge::before,
.access-loader-bridge::after {
  top: 50% !important;
  width: 7px !important;
  height: 7px !important;
  margin-top: -3.5px;
  border-radius: 50% !important;
  background: #00c2ff !important;
  box-shadow: 0 0 10px rgba(0,194,255,0.72) !important;
}

.access-loader-bridge::before {
  left: -4px !important;
}

.access-loader-bridge::after {
  right: -4px !important;
}

.access-loader-core {
  width: 58px !important;
  height: 58px !important;
  border: 1px solid rgba(0,194,255,0.48) !important;
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 50% 25%, rgba(116,222,255,0.13), transparent 48%),
    linear-gradient(145deg, rgba(0,22,45,0.98), rgba(0,8,16,0.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(198,218,225,0.08),
    inset 0 0 22px rgba(0,194,255,0.055),
    0 0 26px rgba(0,194,255,0.16) !important;
  animation: tisaramAccessCore 1.8s ease-in-out infinite !important;
}

.access-loader-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,194,255,0.42));
}

.access-loader-text {
  color: #a8bec5 !important;
  font-size: 15px !important;
  font-weight: 760 !important;
}

.access-loader-text::after {
  color: #74deff;
}

@keyframes tisaramAccessSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes tisaramAccessReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes tisaramAccessOrbit {
  0%,
  100% {
    opacity: 0.48;
    transform: rotate(-8deg) scale(0.96);
  }
  50% {
    opacity: 1;
    transform: rotate(172deg) scale(1.04);
  }
}

@keyframes tisaramAccessCore {
  0%,
  100% {
    transform: scale(0.96);
    filter: brightness(0.92);
  }
  50% {
    transform: scale(1.045);
    filter: brightness(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-loader::before,
  .access-loader::after,
  .access-loader-track,
  .access-loader-bridge,
  .access-loader-core {
    animation: none !important;
  }
}

.access-loader-core {
  width: 104px !important;
  height: 54px !important;
  grid-template-columns: 32px minmax(0, 1fr) !important;
  gap: 6px !important;
  padding: 7px 9px !important;
}

.access-loader-core > .access-loader-logo {
  width: 32px;
  height: 32px;
}

.golden-loader-core {
  width: 122px !important;
  height: 60px !important;
  grid-template-columns: 40px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 8px 10px !important;
}

.golden-loader-core > .access-loader-logo {
  width: 40px;
  height: 40px;
}

/* Pair selector: white and green accents. */
.pair-card::before {
  background: linear-gradient(90deg, #ffffff 0%, #00c2ff 48%, transparent 86%) !important;
}

.pair-card:hover {
  border-color: rgba(0,194,255,0.48) !important;
  box-shadow: 0 14px 30px rgba(0,194,255,0.12) !important;
}

.pair-payout {
  border-color: rgba(0,194,255,0.42) !important;
  background: rgba(0,194,255,0.11) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(116,222,255,0.08) !important;
}

:root{--ink:#f5f8ff;--muted:#b2c3da;--line:#16477e;--panel:#041726;--soft:rgba(0,191,255,.07);--green:#00d5f5;--blue:#1688ff;--app-bg:#020d17;--app-bg-2:#041b2e;--app-card:#041726;--app-border:#16477e;--accent:#00d9f6;--accent-2:#1288ff;--accent-hover:#7aefff;--button-text:#02111e;--text-main:#f5f8ff;--text-secondary:#b2c3da;--text-muted:#8097b2;--success:#00d5de;--warning:#f5c769;--error:#ff7287;--info:#52c9ff;color-scheme:dark}html,body,#root{background:#020d17!important;color:var(--text-main)!important}body{font-family:Inter,"Segoe UI",Arial,sans-serif!important;background:radial-gradient(ellipse at 50% 0%,#062442 0,transparent 55%),#020d17!important}body::before{display:none!important}#root .app-shell{background:linear-gradient(180deg,#020f1b,#020b13)!important;padding-bottom:calc(100px + var(--app-safe-bottom))!important}body.desktop #root .app-shell{max-width:720px!important;border:1px solid #123451!important;border-radius:24px!important;box-shadow:0 30px 90px #0006!important}#root .app-shell>.topbar{padding:20px 18px!important;border-bottom:1px solid #174378!important;background:linear-gradient(115deg,#041b2e,#020b13)!important}#root .app-shell>.topbar::after{height:1px!important;background:linear-gradient(90deg,transparent,#00cce9,#126cf6,transparent)!important;box-shadow:0 0 14px #048ee955!important}#root .brand,#root .app-shell>.topbar .brand{gap:10px!important}#root .brand::after,#root .app-shell>.topbar .brand::after{content:"PRIME TRADE"!important;font-size:clamp(19px,5.3vw,32px)!important;letter-spacing:.075em!important;font-weight:900!important;background:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;filter:none!important;white-space:nowrap}#root .brand-logo-img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;flex:0 0 42px!important;filter:drop-shadow(0 0 9px #008cff44)!important}#root .app-shell>.topbar .header-language{width:44px!important;min-width:44px!important;min-height:44px!important;border-radius:14px!important;background:#031a30!important;border-color:#125da6!important;color:#20c9ff!important;box-shadow:inset 0 0 16px #1375c522!important}#root .screen{padding:18px!important;gap:18px!important}#root .card,#root .hero-panel,#root .state-card,#root .education-module-focus,#root .education-quiz-card,#root .education-achievement,#root .profile-stat,#root .education-stat,#root .active-preview-card,#root .signal-meta-item,#root .vip-channel-card{border:1px solid #16477e!important;background:radial-gradient(ellipse at top left,#05244088,transparent 65%),linear-gradient(140deg,#031929,#020e19)!important;box-shadow:inset 0 1px 0 #2789ed16,0 12px 35px #0002!important;border-radius:20px!important}#root .card{padding:20px!important}#root .hero-panel{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:28px 22px!important;min-height:205px!important;border-left:3px solid #0b72da!important}#root .hero-panel::before,#root .hero-panel::after{display:none!important}#root .hero-panel>div{min-width:0;flex:1}#root .hero-panel h1{font-size:clamp(26px,6.8vw,38px)!important;font-weight:850!important;line-height:1.12!important;letter-spacing:-.045em!important;margin-bottom:14px!important}#root .hero-direction-title{font-size:clamp(19px,4.8vw,25px)!important;font-weight:800!important;line-height:1.18!important;margin:0 0 7px!important}#root .hero-direction-lead{font-size:clamp(13px,3.4vw,17px)!important;line-height:1.4!important;max-width:440px!important}#root .prime-hero-icon{color:#05bfff;display:flex;flex:0 0 82px;filter:drop-shadow(0 0 25px #009dff66)}#root .prime-hero-icon svg{width:100%;height:auto}#root .metric-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}#root .metric-row>.metric.market-card,#root .metric-row>.metric.market-card:nth-child(n){position:relative!important;grid-column:auto!important;min-height:198px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;padding:18px 16px 38px!important;text-align:start!important;border:1px solid #1458a0!important;border-radius:23px!important;background:radial-gradient(ellipse at top left,#05325e88,transparent 63%),#020f1b!important;box-shadow:inset 2px 0 0 #075cc977,inset 0 1px 0 #1597e933!important;--market-accent:#00dcf9!important}#root .metric-row>.market-card::before{display:none!important}#root .metric-row>.market-card::after{content:"›"!important;position:absolute!important;inset:auto 18px 12px auto!important;width:auto!important;height:auto!important;background:none!important;mask:none!important;color:#00ddf6!important;font-size:33px!important;line-height:1!important;border:0!important;transform:none!important;box-shadow:none!important}#root .prime-market-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;margin-bottom:10px;border:1px solid #107bc9;border-radius:16px;background:radial-gradient(circle at 30% 15%,#0768ab44,transparent),#031a30;color:#00dafa;box-shadow:inset 0 0 15px #137cf122,0 0 12px #078de32b}#root .prime-market-icon svg{width:38px;height:38px}#root .metric-row>.market-card .market-kicker{position:absolute!important;top:16px!important;inset-inline-end:12px!important;width:auto!important;padding:0!important;margin:0!important}#root .metric-row>.market-card .market-badge{font-size:11px!important;padding:4px 7px!important;border:1px solid #165fa7!important;border-radius:10px!important;background:#03192e!important;color:#46e9ff!important;font-weight:800!important;line-height:1.2!important;box-shadow:inset 0 0 10px #0774d21a!important}#root .metric-row>.market-card>div:last-child{width:auto!important;padding:0!important;min-width:0!important}#root .metric-row>.market-card strong{font-size:25px!important;font-weight:850!important;line-height:1.14!important;color:#fff!important;margin-bottom:5px!important}#root .metric-row>.market-card p{font-size:14px!important;line-height:1.35!important;color:#b4c7df!important;max-width:none!important;margin:0!important}#root .metric-row>.market-otc_crypto .prime-market-icon{color:#b987ff;border-color:#7251bb;background:#1a1535}#root .metric-row>.market-otc_crypto::after{color:#b987ff!important}#root .metric-row>.metric.market-forex{grid-column:1/-1!important;min-height:132px!important;padding:20px 20px 20px 88px!important;justify-content:center!important}#root .market-forex .prime-market-icon{position:absolute;inset-inline-start:18px;top:50%;transform:translateY(-50%);margin:0}#root .metric-row>.market-forex .market-kicker{top:16px!important;inset-inline-end:18px!important}#root .metric-row>.market-forex strong{padding-inline-end:110px!important;font-size:25px!important}#root .metric-row>.market-forex p{padding-inline-end:12px!important}#root .metric-row>.market-card.disabled{opacity:1!important;cursor:default!important;border-color:#226293!important}#root .metric-row>.market-card.disabled strong,#root .metric-row>.market-card.disabled p{color:#8ca2bf!important}#root .market-card.disabled .prime-market-icon{color:#99aacd;border-color:#485c85;background:#172238}#root .metric-row>.market-card.disabled::after{content:"—"!important;color:#7283a2!important;font-size:25px!important}#root .empty-signals{display:none!important}#root .bottom-nav{position:fixed!important;bottom:0!important;left:50%!important;transform:translateX(-50%)!important;width:min(100%,720px)!important;gap:8px!important;padding:8px 8px calc(8px + var(--app-safe-bottom))!important;border:1px solid #164378!important;border-radius:24px 24px 0 0!important;background:#020d18f2!important;box-shadow:0 -12px 35px #0006!important;z-index:60!important}#root .nav-button{min-height:74px!important;border:1px solid #123c6b!important;border-radius:20px!important;background:#020c16!important;color:#f2f6ff!important;gap:7px!important;font-size:14px!important;font-weight:750!important}#root .nav-button.active{color:#00ddff!important;border-color:#078bee!important;background:radial-gradient(ellipse at top,#04417d88,transparent),#03213b!important;box-shadow:inset 0 0 24px #008bfc17,0 0 12px #0789e922!important}#root .nav-button svg{width:25px!important;height:25px!important}#root button:focus-visible,#root a:focus-visible,#root input:focus-visible{outline:2px solid #4bdcff!important;outline-offset:3px!important}#root .pair-card,#root .expiry-button{border:1px solid #1a518b!important;background:linear-gradient(135deg,#05243c,#02121f)!important;border-radius:16px!important;color:#f8fbff!important;min-height:54px!important}#root .pair-card::before{background:linear-gradient(90deg,#1688ff,#00d4ef,transparent)!important}#root .pair-payout{color:#60eaff!important;border-color:#127fc2!important;background:#06304d!important}#root .pair-search-input,#root input,#root select,#root textarea{background:#020f1d!important;border-color:#1c4b79!important;color:#f5f8ff!important;border-radius:13px!important}#root .primary-link,#root .signal-action-button.primary,#root .balance-check-button,#root .education-test-launch,#root .education-complete-button{background:linear-gradient(125deg,#0769de,#05a5d4)!important;border:1px solid #149ef5!important;color:#fff!important;box-shadow:0 5px 24px #0476d329!important;border-radius:15px!important}#root .signal-action-button:not(.primary),#root .back-button,#root .education-module-nav-button,#root .education-reset-button,#root .education-restart-button{background:#03192b!important;border-color:#175489!important;color:#a7eaff!important;border-radius:13px!important}#root .signal-confidence-track i,#root .education-progress-fill{background:linear-gradient(90deg,#0b77ee,#00d8ef)!important}#root .signal-card.call .direction-badge,#root .mini-direction.call,#root .result-banner.win{color:#5bf1df!important;background:#06302f!important;border-color:#16736a!important}#root .signal-card.put .direction-badge,#root .mini-direction.put,#root .result-banner.loss{color:#ff9cab!important;background:#311623!important;border-color:#894057!important}#root .signal-card.call .signal-visual{color:#03dcdf!important}#root .signal-card.put .signal-visual{color:#ff7c97!important}#root .signal-meta-item strong,#root .profile-stat strong,#root .education-stat strong{color:#f4f8ff!important}#root .header-language-menu{background:#031426!important;border-color:#1b568c!important;border-radius:18px!important}#root .header-language-option.active,#root .education-answer.selected{color:#55e9ff!important;background:#063353!important;border-color:#168acb!important}#root .education-lesson,#root .education-lesson-button,#root .education-answer,#root .education-module-nav-button{border-color:#174a78!important;background:#04192b!important;color:#f3f7ff!important}#root .education-answer.correct,#root .education-quiz-explain.success{border-color:#177d89!important;background:#052d37!important;color:#7df0e7!important}#root .education-answer.wrong{border-color:#804055!important;background:#2a1421!important;color:#ffb1bd!important}#root .education-achievement.unlocked,#root .education-module-card.completed{border-color:#0879bc!important;background:#032c43!important}#root .vip-channel-icon,#root .education-achievement-icon,#root .profile-stat-icon,#root .balance-access-icon{color:#24dbff!important;border-color:#176eaa!important;background:#042944!important}#root .access-loader-wordmark{color:#fff!important;font-weight:850!important}#root .access-loader-wordmark::after{content:none!important}#root .state-card{max-width:480px!important}#root .state-logo .brand::after{font-size:25px!important}#root .access-loader-logo{filter:drop-shadow(0 0 8px #009eff66)!important}#root .education-toast{border-color:#1970a9!important;background:#031b2d!important;color:#f3f8ff!important}#root [dir=rtl] .metric-row>.market-card::after{right:auto!important;left:18px!important}
@media(max-width:380px){#root .screen{padding:12px!important;gap:14px!important}#root .hero-panel{padding:22px 17px!important;gap:10px!important;min-height:185px!important}#root .prime-hero-icon{flex-basis:56px}#root .metric-row{gap:10px!important}#root .metric-row>.metric.market-card:nth-child(n){padding:14px 12px 32px!important;min-height:198px!important}#root .prime-market-icon{width:44px;height:44px;flex-basis:44px;border-radius:13px}#root .prime-market-icon svg{width:32px;height:32px}#root .metric-row>.market-card .market-kicker{top:14px!important;inset-inline-end:9px!important}#root .metric-row>.market-card .market-badge{font-size:10px!important;padding:4px 5px!important}#root .metric-row>.market-card strong{font-size:23px!important}#root .metric-row>.market-card p{font-size:13px!important}#root .metric-row>.metric.market-forex{padding:16px 16px 16px 72px!important;min-height:146px!important}#root .market-forex .prime-market-icon{inset-inline-start:14px}#root .metric-row>.market-forex strong{padding-inline-end:94px!important;font-size:21px!important}#root .brand::after,#root .app-shell>.topbar .brand::after{font-size:19px!important}#root .brand-logo-img{width:34px!important;height:34px!important;flex-basis:34px!important}#root .app-shell>.topbar{padding:17px 12px!important}#root .nav-button{font-size:12px!important}}#root .app-shell{max-width:720px!important;padding-inline:0!important}#root .hero-panel>div,#root .hero-panel h1,#root .hero-direction-title,#root .hero-direction-lead{max-width:none!important}#root .metric-row>.metric.market-card:nth-child(n){order:0!important}#root .metric-row>.metric.market-card.market-forex{grid-column:1/-1!important;padding:20px 20px 20px 88px!important;min-height:132px!important}#root .metric-row>.market-card .prime-market-icon{display:flex!important;color:#00dafa!important}#root .metric-row>.market-otc_crypto .prime-market-icon{color:#b987ff!important}#root .metric-row>.market-card.disabled .prime-market-icon{color:#99aacd!important}#root .bottom-nav{max-width:720px!important}#root .bottom-nav .nav-button{min-height:74px!important}#root .metric-row>.market-card p{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;text-overflow:clip!important}#root .signal-card.buy .direction-badge,#root .mini-direction.buy,#root .result-banner.win{color:#5bf1df!important;background:#06302f!important;border-color:#16736a!important}#root .signal-card.sell .direction-badge,#root .mini-direction.sell,#root .result-banner.loss{color:#ff9cab!important;background:#311623!important;border-color:#894057!important}#root .signal-card.buy .signal-visual{color:#03dcdf!important}#root .signal-card.sell .signal-visual{color:#ff7c97!important}
@media(max-width:380px){#root .metric-row>.metric.market-card.market-forex{padding:16px 16px 16px 72px!important;min-height:146px!important}}#root .hero-panel{position:relative!important;padding:26px 20px!important;min-height:185px!important}#root .hero-panel>div{flex:1 1 100%!important;width:100%!important}#root .hero-panel h1{font-size:clamp(24px,6vw,38px)!important}#root .hero-direction-title{font-size:clamp(17px,4.5vw,25px)!important;max-width:78%!important}#root .hero-direction-lead{font-size:clamp(12px,3.1vw,17px)!important;max-width:78%!important}#root .prime-hero-icon{position:absolute;right:18px;bottom:30px;width:65px}#root .metric-row>.metric.market-card:nth-child(n){min-height:184px!important;padding:14px 13px 30px!important}#root .prime-market-icon{width:44px!important;height:44px!important;flex-basis:44px!important;margin-bottom:9px!important;border-radius:14px!important}#root .prime-market-icon svg{width:33px!important;height:33px!important}#root .metric-row>.market-card strong{font-size:23px!important}#root .metric-row>.market-card p{font-size:13px!important}#root .metric-row>.metric.market-card.market-forex{min-height:124px!important;padding:20px 20px 20px 78px!important}#root .metric-row>.market-card .market-kicker{top:14px!important;inset-inline-end:10px!important}
@media(max-width:380px){#root .hero-panel{padding:22px 17px!important}#root .hero-direction-title,#root .hero-direction-lead{max-width:76%!important}#root .prime-hero-icon{right:15px;width:53px}#root .metric-row>.metric.market-card:nth-child(n){padding:14px 12px 30px!important}#root .metric-row>.metric.market-card.market-forex{padding:16px 16px 16px 72px!important;min-height:146px!important}}#root .signal-description,#root .achievement-hint{background:#042039!important;border:1px solid #1b527a!important;color:#bfd0e5!important;border-radius:13px!important}#root .profile-stat-head,#root .profile-stat-head span,#root .education-stat span,#root .education-achievement-lead,#root .vip-channel-copy small{font-size:11px!important;line-height:1.45!important}#root .education-lesson-copy>span,#root .education-lesson-detail,#root .education-answer,#root .education-quiz-explain{font-size:13px!important;line-height:1.55!important}#root .bottom-nav{right:auto!important;margin:0!important}#root .topbar .brand{position:relative!important;z-index:1!important;flex-direction:row!important}#root .metric-row>.market-card strong{overflow-wrap:anywhere!important}#root [dir=rtl] .prime-hero-icon{right:auto;left:18px}#root [dir=rtl] .hero-direction-title,#root [dir=rtl] .hero-direction-lead{margin-inline-end:0!important;margin-inline-start:0!important}
@media(prefers-reduced-motion:reduce){#root *,#root *::before,#root *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
