:root {
  --bg: #050b18;
  --shell-max: 1120px;
  --shell-gutter: 18px;
  --panel: linear-gradient(180deg, rgba(13, 22, 40, 0.98), rgba(9, 16, 29, 0.98));
  --panel-soft: rgba(15, 25, 44, 0.9);
  --line: rgba(121, 143, 191, 0.18);
  --text: #eef3ff;
  --muted: #8e9bb6;
  --green: #46f0a8;
  --lime: #6bff6b;
  --red: #ff657e;
  --amber: #ffbf47;
  --blue: #6d85ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% -10%, rgba(109, 133, 255, 0.22), transparent 28%),
    radial-gradient(circle at 84% -12%, rgba(87, 242, 197, 0.16), transparent 26%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04), transparent 38%),
    linear-gradient(180deg, #0a1323 0%, #07101d 34%, #050b18 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  min-height: 98px;
  padding:
    14px
    max(var(--shell-gutter), calc((100vw - var(--shell-max)) / 2 + var(--shell-gutter)))
    16px;
  background:
    linear-gradient(180deg, rgba(7, 14, 27, 0.98), rgba(7, 14, 27, 0.92) 70%, rgba(7, 14, 27, 0.62)),
    radial-gradient(circle at 0% 0%, rgba(109, 133, 255, 0.18), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(87, 242, 197, 0.14), transparent 22%);
  border: 0;
  border-bottom: 1px solid rgba(136, 160, 212, 0.16);
  border-radius: 0 0 28px 28px;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.26),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(150%);
  isolation: isolate;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 18% 0%, rgba(109, 133, 255, 0.12), transparent 32%),
    radial-gradient(circle at 84% 0%, rgba(87, 242, 197, 0.08), transparent 24%);
  box-shadow:
    inset 0 -18px 34px rgba(0, 0, 0, 0.14);
  z-index: -2;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0.06) 44%, rgba(255, 255, 255, 0) 58%);
  opacity: 0.9;
  z-index: -1;
}

.site-header > * {
  position: relative;
  z-index: 1;
}

.site-home-link {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #eef3ff;
  text-decoration: none;
  transition: opacity 180ms ease, filter 180ms ease;
}

.site-home-link:hover,
.site-home-link:focus-visible {
  opacity: 0.98;
  filter: brightness(1.04);
}

.site-brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(156, 181, 233, 0.18);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(32, 52, 96, 0.84), rgba(10, 17, 31, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.site-brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.site-brand-lockup {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-brand-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 1.85vw, 1.76rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.02;
  color: #f2f6ff;
  text-shadow:
    0 0 20px rgba(109, 133, 255, 0.16),
    0 0 28px rgba(87, 242, 197, 0.08);
}

.site-brand-finance,
.site-brand-360 {
  display: inline-block;
  vertical-align: baseline;
}

.site-brand-finance {
  color: #f4f8ff;
  font-style: italic;
  text-shadow:
    0 0 20px rgba(109, 133, 255, 0.16),
    0 0 28px rgba(87, 242, 197, 0.06);
}

.site-brand-360 {
  margin-left: -0.08em;
  background: linear-gradient(135deg, #d9fff1 0%, #57f2c5 48%, #ffbf47 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.site-brand-word {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.site-brand-save {
  color: #6bffb5;
  text-shadow: 0 0 18px rgba(70, 240, 168, 0.22);
}

.site-brand-invest {
  color: #8fb5ff;
  text-shadow: 0 0 18px rgba(109, 133, 255, 0.22);
}

.site-brand-protect {
  color: #ffd580;
  text-shadow: 0 0 18px rgba(255, 191, 71, 0.2);
}

.site-brand-grow {
  color: #ff93a8;
  text-shadow: 0 0 18px rgba(255, 101, 126, 0.22);
}

.site-brand-tag {
  display: inline-flex;
  align-items: center;
  color: #9fb3dc;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-brand-tag::before {
  display: none;
}

.site-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
  position: relative;
  z-index: 4;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.member-menu-bar-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.site-header-actions .member-menu-trigger {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.site-header-actions .member-menu-panel {
  top: calc(100% + 12px);
  z-index: 120;
}

.site-header-actions .member-menu:nth-child(4) .member-menu-panel,
.site-header-actions .member-menu:nth-child(5) .member-menu-panel,
.site-header-actions .member-menu:nth-child(6) .member-menu-panel {
  left: auto;
  right: 0;
}

.site-user-badge {
  max-width: 180px;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9baed1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.site-logout-button {
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(150, 174, 226, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(20, 33, 58, 0.98), rgba(10, 16, 30, 0.94));
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-logout-button:hover,
.site-logout-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(137, 161, 212, 0.3);
  background: linear-gradient(180deg, rgba(25, 41, 73, 0.96), rgba(12, 20, 36, 0.96));
}

.site-user-badge[hidden] {
  display: none !important;
}

.site-logout-button[hidden] {
  display: none !important;
}

.site-header-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.landing-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding:
    28px
    max(var(--shell-gutter), calc((100vw - var(--shell-max)) / 2 + var(--shell-gutter)))
    40px;
}

.recommendation-banner {
  margin-bottom: 18px;
}

.recommendation-banner .panel-topline {
  align-items: center;
}

.recommendation-banner .brief-regime-button {
  font-size: clamp(1.02rem, 1.45vw, 1.26rem);
}

.recommendation-condition {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.brief-board,
.news-list {
  display: grid;
  gap: 18px;
}

.brief-cluster {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.brief-cluster-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.brief-cluster-label {
  margin: 0 0 6px;
  color: #9fb3dc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brief-cluster-header h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  letter-spacing: -0.04em;
  color: var(--text);
}

.brief-cluster-copy {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
}

.brief-cluster-grid {
  margin-bottom: 0;
}

.login-card,
.brief-panel,
.news-item {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--green);
}

.login-card h2,
.brief-panel h3,
.news-panel h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.muted {
  color: var(--muted);
}

.login-card,
.brief-panel,
.news-panel {
  padding: 22px;
}

.login-card {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding: 20px;
}

.login-card h2 {
  font-size: 1.3rem;
}

.brief-regime-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  text-align: left;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.brief-regime-button:hover,
.brief-regime-button:focus-visible {
  transform: translateY(-1px);
  opacity: 0.96;
}

.brief-regime-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.member-menu-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.member-menu {
  position: relative;
}

.member-menu-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(121, 143, 191, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(17, 27, 49, 0.96), rgba(10, 17, 30, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(109, 133, 255, 0.1), transparent 54%);
  color: var(--text);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  user-select: none;
}

.member-menu-trigger::-webkit-details-marker {
  display: none;
}

.member-menu-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.member-menu[open] > .member-menu-trigger {
  transform: translateY(-1px);
  border-color: rgba(109, 133, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(22, 35, 64, 0.98), rgba(12, 20, 36, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(109, 133, 255, 0.16), transparent 58%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 36px rgba(0, 0, 0, 0.22);
}

.member-menu[open] > .member-menu-trigger::after {
  transform: rotate(225deg) translateY(2px);
}

.member-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 120;
  min-width: 240px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(121, 143, 191, 0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 25, 44, 0.99), rgba(8, 14, 26, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(109, 133, 255, 0.12), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.member-menu:nth-child(4) .member-menu-panel,
.member-menu:nth-child(5) .member-menu-panel {
  left: auto;
  right: 0;
}

.member-menu-item {
  position: relative;
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.member-menu-item:hover,
.member-menu-item:focus-visible {
  transform: translateX(2px);
  border-color: rgba(109, 133, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.member-menu-item:disabled,
.member-menu-item-disabled {
  opacity: 0.52;
  cursor: not-allowed;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(238, 243, 255, 0.62);
}

.member-menu-item:disabled:hover,
.member-menu-item:disabled:focus-visible,
.member-menu-item-disabled:hover,
.member-menu-item-disabled:focus-visible {
  transform: none;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(238, 243, 255, 0.62);
}

.member-menu-trigger:hover,
.member-menu-trigger:focus-visible,
.member-menu-trigger-logout:hover,
.member-menu-trigger-logout:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(109, 133, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(24, 37, 66, 0.98), rgba(12, 20, 36, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(109, 133, 255, 0.14), transparent 56%);
}

.member-menu-trigger-logout {
  margin-left: auto;
  border-color: rgba(255, 101, 126, 0.2);
  color: #ffd1d8;
  background:
    linear-gradient(180deg, rgba(52, 18, 28, 0.96), rgba(22, 11, 18, 0.96)),
    radial-gradient(circle at 50% 0%, rgba(255, 101, 126, 0.12), transparent 52%);
}

.member-menu-trigger-logout::after {
  display: none;
}

.member-menu-trigger-logout:hover,
.member-menu-trigger-logout:focus-visible {
  border-color: rgba(255, 101, 126, 0.32);
  background:
    linear-gradient(180deg, rgba(63, 22, 34, 0.98), rgba(28, 11, 19, 0.98)),
    radial-gradient(circle at 50% 0%, rgba(255, 101, 126, 0.16), transparent 54%);
}

.member-menu-trigger-logout[hidden] {
  display: none !important;
}

.member-menu-bar-header,
.member-menu-bar-standard {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.member-menu-standard {
  position: relative;
}

.member-menu-trigger-standard {
  min-height: 34px;
  padding: 0 2px 7px;
  border: 0;
  border-bottom: 1px solid rgba(121, 143, 191, 0.26);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #eaf0ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.member-menu-trigger-standard::after {
  width: 7px;
  height: 7px;
  margin-left: 2px;
}

.member-menu-standard[open] > .member-menu-trigger-standard,
.member-menu-trigger-standard:hover,
.member-menu-trigger-standard:focus-visible {
  transform: none;
  border-color: rgba(109, 133, 255, 0.52);
  background: transparent;
  box-shadow: none;
  color: #ffffff;
}

.member-menu-standard > .member-menu-panel-standard {
  left: auto;
  right: 0;
  top: calc(100% + 12px);
  width: min(400px, calc(100vw - 26px));
  min-width: 320px;
  padding: 14px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(16, 25, 46, 0.98), rgba(8, 15, 28, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(109, 133, 255, 0.12), transparent 26%),
    radial-gradient(circle at 0% 0%, rgba(87, 242, 197, 0.08), transparent 24%);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.member-menu-sections {
  display: grid;
  gap: 14px;
}

.member-menu-section {
  display: grid;
  gap: 8px;
}

.member-menu-section + .member-menu-section {
  padding-top: 10px;
  border-top: 1px solid rgba(121, 143, 191, 0.12);
}

.member-menu-section-title {
  margin: 0;
  color: #90a6d4;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.member-menu-section-items,
.member-menu-footer-items {
  display: grid;
  gap: 4px;
}

.member-menu-standard .member-menu-item {
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #eef3ff;
  box-shadow: none;
  font-size: 0.93rem;
  font-weight: 500;
}

.member-menu-standard .member-menu-item:hover,
.member-menu-standard .member-menu-item:focus-visible {
  transform: translateX(4px);
  border-color: transparent;
  background: transparent;
  color: #ffffff;
}

.member-menu-standard .member-menu-item-active {
  background: transparent;
  border-color: transparent;
  color: #57f2c5;
}

.member-menu-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(121, 143, 191, 0.16);
}

.member-menu-standard .member-menu-item-danger {
  color: #ffd2db;
}

.member-menu-standard .member-menu-item-danger:hover,
.member-menu-standard .member-menu-item-danger:focus-visible {
  color: #fff1f5;
  background: transparent;
  border-color: transparent;
}

.member-button-live {
  animation: memberAlertPulse 2.1s ease-in-out infinite;
}

.member-button-live::after {
  content: attr(data-alert-tag);
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 34px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  color: #06131f;
  background: rgba(255, 255, 255, 0.9);
}

.member-button-live-djt {
  border-color: rgba(255, 214, 122, 0.26);
  background: linear-gradient(180deg, rgba(56, 44, 16, 0.82), rgba(22, 17, 7, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 214, 122, 0.32), 0 0 18px rgba(255, 214, 122, 0.38), 0 0 34px rgba(255, 214, 122, 0.18);
}

.member-button-live-war {
  border-color: rgba(255, 116, 138, 0.26);
  background: linear-gradient(180deg, rgba(63, 20, 32, 0.82), rgba(22, 8, 13, 0.72));
  box-shadow: 0 0 0 1px rgba(255, 116, 138, 0.34), 0 0 18px rgba(255, 116, 138, 0.42), 0 0 34px rgba(255, 116, 138, 0.2);
}

.member-button-live-cyber {
  border-color: rgba(100, 181, 255, 0.26);
  background: linear-gradient(180deg, rgba(17, 42, 64, 0.82), rgba(8, 16, 27, 0.72));
  box-shadow: 0 0 0 1px rgba(100, 181, 255, 0.34), 0 0 18px rgba(100, 181, 255, 0.42), 0 0 34px rgba(100, 181, 255, 0.2);
}

@keyframes memberAlertPulse {
  0%,
  100% {
    transform: translateY(0);
    filter: saturate(1);
  }

  50% {
    transform: translateY(-1px);
    filter: saturate(1.14);
  }
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.login-form[hidden],
.member-state[hidden] {
  display: none !important;
}

.login-form label {
  display: grid;
  gap: 8px;
}

.login-form span {
  color: var(--muted);
  font-size: 0.88rem;
}

.login-form input {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  color: var(--text);
}

.login-button {
  min-height: 40px;
  border: 0;
  color: #06131f;
  cursor: pointer;
  background: linear-gradient(135deg, #54f0c5, #8eff9d);
}

.login-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.member-state {
  display: grid;
  gap: 12px;
}

.member-status {
  color: var(--text);
}

.logout-button {
  background: linear-gradient(135deg, rgba(255, 101, 126, 0.94), rgba(255, 185, 128, 0.94));
  color: #2f0812;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 7, 14, 0.72);
  backdrop-filter: blur(10px);
}

.auth-modal[hidden] {
  display: none !important;
}

.auth-dialog {
  width: min(100%, 420px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(11, 20, 38, 0.98), rgba(7, 13, 24, 0.98));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.auth-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.auth-dialog-top h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.auth-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  min-height: 34px;
  padding: 0 12px;
}

.auth-form {
  margin-top: 16px;
}

.market-recommendation-body {
  margin-top: 16px;
  color: var(--text);
  line-height: 1.75;
}

.market-recommendation-body p {
  margin: 0;
  color: var(--text);
}

.brief-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.brief-updated {
  margin: 0 0 14px;
  font-size: 0.86rem;
}

.regime-copy {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
}

.regime-copy span {
  display: block;
}

.regime-copy #briefRegimeAction {
  color: var(--text);
}

.signal-positive {
  color: var(--green);
}

.signal-warning {
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255, 210, 87, 0.38);
}

.signal-negative {
  color: var(--red);
  text-shadow: 0 0 12px rgba(255, 101, 126, 0.32);
}

.fear-gauge,
.pick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fear-positive,
.pick-bullish {
  background: rgba(70, 240, 168, 0.16);
  color: var(--lime);
}

.fear-warning {
  background: rgba(255, 191, 71, 0.15);
  color: var(--amber);
}

.fear-negative,
.pick-bearish {
  background: rgba(255, 101, 126, 0.16);
  color: var(--red);
}

.gamble-badge {
  background: rgba(255, 191, 71, 0.16);
  color: var(--amber);
}

.stock-panel {
  border-color: rgba(109, 133, 255, 0.28);
  background: linear-gradient(180deg, rgba(15, 28, 55, 0.95), rgba(9, 16, 29, 0.95));
}

.option-v2-panel {
  border-color: rgba(106, 232, 196, 0.34);
  background: linear-gradient(180deg, rgba(8, 33, 34, 0.96), rgba(9, 16, 29, 0.95));
}

.swing-up-panel {
  border-color: rgba(70, 240, 168, 0.34);
  background: linear-gradient(180deg, rgba(7, 34, 26, 0.96), rgba(9, 16, 29, 0.95));
}

.swing-call-panel {
  border-color: rgba(93, 166, 255, 0.34);
  background: linear-gradient(180deg, rgba(8, 27, 46, 0.96), rgba(9, 16, 29, 0.95));
}

.swing-short-panel {
  border-color: rgba(255, 101, 126, 0.34);
  background: linear-gradient(180deg, rgba(42, 12, 24, 0.96), rgba(9, 16, 29, 0.95));
}

.overview-mini h4,
.featured-content h4,
.news-item h4 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.overview-mini p,
.featured-content p,
.news-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.featured-content {
  display: grid;
  gap: 12px;
}

.execution-status-panel {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(136, 160, 212, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.execution-status-kicker {
  color: #9fb3dc;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.execution-status-panel strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.execution-status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.84rem;
}

.execution-status-positive {
  border-color: rgba(70, 240, 168, 0.24);
  background: linear-gradient(180deg, rgba(70, 240, 168, 0.08), rgba(255, 255, 255, 0.02));
}

.execution-status-positive strong {
  color: var(--green);
}

.execution-status-warning {
  border-color: rgba(255, 191, 71, 0.22);
  background: linear-gradient(180deg, rgba(255, 191, 71, 0.08), rgba(255, 255, 255, 0.02));
}

.execution-status-warning strong {
  color: var(--amber);
}

.execution-status-negative {
  border-color: rgba(255, 101, 126, 0.22);
  background: linear-gradient(180deg, rgba(255, 101, 126, 0.08), rgba(255, 255, 255, 0.02));
}

.execution-status-negative strong {
  color: var(--red);
}

.execution-status-muted strong {
  color: #c9d7f4;
}

.board-hint {
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.featured-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-chip {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.metric-chip span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.metric-chip strong {
  font-family: "Space Grotesk", sans-serif;
}

.score-band {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.score-band-calm {
  background: rgba(109, 133, 255, 0.18);
  color: #b8c8ff;
}

.score-band-active {
  background: rgba(70, 240, 168, 0.16);
  color: var(--lime);
}

.score-band-explosive {
  background: rgba(255, 191, 71, 0.16);
  color: var(--amber);
}

.score-band-extreme {
  background: rgba(255, 101, 126, 0.18);
  color: var(--red);
}

.swing-up-panel .score-band-extreme {
  background: rgba(70, 240, 168, 0.18);
  color: var(--lime);
}

.swing-short-panel .score-band-extreme {
  background: rgba(255, 101, 126, 0.18);
  color: var(--red);
}

.option-plan {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.option-plan-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.option-plan-header h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.option-expiry {
  color: var(--green);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.option-contract {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

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

.option-row {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.option-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.option-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
}

.option-note {
  margin: 0;
  color: var(--amber);
  font-size: 0.82rem;
  line-height: 1.6;
}

.trade-adjust-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.trade-adjust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(109, 133, 255, 0.24);
  background: rgba(109, 133, 255, 0.1);
  color: #c4d2ff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trade-adjust-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(70, 240, 168, 0.26);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(84, 240, 197, 0.96), rgba(142, 255, 157, 0.96));
  color: #06131f;
  cursor: pointer;
}

.trade-adjust-button-secondary {
  border-color: rgba(109, 133, 255, 0.24);
  background: linear-gradient(180deg, rgba(17, 28, 51, 0.98), rgba(8, 16, 31, 0.98));
  color: #d7e3ff;
}

.trade-adjust-actions-inline {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.trade-adjust-modal .auth-dialog {
  width: min(100%, 760px);
}

.trade-adjust-dialog {
  display: grid;
  gap: 16px;
}

.trade-adjust-controls {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.trade-adjust-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.trade-adjust-label strong {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.trade-adjust-controls input[type="range"] {
  width: 100%;
}

.trade-adjust-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.trade-adjust-actions input[type="number"] {
  width: 120px;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-soft);
  color: var(--text);
}

.trade-adjust-output {
  display: grid;
  gap: 14px;
}

.trade-adjust-hero {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.trade-adjust-hero h4,
.trade-adjust-legs h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.trade-adjust-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trade-adjust-grid,
.trade-adjust-legs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trade-adjust-card,
.trade-adjust-leg {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.trade-adjust-card span,
.trade-adjust-leg span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trade-adjust-card strong,
.trade-adjust-leg strong {
  font-family: "Space Grotesk", sans-serif;
}

.trade-adjust-leg ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.trade-adjust-tone-positive {
  color: var(--green);
}

.trade-adjust-tone-warning {
  color: var(--amber);
}

.gamble-plan {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.gamble-plan h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

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

.gamble-risk {
  margin: 0;
  color: var(--red);
  font-size: 0.82rem;
  line-height: 1.6;
}

.news-list {
  grid-template-columns: 1fr;
}

.bottom-news-panel {
  padding-bottom: 18px;
}

.news-list-horizontal {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.news-item {
  padding: 18px;
}

.news-list-horizontal .news-item {
  min-width: 320px;
  max-width: 360px;
  flex: 0 0 340px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.news-date {
  color: var(--amber);
  white-space: nowrap;
}

.news-item a {
  color: #8fc0ff;
  text-decoration: none;
}

@media (max-width: 980px) {
  .landing-shell {
    padding: 24px 14px 36px;
  }

  .brief-cluster-header {
    flex-direction: column;
    align-items: stretch;
  }

  .brief-cluster-copy {
    max-width: none;
    text-align: left;
  }

  .brief-board,
  .brief-cluster-grid,
  .featured-metrics,
  .option-grid,
  .gamble-grid,
  .trade-adjust-grid,
  .trade-adjust-legs,
  .news-list {
    grid-template-columns: 1fr;
  }

  .login-card {
    justify-self: stretch;
    max-width: none;
  }

  .member-menu-bar,
  .member-menu-bar-header {
    width: auto;
  }

  .news-list-horizontal {
    display: grid;
    overflow: visible;
  }

  .news-list-horizontal .news-item {
    min-width: 0;
    max-width: none;
    flex: 1 1 auto;
  }

  .news-meta {
    flex-direction: column;
    gap: 4px;
  }

  .trade-adjust-actions,
  .trade-adjust-label,
  .trade-adjust-row {
    flex-direction: column;
    align-items: stretch;
  }

  .trade-adjust-actions-inline {
    width: 100%;
    justify-content: stretch;
  }

  .trade-adjust-actions input[type="number"] {
    width: 100%;
  }

  .site-header {
    top: 0;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px 13px;
    border-radius: 0 0 24px 24px;
    flex-wrap: nowrap;
  }

  .site-home-link {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    gap: 10px;
  }

  .site-header-actions {
    display: flex;
    width: auto;
    margin-left: auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .site-user-badge {
    margin-right: 2px;
    max-width: 64px;
    font-size: 0.5rem;
    text-align: right;
  }

  .site-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  .site-brand-tag {
    display: none;
  }

  .site-brand-name {
    letter-spacing: 0.01em;
    font-size: clamp(0.98rem, 3.15vw, 1.16rem);
    white-space: nowrap;
  }

  .member-menu-standard > .member-menu-panel-standard {
    width: min(360px, calc(100vw - 28px));
  }
}

@media (max-width: 560px) {
  .landing-shell {
    padding: 20px 11px 30px;
  }

  .brief-cluster {
    gap: 12px;
    margin-bottom: 18px;
  }

  .brief-cluster-header h2 {
    font-size: 1.02rem;
  }

  .brief-cluster-copy {
    font-size: 0.84rem;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 11px 11px;
    gap: 8px;
    border-radius: 0 0 22px 22px;
    flex-wrap: nowrap;
  }

  .site-header::after {
    inset-inline: 14px;
  }

  .site-brand-lockup {
    gap: 0;
  }

  .site-home-link {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .site-brand-name {
    font-size: clamp(1rem, 4.5vw, 1.16rem);
    letter-spacing: 0.01em;
  }

  .site-header-actions {
    width: auto;
    margin-left: 0;
    gap: 6px;
  }

  .member-menu-standard > .member-menu-panel-standard {
    width: min(340px, calc(100vw - 22px));
    min-width: 0;
  }

  .member-menu-trigger-standard {
    min-height: 32px;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }
}
