/* The file has no Medium, so 500 uses SemiBold rather than a faked bold. */
@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/YekanBakhFaNum-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* The brand palette, as set out in the brand book (/brand). */
:root {
  --brand-purple: #6A38FF;
  --brand-purple-dark: #5527E0;
  --brand-navy: #0D1B52;
  --brand-gold: #F7B500;
  --brand-info: #3B82F6;
  --brand-success: #22C55E;
  --brand-error: #EF4444;
  --brand-warning: #F97316;
  --brand-text: #1F2937;
  --brand-text-secondary: #6B7280;
  --brand-border: #E5E7EB;
  --brand-background: #F8FAFC;
  --brand-gradient: linear-gradient(135deg, #6A38FF 0%, #0D1B52 100%);
}

/* The theme's tokens point at the brand, in both themes. */
:root,
[data-bs-theme] {
  --ar-body-font-family: 'Yekan Bakh', Tahoma, system-ui, sans-serif;
  --ar-font-sans-serif: 'Yekan Bakh', Tahoma, system-ui, sans-serif;
  /* Low x-height: this font reads a size smaller than most. */
  --ar-body-font-size: 1.0625rem;
  --ar-primary: #6A38FF;
  --ar-primary-rgb: 106, 56, 255;
  --ar-info: #3B82F6;
  --ar-info-rgb: 59, 130, 246;
  --ar-success: #22C55E;
  --ar-success-rgb: 34, 197, 94;
  --ar-warning: #F97316;
  --ar-warning-rgb: 249, 115, 22;
  --ar-danger: #EF4444;
  --ar-danger-rgb: 239, 68, 68;
  --ar-focus-ring-color: rgba(106, 56, 255, .25);
  --site-accent: #6A38FF;
  --site-accent-soft: #EEE8FF;
}

/* Light only: navy headings and the brand's neutrals. Not on :root, or it would beat the dark theme. */
[data-bs-theme='light'] {
  --ar-heading-color: #0D1B52;
  --ar-body-color: #1F2937;
  --ar-secondary-color: #6B7280;
  --ar-secondary-color-rgb: 107, 114, 128;
  --ar-border-color: #E5E7EB;
  --ar-link-color: #6A38FF;
  --ar-link-color-rgb: 106, 56, 255;
  --ar-link-hover-color: #5527E0;
  --ar-link-hover-color-rgb: 85, 39, 224;
  --ar-primary-text-emphasis: #4A1FC9;
  --ar-primary-bg-subtle: #EEE8FF;
  --site-surface: #F8FAFC;
}

/* Purple is too dark to read on the dark theme, so links and accents lighten. */
[data-bs-theme='dark'] {
  --ar-link-color: #A88BFF;
  --ar-link-color-rgb: 168, 139, 255;
  --ar-link-hover-color: #C2ADFF;
  --ar-link-hover-color-rgb: 194, 173, 255;
  --ar-primary-text-emphasis: #C2ADFF;
  --ar-primary-bg-subtle: #1A1240;
  --site-accent: #A88BFF;
  --site-accent-soft: rgba(106, 56, 255, .18);
}

body {
  font-family: var(--ar-body-font-family);
  line-height: 1.85;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  text-wrap: pretty;
}

/* Numbers keep their own direction inside Persian text. */
.num {
  unicode-bidi: isolate;
}

/* The font draws Latin digits as Persian, which would corrupt an address. */
input[type='email'] {
  direction: ltr;
  font-family: ui-sans-serif, system-ui, sans-serif;
  text-align: left !important;
}

.btn-sm {
  --ar-btn-font-size: .9375rem;
}

.fs-sm {
  font-size: .9375rem !important;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .display-3, .display-4, .display-5 {
  font-family: var(--ar-body-font-family);
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
}

.btn-primary {
  --ar-btn-bg: #6A38FF;
  --ar-btn-border-color: #6A38FF;
  --ar-btn-hover-bg: #5527E0;
  --ar-btn-hover-border-color: #5527E0;
  --ar-btn-active-bg: #5527E0;
  --ar-btn-active-border-color: #5527E0;
  --ar-btn-disabled-bg: #6A38FF;
  --ar-btn-disabled-border-color: #6A38FF;
  --ar-btn-focus-shadow-rgb: 106, 56, 255;
}

.btn-outline-primary {
  --ar-btn-color: #6A38FF;
  --ar-btn-border-color: #6A38FF;
  --ar-btn-hover-color: #fff;
  --ar-btn-hover-bg: #6A38FF;
  --ar-btn-hover-border-color: #6A38FF;
  --ar-btn-active-bg: #5527E0;
  --ar-btn-active-border-color: #5527E0;
  --ar-btn-focus-shadow-rgb: 106, 56, 255;
}

[data-bs-theme='dark'] .btn-outline-primary {
  --ar-btn-color: #A88BFF;
  --ar-btn-border-color: #A88BFF;
}

.pagination {
  --ar-pagination-focus-box-shadow: 0 0 0 .25rem rgba(106, 56, 255, .25);
  --ar-pagination-active-border-color: #6A38FF;
}

/* Brand surfaces: navy for the footer, the brand gradient for calls to action. */
.footer.bg-dark { --ar-dark-rgb: 13, 27, 82; }
.bg-brand-gradient { background: var(--brand-gradient) !important; }
.text-gold { color: var(--brand-gold) !important; }

/* Orange is too light for small text on white; this is the same hue, deeper. */
[data-bs-theme='light'] .text-warning { color: #C2410C !important; }

.nav-link.active,
.navbar-nav .nav-link.active {
  color: var(--site-accent) !important;
}

/* The theme ships LTR only, so these utilities are flipped by hand. */
[dir='rtl'] .navbar-nav { margin-right: auto; margin-left: 0 !important; padding-right: 0; }
[dir='rtl'] .navbar-brand { margin-left: 1rem; margin-right: 0; }
[dir='rtl'] .site-check { padding-right: 0; }
[dir='rtl'] .form-control { text-align: right; }
[dir='rtl'] .invalid-feedback { text-align: right; }

.page-top { padding-top: 7rem; }
/* Wide screens have the strip above the bar too. */
@media (min-width: 992px) { .page-top { padding-top: 9rem; } }

/* The theme is LTR only, so these flip with the page. */
@media (min-width: 992px) {
  [dir='rtl'] .text-lg-start { text-align: right !important; }
}

.hero-phone {
  max-width: 61%;
  margin-bottom: 9.9%;
  padding: .3125rem;
  overflow: hidden;
  border-radius: calc(var(--ar-border-radius) * 2);
}

.hero-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--ar-border-radius) * 1.875);
}

.holding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  aspect-ratio: 1;
  padding: .5rem;
  color: var(--ar-heading-color);
  font-size: .9375rem;
  font-weight: 600;
  text-align: center;
}

.holding i { font-size: 1.75rem; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: var(--site-accent-soft);
  color: var(--site-accent);
  font-size: 1.5rem;
}

[data-bs-theme='dark'] .feature-icon { background: rgba(106, 56, 255, .2); color: #A88BFF; }

.section { padding: 4.5rem 0; }
.section-muted { background: var(--site-surface, var(--ar-secondary)); }
.section h2 { font-weight: 800; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--site-accent);
  color: #fff;
  font-weight: 700;
}

/* Weblog */
.post-column { max-width: 46rem; margin-inline: auto; }
.post-meta { color: var(--ar-gray-600, #6b7686); font-size: .9375rem; }
.post-eyebrow { color: var(--site-accent); font-size: .9375rem; font-weight: 600; }
.post-body { font-size: 1.125rem; line-height: 2; overflow-wrap: anywhere; }
.post-body h2, .post-body h3, .post-body h4 { margin-top: 2rem; margin-bottom: .75rem; }
.post-body img { max-width: 100%; height: auto; border-radius: .75rem; }
.post-body table { display: block; max-width: 100%; overflow-x: auto; }
.post-body blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--site-accent); }
.answer-box { padding: 1.25rem; border-inline-start: 4px solid var(--site-accent); border-radius: .75rem; background: var(--site-accent-soft); color: var(--site-accent); }
.answer-box strong { display: block; margin-bottom: .25rem; }
.author-box { display: flex; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: var(--ar-secondary); }
.author-box img { flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.comment { padding: 1rem 0; border-bottom: 1px solid var(--ar-border-color, #e2e5f1); overflow-wrap: anywhere; }
.comment p { white-space: pre-line; }
/* Off-screen offsets add a sideways scroll in RTL, so this clips in place. */
.comment-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.breadcrumb-item + .breadcrumb-item { padding-right: var(--ar-breadcrumb-item-padding-x, .5rem); padding-left: 0; }
.breadcrumb-item + .breadcrumb-item::before { float: right; padding-right: 0; padding-left: var(--ar-breadcrumb-item-padding-x, .5rem); }
.post-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--site-accent); color: #fff; font-weight: 700; }
.post-aside { position: sticky; top: 6rem; }
/* The theme's offset utilities are LTR only. */
@media (min-width: 1200px) { .post-offset { margin-right: 8.333333%; } }

/* The logo is dark purple, so it needs a light backing on the dark theme. */
.brand-mark { margin-left: .375rem; }
[data-bs-theme='dark'] .brand-mark { border-radius: .5rem; background: #fff; }

/* Market prices */
.market-table { --ar-table-bg: transparent; }
.market-table th, .market-table td { padding: .9rem 1.25rem; vertical-align: middle; }
.market-table thead th { color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 500; }
.market-table tbody tr:last-child > * { border-bottom: 0; }
.market-name { color: var(--ar-heading-color); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 575.98px) {
  .market-table th, .market-table td { padding: .75rem .625rem; }
  .market-table th:first-child, .market-table td:first-child { padding-inline-start: 1rem; }
  .market-table th:last-child, .market-table td:last-child { padding-inline-end: 1rem; }
}
.market-name:hover { color: var(--site-accent); }
.market-price { font-weight: 700; }
.market-change { display: inline-block; padding: .125rem .5rem; border-radius: .5rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.market-up { color: #15803D; background: rgba(34, 197, 94, .12); }
.market-down { color: #DC2626; background: rgba(239, 68, 68, .1); }
.market-flat { color: var(--ar-secondary-color); background: rgba(127, 127, 127, .1); }
[data-bs-theme='dark'] .market-up { color: #4ADE80; background: rgba(34, 197, 94, .14); }
[data-bs-theme='dark'] .market-down { color: #F87171; background: rgba(239, 68, 68, .12); }
.market-hero-price { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; line-height: 1.2; }
.market-stat { display: flex; flex-direction: column; gap: .125rem; padding: .75rem 1rem; border-radius: .75rem; background: var(--ar-body-bg); }
.market-stat span, .market-stat small { color: var(--ar-secondary-color); font-size: .8125rem; }
.market-stat strong { font-size: 1.0625rem; }
.market-stat strong.market-up, .market-stat strong.market-down, .market-stat strong.market-flat { align-self: flex-start; }
.market-chart { display: block; width: 100%; height: 200px; }
.market-chart-area { fill: rgba(106, 56, 255, .12); }
.market-chart-line { fill: none; stroke: var(--site-accent); stroke-width: 2.5; stroke-linejoin: round; }
.market-chart-line.market-down { stroke: #EF4444; }
.market-tip { background: var(--site-accent-soft); }
[data-bs-theme='dark'] .market-tip { background: rgba(106, 56, 255, .15); }
.market-cta { background: var(--site-accent-soft); }
[data-bs-theme='dark'] .market-cta { background: rgba(106, 56, 255, .15); }

/* Market search and the price widget. */
.market-search { max-width: 40rem; }
.market-search .form-control { padding-inline-start: 3rem; }
.market-search-icon { position: absolute; top: 50%; inset-inline-start: 1.125rem; color: var(--ar-secondary-color); font-size: 1.25rem; transform: translateY(-50%); pointer-events: none; }
.market-tile { background: var(--ar-secondary-bg); color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.market-tile:hover { box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08); transform: translateY(-2px); }
.market-tile-name { color: var(--ar-heading-color); font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.market-tile-price { color: var(--ar-heading-color); font-size: clamp(1.125rem, 2.6vw, 1.5rem); font-weight: 800; line-height: 1.3; white-space: nowrap; }
.market-spark { flex-shrink: 0; width: 72px; height: 24px; overflow: visible; }
.market-spark path { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.market-spark.market-up, .market-spark.market-down, .market-spark.market-flat { background: none; }
@media (max-width: 575.98px) {
  .market-tile .card-body { padding: .875rem !important; }
  .market-spark { width: 56px; }
}

/* AI assistant button: a pill like Google's AI Mode, with a turning gradient edge. */
@property --ai-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ai-button {
  --ai-edge: conic-gradient(from var(--ai-angle), #6A38FF, #3B82F6, #F7B500, #6A38FF);
  position: relative; display: inline-flex; align-items: center; gap: .5rem; isolation: isolate;
  color: var(--ar-heading-color); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease;
}
/* The gradient sits behind, and the face covers all but a 1.5px edge. */
.ai-button::before { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--ai-edge); animation: ai-turn 4s linear infinite; }
.ai-button::after { content: ''; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; background: var(--ar-body-bg); }
.ai-button--pill { height: 2.25rem; padding: 0 1rem 0 .875rem; }
.ai-button:hover { color: var(--ar-heading-color); transform: translateY(-1px); box-shadow: 0 .375rem 1.25rem rgba(106, 56, 255, .28); }
.ai-button:focus-visible { outline: 2px solid #6A38FF; outline-offset: 3px; }
.ai-spark { flex-shrink: 0; width: 1.25rem; height: 1.25rem; overflow: visible; }
.ai-spark-main { transform-origin: 10px 9.5px; animation: ai-twinkle 3.2s ease-in-out infinite; }
.ai-spark-small { transform-origin: 18.5px 17.5px; animation: ai-twinkle 3.2s ease-in-out infinite 1.6s; }
.ai-button:hover .ai-spark-main { animation-duration: 1.2s; }

[data-bs-theme='dark'] .ai-button::after { background: #1b1d22; }
@keyframes ai-turn { to { --ai-angle: 360deg; } }
@keyframes ai-twinkle {
  0%, 70%, 100% { transform: scale(1) rotate(0deg); }
  80% { transform: scale(.72) rotate(45deg); }
  90% { transform: scale(1.12) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ai-button::before, .ai-spark-main, .ai-spark-small { animation: none; }
}

/* Gold platforms. */
.pf-logo { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; overflow: hidden; border-radius: 22%; background: var(--site-accent-soft); color: var(--site-accent); font-size: 1.25rem; font-weight: 800; }
[data-bs-theme='dark'] .pf-logo { background: rgba(106, 56, 255, .18); }
.pf-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pf-card { background: var(--ar-secondary-bg); transition: transform .15s ease, box-shadow .15s ease; }
.pf-card:hover { box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pf-card-link { color: var(--ar-heading-color); text-decoration: none; }
.pf-card .pf-compare, .pf-card .pf-chip { position: relative; z-index: 2; }
.pf-badge { background: rgba(247, 181, 0, .16); color: #8A6500; font-weight: 600; }
[data-bs-theme='dark'] .pf-badge { color: #F7B500; }
.pf-chip { display: inline-block; padding: .125rem .625rem; border-radius: 999px; background: var(--ar-body-bg); color: var(--ar-body-color); font-size: .8125rem; }
.pf-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.pf-facts > div { padding: .5rem; border-radius: .625rem; background: var(--ar-body-bg); min-width: 0; }
.pf-facts dt { color: var(--ar-secondary-color); font-size: .75rem; font-weight: 400; }
/* Words wrap at spaces only: a split "نامشخص" reads as two words. */
.pf-facts dd { margin: 0; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; line-height: 1.5; }
.pf-facts--stack { grid-template-columns: 1fr 1fr; }
.pf-compare { border: 1px solid var(--ar-border-color); color: var(--ar-body-color); }
.pf-compare.is-on { border-color: var(--site-accent); background: var(--site-accent-soft); color: var(--site-accent); }
.pf-stars { display: inline-flex; align-items: center; gap: .375rem; font-size: .875rem; }
.pf-stars-row { display: inline-flex; gap: .0625rem; color: #F7B500; }
.pf-stars--md .pf-stars-row { font-size: 1.125rem; }
.pf-stars-score { color: var(--ar-heading-color); font-weight: 700; }
.pf-stars-count { color: var(--ar-secondary-color); font-size: .8125rem; }
.pf-stars--plain .pf-stars-score, .pf-stars--plain .pf-stars-count { display: none; }
/* Stars fill from the right in Persian, so a half star shows its right half. */
[dir='rtl'] .pf-half { display: inline-block; transform: scaleX(-1); }
.pf-hero { background: linear-gradient(135deg, var(--site-accent-soft), var(--ar-secondary-bg) 70%); }
[data-bs-theme='dark'] .pf-hero { background: linear-gradient(135deg, rgba(106, 56, 255, .18), var(--ar-secondary-bg) 70%); }
.pf-table { --ar-table-bg: transparent; }
.pf-table th, .pf-table td { padding: .875rem 1.25rem; vertical-align: middle; }
.pf-table tbody th { width: 38%; color: var(--ar-secondary-color); font-weight: 500; }
.pf-table tbody tr:last-child > * { border-bottom: 0; }
.pf-compare-table thead th { text-align: center; min-width: 9rem; }
.pf-compare-table tbody th { width: auto; min-width: 8rem; }
.pf-list li { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; font-size: .9375rem; }
.pf-list li.is-off { color: var(--ar-secondary-color); }
.pf-pros { background: rgba(34, 197, 94, .08); }
.pf-pros h3 { color: #15803D; }
.pf-cons { background: rgba(239, 68, 68, .06); }
.pf-cons h3 { color: #DC2626; }
[data-bs-theme='dark'] .pf-pros h3 { color: #4ADE80; }
[data-bs-theme='dark'] .pf-cons h3 { color: #F87171; }
.pf-body h2 { font-size: 1.375rem; margin-top: 2rem; }
.pf-body h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.pf-faq { border-bottom: 1px solid var(--ar-border-color); padding: 1rem 0; }
.pf-faq summary { cursor: pointer; color: var(--ar-heading-color); font-weight: 600; }
.pf-faq p { margin-top: .75rem; color: var(--ar-body-color); font-size: .9375rem; }
.pf-review { padding: 1.25rem 0; border-bottom: 1px solid var(--ar-border-color); }
.pf-rate { display: inline-flex; gap: .25rem; direction: rtl; }
.pf-rate-star { padding: .125rem; border: 0; background: none; color: #c9c9c9; font-size: 1.75rem; line-height: 1; }
.pf-rate-star.is-on { color: #F7B500; }
.pf-rate-star:focus-visible { outline: 2px solid var(--site-accent); border-radius: .375rem; }
.pf-side { position: sticky; top: 6rem; }
.pf-filters > summary { list-style: none; }
.pf-filters > summary::-webkit-details-marker { display: none; }
.pf-tray { position: fixed; inset-inline: 0; bottom: 0; z-index: 1025; padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--ar-border-color); background: var(--ar-body-bg); box-shadow: 0 -.5rem 1.5rem rgba(0, 0, 0, .08); }
.pf-tray-item { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .75rem; border: 1px solid var(--site-accent); border-radius: 999px; background: var(--site-accent-soft); color: var(--site-accent); font-size: .875rem; }
@media (max-width: 575.98px) {
  .pf-facts { grid-template-columns: 1fr 1fr; }
  .pf-table th, .pf-table td { padding: .75rem .875rem; }
}
@media (max-width: 991.98px) {
  .pf-side { position: static; }
}

/* Brand book (/brand). Swatches show the brand's own colours in either theme. */
.brand-swatch {
  border: 1px solid var(--ar-border-color);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--ar-body-bg);
}

.brand-swatch__chip {
  height: 5rem;
  border-bottom: 1px solid var(--ar-border-color);
}

.brand-swatch__chip--lg {
  height: 8rem;
}

.brand-dot {
  display: inline-block;
  width: .875rem;
  height: .875rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .15);
  margin-inline-end: .5rem;
  vertical-align: -.1em;
}

.brand-gradient {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 9rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #6A38FF 0%, #0D1B52 100%);
  color: #fff;
  font-size: .875rem;
}

.brand-code {
  padding: 1.25rem;
  border-radius: 1rem;
  background: #0D1B52;
  color: #E5E7EB;
  font-size: .8125rem;
  text-align: left;
}

.brand-code code {
  color: inherit;
}

.brand-post {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 18rem;
  margin-inline: auto;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #FFFFFF 40%, #EEE8FF 100%);
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

.brand-post__mark {
  position: absolute;
  inset-block-end: 1rem;
  inset-inline-start: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  color: #6A38FF;
  opacity: .12;
}

.brand-post__title {
  margin-bottom: .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D1B52;
}

.brand-post__number {
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
  color: #F7B500;
}

/* Post covers: any upload is cropped to fill its frame, so lists stay even. */
.post-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  background: var(--site-accent-soft);
}
.post-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover > .post-frame > img { transform: scale(1.03); }
.post-frame--empty { display: flex; align-items: center; justify-content: center; background: var(--brand-gradient); }
.post-frame__mark { padding: 1rem; color: #fff; font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 800; text-align: center; opacity: .9; }
.post-frame--card { border-radius: 0; }
/* The read page's cover is a wide band, taller on phones so it isn't a sliver. */
.post-frame--hero { aspect-ratio: 21 / 9; }
@media (max-width: 767.98px) { .post-frame--hero { aspect-ratio: 4 / 3; } }

.post-title-link { color: var(--ar-heading-color); text-decoration: none; }
.post-title-link:hover { color: var(--site-accent); }
.post-meta-row { gap: 0 .75rem; color: var(--ar-secondary-color); }
.post-meta-sep { font-size: .75rem; opacity: .3; }
.post-topic { color: var(--ar-heading-color); background: transparent; text-decoration: none; }
.post-topic:hover { border-color: var(--site-accent) !important; color: var(--site-accent); }

/* Blog list (template's blog-list-sidebar): a wide row per post, the cover
   filling its column from 14rem tall, like the template's background image. */
.post-meta-row--light { color: rgba(255, 255, 255, .7); }
.post-meta-row--light .post-topic { position: relative; z-index: 3; color: #fff; border-color: rgba(255, 255, 255, .5) !important; }
.post-row > a { display: block; }
.post-frame--row { height: 100%; }
@media (min-width: 576px) { .post-frame--row { aspect-ratio: auto; min-height: 14rem; } }
.post-frame--mini { width: 92px; aspect-ratio: 1; border-radius: .75rem; }
.post-frame--mini .post-frame__mark { padding: .25rem; font-size: .7rem; }
.post-banner { position: relative; overflow: hidden; padding: 2rem 1.5rem; border-radius: 1.5rem; background: var(--brand-gradient); text-align: center; }
.post-banner__mark { display: inline-flex; margin-bottom: 1rem; opacity: .9; }
.post-banner:hover .btn { filter: brightness(1.05); }
/* Keeps the last row clear of the fixed sidebar button on small screens. */
@media (max-width: 991.98px) { .post-sidebar-toggle { z-index: 1030; } }

/* ================================================================== */
/* Soft landing: floating bar, sky hero, line drawings, bento, waves. */
/* ================================================================== */
[data-bs-theme='light'] {
  --soft-bg: #F7F8FB;
  --soft-panel: #F2F4F8;
  --soft-card: #FFFFFF;
  --soft-line: #E8EAF0;
  --sky-1: #D6E2FF;
  --sky-2: #EEF2FF;
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .45));
  --glass-edge: rgba(255, 255, 255, .95);
  --iso-fill: #FFFFFF;
  --iso-fill-side: #F2F4F8;
  --iso-line: #C9CFDB;
  --stat-bg: #E3F4FF;
}
[data-bs-theme='dark'] {
  --soft-bg: #0E1120;
  --soft-panel: #151A2C;
  --soft-card: #1A1F35;
  --soft-line: rgba(255, 255, 255, .08);
  --sky-1: #1E2560;
  --sky-2: #141936;
  --glass: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  --glass-edge: rgba(255, 255, 255, .18);
  --iso-fill: #1A1F35;
  --iso-fill-side: #151A2C;
  --iso-line: rgba(255, 255, 255, .22);
  --stat-bg: rgba(59, 130, 246, .14);
}

body { background: var(--soft-bg); }

/* Dark pill buttons, navy rather than black so they stay on brand. */
/* Every state names its text color too: the theme's base .btn sets none for
   hover, focus or press, so the text would take the parent's color. The
   theme also forces white text on filled buttons with a long :not() chain,
   hence !important on the dark theme's navy text. */
.btn-ink {
  --ar-btn-color: #fff; --ar-btn-bg: #0D1B52; --ar-btn-border-color: #0D1B52;
  --ar-btn-hover-color: #fff; --ar-btn-hover-bg: #1E2E70; --ar-btn-hover-border-color: #1E2E70;
  --ar-btn-active-color: #fff; --ar-btn-active-bg: #060F33; --ar-btn-active-border-color: #060F33;
  --ar-btn-disabled-color: #fff; --ar-btn-disabled-bg: #0D1B52; --ar-btn-disabled-border-color: #0D1B52;
  --ar-btn-focus-shadow-rgb: 13, 27, 82;
}
[data-bs-theme='dark'] .btn-ink {
  --ar-btn-color: #0D1B52 !important; --ar-btn-bg: #fff; --ar-btn-border-color: #fff;
  --ar-btn-hover-color: #0D1B52; --ar-btn-hover-bg: #E5E7EB; --ar-btn-hover-border-color: #E5E7EB;
  --ar-btn-active-color: #0D1B52; --ar-btn-active-bg: #CBD0DA; --ar-btn-active-border-color: #CBD0DA;
  --ar-btn-disabled-color: #0D1B52; --ar-btn-disabled-bg: #fff; --ar-btn-disabled-border-color: #fff;
  --ar-btn-focus-shadow-rgb: 255, 255, 255;
}
.btn-ink:focus-visible { box-shadow: 0 0 0 3px rgba(var(--ar-btn-focus-shadow-rgb), .35); }

/*
 * Navigation, after the app: liquid glass. The page shows blurred and
 * brightened through a thin tint, with a lit rim and a soft lifting shadow.
 * Desktop: the top bar, the current page in a lighter pill of glass.
 * Phones and tablets: the app's floating tab bar and round assistant button.
 */
.site-header__bar, .site-dock__bar, .site-dock__orb::after, .site-sheet {
  --lg-tint: linear-gradient(180deg, rgba(255, 255, 255, .66) 0%, rgba(255, 255, 255, .46) 100%);
  background: var(--lg-tint);
  -webkit-backdrop-filter: blur(22px) saturate(1.9) brightness(1.04);
  backdrop-filter: blur(22px) saturate(1.9) brightness(1.04);
}
.site-header__bar, .site-dock__bar, .site-sheet {
  border: 0;
  box-shadow: inset 0 1px .5px rgba(255, 255, 255, .95), inset 0 -1px .5px rgba(255, 255, 255, .35), 0 0 0 .5px rgba(13, 27, 82, .08), 0 12px 32px -12px rgba(13, 27, 82, .32), 0 3px 8px -2px rgba(13, 27, 82, .08);
}
[data-bs-theme='dark'] .site-header__bar, [data-bs-theme='dark'] .site-dock__bar, [data-bs-theme='dark'] .site-dock__orb::after, [data-bs-theme='dark'] .site-sheet {
  --lg-tint: linear-gradient(180deg, rgba(44, 45, 54, .66) 0%, rgba(24, 25, 32, .56) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(1.6) brightness(.92);
  backdrop-filter: blur(22px) saturate(1.6) brightness(.92);
}
[data-bs-theme='dark'] .site-header__bar, [data-bs-theme='dark'] .site-dock__bar, [data-bs-theme='dark'] .site-sheet {
  box-shadow: inset 0 1px .5px rgba(255, 255, 255, .22), 0 0 0 .5px rgba(255, 255, 255, .08), 0 14px 34px -12px rgba(0, 0, 0, .7);
}

/*
 * Liquid glass on the top bar and the dock: four layers, after Lucas Romero's
 * "Liquid Glass" dock. The page behind is blurred lightly and bent by an SVG
 * displacement filter (#lg-distortion in the layout), under a clear tint and
 * a crisp inset shine; the content sits on top. Where the browser can't bend
 * a backdrop (Safari), the effect layer is a plain blur.
 */
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-header__bar.lg, .site-dock__bar.lg { position: relative; isolation: isolate; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 6px 6px rgba(13, 27, 82, .12), 0 0 20px rgba(13, 27, 82, .08); transition: transform .4s cubic-bezier(.175, .885, .32, 2.2), height .35s var(--dock-spring, ease); }
.lg > .lg-effect, .lg > .lg-tint, .lg > .lg-shine { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.lg > .lg-effect { -webkit-backdrop-filter: blur(5px) saturate(1.6); backdrop-filter: blur(5px) saturate(1.6); filter: url(#lg-distortion); }
.lg > .lg-tint { background: rgba(255, 255, 255, .42); }
.lg > .lg-shine { box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, .55), inset -1px -1px 1px 1px rgba(255, 255, 255, .5); }
[data-bs-theme='dark'] .site-header__bar.lg, [data-bs-theme='dark'] .site-dock__bar.lg { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 6px 6px rgba(0, 0, 0, .35), 0 0 20px rgba(0, 0, 0, .25); }
[data-bs-theme='dark'] .lg > .lg-tint { background: rgba(28, 29, 38, .5); }
[data-bs-theme='dark'] .lg > .lg-shine { box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, .16), inset -1px -1px 1px 1px rgba(255, 255, 255, .1); }
/* Safari ignores an SVG filter on a backdrop: give it a fuller blur instead. */
@supports (font: -apple-system-body) {
  .lg > .lg-effect { filter: none; -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8); }
}
/* The dock's tabs give a little, like the pen's icons. */
.site-dock__bar.lg .site-dock__tab i { transition: transform .4s cubic-bezier(.175, .885, .32, 2.2); }
@media (hover: hover) { .site-dock__bar.lg .site-dock__tab:hover i { transform: scale(1.12); } }
.site-dock__bar.lg .site-dock__tab:active i { transform: scale(.9); }
@media (prefers-reduced-transparency: reduce) { .lg > .lg-tint { background: rgba(255, 255, 255, .92); } [data-bs-theme='dark'] .lg > .lg-tint { background: rgba(28, 29, 38, .95); } }

/* ---- Top bar. */
.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; padding-top: 0; background: transparent; box-shadow: none !important; }
.site-header__bar { display: flex; align-items: center; gap: 1rem; width: 100%; min-height: 3.75rem; padding: .375rem .5rem .375rem 1rem; border-radius: 999px; }
[dir='rtl'] .site-header__bar { padding: .375rem 1rem .375rem .5rem; }
.site-logo { display: inline-flex; align-items: center; gap: .375rem; margin: 0; color: var(--ar-heading-color); font-size: 1.25rem; font-weight: 900; text-decoration: none; }
.site-header__end { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
/* The account in the header: the avatar and its menu, or the way to sign in. */
.acct-avatar { position: relative; display: inline-grid; flex-shrink: 0; place-items: center; width: var(--avatar-size); height: var(--avatar-size); overflow: hidden; border-radius: 50%; background: var(--avatar-bg); color: var(--avatar-fg); font-size: calc(var(--avatar-size) * .42); font-weight: 900; line-height: 1; }
.acct-avatar__face { position: absolute; inset: 0; width: 100%; height: 100%; }
.acct { position: relative; }
.acct__button { position: relative; display: inline-flex; padding: 2px; border: 0; border-radius: 50%; background: none; box-shadow: 0 0 0 2px color-mix(in srgb, #6A38FF 35%, transparent); transition: box-shadow .2s; }
.acct__button:hover, .acct__button[aria-expanded='true'] { box-shadow: 0 0 0 3px #6A38FF; }
.acct__badge { position: absolute; inset-block-end: -2px; inset-inline-start: -2px; display: grid; place-items: center; width: 1rem; height: 1rem; border: 2px solid var(--soft-card); border-radius: 50%; background: #F7B500; color: #fff; font-size: .5rem; }
.acct__menu { position: absolute; inset-block-start: calc(100% + .75rem); inset-inline-end: 0; z-index: 1050; width: 16.5rem; padding: .5rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--soft-card); box-shadow: 0 1.5rem 3rem -1rem rgba(13, 27, 82, .35); }
.acct__who { display: flex; align-items: center; gap: .75rem; margin-bottom: .375rem; padding: .625rem .625rem .875rem; border-bottom: 1px solid var(--soft-line); }
.acct__who strong { display: block; overflow: hidden; color: var(--ar-heading-color); font-size: .9375rem; white-space: nowrap; text-overflow: ellipsis; }
.acct__who > span:last-child { min-width: 0; }
.acct__plan { display: inline-block; margin-top: .25rem; padding: .05rem .5rem; border-radius: 50rem; background: var(--soft-panel); color: var(--ar-secondary-color); font-size: .72rem; font-weight: 700; }
.acct__plan.is-premium { background: rgba(247, 181, 0, .14); color: #946C00; }
.acct__item { display: flex; align-items: center; gap: .625rem; width: 100%; padding: .6rem .75rem; border: 0; border-radius: .75rem; background: none; color: var(--ar-body-color); font-size: .875rem; font-weight: 600; text-align: start; text-decoration: none; }
.acct__item:hover, .acct__item:focus-visible { background: var(--soft-panel); color: var(--ar-heading-color); }
.acct__item i { color: var(--ar-secondary-color); font-size: 1.05rem; }
.acct__item--upgrade, .acct__item--upgrade i { color: #946C00; }
.acct__out { margin: .375rem 0 0; padding-top: .375rem; border-top: 1px solid var(--soft-line); }
.acct__out .acct__item, .acct__out .acct__item i { color: #DC2626; }
.acct-login { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .875rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: var(--soft-card); color: var(--ar-heading-color); font-size: .875rem; font-weight: 700; text-decoration: none; transition: border-color .2s; }
.acct-login:hover { border-color: color-mix(in srgb, #6A38FF 45%, var(--soft-line)); color: #6A38FF; }
@media (max-width: 400px) { .acct-login span { display: none; } .acct-login { padding: .45rem; } }
.site-nav { align-items: center; gap: .125rem; padding: .25rem; border-radius: 999px; background: rgba(13, 27, 82, .04); }
[data-bs-theme='dark'] .site-nav { background: rgba(255, 255, 255, .05); }
.site-nav__link { padding: .45rem .9rem; border-radius: 999px; color: var(--ar-heading-color); font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.site-nav__link:hover { color: #6A38FF; }
.site-nav__link.active { background: rgba(255, 255, 255, .85); color: #6A38FF; font-weight: 700; box-shadow: inset 0 1px .5px #fff, 0 2px 10px -4px rgba(13, 27, 82, .28); }
[data-bs-theme='dark'] .site-nav__link:hover, [data-bs-theme='dark'] .site-nav__link.active { color: #A88BFF; }
[data-bs-theme='dark'] .site-nav__link.active { background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px .5px rgba(255, 255, 255, .25); }

/*
 * The top bar, after TaskSuite's: full width, a thin grey strip with the app
 * and the smaller pages, then a white bar with the logo, the menus beside
 * it, and signing up (solid) and in (grey) at the end. Scrolled, the strip
 * folds away and the bar takes a shadow.
 */
.site-header { flex-direction: column; align-items: stretch; flex-wrap: nowrap; padding: 0; }
.site-strip { display: grid; grid-template-rows: 1fr; overflow: hidden; background: #EEF2F7; transition: grid-template-rows .25s ease; }
[data-bs-theme='dark'] .site-strip { background: #121628; }
.site-strip__in { display: flex; align-items: center; justify-content: space-between; min-height: 0; overflow: hidden; }
.site-header.is-scrolled .site-strip { grid-template-rows: 0fr; }
.site-strip__app, .site-strip__links a { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 0; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 500; text-decoration: none; }
.site-strip__app i:first-child { font-size: .95rem; }
.site-header .site-nav .site-nav__chat { color: var(--brand-purple); font-weight: 700; }
.site-header .site-nav .site-nav__chat i { font-size: 1.05em; }
.site-strip__app i:last-child { font-size: .65rem; transform: rotate(90deg); }
[dir='rtl'] .site-strip__app i:last-child { transform: rotate(90deg); }
.site-strip__links { display: flex; gap: 1.5rem; }
.site-strip a:hover, .site-strip a.active { color: #6A38FF; }
.site-header .site-header__bar { display: block; min-height: 0; padding: 0; border: 0; border-bottom: 1px solid var(--soft-line); border-radius: 0; background: var(--soft-card); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: box-shadow .25s ease; }
.site-header.is-scrolled .site-header__bar { box-shadow: 0 .5rem 1.5rem -1rem rgba(13, 27, 82, .3); }
.site-header__row { display: flex; align-items: center; gap: 2.5rem; min-height: 4.25rem; }
.site-header .site-logo { font-size: 1.35rem; }
.site-header .site-nav { gap: 1.75rem; padding: 0; border-radius: 0; background: none; }
.site-header .site-nav__link { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 0; border-radius: 0; background: none; color: var(--ar-heading-color); font-size: .975rem; font-weight: 500; box-shadow: none; }
.site-header .site-nav__link i { color: var(--ar-secondary-color); font-size: .75rem; transition: transform .2s; }
.site-header .site-nav__link:hover, .site-header .site-nav__link.is-on { background: none; color: #6A38FF; }
.site-header .site-nav__link.is-on i { color: #6A38FF; transform: rotate(180deg); }
.site-header .site-nav__link.active { background: none; color: #6A38FF; font-weight: 700; box-shadow: none; }
.site-header .site-header__end { gap: .625rem; margin-inline-start: auto; }

/* A menu's dropdown: a short card of pages under its link. */
.site-drop { position: relative; }
.site-drop__menu { position: absolute; inset-block-start: calc(100% + .9rem); inset-inline-start: -1rem; z-index: 1040; width: 18rem; padding: .5rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--soft-card); box-shadow: 0 1.25rem 2.5rem -1rem rgba(13, 27, 82, .3); }
.site-drop__menu::before { content: ''; position: absolute; inset: -1rem 0 auto; height: 1rem; }
.site-drop--enter { transition: opacity .16s ease, transform .16s ease; }
.site-drop--leave { transition: opacity .1s ease; }
.site-drop--from { opacity: 0; transform: translateY(-4px); }
.site-drop--to { opacity: 1; transform: none; }
.site-drop__item { display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: .7rem; color: inherit; text-decoration: none; }
.site-drop__item:hover, .site-drop__item:focus-visible { background: var(--soft-panel); }
.site-drop__icon { display: grid; flex-shrink: 0; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .6rem; background: var(--soft-panel); color: var(--ar-heading-color); font-size: 1.1rem; }
.site-drop__item strong { display: block; color: var(--ar-heading-color); font-size: .9rem; font-weight: 700; }
.site-drop__item small { color: var(--ar-secondary-color); font-size: .78rem; }
.site-drop__item.active .site-drop__icon { background: rgba(106, 56, 255, .1); color: #6A38FF; }
.site-drop__item.active strong { color: #6A38FF; }

/* The end: the assistant, then signing up (solid) and in (grey). */
.site-ask { display: inline-flex; align-items: center; gap: .45rem; height: 2.625rem; padding: 0 .45rem 0 .9rem; border-radius: .7rem; color: var(--ar-heading-color); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .2s; }
.site-ask:hover { background: var(--soft-panel); color: var(--ar-heading-color); }
.site-ask__orb { width: 1.65rem; height: 1.65rem; clip-path: circle(50%); }
.site-ask__orb i { filter: blur(4px); }
.site-header .acct-signup, .site-header .acct-login { display: inline-flex; align-items: center; height: 2.625rem; padding: 0 1.15rem; border: 0; border-radius: .7rem; font-size: .975rem; font-weight: 600; text-decoration: none; transition: background .2s, transform .15s; }
.site-header .acct-signup { background: #6A38FF; color: #fff; }
.site-header .acct-signup:hover { background: #5527E0; color: #fff; }
.site-header .acct-login { background: var(--soft-panel); color: var(--ar-heading-color); }
.site-header .acct-login:hover { background: color-mix(in srgb, var(--soft-line) 70%, var(--soft-panel)); color: var(--ar-heading-color); }
.site-header .acct-signup:active, .site-header .acct-login:active { transform: scale(.97); }
@media (max-width: 1199.98px) { .site-header__row { min-height: 3.75rem; } }
@media (max-width: 575.98px) { .site-ask__label, .site-header .acct-login { display: none; } .site-ask { padding: 0 .35rem; } .site-header .acct-signup { padding: 0 .9rem; } }
@media (prefers-reduced-motion: reduce) { .site-strip, .site-drop--enter, .site-drop--leave, .site-header .site-nav__link i { transition: none; } }


/* ---- Phones and tablets: the tab bar, after the app. */
.site-dock {
  --dock-h: 64px;
  --dock-spring: cubic-bezier(.34, 1.36, .64, 1);
  --dock-accent: #6A38FF;
  --dock-ink: rgba(13, 27, 82, .62);
  /* Centred by margins, not a transform: a transform would pin the sheet's backdrop to the dock, not the screen. */
  position: fixed; right: 0; bottom: calc(10px + env(safe-area-inset-bottom)); left: 0; z-index: 1035;
  display: flex; align-items: center; gap: 10px; box-sizing: border-box; width: 100%; max-width: 30rem; margin-inline: auto; padding: 0 14px;
  pointer-events: none;
}
.site-dock > * { pointer-events: auto; }
[data-bs-theme='dark'] .site-dock { --dock-accent: #A88BFF; --dock-ink: rgba(255, 255, 255, .62); }

.site-dock__bar { position: relative; display: grid; flex: 1; grid-template-columns: repeat(4, 1fr); height: var(--dock-h); padding: 4px; border-radius: 999px; transition: height .35s var(--dock-spring); }
.site-dock__lens { position: absolute; top: 4px; bottom: 4px; inset-inline-start: calc(4px + var(--i) * (100% - 8px) / 4); z-index: 0; width: calc((100% - 8px) / 4); border-radius: 999px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px .5px #fff, inset 0 -1px 1px rgba(13, 27, 82, .05), 0 2px 10px -4px rgba(13, 27, 82, .28); transition: inset-inline-start .5s var(--dock-spring); }
[data-bs-theme='dark'] .site-dock__lens { background: rgba(255, 255, 255, .13); box-shadow: inset 0 1px .5px rgba(255, 255, 255, .25); }
.site-dock__tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--dock-ink); font: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color .25s; }
.site-dock__tab i { font-size: 1.35rem; transition: transform .35s var(--dock-spring); }
.site-dock__tab span { overflow: hidden; max-height: 18px; font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; transition: opacity .2s, max-height .3s var(--dock-spring); }
.site-dock__tab.active { color: var(--dock-accent); }
.site-dock__tab.active span { font-weight: 800; }
.site-dock__tab:active i { transform: scale(.88); }

/* The round assistant button: the AI button's turning rainbow edge around a disc of glass. */
.site-dock__orb.ai-button { flex-shrink: 0; justify-content: center; width: var(--dock-h); height: var(--dock-h); box-shadow: 0 12px 32px -12px rgba(106, 56, 255, .45), 0 3px 8px -2px rgba(13, 27, 82, .1); transition: width .35s var(--dock-spring), height .35s var(--dock-spring), transform .2s; }
.site-dock__orb.ai-button::after { inset: 2px; }
.site-dock__orb .ai-spark { width: 1.7rem; height: 1.7rem; }
.site-dock__orb:active { transform: scale(.92); }

.site-dock--compact { --dock-h: 52px; }
.site-dock--compact .site-dock__tab span { max-height: 0; opacity: 0; }

/* "More": a sheet of glass over a dimmed page. */
.site-sheet__backdrop { position: fixed; inset: 0; z-index: -1; background: rgba(13, 27, 82, .25); pointer-events: auto; }
.site-sheet { position: absolute; right: 14px; bottom: calc(var(--dock-h) + 12px); left: 14px; padding: 10px 14px 16px; border-radius: 28px; }
.site-sheet__grip { display: block; width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: rgba(13, 27, 82, .18); }
.site-sheet__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.site-sheet__link { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border-radius: 18px; background: rgba(255, 255, 255, .55); color: var(--ar-heading-color); font-size: .92rem; font-weight: 600; text-decoration: none; box-shadow: inset 0 1px .5px #fff; }
.site-sheet__link i { color: #6A38FF; font-size: 1.15rem; }
.site-sheet__link.active { color: #6A38FF; }
[data-bs-theme='dark'] .site-sheet__link { background: rgba(255, 255, 255, .07); box-shadow: inset 0 1px .5px rgba(255, 255, 255, .12); }
.site-sheet--enter { transition: opacity .3s, transform .4s var(--dock-spring); }
.site-sheet--leave { transition: opacity .18s, transform .18s; }
.site-sheet--from { opacity: 0; transform: translateY(16px) scale(.97); }
.site-sheet--to { opacity: 1; transform: none; }

/* Room at the foot of every page for the dock; the blog's contents button rides above it. */
@media (max-width: 1199.98px) {
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .post-sidebar-toggle.fixed-bottom { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); left: 14px; width: auto !important; border-radius: 999px !important; box-shadow: 0 8px 20px -10px rgba(106, 56, 255, .7); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__bar, .site-dock__bar, .site-dock__orb::after, .site-sheet { background: var(--soft-card, #fff); }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header__bar, .site-dock__bar, .site-dock__orb::after, .site-sheet { background: var(--soft-card, #fff); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .site-dock__bar, .site-dock__lens, .site-dock__tab, .site-dock__tab i, .site-dock__tab span, .site-dock__orb, .site-nav__link, .site-sheet--enter, .site-sheet--leave { transition: none; }
}

/* Hero */
.sky-hero { padding: 10rem 0 3rem; overflow-x: clip; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 42%, var(--soft-bg) 100%); }
/*
 * The headline in three steps of weight: a small badge with the brand, the
 * promise large and dark, then what it's for, a size down, with the words
 * that matter in the brand gradient. Persian needs taller lines than Latin
 * and no squeezed tracking; phrases are kept whole, so lines break between
 * ideas, not inside them.
 */
.sky-hero__eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; padding: .35rem .95rem; border: 1px solid rgba(106, 56, 255, .2); border-radius: 50rem; background: rgba(255, 255, 255, .6); color: #4b2bc4; font-size: .875rem; font-weight: 700; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sky-hero__dot { width: .5rem; height: .5rem; border-radius: 50%; background: linear-gradient(135deg, #6A38FF, #F7B500); box-shadow: 0 0 0 3px rgba(106, 56, 255, .15); }
[data-bs-theme='dark'] .sky-hero__eyebrow { border-color: rgba(168, 139, 255, .3); background: rgba(255, 255, 255, .06); color: #c4b1ff; }
.sky-hero__title { display: flex; flex-direction: column; align-items: center; gap: .15em; margin: 0 auto 1.5rem; max-width: 18ch; font-size: clamp(2.4rem, 7.2vw, 4.75rem); line-height: 1.45; letter-spacing: 0; text-wrap: balance; }
.sky-hero__line { display: block; color: var(--ar-heading-color); font-weight: 900; }
.sky-hero__line--sub { font-size: .62em; font-weight: 700; line-height: 1.6; }
.sky-hero__line--sub em { font-style: normal; font-weight: 900; background: linear-gradient(135deg, #6A38FF 15%, #0D1B52 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-bs-theme='dark'] .sky-hero__line--sub em { background-image: linear-gradient(135deg, #A88BFF 10%, #F7B500 95%); }
.sky-hero__keep { white-space: nowrap; }
.sky-hero__lead { max-width: 30rem; margin: 0 auto 2rem; color: var(--ar-secondary-color); font-size: clamp(1rem, 2.4vw, 1.125rem); line-height: 2; text-wrap: balance; }
@media (min-width: 768px) { .sky-hero__title { max-width: none; } }

/* ---- The hero, in the assistant's language: orb, prompt, what's on your mind, questions. */
.sky-hero--ask { position: relative; padding: 8.5rem 0 4rem; background: var(--soft-bg); }
.sky-hero__glow { position: absolute; top: -10rem; left: 50%; width: 120vw; height: 46rem; transform: translateX(-50%); background: radial-gradient(closest-side at 40% 50%, rgba(106, 56, 255, .14), transparent 70%), radial-gradient(closest-side at 65% 45%, rgba(247, 181, 0, .1), transparent 70%); pointer-events: none; animation: asst-breath 9s ease-in-out infinite; }
.hero-ask { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 42rem; margin: 0 auto; text-align: center; }
.hero-ask__orb { width: 88px; height: 88px; margin-bottom: 1.25rem; clip-path: circle(50%); }
.sky-hero--ask .sky-hero__title { margin-bottom: 1rem; }
.sky-hero--ask .sky-hero__lead { margin-bottom: 1.75rem; }
.hero-ask__form { position: relative; isolation: isolate; width: 100%; text-align: start; }
.hero-ask__box { position: relative; padding: .65rem .65rem .55rem; border: 1px solid var(--soft-line); border-radius: 1.4rem; background: var(--soft-card); box-shadow: 0 1px 2px rgba(13, 27, 82, .04), 0 1rem 2.5rem -1.5rem rgba(13, 27, 82, .35); transition: border-color .2s, box-shadow .2s; }
.hero-ask__form::before { content: ''; position: absolute; inset: 30% 6% -16% 6%; z-index: -1; border-radius: 3rem; background: linear-gradient(90deg, rgba(106, 56, 255, .24), rgba(125, 211, 252, .24), rgba(134, 239, 172, .22), rgba(247, 181, 0, .24), rgba(249, 168, 212, .24)); filter: blur(28px); }
.hero-ask__box:focus-within { border-color: rgba(106, 56, 255, .45); box-shadow: 0 0 0 4px rgba(106, 56, 255, .12), 0 1rem 2.5rem -1.5rem rgba(13, 27, 82, .35); }
.hero-ask__form textarea { display: block; width: 100%; min-height: 3.6rem; padding: .35rem .5rem; border: 0; outline: 0; background: none; color: var(--ar-heading-color); font: inherit; font-size: 1rem; line-height: 1.9; resize: none; }
.hero-ask__form textarea::placeholder { color: var(--ar-secondary-color); opacity: .75; }
.hero-ask__bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.hero-ask__note { display: inline-flex; align-items: center; gap: .35rem; padding-inline-start: .4rem; color: var(--ar-secondary-color); font-size: .78rem; }
.hero-ask__note i { color: #F7B500; }
.hero-ask__send { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border: 0; border-radius: .85rem; background: #6A38FF; color: #fff; font-size: 1.15rem; transition: transform .15s, background .2s; }
.hero-ask__send:active { transform: scale(.92); }
.hero-ask__send:disabled { background: var(--soft-panel); color: var(--ar-secondary-color); }
.hero-ask__label { align-self: stretch; margin: 1.75rem .25rem .75rem; color: var(--ar-secondary-color); font-size: .85rem; font-weight: 700; text-align: start; }
.hero-ask__needs { display: flex; flex-wrap: wrap; gap: .5rem; align-self: stretch; }
.hero-need { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: var(--soft-card); color: var(--ar-body-color); font-size: .9rem; font-weight: 600; transition: border-color .2s, background .2s, color .2s, transform .15s; }
.hero-need:active { transform: scale(.96); }
.hero-need span { font-size: 1.05rem; }
.hero-need--on { border-color: #6A38FF; background: rgba(106, 56, 255, .08); color: #4B2BC4; font-weight: 800; box-shadow: 0 0 0 3px rgba(106, 56, 255, .12); }
[data-bs-theme='dark'] .hero-need--on { background: rgba(168, 139, 255, .14); color: #C4B1FF; }
.hero-ask__starts { display: flex; flex-direction: column; gap: .5rem; align-self: stretch; }
.hero-start { display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--soft-card); color: var(--ar-heading-color); font-size: .95rem; text-align: start; text-decoration: none; animation: hero-rise .35s ease both; transition: transform .15s, border-color .2s; }
.hero-start:nth-child(2) { animation-delay: .05s; }
.hero-start:nth-child(3) { animation-delay: .1s; }
.hero-start:hover { border-color: rgba(106, 56, 255, .4); color: var(--ar-heading-color); }
.hero-start:active { transform: scale(.98); }
.hero-start span { flex: 1; }
.hero-start i { flex-shrink: 0; color: var(--ar-secondary-color); }
.hero-start__go { color: #6A38FF !important; opacity: 0; transition: opacity .2s, transform .2s; }
.hero-start:hover .hero-start__go, .hero-start:focus-visible .hero-start__go { opacity: 1; transform: translateX(-3px); }
@keyframes hero-rise { from { opacity: 0; transform: translateY(6px); } }
/* Dara Pro in the hero: today's free setups, and the trader's desk. */
.hero-pro-today { margin-top: 1.5rem; }
.hero-pro-today__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-pro-setup { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .875rem .45rem .5rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: color-mix(in srgb, var(--ar-body-bg) 80%, transparent); color: var(--ar-heading-color); font-size: .8125rem; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-pro-setup:hover { border-color: color-mix(in srgb, var(--ar-primary) 45%, var(--soft-line)); }
.hero-pro-setup small { color: var(--ar-secondary-color); }
.hero-ask__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.hero-ask__more { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: 2rem; color: var(--ar-secondary-color); font-size: .85rem; }
.sky-hero__cta { padding: .7rem 1.6rem; border-radius: 50rem; font-weight: 700; }
@media (hover: none) { .hero-start__go { opacity: 1; } }
@media (max-width: 575.98px) { .sky-hero--ask { padding-top: 7rem; } .hero-ask__orb { width: 72px; height: 72px; } .hero-ask__note { display: none; } }
@media (prefers-reduced-motion: reduce) { .sky-hero__glow, .hero-start { animation: none; } }

/* The glass scene. Sized in em, so one font-size scales the whole drawing. */

/* Sections and headings */
.soft-section { padding: 5.5rem 0; }
.soft-title { margin-bottom: .75rem; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.5; }
.soft-lead { max-width: 36rem; margin: 0 auto 3rem; color: var(--ar-secondary-color); }
.icon-chips { display: inline-flex; gap: .25rem; margin: 0 .5rem; vertical-align: middle; }
.icon-chips i { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .875rem; background: var(--soft-card); box-shadow: 0 .35rem 1rem -.25rem rgba(13, 27, 82, .2); color: #6A38FF; font-size: 1.5rem; transform: rotate(-6deg); }
.icon-chips i:nth-child(2) { color: #F7B500; transform: rotate(4deg) translateY(-.25rem); }
.icon-chips i:nth-child(3) { color: #3B82F6; transform: rotate(-3deg); }
@media (max-width: 575.98px) { .icon-chips i { width: 2.25rem; height: 2.25rem; font-size: 1.125rem; } }

/* Line-drawn isometric scenes (App\Support\IsoArt) */
.iso-art { display: block; width: 100%; height: auto; overflow: visible; direction: ltr; }
.iso-plain { fill: var(--iso-fill); stroke: var(--iso-line); stroke-width: 1.2; stroke-linejoin: round; }
.iso-side.iso-plain { fill: var(--iso-fill-side); }
.iso-top.iso-hi { fill: #D9CCFF; stroke: #6A38FF; stroke-width: 1.2; stroke-linejoin: round; }
.iso-side.iso-hi { fill: #6A38FF; stroke: #5527E0; stroke-width: 1.2; stroke-linejoin: round; }
[data-bs-theme='dark'] .iso-top.iso-hi { fill: #3B2A8C; }
.iso-orbit { fill: none; stroke: #6A38FF; stroke-width: 1.5; stroke-dasharray: 6 5; opacity: .7; }
.iso-ring { fill: none; stroke: #6A38FF; stroke-width: 3; }
.iso-label { fill: var(--ar-secondary-color); font-family: var(--ar-body-font-family); font-size: 13px; font-weight: 600; }
.iso-label.is-on { fill: #6A38FF; }

.art-card { padding: .5rem .5rem 1.75rem; border: 1px solid var(--soft-line); border-radius: 1.5rem; background: var(--soft-card); text-align: center; }
.art-card__stage { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 1.75rem 2.25rem; border-radius: 1.125rem; background: linear-gradient(180deg, var(--soft-card), var(--soft-panel)); }
.art-card__stage .iso-art { max-height: 100%; }
.art-card__title { margin: 1.25rem 0 .5rem; font-size: 1.125rem; font-weight: 700; }
.art-card__text { margin: 0; padding-inline: 1.25rem; color: var(--ar-secondary-color); font-size: .9375rem; }

/* Bento */
.bento { display: grid; grid-template-areas: 'holdings app stat prices' 'steps app goals goals'; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.bento__card { position: relative; display: flex; flex-direction: column; min-height: 15rem; padding: 1.5rem; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1.5rem; background: var(--soft-card); color: inherit; text-decoration: none; }
.bento__card--holdings { grid-area: holdings; background: var(--soft-panel); }
.bento__card--steps { grid-area: steps; }
.bento__card--app { grid-area: app; align-items: center; border: 0; background: linear-gradient(165deg, #C2ADFF 0%, #6A38FF 55%, #0D1B52 100%); }
.bento__card--stat { grid-area: stat; border: 0; background: var(--stat-bg); }
.bento__card--prices { grid-area: prices; border: 0; background: #0D1B52; color: #fff; }
.bento__card--goals { grid-area: goals; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; background: radial-gradient(circle at 15% 120%, rgba(106, 56, 255, .12), transparent 55%), var(--soft-card); }
.bento__icons { display: flex; gap: .5rem; }
.bento__icons span { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--soft-card); box-shadow: 0 .25rem .75rem rgba(13, 27, 82, .1); color: #6A38FF; font-size: 1.375rem; }
.bento__icons span:nth-child(2) { color: #F7B500; }
.bento__icons span:nth-child(3) { color: #3B82F6; }
.bento__title { margin: auto 0 .375rem; font-size: 1.125rem; font-weight: 700; }
.bento__card--goals .bento__title { margin-top: 0; }
.bento__text { margin: 0; color: var(--ar-secondary-color); font-size: .875rem; line-height: 1.8; }
.bento__kicker { margin: 0 0 1rem; font-size: 1rem; font-weight: 700; }
.bento__card--prices .bento__kicker { color: #fff; }
.step-chips { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin: auto 0; padding: 0; list-style: none; }
.step-chips li { display: inline-flex; align-items: center; gap: .375rem; }
.step-chips span { padding: .375rem 1rem; border-radius: 999px; background: var(--soft-panel); font-size: .875rem; font-weight: 600; }
.step-chips i { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--soft-panel); color: var(--ar-secondary-color); font-style: normal; }
.step-chips .is-on span { background: rgba(106, 56, 255, .14); color: #6A38FF; }
.bento__wordmark { color: #fff; font-size: 1.75rem; font-weight: 900; }
.bento__device { position: relative; width: 72%; max-width: 15rem; aspect-ratio: 390 / 780; margin-top: 1rem; margin-bottom: -4.5rem; overflow: hidden; border: .375rem solid #0D1B52; border-radius: 1.75rem; background: #EDEDF1; box-shadow: 0 2rem 3rem -1rem rgba(13, 27, 82, .6); }
.bento__device picture { display: block; position: absolute; inset: 0; }
.bento__phone { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Three screens, four seconds each, crossfading; the names above follow. */
.bento__device picture + picture { opacity: 0; }
.bento__device picture { animation: bento-screen 12s infinite; }
.bento__device picture:nth-child(2) { animation-delay: 4s; }
.bento__device picture:nth-child(3) { animation-delay: 8s; }
.bento__device picture:first-child { animation-name: bento-screen-first; }
@keyframes bento-screen { 0% { opacity: 0; } 5%, 33% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes bento-screen-first { 0%, 33% { opacity: 1; } 38%, 95% { opacity: 0; } 100% { opacity: 1; } }
.bento__screens { display: flex; gap: .35rem; margin-top: .5rem; }
.bento__screen-name { padding: .15rem .6rem; border-radius: 50rem; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); font-size: .75rem; font-weight: 700; animation: bento-name 12s infinite; }
.bento__screen-name:nth-child(2) { animation-delay: 4s; }
.bento__screen-name:nth-child(3) { animation-delay: 8s; }
.bento__screen-name:first-child { animation-name: bento-name-first; }
@keyframes bento-name { 0% { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); } 5%, 33% { background: #fff; color: #4B2BC4; } 38%, 100% { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); } }
@keyframes bento-name-first { 0%, 33% { background: #fff; color: #4B2BC4; } 38%, 95% { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); } 100% { background: #fff; color: #4B2BC4; } }
@media (prefers-reduced-motion: reduce) {
  .bento__device picture, .bento__screen-name { animation: none; }
  .bento__screen-name:first-child { background: #fff; color: #4B2BC4; }
}
.bento__badge { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: .875rem; background: var(--soft-card); color: #3B82F6; font-size: 1.375rem; }
.bento__big { margin: auto 0 .5rem; color: var(--ar-heading-color); font-size: 2.75rem; font-weight: 800; line-height: 1.2; }
.bento__price { display: grid; grid-template-columns: 1fr auto; gap: 0 .5rem; padding: .625rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.bento__price span { color: rgba(255, 255, 255, .7); font-size: .8125rem; }
.bento__price strong { grid-column: 1; color: #fff; font-size: 1.125rem; }
.bento__price small { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.bento__card--prices .market-up { color: #4ADE80; background: rgba(34, 197, 94, .16); }
.bento__card--prices .market-down { color: #F87171; background: rgba(239, 68, 68, .16); }
.bento__card--prices .market-flat { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1); }
.bento__card--prices .bento__text { color: rgba(255, 255, 255, .7); }
.bento__more { margin-top: auto; padding-top: 1rem; color: #C2ADFF; font-size: .875rem; font-weight: 600; }
.bento__sample { position: absolute; top: 1rem; inset-inline-end: 1rem; padding: .125rem .625rem; border-radius: 999px; background: var(--soft-panel); color: var(--ar-secondary-color); font-size: .75rem; }
.goal-bars { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.goal-bars__label { display: flex; justify-content: space-between; margin-bottom: .375rem; font-size: .875rem; font-weight: 600; }
.goal-bars__label b { color: #6A38FF; }
.goal-bars__track { display: block; height: .5rem; overflow: hidden; border-radius: 1rem; background: var(--soft-panel); }
.goal-bars__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6A38FF, #A88BFF); }
@media (max-width: 991.98px) {
  .bento { grid-template-areas: 'app holdings' 'app stat' 'steps prices' 'goals goals'; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-areas: 'holdings' 'app' 'stat' 'prices' 'steps' 'goals'; grid-template-columns: 1fr; }
  .bento__card--app { min-height: 24rem; }
  .bento__card--goals { grid-template-columns: 1fr; }
}

/* Split rows: copy on one half, a grey panel with a drawing on the other. */

/* Why Daryno: a promise where a testimonial would be, facts where stats would be. */
.promise-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.75rem; background: var(--soft-panel); }
.promise-card__head { display: grid; grid-template-columns: 13rem 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--soft-line); }
.promise-card__who strong { display: block; margin-top: .875rem; font-size: .9375rem; }
.promise-card__who small { color: var(--ar-secondary-color); font-size: .8125rem; }
.promise-card__avatar { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 1rem; background: var(--soft-card); box-shadow: 0 .25rem .75rem rgba(13, 27, 82, .1); }
.promise-card__quote { margin: 0; color: var(--ar-heading-color); font-size: clamp(1.125rem, 2.2vw, 1.625rem); font-weight: 500; line-height: 1.9; }
.promise-card__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 2rem; }
.fact { display: flex; align-items: flex-start; gap: .875rem; padding: 1.125rem; border-radius: 1.25rem; background: var(--soft-card); }
.fact__icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #6A38FF; color: #fff; font-size: 1.25rem; }
.fact strong { display: block; margin-bottom: .25rem; font-size: 1rem; }
.fact small { display: block; color: var(--ar-secondary-color); font-size: .8125rem; line-height: 1.75; }
.holding-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin-top: 1rem; }
.holding-wall span { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.5rem .75rem; border-radius: 1rem; background: var(--soft-panel); color: var(--ar-secondary-color); font-size: 1rem; font-weight: 700; white-space: nowrap; }
.holding-wall i { font-size: 1.375rem; }
@media (max-width: 991.98px) { .promise-card__facts { grid-template-columns: 1fr 1fr; } .holding-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px) { .promise-card__head { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 575.98px) { .promise-card__facts { grid-template-columns: 1fr; } .holding-wall { grid-template-columns: 1fr 1fr; } }

/* Blog cards */
.soft-post { display: flex; flex-direction: column; gap: .625rem; padding: .5rem .5rem 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--soft-card); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.soft-post:hover { transform: translateY(-2px); box-shadow: 0 1rem 2rem -1.25rem rgba(13, 27, 82, .3); }
.soft-post__cover { border-radius: .875rem; }
.soft-post__meta { padding-inline: .5rem; color: var(--ar-secondary-color); font-size: .8125rem; }
.soft-post__title { display: -webkit-box; margin: 0; padding-inline: .5rem; overflow: hidden; font-size: 1.0625rem; font-weight: 700; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* The home page's chart section: what the chart page offers, and a drawing of it. */
.chart-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 2.5rem; padding: 2.5rem; border: 1px solid var(--soft-line); border-radius: 2rem; background: radial-gradient(70% 90% at 100% 0%, var(--sky-1), transparent 70%), var(--soft-card); }
.chart-hero__kicker { display: inline-flex; align-items: center; gap: .375rem; margin-bottom: .75rem; padding: .25rem .75rem; border-radius: 999px; background: rgba(106, 56, 255, .1); color: #6A38FF; font-size: .8125rem; font-weight: 800; }
[data-bs-theme='dark'] .chart-hero__kicker { color: #A88BFF; }
.chart-hero__title { margin-bottom: 1rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.45; }
.chart-hero__lead { margin-bottom: 1.25rem; color: var(--ar-secondary-color); line-height: 2; }
.chart-hero__points { display: grid; gap: .625rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.chart-hero__points li { display: flex; align-items: center; gap: .625rem; color: var(--ar-heading-color); font-weight: 600; }
.chart-hero__points i { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: .75rem; background: rgba(106, 56, 255, .1); color: #6A38FF; }
.chart-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.chart-hero__shot { position: relative; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--ar-body-bg); box-shadow: 0 2rem 3rem -2.5rem rgba(13, 27, 82, .45); }
.chart-hero__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid var(--soft-line); }
.chart-hero__symbol { color: var(--ar-secondary-color); font-size: .8125rem; }
.chart-hero__symbol b { margin-inline-end: .25rem; color: var(--ar-heading-color); }
.chart-hero__tfs { display: flex; gap: .125rem; margin-inline-end: 3.5rem; }
.chart-hero__tfs span { padding: .125rem .5rem; border-radius: .5rem; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }
.chart-hero__tfs span.is-on { background: rgba(106, 56, 255, .12); color: #6A38FF; }
.chart-hero__svg { display: block; width: 100%; height: auto; aspect-ratio: 420 / 220; }
.chart-hero__svg .is-up line, .chart-hero__svg .is-up rect { stroke: #16a34a; fill: #16a34a; }
.chart-hero__svg .is-down line, .chart-hero__svg .is-down rect { stroke: #dc2626; fill: #dc2626; }
.chart-hero__svg line { stroke-width: 1.2; }
.chart-hero__level { stroke-width: 1; stroke-dasharray: 4 4; }
.chart-hero__level--up { stroke: #16a34a; opacity: .6; }
.chart-hero__level--down { stroke: #dc2626; opacity: .6; }
.chart-hero__split { stroke: var(--soft-line); }
.chart-hero__rsi { fill: none; stroke: #6A38FF; stroke-width: 1.6; }
.chart-hero__tag { position: absolute; bottom: .5rem; inset-inline-start: .75rem; color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 700; }
.chart-hero__shot .bento__sample { top: .75rem; inset-inline-end: .75rem; }
@media (max-width: 991.98px) { .chart-hero { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 1.75rem; } }

/* ---- The landing page, about the market: its hero and the market right now. */
.sky-hero--market { position: relative; padding: 8.5rem 0 4rem; background: var(--soft-bg); }
.market-hero { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 60rem; margin: 0 auto; text-align: center; }
.sky-hero--market .sky-hero__title { margin-bottom: 1rem; }
.sky-hero--market .sky-hero__lead { max-width: 36rem; margin-bottom: 1.75rem; }
.market-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.market-hero__more { margin: 1.75rem 0 0; color: var(--ar-secondary-color); font-size: .875rem; }
.market-hero__more a { font-weight: 700; text-decoration: none; }
.hero-board { align-self: stretch; margin-top: 2.5rem; padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.5rem; background: var(--soft-card); box-shadow: 0 1rem 2.5rem -1.75rem rgba(13, 27, 82, .35); text-align: start; }
.hero-board__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; font-size: .875rem; }
.hero-board__head a { text-decoration: none; }
.hero-board__title { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: 1rem; font-weight: 800; }
.hero-board__live { width: .5rem; height: .5rem; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: board-live 2s ease-out infinite; }
@keyframes board-live { 70% { box-shadow: 0 0 0 .45rem rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero-board__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .625rem; margin: 0; padding: 0; list-style: none; }
.hero-board__item { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .875rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--soft-panel); color: inherit; text-decoration: none; transition: border-color .2s, transform .15s; }
.hero-board__item:hover { border-color: color-mix(in srgb, #6A38FF 45%, var(--soft-line)); transform: translateY(-2px); }
.hero-board__name { display: inline-flex; align-items: center; gap: .4rem; overflow: hidden; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.hero-board__name img { flex-shrink: 0; border-radius: 50%; }
.hero-board__price { color: var(--ar-heading-color); font-size: 1.0625rem; font-weight: 800; direction: ltr; text-align: end; }
.hero-board__foot { display: flex; align-items: center; justify-content: space-between; gap: .25rem; }
.hero-board__foot small { color: var(--ar-secondary-color); font-size: .75rem; }
.hero-board__foot .market-change { padding: .05rem .4rem; font-size: .75rem; }
@media (max-width: 991.98px) { .hero-board__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .sky-hero--market { padding-top: 7rem; } .hero-board { padding: 1rem; } .hero-board__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .hero-board__live { animation: none; } .hero-board__item:hover { transform: none; } }

/* What Daryno does: prices, signals, Chart Pro. */
.pillar-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--soft-line); border-radius: 1.5rem; background: var(--soft-card); color: inherit; text-decoration: none; transition: border-color .2s, transform .15s; }
.pillar-card:hover { border-color: color-mix(in srgb, #6A38FF 40%, var(--soft-line)); transform: translateY(-3px); }
.pillar-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; border-radius: 1rem; background: rgba(106, 56, 255, .1); color: #6A38FF; font-size: 1.5rem; }
.pillar-card--signals .pillar-card__icon { background: rgba(34, 197, 94, .12); color: #15803D; }
.pillar-card--chart .pillar-card__icon { background: rgba(247, 181, 0, .14); color: #B07F00; }
.pillar-card__title { margin-bottom: .5rem; font-size: 1.25rem; font-weight: 800; }
.pillar-card__text { flex: 1; margin-bottom: 1.25rem; color: var(--ar-secondary-color); font-size: .9375rem; line-height: 1.9; }
.pillar-card__go { color: #6A38FF; font-size: .9375rem; font-weight: 700; }
[data-bs-theme='dark'] .pillar-card__go { color: #A88BFF; }
@media (prefers-reduced-motion: reduce) { .pillar-card:hover { transform: none; } }

/* How a signal reads: entry, target, stop. */
.signal-explain { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 2rem; padding: 2.5rem; border: 1px solid var(--soft-line); border-radius: 2rem; background: radial-gradient(70% 90% at 0% 0%, rgba(34, 197, 94, .08), transparent 70%), var(--soft-card); }
.signal-explain__levels { display: flex; flex-direction: column; gap: .625rem; margin: 0; }
.signal-explain__levels div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .875rem 1.125rem; border: 1px solid var(--soft-line); border-inline-start: 4px solid #6A38FF; border-radius: 1rem; background: var(--soft-panel); }
.signal-explain__levels .is-up { border-inline-start-color: #22C55E; }
.signal-explain__levels .is-down { border-inline-start-color: #EF4444; }
.signal-explain__levels dt { font-weight: 800; }
.signal-explain__levels dd { margin: 0; color: var(--ar-secondary-color); font-size: .875rem; }
@media (max-width: 991.98px) { .signal-explain { grid-template-columns: minmax(0, 1fr); padding: 1.75rem; } }

/* Ask Dara Pro, lower on the landing page. */
.ask-panel { max-width: 42rem; }
@media (max-width: 575.98px) { .chart-hero { padding: 1.25rem; border-radius: 1.5rem; } .chart-hero__actions .btn { flex: 1; } }

/* The «all posts» link on the home page. */
.split-row__link { color: #6A38FF; font-weight: 600; text-decoration: none; }
.split-row__link:hover { color: #5527E0; }
[data-bs-theme='dark'] .split-row__link { color: #A88BFF; }

/* Footer: light, with the brand on one side and link columns on the other. */
.site-footer { border-top: 1px solid var(--soft-line); background: var(--soft-panel); color: var(--ar-body-color); }
.site-footer ul { padding-inline-start: 0; }
.site-footer__brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ar-heading-color); font-size: 2rem; font-weight: 900; text-decoration: none; }
.site-footer__mark { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: #0D1B52; }
.site-footer__mark img { filter: brightness(0) invert(1); }
.site-footer__tagline { max-width: 20rem; color: var(--ar-secondary-color); }
.site-footer__title { margin-bottom: .875rem; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 700; }
.site-footer__link { display: inline-block; padding: .3rem 0; color: var(--ar-secondary-color); font-size: .875rem; text-decoration: none; }
.site-footer__link:hover { color: var(--site-accent); }
.site-social { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--soft-line); border-radius: 50%; background: var(--soft-card); color: var(--ar-heading-color); text-decoration: none; }
.site-social:hover { color: #6A38FF; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--soft-line); color: var(--ar-secondary-color); font-size: .8125rem; }
.site-footer__bottom a { color: var(--ar-heading-color); font-weight: 600; text-decoration: none; }

/* ================================================================== */
/* Market board (/market): stats strip, reading cards, tabs, table.    */
/* ================================================================== */
[x-cloak] { display: none !important; }

.board-stats { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--soft-line); color: var(--ar-secondary-color); font-size: .8125rem; }
.board-stats b { color: #6A38FF; font-weight: 700; }
[data-bs-theme='dark'] .board-stats b { color: #A88BFF; }
.board-stats b.board-stats__up { color: #15803D; }
.board-stats b.board-stats__down { color: #DC2626; }
.board-stats span + span::before { content: '·'; margin-inline-end: 1.25rem; opacity: .5; }

.board-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.board-head__copy { flex: 1 1 26rem; max-width: 40rem; }
.board-head__title { margin-bottom: .5rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.board-head__lead { margin: 0; color: var(--ar-secondary-color); font-size: .9375rem; }
.board-reads { display: flex; align-items: center; gap: .75rem; }
.board-read { display: flex; align-items: center; gap: .75rem; width: 17rem; padding: .625rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--soft-card); color: inherit; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.board-read:hover { transform: translateY(-1px); box-shadow: 0 .75rem 1.5rem -1rem rgba(13, 27, 82, .3); }
.board-read__cover { flex-shrink: 0; width: 4.5rem; aspect-ratio: 1; border-radius: .75rem; }
.board-read__cover .post-frame__mark { font-size: .75rem; }
.board-read small { display: block; color: var(--ar-secondary-color); font-size: .75rem; }
.board-read strong { display: -webkit-box; overflow: hidden; color: var(--ar-heading-color); font-size: .875rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.board-reads__more { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft-panel); color: var(--ar-secondary-color); text-decoration: none; }
.board-reads__more:hover { color: #6A38FF; }
@media (max-width: 991.98px) { .board-reads { width: 100%; overflow-x: auto; scrollbar-width: none; } .board-reads__more { display: none; } }

.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: .875rem; margin-bottom: .25rem; }
.board-bar__start { display: flex; align-items: center; gap: .75rem; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.board-bar__sep { width: 1px; height: 1.25rem; background: var(--soft-line); }
.board-watch { display: inline-flex; flex-shrink: 0; align-items: center; gap: .375rem; padding: .375rem .75rem; border: 0; border-radius: .625rem; background: var(--soft-panel); color: var(--ar-heading-color); font: inherit; font-size: .875rem; font-weight: 600; }
.board-watch.is-on { background: rgba(247, 181, 0, .18); }
.board-watch.is-on i { color: #F7B500; }
.board-tabs { display: flex; gap: .25rem; }
.board-tabs a { flex-shrink: 0; padding: .375rem .75rem; border-radius: .625rem; color: var(--ar-secondary-color); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.board-tabs a:hover { color: var(--ar-heading-color); }
.board-tabs a.is-on { background: rgba(106, 56, 255, .1); color: #6A38FF; }
[data-bs-theme='dark'] .board-tabs a.is-on { color: #A88BFF; }
.board-search { position: relative; flex: 0 1 17rem; }
.board-search i { position: absolute; top: 50%; inset-inline-start: .875rem; color: var(--ar-secondary-color); transform: translateY(-50%); pointer-events: none; }
.board-search .form-control { height: 2.375rem; padding-inline-start: 2.5rem; border-color: var(--soft-line); border-radius: .75rem; background: var(--soft-panel); font-size: .875rem; }
@media (max-width: 767.98px) { .board-search { flex-basis: 100%; } }

.board-table-wrap { border-top: 1px solid var(--soft-line); }
.board-table { --ar-table-bg: transparent; }
/* Columns drop away on small screens, so the rest fits without a sideways scroll. */
@media (max-width: 575.98px) { .board-table th, .board-table td { padding: .875rem .375rem !important; } .board-icon { width: 2rem; height: 2rem; } .board-name { gap: .5rem; } }
.board-table th, .board-table td { padding: 1rem .75rem; border-color: var(--soft-line); vertical-align: middle; white-space: nowrap; }
.board-table thead th { padding-block: .875rem; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; }
.board-table tbody tr:not(.board-group):not(.board-note):hover > * { background: var(--soft-panel); }
.board-chip { display: inline-block; margin-inline-start: .25rem; padding: .0625rem .375rem; border-radius: .375rem; background: var(--soft-panel); color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 600; }
.board-col-star { width: 2.25rem; padding-inline-end: 0 !important; }
.board-col-rank { width: 2.5rem; color: var(--ar-secondary-color); font-size: .8125rem; }
.board-star { display: inline-flex; padding: .25rem; border: 0; background: none; color: var(--ar-secondary-color); font-size: 1.0625rem; opacity: .55; transition: color .15s, opacity .15s; }
.board-star:hover { opacity: 1; }
.board-star.is-on { color: #F7B500; opacity: 1; }
/* The icon font's filled star (.ai-star-filled). */
.board-star.is-on i::before, .board-watch.is-on i::before { content: '\f21b'; }
.board-group th { padding-top: 1.75rem; padding-bottom: .5rem; border-bottom: 0; color: var(--ar-heading-color); font-size: 1rem; font-weight: 800; }
.board-group small { margin-inline-start: .5rem; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 400; }
.board-name { display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; }
.board-name strong { display: block; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 700; }
.board-name small { display: block; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 400; }
.board-name:hover strong { color: var(--site-accent); }
.board-icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; font-size: 1.0625rem; }
.board-icon--currency { background: rgba(59, 130, 246, .12); color: #3B82F6; }
.board-icon--gold { background: rgba(247, 181, 0, .16); color: #C08A00; }
.board-icon--coin { background: rgba(249, 115, 22, .14); color: #EA580C; }
.board-icon--metal { background: rgba(107, 114, 128, .14); color: #6B7280; }
.board-kind { display: inline-block; min-width: 4.5rem; padding: .25rem .625rem; border-radius: .5rem; font-size: .75rem; font-weight: 700; text-align: center; }
.board-kind--market { background: rgba(34, 197, 94, .14); color: #15803D; }
.board-kind--computed { background: rgba(247, 181, 0, .18); color: #8A6500; }
.board-kind--stale { background: rgba(249, 115, 22, .14); color: #C2410C; }
[data-bs-theme='dark'] .board-kind--market { color: #4ADE80; }
[data-bs-theme='dark'] .board-kind--computed { color: #F7B500; }
[data-bs-theme='dark'] .board-kind--stale { color: #FB923C; }
.board-price { display: block; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 700; }
.board-price small { color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 400; }
.board-change { display: inline-block; font-size: .75rem; font-weight: 700; }
.board-change--up { color: #15803D; }
.board-change--up::before { content: '▲ '; font-size: .625rem; }
.board-change--down { color: #DC2626; }
.board-change--down::before { content: '▼ '; font-size: .625rem; }
.board-change--flat { color: var(--ar-secondary-color); }
[data-bs-theme='dark'] .board-change--up { color: #4ADE80; }
[data-bs-theme='dark'] .board-change--down { color: #F87171; }
.board-spark { display: inline-block; width: 7.5rem; height: 2.25rem; overflow: visible; }
.board-spark__line { fill: none; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.board-spark--up .board-spark__line { stroke: #22C55E; }
.board-spark--up .board-spark__area { fill: rgba(34, 197, 94, .12); }
.board-spark--down .board-spark__line { stroke: #EF4444; }
.board-spark--down .board-spark__area { fill: rgba(239, 68, 68, .1); }
.board-spark--flat .board-spark__line { stroke: #94A3B8; }
.board-spark--flat .board-spark__area { fill: rgba(148, 163, 184, .12); }
.board-note td { padding-top: .5rem; color: var(--ar-secondary-color); font-size: .8125rem; white-space: normal; }
.board-note i { margin-inline-end: .25rem; color: #F7B500; }
.board-empty { padding: 2.5rem 1rem; border-radius: 1.25rem; background: var(--soft-panel); color: var(--ar-secondary-color); text-align: center; }
.board-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1rem; color: var(--ar-secondary-color); font-size: .8125rem; }
.board-foot a { color: #6A38FF; font-weight: 600; text-decoration: none; }
.board-tip { padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--soft-card); }
.board-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; background: radial-gradient(circle at 10% 120%, rgba(106, 56, 255, .14), transparent 60%), var(--soft-panel); }

/* Related news and articles, on price and platform pages. */
.related-read { display: flex; flex-direction: column; gap: .5rem; padding: .5rem .5rem 1rem; border: 1px solid var(--soft-line, var(--ar-border-color)); border-radius: 1.125rem; background: var(--soft-card, var(--ar-body-bg)); color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.related-read:hover { transform: translateY(-2px); box-shadow: 0 1rem 2rem -1.25rem rgba(13, 27, 82, .3); }
.related-read__cover { border-radius: .75rem; }
.related-read__meta { display: flex; align-items: center; gap: .5rem; padding-inline: .375rem; color: var(--ar-secondary-color); font-size: .75rem; }
.related-read__kind { padding: .0625rem .5rem; border-radius: .375rem; font-weight: 700; }
.related-read__kind--news { background: rgba(59, 130, 246, .12); color: #2563EB; }
.related-read__kind--article { background: rgba(106, 56, 255, .1); color: #6A38FF; }
.related-read__title { display: -webkit-box; margin: 0; padding-inline: .375rem; overflow: hidden; font-size: .9375rem; font-weight: 700; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* "About": the prices and platforms a post is linked to. */
.post-about { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.post-about__label { color: var(--ar-secondary-color); font-size: .8125rem; }
.post-about__chip { display: inline-flex; align-items: center; gap: .25rem; padding: .1875rem .625rem; border: 1px solid var(--ar-border-color); border-radius: 999px; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.post-about__chip:hover { border-color: #6A38FF; color: #6A38FF; }
.post-about__chip i { color: #6A38FF; }

/* ================================================================== */
/* Services (/services), after the template's services-v3.             */
/* ================================================================== */
.services-hero { position: relative; overflow: hidden; padding-top: 4rem; background: radial-gradient(60% 80% at 85% 0%, rgba(106, 56, 255, .55), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(247, 181, 0, .14), transparent 70%), #0D1B52; color: #fff; }
.services-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); pointer-events: none; }
.services-hero__title { padding: clamp(3rem, 9vw, 9rem) 0 clamp(2.5rem, 9vw, 10rem); }
.services-hero__lead { max-width: 30rem; color: rgba(255, 255, 255, .78); }
.services-hero__icon { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: .875rem; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.5rem; }

.services-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 2.5rem; border-radius: 1.75rem; background: linear-gradient(160deg, var(--ar-secondary), var(--site-accent-soft)); }
.services-art .iso-art { max-width: 24rem; max-height: 100%; }
.services-item__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: var(--ar-secondary); color: #6A38FF; font-size: 1.375rem; }
[data-bs-theme='dark'] .services-item__icon { color: #A88BFF; }

/* Tools carousel: flip cards, which also turn over for keyboard focus. */
.services-tool { width: 16rem; }
/* White on the pale page: the theme's grey would all but vanish against it. */
.services-tool .card-flip { min-height: 15rem; border: 1px solid var(--soft-line, var(--ar-border-color)) !important; background-color: var(--soft-card, var(--ar-body-bg)) !important; }
.services-tool .card-flip-inner, .services-tool .card-flip-front, .services-tool .card-flip-back, .services-tool .card-body { display: flex; }
.services-tool .card-flip-front, .services-tool .card-flip-back { display: block; }
.services-tool .card-flip:focus-visible { outline: 2px solid #6A38FF; outline-offset: 3px; }
.services-tool .card-flip:focus-visible .card-flip-inner { transform: rotateY(180deg); }
.services-tool__icon { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; border-radius: 1.25rem; background: var(--ar-body-bg); color: #6A38FF; font-size: 2.25rem; box-shadow: 0 .5rem 1.25rem -.5rem rgba(13, 27, 82, .25); }
.services-tool__go { color: #6A38FF; font-size: .875rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .services-tool .card-flip-inner { transition: none; } }

/* ================================================================== */
/* About (/about), after the template's about-product.                 */
/* ================================================================== */
.about-hero { position: relative; overflow: hidden; padding-bottom: 3rem; background: radial-gradient(50% 45% at 50% 70%, var(--site-accent-soft), transparent 75%); }
.about-hero__title { margin-bottom: 1.25rem; font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; line-height: 1.35; }
.about-hero__lead { max-width: 40rem; margin: 0 auto; color: var(--ar-secondary-color); font-size: 1.125rem; }
.about-hero__scene { position: relative; max-width: 40rem; height: 30rem; margin-top: 2.5rem; }
/* parallax-js positions the layers itself; each fills the scene and places its child absolutely. */
.about-hero__scene .parallax-layer { width: 100%; height: 100%; }
.about-hero__glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(106, 56, 255, .28), transparent 65%); }
.about-hero__phone { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 13.5rem; padding: .375rem; border-radius: 2rem; background: #0D1B52; box-shadow: 0 2rem 4rem -1rem rgba(13, 27, 82, .45); }
.about-hero__phone img { display: block; width: 100%; height: auto; border-radius: 1.65rem; }
.about-chip { position: absolute; display: inline-flex; align-items: center; gap: .625rem; padding: .625rem .875rem; border: 1px solid var(--ar-border-color); border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 1rem 2rem -1rem rgba(13, 27, 82, .3); white-space: nowrap; }
.about-chip i { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: .625rem; background: rgba(106, 56, 255, .12); color: #6A38FF; font-size: 1.125rem; }
.about-chip small { display: block; color: var(--ar-secondary-color); font-size: .75rem; }
.about-chip b { color: var(--ar-heading-color); font-size: 1rem; }
.about-chip--worth { top: 18%; left: 2%; }
.about-chip--goal { right: 2%; bottom: 16%; }
.about-chip--goal i { background: rgba(247, 181, 0, .18); color: #C08A00; }
@media (max-width: 575.98px) { .about-hero__scene { height: 24rem; } .about-hero__phone { width: 10.5rem; } .about-chip--worth { left: 0; } .about-chip--goal { right: 0; } }

.about-step-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; padding: 2.5rem; border-radius: 1.75rem; background: linear-gradient(160deg, var(--ar-secondary), var(--site-accent-soft)); }
.about-step-art .iso-art { max-width: 22rem; max-height: 100%; }
/* The template's dashed arrow, mirrored for right-to-left reading. */
.about-arrow { color: #6A38FF; }
.about-arrow svg { margin: -140px 150px -108px 0; transform: scaleX(-1); }
.about-arrow--flip svg { margin: -140px 0 -108px 150px; transform: none; }

.about-mission { position: relative; overflow: hidden; background: radial-gradient(60% 80% at 15% 50%, rgba(106, 56, 255, .45), transparent 70%), #0D1B52; color: #fff; }
.about-mission__art { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 4; padding: 2rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 1.75rem; background: rgba(255, 255, 255, .04); }
.about-mission__art .iso-art { max-width: 24rem; }
.about-mission__text { color: rgba(255, 255, 255, .78); }

/* Benefits: flip on hover, and on keyboard focus too. */
.about-benefit { min-height: 19rem; border: 0; outline-offset: 4px; }
.about-benefit:focus-visible .card-flip-inner { transform: rotateY(180deg); }
.about-benefit__front { border: 1px solid var(--ar-border-color); background: var(--ar-body-bg); }
.about-benefit__back { background: linear-gradient(160deg, #6A38FF, #4B22D6); color: #fff; }
.about-benefit__back .card-text { color: rgba(255, 255, 255, .8); }
.about-benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: rgba(106, 56, 255, .1); color: #6A38FF; font-size: 1.75rem; }
.about-benefit__figure { margin-bottom: .75rem; font-size: 1.75rem; font-weight: 800; }

/* Holdings orbiting the logo; two rings turning in opposite directions. */
.about-orbit { position: relative; max-width: 30rem; aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.about-orbit__ring { position: absolute; border: 2px dashed rgba(106, 56, 255, .25); border-radius: 50%; }
.about-orbit__ring--outer { inset: 6%; animation: about-spin 100s linear infinite; }
.about-orbit__ring--inner { inset: 26%; border-style: solid; border-color: rgba(106, 56, 255, .12); animation: about-spin 50s linear infinite reverse; }
.about-orbit__core { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 7rem; height: 7rem; border-radius: 2rem; background: linear-gradient(145deg, #B39DFF, #6A38FF 60%, #4B22D6); box-shadow: 0 1.5rem 3rem -1rem rgba(106, 56, 255, .6); transform: translate(-50%, -50%); }
.about-orbit__core img { filter: brightness(0) invert(1); }
.about-orbit__item { position: absolute; top: 50%; left: 50%; width: 0; height: 0; }
.about-orbit__item > span { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 6.5rem; padding: .625rem .25rem; border: 1px solid var(--ar-border-color); border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 .75rem 1.5rem -1rem rgba(13, 27, 82, .35); transform: translate(-50%, -50%); }
.about-orbit__item i { color: #6A38FF; font-size: 1.375rem; }
.about-orbit__item small { color: var(--ar-heading-color); font-size: .75rem; font-weight: 700; white-space: nowrap; }
/* Each item sits on a circle of radius --r, kept upright. */
.about-orbit { --r: 13rem; --r: 44cqw; }
.about-orbit__item { transform: rotate(calc(360deg / var(--n) * var(--i))) translate(var(--r)) rotate(calc(-360deg / var(--n) * var(--i))); }
@media (max-width: 575.98px) { .about-orbit__item > span { width: 5.25rem; } .about-orbit__core { width: 5rem; height: 5rem; } }
@keyframes about-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .about-orbit__ring { animation: none; } }

.about-cta { margin-top: 2rem; border-radius: 5rem 5rem 0 0; background: radial-gradient(60% 80% at 50% 0%, rgba(168, 139, 255, .45), transparent 70%), linear-gradient(160deg, #6A38FF, #0D1B52); color: #fff; }
@media (max-width: 767.98px) { .about-cta { border-radius: 2rem 2rem 0 0; } }

/* ================================================================== */
/* Assistant window (livewire:assistant-chat), after the app's         */
/* assistant: an orb of colour, a big question, a prompt card on a     */
/* faint rainbow glow, and soft cards for where to start.              */
[x-cloak] { display: none !important; }
html.asst-open { overflow: hidden; }

.asst-modal {
  --asst-ink: #0d1b52;
  --asst-text: #1f2937;
  --asst-dim: #5d6170;
  --asst-faint: #8e93a3;
  --asst-line: #e7e7ee;
  --asst-soft: #f4f4f8;
  --asst-purple: #6a38ff;
  position: fixed; inset: 0; z-index: 1090; display: flex; flex-direction: column; overflow: hidden;
  color: var(--asst-text);
}
/* The window fills the screen on every device. */
.asst-panel { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden; background: #fbfbfd; }
.asst-modal--enter { transition: opacity .35s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1); }
.asst-modal--leave { transition: opacity .2s ease, transform .2s ease; }
.asst-modal--from { opacity: 0; transform: translateY(12px) scale(.985); }
.asst-modal--to { opacity: 1; transform: none; }

/* A breath of the brand behind the top: purple and a touch of gold. */
.asst-glow { position: absolute; top: -30vh; left: 50%; width: 130vw; height: 70vh; transform: translateX(-50%); background: radial-gradient(closest-side at 40% 50%, rgba(106, 56, 255, .12), transparent 70%), radial-gradient(closest-side at 65% 45%, rgba(247, 181, 0, .09), transparent 70%); pointer-events: none; animation: asst-breath 9s ease-in-out infinite; }
@keyframes asst-breath { 0%, 100% { opacity: .75; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }

/* ---- The orb: a sphere of shifting colour with a window of light. */
.asst-orb { position: relative; display: inline-block; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #f3efff 45%, #e3dbff 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -6px 14px rgba(106, 56, 255, .18), 0 10px 30px -10px rgba(106, 56, 255, .55), 0 0 40px -6px rgba(247, 181, 0, .25); }
.asst-orb i { position: absolute; inset: -20%; background: conic-gradient(from 0deg, #6a38ff, #a78bfa, #7dd3fc, #86efac, #f7b500, #f9a8d4, #6a38ff); filter: blur(8px) saturate(1.2); opacity: .75; mix-blend-mode: multiply; animation: asst-turn 9s linear infinite; }
.asst-orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .35) 16%, transparent 32%), radial-gradient(circle, transparent 52%, rgba(255, 255, 255, .55) 72%, rgba(255, 255, 255, .9) 100%); }
.asst-orb--sm { width: 28px; height: 28px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 4px 12px -4px rgba(106, 56, 255, .5); }
.asst-orb--sm i { filter: blur(4px); }
.asst-orb--lg { width: 84px; height: 84px; margin-bottom: 18px; }
.asst-orb--avatar { width: 30px; height: 30px; margin-top: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 4px 12px -4px rgba(106, 56, 255, .5); }
.asst-orb--avatar i { filter: blur(4px); }
.asst-orb--busy i { animation-duration: 1.6s; opacity: .9; }
.asst-orb--busy { animation: asst-breathe 1.6s ease-in-out infinite; }
@keyframes asst-turn { to { transform: rotate(360deg); } }
@keyframes asst-breathe { 50% { transform: scale(1.08); } }

/* ---- Top bar. */
.asst-top { position: relative; display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
.asst-brand { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; }
.asst-title { margin: 0; color: var(--asst-ink); font-size: 1rem; font-weight: 800; }
.asst-quota { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; padding: .3rem .8rem; border: 1px solid rgba(247, 181, 0, .35); border-radius: 50rem; background: rgba(247, 181, 0, .1); color: #946c00; font-size: .78rem; font-weight: 700; }
.asst-icon-btn { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--asst-dim); font-size: 1.05rem; transition: background .15s, color .15s; }
.asst-icon-btn:hover { background: var(--asst-soft); color: var(--asst-ink); }

/* ---- One centred column. Empty, the whole column scrolls; talking, the log scrolls and the prompt docks below. */
.asst-shell { position: relative; display: flex; flex: 1; flex-direction: column; min-height: 0; }
.asst-log { flex: 1; overflow-y: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: #d4d4d8 transparent; }
.asst-thread, .asst-dock { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 16px; }
.asst-thread { padding-top: 12px; padding-bottom: 24px; }
.asst-dock { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.asst-shell--empty { overflow-y: auto; scrollbar-width: thin; }
.asst-shell--empty .asst-log { flex: 0 0 auto; overflow: visible; }
.asst-shell--empty .asst-thread { padding-top: clamp(8px, 4vh, 40px); padding-bottom: 8px; }

.asst-hello { display: flex; flex-direction: column; align-items: center; padding: 0 0 18px; text-align: center; animation: asst-rise .5s .05s both; }
.asst-hello h3 { margin: 0 0 8px; color: var(--asst-ink); font-size: clamp(1.45rem, 3.6vw, 2rem); font-weight: 800; line-height: 1.6; }
.asst-hello p { max-width: 34rem; margin: 0; color: var(--asst-dim); font-size: .95rem; line-height: 1.9; }

/* ---- Messages: mine in brand purple, the assistant's as a white card beside the orb. */
.asst-msg { display: flex; gap: 12px; margin-bottom: 22px; animation: asst-rise .35s both; }
@keyframes asst-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.asst-msg p { margin: 0; }
.asst-msg--me { justify-content: flex-start; }
.asst-msg--me p { max-width: 75%; padding: .65rem 1.1rem; border-radius: 1.4rem 1.4rem .4rem 1.4rem; background: var(--asst-purple); color: #fff; line-height: 1.9; white-space: pre-wrap; }
.asst-msg--ai { align-items: flex-start; }
.asst-answer { flex: 1; min-width: 0; padding: .8rem 1.1rem; border: 1px solid var(--asst-line); border-radius: 1.4rem 1.4rem 1.4rem .4rem; background: #fff; color: var(--asst-text); font-size: .98rem; line-height: 2.05; box-shadow: 0 1px 2px rgba(13, 27, 82, .04); }
.asst-answer p { margin: 0 0 .75rem; } .asst-answer p:last-child { margin-bottom: 0; }
.asst-answer ul { margin: .25rem 0 .75rem; padding-inline-start: 1.25rem; }
.asst-answer li { margin-bottom: .2rem; }
.asst-thinking { display: flex; align-items: center; min-height: 44px; }
.asst-shimmer { font-size: .92rem; background: linear-gradient(90deg, #a1a1aa, #18181b, #a1a1aa); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: asst-sheen 1.8s linear infinite; }
@keyframes asst-sheen { to { background-position: -200% center; } }

.asst-error { margin: 0 0 20px; padding: .7rem 1rem; border-radius: 1rem; background: #fef2f2; color: #b91c1c; font-size: .9rem; animation: asst-rise .3s both; }

.asst-limit { display: flex; gap: 14px; padding: 1.25rem; border: 1px solid var(--asst-line); border-radius: 1.25rem; background: radial-gradient(circle at 0 0, rgba(247, 181, 0, .14), transparent 55%), #fff; box-shadow: 0 8px 30px -16px rgba(13, 27, 82, .3); animation: asst-rise .45s both; }
.asst-limit__icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #0d1b52; color: #f7b500; font-size: 1.15rem; }
.asst-limit h3 { margin: 0 0 6px; color: var(--asst-ink); font-size: 1.05rem; font-weight: 800; }
.asst-limit p { margin: 0 0 14px; color: var(--asst-dim); font-size: .9rem; line-height: 1.9; }
.asst-limit__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.asst-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.2rem; border-radius: 50rem; background: var(--asst-purple); color: #fff; font-size: .92rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px -10px rgba(106, 56, 255, .8); transition: opacity .15s; }
.asst-cta:hover { color: #fff; opacity: .9; }
.asst-cta--ghost { border: 1px solid var(--asst-line); background: #fff; color: var(--asst-ink); box-shadow: none; }
.asst-cta--ghost:hover { color: var(--asst-purple); }

/* ---- The prompt: a white card on a faint rainbow glow, topics at its foot. */
.asst-compose { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 10px 10px 8px; border: 1px solid var(--asst-line); border-radius: 1.5rem; background: #fff; box-shadow: 0 2px 6px rgba(13, 27, 82, .04), 0 14px 36px -20px rgba(13, 27, 82, .35); transition: border-color .2s, box-shadow .2s; }
.asst-dock { position: relative; isolation: isolate; }
.asst-shell--empty .asst-dock::before { content: ''; position: absolute; top: 40px; right: 8%; left: 8%; height: 110px; z-index: -1; border-radius: 40px; background: linear-gradient(90deg, rgba(106, 56, 255, .22), rgba(125, 211, 252, .22), rgba(134, 239, 172, .2), rgba(247, 181, 0, .22), rgba(249, 168, 212, .22)); filter: blur(28px); }
.asst-compose:focus-within { border-color: rgba(106, 56, 255, .45); box-shadow: 0 0 0 4px rgba(106, 56, 255, .1), 0 14px 36px -20px rgba(13, 27, 82, .35); }
.asst-compose textarea { width: 100%; max-height: 12rem; min-height: 28px; padding: 6px 8px 2px; border: 0; background: transparent; color: var(--asst-text); font: inherit; font-size: 1rem; line-height: 1.75; resize: none; field-sizing: content; }
.asst-compose textarea::placeholder { color: var(--asst-faint); }
.asst-compose textarea:focus { outline: none; }
.asst-compose__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 6px; }
.asst-topics { display: flex; gap: 4px; padding: 3px; overflow-x: auto; border-radius: 12px; background: var(--asst-soft); scrollbar-width: none; }
.asst-topic { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: var(--asst-dim); font: inherit; font-size: .8rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.asst-topic--on { background: #fff; color: var(--asst-purple); box-shadow: 0 1px 3px rgba(13, 27, 82, .12); }
.asst-send { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--asst-purple); color: #fff; font-size: 1rem; transition: transform .15s, opacity .15s; }
.asst-send:hover:not(:disabled) { transform: scale(1.06); }
.asst-send:disabled { opacity: .35; }
/* Sent: the box looks empty at once while the answer comes. */
.asst-compose textarea:disabled { color: transparent; }
/* Talking: the topics fold to their icons. */
.asst-shell:not(.asst-shell--empty) .asst-topic span { display: none; }
.asst-shell:not(.asst-shell--empty) .asst-topic { padding: 0 8px; }

/* ---- Below the prompt, before the first question. */
.asst-more { padding-bottom: 8px; }
.asst-label { margin: 26px 2px 10px; color: var(--asst-faint); font-size: .78rem; font-weight: 700; }
.asst-starts { display: grid; gap: 8px; }
@media (min-width: 768px) { .asst-starts { grid-template-columns: repeat(3, 1fr); } }
.asst-start { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--asst-line); border-radius: 16px; background: #fff; color: var(--asst-text); font: inherit; font-size: .9rem; line-height: 1.8; text-align: start; transition: border-color .15s, transform .15s; animation: asst-rise .4s both; }
.asst-start i { margin-top: 4px; color: var(--asst-faint); }
.asst-start:hover { border-color: rgba(106, 56, 255, .35); }
.asst-start:active { transform: scale(.98); }

/* The free questions, like a plan card. */
.asst-plan { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px 18px; overflow: hidden; border: 1px solid var(--asst-line); border-radius: 18px; background: radial-gradient(circle at 0 0, rgba(247, 181, 0, .16), transparent 55%), radial-gradient(circle at 100% 100%, rgba(106, 56, 255, .12), transparent 55%), #fff; }
.asst-plan__mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #0d1b52; color: #f7b500; }
.asst-plan__copy { display: flex; flex-direction: column; min-width: 0; }
.asst-plan__copy strong { color: var(--asst-ink); font-size: .98rem; font-weight: 800; }
.asst-plan__copy small { color: var(--asst-dim); font-size: .8rem; }
.asst-plan__go { padding: .5rem 1rem; border-radius: 12px; background: linear-gradient(180deg, #2b3a7a 0%, #0d1b52 100%); color: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.asst-plan__go:hover { color: #fff; opacity: .92; }
.asst-plan__bar { position: absolute; right: 16px; bottom: 8px; left: 16px; height: 3px; border-radius: 3px; background: var(--asst-soft); overflow: hidden; }
.asst-plan__bar span { display: block; height: 100%; margin-inline-start: auto; background: linear-gradient(90deg, #6a38ff, #f7b500); }

/* What it helps with: soft tinted cards. */
.asst-areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .asst-areas { grid-template-columns: repeat(4, 1fr); } }
.asst-area { --c: #6a38ff; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 172px; padding: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 18%, var(--asst-line)); border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 70%); color: var(--asst-text); font: inherit; text-align: start; transition: transform .15s, box-shadow .15s; }
.asst-area:hover { box-shadow: 0 14px 30px -20px color-mix(in srgb, var(--c) 70%, transparent); transform: translateY(-2px); }
.asst-area--gold { --c: #f7b500; }
.asst-area--blue { --c: #3b82f6; }
.asst-area--green { --c: #22c55e; }
.asst-area__icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 10px; background: color-mix(in srgb, var(--c) 16%, transparent); color: color-mix(in srgb, var(--c) 80%, #000); }
.asst-area strong { color: var(--asst-ink); font-size: .9rem; font-weight: 800; line-height: 1.5; }
.asst-area small { color: var(--asst-dim); font-size: .75rem; }
.asst-area__go { display: inline-flex; align-items: center; gap: 2px; margin-top: auto; padding-top: 8px; color: color-mix(in srgb, var(--c) 85%, #000); font-size: .78rem; font-weight: 700; }
.asst-ticks { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 8px; padding: 6px 8px; border: 1px solid var(--asst-line); border-radius: 12px; background: #fff; }
.asst-tick { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 6px; font-size: .72rem; }
.asst-tick span { color: var(--asst-dim); }
.asst-tick b { color: var(--asst-ink); font-weight: 700; text-align: end; }
.asst-tick i { font-style: normal; font-weight: 700; color: var(--asst-faint); }
.asst-tick i.up { color: #16a34a; }
.asst-tick i.down { color: #dc2626; }
.asst-sketch { display: flex; align-items: flex-end; gap: 4px; width: 100%; height: 34px; margin-top: 10px; }
.asst-sketch i { flex: 1; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--c) 28%, transparent); }
.asst-sketch i:nth-child(1) { height: 40%; } .asst-sketch i:nth-child(2) { height: 70%; }
.asst-sketch i:nth-child(3) { height: 55%; background: color-mix(in srgb, var(--c) 60%, transparent); } .asst-sketch i:nth-child(4) { height: 90%; }

.asst-note { margin: 12px 0 0; color: var(--asst-faint); font-size: .72rem; text-align: center; }

@media (max-width: 575.98px) {
  .asst-msg--me p { max-width: 88%; }
  .asst-plan { grid-template-columns: auto 1fr; }
  .asst-plan__go { grid-column: 1 / -1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .asst-modal *, .asst-modal *::before, .asst-modal *::after { animation: none !important; transition: none !important; }
  .asst-modal--enter, .asst-modal--leave { transition: opacity .2s !important; }
  .asst-modal--from { transform: none; }
}

/* Magazine (/magazine): picks, newest, most read, and every category. */
.mag-masthead { max-width: 52rem; }
.mag-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mag-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1rem; border: 1px solid var(--ar-border-color); border-radius: 50rem; color: var(--ar-heading-color); font-size: .875rem; text-decoration: none; transition: border-color .2s, color .2s; }
.mag-chip:hover { border-color: var(--site-accent); color: var(--site-accent); }
.mag-chip--strong { border-color: transparent; background: var(--site-accent-soft); font-weight: 700; }
.mag-chip__count { padding: 0 .45rem; border-radius: 50rem; background: var(--site-accent); color: #fff; font-size: .75rem; line-height: 1.5; }

.mag-title { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.mag-title > i { color: var(--site-accent); }
.mag-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.mag-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--site-accent); font-size: .875rem; font-weight: 700; text-decoration: none; }
.mag-count { margin-inline-start: .5rem; color: var(--ar-secondary-color); font-size: .875rem; font-weight: 400; }
.mag-topic-text { max-width: 44rem; margin-top: -.75rem; }
.mag-kind { display: inline-block; padding: .1rem .6rem; border-radius: 50rem; background: var(--site-accent-soft); color: var(--site-accent); font-size: .75rem; font-weight: 700; }

.mag-lead__body { padding-top: 1.5rem; }
@media (min-width: 992px) {
  .mag-lead--wide { display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 2.5rem; }
  .mag-lead--wide .mag-lead__body { padding-top: 0; }
}
.mag-stack { display: flex; flex-direction: column; gap: 1.25rem; height: 100%; }
.mag-row { display: flex; align-items: center; gap: 1rem; }
.mag-row__thumb { flex: 0 0 9rem; }
.mag-row__thumb .post-frame { aspect-ratio: 4 / 3; border-radius: 1rem; }
.mag-row__thumb .post-frame__mark { font-size: .8rem; }
.mag-row__body { min-width: 0; }

/* The middle band: a soft tint so the lists read as one block. */
.mag-band { background: var(--site-accent-soft); }
.mag-panel { padding: 1.5rem; border-radius: 1.5rem; background: var(--ar-body-bg); }
.mag-news { margin: 0; padding: 0; list-style: none; }
.mag-news li { display: flex; flex-direction: column; gap: .15rem; padding: .75rem 0; border-top: 1px solid var(--ar-border-color); }
.mag-news li:first-child { padding-top: 0; border-top: 0; }
.mag-news time { color: var(--ar-secondary-color); font-size: .75rem; }
.mag-news a { font-weight: 600; }
.mag-popular { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mag-popular li { display: flex; align-items: flex-start; gap: 1rem; padding: .75rem 0; }
.mag-popular li + li { border-top: 1px solid var(--ar-border-color); }
.mag-popular__rank { flex: 0 0 2rem; color: var(--site-accent); font-size: 1.75rem; font-weight: 800; line-height: 1; text-align: center; opacity: .85; }
.mag-popular li > span:last-child { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.mag-popular a { font-weight: 600; }
.mag-popular small { color: var(--ar-secondary-color); font-size: .75rem; }
@media (max-width: 575.98px) { .mag-row__thumb { flex-basis: 6.5rem; } }

/* Editor sign-in and approval for the ChatGPT connector: one small card. */
.editor-auth { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 16px; background: var(--ar-secondary-bg, #f4f4f6); }
.editor-card { width: 100%; max-width: 26rem; padding: 2rem; border-radius: 1.5rem; background: var(--ar-body-bg, #fff); box-shadow: 0 12px 40px -20px rgba(13, 27, 82, .35); }
.editor-brand { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; color: var(--ar-heading-color); font-weight: 800; text-decoration: none; }

/* Contact: a startup with a person on the other end. Four ways to reach us as
   tinted cards, each in its app's colour, then a note for the email app. */
.contact-head { max-width: 46rem; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem; padding: .3rem .9rem; border: 1px solid rgba(106, 56, 255, .2); border-radius: 50rem; background: rgba(106, 56, 255, .06); color: #4b2bc4; font-size: .85rem; font-weight: 700; }
[data-bs-theme='dark'] .contact-eyebrow { color: #c4b1ff; }
.contact-lead { color: var(--ar-secondary-color); font-size: 1.1rem; line-height: 2.05; text-wrap: pretty; }
.contact-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1rem; margin: 2.25rem 0 3rem; }
.contact-way { --c: #6A38FF; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; border: 1px solid color-mix(in srgb, var(--c) 20%, var(--soft-line, #e5e7eb)); border-radius: 1.5rem; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 8%, var(--soft-card, #fff)) 0%, var(--soft-card, #fff) 75%); color: var(--ar-heading-color); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-way:hover { color: var(--ar-heading-color); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 1rem 2rem -1.25rem color-mix(in srgb, var(--c) 70%, transparent); transform: translateY(-2px); }
.contact-way--call { --c: #6A38FF; }
.contact-way--telegram { --c: #229ED9; }
.contact-way--whatsapp { --c: #25D366; }
.contact-way--email { --c: #F7B500; }
.contact-way__icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--c); color: #fff; font-size: 1.4rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 .5rem 1rem -.5rem var(--c); }
.contact-way--email .contact-way__icon { color: #0D1B52; }
.contact-way__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.contact-way__copy strong { font-size: 1rem; font-weight: 800; }
.contact-way__value { overflow: hidden; margin: .1rem 0; font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.contact-way__copy small { color: var(--ar-secondary-color); font-size: .8rem; }
.contact-way__go { flex-shrink: 0; color: color-mix(in srgb, var(--c) 80%, #000); font-size: 1.1rem; }
.contact-note { display: grid; gap: 1.5rem; padding: 1.75rem; border: 1px solid var(--soft-line, #e5e7eb); border-radius: 1.75rem; background: var(--soft-card, #fff); }
.contact-note__intro p { color: var(--ar-secondary-color); line-height: 2; }
@media (min-width: 992px) { .contact-note { grid-template-columns: 5fr 7fr; align-items: start; padding: 2.25rem; } }
@media (prefers-reduced-motion: reduce) { .contact-way { transition: none; } }

/* Market comments: a name's first letter in a circle, plain text kept as written. */
.market-comment-avatar { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(106, 56, 255, 0.12); color: #6a38ff; font-weight: 800; }
.market-comment-body { white-space: pre-line; overflow-wrap: anywhere; }
.market-comment-ai { display: inline-block; padding: 0.1rem 0.55rem; border-radius: 99px; background: rgba(224, 168, 0, 0.14); color: #a37a00; font-weight: 700; }
[data-bs-theme="dark"] .market-comment-ai { color: #ffc93c; }

/* Market insights: the trend card takes the direction's colour. */
.market-reading--up strong { color: var(--bs-success); }
.market-reading--down strong { color: var(--bs-danger); }

/* ================================================================== */
/* The academy: /learn, its courses and lessons.                      */
/* ================================================================== */
.learn-hero { max-width: 46rem; margin-bottom: 2rem; }
.learn-hero__mark { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; border-radius: 1.1rem; background: rgba(106, 56, 255, .1); font-size: 1.75rem; }
.learn-hero__lead { color: var(--ar-secondary-color); font-size: 1.05rem; line-height: 2; }
.learn-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.learn-stats li { padding: .4rem .9rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: var(--soft-card); color: var(--ar-secondary-color); font-size: .9rem; }
.learn-stats strong { color: var(--ar-heading-color); }
.learn-empty { padding: 3rem 1rem; border: 1px dashed var(--soft-line); border-radius: 1.25rem; text-align: center; color: var(--ar-secondary-color); }

.learn-levels { display: inline-flex; gap: .25rem; margin-bottom: 1.5rem; padding: .3rem; border-radius: 1rem; background: var(--soft-panel); }
.learn-level { padding: .45rem 1.1rem; border: 0; border-radius: .75rem; background: none; color: var(--ar-secondary-color); font-weight: 600; transition: background .2s, color .2s; }
.learn-level--on { background: var(--soft-card); color: #6A38FF; font-weight: 800; box-shadow: 0 1px 3px rgba(13, 27, 82, .12); }
[data-bs-theme='dark'] .learn-level--on { color: #A88BFF; }
.learn-section { margin-bottom: 2.5rem; }
.learn-section__title { margin-bottom: 1rem; font-size: 1.15rem; color: var(--ar-secondary-color); }

.learn-course { display: flex; flex-direction: column; height: 100%; padding: 1.4rem; border: 1px solid var(--soft-line); border-radius: 1.4rem; background: var(--soft-card); color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.learn-course:hover { border-color: rgba(106, 56, 255, .35); color: inherit; transform: translateY(-2px); box-shadow: 0 1rem 2rem -1.5rem rgba(13, 27, 82, .35); }
.learn-course__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: .9rem; border-radius: .9rem; background: rgba(106, 56, 255, .1); font-size: 1.5rem; }
.learn-course__icon--lg { width: 3.5rem; height: 3.5rem; font-size: 1.75rem; }
.learn-course__topic { color: #6A38FF; font-size: .82rem; font-weight: 800; }
[data-bs-theme='dark'] .learn-course__topic { color: #A88BFF; }
.learn-course__topic a { color: inherit; text-decoration: none; }
.learn-course__title { margin: .25rem 0 .5rem; font-size: 1.15rem; }
.learn-course__text { flex: 1; color: var(--ar-secondary-color); font-size: .92rem; line-height: 1.9; }
.learn-course__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; color: var(--ar-secondary-color); font-size: .85rem; }

.learn-tag { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .6rem; border-radius: 50rem; font-size: .78rem; font-weight: 800; }
.learn-tag--free { background: rgba(34, 197, 94, .12); color: #15803d; }
.learn-tag--premium { background: rgba(247, 181, 0, .16); color: #a16207; }
[data-bs-theme='dark'] .learn-tag--free { color: #4ade80; }
[data-bs-theme='dark'] .learn-tag--premium { color: #fbbf24; }

.learn-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: 1.5rem; border-radius: 1.4rem; background: radial-gradient(circle at 100% 0%, rgba(247, 181, 0, .14), transparent 60%), radial-gradient(circle at 0% 100%, rgba(106, 56, 255, .12), transparent 60%), var(--soft-card); border: 1px solid var(--soft-line); }
.learn-cta p { color: var(--ar-secondary-color); }

.learn-course-head__text { color: var(--ar-secondary-color); line-height: 2; }
.learn-lessons { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.learn-lesson { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--soft-line); border-radius: 1.1rem; background: var(--soft-card); color: inherit; text-decoration: none; transition: border-color .2s; }
.learn-lesson:hover { border-color: rgba(106, 56, 255, .35); color: inherit; }
.learn-lesson__num { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(106, 56, 255, .1); color: #6A38FF; font-weight: 800; }
.learn-lesson__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.learn-lesson__copy strong { color: var(--ar-heading-color); }
.learn-lesson__copy small { color: var(--ar-secondary-color); line-height: 1.8; }
.learn-lesson__side { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: .3rem; color: var(--ar-secondary-color); }

.learn-side { position: sticky; top: 6rem; padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.4rem; background: var(--soft-card); }
.learn-side__facts { margin: 0 0 1rem; padding: 0; list-style: none; }
.learn-side__facts li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--soft-line); color: var(--ar-secondary-color); }
.learn-side__facts strong { color: var(--ar-heading-color); }
.learn-side__note { margin: .75rem 0 0; color: var(--ar-secondary-color); font-size: .85rem; }
.learn-side__label { margin-bottom: .5rem; font-weight: 800; color: var(--ar-heading-color); }
.learn-side__back { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; color: #6A38FF; font-weight: 700; text-decoration: none; }
.learn-progress { height: .4rem; overflow: hidden; border-radius: 50rem; background: var(--soft-panel); }
.learn-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6A38FF, #A88BFF); }

.learn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; color: var(--ar-secondary-color); font-size: .9rem; }
.learn-takeaways { padding: 1.25rem 1.4rem; border-radius: 1.25rem; background: rgba(34, 197, 94, .07); border: 1px solid rgba(34, 197, 94, .22); }
.learn-takeaways ul { margin: 0; padding-inline-start: 1.2rem; }
.learn-takeaways li { margin-bottom: .4rem; line-height: 1.9; }
.learn-locked { padding: 2rem 1.5rem; border: 1px solid rgba(247, 181, 0, .35); border-radius: 1.4rem; background: radial-gradient(circle at 100% 0%, rgba(247, 181, 0, .14), transparent 60%), var(--soft-card); text-align: center; }
.learn-locked__icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-bottom: .75rem; border-radius: 50%; background: #F7B500; color: #0D1B52; font-size: 1.3rem; }
.learn-locked p { max-width: 32rem; margin: 0 auto 1.25rem; color: var(--ar-secondary-color); }
.learn-locked__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.learn-pager { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }
.learn-pager__link { display: flex; flex-direction: column; padding: 1rem 1.1rem; border: 1px solid var(--soft-line); border-radius: 1.1rem; background: var(--soft-card); color: inherit; text-decoration: none; }
.learn-pager__link--next { text-align: left; }
.learn-pager__link small { color: var(--ar-secondary-color); }
.learn-pager__link strong { color: var(--ar-heading-color); }
@media (max-width: 575.98px) { .learn-pager { grid-template-columns: 1fr; } .learn-lesson { align-items: flex-start; } }

/* Diagrams in posts and lessons: full width, with a quiet caption. */
.post-body figure { margin: 1.25rem 0 1.5rem; }
.post-body figure img { display: block; width: 100%; height: auto; border: 1px solid var(--bs-border-color); border-radius: 1rem; }
.post-body figcaption { margin-top: .5rem; color: var(--bs-secondary-color); font-size: .8125rem; line-height: 1.8; text-align: center; }

/* Community trade signals */
.signal-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--soft-card); }
.signal-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.signal-card__asset { color: var(--ar-secondary-color); font-weight: 700; }
.signal-card__title { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.signal-card__title a { color: var(--ar-heading-color); text-decoration: none; }
.signal-card__title a:hover { text-decoration: underline; }
.signal-card__foot { display: flex; flex-direction: column; gap: .4rem; margin-top: auto; color: var(--ar-secondary-color); font-size: .8125rem; }
.signal-dir { display: inline-block; padding: .1rem .7rem; border-radius: 50rem; font-size: .8125rem; font-weight: 800; }
.signal-dir--buy { background: rgba(34, 197, 94, .14); color: #15803D; }
.signal-dir--sell { background: rgba(239, 68, 68, .13); color: #B91C1C; }
.signal-pro { display: inline-block; padding: .1rem .65rem; border-radius: 50rem; background: rgba(106, 56, 255, .12); color: #6A38FF; font-size: .75rem; font-weight: 700; }
.signal-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.signal-levels div { padding: .5rem .6rem; border-radius: .8rem; background: var(--soft-panel); }
.signal-levels dt { color: var(--ar-secondary-color); font-size: .75rem; font-weight: 600; }
.signal-levels dd { margin: 0; font-size: .875rem; font-weight: 800; color: var(--ar-heading-color); }
.signal-unit { margin: 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.signal-up { color: #15803D; }
.signal-down { color: #B91C1C; }
.signal-stats { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.signal-stats--lg { font-size: 1rem; }
.signal-chart { display: block; width: 100%; max-width: 640px; height: auto; border: 1px solid var(--soft-line); border-radius: 1rem; background: #fff; }
.signal-table th { width: 9rem; color: var(--ar-secondary-color); font-weight: 600; }
.signal-body { line-height: 2; }
@media (max-width: 575.98px) { .signal-levels { grid-template-columns: 1fr 1fr; } .signal-levels div:first-child { grid-column: 1 / -1; } }
[data-bs-theme='dark'] .signal-dir--buy, [data-bs-theme='dark'] .signal-up { color: #4ADE80; }
[data-bs-theme='dark'] .signal-dir--sell, [data-bs-theme='dark'] .signal-down { color: #F87171; }
[data-bs-theme='dark'] .signal-pro { color: #A88BFF; }

/* eNamad's official seal in the footer, on a white card so it reads in dark mode too. */
.site-trust { display: inline-flex; margin-top: 1.25rem; padding: .35rem; border: 1px solid var(--soft-line); border-radius: .9rem; background: #fff; }
.site-trust img { display: block; width: auto; height: 5.5rem; }

/* Market icons (logos, flags, gold and coins): round, never squeezed. */
.board-icon--img { padding: 0; background: none; object-fit: contain; }
.market-hero-icon { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 50%; }
.market-tile-icon { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 50%; }

/* A signal's chart, TradingView style: header with the live legend, ranges, the chart, the levels. */
.tv-card { overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--ar-body-bg); }
.tv-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.125rem .5rem; }
.tv-title { display: flex; align-items: center; gap: .625rem; }
.tv-title img { flex-shrink: 0; border-radius: 50%; }
.tv-title strong { display: block; color: var(--ar-heading-color); font-size: .9375rem; }
.tv-title small { color: var(--ar-secondary-color); font-size: .75rem; }
.tv-legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .625rem; }
.tv-price { color: var(--ar-heading-color); font-size: 1.25rem; font-weight: 800; }
.tv-change { font-size: .8125rem; font-weight: 700; }
.tv-change.is-up { color: #16a34a; }
.tv-change.is-down { color: #dc2626; }
.tv-legend small { color: var(--ar-secondary-color); font-size: .75rem; }
.tv-ranges { display: flex; gap: .25rem; padding: 0 1.125rem .5rem; }
.tv-ranges button { padding: .25rem .75rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 700; }
.tv-ranges button.is-on { background: color-mix(in srgb, var(--ar-primary) 12%, transparent); color: var(--ar-primary); }
.tv-canvas { position: relative; height: 22rem; }
.tv-fallback { display: block; width: 100%; height: auto; }
.tv-card:not(.is-live) .tv-canvas, .tv-card:not(.is-live) .tv-ranges { display: none; }
.tv-card.is-live .tv-fallback { display: none; }
/* The levels: a card of their own under the chart, a tile each. */
.tv-levels-card { overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--ar-body-bg); }
.tv-levels-title { margin: 0; padding: .875rem 1.125rem; border-bottom: 1px solid var(--soft-line); color: var(--ar-heading-color); font-size: .9375rem; font-weight: 800; }
.tv-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--soft-line); list-style: none; }
.tv-level { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .125rem .5rem; padding: .75rem 1rem; background: var(--ar-body-bg); }
.tv-dot { width: .625rem; height: .625rem; border-radius: 50%; }
.tv-level-name { color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }
.tv-level strong, .tv-level small { grid-column: 1 / -1; }
.tv-level strong { color: var(--ar-heading-color); font-size: .9375rem; }
.tv-level small { color: var(--ar-secondary-color); font-size: .75rem; }
.tv-level--target .tv-dot { background: #2563eb; }
.tv-level--entry .tv-dot { background: #16a34a; }
.tv-level--stop .tv-dot { background: #dc2626; }
.tv-level--ratio .tv-level-name { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .tv-canvas { height: 18rem; } .tv-head { padding: .875rem .875rem .375rem; } .tv-levels-title { padding: .75rem .875rem; } .tv-ranges { padding: 0 .875rem .375rem; } }

/* A signal's result: state (TP, SL…) and profit or loss. */
.signal-outcome { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .375rem .625rem; }
.signal-outcome__state { padding: .2rem .65rem; border-radius: 999px; background: var(--soft-line); color: var(--ar-heading-color); font-size: .75rem; font-weight: 700; }
.signal-outcome__state b { font-weight: 800; }
.signal-outcome--open .signal-outcome__state { background: rgba(37, 99, 235, .12); color: #1d4ed8; }
.signal-outcome--target .signal-outcome__state { background: rgba(22, 163, 74, .14); color: #15803d; }
.signal-outcome--stop .signal-outcome__state, .signal-outcome--invalid .signal-outcome__state { background: rgba(220, 38, 38, .12); color: #b91c1c; }
.signal-outcome--missed .signal-outcome__state { background: rgba(234, 179, 8, .16); color: #a16207; }
.signal-outcome__pnl { font-size: .9375rem; font-weight: 800; }
.signal-outcome__pnl--up { color: #16a34a; }
.signal-outcome__pnl--down { color: #dc2626; }
.signal-outcome__pnl--flat { color: var(--ar-secondary-color); }
[data-bs-theme="dark"] .signal-outcome--open .signal-outcome__state { color: #93c5fd; }
[data-bs-theme="dark"] .signal-outcome--target .signal-outcome__state { color: #4ade80; }
[data-bs-theme="dark"] .signal-outcome--stop .signal-outcome__state, [data-bs-theme="dark"] .signal-outcome--invalid .signal-outcome__state { color: #f87171; }
[data-bs-theme="dark"] .signal-outcome--missed .signal-outcome__state { color: #fbbf24; }
.tv-outcome { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; padding: .875rem 1.125rem; border-top: 1px solid var(--soft-line); }
.tv-outcome__main { display: flex; flex-direction: column; gap: .25rem; }
.tv-outcome__main .signal-outcome__pnl { font-size: 1.25rem; }
.tv-outcome__main small { color: var(--ar-secondary-color); font-size: .75rem; }
.tv-outcome__facts { display: flex; gap: 1.25rem; margin: 0; }
.tv-outcome__facts dt { color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }
.tv-outcome__facts dd { margin: 0; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 700; }
.tv-outcome__facts dd small { display: block; color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 400; }

/* Dara Pro board: cards, locked panels, filters */
.pro-card { gap: .75rem; }
.pro-card__head { flex-wrap: nowrap; }
.pro-card__icon { flex-shrink: 0; border-radius: 50%; }
.pro-card__name { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 1rem; font-weight: 800; }
.pro-card__name a { color: var(--ar-heading-color); text-decoration: none; }
.pro-card__name a:hover { text-decoration: underline; }
.pro-tf { display: inline-block; flex-shrink: 0; padding: .1rem .65rem; border-radius: 50rem; background: var(--soft-panel); color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pro-card__meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 600; }
.pro-zone { color: #15803D; font-weight: 800; }
.pro-lock { padding: .9rem 1rem; border: 1px dashed rgba(106, 56, 255, .35); border-radius: 1rem; background: rgba(106, 56, 255, .06); }
.pro-lock__title { margin: 0 0 .25rem; color: var(--ar-heading-color); font-weight: 800; }
.pro-lock__text { margin: 0 0 .5rem; color: var(--ar-secondary-color); font-size: .8125rem; line-height: 1.9; }
.pro-lock__link { color: #6A38FF; font-size: .875rem; font-weight: 800; text-decoration: none; }
.pro-lock--page { padding: 1.5rem; }
.pro-lock--page .pro-lock__text { font-size: 1rem; }
.pro-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin: 1rem 0; padding: 1rem 1.25rem; border-radius: 1.25rem; background: rgba(106, 56, 255, .09); }
.pro-banner strong { display: block; color: var(--ar-heading-color); }
.pro-banner span { color: var(--ar-secondary-color); font-size: .875rem; }
.pro-filters { display: flex; flex-direction: column; gap: .5rem; }
.pro-tabs { overflow-x: auto; padding-bottom: .125rem; }
.pro-explain { padding: 1rem 1.125rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--soft-card); line-height: 2; }
.pro-explain h2 { color: var(--ar-heading-color); }
.pro-ask { position: sticky; top: 6rem; padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--soft-card); }
@media (min-width: 768px) { .pro-filters { flex-direction: row; flex-wrap: wrap; justify-content: space-between; } }
[data-bs-theme="dark"] .pro-zone { color: #4ade80; }
[data-bs-theme="dark"] .pro-lock { border-color: rgba(168, 139, 255, .4); background: rgba(168, 139, 255, .08); }
[data-bs-theme="dark"] .pro-lock__link { color: #A88BFF; }
[data-bs-theme="dark"] .pro-banner { background: rgba(168, 139, 255, .12); }

/* Home hero: the topics and suggested questions open when the prompt is reached for. */
.hero-ask__reveal { display: inline-flex; align-items: center; gap: .375rem; margin: 1rem auto 0; padding: .4rem 1rem; border: 1px solid var(--soft-line); border-radius: 999px; background: color-mix(in srgb, var(--ar-body-bg) 70%, transparent); color: var(--ar-heading-color); font-size: .875rem; font-weight: 700; }
.hero-ask__reveal:hover { border-color: color-mix(in srgb, var(--ar-primary) 45%, var(--soft-line)); }
.hero-ask__help.is-open { animation: hero-help-in .3s ease-out; }
@keyframes hero-help-in { from { transform: translateY(-6px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-ask__help.is-open { animation: none; } }

/* Dara Pro: TP2 and TP3, and the quick entry for someone in a hurry. */
.tv-level--quick .tv-dot { background: #d97706; }
.tv-level--quick { background: color-mix(in srgb, #d97706 8%, var(--ar-body-bg)); }
.pro-card__tps { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: .5rem 0 0; color: #2563eb; font-size: .8125rem; font-weight: 700; }
[data-bs-theme="dark"] .pro-card__tps { color: #60a5fa; }
.pro-card__quick { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .5rem; margin: .5rem 0 0; padding: .4rem .65rem; border-radius: .75rem; background: color-mix(in srgb, #d97706 12%, transparent); color: var(--ar-heading-color); font-size: .8125rem; }
.pro-card__quick strong { color: #b45309; }
[data-bs-theme="dark"] .pro-card__quick strong { color: #fbbf24; }
.pro-card__quick small { color: var(--ar-secondary-color); font-size: .75rem; }

/* A price page's chart, the TradingView way (market-chart.js, OpenAlgo Charts' widget). */
.mc { display: grid; gap: .5rem; margin-bottom: .75rem; }
.mc-box { position: relative; height: min(560px, 78vh); overflow: hidden; border: 1px solid var(--soft-line); border-radius: .875rem; background: var(--ar-body-bg); }
.mc-widget { position: absolute; inset: 0; }
/* Full screen: the chart over the whole page (market-chart.js). */
.mc-box.is-max { position: fixed; z-index: 10000; inset: 0; height: auto; border: 0; border-radius: 0; }
.mc-box.is-max .mc-widget { inset: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
.mc-locked { margin: 0; padding: .5rem .75rem; border-radius: .75rem; background: color-mix(in srgb, #f59e0b 14%, transparent); color: #92400e; font-size: .8125rem; }
[data-bs-theme="dark"] .mc-locked { color: #fbbf24; }
.mc-locked a { font-weight: 700; }
.mc-hint { margin: 0; color: var(--ar-secondary-color); font-size: .75rem; }
/* The price row over the chart, top left, as TradingView has it. */
.mc-ohlc { position: absolute; z-index: 3; top: 6px; left: 8px; right: 70px; display: flex; flex-wrap: nowrap; align-items: baseline; gap: 2px 8px; overflow: hidden; color: var(--oac-text-2, #64748b); font-size: 11.5px; font-weight: 500; line-height: 1.4; white-space: nowrap; pointer-events: none; direction: ltr; }
.mc-ohlc b { color: var(--oac-text, #0f172a); font-weight: 800; }
.mc-ohlc i { font-style: normal; color: var(--oac-text, #0f172a); }
.mc-ohlc i.up { color: #16a34a; }
.mc-ohlc i.down { color: #dc2626; }
.mc-box .oac-chart { container-type: inline-size; }
/* The chart widget's own alerts are off: its top bar button and the phone menu's entry are hidden. */
.oac-topbar__alerts, .oac-mobile__action[data-mobile-action="alerts"] { display: none !important; }
@container (max-width: 640px) { .mc-ohlc .ohl { display: none; } }

/* A price's chart page, the way an exchange shows it (/chart/{symbol}): the price bar, the chart, every price beside it. */
.terminal { min-width: 0; }
.terminal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-bottom: .75rem; padding: .875rem 1.125rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); }
.terminal-bar__name { display: flex; align-items: center; gap: .625rem; }
.terminal-bar__name img { flex-shrink: 0; border-radius: 50%; }
.terminal-bar__name h1 { margin: 0; color: var(--ar-heading-color); font-size: 1.0625rem; font-weight: 800; }
.terminal-bar__name small { color: var(--ar-secondary-color); font-size: .75rem; }
.terminal-bar__price { display: flex; align-items: baseline; gap: .375rem; }
.terminal-bar__price strong { color: var(--ar-heading-color); font-size: 1.5rem; font-weight: 900; }
.terminal-bar__price > span:not(.market-change) { color: var(--ar-secondary-color); font-size: .8125rem; }
.terminal-bar__facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; }
.terminal-bar__facts div { display: grid; }
.terminal-bar__facts dt { color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 600; }
.terminal-bar__facts dd { margin: 0; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; }
.terminal-bar__links { display: flex; gap: .5rem; margin-inline-start: auto; }
.terminal-note { margin: 0 0 .75rem; color: var(--ar-secondary-color); font-size: .8125rem; }

.terminal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: .75rem; align-items: start; }
.terminal-chart { min-width: 0; }
.terminal-mc { margin-bottom: 0; }
.terminal-box { height: calc(100vh - 15rem); min-height: 28rem; max-height: none; }
/* Until the chart is up: its outline, softly pulsing; while another price comes, the chart dims. */
.terminal-skeleton { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--soft-line); border-radius: .875rem; background: var(--ar-body-bg); }
.terminal-skeleton[hidden], .terminal-empty[hidden] { display: none; }
.terminal-skeleton svg { position: absolute; inset: 1.5rem 1rem 2.5rem; width: calc(100% - 2rem); height: calc(100% - 4rem); fill: var(--soft-line); stroke: var(--soft-line); stroke-width: 1; vector-effect: non-scaling-stroke; animation: terminal-pulse 1.4s ease-in-out infinite; }
.terminal-skeleton line { vector-effect: non-scaling-stroke; }
.terminal-skeleton__text { position: relative; padding: .375rem .875rem; border-radius: 2rem; background: var(--ar-body-bg); color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 600; }
.terminal-skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--ar-body-bg) 60%, transparent) 50%, transparent 70%); transform: translateX(-100%); animation: terminal-sweep 1.6s ease-in-out infinite; }
.terminal-chart.is-switching { opacity: .55; pointer-events: none; transition: opacity .15s ease; }
.terminal-chart.is-switching .terminal-mc { cursor: progress; }
@keyframes terminal-pulse { 50% { opacity: .5; } }
@keyframes terminal-sweep { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .terminal-skeleton svg, .terminal-skeleton::after { animation: none; } }
.terminal-empty { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 20rem; margin: 0; border: 1px dashed var(--soft-line); border-radius: .875rem; color: var(--ar-secondary-color); }
.terminal-levels { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; }
.terminal-levels div { display: flex; align-items: baseline; gap: .5rem; padding: .375rem .75rem; border: 1px solid var(--soft-line); border-radius: .75rem; }
.terminal-levels dt { color: var(--ar-secondary-color); font-size: .75rem; }
.terminal-levels dd { margin: 0; font-weight: 800; }
.terminal-levels .is-up dd { color: #16a34a; }
.terminal-levels .is-down dd { color: #dc2626; }

.terminal-markets { position: sticky; top: 6rem; display: flex; flex-direction: column; max-height: calc(100vh - 7rem); overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); }
.terminal-markets__head { display: grid; gap: .5rem; padding: .75rem; border-bottom: 1px solid var(--soft-line); }
.terminal-tabs { display: flex; flex-wrap: wrap; gap: .25rem; }
.terminal-tabs button { padding: .2rem .625rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }
.terminal-tabs button.is-on { background: color-mix(in srgb, var(--ar-primary) 12%, transparent); color: var(--ar-primary); }
.terminal-list { flex: 1; margin: 0; padding: .25rem; overflow-y: auto; list-style: none; }
.terminal-row { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: .5rem; padding: .5rem .625rem; border-radius: .625rem; color: inherit; text-decoration: none; }
.terminal-row:hover { background: var(--soft-line); }
.terminal-row.is-current { background: color-mix(in srgb, var(--ar-primary) 10%, transparent); }
.terminal-row img, .terminal-row__dot { grid-row: 1 / 3; width: 1.5rem; height: 1.5rem; border-radius: 50%; }
.terminal-row__dot { background: var(--soft-line); }
.terminal-row__name { overflow: hidden; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.terminal-row__name small { margin-inline-start: .375rem; color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 500; }
.terminal-row__price { color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; text-align: end; }
.terminal-row__change { grid-column: 3; justify-self: end; padding: 0 .375rem; border-radius: .375rem; font-size: .6875rem; font-weight: 700; }

@media (max-width: 991.98px) {
    .terminal-grid { grid-template-columns: minmax(0, 1fr); }
    .terminal-box { height: 70vh; min-height: 22rem; }
    .terminal-markets { position: static; max-height: 32rem; }
    .terminal-bar__links { margin-inline-start: 0; }
}
@media (max-width: 575.98px) {
    .terminal { padding-inline: .75rem; }
    .terminal-bar { padding: .75rem; }
    .terminal-bar__price strong { font-size: 1.25rem; }
}

/* The trader's desk (/trader), laid out like a trading dashboard: the menu down the side, prices along the top, one price in focus. */
.trader-card { padding: 1.125rem 1.25rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); }
.trader-card h2 { margin: 0; color: var(--ar-heading-color); font-size: 1.0625rem; font-weight: 800; }
.trader-card__lead { margin: .25rem 0 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.trader-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .875rem; border-bottom: 1px solid var(--soft-line); }
.trader-more { flex-shrink: 0; padding: .35rem .875rem; border: 1px solid var(--soft-line); border-radius: .625rem; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.trader-more:hover { background: var(--soft-line); }
.trader-empty { margin: 0; padding: 2rem 1rem; color: var(--ar-secondary-color); text-align: center; }

.trader-brand { display: flex; align-items: center; gap: .625rem; margin-bottom: 1rem; color: inherit; text-decoration: none; }
.trader-brand__mark { display: grid; place-items: center; flex-shrink: 0; width: 2.5rem; height: 2.5rem; border: 1px solid color-mix(in srgb, #16a34a 35%, transparent); border-radius: .75rem; background: color-mix(in srgb, #16a34a 10%, transparent); color: #16a34a; font-size: 1.125rem; }
.trader-brand strong { display: block; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 800; }
.trader-brand small { display: block; color: var(--ar-secondary-color); font-size: .6875rem; }


.trader-ticker { display: flex; gap: 0; overflow-x: auto; padding: .625rem .25rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: color-mix(in srgb, var(--soft-line) 35%, var(--ar-body-bg)); scrollbar-width: thin; }
.trader-tick { display: flex; flex-shrink: 0; align-items: center; gap: .5rem; padding: .25rem 1rem; border-inline-end: 1px solid var(--soft-line); color: var(--ar-body-color); font-size: .8125rem; text-decoration: none; white-space: nowrap; }
.trader-tick:last-child { border-inline-end: 0; }
.trader-tick img { border-radius: 50%; }
.trader-tick strong { color: var(--ar-heading-color); font-weight: 800; }
.trader-tick.is-current strong { color: var(--ar-primary); }
.trader-tick__change { font-size: .75rem; font-weight: 700; }

.trader-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.trader-head__name { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.trader-head__icon { display: grid; place-items: center; flex-shrink: 0; width: 4.25rem; height: 4.25rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 .25rem 1rem rgba(15, 23, 42, .06); font-size: 1.5rem; }
.trader-head__icon img { border-radius: 50%; }
.trader-head h1 { margin: 0; color: var(--ar-heading-color); font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 900; }
.trader-head h1 small { color: var(--ar-secondary-color); font-size: .5em; font-weight: 600; }
.trader-head p { margin: .25rem 0 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.trader-head__actions { display: flex; gap: .5rem; }
.trader-head__actions .btn { padding-inline: 1.375rem; font-weight: 700; }

.trader-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1rem; align-items: start; }
.trader-grid__main { display: grid; gap: 1rem; min-width: 0; }
.trader-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; }
.trader-stat span { color: var(--ar-secondary-color); font-size: .8125rem; }
.trader-stat strong { display: block; margin-top: .5rem; color: var(--ar-heading-color); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 900; }
.trader-stat strong small { color: var(--ar-secondary-color); font-size: .55em; font-weight: 600; }

.trader-chart__bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.trader-tabs { display: inline-flex; gap: .125rem; padding: .25rem; border: 1px solid var(--soft-line); border-radius: .75rem; }
.trader-tabs button { padding: .3rem .875rem; white-space: nowrap; border: 0; border-radius: .5rem; background: transparent; color: var(--ar-body-color); font-size: .8125rem; font-weight: 600; }
.trader-tabs button.is-on { background: var(--ar-body-bg); box-shadow: 0 0 0 1px var(--soft-line), 0 .125rem .375rem rgba(15, 23, 42, .08); color: var(--ar-heading-color); font-weight: 800; }
.trader-chart__tools { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 700; }
.trader-chart__tools a { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--soft-line); border-radius: .5rem; color: var(--ar-heading-color); text-decoration: none; }
.trader-plot { position: relative; aspect-ratio: 760 / 260; touch-action: pan-y; }
.trader-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.trader-plot__grid { stroke: var(--soft-line); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.trader-axis { position: absolute; inset: 0; pointer-events: none; color: var(--ar-secondary-color); font-size: .6875rem; }
.trader-axis__y { position: absolute; left: 0; transform: translateY(-50%); direction: ltr; }
.trader-axis__x { position: absolute; bottom: 0; transform: translateX(-50%); white-space: nowrap; }
.trader-axis__x.is-first { transform: none; }
.trader-axis__x.is-last { transform: translateX(-100%); }
.trader-plot__line { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.is-up .trader-plot__line { stroke: #16a34a; }
.is-down .trader-plot__line { stroke: #dc2626; }
.trader-plot__cursor { stroke: var(--ar-secondary-color); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.trader-plot__dot { position: absolute; width: .625rem; height: .625rem; border: 2px solid var(--ar-heading-color); border-radius: 50%; background: var(--ar-body-bg); transform: translate(-50%, -50%); pointer-events: none; }
.trader-tip { position: absolute; z-index: 2; padding: .5rem .75rem; border-radius: .625rem; background: #111827; color: #fff; font-size: .75rem; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - .75rem)); }
.trader-tip strong { font-size: .875rem; }
.trader-tip span, .trader-tip small { color: #cbd5e1; }
.trader-tip small { display: block; }

.trader-facts { position: sticky; top: 6rem; }
.trader-facts h2 { font-size: 1.125rem; }
.trader-facts dl { margin: 1rem 0 0; border-top: 1px solid var(--soft-line); }
.trader-facts dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--soft-line); }
.trader-facts dl div:last-child { border-bottom: 0; }
.trader-facts dt { color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 600; }
.trader-facts dd { margin: 0; color: var(--ar-heading-color); font-size: .875rem; font-weight: 800; text-align: end; }
.trader-facts__note { margin: .5rem 0 0; color: var(--ar-secondary-color); font-size: .75rem; }

.trader-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.trader-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.trader-mini { display: grid; gap: .375rem; padding: .875rem 1rem; border: 1px solid var(--soft-line); border-radius: .875rem; color: inherit; text-decoration: none; }
.trader-mini:hover { border-color: color-mix(in srgb, var(--ar-primary) 40%, var(--soft-line)); }
.trader-mini__name { overflow: hidden; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.trader-mini strong { color: var(--ar-heading-color); font-size: 1.125rem; font-weight: 900; }
.trader-mini strong small { color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 600; }
.trader-mini__foot { display: flex; gap: .5rem; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }

.trader-news, .trader-signals { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.trader-news a { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; align-items: center; gap: .875rem; padding: .375rem; border-radius: .75rem; color: var(--ar-heading-color); text-decoration: none; }
.trader-news a:hover, .trader-signals a:hover { background: color-mix(in srgb, var(--soft-line) 50%, transparent); }
.trader-news__cover { width: 7.5rem; height: 4.75rem; border-radius: .625rem; object-fit: cover; }
.trader-news span { font-size: .875rem; font-weight: 700; line-height: 1.6; }
.trader-news small { display: block; color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 500; }
.trader-pro__badge { display: inline-block; margin-inline-end: .25rem; padding: .05rem .5rem; border-radius: .5rem; background: #111827; color: #fff; font-size: .75rem; vertical-align: middle; }
.trader-pro__list { display: grid; gap: .75rem; }
.trader-signals a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .75rem; padding: .625rem; border: 1px solid var(--soft-line); border-radius: .75rem; color: inherit; text-decoration: none; }
.trader-signals__body { display: grid; min-width: 0; }
.trader-signals__body strong { overflow: hidden; color: var(--ar-heading-color); font-size: .8125rem; white-space: nowrap; text-overflow: ellipsis; }
.trader-signals__body small, .trader-signals__target small { color: var(--ar-secondary-color); font-size: .6875rem; }
.trader-signals__target { display: grid; color: #16a34a; font-size: .8125rem; font-weight: 800; text-align: end; }
.tp .trader-up { color: #16a34a; }
.tp .trader-down { color: #dc2626; }
.tp .trader-flat { color: var(--ar-secondary-color); }
.trader-disclaimer { margin: 0; color: var(--ar-secondary-color); font-size: .75rem; text-align: center; }

@media (max-width: 1199.98px) {
    .trader-grid { grid-template-columns: minmax(0, 1fr); }
    .trader-facts { position: static; }
    .trader-facts dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (max-width: 991.98px) {
    .trader-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .trader-head__actions { width: 100%; }
    .trader-head__actions .btn { flex: 1; padding-inline: .75rem; }
    .trader-facts dl, .trader-compare { grid-template-columns: minmax(0, 1fr); }
    .trader-news a { grid-template-columns: 5.5rem minmax(0, 1fr); }
    .trader-news a > i { display: none; }
    .trader-news__cover { width: 5.5rem; height: 3.75rem; }
    .trader-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
    .trader-plot { aspect-ratio: 760 / 420; }
    .trader-tabs button { padding: .3rem .5rem; }
    .trader-chart { padding-inline: .875rem; }
    .trader-stat { padding: .75rem; }
    .trader-stat span { font-size: .6875rem; }
    .trader-stat strong { font-size: 1rem; }
    .trader-stat strong small { display: block; }
}


/* The full chart in the trader's panel: no site bar above, so the list beside it sits higher. */
.tp .terminal-markets { top: 1rem; max-height: calc(100vh - 2rem); }
.tp .terminal-box { height: calc(100vh - 12rem); }
.tp .terminal-grid { grid-template-columns: minmax(0, 1fr) 18rem; }
@media (max-width: 1199.98px) { .tp .terminal-grid { grid-template-columns: minmax(0, 1fr); } .tp .terminal-markets { position: static; max-height: 32rem; } }

/* The trader's panel (/trader, /chart), laid out like a product's console: a sidebar the height of the screen, folding to a rail, and the page beside it under a bar. */
.tp { --tp-side: 16.5rem; --tp-on: color-mix(in srgb, var(--ar-primary) 10%, transparent); display: grid; grid-template-columns: var(--tp-side) minmax(0, 1fr); min-height: 100vh; background: color-mix(in srgb, var(--soft-line) 35%, var(--ar-body-bg)); }
.tp.is-rail { --tp-side: 4.25rem; }
.tp-side { position: sticky; top: 0; z-index: 40; display: flex; flex-direction: column; height: 100vh; border-inline-end: 1px solid var(--soft-line); background: var(--ar-body-bg); }
.tp-side__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.125rem 1rem .875rem; }
.tp-brand { display: flex; align-items: center; gap: .5rem; color: var(--ar-heading-color); font-size: 1.25rem; font-weight: 900; text-decoration: none; letter-spacing: -.01em; }
.tp-brand small { color: var(--ar-secondary-color); font-size: .75rem; font-weight: 600; }
.tp-kbd { display: inline-flex; align-items: center; gap: .125rem; padding: .2rem .45rem; border: 1px solid var(--soft-line); border-radius: .5rem; background: transparent; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 600; direction: ltr; }
.tp-kbd:hover { color: var(--ar-heading-color); }
.tp-switch { display: flex; gap: .5rem; padding: 0 1rem .75rem; }
.tp-select { display: flex; flex: 1; align-items: center; gap: .5rem; min-width: 0; padding: .5rem .75rem; border: 1px solid var(--soft-line); border-radius: .625rem; background: transparent; color: var(--ar-heading-color); font-size: .8125rem; text-align: start; }
.tp-select:hover, .tp-square:hover { border-color: color-mix(in srgb, var(--ar-primary) 40%, var(--soft-line)); }
.tp-select__code { color: #16a34a; font-weight: 800; }
.tp-select__name { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tp-select i { color: var(--ar-secondary-color); }
.tp-square { display: grid; flex-shrink: 0; place-items: center; width: 2.375rem; height: 2.375rem; border: 1px solid var(--soft-line); border-radius: .625rem; background: transparent; color: var(--ar-heading-color); font-size: 1rem; }
.tp-nav { display: grid; align-content: start; gap: .125rem; flex: 1; overflow-y: auto; padding: .25rem .75rem; }
.tp-label { margin: .75rem .5rem .25rem; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 600; }
.tp-label:first-child { margin-top: .5rem; }
.tp-rule { display: none; height: 1px; margin: .5rem .375rem; background: var(--soft-line); }
.tp-link { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .45rem .625rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ar-body-color); font-size: .875rem; font-weight: 500; text-align: start; text-decoration: none; white-space: nowrap; }
.tp-link i { flex-shrink: 0; width: 1.25rem; color: var(--ar-heading-color); font-size: 1.125rem; text-align: center; }
.tp-link:hover { background: color-mix(in srgb, var(--soft-line) 60%, transparent); color: var(--ar-heading-color); }
.tp-link.is-on { background: var(--tp-on); color: var(--ar-primary); font-weight: 700; }
.tp-link.is-on i { color: var(--ar-primary); }
.tp-link--app i { color: var(--ar-secondary-color); }
.tp-side__foot { display: grid; gap: .125rem; padding: .5rem .75rem; }
.tp-account { position: relative; padding: .75rem; border-top: 1px solid var(--soft-line); }
.tp-account__who { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .375rem; border: 0; border-radius: .625rem; background: transparent; color: inherit; text-align: start; text-decoration: none; }
.tp-account__who:hover { background: color-mix(in srgb, var(--soft-line) 60%, transparent); }
.tp-account__who strong { display: block; color: var(--ar-heading-color); font-size: .875rem; }
.tp-account__who small { display: block; color: var(--ar-secondary-color); font-size: .75rem; }
.tp-avatar { display: grid; flex-shrink: 0; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 50%; background: color-mix(in srgb, var(--soft-line) 80%, transparent); color: var(--ar-heading-color); font-size: .875rem; font-weight: 800; }
.tp-avatar--guest { color: var(--ar-secondary-color); }
.tp-menu { position: absolute; z-index: 50; inset: auto .75rem calc(100% - .25rem); margin: 0; padding: .375rem; border: 1px solid var(--soft-line); border-radius: .75rem; background: var(--ar-body-bg); box-shadow: 0 .75rem 2rem rgba(15, 23, 42, .14); list-style: none; }
.tp-menu__item { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .5rem .625rem; border: 0; border-radius: .5rem; background: transparent; color: var(--ar-heading-color); font-size: .8125rem; text-align: start; text-decoration: none; }
.tp-menu__item:hover { background: var(--soft-line); }

/* Folded to a rail: icons only, each named on hover. */
.tp.is-rail .tp-hide { display: none !important; }
.tp.is-rail .tp-side__head { justify-content: center; padding-inline: 0; }
.tp.is-rail .tp-switch { flex-direction: column; align-items: center; padding-inline: 0; }
.tp.is-rail .tp-select { flex: none; justify-content: center; width: 2.375rem; padding: .5rem 0; font-size: .6875rem; }
.tp.is-rail .tp-nav, .tp.is-rail .tp-side__foot { padding-inline: .625rem; }
.tp.is-rail .tp-rule { display: block; }
.tp.is-rail .tp-link { justify-content: center; padding-inline: 0; }
.tp.is-rail .tp-account { display: flex; justify-content: center; padding-inline: 0; }
.tp.is-rail .tp-account__who { justify-content: center; width: auto; }
.tp.is-rail .tp-menu { inset-inline-end: auto; width: 13rem; }
.tp.is-rail .tp-fold i { transform: scaleX(-1); }

.tp-main { display: flex; flex-direction: column; min-width: 0; }
.tp-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: .75rem; min-height: 3.75rem; padding: .625rem 1.5rem; border-bottom: 1px solid var(--soft-line); background: color-mix(in srgb, var(--ar-body-bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tp-bar__title { margin: 0; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 700; }
.tp-bar__end { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.tp-search { display: flex; align-items: center; gap: .5rem; width: 18rem; padding: .375rem .625rem; border: 1px solid var(--soft-line); border-radius: .625rem; background: var(--ar-body-bg); color: var(--ar-secondary-color); font-size: .8125rem; text-align: start; }
.tp-search span { flex: 1; }
.tp-search kbd { padding: .05rem .375rem; border: 1px solid var(--soft-line); border-radius: .375rem; background: transparent; color: var(--ar-secondary-color); font-size: .6875rem; }
.tp-burger { display: none; }
.tp-content { display: grid; gap: 1rem; align-content: start; padding: 1.25rem 1.5rem 2.5rem; }
.tp-content > * { min-width: 0; }
.mkt > *, .ideas > * { min-width: 0; }

.tp-palette { position: fixed; z-index: 2000; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 12vh 1rem 1rem; background: rgba(15, 23, 42, .35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tp-palette__box { width: min(36rem, 100%); overflow: hidden; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .25); }
.tp-palette__input { display: flex; align-items: center; gap: .625rem; padding: .875rem 1rem; border-bottom: 1px solid var(--soft-line); }
.tp-palette__input i { color: var(--ar-secondary-color); font-size: 1.125rem; }
.tp-palette__input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ar-heading-color); font-size: 1rem; }
.tp-palette__input kbd { padding: .1rem .375rem; border: 1px solid var(--soft-line); border-radius: .375rem; background: transparent; color: var(--ar-secondary-color); font-size: .6875rem; }
.tp-palette__list { max-height: 60vh; margin: 0; padding: .375rem; overflow-y: auto; list-style: none; }
.tp-palette__list a { display: flex; align-items: center; gap: .75rem; padding: .625rem .75rem; border-radius: .5rem; color: var(--ar-heading-color); font-size: .875rem; text-decoration: none; }
.tp-palette__list a.is-on { background: var(--tp-on); color: var(--ar-primary); }
.tp-palette__list a i { width: 1.25rem; color: var(--ar-secondary-color); text-align: center; }
.tp-palette__list a span { flex: 1; }
.tp-palette__list a small { color: var(--ar-secondary-color); font-size: .75rem; }
.tp-palette__none { padding: 1.5rem; color: var(--ar-secondary-color); text-align: center; }
.tp-scrim { display: none; }

@media (max-width: 991.98px) {
    .tp, .tp.is-rail { --tp-side: 0rem; grid-template-columns: minmax(0, 1fr); }
    .tp-side { position: fixed; inset-block: 0; inset-inline-start: 0; width: 17rem; transform: translateX(100%); transition: transform .2s ease; box-shadow: none; }
    .tp.is-open .tp-side { transform: none; box-shadow: 0 0 3rem rgba(15, 23, 42, .25); }
    .tp.is-rail .tp-hide { display: revert !important; }
    .tp-fold { display: none; }
    .tp-scrim { position: fixed; z-index: 35; inset: 0; display: block; background: rgba(15, 23, 42, .35); }
    .tp-burger { display: grid; }
    .tp-search { width: auto; }
    .tp-search span, .tp-search kbd { display: none; }
    .tp-bar { padding-inline: .875rem; }
    .tp-content { padding: 1rem .875rem 6rem; }
}

/* Dara Pro beside Dara in the assistant window (the trader's panel): the switch, a setup under an answer. */
.asst-modes { display: inline-flex; gap: .125rem; margin-inline-start: .75rem; padding: .2rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: color-mix(in srgb, var(--ar-body-bg) 70%, transparent); }
.asst-mode { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem .875rem; border: 0; border-radius: 50rem; background: transparent; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 700; }
.asst-mode.is-on { background: var(--ar-body-bg); box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .1); color: var(--ar-heading-color); }
.asst-mode--pro.is-on { background: #111827; color: #fff; }
[data-bs-theme='dark'] .asst-mode--pro.is-on { background: #f8fafc; color: #111827; }
.asst-setup { margin-top: .75rem; padding: .75rem .875rem; border: 1px solid var(--soft-line); border-radius: .875rem; background: var(--ar-body-bg); }
.asst-setup__head { display: flex; align-items: center; gap: .5rem; }
.asst-setup__head strong { color: var(--ar-heading-color); font-size: .875rem; }
.asst-setup__head small { color: var(--ar-secondary-color); }
.asst-setup dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: .625rem 0; }
.asst-setup dt { color: var(--ar-secondary-color); font-size: .6875rem; font-weight: 600; }
.asst-setup dd { margin: 0; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 800; }
.asst-setup dd.trader-up { color: #16a34a; }
.asst-setup dd.trader-down { color: #dc2626; }
.asst-setup a { font-size: .8125rem; font-weight: 700; text-decoration: none; }
.asst-waiting { padding: .5rem .75rem; border-radius: .625rem; background: color-mix(in srgb, var(--soft-line) 50%, transparent); }
.asst-waiting small { color: var(--ar-secondary-color); }
.asst-orb--btn { display: inline-block; width: 1.125rem; height: 1.125rem; margin-inline-end: .375rem; vertical-align: -.2rem; }
.tp-link--ask i { color: var(--ar-primary); }
@media (max-width: 575.98px) {
    .asst-modes { margin-inline-start: .25rem; }
    .asst-mode { padding: .25rem .625rem; }
    .asst-setup dl { grid-template-columns: minmax(0, 1fr); }
    .tp-ask { font-size: 0; }
    .tp-ask .asst-orb--btn { margin: 0; }
}

/* The panel's chips: a change, tinted by its tone. */
.trader-chip { display: inline-block; padding: .1rem .5rem; border-radius: .5rem; font-size: .75rem; font-weight: 800; }
.trader-chip--up { background: color-mix(in srgb, #16a34a 13%, transparent); color: #16a34a; }
.trader-chip--down { background: color-mix(in srgb, #dc2626 12%, transparent); color: #dc2626; }
.trader-chip--flat { background: color-mix(in srgb, var(--soft-line) 70%, transparent); color: var(--ar-secondary-color); }
.ideas-chips { display: flex; gap: .25rem; padding: .2rem; overflow-x: auto; border-radius: .75rem; background: color-mix(in srgb, var(--soft-line) 60%, transparent); scrollbar-width: none; }
.ideas-chip { flex: 1 0 auto; padding: .35rem .75rem; border: 0; border-radius: .55rem; background: transparent; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.ideas-chip.is-on { background: var(--ar-body-bg); box-shadow: 0 1px 3px rgba(13, 27, 82, .12); color: var(--ar-primary); font-weight: 800; }

/* «بینش» (/trader/ideas), as in the app: the features as banners, a tinted card per price. */
.ideas { display: grid; gap: 1rem; width: 100%; max-width: 76rem; margin-inline: auto; }
.ideas-hero { display: flex; align-items: center; gap: .875rem; }
.ideas-hero__orb { width: 3rem; height: 3rem; }
.ideas-hero h1 { margin: 0; color: var(--ar-heading-color); font-size: 1.25rem; font-weight: 800; }
.ideas-hero p { margin: 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.ideas-banners { display: grid; grid-auto-columns: minmax(14rem, 1fr); grid-auto-flow: column; gap: .75rem; overflow-x: auto; padding-bottom: .25rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ideas-banner { position: relative; display: grid; align-content: start; gap: .25rem; min-height: 9rem; padding: 1rem; overflow: hidden; border-radius: 1.125rem; background: linear-gradient(135deg, var(--from), var(--to)); color: #fff; text-decoration: none; scroll-snap-align: start; }
.ideas-banner strong { font-size: 1rem; font-weight: 800; }
.ideas-banner small { max-width: 85%; color: rgba(255, 255, 255, .88); font-size: .75rem; line-height: 1.8; }
.ideas-banner__art { position: absolute; inset: auto auto -.5rem -.25rem; font-size: 3.5rem; opacity: .35; }
.ideas-banner__cta { align-self: end; margin-top: .5rem; font-size: .75rem; font-weight: 800; }
.ideas-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.ideas-bar .ideas-chips { flex: 1 1 22rem; }
.ideas-notable { display: flex; align-items: center; gap: .5rem; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; }
.ideas-notable small { color: var(--ar-secondary-color); font-weight: 500; }
.ideas-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: .875rem; }
.idea { --c: #3b82f6; display: grid; align-content: start; gap: .625rem; padding: 1rem; border: 1px solid color-mix(in srgb, var(--c) 18%, var(--soft-line)); border-radius: 1.25rem; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 8%, var(--ar-body-bg)) 0%, var(--ar-body-bg) 65%); }
.idea--up { --c: #22c55e; }
.idea--down { --c: #e5484d; }
.idea__head { display: flex; align-items: center; gap: .625rem; color: inherit; text-decoration: none; }
.idea__badge { display: grid; flex-shrink: 0; place-items: center; width: 2.5rem; height: 2.5rem; overflow: hidden; border-radius: 50%; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-weight: 800; }
.idea__name { display: grid; flex: 1; min-width: 0; }
.idea__name strong { overflow: hidden; color: var(--ar-heading-color); font-size: .9375rem; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.idea__name small { color: var(--ar-secondary-color); font-size: .78rem; font-weight: 700; text-align: end; }
.idea__tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.idea__tag { padding: .1rem .55rem; border-radius: .5rem; font-size: .72rem; font-weight: 800; }
.idea__tag--up { background: color-mix(in srgb, #16a34a 13%, transparent); color: #16a34a; }
.idea__tag--down { background: color-mix(in srgb, #dc2626 12%, transparent); color: #dc2626; }
.idea__tag--info { background: color-mix(in srgb, #3b82f6 12%, transparent); color: #3b82f6; }
.idea__tag--warn { background: color-mix(in srgb, #d97706 14%, transparent); color: #d97706; }
.idea__say { display: flex; align-items: flex-start; gap: .5rem; }
.idea__orb { width: 1.5rem; height: 1.5rem; margin-top: .25rem; }
.idea__say p { flex: 1; margin: 0; color: var(--ar-body-color); font-size: .85rem; line-height: 1.95; }
.idea__say .idea__plain { color: var(--ar-secondary-color); }
.idea__warn { color: #b45309; font-size: .72rem; }
.idea__acts { display: flex; flex-wrap: wrap; gap: .375rem; }
.idea__act { display: inline-flex; align-items: center; gap: .25rem; padding: .375rem .7rem; border: 1px solid var(--soft-line); border-radius: .75rem; background: var(--ar-body-bg); color: var(--ar-body-color); font-size: .78rem; font-weight: 700; text-decoration: none; }
.idea__act:first-child { color: color-mix(in srgb, var(--c) 85%, #000); }
[data-bs-theme='dark'] .idea__act:first-child { color: color-mix(in srgb, var(--c) 70%, #fff); }
.idea__act:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--soft-line)); }
.ideas-none { grid-column: 1 / -1; }

/* The market (/trader/market), as in the app: a question for the assistant, the most watched as cards, every price as a row. */
.mkt { display: grid; gap: 1.25rem; width: 100%; max-width: 64rem; margin-inline: auto; }
.mkt-hero { position: relative; display: grid; justify-items: center; gap: .5rem; padding: 1.5rem 1rem .5rem; text-align: center; }
.mkt-hero__orb { width: 4rem; height: 4rem; }
.mkt-hero h1 { margin: .25rem 0 0; color: var(--ar-heading-color); font-size: 1.5rem; font-weight: 900; }
.mkt-hero p { margin: 0; color: var(--ar-secondary-color); font-size: .875rem; }
.mkt-prompt { display: flex; align-items: center; gap: .5rem; width: min(36rem, 100%); margin-top: .75rem; padding: .375rem .375rem .375rem .875rem; border: 1px solid color-mix(in srgb, var(--ar-primary) 35%, var(--soft-line)); border-radius: 1rem; background: var(--ar-body-bg); box-shadow: 0 .5rem 2rem -1rem rgba(106, 56, 255, .55); }
.mkt-prompt input { flex: 1; min-width: 0; padding: .5rem; border: 0; outline: 0; background: transparent; color: var(--ar-heading-color); font-size: .9375rem; }
.mkt-prompt button { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: .75rem; background: var(--ar-primary); color: #fff; }
.mkt-starts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .25rem; }
.mkt-start { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border: 1px solid var(--soft-line); border-radius: 50rem; background: var(--ar-body-bg); color: var(--ar-body-color); font-size: .78rem; }
.mkt-start i { color: var(--ar-secondary-color); }
.mkt-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem; }
.mkt-link { display: flex; align-items: center; gap: .75rem; padding: .875rem 1rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); color: inherit; text-decoration: none; }
.mkt-link > span:first-child { font-size: 1.5rem; }
.mkt-link > span:nth-child(2) { display: grid; flex: 1; }
.mkt-link strong { color: var(--ar-heading-color); font-size: .875rem; }
.mkt-link small { color: var(--ar-secondary-color); font-size: .72rem; }
.mkt-link i { color: var(--ar-secondary-color); }
.mkt-link:hover { border-color: color-mix(in srgb, var(--ar-primary) 35%, var(--soft-line)); }
.mkt-label { margin: 0 0 .625rem; color: var(--ar-secondary-color); font-size: .8125rem; font-weight: 700; }
.mkt-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; }
.mkt-area { --c: #6a38ff; display: grid; border: 1px solid color-mix(in srgb, var(--c) 20%, var(--soft-line)); border-radius: 1.25rem; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 10%, var(--ar-body-bg)), var(--ar-body-bg) 70%); overflow: hidden; }
.mkt-area--Currency { --c: #3b82f6; }
.mkt-area--Gold, .mkt-area--Coin { --c: #d97706; }
.mkt-area--Crypto { --c: #f97316; }
.mkt-area__main { display: grid; gap: .25rem; padding: .875rem .875rem .25rem; color: inherit; text-decoration: none; }
.mkt-area__head { display: flex; align-items: center; justify-content: space-between; }
.mkt-area__head img { border-radius: 50%; }
.mkt-area__main > strong { color: var(--ar-heading-color); font-size: .9375rem; font-weight: 800; }
.mkt-area__price { color: var(--ar-heading-color); font-size: 1.125rem; font-weight: 900; }
.mkt-area__price small { color: var(--ar-secondary-color); font-size: .7rem; font-weight: 600; }
.mkt-area .mkt-spark { width: 100%; height: 2.125rem; }
.mkt-area__go { display: flex; align-items: center; justify-content: center; gap: .25rem; padding: .5rem; border: 0; border-top: 1px solid color-mix(in srgb, var(--c) 15%, var(--soft-line)); background: transparent; color: color-mix(in srgb, var(--c) 85%, #000); font-size: .78rem; font-weight: 800; }
[data-bs-theme='dark'] .mkt-area__go { color: color-mix(in srgb, var(--c) 70%, #fff); }
.mkt-trend { font-size: .72rem; font-weight: 700; }
.mkt-trend--up { color: #16a34a; }
.mkt-trend--down { color: #dc2626; }
.mkt-trend--sideways { color: #3b82f6; }
.mkt-dot { display: inline-block; width: .45rem; height: .45rem; margin-inline-start: .375rem; border-radius: 50%; background: currentColor; vertical-align: middle; }
.mkt-spark__line { fill: none; stroke-width: 1.75; vector-effect: non-scaling-stroke; }
.mkt-spark__area { stroke: none; opacity: .14; }
.mkt-spark--up .mkt-spark__line { stroke: #16a34a; } .mkt-spark--up .mkt-spark__area { fill: #16a34a; }
.mkt-spark--down .mkt-spark__line { stroke: #dc2626; } .mkt-spark--down .mkt-spark__area { fill: #dc2626; }
.mkt-spark--flat .mkt-spark__line { stroke: var(--ar-secondary-color); } .mkt-spark--flat .mkt-spark__area { fill: var(--ar-secondary-color); }
.mkt-all__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .75rem; }
.mkt-all__head .mkt-label { margin: 0; }
.mkt-all__head .ideas-chips { flex: none; }
.mkt-search { display: flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border: 1px solid var(--soft-line); border-radius: .75rem; }
.mkt-search i { color: var(--ar-secondary-color); }
.mkt-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ar-heading-color); font-size: .875rem; }
.mkt-groups { margin: .625rem 0 .5rem; }
.mkt-rows { display: grid; }
.mkt-row { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 6rem auto; align-items: center; gap: .75rem; padding: .625rem .375rem; border-bottom: 1px solid var(--soft-line); color: inherit; text-decoration: none; }
.mkt-row:last-child { border-bottom: 0; }
.mkt-row:hover { background: color-mix(in srgb, var(--soft-line) 40%, transparent); }
.mkt-row__icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; overflow: hidden; border-radius: 50%; background: var(--soft-line); font-weight: 800; }
.mkt-row__name { display: grid; min-width: 0; }
.mkt-row__name strong { overflow: hidden; color: var(--ar-heading-color); font-size: .875rem; white-space: nowrap; text-overflow: ellipsis; }
.mkt-row__name small { color: var(--ar-secondary-color); font-size: .7rem; }
.mkt-row__spark { width: 6rem; height: 1.875rem; }
.mkt-row__end { display: grid; justify-items: end; gap: .125rem; }
.mkt-row__end strong { color: var(--ar-heading-color); font-size: .875rem; }
.mkt-stale { color: #b45309; font-size: .7rem; font-weight: 700; }
@media (max-width: 575.98px) {
    .mkt-row { grid-template-columns: 2.25rem minmax(0, 1fr) auto; }
    .mkt-row__spark { display: none; }
    .mkt-all__head { flex-wrap: wrap; }
    .ideas-banners { grid-auto-columns: 78%; }
}

/* Dara Pro's orb: the same glass, made premium; a dark core, a gold rim, gold, emerald and sky turning inside. */
.asst-orb--pro { background: radial-gradient(circle at 50% 60%, #1e293b 0%, #111827 55%, #070b14 100%); box-shadow: inset 0 0 0 1.5px rgba(247, 181, 0, .75), inset 0 -6px 14px rgba(247, 181, 0, .22), 0 10px 30px -10px rgba(247, 181, 0, .6), 0 0 40px -6px rgba(16, 185, 129, .3); }
.asst-orb--pro i { background: conic-gradient(from 0deg, #f7b500, #fde68a 18%, transparent 30%, #10b981 48%, transparent 62%, #f59e0b 78%, #f7b500); filter: blur(7px) saturate(1.5) brightness(1.15); mix-blend-mode: screen; opacity: .8; }
.asst-orb--pro::after { background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .16) 14%, transparent 28%), radial-gradient(circle at 50% 58%, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, .2) 38%, transparent 55%), radial-gradient(circle, transparent 60%, rgba(247, 181, 0, .3) 84%, rgba(253, 230, 138, .7) 100%); }
.asst-orb--pro.asst-orb--sm, .asst-orb--pro.asst-orb--avatar { box-shadow: inset 0 0 0 1.5px rgba(247, 181, 0, .8), 0 4px 12px -4px rgba(247, 181, 0, .6); }
.asst-orb--pro.asst-orb--busy { animation: asst-breathe-pro 1.6s ease-in-out infinite; }
@keyframes asst-breathe-pro { 50% { transform: scale(1.08); box-shadow: inset 0 0 0 1.5px rgba(253, 230, 138, .95), 0 0 18px 2px rgba(247, 181, 0, .55); } }
.asst-orb--tab { width: 1rem; height: 1rem; vertical-align: -.2rem; }
.asst-orb--tab i, .asst-orb--btn i { filter: blur(3px); }
.tp-ask .asst-orb--pro { box-shadow: inset 0 0 0 1.5px rgba(253, 230, 138, .9), 0 0 10px -2px rgba(247, 181, 0, .8); }
@media (prefers-reduced-motion: reduce) { .asst-orb--pro.asst-orb--busy { animation: none; } }

/* The trader's overview (/trader): the day in a sentence, the four steps of a trade, the key prices, today's setup explained, the tools and the words. */
.lx-icon { display: grid; flex-shrink: 0; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: .875rem; background: color-mix(in srgb, var(--c, var(--ar-primary)) 16%, transparent); color: var(--c, var(--ar-primary)); font-size: 1.125rem; }
.ov { display: grid; gap: 1.25rem; width: 100%; max-width: 80rem; margin-inline: auto; }
.ov-title { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--ar-heading-color); font-size: 1.0625rem; font-weight: 800; }
.ov-card { display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1.25rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: var(--ar-body-bg); }
.ov-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.ov-card__head p { margin: .25rem 0 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.ov-more { flex-shrink: 0; color: var(--ar-primary); font-size: .8125rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ov-more--block { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding: .7rem .9rem; border-radius: .8rem; background: color-mix(in srgb, var(--soft-line) 45%, transparent); color: var(--ar-heading-color); white-space: normal; }
.ov-empty { margin: 0; padding: 1rem; border-radius: .8rem; background: color-mix(in srgb, var(--soft-line) 35%, transparent); color: var(--ar-secondary-color); font-size: .875rem; text-align: center; }
.ov-orb { width: 1.5rem; height: 1.5rem; clip-path: circle(50%); }
.ov-orb i { filter: blur(3px); }

.ov-hello { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.5rem; border: 1px solid var(--soft-line); border-radius: 1.25rem; background: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--ar-primary) 9%, transparent), transparent 70%), var(--ar-body-bg); }
.ov-hello h1 { margin: 0 0 .35rem; font-size: 1.6rem; font-weight: 900; }
.ov-hello__day { margin: 0 0 .25rem; color: var(--ar-secondary-color); font-size: .8125rem; }
.ov-hello__mood { margin: 0; color: var(--ar-body-color); font-size: .95rem; }
.ov-find { display: flex; align-items: center; gap: .75rem; width: min(100%, 24rem); padding: .8rem 1rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: color-mix(in srgb, var(--soft-line) 30%, var(--ar-body-bg)); color: var(--ar-heading-color); font-size: .95rem; font-weight: 700; text-align: start; transition: border-color .2s; }
.ov-find:hover { border-color: color-mix(in srgb, var(--ar-primary) 45%, var(--soft-line)); }
.ov-find > i { color: var(--ar-secondary-color); font-size: 1.15rem; }
.ov-find > span { flex: 1; }
.ov-find small { display: block; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 500; }
.ov-find kbd { padding: .15rem .4rem; border: 1px solid var(--soft-line); border-radius: .4rem; background: var(--ar-body-bg); color: var(--ar-secondary-color); font-size: .72rem; }

.ov-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: .75rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.ov-step { position: relative; display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); color: inherit; text-decoration: none; transition: border-color .2s, transform .15s; }
.ov-step:hover { border-color: color-mix(in srgb, var(--ar-primary) 45%, var(--soft-line)); transform: translateY(-2px); }
.ov-step__num { position: absolute; inset-block-start: .9rem; inset-inline-end: 1rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: color-mix(in srgb, var(--soft-line) 60%, transparent); color: var(--ar-secondary-color); font-size: .75rem; font-weight: 800; }
.ov-step__icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: .35rem; border-radius: .75rem; background: color-mix(in srgb, var(--ar-primary) 10%, transparent); color: var(--ar-primary); font-size: 1.15rem; }
.ov-step strong { color: var(--ar-heading-color); font-size: .95rem; }
.ov-step small { color: var(--ar-secondary-color); font-size: .8rem; line-height: 1.7; }
.ov-step__go { margin-top: auto; padding-top: .4rem; color: var(--ar-primary); font-size: .8rem; font-weight: 700; }

.ov-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.ov-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.ov-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ov-table { display: flex; flex-direction: column; }
.ov-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 5rem 6.5rem 7.5rem; align-items: center; gap: .75rem; padding: .65rem .5rem; border-bottom: 1px solid color-mix(in srgb, var(--soft-line) 70%, transparent); }
.ov-row:last-child { border-bottom: 0; }
.ov-row--head { padding-block: .25rem .5rem; color: var(--ar-secondary-color); font-size: .75rem; font-weight: 700; }
.ov-row:not(.ov-row--head):hover { background: color-mix(in srgb, var(--soft-line) 25%, transparent); }
.ov-row__name { display: flex; align-items: center; gap: .6rem; min-width: 0; color: inherit; text-decoration: none; }
.ov-row__name img { flex-shrink: 0; border-radius: 50%; }
.ov-row__name span { min-width: 0; }
.ov-row__name b { display: block; overflow: hidden; color: var(--ar-heading-color); font-size: .9rem; white-space: nowrap; text-overflow: ellipsis; }
.ov-row__name small { color: var(--ar-secondary-color); font-size: .72rem; }
.ov-row__price { color: var(--ar-heading-color); font-weight: 800; text-align: end; }
.ov-spark { display: block; width: 100%; height: 1.75rem; }
.ov-row__acts { display: flex; justify-content: flex-end; gap: .35rem; }
.ov-row__acts a { padding: .25rem .6rem; border: 1px solid var(--soft-line); border-radius: .55rem; color: var(--ar-heading-color); font-size: .75rem; font-weight: 700; text-decoration: none; }
.ov-row__acts a:hover { border-color: var(--ar-primary); color: var(--ar-primary); }
.ov-breadth { height: .4rem; overflow: hidden; border-radius: 1rem; background: color-mix(in srgb, #dc2626 55%, transparent); }
.ov-breadth span { display: block; height: 100%; background: #16a34a; }
.ov-breadth__note { margin: 0; color: var(--ar-secondary-color); font-size: .78rem; }

.ov-setup { background: radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, #F7B500 10%, transparent), transparent 70%), var(--ar-body-bg); }
.ov-setup__what { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: inherit; text-decoration: none; }
.ov-setup__what b { color: var(--ar-heading-color); font-size: 1.05rem; }
.ov-setup__what small { color: var(--ar-secondary-color); font-size: .8rem; }
.ov-setup__rr { margin-inline-start: auto; padding: .1rem .5rem; border-radius: .5rem; background: color-mix(in srgb, var(--ar-primary) 10%, transparent); color: var(--ar-primary); font-size: .75rem; font-weight: 800; }
.ov-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.ov-levels > div { display: flex; flex-direction: column; gap: .15rem; padding: .7rem .75rem; border: 1px solid var(--soft-line); border-top: 3px solid var(--ar-primary); border-radius: .8rem; background: var(--ar-body-bg); }
.ov-levels .is-up { border-top-color: #16a34a; }
.ov-levels .is-down { border-top-color: #dc2626; }
.ov-levels dt { color: var(--ar-secondary-color); font-size: .72rem; font-weight: 700; }
.ov-levels dd { margin: 0; color: var(--ar-heading-color); font-size: .85rem; font-weight: 800; }
.ov-levels small { color: var(--ar-secondary-color); font-size: .7rem; }
.ov-signal, .ov-news, .ov-idea { display: flex; align-items: center; gap: .65rem; padding: .6rem .5rem; border-radius: .7rem; color: inherit; text-decoration: none; }
.ov-signal:hover, .ov-news:hover, .ov-idea:hover { background: color-mix(in srgb, var(--soft-line) 30%, transparent); }
.ov-signal > span:last-child, .ov-news { min-width: 0; }
.ov-signal b, .ov-news b { display: block; overflow: hidden; color: var(--ar-heading-color); font-size: .875rem; white-space: nowrap; text-overflow: ellipsis; }
.ov-signal small, .ov-news small { color: var(--ar-secondary-color); font-size: .75rem; }
.ov-news { flex-direction: column; align-items: stretch; gap: .15rem; }
.ov-idea b { flex: 1; min-width: 0; overflow: hidden; color: var(--ar-heading-color); font-size: .875rem; white-space: nowrap; text-overflow: ellipsis; }
.ov-idea__fact { display: inline-flex; align-items: center; gap: .35rem; }
.ov-idea__fact small { color: var(--ar-secondary-color); font-size: .7rem; }

.ov-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.ov-tool { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); color: inherit; text-decoration: none; transition: border-color .2s; }
.ov-tool:hover { border-color: color-mix(in srgb, var(--ar-primary) 45%, var(--soft-line)); }
.ov-tool > i { display: grid; flex-shrink: 0; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; background: color-mix(in srgb, var(--soft-line) 50%, transparent); color: var(--ar-heading-color); font-size: 1.1rem; }
.ov-tool .ov-orb { width: 2.25rem; height: 2.25rem; }
.ov-tool b { display: block; color: var(--ar-heading-color); font-size: .875rem; }
.ov-tool small { color: var(--ar-secondary-color); font-size: .75rem; }
.ov-tool--premium > i { background: color-mix(in srgb, #F7B500 18%, transparent); color: #B07F00; }

.ov-words { border: 1px solid var(--soft-line); border-radius: 1rem; background: var(--ar-body-bg); }
.ov-words summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1rem 1.1rem; color: var(--ar-heading-color); font-size: .95rem; font-weight: 800; cursor: pointer; list-style: none; }
.ov-words summary::-webkit-details-marker { display: none; }
.ov-words summary i { color: var(--ar-primary); font-size: 1.1rem; }
.ov-words summary small { color: var(--ar-secondary-color); font-size: .78rem; font-weight: 500; }
.ov-words dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.5rem; margin: 0; padding: 0 1.1rem 1.1rem; }
.ov-words dt { color: var(--ar-heading-color); font-size: .85rem; }
.ov-words dd { margin: .15rem 0 0; color: var(--ar-secondary-color); font-size: .8rem; line-height: 1.8; }

@media (max-width: 1199.98px) { .ov-main { grid-template-columns: minmax(0, 1fr); } .ov-steps ol, .ov-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ov-pair, .ov-words dl { grid-template-columns: minmax(0, 1fr); } .ov-hide-sm { display: none; } .ov-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 4.5rem; } .ov-row__acts { display: none; } }
@media (max-width: 575.98px) { .ov-steps ol, .ov-tools { grid-template-columns: minmax(0, 1fr); } .ov-levels { grid-template-columns: minmax(0, 1fr); } .ov-hello h1 { font-size: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { .ov-step { transition: none; } .ov-step:hover { transform: none; } }

/* A site page in the trader's panel: no room for the site's bar above, no breadcrumbs (the menu says where), the panel's width. */
.tp-site { width: 100%; max-width: 76rem; margin-inline: auto; }
.tp-site .page-top { padding-top: .25rem; }
.tp-site .container, .tp-site .container-fluid { max-width: none; padding-inline: 0; }
.tp-site .breadcrumb, .tp-site nav[aria-label="breadcrumb"] { display: none; }
.tp-site section.pt-5 { padding-top: 1.5rem !important; }

/* The trade journal in the panel (/trader/journal), as in the app. */
.jr { display: grid; gap: 1rem; width: 100%; max-width: 64rem; margin-inline: auto; }
.jr-hero { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem; }
.jr-hero > div { flex: 1 1 20rem; }
.jr-hero__icon { --c: #6a38ff; width: 3rem; height: 3rem; font-size: 1.375rem; }
.jr-hero h1 { margin: 0; color: var(--ar-heading-color); font-size: 1.25rem; font-weight: 800; }
.jr-hero p { margin: 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.jr-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.jr-gate > div { flex: 1 1 18rem; }
.jr-gate h2 { margin: 0 0 .25rem; }
.jr-gate p { margin: 0; color: var(--ar-secondary-color); font-size: .8125rem; }
.jr-note { margin: 0; padding: .625rem .875rem; border-radius: .75rem; font-size: .8125rem; font-weight: 700; }
.jr-note--ok { background: color-mix(in srgb, #16a34a 12%, transparent); color: #15803d; }
.jr-note--bad { background: color-mix(in srgb, #dc2626 12%, transparent); color: #b91c1c; }
.jr-form h2 { margin-bottom: .75rem; }
.jr-form__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.jr-field { display: grid; gap: .375rem; margin: 0; }
.jr-field--wide { grid-column: span 2; }
.jr-field > span { color: var(--ar-heading-color); font-size: .78rem; font-weight: 700; }
.jr-field small { color: var(--ar-secondary-color); font-weight: 500; }
.jr-form__actions { display: flex; gap: .5rem; margin-top: 1rem; }
.jr-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.jr-stats .trader-stat strong { font-size: 1.25rem; }
.jr-stats .trader-stat strong small { display: block; font-size: .68rem; }
.jr-upsell { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; color: var(--ar-body-color); font-size: .8125rem; text-decoration: none; }
.jr-upsell i { color: #d97706; }
.jr-upsell span { margin-inline-start: auto; color: var(--ar-primary); font-weight: 800; }
.jr-tabs { justify-self: start; }
.jr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: .75rem; }
.jr-trade { --c: var(--ar-secondary-color); display: grid; gap: .625rem; padding: .875rem 1rem; border: 1px solid color-mix(in srgb, var(--c) 22%, var(--soft-line)); border-radius: 1.125rem; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 7%, var(--ar-body-bg)), var(--ar-body-bg) 70%); }
.jr-trade--up { --c: #16a34a; }
.jr-trade--down { --c: #dc2626; }
.jr-trade__head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.jr-trade__head a { color: var(--ar-heading-color); text-decoration: none; }
.jr-trade__head small { color: var(--ar-secondary-color); font-size: .72rem; }
.jr-trade__pnl { margin-inline-start: auto; font-size: .875rem; }
.jr-trade__levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: 0; }
.jr-trade__levels dt { color: var(--ar-secondary-color); font-size: .68rem; font-weight: 600; }
.jr-trade__levels dd { margin: 0; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 800; }
.jr-trade__levels dd.trader-up { color: #16a34a; }
.jr-trade__levels dd.trader-down { color: #dc2626; }
.jr-trade__note { margin: 0; color: var(--ar-body-color); font-size: .8rem; }
.jr-trade__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.jr-trade__foot small { color: var(--ar-secondary-color); font-size: .7rem; }
.jr-trade__acts { display: flex; flex-wrap: wrap; gap: .375rem; }
.jr-sure { display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; }
.jr-sure__yes { border-color: #dc2626 !important; color: #dc2626 !important; }
@media (max-width: 767.98px) {
    .jr-form__grid, .jr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jr-trade__levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Sign in (/account/login): what the account opens beside the form, on wide screens; just the form on phones. */
.login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 100vh; min-height: 100dvh; background: var(--soft-bg); }
.login-side { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 2.5rem 3rem; background: linear-gradient(160deg, #0D1B52 0%, #1B1060 55%, #3A1D9E 100%); color: #fff; }
.login-side__glow { position: absolute; inset: auto -20% -30% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 181, 0, .28), transparent); filter: blur(10px); pointer-events: none; }
.login-side__brand { position: relative; display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-size: 1.25rem; font-weight: 900; text-decoration: none; }
.login-side__body { position: relative; margin: auto 0; max-width: 28rem; }
.login-side__body h2 { margin-bottom: .75rem; color: #fff; font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.5; }
.login-side__body > p { margin-bottom: 2rem; color: rgba(255, 255, 255, .72); line-height: 2; }
.login-side__list { display: flex; flex-direction: column; gap: 1rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.login-side__list li { display: flex; align-items: center; gap: .875rem; }
.login-side__list i { display: grid; flex-shrink: 0; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: .875rem; background: rgba(255, 255, 255, .08); color: #F7B500; font-size: 1.25rem; }
.login-side__list strong { display: block; color: #fff; font-size: .95rem; }
.login-side__list small { color: rgba(255, 255, 255, .62); font-size: .8125rem; }
.login-side__card { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .625rem; padding: 1rem 1.125rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 1.125rem; background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.login-side__card small { color: rgba(255, 255, 255, .6); }
.login-side__card em { position: absolute; inset-block-start: .625rem; inset-inline-end: .75rem; color: rgba(255, 255, 255, .45); font-size: .7rem; font-style: normal; }
.login-side__levels { display: flex; gap: .375rem; width: 100%; }
.login-side__levels span { flex: 1; padding: .4rem; border-radius: .625rem; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: .75rem; font-weight: 700; text-align: center; }
.login-side__levels .is-up { background: rgba(34, 197, 94, .2); color: #86EFAC; }
.login-side__levels .is-down { background: rgba(239, 68, 68, .2); color: #FCA5A5; }
.login-side__fine { position: relative; margin: 0; color: rgba(255, 255, 255, .5); font-size: .8125rem; }

.login-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1rem; }
.login-main__brand { display: none; align-items: center; gap: .5rem; margin-bottom: 1.5rem; color: var(--ar-heading-color); font-size: 1.125rem; font-weight: 900; text-decoration: none; }
.login-card { width: 100%; max-width: 27rem; padding: 2rem 1.75rem; border: 1px solid var(--soft-line); border-radius: 1.75rem; background: var(--soft-card); box-shadow: 0 1.5rem 3.5rem -2rem rgba(13, 27, 82, .3); }
.login-card h1 { margin: 0 0 .5rem; color: var(--ar-heading-color); font-size: 1.6rem; font-weight: 900; }
.login-lead { margin: 0 0 1.5rem; color: var(--ar-secondary-color); font-size: .9rem; line-height: 1.9; }
.login-steps { display: flex; gap: .375rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.login-steps li { display: flex; flex: 1; flex-direction: column; gap: .5rem; color: var(--ar-secondary-color); font-size: .72rem; font-weight: 700; }
.login-steps li::before { content: ''; height: 4px; border-radius: 4px; background: var(--soft-line); }
.login-steps .is-on::before, .login-steps .is-done::before { background: #6A38FF; }
.login-steps .is-on { color: var(--ar-heading-color); }
.login-steps__dot { display: none; }
.login-label { display: block; margin-bottom: .45rem; color: var(--ar-heading-color); font-size: .8125rem; font-weight: 700; }
.login-label small { color: var(--ar-secondary-color); font-weight: 500; }
.login-field { display: flex; align-items: center; gap: .625rem; padding: 0 1rem; border: 1.5px solid var(--soft-line); border-radius: 1rem; background: var(--soft-panel); transition: border-color .2s, box-shadow .2s, background .2s; }
.login-field:focus-within { border-color: #6A38FF; background: var(--soft-card); box-shadow: 0 0 0 4px rgba(106, 56, 255, .12); }
.login-field.is-invalid { border-color: #DC2626; }
.login-field i { color: var(--ar-secondary-color); font-size: 1.15rem; }
.login-field input { flex: 1; min-width: 0; height: 3.25rem; border: 0; outline: 0; background: none; color: var(--ar-heading-color); font: inherit; font-size: 1.05rem; font-weight: 600; }
.login-field input[dir='ltr'] { letter-spacing: .04em; text-align: left; }
.login-field input::placeholder { color: var(--ar-secondary-color); opacity: .6; font-weight: 500; }
.login-otp { position: relative; }
.login-otp input { width: 100%; height: 3.5rem; padding: 0 1rem; border: 1.5px solid var(--soft-line); border-radius: 1rem; background: var(--soft-panel); color: var(--ar-heading-color); font-size: 1.5rem; letter-spacing: .5em; text-align: center; }
.login-otp__boxes { display: none; }
.login-otp.is-js input { position: absolute; inset: 0; z-index: 2; height: 100%; border: 0; outline: 0; box-shadow: none; background: transparent; color: transparent; caret-color: transparent; letter-spacing: 0; }
.login-otp.is-js input::selection { background: transparent; }
.login-otp.is-js .login-otp__boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.login-otp__boxes span { display: grid; place-items: center; height: 3.5rem; border: 1.5px solid var(--soft-line); border-radius: .875rem; background: var(--soft-panel); color: var(--ar-heading-color); font-size: 1.5rem; font-weight: 800; transition: border-color .15s, background .15s, transform .15s; }
.login-otp__boxes .is-filled { border-color: color-mix(in srgb, #6A38FF 40%, var(--soft-line)); background: var(--soft-card); }
.login-otp:focus-within .login-otp__boxes .is-on { border-color: #6A38FF; background: var(--soft-card); box-shadow: 0 0 0 4px rgba(106, 56, 255, .12); }
.login-otp:focus-within .login-otp__boxes .is-on:not(.is-filled)::after { content: ''; width: 2px; height: 1.5rem; background: #6A38FF; animation: login-caret 1s steps(1) infinite; }
@keyframes login-caret { 50% { opacity: 0; } }
.login-error { display: flex; align-items: center; gap: .375rem; margin: .625rem 0 0; color: #DC2626; font-size: .8125rem; font-weight: 600; }
.login-dev { margin: .625rem 0 0; color: var(--ar-secondary-color); font-size: .75rem; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; height: 3.25rem; margin-top: 1.25rem; border: 0; border-radius: 1rem; background: linear-gradient(135deg, #6A38FF, #4B2BC4); box-shadow: 0 .75rem 1.5rem -.75rem rgba(106, 56, 255, .7); color: #fff; font-size: 1rem; font-weight: 800; transition: transform .15s, opacity .2s; }
.login-submit:active { transform: scale(.98); }
.login-submit:disabled { opacity: .7; }
.login-spin { display: inline-block; width: 1rem; height: 1rem; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; vertical-align: -.15rem; animation: login-spin .7s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }
.login-link { padding: 0; border: 0; background: none; color: #6A38FF; font-size: inherit; font-weight: 700; }
.login-fine { margin: 1rem 0 0; color: var(--ar-secondary-color); font-size: .78rem; text-align: center; }
.login-back { margin: 1.25rem 0 0; font-size: .8125rem; }
.login-back a { color: var(--ar-secondary-color); text-decoration: none; }
@media (max-width: 991.98px) { .login { grid-template-columns: minmax(0, 1fr); } .login-side { display: none; } .login-main { justify-content: flex-start; padding-top: 2.5rem; } .login-main__brand { display: inline-flex; } }
@media (max-width: 575.98px) { .login-card { padding: 1.5rem 1.125rem; border-radius: 1.5rem; } .login-otp__boxes { gap: .375rem; } }
@media (prefers-reduced-motion: reduce) { .login-spin, .login-otp__boxes .is-on::after { animation: none; } }
