@import url("/site-navigation.css?v=20260901-unified-member-header");

:root {
  --navy: #06264a;
  --ink: #071e3d;
  --muted: #526276;
  --line: #dbe5ec;
  --paper: #fffdfa;
  --panel: #f7fcfe;
  --wash: #f4f8fb;
  --accent: #007f7b;
  --accent-dark: #006461;
  --gold: #ffad0a;
  --coral: #ff6b4a;
  --sky: #e9f7fb;
  --good: #12783b;
  --bad: #a43838;
  --warn: #8a6418;
  --shadow: 0 16px 40px rgba(6, 38, 74, .09);
  --radius: 20px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 95% 6%, rgba(255, 173, 10, .13), transparent 24rem),
    linear-gradient(180deg, #fffdfa 0, #f4f8fb 38rem, #edf5f8 100%);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.lh-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: rgba(6, 38, 74, .97);
  box-shadow: 0 8px 28px rgba(1, 20, 42, .18);
  backdrop-filter: blur(14px);
}
.lh-nav-wrap {
  width: min(1380px, calc(100% - 40px));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.lh-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.lh-brand::after {
  content: "PICKS";
  align-self: center;
  margin-left: -4px;
  padding: 7px 0 2px;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  font-size: .57rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .2em;
}
.lh-brand-mark { width: 34px; height: 42px; display: grid; place-items: center; }
.lh-brand-mark svg { width: 100%; height: 100%; }
.lh-menu-toggle {
  display: none;
  width: 44px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  color: #fff;
  background: #0b345f;
  font-size: 1.25rem;
}
.lh-nav { display: flex; align-items: center; gap: 8px; }
.lh-nav > a {
  padding: 10px 11px;
  border-radius: 9px;
  color: #dceaf4;
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}
.lh-site-header .lh-nav > a[hidden] { display: none !important; }
.lh-nav > a:hover, .lh-nav > a:focus-visible { color: #fff; background: rgba(255, 255, 255, .1); }
.lh-nav > a[aria-current="page"] { color: var(--navy); background: var(--gold); box-shadow: 0 4px 0 #c77e00; }
.lh-language-picker { position: relative; display: flex; align-items: center; }
.lh-language-picker::before { content: "🌐"; position: absolute; left: 10px; z-index: 1; font-size: .8rem; pointer-events: none; }
.lh-language-picker select {
  width: auto;
  min-height: 39px;
  padding: 0 9px 0 31px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 9px;
  color: #fff;
  background: #0b345f;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
}
.lh-session-actions { display: flex; align-items: center; gap: 7px; }
.lh-notification-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 11px;
  color: #dceaf4;
  background: rgba(255, 255, 255, .08);
}
.lh-notification-link svg { width: 21px; height: 21px; }
.lh-notification-link:hover,
.lh-notification-link:focus-visible { color: #fff; background: rgba(255, 255, 255, .15); }
.lh-notification-link[aria-current="page"] {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 4px 0 #c77e00;
}
.lh-profile-menu { position: relative; }
.lh-session-chip {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px 5px 6px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 11px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font: inherit;
  cursor: pointer;
}
.lh-profile-chevron { color: #adc4d6; font-size: .68rem; }
.lh-profile-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 90;
  width: 230px;
  padding: 7px;
  border: 1px solid #d5e1e9;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(1, 20, 42, .24);
}
.lh-profile-dropdown a,.lh-profile-dropdown button {
  width: 100%; min-height: 40px; display: grid; justify-items: start;
  padding: 9px 10px; border: 0; border-radius: 8px; background: transparent;
  color: var(--ink); text-align: left; text-decoration: none; font: inherit;
  font-size: .8rem; font-weight: 850; cursor: pointer;
}
.lh-profile-dropdown a:hover,.lh-profile-dropdown button:hover { background: #edf7f6; color: var(--teal); }
.lh-profile-dropdown small { color: #657584; font-size: .68rem; font-weight: 650; }
.lh-session-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  font-size: .72rem;
  font-weight: 950;
}
.lh-session-copy { min-width: 0; display: grid; line-height: 1.05; }
.lh-session-copy small { color: #adc4d6; font-size: .62rem; font-weight: 800; }
.lh-session-copy strong { max-width: 125px; overflow: hidden; text-overflow: ellipsis; font-size: .75rem; white-space: nowrap; }
.lh-session-signout {
  min-height: 38px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  color: #dceaf4 !important;
  background: transparent !important;
  font-size: .7rem;
}
.lh-context-bar { border-top: 1px solid rgba(255, 255, 255, .12); background: #041e3b; }
.lh-context-inner {
  width: min(1380px, calc(100% - 40px));
  min-height: 42px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lh-context-inner::-webkit-scrollbar { display: none; }
.lh-context-inner a { padding: 7px 10px; border-radius: 8px; color: #adc4d6; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.lh-context-inner a:hover, .lh-context-inner a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.lh-breadcrumb {
  width: min(1380px, calc(100% - 40px));
  min-height: 36px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5d6e3;
  font-size: .72rem;
  font-weight: 800;
}
.lh-breadcrumb a:hover, .lh-breadcrumb a:focus-visible { color: #fff; }
.lh-breadcrumb [aria-current="page"] { color: var(--gold); }

/* App pages and Marketplace now share the same member header. These overrides
   protect header controls from the broad legacy button theme below. */
.site-header .member-chip,
.site-header .nav-signout,
.site-header .nav-toggle {
  border-color: rgba(255,255,255,.24) !important;
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
}
.site-header .member-chip:hover,
.site-header .nav-signout:hover,
.site-header .nav-toggle:hover { transform:none; box-shadow:none; }

.shell { display: block !important; min-height: auto !important; }
.shell > aside { display: none !important; }
.shell > main, body > main {
  width: min(1380px, calc(100% - 40px));
  margin: auto;
  padding: 42px 0 72px !important;
  min-width: 0;
}
.top {
  position: relative;
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end !important;
  gap: 24px;
  margin: 0 0 24px !important;
  padding: 26px 28px;
  overflow: hidden;
  border: 1px solid #bcdde6;
  border-radius: 26px;
  background: linear-gradient(120deg, #e9f7fb, #fff7dc);
  box-shadow: var(--shadow);
}
.top::after {
  content: "";
  position: absolute;
  right: 35px;
  top: -74px;
  width: 180px;
  height: 180px;
  border: 18px solid rgba(255, 173, 10, .22);
  border-radius: 48% 52% 44% 56%;
  transform: rotate(18deg);
  pointer-events: none;
}
.top > * { position: relative; z-index: 1; }
.lh-top-mascot { flex: 0 0 138px; width: 138px; align-self: center; filter: drop-shadow(0 12px 11px rgba(6, 38, 74, .14)); }
.lh-top-mascot svg { display: block; width: 100%; height: auto; }
.top h1 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: "Avenir Next Condensed", "Avenir Next", sans-serif;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.top-links { display: none !important; }
h1, h2, h3 { color: var(--ink); font-family: "Avenir Next Condensed", "Avenir Next", sans-serif; }
h2 { letter-spacing: -.035em; }
p { line-height: 1.55; }
.muted { color: var(--muted) !important; }

.grid { gap: 12px !important; }
.metric, .panel, .pick-card, .locked-card, .subscription-row, .event-row, .odds-row, .draft-row,
.offer, .subscription, .trust-card, .feed-card, .setup-item, .notification-card {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 253, 250, .97) !important;
  box-shadow: 0 10px 30px rgba(6, 38, 74, .065);
}
.metric { position: relative; min-height: 104px; padding: 17px !important; overflow: hidden; }
.metric::after { content: ""; position: absolute; right: -16px; bottom: -24px; width: 62px; height: 62px; border: 10px solid rgba(0, 127, 123, .09); border-radius: 50%; }
.metric span { color: var(--muted) !important; font-size: .75rem !important; font-weight: 700; }
.metric strong { display: block; margin-top: 7px; font-family: "Avenir Next Condensed", "Avenir Next", sans-serif; font-size: clamp(1.25rem, 2vw, 1.75rem) !important; }
.panel { margin-bottom: 18px !important; padding: 22px !important; overflow: hidden; }
.panel h2 { margin-bottom: 14px; }
.decision, .cta, .locked-note, .guarantee-box { border-color: #e8ca7a !important; background: #fff8df !important; }
.workspace { gap: 18px !important; }

button, .button, .actions a {
  min-height: 42px;
  border-radius: 10px !important;
  font-family: "Avenir Next", Avenir, sans-serif;
  font-weight: 800 !important;
}
button { border-color: var(--accent) !important; color: var(--accent-dark) !important; background: #fff !important; }
button:hover { transform: translateY(-1px); box-shadow: 0 7px 16px rgba(6, 38, 74, .1); }
button.primary, button.active { color: #fff !important; background: var(--accent) !important; }
button.done { color: var(--good) !important; background: #e4f5ea !important; }
.actions a { display: inline-flex; align-items: center; padding: 7px 12px; color: #fff; background: var(--navy); }
input, select, textarea {
  min-height: 44px;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  color: var(--ink) !important;
  background: #fff !important;
  font-family: "Avenir Next", Avenir, sans-serif !important;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0, 127, 123, .17); border-color: var(--accent) !important; }
.badge { border-radius: 999px !important; }
.preview-box { border-radius: 16px !important; background: var(--navy) !important; }
.preview-box h3 { color: #fff; }
.event-row.active, .odds-row.active { border-color: var(--accent) !important; background: #e9f7f5 !important; }

/* Notifications */
.notification-list { display: grid; gap: 14px !important; }
.notification-card {
  position: relative;
  padding: 20px 20px 18px 24px !important;
  overflow: hidden;
  border-radius: 17px !important;
  background: rgba(255, 253, 250, .98) !important;
  box-shadow: 0 9px 28px rgba(6, 38, 74, .065);
}
.notification-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #8bbbc8;
}
.notification-card[data-priority="P0"]::before { background: var(--coral); }
.notification-card[data-priority="P1"]::before { background: var(--gold); }
.notification-card[data-priority="P2"]::before { background: var(--accent); }
.notification-card h3 { margin-bottom: 5px; font-size: 1.18rem; }
.notification-card > p { color: #26384e; }
.notification-card .notification-foot {
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.notification-card .notification-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 9px;
  color: #fff;
  background: var(--navy);
}
.notification-card .badge { padding: 5px 9px; }
.notification-card .badge.ai { color: var(--accent-dark); background: #dff3f1; }
.notification-card .badge.warn { color: #76520b; background: #fff0c9; }
.notification-card .badge.bad { color: #912f2f; background: #ffe5df; }
.notification-card .badge.good { color: var(--good); background: #e4f5ea; }

@media (max-width: 1000px) and (min-width: 721px) {
  .notifications-page .grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

.panel:has(table) { overflow-x: auto !important; }
table { width: 100%; min-width: 760px; border-collapse: separate !important; border-spacing: 0 7px !important; }
th { padding: 8px 10px !important; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
td { padding: 12px 10px !important; border-top: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; background: #fff; }
td:first-child { border-left: 1px solid var(--line) !important; border-radius: 12px 0 0 12px; }
td:last-child { border-right: 1px solid var(--line) !important; border-radius: 0 12px 12px 0; }
.lh-page-hidden { display: none !important; }
.lh-pager, .lh-load-more-wrap { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 18px; }
.lh-pager span { min-width: 110px; color: var(--muted); text-align: center; font-size: .8rem; font-weight: 800; }
.lh-pager button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.lh-load-more { min-width: 210px; background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.lh-result-count { color: var(--muted); font-size: .8rem; font-weight: 700; text-align: center; }
.lh-site-footer { padding: 34px 20px; color: #bcd0df; background: var(--navy); text-align: center; font-size: .82rem; }
:focus-visible { outline: 3px solid #54b9ff; outline-offset: 3px; }

@media (max-width: 1100px) {
  .lh-menu-toggle { display: grid; place-items: center; }
  .lh-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: var(--navy);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  }
  .lh-nav[data-open="true"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lh-nav > a { text-align: center; }
  .lh-language-picker, .lh-language-picker select { width: 100%; }
  .lh-context-inner { padding: 2px 0; }
  .lh-session-actions { margin-left: auto; }
  .workspace { grid-template-columns: 1fr 1fr !important; }
  .right-col { grid-column: 1 / -1 !important; }
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .lh-site-header[data-lh-role] .lh-nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 12px;
    padding-top: 8px;
  }
  .lh-site-header[data-lh-role] .lh-brand { grid-column: 1; margin-right: 0; }
  .lh-site-header[data-lh-role] .lh-menu-toggle { display: none; }
  .lh-site-header[data-lh-role] .lh-session-actions { grid-column: 2; grid-row: 1; }
  .lh-site-header[data-lh-role] .lh-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 7px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .lh-site-header[data-lh-role="follower"] .lh-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .lh-site-header[data-lh-role] .lh-nav > a {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 7px 8px;
    text-align: center;
  }
  .lh-site-header[data-lh-role] .lh-language-picker { display: none; }
}

@media (max-width: 720px) {
  .lh-nav-wrap, .lh-context-inner, .lh-breadcrumb, .shell > main, body > main { width: min(100% - 28px, 1380px); }
  .lh-nav-wrap { min-height: 66px; }
  .lh-nav { top: 61px; grid-template-columns: 1fr 1fr !important; }
  .lh-session-copy { display: none; }
  .lh-session-chip { padding: 5px; border: 0; background: transparent; }
  .lh-language-picker { grid-column: 1 / -1; }
  .shell > main, body > main { padding: 28px 0 54px !important; }
  .top { display: block !important; padding: 22px 18px; border-radius: 20px; }
  .top::after { right: -72px; }
  .lh-top-mascot { position: absolute; right: 10px; bottom: -24px; width: 102px; opacity: .36; }
  .top h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .grid, .two, .workspace, .offers, .subscription-grid, .trust-center, .mini-evidence,
  .premium-feed, .setup-grid, .form-grid, .market-tabs, .segmented, .toolbar, .actions {
    grid-template-columns: 1fr !important;
  }
  .panel { padding: 18px 15px !important; border-radius: 17px !important; }
  .metric { min-height: 86px; }
  .card-head, .card-actions, .pick-line, .feed-top { display: grid !important; }
  .badge-stack { justify-content: flex-start !important; }
  .actions { display: flex !important; }
  .actions > * { flex: 1 1 140px; justify-content: center; }
  .event-list { max-height: 430px !important; }
  .lh-pager { flex-wrap: wrap; }
  .lh-site-header[data-lh-role] .lh-nav {
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .lh-site-header[data-lh-role="follower"] .lh-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 420px) {
  .lh-nav-wrap { gap: 8px; }
  .lh-brand { gap: 5px; font-size: .98rem; }
  .lh-brand::after { margin-left: -2px; padding-top: 5px; font-size: .44rem; letter-spacing: .13em; }
  .lh-brand-mark { width: 25px; height: 32px; }
  .lh-session-signout { display: none; }
  .lh-site-header:not([data-lh-role]) .lh-nav { grid-template-columns: 1fr !important; max-height: calc(100vh - 76px); overflow-y: auto; }
  .lh-site-header[data-lh-role] .lh-nav { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lh-site-header[data-lh-role="follower"] .lh-nav { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lh-site-header[data-lh-role] .lh-nav > a { padding-inline: 4px; font-size: .69rem; }
  .lh-language-picker { grid-column: auto; }
  .lh-context-inner { width: 100%; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
