@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root {
  --cine-bg: #000;
  --cine-raised: #050505;
  --cine-fg: rgba(255,255,255,1);
  --cine-fg-2: rgba(255,255,255,0.80);
  --cine-fg-3: rgba(255,255,255,0.55);
  --cine-fg-4: rgba(255,255,255,0.35);
  --cine-fg-5: rgba(255,255,255,0.18);
  --cine-border: rgba(255,255,255,0.25);
  --cine-border-hi: rgba(255,255,255,0.55);
  --cine-glow-sm: 0 0 6px rgba(255,255,255,0.35), 0 0 14px rgba(255,255,255,0.12);
  --cine-glow-md: 0 0 8px rgba(255,255,255,0.50), 0 0 22px rgba(255,255,255,0.18), 0 0 40px rgba(255,255,255,0.06);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body.rwa-cup-page {
  margin: 0;
  min-height: 100%;
  background: #000 !important;
}

body.rwa-cup-page {
  color: var(--cine-fg);
  font-family: 'Space Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.55;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.rwa-root {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.035), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.026) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 4px),
    #050506;
  overflow: hidden;
}

.rwa-canvas,
.rwa-scanlines,
.rwa-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rwa-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.rwa-scanlines {
  z-index: 4;
  opacity: 0.72;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.052) 0,
    rgba(255,255,255,0.052) 1px,
    transparent 1px,
    transparent 3px
  );
}

.rwa-vignette {
  z-index: 5;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 48%, rgba(0,0,0,0.72) 100%);
}

.rwa-cine-nav {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.rwa-cine-nav .cine-nav-brand {
  text-decoration: none;
}

.rwa-cine-nav .cine-nav-tab,
.rwa-cine-nav .cine-nav-btn {
  white-space: nowrap;
}

.rwa-scroll {
  position: relative;
  z-index: 8;
  height: calc(100vh - 54px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}

.rwa-scroll::-webkit-scrollbar { width: 7px; }
.rwa-scroll::-webkit-scrollbar-track { background: transparent; }
.rwa-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); }

.rwa-reveal {
  min-height: calc(100vh - 136px);
  display: flex;
  flex-direction: column;
  padding: 36px 48px 30px;
}

.rwa-reveal-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.rwa-meta,
.rwa-kicker,
.rwa-reveal-stats,
.rwa-unlock-head,
.rwa-unlock-foot,
.rwa-panel-kicker,
.rwa-refresh,
.rwa-input-label,
.rwa-field span,
.rwa-calc-output span,
.rwa-event-strip span,
.rwa-market-groups span,
.rwa-prize-table span {
  color: var(--cine-fg-3);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rwa-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 14px rgba(255,255,255,0.25);
  animation: rwaPulse 2s ease-in-out infinite;
}

@keyframes rwaPulse {
  0%, 100% { opacity: 0.7; box-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 14px rgba(255,255,255,0.25); }
  50% { opacity: 1; box-shadow: 0 0 12px rgba(255,255,255,0.95), 0 0 28px rgba(255,255,255,0.35); }
}

.rwa-reveal-center {
  flex: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 0 18px;
}

.rwa-kicker {
  margin-bottom: 28px;
  color: var(--cine-fg-3);
}

.rwa-event-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,0.32);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.36);
}

.rwa-event-switch button {
  min-width: 156px;
  min-height: 40px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.62);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.rwa-event-switch button:last-child {
  border-right: 0;
}

.rwa-event-switch button.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    0 0 18px rgba(255,255,255,0.12);
}

.rwa-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 42px;
}

.rwa-lockup span {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.rwa-lockup i {
  color: var(--cine-fg-4);
  font-size: 22px;
  font-style: normal;
}

.rwa-lockup img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.4));
}

.rwa-reveal h1 {
  margin: 0 0 38px;
  color: #fff;
  font-size: clamp(42px, 6.8vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.30em;
  text-transform: uppercase;
}

.rwa-scan-strip {
  width: min(560px, 78vw);
  height: 64px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,0.04) 46px 47px);
}

.scan-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.26);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
  text-shadow: none;
}

.scan-track-reveal {
  color: #fff;
  clip-path: inset(0 100% 0 0);
  text-shadow: 0 0 16px rgba(255,255,255,0.46);
  animation: scanTextReveal 4.8s cubic-bezier(.4,0,.2,1) infinite;
}

.scan-window {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -26%;
  width: 26%;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.05) 24%, rgba(255,255,255,0.18) 52%, rgba(255,255,255,0.05) 76%, transparent),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.09), transparent);
  border-left: 1px solid rgba(255,255,255,0.22);
  border-right: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 0 22px rgba(255,255,255,0.12);
  animation: scanWindowMove 4.8s cubic-bezier(.4,0,.2,1) infinite;
}

.scan-window::after {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 50%;
  width: 1px;
  background: rgba(255,255,255,0.5);
  box-shadow: 0 0 12px rgba(255,255,255,0.55);
}

@keyframes scanWindowMove {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 1; }
  84% { opacity: 1; }
  100% { transform: translateX(485%); opacity: 0; }
}

@keyframes scanTextReveal {
  0%, 8% { clip-path: inset(0 100% 0 0); opacity: 0; }
  14% { opacity: 1; }
  84% { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 0; }
}

.rwa-reveal-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 24px;
  margin-bottom: 30px;
}

.rwa-reveal-stats b {
  color: #fff;
  font-weight: 700;
}

.rwa-unlock {
  width: min(680px, 100%);
  margin-bottom: 28px;
}

.rwa-unlock-head,
.rwa-unlock-foot,
.rwa-progress-head,
.rwa-progress-foot,
.rwa-panel-head,
.rwa-pair-top,
.rwa-pair-metric,
.rwa-range-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.rwa-unlock-head {
  margin-bottom: 10px;
}

.rwa-unlock-head b,
.rwa-progress-head b {
  color: #fff;
  font-size: 11px;
}

.rwa-progress {
  height: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.rwa-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg,#ff3b3b,#ff9130,#ffd23b,#3fdc6b,#3fb3ff,#6b5cff,#c94bff);
  box-shadow: 0 0 10px rgba(63,179,255,0.5);
  transition: width 480ms cubic-bezier(0.22,1,0.36,1);
}

.rwa-unlock-foot {
  margin-top: 10px;
}

.rwa-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.rwa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

.rwa-btn:hover {
  border-color: #fff;
  box-shadow: var(--cine-glow-sm);
}

.rwa-btn.primary {
  border-color: #fff;
  box-shadow: var(--cine-glow-md);
}

.rwa-event-strip,
.rwa-panel {
  position: relative;
  width: min(1480px, calc(100vw - 56px));
  min-width: 0;
  margin: 0 auto 22px;
  border: 1px solid rgba(255,255,255,0.30);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.010) 100%),
    rgba(0,0,0,0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.018),
    0 1px 0 rgba(0,0,0,0.6),
    0 16px 36px -22px rgba(0,0,0,0.95);
}

.rwa-event-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.rwa-event-strip > div,
.rwa-market-groups > div,
.rwa-prize-table > div,
.rwa-prize-grid > div,
.rwa-pair-card,
.rwa-calc-output > div,
.rwa-rank-result {
  border: 1px solid rgba(255,255,255,0.18);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.012) 42%, rgba(255,255,255,0.004) 100%),
    #0f0f14;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    0 1px 0 rgba(0,0,0,0.6),
    0 6px 14px -10px rgba(0,0,0,0.9);
  padding: 16px;
}

.rwa-event-strip b,
.rwa-market-groups b,
.rwa-prize-table b {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.rwa-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 22px;
  width: min(1480px, calc(100vw - 56px));
  margin: 0 auto 22px;
}

.rwa-grid-two > * {
  min-width: 0;
}

.rwa-grid-two .rwa-panel {
  width: auto;
  margin: 0;
}

.rwa-panel {
  padding: 24px;
}

.rwa-panel-head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.rwa-panel h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rwa-scanner-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.28);
}

.rwa-scanner-toolbar > div {
  min-height: 62px;
  min-width: 210px;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.010) 0 2px, transparent 2px 5px),
    rgba(255,255,255,0.020);
}

.rwa-scanner-toolbar > div,
.rwa-mini-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rwa-scanner-toolbar > div > span,
.rwa-mini-field > span {
  color: rgba(255,255,255,0.48);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rwa-scanner-toolbar b {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-market-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.42);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.34);
}

.rwa-market-tabs button {
  min-width: 116px;
  min-height: 38px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,0.54);
  font: 700 10px/1 'Space Mono', ui-monospace, monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.rwa-market-tabs button:last-child {
  border-right: 0;
}

.rwa-market-tabs button.active {
  background:
    linear-gradient(90deg, rgba(20,241,149,0.14), rgba(255,255,255,0.06));
  color: #fff;
  box-shadow:
    inset 0 -1px 0 rgba(20,241,149,0.88),
    inset 0 0 0 1px rgba(20,241,149,0.14),
    0 0 18px rgba(20,241,149,0.10);
}

.rwa-scanner-toolbar > .rwa-market-mode {
  min-width: 236px;
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
}

.rwa-scanner-toolbar > .rwa-market-mode > span {
  margin-bottom: 2px;
}

.rwa-mini-field {
  min-width: 142px;
}

.rwa-mini-field .rwa-select {
  min-height: 40px;
  font-size: 11px;
}

.rwa-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.rwa-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.rwa-table th,
.rwa-table td {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 9px;
  text-align: left;
  font-size: 12px;
}

.rwa-table th {
  color: var(--cine-fg-3);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rwa-rank-1 td:first-child,
.rwa-rank-2 td:first-child,
.rwa-rank-3 td:first-child {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.28);
}

.rwa-loading {
  color: var(--cine-fg-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rwa-input-label {
  display: block;
  margin-bottom: 8px;
}

.rwa-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.rwa-input,
.rwa-select {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font: 14px/1 'Space Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  border-radius: 0;
}

.rwa-input::placeholder {
  color: var(--cine-fg-4);
}

.rwa-select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.74) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.74) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.rwa-select option {
  background: #050505;
  color: #fff;
}

.rwa-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rwa-cine-select {
  position: relative;
  width: 100%;
}

.rwa-cine-trigger {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.55);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.24);
  color: #fff;
  padding: 0 12px;
  font: 14px/1 'Space Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-align: left;
  cursor: pointer;
}

.rwa-cine-trigger span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-cine-trigger i {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.72);
  flex: 0 0 auto;
}

.rwa-cine-select.open .rwa-cine-trigger {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), var(--cine-glow-sm);
}

.rwa-cine-select.open .rwa-cine-trigger i {
  border-top: 0;
  border-bottom: 6px solid rgba(255,255,255,0.88);
}

.rwa-cine-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  display: none;
  border: 1px solid rgba(255,255,255,0.38);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 5px),
    #111116;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 36px rgba(0,0,0,0.72);
}

.rwa-cine-select.open .rwa-cine-menu {
  display: block;
}

.rwa-cine-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: rgba(255,255,255,0.72);
  padding: 0 12px;
  font: 12px/1 'Space Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-align: left;
  cursor: pointer;
}

.rwa-cine-option:hover,
.rwa-cine-option.active {
  color: #fff;
  background: rgba(255,255,255,0.065);
}

.rwa-mini-field .rwa-cine-trigger {
  min-height: 40px;
  font-size: 11px;
}

.rwa-input:focus,
.rwa-select:focus {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), var(--cine-glow-sm);
}

.rwa-rank-result {
  min-height: 88px;
  margin-top: 14px;
  color: var(--cine-fg-2);
  font-size: 12px;
  line-height: 1.55;
}

.rwa-rank-result b {
  color: #fff;
}

.rwa-note {
  margin-top: 13px;
  color: var(--cine-fg-3);
  font-size: 11px;
  line-height: 1.6;
}

.rwa-pair-grid,
.rwa-calc-grid,
.rwa-calc-output,
.rwa-market-groups,
.rwa-prize-table {
  display: grid;
  gap: 12px;
}

.rwa-pair-grid {
  grid-template-columns: repeat(auto-fit, minmax(410px, 1fr));
  gap: 18px;
}

.rwa-pair-card {
  position: relative;
  min-height: 392px;
  padding: 18px;
  border-color: rgba(255,255,255,0.26);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.09), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.024) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.026) 36%, rgba(255,255,255,0.010) 100%),
    #17171d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 0 0 1px rgba(255,255,255,0.018),
    0 1px 0 rgba(0,0,0,0.72),
    0 14px 24px -18px rgba(0,0,0,0.95);
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.rwa-pair-card:hover {
  border-color: rgba(255,255,255,0.45);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, rgba(255,255,255,0.082) 0%, rgba(255,255,255,0.030) 36%, rgba(255,255,255,0.012) 100%),
    #1b1b22;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 1px 0 rgba(0,0,0,0.72),
    0 18px 28px -18px rgba(0,0,0,1),
    0 0 0 1px rgba(255,255,255,0.035);
  transform: translateY(-1px);
}

.rwa-opp-card.clean {
  border-color: rgba(255,255,255,0.36);
}

.rwa-opp-card.watch {
  border-color: rgba(255,255,255,0.25);
}

.rwa-opp-card.high {
  border-color: rgba(255,85,85,0.38);
}

.rwa-ticket-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.rwa-ticket-kicker {
  margin-bottom: 7px;
  color: rgba(255,255,255,0.46);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.rwa-ticket-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.70);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rwa-ticket-status.clean {
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  box-shadow: 0 0 10px rgba(255,255,255,0.08);
}

.rwa-ticket-status.high {
  color: #ff7777;
  border-color: rgba(255,85,85,0.42);
}

.rwa-trade-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.78fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}

.rwa-leg-card,
.rwa-route-core,
.rwa-decision-copy,
.rwa-ticket-score,
.rwa-ticket-stats > div {
  border: 1px solid rgba(255,255,255,0.12);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.010) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.22);
}

.rwa-leg-card {
  position: relative;
  min-height: 122px;
  padding: 14px 13px;
  overflow: hidden;
}

.rwa-leg-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: rgba(255,255,255,0.48);
  box-shadow: 0 0 12px rgba(255,255,255,0.28);
}

.rwa-leg-card.hedge::before {
  background: rgba(255,255,255,0.18);
  box-shadow: none;
}

.rwa-leg-card span,
.rwa-route-core span,
.rwa-decision-copy span,
.rwa-ticket-score span,
.rwa-ticket-stats span {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.rwa-leg-card b {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rwa-leg-card em {
  display: block;
  margin-top: 11px;
  color: rgba(255,255,255,0.70);
  font-size: 10px;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-route-core {
  position: relative;
  min-height: 122px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rwa-route-core::before,
.rwa-route-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 1px;
  background: rgba(255,255,255,0.30);
}

.rwa-route-core::before { left: -10px; }
.rwa-route-core::after { right: -10px; }

.rwa-route-core b {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(255,255,255,0.20);
}

.rwa-route-core i {
  display: block;
  width: 38px;
  height: 2px;
  margin: 14px auto 0;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.34);
}

.rwa-decision-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 10px;
  margin-bottom: 10px;
}

.rwa-decision-copy {
  min-height: 74px;
  padding: 12px;
}

.rwa-decision-copy b {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-ticket-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 10px;
  margin-bottom: 12px;
}

.rwa-ticket-yield,
.rwa-ticket-score {
  min-height: 76px;
  padding: 12px;
}

.rwa-ticket-yield span,
.rwa-play-step span {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.rwa-ticket-yield b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.rwa-ticket-score > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rwa-ticket-score b {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.rwa-ticket-score b.clean { text-shadow: 0 0 10px rgba(255,255,255,0.24); }
.rwa-ticket-score b.watch { color: rgba(255,255,255,0.75); }
.rwa-ticket-score b.risk { color: #ff5555; }

.rwa-ticket-score i {
  display: block;
  height: 2px;
  margin-top: 16px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.22);
}

.rwa-playbook {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}

.rwa-play-step {
  position: relative;
  min-height: 76px;
  padding: 13px 12px 12px 44px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
}

.rwa-play-step.primary {
  border-color: rgba(255,255,255,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.rwa-play-step i {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.rwa-play-step b {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.rwa-play-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.42);
  font-size: 14px;
}

.rwa-ticket-stats {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.8fr;
  gap: 8px;
  margin-bottom: 10px;
}

.rwa-ticket-stats > div {
  padding: 10px;
}

.rwa-ticket-stats b {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
}

.rwa-opp-card {
  --accent: #fff;
  min-height: 360px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #151617, #101112);
  box-shadow:
    inset 3px 0 0 rgba(255,255,255,0.24),
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.55);
}

.rwa-opp-card:hover {
  border-color: rgba(255,255,255,0.32);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.065), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #18191b, #111214);
  box-shadow:
    inset 3px 0 0 var(--accent),
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 28px var(--accent-glow, rgba(255,255,255,0.14));
}

.rwa-opp-card.accent-green,
.rwa-opp-card.accent-purple,
.rwa-opp-card.accent-lime,
.rwa-opp-card.accent-red,
.rwa-opp-card.accent-blue,
.rwa-opp-card.accent-orange,
.rwa-opp-card.accent-gold,
.rwa-opp-card.accent-silver {
  --accent: #f3f3f3;
  --accent-glow: rgba(255,255,255,0.12);
}

.rwa-opp-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rwa-route-label,
.rwa-opp-card span {
  display: block;
  color: rgba(255,255,255,0.50);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rwa-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}

.rwa-title-row h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rwa-logo-wrap,
.rwa-brand-logo,
.rwa-asset-logo {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  filter: drop-shadow(0 0 8px var(--accent));
}

.rwa-logo-wrap {
  position: relative;
  display: block;
}

.rwa-brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.22));
}

.rwa-brand-logo.preserve-color {
  border-radius: 50%;
  filter: grayscale(1) contrast(1.9) brightness(1.22) drop-shadow(0 0 8px rgba(255,255,255,0.22));
}

.rwa-asset-logo,
.rwa-logo-fallback {
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

.rwa-logo-fallback {
  display: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.rwa-badge-status {
  height: fit-content;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.18);
  color: #f3f3f3;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rwa-badge-status.high {
  color: #ff6f6f;
}

.rwa-hero-route {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(146px,1.25fr) minmax(0,1fr);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 10px;
}

.rwa-hero-route > div {
  min-width: 0;
  min-height: 88px;
  display: grid;
  grid-template-rows: 28px 30px 18px;
  align-content: center;
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.rwa-hero-route > div:last-child {
  border-right: 0;
}

.rwa-hero-route strong {
  display: block;
  color: #f3f3f3;
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rwa-hero-route small,
.rwa-ticket-stats small,
.rwa-risk-line small {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.rwa-hero-route span {
  min-height: 28px;
}

.rwa-hero-route .spread strong {
  color: var(--accent);
  text-shadow: 0 0 18px var(--accent-glow, rgba(255,255,255,0.18));
}

.rwa-hero-route .spread.bad strong {
  color: #f3f3f3;
}

.rwa-decision-row {
  grid-template-columns: minmax(0,1fr) 120px;
  border: 1px solid rgba(255,255,255,0.08);
  gap: 0;
}

.rwa-setup-copy,
.rwa-score-box {
  min-width: 0;
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.010) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.18);
}

.rwa-score-box {
  border-right: 0;
}

.rwa-setup-copy strong,
.rwa-score-box strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-score-box strong {
  font-size: 22px;
  line-height: 1;
}

.rwa-score-box i {
  display: block;
  height: 3px;
  margin-top: 8px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.rwa-score-box.danger i {
  background: #ff4545;
  box-shadow: 0 0 14px rgba(255,69,69,0.8);
}

.rwa-ticket-stats {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
}

.rwa-ticket-stats > div {
  min-width: 0;
  padding: 11px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.010) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.14);
}

.rwa-ticket-stats > div:last-child {
  border-right: 0;
}

.rwa-ticket-stats strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
}

.rwa-price-gap {
  border: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.010) 0 2px, transparent 2px 5px),
    rgba(0,0,0,0.12);
}

.rwa-price-gap-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
}

.rwa-price-gap-row strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: right;
}

.rwa-risk-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 0;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  margin: 0 0 12px;
}

.rwa-risk-line b {
  margin: 0;
  color: rgba(255,255,255,0.50);
}

.rwa-risk-line em {
  color: var(--accent);
  font-style: normal;
  margin-left: 8px;
}

.rwa-risk-line small {
  margin: 0;
  text-align: right;
}

.rwa-card-actions {
  grid-template-columns: 1.4fr 1fr 0.65fr;
  gap: 10px;
}

.rwa-card-action.primary {
  border-color: rgba(255,255,255,0.48);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 0 18px var(--accent-glow, rgba(255,255,255,0.14));
}

.rwa-opp-card:hover .rwa-card-action:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.rwa-route {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
}

.rwa-route span {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rwa-route span:last-child {
  text-align: right;
}

.rwa-route i,
.rwa-route em {
  color: rgba(255,255,255,0.45);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rwa-opp-score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.rwa-opp-score > div {
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
}

.rwa-opp-score span {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rwa-opp-score b {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 18px;
}

.rwa-opp-score b.clean { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.22); }
.rwa-opp-score b.watch { color: rgba(255,255,255,0.74); }
.rwa-opp-score b.risk { color: #ff5555; }

.rwa-risk-line {
  min-height: 34px;
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.rwa-risk-line b {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.42);
  font-size: 9px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.rwa-risk-line.clean {
  color: rgba(255,255,255,0.78);
}

.rwa-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-top: 14px;
}

.rwa-symbol {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rwa-badge {
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.26);
  color: rgba(255,255,255,0.72);
  padding: 4px 7px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rwa-pair-metric {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.62);
  font-size: 11px;
}

.rwa-pair-metric b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.rwa-cost-good { color: #fff !important; }
.rwa-cost-bad { color: #ff5555 !important; }
.rwa-cost-mid { color: rgba(255,255,255,0.72) !important; }
.rwa-card-action {
  width: 100%;
  min-height: 34px;
  margin-top: 0;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  background: rgba(0,0,0,0.24);
}

.rwa-calc-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rwa-field.wide {
  grid-column: 1 / -1;
}

.rwa-field span {
  display: block;
  margin-bottom: 8px;
}

.rwa-range {
  width: 100%;
  accent-color: #fff;
}

.rwa-range-row {
  margin-top: 8px;
  color: var(--cine-fg-3);
  font-size: 11px;
}

.rwa-range-row b {
  color: #fff;
  font-size: 13px;
}

.rwa-range-row em {
  font-style: normal;
}

.rwa-calc-output {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.rwa-calc-output b {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.rwa-market-groups {
  grid-template-columns: 1fr 1fr;
}

.rwa-markets-grid {
  gap: 14px;
}

.rwa-market-groups .rwa-market-box {
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.055), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 7px),
    rgba(255,255,255,0.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    0 1px 0 rgba(0,0,0,0.55);
}

.rwa-market-groups .rwa-market-box span {
  display: block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.50);
  font-size: 12px;
  letter-spacing: 0.24em;
}

.rwa-ticker-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 11px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.rwa-ticker-row b,
.rwa-market-groups .rwa-ticker-row b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.9;
  white-space: nowrap;
}

.rwa-logo-chip {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.rwa-logo-chip.apple { color: #f4f4f4; }
.rwa-logo-chip.tesla { color: #ff6464; }
.rwa-logo-chip.nvidia { color: #7cff76; }
.rwa-logo-chip.msft { color: #7aa7ff; }
.rwa-logo-chip.googl { color: #ffd447; }
.rwa-logo-chip.amzn { color: #ffb35c; }
.rwa-logo-chip.meta { color: #7fc7ff; }

.rwa-market-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,0.18));
  opacity: 0.95;
}

.rwa-asset-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-style: normal;
  line-height: 1;
}

.rwa-asset-icon.etf { color: #7aa7ff; }
.rwa-asset-icon.fx { color: #b98cff; }
.rwa-asset-icon.oil { color: #42e68a; }
.rwa-asset-icon.gas { color: #ff8a2a; }
.rwa-asset-icon.gold { color: #ffd447; }
.rwa-asset-icon.silver { color: #c9d2dd; }

.rwa-prize-table {
  grid-template-columns: 1fr 1fr;
}

.rwa-taker-summary,
.rwa-taker-cards {
  display: grid;
  gap: 12px;
}

.rwa-taker-summary {
  grid-template-columns: 1fr 1fr;
}

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

.rwa-taker-summary > div,
.rwa-taker-cards > article {
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.045), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 6px),
    rgba(255,255,255,0.020);
  padding: 18px;
}

.rwa-taker-summary span,
.rwa-taker-cards span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.50);
  font-size: 10px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.rwa-taker-summary b,
.rwa-taker-cards b {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

.rwa-taker-cards small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.66);
  font-size: 11px;
  line-height: 1.5;
}

.rwa-taker-actions {
  width: min(560px, 100%);
  margin-top: 16px;
}

@media (max-width: 1180px) {
  .rwa-cine-nav { align-items: stretch; }
  .rwa-scroll {
    height: calc(100vh - 104px);
  }
  .rwa-reveal {
    min-height: calc(100vh - 156px);
  }
  .rwa-grid-two,
  .rwa-event-strip {
    grid-template-columns: 1fr;
  }
  .rwa-pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.rwa-cup-page {
    overflow: auto;
  }
  .rwa-root {
    position: relative;
    min-height: 100vh;
  }
  .rwa-cine-nav {
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .rwa-cine-nav .cine-nav-brand {
    width: 100%;
    text-align: center;
  }
  .rwa-cine-nav .cine-nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    gap: 4px;
    padding: 2px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.22) transparent;
  }
  .rwa-cine-nav .cine-nav-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 32px;
    padding: 0 12px;
    text-align: center;
  }
  .rwa-cine-nav .cine-nav-tab.active {
    order: -1;
  }
  .rwa-cine-nav .cine-nav-right {
    justify-content: center;
    width: 100%;
  }
  .rwa-cine-nav .cine-nav-btn {
    min-height: 34px;
    padding: 0 14px;
  }
  .rwa-scroll {
    height: auto;
    overflow: visible;
  }
  .rwa-reveal {
    min-height: auto;
    padding: 28px 16px 32px;
  }
  .rwa-reveal-top,
  .rwa-lockup,
  .rwa-actions {
    align-items: center;
    flex-direction: column;
  }
  .rwa-lockup {
    gap: 16px;
    margin-bottom: 32px;
  }
  .rwa-lockup span {
    font-size: 18px;
  }
  .rwa-lockup img {
    height: 36px;
  }
  .rwa-reveal h1 {
    font-size: 34px;
    letter-spacing: 0.18em;
  }
  .rwa-scan-strip {
    width: 100%;
  }
  .rwa-event-strip,
  .rwa-panel,
  .rwa-grid-two {
    width: calc(100vw - 28px);
  }
  .rwa-panel {
    padding: 18px;
  }
  .rwa-pair-grid,
  .rwa-calc-grid,
  .rwa-calc-output,
  .rwa-market-groups,
  .rwa-prize-table,
  .rwa-taker-summary,
  .rwa-taker-cards {
    grid-template-columns: 1fr;
  }
  .rwa-event-switch {
    width: 100%;
  }
  .rwa-event-switch button {
    min-width: 0;
  }
  .rwa-trade-map,
  .rwa-hero-route,
  .rwa-decision-row,
  .rwa-ticket-stats {
    grid-template-columns: 1fr;
  }
  .rwa-hero-route > div,
  .rwa-setup-copy,
  .rwa-ticket-stats > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .rwa-hero-route > div:last-child,
  .rwa-ticket-stats > div:last-child {
    border-bottom: 0;
  }
  .rwa-score-box {
    border-right: 0;
    border-bottom: 0;
  }
  .rwa-risk-line {
    display: block;
  }
  .rwa-risk-line small {
    margin-top: 6px;
    text-align: left;
  }
  .rwa-route-core {
    min-height: 94px;
  }
  .rwa-route-core::before,
  .rwa-route-core::after {
    display: none;
  }
  .rwa-scanner-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .rwa-card-actions {
    grid-template-columns: 1fr;
  }
  .rwa-input-row {
    grid-template-columns: 1fr;
  }
  .rwa-table {
    min-width: 560px;
  }
}
