:root {
  --paper: #f5efe2;
  --paper-deep: #e8dcc7;
  --ink: #090909;
  --ink-soft: #1b1a18;
  --ink-muted: #5a544b;
  --line: rgba(9, 9, 9, 0.14);
  --red: #bd1f1f;
  --crimson: #dc1f42;
  --red-deep: #7d1111;
  --gold: #c59a3a;
  --gold-soft: #e8b85a;
  --green: #178a55;
  --white: #fffaf0;
  --shadow: 0 24px 80px rgba(15, 8, 3, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(189, 31, 31, 0.1), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(197, 154, 58, 0.16), transparent 26rem),
    linear-gradient(90deg, rgba(9, 9, 9, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(9, 9, 9, 0.03) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.38;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), transparent 34%),
    radial-gradient(circle at 30% 40%, rgba(9, 9, 9, 0.055) 0 1px, transparent 1px),
    radial-gradient(circle at 65% 55%, rgba(9, 9, 9, 0.045) 0 1px, transparent 1px);
  background-size: auto, 18px 18px, 23px 23px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.samurai-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.section-aurora {
  position: relative;
  isolation: isolate;
}

.section-aurora:not(.hero-section)::before {
  position: absolute;
  inset: -12% -4%;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.65;
  background:
    radial-gradient(circle at 18% 8%, rgba(220, 31, 66, 0.1), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(232, 184, 90, 0.08), transparent 28%);
  filter: blur(18px);
}

.card-glow {
  border-color: rgba(139, 15, 34, 0.55);
  box-shadow:
    10px 10px 0 rgba(9, 9, 9, 0.08),
    0 0 22px rgba(220, 31, 66, 0.09),
    inset 0 0 18px rgba(232, 184, 90, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card-glow:hover {
  border-color: rgba(220, 31, 66, 0.45);
  box-shadow:
    10px 10px 0 rgba(9, 9, 9, 0.08),
    0 0 28px rgba(220, 31, 66, 0.14),
    inset 0 0 20px rgba(232, 184, 90, 0.055);
}

.light-sweep {
  position: relative;
  overflow: hidden;
}

.light-sweep::after {
  position: absolute;
  top: -45%;
  left: -70%;
  width: 34%;
  height: 190%;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 250, 240, 0.1),
    rgba(232, 184, 90, 0.14),
    transparent
  );
  transform: rotate(18deg);
  animation: lightSweep 7.5s ease-in-out infinite;
}

.cta-gold-glow {
  border-color: rgba(232, 184, 90, 0.78);
  box-shadow:
    7px 7px 0 rgba(9, 9, 9, 0.16),
    0 0 18px rgba(232, 184, 90, 0.22),
    0 0 34px rgba(220, 31, 66, 0.12);
}

.cta-gold-glow:hover,
.cta-gold-glow:focus-visible {
  box-shadow:
    10px 10px 0 rgba(9, 9, 9, 0.18),
    0 0 22px rgba(232, 184, 90, 0.3),
    0 0 44px rgba(220, 31, 66, 0.16);
}

.metric-glow .stat-value {
  text-shadow: 0 0 14px rgba(232, 184, 90, 0.18);
}

.metric-glow .value-win {
  color: var(--gold-soft);
}

.metric-glow .value-loss {
  text-shadow: 0 0 14px rgba(220, 31, 66, 0.16);
}

.samurai-divider {
  width: min(1040px, calc(100% - 40px));
  height: 14px;
  margin: clamp(28px, 5vw, 58px) auto;
  opacity: 0.82;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(139, 15, 34, 0.9) 14% 64%, rgba(232, 184, 90, 0.7) 76%, transparent 100%),
    radial-gradient(ellipse at 22% 50%, rgba(5, 5, 5, 0.72), transparent 54%);
  clip-path: polygon(0 47%, 9% 27%, 58% 37%, 100% 14%, 92% 62%, 31% 74%);
}

@keyframes lightSweep {
  0%,
  42% {
    left: -70%;
    opacity: 0;
  }

  52% {
    opacity: 0.85;
  }

  78%,
  100% {
    left: 130%;
    opacity: 0;
  }
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: clamp(28px, 4vw, 72px);
  isolation: isolate;
  border-bottom: 10px solid var(--ink);
  background: var(--paper);
}

.hero-section::before {
  position: absolute;
  inset: 22px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(9, 9, 9, 0.14);
}

.hero-section::after {
  position: absolute;
  left: clamp(18px, 4vw, 72px);
  bottom: clamp(22px, 4vw, 72px);
  z-index: -1;
  width: min(48vw, 720px);
  height: 52px;
  content: "";
  opacity: 0.9;
  transform: rotate(-2deg);
  background:
    linear-gradient(90deg, transparent 0 4%, var(--ink) 8% 72%, transparent 100%),
    radial-gradient(ellipse at 20% 55%, var(--ink) 0 28%, transparent 30%);
  filter: blur(0.2px);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(245, 239, 226, 0.98) 0%, rgba(245, 239, 226, 0.92) 34%, rgba(245, 239, 226, 0.54) 58%, rgba(245, 239, 226, 0.16) 100%),
    url("/assets/ronin-logo.png");
  background-position: center, right 6% center;
  background-repeat: no-repeat;
  background-size: cover, min(58vw, 780px) auto;
}

.ink-smoke .hero-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.44;
  background:
    radial-gradient(circle at 72% 34%, rgba(139, 15, 34, 0.18), transparent 28%),
    radial-gradient(circle at 64% 64%, rgba(5, 5, 5, 0.22), transparent 32%),
    radial-gradient(circle at 16% 72%, rgba(232, 184, 90, 0.08), transparent 24%);
  filter: blur(18px);
}

.ember-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.62;
  background-image:
    radial-gradient(circle, rgba(220, 31, 66, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(232, 184, 90, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(139, 15, 34, 0.38) 0 1.5px, transparent 2.5px);
  background-position: 76% 28%, 88% 56%, 66% 74%;
  background-size: 180px 180px, 240px 240px, 210px 210px;
  animation: emberDrift 14s linear infinite;
}

@keyframes emberDrift {
  from {
    transform: translate3d(0, 14px, 0);
  }

  to {
    transform: translate3d(0, -18px, 0);
  }
}

.hero-content {
  align-self: end;
  width: min(720px, 100%);
  max-width: 720px;
  min-width: 0;
  padding-bottom: clamp(8px, 2vw, 24px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 8px 14px 8px 8px;
  color: var(--red-deep);
  font-weight: 900;
  background: rgba(255, 250, 240, 0.74);
  border: 1px solid rgba(9, 9, 9, 0.2);
  border-radius: 999px;
  box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.08);
  backdrop-filter: blur(8px);
}

.brand-mark__sun {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(189, 31, 31, 0.1);
}

.brand-logo {
  display: inline-grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.05;
}

.brand-mark small {
  margin-top: 3px;
  color: var(--red-deep);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1,
.section-head h2,
.trust-card h2 {
  margin: 0;
  font-family: "Noto Serif Thai", "Noto Sans Thai", serif;
  line-height: 1.04;
}

.hero-content h1 {
  max-width: 100%;
  font-size: clamp(3.2rem, 8vw, 8.7rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content h1 span {
  display: block;
}

.hero-subtitle {
  margin: 16px 0 0;
  color: var(--red);
  font-size: clamp(1.35rem, 2.5vw, 2.4rem);
  font-weight: 900;
}

.hero-mantra {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 8px 14px;
  color: var(--white);
  font-weight: 800;
  background: var(--ink);
  border-left: 7px solid var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
}

.cta-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    var(--red);
  border: 1px solid var(--ink);
  border-radius: 5px;
  box-shadow: 7px 7px 0 rgba(9, 9, 9, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translate(-2px, -2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    var(--red-deep);
  box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.18);
}

.cta-button--dark {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%),
    var(--ink);
  border-color: var(--white);
}

.cta-note {
  max-width: 520px;
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.6;
}

.selector-panel {
  display: grid;
  grid-template-columns: minmax(130px, 170px) 1fr;
  gap: 14px;
  margin-top: 34px;
  padding: 14px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(9, 9, 9, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.selector-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.year-select,
.search-box input,
.filter-box select {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 4px;
  outline: none;
}

.year-select {
  padding: 0 12px;
}

.month-selector {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.month-btn {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 16px;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 4px;
  box-shadow: inset 0 -3px 0 rgba(9, 9, 9, 0.08);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.month-btn:hover,
.month-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--red);
}

.month-btn.is-active {
  color: var(--white);
  background: var(--red);
  border-color: var(--red-deep);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 64px) 18px;
}

.section-head--tight {
  padding-inline: 0;
}

.section-head--stack {
  align-items: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
}

.source-status {
  max-width: 430px;
  margin: 0;
  color: var(--ink-muted);
  font-weight: 700;
  text-align: right;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 4vw, 64px) clamp(34px, 5vw, 64px);
}

.stat-card {
  position: relative;
  min-height: 148px;
  padding: 18px;
  overflow: hidden;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 rgba(9, 9, 9, 0.08);
}

.stat-card::before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  content: "";
  background: var(--ink);
}

.stat-card.is-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.stat-card.is-dark::before,
.stat-card.is-win::before {
  background: var(--red);
}

.stat-card.is-loss::before {
  background: var(--red-deep);
}

.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: inherit;
  opacity: 0.78;
  font-size: 0.9rem;
  font-weight: 900;
}

.stat-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--red);
  border-radius: 50%;
}

.stat-value {
  margin-top: 18px;
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  word-break: break-word;
}

.stat-sub {
  margin-top: 10px;
  color: inherit;
  opacity: 0.66;
  font-size: 0.82rem;
  font-weight: 700;
}

.value-win {
  color: #13734a;
}

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

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

.charts-section,
.monthly-section,
.trade-log-section,
.trust-grid {
  padding: 0 clamp(20px, 4vw, 64px) clamp(42px, 6vw, 72px);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(20px, 4vw, 64px) clamp(42px, 6vw, 72px);
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(189, 31, 31, 0.88), rgba(9, 9, 9, 0.94)),
    var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.1);
}

.cta-strip h2 {
  margin: 0;
  font-family: "Noto Serif Thai", "Noto Sans Thai", serif;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.1;
}

.cta-strip p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-weight: 800;
  line-height: 1.7;
}

.cta-strip .kicker {
  color: var(--white);
}

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

.chart-card,
.table-panel,
.trust-card {
  background: rgba(255, 250, 240, 0.91);
  border: 1px solid var(--ink);
  border-radius: 8px;
  box-shadow: 10px 10px 0 rgba(9, 9, 9, 0.08);
}

.chart-card {
  min-height: 360px;
  padding: 16px;
}

.chart-card--wide {
  grid-column: span 2;
}

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

.chart-card__head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chart-card__head span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.chart-frame {
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(rgba(9, 9, 9, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.028) 1px, transparent 1px),
    rgba(255, 250, 240, 0.72);
  background-size: 38px 38px;
  border: 1px solid rgba(9, 9, 9, 0.12);
  border-radius: 4px;
}

.chart-premium .chart-frame {
  border-color: rgba(139, 15, 34, 0.22);
  box-shadow:
    inset 0 0 24px rgba(139, 15, 34, 0.045),
    inset 0 0 42px rgba(232, 184, 90, 0.03);
}

.chart-frame--donut {
  display: grid;
  place-items: center;
}

.chart-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.axis-text {
  fill: rgba(9, 9, 9, 0.56);
  font-size: 11px;
  font-weight: 800;
}

.chart-svg text {
  paint-order: stroke;
  stroke: rgba(255, 250, 240, 0.62);
  stroke-width: 3px;
  stroke-linejoin: round;
}

.equity-line {
  opacity: 0.96;
}

.equity-point {
  filter: drop-shadow(0 2px 4px rgba(5, 5, 5, 0.18));
}

.empty-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--ink-muted);
  font-weight: 900;
}

.table-panel {
  overflow: hidden;
}

.table-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.65;
  background: rgba(5, 5, 5, 0.035);
  border-top: 1px solid rgba(9, 9, 9, 0.1);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(9, 9, 9, 0.12);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--ink);
}

td {
  color: var(--ink-soft);
  font-weight: 800;
}

tr.is-selected-month td {
  background: rgba(189, 31, 31, 0.08);
}

.status-pill {
  display: inline-flex;
  min-width: 72px;
  justify-content: center;
  padding: 5px 10px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 999px;
}

.status-win {
  background: var(--green);
}

.status-loss {
  background: var(--red);
}

.status-no-trade {
  color: var(--ink);
  background: var(--paper-deep);
  border: 1px solid rgba(9, 9, 9, 0.22);
}

.row-no-trade td {
  color: rgba(9, 9, 9, 0.5);
  text-decoration: line-through;
  background: rgba(9, 9, 9, 0.035);
}

.empty-cell {
  color: var(--ink-muted);
  text-align: center;
}

.muted-dash {
  color: rgba(9, 9, 9, 0.38);
}

.points-positive {
  color: #13734a;
}

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

.trade-tools {
  display: flex;
  align-items: end;
  gap: 12px;
}

.search-box,
.filter-box {
  display: grid;
  gap: 7px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.search-box input {
  min-width: min(330px, 42vw);
  padding: 0 13px;
}

.filter-box select {
  min-width: 150px;
  padding: 0 10px;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-card {
  padding: clamp(22px, 4vw, 38px);
}

.trust-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

.trust-card p:last-child {
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.75;
}

.trust-card--red {
  color: var(--white);
  background: var(--ink);
  border-color: var(--red);
}

.trust-card--red .kicker,
.trust-card--red p:last-child {
  color: rgba(255, 250, 240, 0.8);
}

.loading {
  position: relative;
  opacity: 0.66;
}

.loading::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 250, 240, 0.62), transparent);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

@media (max-width: 1180px) {
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero-section {
    min-height: 720px;
  }

  .hero-art {
    background-image:
      linear-gradient(180deg, rgba(245, 239, 226, 0.98) 0%, rgba(245, 239, 226, 0.84) 48%, rgba(245, 239, 226, 0.22) 100%),
      url("/assets/ronin-logo.png");
    background-position: center, center bottom 34px;
    background-size: cover, min(78vw, 560px) auto;
  }

  .selector-panel {
    grid-template-columns: 1fr;
  }

  .section-head,
  .section-head--stack {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-status {
    text-align: left;
  }

  .stats-grid,
  .charts-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .chart-card--wide {
    grid-column: auto;
  }

  .trade-tools {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .search-box input,
  .filter-box select {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 760px;
    padding: 24px 16px;
  }

  .hero-section::before {
    inset: 12px;
  }

  .hero-content {
    align-self: start;
    padding-top: 20px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 12.5vw, 4rem);
  }

  .hero-mantra {
    display: flex;
    width: 100%;
  }

  .hero-actions,
  .cta-button {
    width: 100%;
  }

  .brand-mark {
    max-width: 100%;
    border-radius: 18px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .month-selector {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .month-btn {
    flex: 1 1 calc(50% - 8px);
  }

  .month-btn:first-child {
    flex-basis: 100%;
  }

  .section-head,
  .stats-grid,
  .charts-section,
  .monthly-section,
  .trade-log-section,
  .trust-grid {
    padding-inline: 14px;
  }

  .cta-strip {
    margin-inline: 14px;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    min-height: 132px;
  }

  .chart-card {
    min-height: 330px;
    padding: 12px;
  }

  .chart-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ember-layer {
    opacity: 0.38;
    animation-duration: 20s;
  }

  .light-sweep::after {
    display: none;
  }

  table {
    min-width: 860px;
  }

  th,
  td {
    padding: 11px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
