
/* =========================================
   I Like That Bet — Sports Ticker UI (FIXED)
   Fixes: oversized logos in ticker cards, mobile spacing
========================================= */

:root{
  --bg:#0b0f14;
  --panel:#101826;
  --panel2:#0e1522;
  --text:#e7eefc;
  --muted:#9bb0d3;
  --stroke:rgba(255,255,255,.12);
  --stroke2:rgba(255,255,255,.08);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --focus: rgba(124, 164, 255, .35);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(85,120,255,.18), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(255,85,180,.10), transparent 55%),
    var(--bg);
  color:var(--text);
}

/* ---------- Top Bar ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; gap:16px; align-items:flex-start; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--stroke);
  backdrop-filter: blur(12px);
  background: rgba(11,15,20,.78);
}

/* ---------- Brand Logo ---------- */
.brand-logo{
  display:flex;
  align-items:left;
  max-width:260px;
}

.brand-logo img{
  width:100%;
  max-width:240px;
  height:auto;
  display:block;
  object-fit:contain;
}

/* Tablet */
@media (max-width:900px){
  .brand-logo{
    max-width:220px;
  }
}

/* Mobile */
@media (max-width:600px){
  .brand-logo{
    max-width:180px;
  }
}

.controls{display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; justify-content:flex-end}
.controls label{display:grid; gap:6px; font-size:12px; color:var(--muted)}

.controls select{
  width:190px;
  max-width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: rgba(16,24,38,.75);
  color:var(--text);
  outline:none;
}

.controls select:focus{
  border-color: rgba(124,164,255,.55);
  box-shadow: 0 0 0 4px var(--focus);
}

.controls button{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  color:var(--text);
  cursor:pointer;
  font-weight:800;
  transition: transform .08s ease, filter .15s ease;
}
.controls button:hover{filter:brightness(1.08)}
.controls button:active{transform: translateY(1px)}

.status{font-size:12px;color:var(--muted);min-width:140px;text-align:right}

/* ---------- Page Wrap ---------- */
.wrap{max-width:1200px;margin:0 auto;padding:16px}

/* ---------- Ticker Shell ---------- */
.tickerShell{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(16,24,38,.92), rgba(14,21,34,.92));
  overflow:hidden;
}

.tickerViewport{position:relative;overflow:hidden;width:100%;padding:14px 0}
.tickerTrack{display:flex;align-items:stretch;gap:12px;padding:0 14px;will-change: transform}

/* ---------- Game Tile ---------- */
.game{
  flex:0 0 auto;
  min-width: 280px;
  max-width: 420px;
  padding:14px 14px 12px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.045);
  text-decoration:none;
  color:var(--text);
}

.game:hover{ background: rgba(255,255,255,.065); }
.game.live{ border-color: rgba(255,77,77,.75); box-shadow: 0 0 0 3px rgba(255,77,77,.10); }
.game.final{ opacity:.72; }

.game .top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.tag{
  font-size:11px;color:var(--muted);
  padding:5px 10px;border-radius:999px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.18);
}
.state{
  font-size:11px;color:var(--muted);
  text-align:right;
  max-width: 200px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rows{display:grid;gap:10px}
.row{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* ✅ FIX: Constrain team logo so it can NEVER blow up */
.team{display:flex;align-items:center;gap:10px;min-width:0}
.logo{
  width:26px;
  height:26px;
  border-radius:8px;
  background: rgba(255,255,255,.06);
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.08);
}
.logo img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  display:block !important;
}

.name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.score{font-weight:900;font-size:18px;font-variant-numeric: tabular-nums;letter-spacing:.2px}

.meta{
  margin-top:12px;padding-top:10px;border-top:1px solid var(--stroke2);
  display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:12px;
}
.meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- Lower Grid ---------- */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}
.card{
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding:16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.card h2{margin:0 0 12px 0;font-size:16px;letter-spacing:.2px}

.favorites{display:grid;gap:10px}
.favItem{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px;border:1px solid var(--stroke2);border-radius:16px;background: rgba(0,0,0,.18);
}
.favItem small{color:var(--muted);display:block;margin-top:2px;font-size:12px}
.favItem button{padding:10px 12px;border-radius:14px;border:1px solid var(--stroke);background: rgba(255,255,255,.06);color:var(--text);cursor:pointer;font-weight:800}
.favItem button:hover{filter:brightness(1.08)}



/* ---------- Favorites: premium compact core stat tiles ---------- */
.favItem.favPlayer{ align-items:flex-start; }
.favStatLine{ margin-top:8px; }

.favCoreHeader{ display:flex; justify-content:flex-start; margin:6px 0 8px; }
.favCorePill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:10px; letter-spacing:.12em; text-transform:uppercase;
  padding:3px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: var(--text);
  opacity:.92;
}

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

.favCoreTile{
  padding:8px 8px 7px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  min-height:58px;
  display:flex; flex-direction:column; justify-content:center;
}

.favCoreK{ font-size:11px; color: var(--muted); opacity:.85; line-height:1.1; }
.favCoreV{ font-size:16px; font-weight:900; line-height:1.1; margin-top:3px; color: var(--text); }

.favCoreLoading, .favCoreEmpty{
  padding:8px 10px;
  font-size:12px;
  color: var(--muted);
  opacity:.9;
}

@media (max-width: 480px){
  .favItem{ padding:10px; border-radius:14px; }
  .favItem button{ padding:8px 10px; border-radius:12px; font-size:12px; }
  .favCoreGrid{ gap:7px; }
  .favCoreTile{ min-height:54px; padding:7px 7px 6px; }
  .favCoreV{ font-size:15px; }
}
/* ---------- End Favorites tiles ---------- */

.playerStats .hint{color:var(--muted);font-size:13px;line-height:1.35}
.statLine{display:grid;gap:10px}
.statLine .title{font-weight:900;font-size:18px}
.statLine .sub{color:var(--muted);font-size:12px}
.kv{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.kv:last-child{border-bottom:none}
.kv strong{font-weight:900}

.footnote{margin-top:12px;color:var(--muted);font-size:12px}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .grid{grid-template-columns:1fr}
  .status{min-width:0;text-align:left}
  .controls{justify-content:flex-start}
}

@media (max-width:600px){
  .controls{width:100%;justify-content:space-between}
  .controls label{width: calc(50% - 6px);}
  .controls label:nth-child(3){width: 100%;}
  .controls select{width:100%}
  .controls button{width: calc(50% - 6px); padding:12px 12px;}
  .status{width:100%;text-align:left;margin-top:2px}
  .game{min-width:260px}
  .score{font-size:17px}
}

/* --- Add to your style.css for the stats mode toggle --- */
.statMode{
  display:flex;
  gap:10px;
  margin-bottom:12px;
}
.modeBtn{
  flex:1 1 auto;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(231,238,252,.95);
  font-weight:900;
  cursor:pointer;
}
.modeBtn.active{
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(247,201,72,.12);
  border-color: rgba(247,201,72,.35);
}
.headshot{
  width:64px;
  height:64px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  margin:10px 0;
  object-fit:cover;
}
.statSection{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}
.statSectionTitle{
  font-weight:900;
  color: rgba(231,238,252,.95);
  margin-bottom:8px;
}

/* =========================================
   Stats Preset Dropdown (per league)
========================================= */
.statsControls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.presetWrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.presetLabel{
  font-size:13px;
  letter-spacing:.3px;
  color:rgba(255,255,255,.78);
}

.presetSelect{
  min-width:200px;
  max-width:100%;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  color:#fff;
  background:rgba(0,0,0,0.22);
  border:1px solid rgba(255,255,255,0.18);
  border-radius:12px;
  padding:10px 36px 10px 12px;
  font-size:14px;
  outline:none;
}

.presetWrap{ position:relative; }
.presetWrap:after{
  content:"▾";
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  color:rgba(255,255,255,.75);
  pointer-events:none;
  font-size:14px;
}


/* Lifetime button fits with mode toggle */
.statMode{display:flex;gap:10px;flex-wrap:wrap;}



/* ================= HEADER SIZE ADJUSTMENTS ================= */

/* Bigger Logo */
.logo,
.logo a{
  display:flex;
  align-items:center;
}

.logo img{
  height:82px;   /* Bigger logo */
  width:auto;
  max-width:100%;
}

/* Smaller Header Action Buttons */
.header-actions{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
}

.header-actions button{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:42px;        /* Smaller height */
  font-size:14px;     /* Slightly smaller text */
  font-weight:600;
  line-height:1;
  padding:0 12px;
  white-space:nowrap;
}

/* Keep buttons side-by-side on mobile */
@media (max-width:600px){
  .header-actions{
    width:100%;
    flex-wrap:nowrap;
  }
  .header-actions button{
    flex:1 1 0 !important;
    height:40px;
    font-size:13px;
  }
}


/* =========================================
   Opponent (Vs Team) Controls
========================================= */
.opponentWrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}



/* ================= VS TEAM RESPONSIVE FIXES ================= */
*, *::before, *::after { box-sizing: border-box; }

.controls, .stats-controls, .player-stats-controls, .stat-controls {
  max-width: 100%;
}

.opponentWrap{
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.opponentWrap .presetLabel{
  flex: 0 0 auto;
  margin-right: 6px;
}

#opponentSelect{
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 100%;
}

#opponentScope{
  flex: 0 0 140px;
  min-width: 120px;
  max-width: 100%;
}

@media (max-width:600px){
  .opponentWrap{
    flex-direction: column;
    align-items: stretch;
  }
  .opponentWrap .presetLabel{
    margin: 0 0 6px 0;
  }
  #opponentSelect, #opponentScope{
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }
}



/* ================= VS TEAM HARD OVERFLOW GUARD ================= */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

main, .container, .wrap, .page, .app, #app, #main, .content{
  max-width:100%;
}

/* If any card/wrapper causes horizontal scroll, clip it */
.card, .panel, .section, .block, .controls{
  max-width:100%;
  overflow-x:hidden;
}

/* Force selects to never exceed container width */
.presetSelect, select{
  max-width:100% !important;
}

/* Opponent row: allow true shrink (min-width:0 is critical) */
.opponentWrap{
  max-width:100%;
  overflow:hidden;
}

.opponentWrap *{
  min-width:0 !important;
}

/* On very small screens, stack everything */
@media (max-width:480px){
  .opponentWrap{
    flex-direction:column !important;
    align-items:stretch !important;
  }
}

/* =========================================
   PREMIUM PLAYER STATS UPGRADE
   (Adds a more premium sportsbook feel to all stat sections)
========================================= */

/* Upgrade main stat container */
.playerStats .statLine{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}

/* Player name stronger hierarchy */
.playerStats .statLine .title{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .4px;
}

/* Sub text refinement */
.playerStats .statLine .sub{
  font-size: 13px;
  color: rgba(255,255,255,.65);
  letter-spacing: .2px;
}

/* Section styling */
.statSection{
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

/* Section title upgrade */
.statSectionTitle{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 14px;
}

/* Stat rows */
.kv{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}

.kv:last-child{
  border-bottom:none;
}

/* Label styling */
.kv span{
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .2px;
}

/* Value styling */
.kv strong{
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .3px;
  font-variant-numeric: tabular-nums;
}

/* Subtle hover interaction */
.kv:hover{
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  transition: background .2s ease;
}

/* =========================================
   OPTIONAL UPGRADE: "Core Stat Tiles"
   Turns the first stats section into a tile-style highlight bar
   (DraftKings/FanDuel vibe). If you ever want to disable, remove
   this block only.
========================================= */

@media (min-width: 401px){
  .playerStats .statSection:first-of-type{
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  }

  .playerStats .statSection:first-of-type .kv{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    text-align:center;
    border:none;
    padding: 10px 0;
  }

  .playerStats .statSection:first-of-type .kv span{
    display:block;
    font-size:12px;
    margin-bottom:6px;
    color: rgba(255,255,255,.65);
  }

  .playerStats .statSection:first-of-type .kv strong{
    display:block;
    font-size:22px;
  }

  /* Remove hover row background when in tile mode */
  .playerStats .statSection:first-of-type .kv:hover{
    background: transparent;
  }
}

/* On very small screens, keep it as rows to avoid cramped tiles */
@media (max-width: 400px){
  .playerStats .statSection:first-of-type .kv{
    display:flex;
    text-align:left;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
}

/* =========================================================
   LIVE FEED FULL-TICKER THEME
   Colors the full sports ticker to match the live feed look
   ========================================================= */
:root{
  --bg:#050914;
  --panel:#0a1324;
  --panel2:#0c1730;
  --text:#eef4ff;
  --muted:#a9b9da;
  --stroke:rgba(135,164,255,.18);
  --stroke2:rgba(135,164,255,.10);
  --shadow:0 18px 50px rgba(0,0,0,.42);
  --focus:rgba(104,141,255,.34);
  --gold:rgba(247,201,72,.65);
}

html,body{
  background:
    radial-gradient(1200px 700px at 8% 6%, rgba(26,74,172,.28), transparent 52%),
    radial-gradient(1000px 650px at 100% 0%, rgba(98,58,195,.18), transparent 55%),
    radial-gradient(900px 800px at 50% 100%, rgba(10,29,81,.35), transparent 65%),
    linear-gradient(180deg, #040814 0%, #06101f 38%, #081428 100%);
  color:var(--text);
}

.topbar,
.header,
.headerWrap{
  background:linear-gradient(180deg, rgba(8,14,28,.92), rgba(7,13,26,.82));
  border-bottom:1px solid rgba(135,164,255,.14);
  box-shadow:0 10px 30px rgba(0,0,0,.24);
}

.wrap,
main,
#app{
  background:transparent;
}

.tickerShell,
.card,
.favItem,
.favCoreTile,
.playerStats .statLine,
.presetWrap,
.opponentWrap,
.modeBtn,
.controls select,
.controls button,
.header-actions button,
.presetSelect,
.statSection,
.live-events-shell,
.favorite-feed-shell{
  background:
    linear-gradient(180deg, rgba(18,29,55,.92), rgba(10,18,37,.92));
  border-color:rgba(128,157,255,.16);
  box-shadow:0 12px 34px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.03);
}

.game,
.live-event-card,
.favorite-feed-item{
  background:
    linear-gradient(180deg, rgba(24,36,62,.94), rgba(12,20,39,.94));
  border:1px solid rgba(138,170,255,.15);
  box-shadow:0 10px 26px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
}

.game:hover,
.live-event-card:hover,
.favorite-feed-item:hover,
.controls button:hover,
.header-actions button:hover,
.modeBtn:hover{
  filter:brightness(1.06);
  border-color:rgba(160,188,255,.24);
}

.card,
.tickerShell,
.favItem,
.playerStats .statLine{
  position:relative;
  overflow:hidden;
}

.card::before,
.tickerShell::before,
.favItem::before,
.playerStats .statLine::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(75,120,255,.08), transparent 28%, transparent 72%, rgba(148,76,255,.06));
  pointer-events:none;
}

.tag,
.state,
.favCorePill,
.modeBtn.active,
.live-badge,
.feed-pill{
  background:rgba(7,14,30,.72);
  border-color:rgba(147,176,255,.18);
}

.modeBtn.active,
.controls button.primary,
.header-actions button.primary{
  box-shadow:0 0 0 3px rgba(247,201,72,.12);
  border-color:rgba(247,201,72,.34);
}

.controls select,
.presetSelect,
#opponentSelect,
#opponentScope,
input,
textarea{
  background:linear-gradient(180deg, rgba(9,16,31,.94), rgba(8,14,28,.94));
  color:var(--text);
  border:1px solid rgba(125,153,236,.18);
}

.controls select:focus,
.presetSelect:focus,
#opponentSelect:focus,
#opponentScope:focus,
input:focus,
textarea:focus{
  border-color:rgba(132,168,255,.42);
  box-shadow:0 0 0 4px rgba(104,141,255,.18);
}

.logo,
.team .logo,
.headshot{
  background:linear-gradient(180deg, rgba(21,36,70,.9), rgba(10,18,37,.92));
  border:1px solid rgba(145,173,255,.16);
}

.meta,
.kv,
.statSection,
.favorites .favItem + .favItem{
  border-color:rgba(130,160,255,.10);
}

.score,
.favCoreV,
.playerStats .statLine .title,
.card h2,
.modeBtn.active,
.fav-name,
.fav-title{
  color:#f2f6ff;
}

.status,
.favItem small,
.kv span,
.sub,
.playerStats .hint,
.meta,
.name,
.state,
.tag,
.favCoreK,
.presetLabel{
  color:#a8b9d9;
}

.game.live,
.live-event-card.live,
.favorite-feed-item.live{
  border-color:rgba(92,216,154,.46);
  box-shadow:0 0 0 3px rgba(92,216,154,.10), 0 12px 30px rgba(0,0,0,.26);
}

.game.final,
.live-event-card.final,
.favorite-feed-item.final{
  opacity:.84;
}

.favCoreTile,
.statLine .kv,
.favorite-feed-item .event-row,
.live-event-card .event-row{
  background:rgba(255,255,255,.025);
  border-radius:14px;
}

.card h2,
.sectionTitle,
.feed-title{
  text-shadow:0 1px 0 rgba(255,255,255,.03);
}

@media (max-width:600px){
  .card,
  .tickerShell,
  .favItem,
  .playerStats .statLine{
    box-shadow:0 10px 24px rgba(0,0,0,.24);
  }
}

#installPwaBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:0 22px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg,#f6cf3f,#e8b400);
  color:#07162f;
  font-weight:800;
  font-size:1rem;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(232,180,0,.28);
}

#installPwaBtn:disabled{
  opacity:.6;
  cursor:not-allowed;
}

#installStatus{
  margin-top:10px;
  color:#c8d5ef;
  font-size:.95rem;
  line-height:1.5;
}


/* =========================================================
   COMPACT LIVE FEED CARDS OVERRIDE
   Matches favorite player live feed cards to the live tracker
   and makes both feed card sets noticeably smaller.
   ========================================================= */

.live-events-shell,
.favorite-feed-shell{
  padding:12px;
  border-radius:20px;
}

.live-events-list,
.favorite-feed-list,
.favorite-player-feed,
.favorite-feed-shell .feed-list,
.live-events-shell .feed-list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.live-event-card,
.favorite-feed-item{
  padding:10px 12px;
  border-radius:16px;
  box-shadow:0 8px 18px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.02);
}

.live-event-card .event-row,
.favorite-feed-item .event-row{
  padding:0;
  margin:0;
  background:transparent;
  border-radius:0;
}

.live-event-card .event-meta,
.favorite-feed-item .event-meta,
.live-event-card .event-time,
.favorite-feed-item .event-time,
.live-event-card .event-quarter,
.favorite-feed-item .event-quarter,
.live-event-card .event-clock,
.favorite-feed-item .event-clock,
.live-event-card .feed-meta,
.favorite-feed-item .feed-meta{
  display:block;
  margin:0 0 5px;
  font-size:11px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#9db4ff;
}

.live-event-card .event-text,
.favorite-feed-item .event-text,
.live-event-card .feed-text,
.favorite-feed-item .feed-text,
.live-event-card .event-desc,
.favorite-feed-item .event-desc,
.live-event-card .event-row strong,
.favorite-feed-item .event-row strong,
.live-event-card .event-row .text,
.favorite-feed-item .event-row .text{
  display:block;
  margin:0;
  font-size:14px;
  line-height:1.28;
  font-weight:700;
  color:#f7faff;
}

.live-event-card .event-player,
.favorite-feed-item .event-player,
.live-event-card .player-tag,
.favorite-feed-item .player-tag,
.live-event-card .feed-pill,
.favorite-feed-item .feed-pill,
.favorite-feed-item .player-pill,
.favorite-feed-item .player-chip{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:7px;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:700;
  background:rgba(7,14,30,.52);
  border:1px solid rgba(147,176,255,.16);
  color:#e8efff;
}

.favorite-feed-item.is-positive,
.favorite-feed-item.live,
.favorite-feed-item.score{
  background:
    radial-gradient(circle at top left, rgba(32,201,119,.12), transparent 45%),
    linear-gradient(180deg, rgba(10,34,23,.95), rgba(8,19,15,.96));
  border-color: rgba(32,201,119,.42);
}

.favorite-feed-item.is-negative,
.favorite-feed-item.turnover,
.favorite-feed-item.miss,
.favorite-feed-item.final{
  background:
    radial-gradient(circle at top left, rgba(255,100,107,.08), transparent 42%),
    linear-gradient(180deg, rgba(30,18,25,.95), rgba(19,12,17,.96));
  border-color: rgba(255,100,107,.28);
}

@media (max-width:600px){
  .live-events-shell,
  .favorite-feed-shell{
    padding:10px;
    border-radius:18px;
  }

  .live-events-list,
  .favorite-feed-list,
  .favorite-player-feed,
  .favorite-feed-shell .feed-list,
  .live-events-shell .feed-list{
    gap:7px;
  }

  .live-event-card,
  .favorite-feed-item{
    padding:8px 10px;
    border-radius:14px;
  }

  .live-event-card .event-meta,
  .favorite-feed-item .event-meta,
  .live-event-card .event-time,
  .favorite-feed-item .event-time,
  .live-event-card .event-quarter,
  .favorite-feed-item .event-quarter,
  .live-event-card .event-clock,
  .favorite-feed-item .event-clock,
  .live-event-card .feed-meta,
  .favorite-feed-item .feed-meta{
    margin-bottom:4px;
    font-size:10px;
  }

  .live-event-card .event-text,
  .favorite-feed-item .event-text,
  .live-event-card .feed-text,
  .favorite-feed-item .feed-text,
  .live-event-card .event-desc,
  .favorite-feed-item .event-desc,
  .live-event-card .event-row strong,
  .favorite-feed-item .event-row strong,
  .live-event-card .event-row .text,
  .favorite-feed-item .event-row .text{
    font-size:13px;
    line-height:1.24;
  }

  .live-event-card .event-player,
  .favorite-feed-item .event-player,
  .live-event-card .player-tag,
  .favorite-feed-item .player-tag,
  .live-event-card .feed-pill,
  .favorite-feed-item .feed-pill,
  .favorite-feed-item .player-pill,
  .favorite-feed-item .player-chip{
    margin-top:6px;
    padding:3px 8px;
    font-size:10px;
  }
}
.install-highlight {
  box-shadow: 0 0 0 4px rgba(255, 208, 63, 0.35), 0 14px 34px rgba(232, 180, 0, 0.28);
  transform: scale(1.03);
  transition: 0.25s ease;
}
