/* A common optical finish keeps the desk, menus, and market surfaces consistent. */
:root {
  --bg: #000;
  --sidebar: #080808;
  --surface: #141414;
  --elev: #222;
  --line: rgba(255, 255, 255, .13);
  --text: #f4f4f3;
  --muted: #bcbcb9;
  --faint: #999995;
  --lime: #c3fa80;
  --glass-edge: rgba(235, 235, 235, .2);
  --glass-shadow: inset 0 1px 0 rgba(238, 255, 248, .075), 0 9px 30px -19px rgba(0, 0, 0, .82);
}
body { background: var(--bg); }
.sidebar, .topbar, .panel, .market-card, .data-row, .summary-tile, .post-card, .parlay-card, .small-dialog {
  -webkit-backdrop-filter: blur(21px) saturate(120%);
  backdrop-filter: blur(21px) saturate(120%);
}
.sidebar {
  background: linear-gradient(155deg, #101010, #070707 45%, #0b0b0b);
  border-color: rgba(193, 224, 211, .17);
  box-shadow: inset -1px 0 rgba(247,255,251,.025), 4px 0 28px -20px #000;
}
.brand { gap: 9px; }
.brand img { width: 35px; height: 35px; filter: drop-shadow(0 3px 9px rgba(175,246,117,.14)); }
.brand span { font-weight: 790; letter-spacing: -1.9px; }
.nav-label { color: #99aaa3; letter-spacing: 1.55px; }
.nav-link { border-radius: 9px; color: #c1cfca; font-weight: 530; }
.nav-link .icon { width: 19px; height: 19px; color: #a6b9b1; }
.nav-link.active {
  background: linear-gradient(115deg, rgba(162, 206, 122, .21), rgba(121, 167, 108, .1));
  border-color: rgba(197, 235, 168, .26);
  box-shadow: inset 0 1px rgba(235, 255, 219, .11), 0 4px 15px -10px #000;
}
.nav-link.active .icon { color: var(--lime); }
.nav-link:hover, .help-link:hover, .profile:hover { background-color: rgba(224,255,236,.055); }
.profile-avatar {
  background: linear-gradient(145deg, #42523a, #283c35);
  border-color: rgba(201,239,159,.27); box-shadow: inset 0 1px rgba(255,255,255,.12);
}
.topbar {
  background: linear-gradient(110deg, rgba(18,18,18,.9), rgba(10,10,10,.9));
  border-color: rgba(200, 229, 220, .16);
  box-shadow: inset 0 -1px rgba(235,255,246,.018);
}
.global-search, .balance {
  background: linear-gradient(125deg, rgba(190,213,202,.085), rgba(180,209,203,.035));
  border-color: rgba(191,218,207,.21); border-radius: 9px; color: #c2cec7;
  box-shadow: inset 0 1px rgba(243,255,248,.06);
}
.global-search { height: 35px; width: 245px; }
.global-search kbd { font-family: inherit; border-color: rgba(210,231,211,.2); }
.balance { color: #e6efe5; padding: 0 12px; min-height: 35px; }
.balance .icon { color: #b5c6b4; }
.dot { box-shadow: 0 0 7px rgba(187,255,148,.36); }
.page-heading h1 { font-weight: 630; letter-spacing: -.052em; }
.date-label { color: #b5c4be; }
.hero {
  border-radius: 16px; border-color: rgba(207,234,201,.37);
  box-shadow: inset 0 1px rgba(237,255,225,.23), 0 12px 30px -16px rgba(0,0,0,.7);
  background: #16251f;
}
.hero>img { object-position: 50% 3%; filter: saturate(.77) contrast(1.04) brightness(.99); }
.hero::before {
  background:
    linear-gradient(96deg, #14281d 1%, rgba(18,35,27,.98) 23%, rgba(19,37,29,.81) 37%, rgba(23,40,33,.32) 55%, transparent 73%),
    linear-gradient(0deg, rgba(8, 18, 19, .68), transparent 48%);
}
.hero::after {
  background: linear-gradient(135deg, rgba(215,249,192,.10), transparent 20%),
    repeating-linear-gradient(125deg, transparent 0 29px, rgba(195,233,176,.065) 30px, transparent 31px 46px);
}
.hero-content { padding-left: clamp(21px, 2.2vw, 36px); }
.feature-kicker {
  border: 1px solid rgba(192,234,154,.24); border-radius: 5px; padding: 5px 7px;
  background: rgba(118,154,94,.15); box-shadow: inset 0 1px rgba(226,255,201,.07);
  color: #d1fca1; font-size: 9px; letter-spacing: 1.35px;
}
.hero h2 { text-shadow: 0 4px 16px rgba(1,9,4,.24); }
.hero h2 span { color: #beceba; }
.hero-score, .hero-prob {
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(227,242,227,.23); background: rgba(17,26,23,.56);
  border-radius: 7px; box-shadow: inset 0 1px rgba(239,255,239,.08);
}
.hero-score { padding: 6px 8px; }
.hero-score .dot, .live-label .dot { box-shadow: 0 0 6px rgba(255,151,112,.3); }
.hero-prob { padding: 6px 9px; gap: 7px; }
.primary-button {
  border: 1px solid rgba(226,255,195,.58); border-radius: 8px;
  background: linear-gradient(140deg, #dcff9d, #b5ee76); color: #17260e;
  box-shadow: inset 0 1px rgba(255,255,255,.29), 0 4px 16px -7px rgba(177,245,109,.43);
}
.primary-button:hover { background: linear-gradient(140deg, #e6ffb8, #c3f78b); }
.panel, .market-card, .data-row, .summary-tile, .post-card, .parlay-card {
  border-color: var(--glass-edge); border-radius: 13px; box-shadow: var(--glass-shadow);
  background: linear-gradient(135deg, #1c1c1c, #101010 66%, #151515);
}
.rail .panel { background: linear-gradient(135deg, #191919, #101010 68%, #161616); }
.market-card:hover, .post-card:hover { border-color: rgba(202,233,208,.33); }
.card-type { color: #c1cfc8; letter-spacing: .8px; gap: 7px; }
.card-type .icon { color: #b6c9bb; width: 15px; height: 15px; }
.card-time { color: #acbcb5; }
.live-label { color: #ffb197; }
.team-line { gap: 10px; }
.team-line img { width: 28px; height: 28px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.23)); }
.team-line strong { font-weight: 635; }
.team-line .price, .prop-choices button:first-child {
  background: linear-gradient(130deg,rgba(165,211,121,.19),rgba(151,197,116,.10));
  border-color: rgba(197,229,166,.25); border-radius: 7px; color: #dcf3bb;
  box-shadow: inset 0 1px rgba(243,255,224,.07);
}
.team-line.secondary .price, .prop-choices button {
  background: linear-gradient(130deg,rgba(202,224,219,.1),rgba(164,187,182,.045));
  border-color: rgba(203,225,214,.18); color: #dce7df; border-radius: 7px;
}
.card-footer { border-color: rgba(194,221,208,.12); color:#b0c1b7; }
.card-footer .bookmark .icon { width: 15px; height: 15px; }
.sport-tab {
  padding: 8px 11px; border-radius: 8px; color: #c5d2ca;
  background: linear-gradient(135deg, rgba(184,216,202,.10), rgba(143,177,164,.045));
  border-color: rgba(185,216,198,.17); font-weight: 550;
  box-shadow: inset 0 1px rgba(239,255,241,.04);
}
.sport-tab .icon { width: 15px; height: 15px; }
.sport-tab.active {
  background: linear-gradient(130deg, rgba(168,213,121,.24), rgba(139,192,117,.12));
  color: #d6ffa5; border-color: rgba(196,235,159,.34);
}
.panel-symbol {
  width: 28px; height: 28px; display: inline-grid; flex: none; place-items: center; border-radius: 8px;
  border: 1px solid rgba(204,233,200,.17); box-shadow: inset 0 1px rgba(249,255,246,.07);
}
.panel-symbol .icon { width: 17px; height: 17px; }
.thesis-symbol { background: linear-gradient(145deg,rgba(180,220,146,.17),rgba(148,192,139,.06)); color: #d1f3a9; }
.pulse-symbol { background: linear-gradient(145deg,rgba(146,215,197,.18),rgba(123,182,172,.06)); color: #abe6cc; }
.panel-head { padding-top: 15px; gap: 9px; }
.feed-filter { gap: 20px; }
.feed-filter button { font-weight: 560; }
.feed-filter .active { color: #e2f6ca; }
.avatar { outline: 1px solid rgba(216,239,218,.23); outline-offset: 1px; }
.thesis-body { color: #d3dfd7; }
.chip { border: 1px solid rgba(187,230,172,.15); border-radius: 6px; color: #c8edb4; background: rgba(117,165,103,.13); }
.chip.purple { border-color: rgba(210,186,247,.17); color: #dfc7fa; background: rgba(169,133,216,.13); }
.chip.orange { border-color: rgba(245,196,150,.17); color: #f6d1a9; background: rgba(202,151,89,.14); }
.panel-foot { font-size: 11px; color: #d1dfc9; }
.small-dialog {
  background: linear-gradient(135deg, rgba(50,68,62,.95), rgba(24,37,35,.96) 43%,rgba(31,42,46,.96));
  border-color: rgba(217,238,225,.3); border-radius: 16px;
  box-shadow: inset 0 1px rgba(239,255,245,.15), 0 36px 90px rgba(0,0,0,.53);
}
.small-dialog::backdrop { background: rgba(3,9,10,.62); backdrop-filter: blur(7px); }
.form-control, .search-input { background: rgba(7,16,15,.56); border-color: rgba(198,225,210,.22); border-radius: 8px; }
.quiet-button, .post-card .follow-btn { background: rgba(158,201,127,.1); border-color: rgba(194,229,168,.22); }
.icon-button:hover, .search-result:hover { background: rgba(213,242,220,.08); }
@media(min-width:1251px) {
  .market-card { padding-left: 17px; padding-right: 17px; }
  .card-footer { min-height: 37px; }
  .hero-meta { font-size: 11.5px; }
  .sport-tab { font-size: 11.5px; }
  .post-by strong { font-size: 12px; }
  .post-by small, .post-by time { font-size: 10px; }
  .thesis-body { font-size: 12.5px; line-height: 1.55; }
  .mini-activity strong { font-size: 11px; }
  .mini-activity small { font-size: 10px; }
  .chip { font-size: 10px; }
}
@media(max-width:900px) {
  .sport-tab { padding: 7px 8px; }
  .sport-tab .icon { width: 13px; height: 13px; }
}
@media(max-width:760px) {
  .sidebar { visibility: hidden; background-color: #080808; }
  .menu-open .sidebar { visibility: visible; }
  .global-search { height: 31px; width: 31px; background: none; border: 0; box-shadow: none; }
  .hero { border-radius: 13px; }
}
@media(max-width:520px) {
  .team-line { gap: 5px; }
  .team-line img { width: 20px; height: 22px; }
  .balance { min-height: 31px; padding: 0 8px; }
  .hero-content { padding-left: 18px; }
  .hero-prob { gap: 1px; padding: 4px 7px; }
  .feature-kicker { font-size: 7.5px; }
  .card-type .icon { width: 12px; height: 12px; }
  .sport-tab { padding: 7px 8px; }
}
@media(prefers-reduced-transparency:reduce) {
  .sidebar,.topbar,.panel,.market-card,.data-row,.summary-tile,.post-card,.parlay-card,.small-dialog { background: #161616; backdrop-filter:none; }
}
