/* Options Flow · Options Story (production) */

#page-options .osf-story {
  --osf-glass: rgba(12, 16, 26, 0.72);
  --osf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  margin-bottom: 24px;
}

#page-options .osf-today-story {
  margin-bottom: 16px;
  padding: 22px 26px;
  background: var(--osf-glass);
  border: 1px solid rgba(232, 201, 138, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

#page-options .osf-today-story__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

#page-options .osf-today-story__beta {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
}

#page-options .osf-today-story__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-dim);
  max-width: 64ch;
}

#page-options .osf-positioning {
  margin: 0 0 20px;
  padding: 14px 18px;
  background: rgba(62, 207, 142, 0.06);
  border: 1px solid rgba(62, 207, 142, 0.18);
  border-radius: 12px;
}

#page-options .osf-positioning__title {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

#page-options .osf-positioning__label {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--green);
}

#page-options .osf-positioning__label.osf-positioning__label--neutral {
  color: var(--gold);
}

#page-options .osf-positioning__label.osf-positioning__label--defensive {
  color: var(--red);
}

#page-options .osf-positioning__why {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 58ch;
}

#page-options .osf-flows-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

#page-options .osf-flow-unit__card {
  background: var(--osf-glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.25s var(--osf-ease),
    box-shadow 0.25s var(--osf-ease);
}

#page-options .osf-flow-unit:hover .osf-flow-unit__card,
#page-options .osf-flow-unit.is-selected .osf-flow-unit__card {
  border-color: rgba(212, 168, 90, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

#page-options .osf-flow-card {
  display: block;
  width: 100%;
  min-height: 88px;
  padding: 18px 20px 16px 26px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  position: relative;
}

#page-options .osf-flow-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--ink-faint);
}

#page-options .osf-flow-card[data-tone="buy"]::before {
  background: var(--green);
}

#page-options .osf-flow-card[data-tone="sell"]::before {
  background: var(--red);
}

#page-options .osf-flow-card[data-tone="mixed"]::before {
  background: var(--gold);
}

#page-options .osf-flow-card__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 4px;
}

#page-options .osf-flow-card__headline {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
}

#page-options .osf-flow-preview {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  border-top: 1px solid transparent;
  transition:
    max-height 0.35s var(--osf-ease),
    opacity 0.28s var(--osf-ease),
    padding 0.3s var(--osf-ease);
}

#page-options .osf-flow-unit:hover .osf-flow-preview,
#page-options .osf-flow-unit.is-selected .osf-flow-preview {
  max-height: 240px;
  opacity: 1;
  padding: 4px 20px 16px;
  border-top-color: var(--border);
}

#page-options .osf-flow-preview__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

#page-options .osf-flow-preview__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

#page-options .osf-flow-preview__tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#page-options .osf-preview__ticker {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

#page-options .osf-flow-preview__why,
#page-options .osf-flow-preview__matters {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}

#page-options .osf-flow-preview__why strong,
#page-options .osf-flow-preview__matters strong {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
}

#page-options .osf-view-activity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--gold);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

#page-options .osf-view-activity svg {
  transition: transform 0.2s var(--osf-ease);
}

#page-options .osf-view-activity:hover svg {
  transform: translateY(2px);
}

/* Activity section — table fourth */
#page-options .options-activity-section {
  scroll-margin-top: 72px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#page-options .options-metrics-secondary {
  opacity: 0.72;
}

#page-options .options-metrics-secondary .options-stat-label,
#page-options .options-metrics-secondary .options-stat-sub,
#page-options .options-metrics-secondary .pc-gauge-label {
  font-size: 10px;
}

#page-options .options-row-highlight td {
  background: rgba(212, 168, 90, 0.1) !important;
}

#page-options .options-row-dimmed td {
  opacity: 0.35;
}

@media (max-width: 720px) {
  #page-options .osf-flows-grid {
    grid-template-columns: 1fr;
  }
}
