/* Jashoo treyd product UI v3: compact signals, profile and education flows. */
:root {
  --omerta-gold: #57d7ad;
  --omerta-gold-soft: #a0e9d1;
  --omerta-gold-pale: #d2f5e9;
  --omerta-panel: rgba(4,17,13, 0.96);
  --omerta-panel-deep: rgba(2,8,6, 0.99);
  --omerta-border: rgba(74,213,167, 0.24);
  --omerta-border-strong: rgba(74,213,167, 0.48);
  --omerta-muted: rgba(186,239,221, 0.66);
}

.app-shell {
  padding-bottom: calc(104px + var(--app-safe-bottom)) !important;
  scroll-padding-bottom: calc(104px + var(--app-safe-bottom));
}

.screen {
  gap: 8px !important;
}

/* Signals: one composed hero, a two-column market console and a full-width Forex row. */
@keyframes omerta-signal-beacon {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.94);
    filter: drop-shadow(0 0 10px rgba(87,215,173, 0.24));
  }

  50% {
    opacity: 0.66;
    transform: scale(1.06);
    filter: drop-shadow(0 0 22px rgba(87,215,173, 0.48));
  }
}

.hero-panel {
  min-height: 142px !important;
  overflow: hidden !important;
  border: 1px solid rgba(74,213,167, 0.22) !important;
  border-radius: 16px !important;
  padding: 14px !important;
  background:
    radial-gradient(circle at 86% 40%, rgba(74,213,167, 0.11), transparent 31%),
    linear-gradient(135deg, rgba(6,23,18, 0.985), rgba(2,8,6, 0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(207,244,232, 0.03),
    0 14px 38px rgba(0,0,0, 0.24),
    0 0 28px rgba(74,213,167, 0.025) !important;
}

.hero-panel::before {
  top: 0 !important;
  right: 14% !important;
  bottom: auto !important;
  left: 14% !important;
  width: auto !important;
  height: 1px !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent, var(--omerta-gold), transparent) !important;
  box-shadow: 0 0 12px rgba(74,213,167, 0.34) !important;
}

.hero-panel::after {
  inset: 34px 27px auto auto !important;
  width: 66px !important;
  height: 66px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("/assets/bootstrap-icons/broadcast-pin.svg?v=20260824-omerta-gold-v2") center / contain no-repeat !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  clip-path: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0.28;
  transform-origin: center;
  animation: omerta-signal-beacon 2.6s ease-in-out infinite;
  pointer-events: none;
  will-change: transform, opacity, filter;
}

.hero-panel > div {
  position: relative !important;
  z-index: 2 !important;
  max-width: 72% !important;
}

.hero-panel h1 {
  max-width: 205px !important;
  margin: 0 !important;
  color: var(--omerta-gold-pale) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(23px, 6.5vw, 28px) !important;
  line-height: 1.02 !important;
}

.hero-direction-title {
  max-width: 215px !important;
  margin: 12px 0 0 !important;
  color: #def7ef !important;
  font-family: "Manrope", "Segoe UI", sans-serif !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: var(--omerta-muted) !important;
  font-size: 9.5px !important;
  line-height: 1.32 !important;
}

.market-section-heading {
  display: none !important;
}

.screen > .metric-row {
  margin-top: 10px !important;
}

.metric-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.metric-row > .metric.market-card,
.metric-row > .metric.market-card:nth-child(2) {
  grid-column: auto !important;
  min-height: 116px !important;
  align-content: end !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--market-border) !important;
  border-radius: 14px !important;
  padding: 50px 27px 10px 10px !important;
  background:
    linear-gradient(112deg, color-mix(in srgb, var(--market-glow), transparent 18%), transparent 47%),
    linear-gradient(145deg, rgba(6,23,18, 0.98), rgba(2,8,6, 0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(210,244,233, 0.025),
    0 10px 24px rgba(0,0,0, 0.2) !important;
}

.metric-row > .market-card > div:last-child {
  display: grid !important;
  min-width: 0 !important;
  align-content: end !important;
}

.metric-row > .market-card::before {
  content: "" !important;
  top: 10px !important;
  left: 10px !important;
  width: 35px !important;
  height: 35px !important;
  border: 1px solid var(--market-border) !important;
  border-radius: 10px !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: 24px 24px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255, 0.045), 0 0 18px var(--market-glow) !important;
  transform: none !important;
}

.metric-row > .market-card::after {
  top: auto !important;
  right: 10px !important;
  bottom: 10px !important;
  color: var(--market-accent) !important;
  font-size: 24px !important;
  transform: none !important;
}

.metric-row > .market-card .market-kicker {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

.metric-row > .market-card .market-badge {
  border-radius: 6px !important;
  padding: 3px 6px !important;
  font-size: 8px !important;
  line-height: 1 !important;
}

.metric-row > .market-card strong {
  min-height: 0 !important;
  color: #def7ef !important;
  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;
  color: rgba(181,238,219, 0.7) !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;
}

.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");
}

.empty-signals {
  min-height: 108px !important;
  margin-top: 2px !important;
  opacity: 0.62 !important;
}

.empty-signals .lottie-loader {
  width: min(138px, 38vw) !important;
  filter:
    sepia(0.92)
    saturate(2.2)
    hue-rotate(352deg)
    brightness(0.94)
    contrast(1.08)
    drop-shadow(0 0 13px rgba(74,213,167, 0.2)) !important;
}

/* Expiry choice: compact black-and-gold controls consistent with market cards. */
.pair-header .back-button {
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid rgba(74,213,167, 0.28) !important;
  border-radius: 10px !important;
  padding: 7px 11px !important;
  background: rgba(74,213,167, 0.055) !important;
  color: #c9f2e5 !important;
  box-shadow: inset 0 1px 0 rgba(198,242,227, 0.025) !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.pair-header .back-button::before {
  content: "←";
  color: var(--omerta-gold) !important;
  font-size: 15px;
  line-height: 1;
}

.pair-header .back-button:hover {
  border-color: rgba(123,224,191, 0.52) !important;
  background: rgba(74,213,167, 0.1) !important;
  transform: translateY(-1px);
}

.expiry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.expiry-button {
  position: relative !important;
  min-height: 86px !important;
  gap: 4px !important;
  overflow: hidden !important;
  border: 1px solid rgba(74,213,167, 0.28) !important;
  border-radius: 13px !important;
  padding: 13px 34px 11px !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(74,213,167, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(5,23,17, 0.98), rgba(2,8,6, 0.995)) !important;
  color: #def7ef !important;
  box-shadow:
    inset 0 1px 0 rgba(206,243,231, 0.03),
    0 10px 24px rgba(0,0,0, 0.2) !important;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease !important;
}

.expiry-button:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.expiry-button::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 20px;
  height: 20px;
  background: url("/assets/bootstrap-icons/clock-history.svg?v=20260824-omerta-gold-v2") center / contain no-repeat;
  opacity: 0.48;
  filter: drop-shadow(0 0 7px rgba(74,213,167, 0.18));
}

.expiry-button::after {
  content: "›" !important;
  position: absolute !important;
  top: 50% !important;
  right: 11px !important;
  bottom: auto !important;
  color: rgba(112,221,185, 0.65) !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
}

.expiry-button strong {
  color: var(--omerta-gold-soft) !important;
  font-size: 27px !important;
  line-height: 1 !important;
  text-shadow: 0 0 14px rgba(74,213,167, 0.12);
}

.expiry-button span {
  color: rgba(186,239,221, 0.64) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.expiry-button:hover,
.expiry-button:focus-visible {
  border-color: rgba(123,224,191, 0.58) !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(74,213,167, 0.15), transparent 38%),
    linear-gradient(145deg, rgba(6,27,20, 0.99), rgba(2,10,7, 0.995)) !important;
  box-shadow: inset 0 1px 0 rgba(206,243,231, 0.045), 0 12px 28px rgba(0,0,0, 0.28), 0 0 18px rgba(74,213,167, 0.05) !important;
  transform: translateY(-1px) !important;
}

.expiry-button:active {
  transform: scale(0.985) !important;
}

/* Profile: unified compact cards, clear statistics, VIP and learning blocks. */
.profile-hero,
.profile-language-card,
.profile-stats-card,
.profile-learning-card,
.education-hero,
.education-module-card,
.education-quiz-card {
  border: 1px solid var(--omerta-border) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(74,213,167, 0.06), transparent 34%),
    linear-gradient(145deg, var(--omerta-panel), var(--omerta-panel-deep)) !important;
  box-shadow: inset 0 1px 0 rgba(197,242,227, 0.026), 0 14px 36px rgba(0,0,0, 0.15) !important;
}

.profile-hero {
  padding: 14px !important;
  border-radius: 16px !important;
}

.profile-hero::before {
  background: linear-gradient(90deg, transparent, rgba(74,213,167, 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(74,213,167, 0.56) !important;
  border-radius: 15px !important;
  background: linear-gradient(145deg, rgba(74,213,167, 0.14), rgba(4,18,13, 0.98)) !important;
  box-shadow: inset 0 0 22px rgba(74,213,167, 0.08), 0 0 18px rgba(74,213,167, 0.07) !important;
  color: var(--omerta-gold-soft) !important;
  font-size: 22px !important;
}

.profile-name {
  min-width: 0 !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 3px !important;
}

.profile-name .eyebrow {
  color: var(--omerta-gold) !important;
  font-size: 8px !important;
  letter-spacing: 0.14em !important;
}

.profile-name h2 {
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #def7ef !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(74,213,167, 0.22) !important;
  border-radius: 8px !important;
  background: rgba(74,213,167, 0.055) !important;
  color: rgba(186,239,221, 0.76) !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: var(--omerta-gold) !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(74,213,167, 0.2) !important;
  border-radius: 11px !important;
  background: rgba(74,213,167, 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(74,213,167, 0.2) !important;
  color: #def7ef !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

.profile-stats {
  gap: 8px !important;
}

.profile-stat {
  --profile-accent: #70deba;
  min-height: 78px !important;
  gap: 8px !important;
  padding: 10px !important;
  border: 1px solid rgba(74,213,167, 0.2) !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(7,28,21, 0.94), rgba(3,11,8, 0.98)) !important;
  box-shadow: inset 0 1px 0 rgba(194,241,225, 0.025) !important;
}

.profile-stat:nth-child(2) {
  --profile-accent: #68dcb6;
}

.profile-stat:nth-child(3) {
  --profile-accent: #a4ead3;
}

.profile-stat:nth-child(4) {
  --profile-accent: #57d8ad;
}

.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: rgba(186,239,221, 0.62) !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(74,213,167, 0.34) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 92% 15%, rgba(74,213,167, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(6,28,21, 0.98), rgba(2,10,7, 0.99)) !important;
  box-shadow: inset 0 1px 0 rgba(186,239,221, 0.04), 0 0 26px rgba(74,213,167, 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, var(--omerta-gold), var(--omerta-gold-soft)) !important;
  box-shadow: 0 0 18px rgba(74,213,167, 0.16) !important;
  color: #04130e !important;
  font-size: 13px !important;
}

.vip-channel-copy {
  gap: 3px !important;
}

.vip-channel-copy strong {
  color: #def7ef !important;
  font-size: 15px !important;
}

.vip-channel-copy small {
  color: rgba(186,239,221, 0.66) !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(74,213,167, 0.3) !important;
  border-radius: 8px !important;
  background: rgba(74,213,167, 0.08) !important;
  color: var(--omerta-gold-soft) !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: var(--omerta-muted) !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: #def7ef !important;
  font-size: 15px !important;
}

/* Education: the same block rhythm, borders and control language as the other tabs. */
.education-hero {
  gap: 12px !important;
  padding: 14px !important;
  border-radius: 16px !important;
}

.education-hero .section-heading {
  gap: 4px !important;
  margin: 0 !important;
}

.education-hero .section-heading h2 {
  color: #def7ef !important;
  font-size: 20px !important;
  line-height: 1.08 !important;
}

.education-hero .section-heading p,
.education-section > .section-heading p {
  color: var(--omerta-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

.education-progress {
  gap: 7px !important;
  padding: 10px !important;
  border: 1px solid rgba(74,213,167, 0.16) !important;
  border-radius: 11px !important;
  background: rgba(74,213,167, 0.035) !important;
}

.education-progress-head {
  color: rgba(186,239,221, 0.72) !important;
  font-size: 10px !important;
}

.education-progress-head strong {
  color: var(--omerta-gold-soft) !important;
}

.education-progress-track {
  height: 7px !important;
  border-color: rgba(74,213,167, 0.25) !important;
  background: rgba(2,5,4, 0.92) !important;
}

.education-stats,
.profile-learning-metrics {
  gap: 8px !important;
}

.education-stat {
  min-height: 62px !important;
  gap: 5px !important;
  padding: 9px !important;
  border: 1px solid rgba(74,213,167, 0.18) !important;
  border-radius: 11px !important;
  background: linear-gradient(145deg, rgba(6,27,20, 0.92), rgba(2,10,7, 0.98)) !important;
}

.education-stat span {
  color: rgba(186,239,221, 0.62) !important;
  font-size: 9px !important;
}

.education-stat strong {
  color: var(--omerta-gold-soft) !important;
  font-size: 19px !important;
  line-height: 1 !important;
}

.education-section {
  gap: 8px !important;
}

.education-section > .section-heading {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
  gap: 10px !important;
  margin: 4px 2px 0 !important;
  padding: 0 2px 7px !important;
  border-bottom: 1px solid rgba(74,213,167, 0.18) !important;
}

.education-section > .section-heading h2 {
  color: #def7ef !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
}

.education-modules {
  gap: 8px !important;
}

.education-module-card {
  border-radius: 14px !important;
}

.education-module-card::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--omerta-gold-soft), rgba(74,213,167, 0.18));
  box-shadow: 0 0 12px rgba(74,213,167, 0.2);
}

.education-module-card.done {
  border-color: rgba(123,224,191, 0.46) !important;
}

.education-module-card.expanded {
  border-color: var(--omerta-border-strong) !important;
}

.education-module-toggle {
  min-height: 76px !important;
  gap: 10px !important;
  padding: 12px 12px 12px 14px !important;
}

.education-module-toggle-main {
  gap: 4px !important;
}

.education-module-toggle-main h3 {
  color: #def7ef !important;
  font-size: 15px !important;
  line-height: 1.18 !important;
}

.education-module-kicker {
  color: var(--omerta-gold) !important;
  font-size: 8px !important;
  letter-spacing: 0.13em !important;
}

.education-module-status {
  border-color: rgba(74,213,167, 0.2) !important;
  background: rgba(74,213,167, 0.065) !important;
  color: var(--omerta-gold-soft) !important;
  padding: 4px 7px !important;
  font-size: 8.5px !important;
}

.education-module-status.passed {
  border-color: rgba(139,228,199, 0.38) !important;
  background: rgba(74,213,167, 0.1) !important;
  color: #bff0e0 !important;
}

.education-module-toggle-icon {
  width: 32px !important;
  height: 32px !important;
  border-color: rgba(74,213,167, 0.26) !important;
  border-radius: 9px !important;
  background: rgba(74,213,167, 0.065) !important;
  color: var(--omerta-gold-soft) !important;
}

.education-module-card.expanded .education-module-toggle-icon {
  background: linear-gradient(135deg, var(--omerta-gold), var(--omerta-gold-soft)) !important;
  color: #04110d !important;
}

.education-module-content {
  gap: 10px !important;
  padding: 0 12px 12px 14px !important;
}

.education-module-content > p {
  color: var(--omerta-muted) !important;
  font-size: 11px !important;
  line-height: 1.42 !important;
}

.education-lessons {
  gap: 7px !important;
}

.education-lesson-item {
  gap: 8px !important;
  border-color: rgba(74,213,167, 0.15) !important;
  border-radius: 10px !important;
  background: rgba(2,7,5, 0.7) !important;
  padding: 9px !important;
}

.education-lesson-item.done {
  border-color: rgba(123,224,191, 0.34) !important;
  background: rgba(74,213,167, 0.055) !important;
}

.education-check {
  width: 23px !important;
  height: 23px !important;
  border-color: rgba(74,213,167, 0.28) !important;
  border-radius: 7px !important;
  color: var(--omerta-gold) !important;
}

.education-lesson-copy strong {
  color: #def7ef !important;
  font-size: 12px !important;
}

.education-lesson-copy span {
  color: var(--omerta-muted) !important;
  font-size: 9.5px !important;
}

.education-lesson-time {
  color: var(--omerta-gold) !important;
  font-size: 8px !important;
  white-space: nowrap !important;
}

.education-lesson-detail {
  gap: 8px !important;
  border-color: rgba(74,213,167, 0.17) !important;
  border-radius: 10px !important;
  background: rgba(2,7,5, 0.74) !important;
  padding: 10px !important;
}

.education-lesson-detail p,
.education-lesson-detail li {
  color: var(--omerta-muted) !important;
  font-size: 10.5px !important;
  line-height: 1.5 !important;
}

.education-quiz-card {
  gap: 10px !important;
  border-radius: 12px !important;
  padding: 11px !important;
}

.education-quiz-card .section-heading {
  gap: 4px !important;
  margin: 0 !important;
}

.education-quiz-card .section-heading h2 {
  font-size: 16px !important;
}

.education-quiz-summary,
.education-quiz-explain {
  border-color: rgba(74,213,167, 0.17) !important;
  border-radius: 9px !important;
  background: rgba(74,213,167, 0.055) !important;
  color: var(--omerta-muted) !important;
  font-size: 10px !important;
}

.education-question {
  gap: 8px !important;
  border-top-color: rgba(74,213,167, 0.15) !important;
  padding-top: 11px !important;
}

.education-question h3 {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.education-quiz-label {
  color: var(--omerta-gold) !important;
  font-size: 8px !important;
}

.education-quiz-option {
  min-height: 38px !important;
  border-color: rgba(74,213,167, 0.16) !important;
  border-radius: 9px !important;
  background: rgba(2,8,6, 0.78) !important;
  color: #def7ef !important;
  padding: 8px 10px !important;
  font-size: 11px !important;
}

.education-reset-button,
.education-restart-button {
  min-height: 38px !important;
  border-color: rgba(74,213,167, 0.26) !important;
  border-radius: 10px !important;
  background: rgba(74,213,167, 0.065) !important;
  color: var(--omerta-gold-soft) !important;
}

.education-course-actions {
  padding-bottom: 0 !important;
}

.education-achievement {
  min-height: 108px !important;
  gap: 5px 8px !important;
  padding: 10px 30px 10px 10px !important;
  border: 1px solid rgba(74,213,167, 0.17) !important;
  border-radius: 11px !important;
  background: linear-gradient(145deg, rgba(6,26,19, 0.9), rgba(2,9,7, 0.98)) !important;
}

.education-achievement .achievement-icon,
.education-achievement-icon {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(74,213,167, 0.22) !important;
  border-radius: 9px !important;
  background: rgba(74,213,167, 0.06) !important;
  color: var(--omerta-gold-soft) !important;
}

.education-achievement strong {
  color: #def7ef !important;
  font-size: 13px !important;
  line-height: 1.08 !important;
}

.education-achievement p,
.education-achievement small,
.education-achievement .achievement-status {
  color: rgba(186,239,221, 0.58) !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
}

.achievement-info-button {
  top: 8px !important;
  right: 8px !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid rgba(74,213,167, 0.18) !important;
  background: rgba(2,8,6, 0.88) !important;
  color: var(--omerta-gold-soft) !important;
}

/* Navigation is identical on all three screens. */
.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: 1px solid rgba(74,213,167, 0.36) !important;
  border-radius: 16px !important;
  padding: 4px !important;
  background: rgba(3,12,9, 0.94) !important;
  box-shadow: inset 0 1px 0 rgba(184,238,220, 0.04), 0 18px 48px rgba(0,0,0, 0.66) !important;
  transform: none !important;
  backdrop-filter: blur(20px) saturate(120%);
}

.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 {
  border-color: rgba(74,213,167, 0.46) !important;
  background: rgba(74,213,167, 0.1) !important;
  color: var(--omerta-gold) !important;
  box-shadow: inset 0 0 18px rgba(74,213,167, 0.05), 0 0 20px rgba(74,213,167, 0.07) !important;
}

/* Jashoo treyd brightness pass v7: closer to the saturated black-and-gold reference. */
:root {
  --omerta-gold: #4ad4a7;
  --omerta-gold-soft: #91e5c9;
  --omerta-gold-pale: #dbf6ed;
  --omerta-border: rgba(82,215,171, 0.31);
  --omerta-border-strong: rgba(93,217,176, 0.58);
  --omerta-muted: rgba(193,240,225, 0.74);
}

body {
  background:
    radial-gradient(circle at 12% -8%, rgba(69,211,164, 0.2), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(125,224,191, 0.13), transparent 31%),
    linear-gradient(160deg, #020b08 0%, #061a13 48%, #020a07 100%) !important;
}

.app-shell,
.shell {
  background:
    radial-gradient(circle at 50% -4%, rgba(68,211,164, 0.14), transparent 31%),
    radial-gradient(circle at 100% 30%, rgba(48,207,154, 0.05), transparent 38%),
    linear-gradient(180deg, rgba(3,12,9, 0.985), rgba(2,8,6, 0.995)) !important;
}

.topbar {
  border-color: rgba(87,216,173, 0.25) !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(81,214,170, 0.13), transparent 42%),
    linear-gradient(105deg, rgba(5,21,16, 0.99), rgba(2,8,6, 0.995) 58%, rgba(6,23,18, 0.99)) !important;
  box-shadow: 0 10px 28px rgba(48,207,154, 0.045) !important;
}

.brand::after {
  background: linear-gradient(180deg, #def7ef 0%, #8ae4c6 38%, #30cf9a 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  filter: drop-shadow(0 2px 0 rgba(14,58,44, 0.86)) drop-shadow(0 0 16px rgba(65,210,162, 0.34)) !important;
}

.brand-logo-img {
  filter: brightness(1.12) saturate(1.18) drop-shadow(0 0 16px rgba(79,214,169, 0.5)) !important;
}

.hero-panel {
  border-color: rgba(83,215,171, 0.38) !important;
  background:
    radial-gradient(circle at 86% 40%, rgba(74,212,167, 0.19), transparent 33%),
    linear-gradient(135deg, rgba(7,28,21, 0.99), rgba(2,10,7, 0.995)) !important;
  box-shadow:
    inset 0 1px 0 rgba(219,246,237, 0.045),
    0 14px 38px rgba(0,0,0, 0.25),
    0 0 30px rgba(65,210,162, 0.055) !important;
}

.hero-panel h1,
.hero-direction-title {
  text-shadow: 0 0 16px rgba(79,214,169, 0.12) !important;
}

.hero-panel .hero-direction-lead {
  color: rgba(195,241,226, 0.78) !important;
}

.metric.market-card,
.metric.market-card:nth-child(1),
.metric.market-card:nth-child(2),
.metric.market-card:nth-child(3),
.metric.market-card:nth-child(4),
.metric.market-card:nth-child(5) {
  --market-accent: #4ad4a7 !important;
  --market-border: rgba(80,214,170, 0.47) !important;
  --market-glow: rgba(48,207,154, 0.16) !important;
}

.metric-row > .metric.market-card,
.metric-row > .metric.market-card:nth-child(2) {
  background:
    radial-gradient(circle at 4% 5%, rgba(77,213,168, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(6,26,19, 0.99), rgba(2,9,7, 0.997)) !important;
  box-shadow:
    inset 0 1px 0 rgba(214,246,235, 0.04),
    0 10px 24px rgba(0,0,0, 0.23),
    0 0 18px rgba(63,210,161, 0.035) !important;
}

.metric-row > .market-card strong {
  color: #def7ef !important;
  text-shadow: 0 0 11px rgba(97,218,178, 0.08);
}

.metric-row > .market-card p {
  color: rgba(193,241,225, 0.76) !important;
}

.market-card .market-badge,
.status-pill,
.tag,
.access-badge {
  border-color: rgba(91,216,175, 0.35) !important;
  background: rgba(65,210,162, 0.1) !important;
  color: #9fe9d0 !important;
}

.profile-hero,
.profile-language-card,
.profile-stats-card,
.profile-learning-card,
.education-hero,
.education-module-card,
.education-quiz-card {
  border-color: rgba(82,215,171, 0.3) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(71,212,165, 0.105), transparent 36%),
    linear-gradient(145deg, rgba(5,23,17, 0.98), rgba(2,9,7, 0.99)) !important;
}

.profile-stat,
.education-stat,
.education-achievement {
  border-color: rgba(82,215,171, 0.26) !important;
  background: linear-gradient(145deg, rgba(7,31,23, 0.95), rgba(2,11,8, 0.99)) !important;
}

.expiry-button {
  border-color: rgba(83,215,171, 0.4) !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(77,213,168, 0.15), transparent 37%),
    linear-gradient(145deg, rgba(6,28,21, 0.99), rgba(2,9,7, 0.997)) !important;
}

.expiry-button strong,
.education-stat strong,
.profile-stat strong {
  text-shadow: 0 0 14px rgba(77,213,168, 0.16);
}

.empty-signals .lottie-loader {
  filter:
    sepia(0.92)
    saturate(2.5)
    hue-rotate(352deg)
    brightness(1.08)
    contrast(1.08)
    drop-shadow(0 0 16px rgba(71,212,165, 0.3)) !important;
}

.bottom-nav,
body.desktop .bottom-nav {
  border-color: rgba(81,214,170, 0.5) !important;
  background: rgba(3,15,11, 0.96) !important;
  box-shadow: inset 0 1px 0 rgba(192,240,224, 0.055), 0 18px 48px rgba(0,0,0, 0.66), 0 0 22px rgba(65,210,162, 0.045) !important;
}

.bottom-nav .nav-button.active {
  border-color: rgba(95,218,177, 0.62) !important;
  background: rgba(65,210,162, 0.15) !important;
  color: #60dab2 !important;
  box-shadow: inset 0 0 20px rgba(77,213,168, 0.075), 0 0 22px rgba(65,210,162, 0.1) !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-panel::after {
    animation: none !important;
    opacity: 0.36 !important;
    transform: none !important;
    filter: drop-shadow(0 0 13px rgba(74,213,167, 0.22));
  }
}

@media (max-width: 380px) {
  .hero-panel {
    min-height: 138px !important;
    padding: 13px !important;
  }

  .hero-panel::after {
    right: 17px !important;
    width: 60px !important;
    height: 60px !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,
  .metric-row > .metric.market-card:nth-child(2) {
    min-height: 112px !important;
    padding-right: 24px !important;
  }

  .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;
  }
}

/* Exact-reference Jashoo treyd lockup: candle O + the original MERTA artwork. */
.topbar .brand,
.state-logo .brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  min-height: 56px !important;
  padding: 0 54px !important;
}

.state-logo .brand {
  min-height: 56px !important;
  padding: 0 !important;
}

.topbar .brand::after,
.state-logo .brand::after {
  content: none !important;
  display: none !important;
}

.topbar .brand-reference-o,
.state-logo .brand-reference-o,
.topbar .brand-reference-merta,
.state-logo .brand-reference-merta {
  position: relative;
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
  pointer-events: none;
}

.topbar .brand-reference-o,
.state-logo .brand-reference-o {
  width: 52px;
  height: 54px;
  margin-right: -5px;
  overflow: visible;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(45,190,142, 0.28));
}

.topbar .brand-reference-merta,
.state-logo .brand-reference-merta {
  width: 132px;
  height: 34px;
}

@media (max-width: 360px) {
  .topbar .brand {
    gap: 0 !important;
    padding: 0 48px !important;
  }

  .topbar .brand-reference-o {
    width: 48px;
    height: 50px;
    margin-right: -5px;
  }

  .topbar .brand-reference-merta {
    width: 122px;
    height: 32px;
  }
}
