/* MoEfolio — futuristic dark + periwinkle */

:root {
    --bg-deep: #07061a;
    --bg-card: #0f0c2a;
    --bg-card-hi: #181542;
    --border: #2a2261;
    --border-hi: #4f3fa3;
    --periwinkle: #a29bfe;
    --periwinkle-bright: #c4b5fd;
    --periwinkle-deep: #6c5ce7;
    --periwinkle-glow: rgba(162, 155, 254, 0.45);
    --text: #e9e6ff;
    --text-dim: #8b86b8;
    --text-faint: #5a5384;
    --green: #4ade80;
    --red: #f87171;
    --amber: #fbbf24;
    --cyan: #67e8f9;
    --font-sans: -apple-system, "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mesh gradient background — animated periwinkle glow */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(162, 155, 254, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(108, 92, 231, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.06) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    animation: meshShift 22s ease-in-out infinite alternate;
}
@keyframes meshShift {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-2%, 1%, 0); }
}

/* Subtle grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(162, 155, 254, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(162, 155, 254, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 6, 26, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-brand {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nav-mark { vertical-align: middle; transition: transform 0.4s ease; }
.nav-brand:hover .nav-mark { transform: rotate(360deg); }

/* Persona-color page theming — body[data-persona="<slug>"] tints accents */
body[data-persona="bruce"]  { --periwinkle: #f59e0b; --periwinkle-bright: #fbbf24; --periwinkle-deep: #b45309; --periwinkle-glow: rgba(245,158,11,0.45); }
body[data-persona="meryl"]  { --periwinkle: #c084fc; --periwinkle-bright: #d8b4fe; --periwinkle-deep: #7c3aed; --periwinkle-glow: rgba(192,132,252,0.45); }
body[data-persona="walter"] { --periwinkle: #94a3b8; --periwinkle-bright: #cbd5e1; --periwinkle-deep: #475569; --periwinkle-glow: rgba(148,163,184,0.45); }
body[data-persona="layla"]  { --periwinkle: #60a5fa; --periwinkle-bright: #93c5fd; --periwinkle-deep: #1d4ed8; --periwinkle-glow: rgba(96,165,250,0.45); }
body[data-persona="donald"] { --periwinkle: #a29bfe; --periwinkle-bright: #c4b5fd; --periwinkle-deep: #6c5ce7; --periwinkle-glow: rgba(162,155,254,0.45); }
body[data-persona] .nav-brand .moe { color: var(--periwinkle); transition: color 0.4s; }
.nav-brand .moe { color: var(--periwinkle); }
.nav-links { display: flex; gap: 28px; flex: 1; align-items: center; }
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--periwinkle-bright); }

/* Nav dropdown (Receipts / More) */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-trigger {
    background: transparent; border: none; color: var(--text-dim);
    font-family: inherit; font-size: inherit; font-weight: inherit;
    cursor: pointer; padding: 6px 10px; border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.nav-dropdown-trigger:hover { color: var(--periwinkle-bright); }
.nav-dropdown.open .nav-dropdown-trigger { color: var(--periwinkle-bright); background: rgba(108,92,231,0.08); }
.nav-dropdown-menu {
    display: none; position: absolute; top: 100%; right: 0; margin-top: 6px;
    min-width: 190px; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 10px; padding: 6px; box-shadow: 0 18px 50px rgba(0,0,0,0.55);
    z-index: 9998;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block; padding: 8px 12px; border-radius: 6px;
    color: var(--text-dim); text-decoration: none; font-size: 14px;
    transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: rgba(108,92,231,0.12); color: var(--text); }
.nav-cta {
    background: linear-gradient(135deg, var(--periwinkle-deep), var(--periwinkle));
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(108, 92, 231, 0.7); }

/* Hero */
.hero {
    padding: 120px 32px 80px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(162, 155, 254, 0.1);
    border: 1px solid rgba(162, 155, 254, 0.3);
    color: var(--periwinkle-bright);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    animation: floatGlow 3s ease-in-out infinite;
}
@keyframes floatGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(162, 155, 254, 0.2); }
    50%      { box-shadow: 0 0 35px rgba(162, 155, 254, 0.4); }
}
.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--text) 0%, var(--periwinkle) 50%, var(--periwinkle-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.5;
}
.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--periwinkle-deep), var(--periwinkle));
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.4);
    font-family: inherit;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.7);
}
.btn-secondary {
    background: rgba(162, 155, 254, 0.08);
    color: var(--periwinkle-bright);
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid rgba(162, 155, 254, 0.3);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-secondary:hover {
    background: rgba(162, 155, 254, 0.15);
    border-color: var(--periwinkle);
}

/* Live status strip */
.live-strip {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}
.live-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.pnl-stat {
    cursor: pointer;
    border-radius: 8px;
    margin: -8px;
    padding: 8px;
    transition: background 160ms ease, transform 160ms ease;
}
.pnl-stat:hover,
.pnl-stat:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    outline: none;
    transform: translateY(-1px);
}
.live-stat-label {
    font-size: 10px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
}
.live-stat-value {
    font-family: var(--font-mono);
    font-size: 22px;
    line-height: 1.12;
    font-weight: 600;
    color: var(--text);
    overflow-wrap: anywhere;
}
#tradingMode { font-size: 18px; overflow-wrap: normal; }
.live-stat-value.green { color: var(--green); }
.live-stat-value.red { color: var(--red); }
.live-stat-value.dim { color: var(--text-dim); }

/* Stock-page action-status card (per-symbol "what state is this in?") */
.action-status-card{
    background:var(--bg-card);border:1px solid var(--border);border-radius:14px;
    padding:18px 22px;margin:18px 0;
    display:flex;flex-direction:column;gap:10px;
}
.action-status-card .head{
    font-family:var(--font-mono);font-size:10px;letter-spacing:1.6px;
    text-transform:uppercase;color:var(--text-faint);
}
.action-status-card .receipt{font-size:15px;color:var(--text);line-height:1.5;}
.action-status-card .meta{
    font-family:var(--font-mono);font-size:11px;color:var(--text-faint);
    display:flex;flex-wrap:wrap;gap:10px 18px;
}
.action-status-card .pill{
    display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;
    background:rgba(108,92,231,0.12);border:1px solid rgba(108,92,231,0.32);
    color:var(--periwinkle-bright);font-weight:600;letter-spacing:1.2px;font-size:10px;
}

/* Today-page pending receipts */
.wnt-today-list{display:flex;flex-direction:column;gap:8px;margin:14px 0 0;}
.wnt-today-list .wnt-today-row{
    display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;
    padding:10px 14px;background:var(--bg-card);border:1px solid var(--border);
    border-left:3px solid var(--periwinkle);border-radius:10px;
    font-family:var(--font-mono);font-size:13px;color:var(--text);
}
.wnt-today-list .wnt-today-row .sym{font-weight:700;}
.wnt-today-list .wnt-today-row .receipt{color:var(--text-dim);font-size:12px;}

.pnl-history-panel {
    max-width: 1100px;
    width: min(1100px, calc(100% - 48px));
    box-sizing: border-box;
    margin: 12px auto 22px;
    padding: 22px 24px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(13, 10, 36, 0.94);
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    overflow: hidden;
    isolation: isolate;
}
.pnl-history-panel[hidden] { display: none; }
.pnl-history-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}
.pnl-history-kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-faint);
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.pnl-history-title {
    margin-top: 3px;
    font-size: 18px;
    color: var(--text);
    font-weight: 650;
}
.pnl-history-return {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.pnl-history-return.green { color: var(--green); }
.pnl-history-return.red { color: var(--red); }
.pnl-history-return.dim { color: var(--text-dim); }
#pnlHistoryChart {
    display: block;
    width: 100%;
    height: 220px !important;
    max-height: 220px;
    box-sizing: border-box;
}
.pnl-history-meta {
    margin-top: 10px;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 11px;
}
@media (max-width: 720px) {
    .pnl-history-panel {
        width: auto;
        margin: 10px 16px 18px;
        padding: 18px 16px 16px;
    }
    .pnl-history-head {
        flex-direction: column;
        gap: 6px;
    }
    #pnlHistoryChart {
        height: 180px !important;
        max-height: 180px;
    }
}
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 6px;
    animation: pulse 2s infinite;
    vertical-align: middle;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
    50%      { opacity: 0.5; }
}

/* Section */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 32px;
}
.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--periwinkle);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 18px;
    line-height: 1.15;
}
.section-intro {
    font-size: 17px;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 50px;
}

/* Cast grid */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}
.cast-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
}
.cast-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--persona-color, var(--periwinkle));
    opacity: 0.9;
    z-index: 4;
}
.cast-card:hover {
    border-color: var(--persona-color, var(--border-hi));
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(108, 92, 231, 0.2);
}
.cast-portrait {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center top;
    transition: opacity 0.6s, transform 0.8s ease;
    filter: saturate(0.95) contrast(1.05);
}
.cast-portrait.alt { opacity: 0; }
.cast-card:hover .cast-portrait.main { opacity: 0; }
.cast-card:hover .cast-portrait.alt { opacity: 1; transform: scale(1.04); }
.cast-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(7,6,26,0.4) 65%, rgba(7,6,26,0.96) 92%);
    z-index: 2;
    pointer-events: none;
}
.cast-meta {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 18px 20px 22px;
}
.cast-avatar { display: none; }
.cast-name { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 4px; color: var(--text); }
.cast-role { font-size: 11px; color: var(--persona-color, var(--periwinkle-bright)); margin-bottom: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }
.cast-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.cast-card:hover .cast-name { color: var(--persona-color, var(--text)); transition: color 0.3s; }

.cast-stats {
    position: absolute; inset: 0; z-index: 4;
    background: linear-gradient(180deg, rgba(7,6,26,0.78) 0%, rgba(7,6,26,0.94) 100%);
    padding: 24px 22px;
    display: flex; flex-direction: column; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
    font-family: var(--font-mono);
}
.cast-card:hover .cast-stats { opacity: 1; }
.cast-stats h4 {
    font-size: 11px; color: var(--persona-color, var(--periwinkle-bright));
    text-transform: uppercase; letter-spacing: 2px; margin: 0 0 14px; font-weight: 700;
}
.cast-stats .row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; font-size: 11px;
}
.cast-stats .k {
    color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px;
    font-size: 9px; display: block; margin-bottom: 2px;
}
.cast-stats .v { color: var(--text); font-size: 13px; font-weight: 600; }
.cast-stats .mix { grid-column: 1/-1; margin-top: 6px; font-size: 11px; }
.cast-stats .mix .b { color: var(--green); font-weight: 700; }
.cast-stats .mix .h { color: var(--amber); font-weight: 700; }
.cast-stats .mix .a { color: var(--red); font-weight: 700; }
.cast-stats .empty { font-size: 11px; color: var(--text-faint); text-align: center; padding: 20px 0; }

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
}
.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(162, 155, 254, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--periwinkle-bright);
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    border: 1px solid rgba(162, 155, 254, 0.25);
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* Email signup */
.email-section {
    max-width: 1100px;
    margin: 80px auto 100px;
    padding: 56px 32px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hi));
    border: 1px solid var(--border);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.email-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(162, 155, 254, 0.18) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.email-section > * { position: relative; z-index: 1; }
.email-section h2 { margin-bottom: 14px; }
.email-section p { color: var(--text-dim); margin-bottom: 30px; font-size: 16px; }
.email-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.email-input {
    flex: 1;
    min-width: 240px;
    padding: 14px 18px;
    background: rgba(7, 6, 26, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.15s;
}
.email-input:focus {
    outline: none;
    border-color: var(--periwinkle);
    box-shadow: 0 0 0 3px rgba(162, 155, 254, 0.2);
}
.email-msg {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-dim);
    min-height: 18px;
}
.email-msg.success { color: var(--green); }
.email-msg.error { color: var(--red); }

/* Transcript / debate preview */
.transcript-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin: 40px 0;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
}
.transcript-header {
    color: var(--periwinkle);
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 20px;
    font-weight: 600;
}
.transcript-line { margin-bottom: 12px; }
.transcript-speaker { color: var(--periwinkle-bright); font-weight: 700; }
.transcript-text { color: var(--text-dim); }
.transcript-verdict {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
}
.transcript-verdict.BUY,.transcript-verdict.STRONG_BUY{color:var(--green);}
.transcript-verdict.HOLD{color:var(--amber);}
.transcript-verdict.AVOID,.transcript-verdict.STRONG_AVOID,.transcript-verdict.SELL,.transcript-verdict.STRONG_SELL{color:var(--red);}

/* Trade tape: compact scrolling verdict and position feed */
.ticker {
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(24,21,66,0.74), rgba(7,6,26,0.78)),
        rgba(7,6,26,0.74);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    position: relative;
    height: 38px;
    display: flex;
    align-items: center;
    box-shadow: 0 12px 28px rgba(7,6,26,0.18);
}
.ticker::before,
.ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 2;
    pointer-events: none;
}
.ticker::before {
    left: 0;
    background: linear-gradient(90deg, rgba(7,6,26,0.96), rgba(7,6,26,0));
}
.ticker::after {
    right: 0;
    background: linear-gradient(270deg, rgba(7,6,26,0.96), rgba(7,6,26,0));
}
.ticker-track {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: ticker-scroll 90s linear infinite;
    padding: 0 10px;
    min-width: max-content;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    color: var(--text-dim);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    max-width: 190px;
    flex: 0 0 auto;
    text-decoration: none;
    border-radius: 999px;
    padding: 0 9px;
    border: 1px solid rgba(162,155,254,0.16);
    background: rgba(15,12,42,0.9);
    transition: background .15s, border-color .15s, transform .15s;
    overflow: hidden;
}
.ticker-item:hover {
    background: rgba(162,155,254,0.12);
    border-color: rgba(162,155,254,0.38);
    transform: translateY(-1px);
}
.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--periwinkle);
    box-shadow: 0 0 12px rgba(162,155,254,0.6);
    flex: 0 0 auto;
}
.ticker-item .sym {
    color: var(--text);
    font-weight: 800;
    flex: 0 0 auto;
}
.ticker-item .v {
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    flex: 0 0 auto;
}
.ticker-item .conf {
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 700;
    flex: 0 0 auto;
}
.ticker-item.buy .v,
.ticker-item.strong_buy .v,
.ticker-item.opened .v { color: var(--green); }
.ticker-item.buy .ticker-dot,
.ticker-item.strong_buy .ticker-dot,
.ticker-item.opened .ticker-dot { background: var(--green); box-shadow: 0 0 14px rgba(74,222,128,0.62); }
.ticker-item.hold .v,
.ticker-item.waiting .v,
.ticker-item.disabled .v { color: var(--amber); }
.ticker-item.hold .ticker-dot,
.ticker-item.waiting .ticker-dot,
.ticker-item.disabled .ticker-dot { background: var(--amber); box-shadow: 0 0 14px rgba(251,191,36,0.55); }
.ticker-item.avoid .v,
.ticker-item.strong_avoid .v,
.ticker-item.sell .v,
.ticker-item.strong_sell .v { color: var(--red); }
.ticker-item.avoid .ticker-dot,
.ticker-item.strong_avoid .ticker-dot,
.ticker-item.sell .ticker-dot,
.ticker-item.strong_sell .ticker-dot { background: var(--red); box-shadow: 0 0 14px rgba(248,113,113,0.55); }
@keyframes ticker-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 32px;
    margin-top: 80px;
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
}
.footer a { color: var(--text-dim); text-decoration: none; margin: 0 12px; }
.footer a:hover { color: var(--periwinkle-bright); }
.footer .footer-inner { display:flex; flex-wrap:wrap; gap:24px; justify-content:space-between; align-items:flex-start; max-width:1100px; margin:0 auto 24px; text-align:left; }
.footer .footer-col { flex:1 1 240px; }
.footer .footer-brand { font-size:16px; font-weight:600; color:var(--text-dim); margin-bottom:6px; }
.footer .footer-tag { color:var(--text-faint); font-size:12px; margin:0; }
.footer .footer-links { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.footer .footer-links a { margin:0 4px; }
.footer .footer-disclaimer { max-width:1100px; margin:0 auto 12px; color:var(--text-faint); font-family:var(--font-mono); font-size:11px; line-height:1.7; opacity:0.75; }
.footer .footer-disclaimer p { margin:0; }
.footer .footer-legal { color:var(--text-faint); font-size:11px; margin-top:14px; }

/* Mobile */
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

@media (max-width: 720px) {
    .research-grid { grid-template-columns: 1fr !important; }
    .yield-grid { grid-template-columns: 1fr !important; }
    .verdict-checklist { grid-template-columns: 1fr !important; }
    .pm-row { grid-template-columns: 1fr !important; row-gap: 4px; }
    .table-overflow-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .nav { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
    .nav-brand { font-size: 16px; }
    .nav-links { display: flex; gap: 14px; flex: 1 0 100%; order: 3; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 4px; overflow-x: auto; scrollbar-width: none; }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a { font-size: 14px; padding: 6px 0; flex-shrink: 0; }
    .nav-cta { padding: 6px 14px; font-size: 12px; }
    .hero { padding: 50px 16px 40px; }
    .hero h1 { font-size: clamp(32px, 9vw, 48px); letter-spacing: -1.5px; }
    .live-strip { margin: 0 16px 40px; padding: 14px; gap: 14px; grid-template-columns: 1fr 1fr; }
    #tradingMode { font-size: 16px; }
    .section { padding: 32px 16px; }
    .section-intro { font-size: 15px; }
    .cast-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cast-card { aspect-ratio: 4/5; }
    .cast-name { font-size: 18px; }
    .cast-role { font-size: 10px; }
    .cast-desc { font-size: 12px; }
    .cast-meta { padding: 14px 14px 16px; }
    .feature-grid { grid-template-columns: 1fr; }
    .email-section { margin: 40px 16px 60px; padding: 32px 20px; }
    .btn-primary, .btn-secondary { padding: 12px 22px; font-size: 14px; }
    .ep-card { padding: 18px 16px; }
    .ep-card h3 { font-size: 16px; }
    .persona-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .scoreboard { grid-template-columns: repeat(2, 1fr) !important; }
    .acct-strip { grid-template-columns: 1fr 1fr !important; }
    .acct-value { font-size: 20px; }
    .position-grid { grid-template-columns: 1fr !important; }
    .cycle-symbol { font-size: clamp(36px, 14vw, 64px) !important; }
    .persona-hero { padding: 20px 18px; flex-direction: column !important; align-items: flex-start !important; }
    .persona-hero img { width: 100% !important; height: auto !important; max-width: 200px; }
    .persona-hero h1 { font-size: 32px !important; }
    .transcript { font-size: 12px; padding: 14px; max-height: 360px; }
    .ticker { margin: 10px 16px 0; height: 36px; }
    .ticker::before, .ticker::after { width: 34px; }
    .ticker-item { max-width: 168px; height: 25px; padding: 0 8px; gap: 5px; }
    h1 { font-size: clamp(24px, 7vw, 36px) !important; }
    h2 { font-size: clamp(22px, 6vw, 32px) !important; }
}
@media (max-width: 480px) {
    .cast-grid { grid-template-columns: 1fr; gap: 14px; }
    .cast-card { max-width: 360px; margin: 0 auto; aspect-ratio: 4/5; }
    .nav-cta { display: none; }
}
