
:root{
  --bec-cyan:#08a5cf;
  --bec-cyan-dark:#0788ad;
  --bec-brown:#8b5b27;
  --bec-ink:#17212b;
  --bec-soft:#f3f6f8;
  --bec-line:#dfe6eb;
  --bec-green:#16834b;
  --bec-red:#b84242;
}

html{scroll-behavior:smooth}
body.public-site{
  margin:0;
  background:#fff;
  color:var(--bec-ink);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.35;
}
.public-site *{box-sizing:border-box}
.public-site a{color:inherit}
.public-shell{width:min(1180px,calc(100% - 36px));margin:0 auto}

/* Top */
.public-topbar{
  background:#f6f6f4;
  border-bottom:1px solid #e5e1dc;
  font-size:13px;
  color:#5f5b56;
}
.topbar-inner{
  height:34px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.topbar-inner a{color:var(--bec-cyan-dark);text-decoration:none}

.public-brand{
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand-lockup{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:var(--bec-ink);
}
.brand-mark{
  width:58px;
  height:58px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#c92e32 0 48%,#fff 48% 56%,#1388ba 56%);
  border:4px solid #fff;
  box-shadow:0 0 0 2px #d7dfe5;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:800;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}
.brand-copy strong{
  display:block;
  font-family:Georgia,"Times New Roman",serif;
  font-size:31px;
  letter-spacing:.01em;
  color:var(--bec-brown);
}
.brand-copy small{
  display:block;
  margin-top:4px;
  font-size:14px;
  color:#5e6a74;
}
.brand-series{font-weight:700;color:#626d76}

.public-nav{
  background:var(--bec-ink);
  border-top:4px solid var(--bec-cyan);
}
.nav-inner{
  display:flex;
  align-items:center;
  min-height:52px;
  gap:2px;
}
.nav-inner>a{
  padding:17px 13px;
  color:#e9eff3;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
}
.nav-inner>a:hover,.nav-inner>a.active{background:#253440;color:#fff}
.nav-spacer{flex:1}
.nav-inner .nav-login{color:#8fd7ea}
.nav-inner .nav-cta{
  background:var(--bec-cyan);
  color:#fff;
  margin-left:7px;
  padding:11px 16px;
  border-radius:7px;
}

/* Hero */
.fantasy-hero{
  background:
    linear-gradient(90deg,rgba(8,165,207,.08),transparent 45%),
    linear-gradient(180deg,#fbfcfd,#f2f6f8);
  border-bottom:1px solid var(--bec-line);
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);
  gap:48px;
  align-items:center;
  padding:58px 0;
}
.hero-kicker,.section-kicker{
  display:inline-block;
  color:var(--bec-cyan-dark);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.13em;
}
.hero-copy h1{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--bec-brown);
  font-size:52px;
  line-height:1.04;
  margin:10px 0 18px;
  max-width:760px;
}
.hero-copy>p{
  font-size:19px;
  line-height:1.6;
  color:#55636e;
  max-width:700px;
}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 22px}
.public-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  padding:12px 18px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
}
.public-button.primary{background:var(--bec-cyan);color:#fff}
.public-button.primary:hover{background:var(--bec-cyan-dark)}
.public-button.ghost{border-color:#b9c6cf;color:#253846;background:#fff}
.public-button.large{padding:15px 22px;font-size:16px}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;color:#62707a;font-size:13px}

.hero-scorecard{
  background:#fff;
  border:1px solid #d7e0e6;
  border-radius:16px;
  box-shadow:0 12px 34px rgba(27,44,57,.08);
  overflow:hidden;
}
.scorecard-head{
  background:var(--bec-cyan);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:15px 18px;
}
.scorecard-head span{font-weight:800}
.scorecard-head strong{font-size:18px}
.scorecard-status{
  padding:15px 18px;
  font-family:Georgia,serif;
  font-size:25px;
  color:var(--bec-brown);
  border-bottom:1px solid #e4eaee;
}
.scorecard-grid{display:grid;grid-template-columns:1fr 1fr}
.scorecard-grid>div{
  padding:15px 18px;
  border-right:1px solid #edf0f2;
  border-bottom:1px solid #edf0f2;
}
.scorecard-grid span{display:block;color:#77828a;font-size:12px;margin-bottom:5px}
.scorecard-grid strong{font-size:20px}
.scorecard-note{padding:12px 18px 0;margin:0;color:#6a7680;font-size:12px;line-height:1.5}
.scorecard-link{display:block;padding:15px 18px;color:var(--bec-cyan-dark);font-weight:800;text-decoration:none}

/* Sections */
.public-section{padding:54px 0}
.section-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:24px;
}
.section-heading h2{
  font-family:Georgia,"Times New Roman",serif;
  color:var(--bec-brown);
  font-size:34px;
  margin:6px 0 0;
}
.section-heading>p{max-width:480px;margin:0;color:#687680;line-height:1.5}
.section-heading.compact{align-items:center;margin-bottom:15px}
.section-heading.compact h2{font-size:28px}
.section-date{font-weight:700;color:#64717b}

.how-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.how-grid article{
  border:1px solid var(--bec-line);
  border-top:4px solid var(--bec-cyan);
  padding:20px;
  border-radius:4px 4px 12px 12px;
  background:#fff;
}
.step-number{
  display:flex;
  width:34px;
  height:34px;
  align-items:center;
  justify-content:center;
  background:#eef8fb;
  color:var(--bec-cyan-dark);
  font-weight:900;
  border-radius:50%;
  margin-bottom:14px;
}
.how-grid h3{margin:0 0 8px;font-size:18px}
.how-grid p{margin:0;color:#687680;line-height:1.55;font-size:14px}

/* Games */
.results-band{
  background:#f4f7f8;
  border-top:1px solid var(--bec-line);
  border-bottom:1px solid var(--bec-line);
  padding:32px 0;
}
.games-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.game-card{
  background:#fff;
  border:1px solid #d8e1e6;
  border-radius:9px;
  padding:12px;
}
.game-final{
  display:block;
  color:#7a858d;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:8px;
}
.game-team{
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:4px 0;
  font-size:13px;
}
.game-team strong{font-size:16px}

/* Rankings */
.leader-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.public-panel{
  border:1px solid var(--bec-line);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
.panel-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  background:#f8fafb;
  border-bottom:1px solid var(--bec-line);
}
.panel-title h3{
  margin:0;
  font-family:Georgia,serif;
  font-size:23px;
  color:#4f5c66;
}
.panel-title span{font-size:12px;color:#78848d}
.ranking-row{
  display:grid;
  grid-template-columns:30px 36px minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
  padding:11px 14px;
  border-bottom:1px solid #edf1f3;
}
.ranking-row:last-child{border-bottom:0}
.ranking-pos{font-weight:800;color:#7b858d}
.team-dot,.user-avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef6f8;
  color:var(--bec-cyan-dark);
  font-weight:900;
}
.ranking-name strong,.ranking-name small{display:block}
.ranking-name small{color:#7c8790;margin-top:2px;font-size:11px}
.ranking-points{color:var(--bec-ink);white-space:nowrap}
.ranking-price{color:#6c7880;font-size:12px;white-space:nowrap}
.empty-public{padding:22px;color:#73808a}

/* Market */
.market-section{background:var(--bec-ink);padding:54px 0;color:#fff}
.section-heading.light h2{color:#fff}
.section-heading.light>p{color:#b8c3cb}
.market-section .section-kicker{color:#63cbe5}
.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.market-card{
  background:#22313c;
  border:1px solid #344754;
  border-radius:12px;
  overflow:hidden;
}
.market-card-head{
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid #344754;
}
.market-card-head>span{
  display:flex;
  width:29px;
  height:29px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#18485a;
  color:#74d8ef;
  font-weight:900;
}
.market-card-head.up>span{background:#143e2b;color:#63d895}
.market-card-head.down>span{background:#4a2929;color:#ff9b9b}
.market-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px 16px;
  border-bottom:1px solid #30414d;
}
.market-row:last-child{border:0}
.market-row strong,.market-row small{display:block}
.market-row small{color:#9fb0bb;margin-top:2px}
.market-row>span{font-weight:800}

/* Standings + CTA */
.standings-panel{overflow:hidden}
.user-row{grid-template-columns:30px 36px minmax(0,1fr) auto auto}
.standings-empty{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:28px;
}
.standings-trophy{
  display:flex;
  width:52px;
  height:52px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff6dd;
  color:#b68318;
  font-size:26px;
}
.standings-empty h3{
  margin:0 0 6px;
  font-family:Georgia,serif;
  font-size:22px;
  color:var(--bec-brown);
}
.standings-empty p{margin:0;color:#6a7780;line-height:1.5}
.join-section{background:#f1f8fa;border-top:1px solid #d9e8ed;padding:40px 0}
.join-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.join-inner h2{
  font-family:Georgia,serif;
  color:var(--bec-brown);
  font-size:36px;
  margin:5px 0;
}
.join-inner p{margin:0;color:#687680}

/* Footer */
.public-footer{background:#10171d;color:#b9c3ca;padding:30px 0}
.footer-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:30px;align-items:center}
.footer-grid strong,.footer-grid span,.footer-grid small{display:block}
.footer-grid strong{color:#fff;font-family:Georgia,serif;font-size:20px}
.footer-grid small{margin-top:4px}
.footer-links{display:flex;gap:14px}
.footer-links a{color:#7acfe4;text-decoration:none}

/* Responsive */
@media(max-width:980px){
  .hero-grid{grid-template-columns:1fr;gap:26px;padding:40px 0}
  .hero-copy h1{font-size:43px}
  .how-grid,.games-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .leader-columns{grid-template-columns:1fr}
  .market-grid{grid-template-columns:1fr}
  .public-nav .nav-inner{overflow-x:auto}
  .nav-spacer{display:none}
  .nav-inner>a{white-space:nowrap}
}
@media(max-width:680px){
  .public-brand{min-height:86px}
  .brand-copy strong{font-size:24px}
  .brand-series{display:none}
  .topbar-inner{justify-content:center}
  .topbar-inner a{display:none}
  .hero-copy h1{font-size:36px}
  .hero-copy>p{font-size:17px}
  .how-grid,.games-strip{grid-template-columns:1fr}
  .section-heading{align-items:start;flex-direction:column;gap:10px}
  .ranking-row{grid-template-columns:28px 32px minmax(0,1fr) auto}
  .ranking-price{grid-column:3/5}
  .standings-empty{grid-template-columns:1fr}
  .join-inner{align-items:flex-start;flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-links{margin-top:5px}
}


/* v0.8.2 refinements */
.public-shell{
  width:min(1500px,calc(100% - 48px));
}

.official-inline{
  color:inherit;
  text-decoration:none;
}
.official-inline:hover{
  color:var(--bec-cyan-dark);
}

.header-collage{
  padding-top:18px;
  padding-bottom:18px;
}
.header-collage img{
  display:block;
  width:100%;
  height:300px;
  object-fit:cover;
  object-position:center;
  border-radius:2px;
  border:1px solid #d9e1e6;
  box-shadow:0 8px 28px rgba(23,33,43,.08);
}

.hero-grid{
  grid-template-columns:minmax(0,1.38fr) minmax(390px,.62fr);
  gap:58px;
  padding-top:52px;
}

.hero-copy h1{
  max-width:900px;
}

.results-heading-right{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.official-link{
  color:var(--bec-cyan-dark);
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}
.official-link:hover{
  text-decoration:underline;
}

.games-strip{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.game-card{
  min-height:124px;
  padding:14px;
}
.game-team{
  align-items:center;
}
.game-team-name{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.game-team-name img{
  width:28px;
  height:28px;
  object-fit:contain;
  border-radius:50%;
  flex:0 0 28px;
}
.game-team-name span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.game-team strong{
  font-size:18px;
  padding-left:8px;
}

.team-logo-dot{
  background:#fff;
  border:1px solid #dfe7eb;
  overflow:hidden;
}
.team-logo-dot img{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:50%;
}

.section-side-copy{
  max-width:510px;
}
.section-side-copy p{
  margin:0 0 7px;
  color:#687680;
  line-height:1.5;
}

.footer-inline-brand{
  color:#fff;
  font-family:inherit !important;
  font-size:inherit !important;
  display:inline !important;
}

@media(max-width:1250px){
  .public-shell{width:min(1180px,calc(100% - 36px))}
  .header-collage img{height:260px}
}
@media(max-width:980px){
  .header-collage{padding-top:12px;padding-bottom:12px}
  .header-collage img{height:220px}
}
@media(max-width:680px){
  .public-shell{width:calc(100% - 24px)}
  .header-collage img{height:155px}
  .results-heading-right{align-items:flex-start;flex-direction:column;gap:5px}
}


/* v0.8.3 */
.public-brand{min-height:116px}

.brand-mark-image{
  width:66px;height:66px;padding:0;background:none;border:0;box-shadow:none
}
.brand-mark-image img{display:block;width:66px;height:66px}

.brand-copy strong{font-size:34px;line-height:1}
.brand-copy small{font-size:15px;margin-top:7px}
.brand-project{
  display:block;margin-top:6px;color:#536571;font-size:14px;font-weight:600
}
.brand-project b{color:var(--bec-cyan-dark)}

.brand-series{
  font-size:18px;font-weight:800;color:#526675;text-decoration:none;padding:10px 0
}
.brand-series:hover{color:var(--bec-cyan-dark);text-decoration:underline}

/* Slightly narrower and shorter collage */
.header-collage{
  width:min(1420px,calc(100% - 84px));
  padding-top:14px;
  padding-bottom:14px
}
.header-collage img{height:245px;border-radius:4px}

/* New hero title typeface */
.hero-copy h1{
  font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
  font-size:55px;
  font-weight:800;
  line-height:1.04;
  letter-spacing:-1.6px;
  color:#8d5924;
  max-width:940px
}

.hero-series-link{text-decoration:none;font-size:13px}
.hero-series-link:hover{text-decoration:underline}

.hero-trust{gap:12px 20px;margin-top:8px}
.hero-benefit{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-size:16px;
  font-weight:700;
  color:#4d6370
}
.hero-benefit svg{
  width:22px;
  height:22px;
  fill:var(--bec-cyan-dark);
  flex:0 0 22px
}

.public-topbar{font-size:15px}
.topbar-inner strong{color:#3f535f}

@media(max-width:1250px){
  .header-collage{width:min(1160px,calc(100% - 56px))}
  .header-collage img{height:225px}
  .hero-copy h1{font-size:48px}
}
@media(max-width:680px){
  .brand-project{font-size:12px}
  .brand-mark-image,.brand-mark-image img{width:54px;height:54px}
  .header-collage{width:calc(100% - 28px)}
  .header-collage img{height:145px}
  .hero-copy h1{font-size:36px;letter-spacing:-1px}
  .hero-trust{align-items:flex-start;flex-direction:column}
}


/* v0.8.4 · Header brand refinement */
.public-brand{
  min-height:120px;
}
.brand-lockup{
  gap:16px;
}
.brand-mark-image{
  width:76px;
  height:76px;
  border-radius:50%;
  overflow:hidden;
  background:#fff;
  box-shadow:0 0 0 1px #d9e1e6;
}
.brand-mark-image img{
  display:block;
  width:76px;
  height:76px;
  object-fit:cover;
}
.brand-copy{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.brand-title-line{
  display:flex;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
}
.brand-copy strong{
  font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
  font-size:36px;
  line-height:1;
  font-weight:800;
  letter-spacing:-1px;
  color:#855322;
  text-transform:none;
}
.brand-title-line em{
  font-family:Arial,Helvetica,sans-serif;
  font-style:normal;
  font-size:17px;
  font-weight:600;
  color:#536571;
  white-space:nowrap;
}
.brand-project{
  margin-top:0;
  font-size:15px;
  font-weight:600;
  color:#596a76;
}
.brand-project b{
  color:var(--bec-cyan-dark);
}
.brand-series{
  font-size:22px;
  font-weight:800;
  color:#526675;
  line-height:1.2;
  text-decoration:none;
}
.brand-series:hover{
  color:var(--bec-cyan-dark);
  text-decoration:underline;
}

@media(max-width:900px){
  .brand-title-line{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .brand-title-line em{
    white-space:normal;
  }
}
@media(max-width:680px){
  .public-brand{
    min-height:102px;
  }
  .brand-mark-image,
  .brand-mark-image img{
    width:60px;
    height:60px;
  }
  .brand-copy strong{
    font-size:27px;
  }
  .brand-title-line em{
    font-size:14px;
  }
  .brand-project{
    font-size:12px;
  }
  .brand-series{
    font-size:15px;
  }
}


/* v0.8.5 · larger brand + public sections */
.public-brand{min-height:132px}
.brand-mark-image{width:90px;height:90px}
.brand-mark-image img{width:90px;height:90px}
.brand-copy strong{font-size:41px}
.brand-title-line em{font-size:20px}
.brand-project{font-size:17px}
.brand-series{font-size:25px}

.public-page-head{
  background:linear-gradient(90deg,#edf9fc,#f7fafb 55%,#fff);
  border-bottom:1px solid var(--bec-line);
  padding:42px 0 36px;
}
.public-page-head h1{
  margin:7px 0 8px;
  font-family:"Trebuchet MS",Arial,sans-serif;
  color:#875322;
  font-size:44px;
  letter-spacing:-1px;
}
.public-page-head p{
  margin:0;
  max-width:780px;
  color:#62727d;
  font-size:17px;
  line-height:1.55;
}

.market-filters{
  display:grid;
  grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(160px,.7fr)) auto;
  gap:10px;
  align-items:center;
  margin-bottom:18px;
}
.market-filters input,.market-filters select{
  min-height:44px;
  border:1px solid #cad6dd;
  border-radius:8px;
  padding:0 12px;
  background:#fff;
  font:inherit;
}
.market-summary{margin:0 0 12px;color:#687680}

.public-data-table-wrap{
  border:1px solid var(--bec-line);
  border-radius:12px;
  overflow:auto;
  background:#fff;
}
.public-data-table{
  width:100%;
  border-collapse:collapse;
  min-width:820px;
}
.public-data-table th{
  background:#eef8fb;
  color:#48606e;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid var(--bec-line);
}
.public-data-table td{
  padding:12px 14px;
  border-bottom:1px solid #edf1f3;
}
.public-data-table tr:last-child td{border-bottom:0}
.public-data-table tbody tr:hover{background:#fbfdfe}
.player-link{font-weight:800;color:#17212b;text-decoration:none}
.player-link:hover{color:var(--bec-cyan-dark)}
.table-team{display:flex;align-items:center;gap:8px}
.table-team img{width:27px;height:27px;object-fit:contain;border-radius:50%}
.trend-up{color:#16834b;font-weight:800}
.trend-down{color:#b84242;font-weight:800}

.players-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.player-card{
  display:grid;
  grid-template-columns:44px 48px minmax(0,1fr) 100px 125px;
  gap:10px;
  align-items:center;
  border:1px solid var(--bec-line);
  border-radius:10px;
  padding:12px 14px;
  color:inherit;
  text-decoration:none;
  background:#fff;
}
.player-card:hover{border-color:#9ccfe0;background:#fbfdfe}
.player-card-rank{font-weight:900;color:#74818a}
.player-card-team img{width:40px;height:40px;object-fit:contain;border-radius:50%}
.player-card-info strong,.player-card-info span{display:block}
.player-card-info span{font-size:12px;color:#79858e;margin-top:3px}
.player-card-stat small,.player-card-stat strong{display:block}
.player-card-stat small{font-size:11px;color:#7a8790}
.center-actions{text-align:center;margin-top:24px}

.player-profile-head{
  background:linear-gradient(90deg,#eef9fc,#fff);
  padding:38px 0;
  border-bottom:1px solid var(--bec-line)
}
.player-profile-grid{display:flex;justify-content:space-between;align-items:center;gap:30px}
.player-profile-identity{display:flex;align-items:center;gap:18px}
.profile-team-logo{width:82px;height:82px;object-fit:contain;border-radius:50%;background:#fff;border:1px solid var(--bec-line)}
.player-profile-identity h1{margin:4px 0;font-family:"Trebuchet MS",Arial,sans-serif;color:#875322;font-size:42px}
.player-profile-identity p{margin:0;color:#667780}
.profile-price{text-align:right;background:#fff;border:1px solid var(--bec-line);border-radius:12px;padding:16px 18px;min-width:210px}
.profile-price span,.profile-price strong,.profile-price small{display:block}
.profile-price span,.profile-price small{color:#73808a}
.profile-price strong{font-size:27px;margin:4px 0;color:#17212b}
.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.profile-stats>div{border:1px solid var(--bec-line);border-radius:10px;padding:16px;background:#fff}
.profile-stats span,.profile-stats strong{display:block}
.profile-stats span{color:#75828b;font-size:13px}.profile-stats strong{font-size:24px;margin-top:4px}
.profile-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}

.round-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:20px}
.round-tabs a{
  min-width:100px;padding:10px 12px;border:1px solid var(--bec-line);border-radius:9px;
  text-decoration:none;color:#52636e;background:#fff;font-weight:800
}
.round-tabs a small{display:block;font-size:10px;font-weight:600;color:#7c8992;margin-top:3px}
.round-tabs a.active{background:var(--bec-ink);color:#fff;border-color:var(--bec-ink)}
.round-tabs a.active small{color:#b9c6ce}
.public-games-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

@media(max-width:1050px){
  .market-filters{grid-template-columns:1fr 1fr}
  .players-grid{grid-template-columns:1fr}
  .public-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .public-brand{min-height:108px}
  .brand-mark-image,.brand-mark-image img{width:66px;height:66px}
  .brand-copy strong{font-size:29px}
  .brand-title-line em{font-size:14px}
  .brand-project{font-size:12px}
  .brand-series{font-size:15px}
  .market-filters{grid-template-columns:1fr}
  .player-card{grid-template-columns:36px 42px minmax(0,1fr)}
  .player-card-stat{grid-column:3}
  .player-profile-grid{align-items:flex-start;flex-direction:column}
  .profile-price{text-align:left;width:100%}
  .profile-stats{grid-template-columns:1fr 1fr}
  .public-games-grid{grid-template-columns:1fr}
}


/* v0.8.7 · market eligibility, pitching market, sharper logos */
.table-team img,
.game-team-name img,
.player-card-team img,
.profile-team-logo,
.team-logo-dot img,
.pitching-logo img{
  image-rendering:auto;
  -ms-interpolation-mode:bicubic;
}

.table-team img{
  width:34px;
  height:34px;
  flex:0 0 34px;
  object-fit:contain;
  background:#fff;
  border-radius:50%;
}

.game-team-name img{
  width:34px;
  height:34px;
  flex:0 0 34px;
}

.market-tabs{
  display:flex;
  gap:10px;
  margin-bottom:22px;
  border-bottom:1px solid var(--bec-line);
}
.market-tabs a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:12px 16px;
  color:#526571;
  font-weight:800;
  text-decoration:none;
  border-bottom:3px solid transparent;
}
.market-tabs a strong{
  display:flex;
  min-width:28px;
  height:24px;
  padding:0 7px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef4f7;
  color:#57707e;
  font-size:12px;
}
.market-tabs a.active{
  color:var(--bec-cyan-dark);
  border-bottom-color:var(--bec-cyan);
}
.market-tabs a.active strong{
  background:#e2f6fb;
  color:var(--bec-cyan-dark);
}

.market-note{
  margin-left:12px;
  color:#7a8790;
  font-size:13px;
}

.pitching-filters{
  grid-template-columns:minmax(260px,1.4fr) minmax(190px,.6fr) auto;
}

.pitching-market-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.pitching-market-card{
  border:1px solid var(--bec-line);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}
.pitching-market-card.is-pending{
  background:#fffcf3;
  border-color:#ecd99b;
}
.pitching-team-head{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:11px;
  align-items:center;
  padding:15px;
  border-bottom:1px solid #edf1f3;
}
.pitching-logo{
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pitching-logo img{
  width:50px;
  height:50px;
  object-fit:contain;
  border-radius:50%;
}
.pitching-team-head strong,
.pitching-team-head small{
  display:block;
}
.pitching-team-head small{
  margin-top:3px;
  color:#7a8790;
  font-size:11px;
}
.status-badge{
  display:inline-flex;
  align-items:center;
  padding:5px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:800;
}
.status-badge.active{
  background:#e9f7ef;
  color:#26754a;
}
.status-badge.pending{
  background:#fff1c7;
  color:#826214;
}
.pitching-market-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}
.pitching-market-stats>div{
  padding:13px 12px;
  border-right:1px solid #edf1f3;
}
.pitching-market-stats>div:last-child{
  border-right:0;
}
.pitching-market-stats span,
.pitching-market-stats strong{
  display:block;
}
.pitching-market-stats span{
  color:#7a8790;
  font-size:11px;
  margin-bottom:4px;
}
.pitching-market-stats strong{
  font-size:16px;
}

@media(max-width:1250px){
  .pitching-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .pitching-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .market-tabs{overflow-x:auto}
  .market-tabs a{white-space:nowrap}
  .market-note{display:block;margin:5px 0 0}
  .pitching-filters{grid-template-columns:1fr}
  .pitching-market-grid{grid-template-columns:1fr}
}


/* v0.8.8 · unified market rows + statistical players page */
.pitching-table-team span span,
.pitching-table-team > span:last-child{
  display:flex;
  flex-direction:column;
}
.pitching-table-team small{
  display:block;
  margin-top:2px;
  color:#7a8790;
  font-size:11px;
  font-weight:400;
}
.pitching-data-table .row-pending{
  background:#fffdf5;
}
.pitching-data-table .row-pending:hover{
  background:#fff9e8;
}

.players-purpose-note{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 18px;
  margin-bottom:18px;
  border:1px solid #dbe7ec;
  border-left:4px solid var(--bec-cyan);
  border-radius:10px;
  background:#f8fcfd;
}
.players-purpose-note strong,
.players-purpose-note span{
  display:block;
}
.players-purpose-note strong{
  font-size:17px;
  color:#334a57;
}
.players-purpose-note span{
  margin-top:3px;
  color:#6f7e87;
  font-size:13px;
}

.player-stats-filters{
  display:grid;
  grid-template-columns:minmax(280px,1.5fr) minmax(260px,.7fr) auto;
  gap:10px;
  margin-bottom:18px;
}
.player-stats-filters input,
.player-stats-filters select{
  min-height:44px;
  border:1px solid #cad6dd;
  border-radius:8px;
  padding:0 12px;
  background:#fff;
  font:inherit;
}

.player-stats-table td,
.player-stats-table th{
  white-space:nowrap;
}
.player-stats-table td:nth-child(2){
  white-space:normal;
}
.secondary-price{
  color:#73818a;
  font-weight:600;
}

@media(max-width:800px){
  .players-purpose-note{
    align-items:flex-start;
    flex-direction:column;
  }
  .player-stats-filters{
    grid-template-columns:1fr;
  }
}


/* v0.8.9 · canonical totals + pitching statistics */
.stats-tabs{
  margin-top:2px;
}

.pitching-stats-table .row-pending{
  background:#fffdf5;
}
.pitching-stats-table .row-pending:hover{
  background:#fff9e8;
}

.pitching-stats-table .pitching-table-team > span:last-child{
  display:flex;
  flex-direction:column;
}
.pitching-stats-table .pitching-table-team small{
  margin-top:2px;
  color:#7b8790;
  font-size:11px;
  font-weight:400;
}


/* v0.9.2 · Mi Desafío information architecture */
.private-subnav{
  background:#f6f9fa;
  border-bottom:1px solid var(--bec-line);
}
.private-subnav-inner{
  display:flex;
  gap:4px;
}
.private-subnav a{
  display:inline-flex;
  padding:12px 16px;
  color:#5d6d77;
  text-decoration:none;
  font-weight:800;
  border-bottom:3px solid transparent;
}
.private-subnav a.active{
  color:var(--bec-cyan-dark);
  border-bottom-color:var(--bec-cyan);
}

.private-page-head{
  padding-top:34px;
  padding-bottom:30px;
}

.private-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:20px;
}
.private-kpi{
  border:1px solid var(--bec-line);
  border-radius:12px;
  padding:17px;
  background:#fff;
}
.private-kpi span,
.private-kpi strong,
.private-kpi small{
  display:block;
}
.private-kpi span{
  color:#72808a;
  font-size:13px;
}
.private-kpi strong{
  margin:5px 0 2px;
  color:#17212b;
  font-size:28px;
}
.private-kpi small{
  color:#87929a;
}

.private-two-columns{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);
  gap:16px;
  margin-bottom:20px;
}
.private-panel .panel-title>div h3{
  margin-bottom:2px;
}
.private-roster-list{
  display:grid;
}
.private-roster-row{
  display:grid;
  grid-template-columns:44px 42px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  border-bottom:1px solid #edf1f3;
}
.private-roster-row:last-child{
  border-bottom:0;
}
.private-roster-row>img{
  width:36px;
  height:36px;
  object-fit:contain;
}
.private-roster-row div strong,
.private-roster-row div small{
  display:block;
}
.private-roster-row div small{
  margin-top:2px;
  color:#7b8790;
  font-size:11px;
}
.position-chip-public{
  display:inline-flex;
  min-width:38px;
  height:32px;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#eef6f8;
  color:#315a6c;
  font-weight:900;
}
.roster-price{
  color:#596b77;
  font-size:13px;
  font-weight:700;
}
.private-empty{
  padding:28px 22px;
}
.private-empty.compact{
  padding:18px 20px;
}
.private-empty h3{
  margin:0 0 7px;
  color:#4a5b66;
}
.private-empty p{
  margin:0 0 16px;
  color:#73818a;
  line-height:1.5;
}
.private-empty.compact p{
  margin:0;
}

.private-status-list{
  padding:8px 16px;
}
.private-status-list>div{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:12px 0;
  border-bottom:1px solid #edf1f3;
}
.private-status-list>div:last-child{
  border-bottom:0;
}
.private-status-list span{
  color:#74818a;
}
.private-full-button{
  width:calc(100% - 32px);
  margin:10px 16px 16px;
}
.private-history-panel{
  margin-top:0;
}
.no-border{
  border:0;
  border-radius:0;
}

.private-editor-page{
  background:#f3f6f8;
}
.private-editor-container{
  padding-top:28px;
}
.private-editor-page .container{
  max-width:1380px;
}
.private-editor-page .hero{
  background:transparent;
}
.private-editor-page .hero h1{
  color:#875322;
}

.login-placeholder{
  max-width:760px;
  padding:26px;
}
.login-placeholder h2{
  margin-top:0;
}
.login-placeholder code{
  display:block;
  margin-top:14px;
  padding:12px;
  border-radius:8px;
  background:#f2f6f8;
}

@media(max-width:980px){
  .private-kpi-grid{
    grid-template-columns:1fr 1fr;
  }
  .private-two-columns{
    grid-template-columns:1fr;
  }
}
@media(max-width:680px){
  .private-kpi-grid{
    grid-template-columns:1fr;
  }
  .private-roster-row{
    grid-template-columns:40px 38px minmax(0,1fr);
  }
  .roster-price{
    grid-column:3;
  }
}


/* v0.9.2 · visualización de cambios preparados */
.private-roster-row.has-planned-change{
  border-bottom:0;
}
.private-roster-next{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  align-items:start;
  margin:0 14px 10px 56px;
  padding:12px 14px;
  border:1px dashed #99d3e5;
  border-radius:12px;
  background:#f2fbfe;
}
.private-roster-next-icon{
  width:32px;
  height:32px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#dff4fb;
  color:var(--bec-cyan-dark);
  font-weight:900;
  font-size:18px;
  line-height:1;
}
.private-roster-next-copy{
  min-width:0;
}
.private-roster-next-label{
  display:block;
  margin-bottom:8px;
  color:#0b89ad;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.private-roster-next-player{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}
.private-roster-next-player img{
  width:36px;
  height:36px;
  object-fit:contain;
}
.private-roster-next-player div strong,
.private-roster-next-player div small{
  display:block;
}
.private-roster-next-player div small{
  margin-top:2px;
  color:#67808a;
  font-size:12px;
}
.private-status-list small{
  display:block;
  margin-top:4px;
  color:#87939b;
  font-size:12px;
}
@media(max-width:680px){
  .private-roster-next{
    margin-left:14px;
    grid-template-columns:1fr;
  }
  .private-roster-next-player{
    grid-template-columns:38px minmax(0,1fr);
  }
  .private-roster-next-player .roster-price{
    grid-column:2;
  }
}


/* v0.9.2 · team identity + green/red prepared changes */
.private-team-title{
  align-items:center;
}
.private-team-identity{
  display:flex;
  align-items:center;
  gap:12px;
}
.private-team-identity>img{
  width:54px;
  height:54px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--bec-line);
  background:#fff;
}

.private-roster-change{
  position:relative;
  margin:0 14px 12px 56px;
  padding:10px;
  border:1px solid #d8e5e9;
  border-radius:12px;
  background:#fbfdfe;
}
.change-flow-row{
  display:grid;
  grid-template-columns:58px 38px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border-radius:9px;
}
.change-flow-row img{
  width:34px;
  height:34px;
  object-fit:contain;
}
.change-flow-row div strong,
.change-flow-row div small{
  display:block;
}
.change-flow-row div small{
  margin-top:2px;
  font-size:11px;
}
.change-state-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:0 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
}
.change-out{
  background:#fff3f3;
  color:#7e3030;
}
.change-out .change-state-badge{
  background:#f8dede;
  color:#a83636;
}
.change-out div small{
  color:#9d6e6e;
}
.change-in{
  background:#effaf3;
  color:#245e3c;
}
.change-in .change-state-badge{
  background:#d9f2e2;
  color:#167348;
}
.change-in div small{
  color:#648477;
}
.change-flow-arrow{
  width:30px;
  height:30px;
  margin:-3px 0 -3px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#edf5f7;
  color:#4b7482;
  font-weight:900;
}

.team-identity-card{
  display:grid;
  grid-template-columns:110px minmax(260px,.8fr) minmax(360px,1.2fr);
  gap:22px;
  align-items:center;
}
.team-identity-preview img{
  width:100px;
  height:100px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid #d8e2e7;
  background:#fff;
  box-shadow:0 8px 24px rgba(23,33,43,.08);
}
.team-identity-copy h2{
  margin:4px 0 7px;
  color:#875322;
}
.team-identity-copy p{
  margin:0;
  color:#687985;
  line-height:1.5;
}
.team-identity-form{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(220px,1fr) auto;
  gap:12px;
  align-items:end;
}
.team-identity-form label{
  display:block;
}
.team-identity-form label>span{
  display:block;
  margin-bottom:6px;
  font-weight:800;
}
.team-identity-form label small{
  font-weight:400;
  color:#7c8992;
}
.team-identity-form input[type="text"],
.team-identity-form input[type="file"]{
  width:100%;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #cbd7de;
  border-radius:9px;
  background:#fff;
  font:inherit;
}
.team-identity-form label>small{
  display:block;
  margin-top:5px;
  font-size:11px;
}
.button.secondary{
  background:#eef5f7;
  color:#264c5c;
  border:1px solid #cbdde4;
}

@media(max-width:1100px){
  .team-identity-card{
    grid-template-columns:90px 1fr;
  }
  .team-identity-form{
    grid-column:1/-1;
    grid-template-columns:1fr 1fr auto;
  }
}
@media(max-width:720px){
  .private-roster-change{
    margin-left:14px;
  }
  .change-flow-row{
    grid-template-columns:52px 34px minmax(0,1fr);
  }
  .change-flow-row .roster-price{
    grid-column:3;
  }
  .team-identity-card{
    grid-template-columns:1fr;
  }
  .team-identity-form{
    grid-template-columns:1fr;
  }
}


/* v0.9.3 · wider editor, aligned identity and visual roster selection */
.private-editor-page .private-editor-container{
  width:min(1540px,calc(100% - 40px));
  max-width:none;
  margin:36px auto;
}

.team-identity-card{
  grid-template-columns:120px minmax(290px,.75fr) minmax(680px,1.45fr);
  gap:26px;
  padding:26px;
}
.team-identity-preview img{
  width:108px;
  height:108px;
}
.team-identity-form{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(360px,1.2fr) 150px;
  gap:18px;
  align-items:start;
}
.identity-field{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.identity-field label{
  min-height:28px;
  display:flex;
  align-items:center;
  gap:6px;
  margin:0 0 7px;
  font-weight:800;
  color:#18202a;
}
.identity-field label span{
  color:#7b8790;
  font-size:12px;
  font-weight:400;
}
.identity-field input[type="text"],
.identity-field input[type="file"]{
  width:100%;
  min-height:48px;
  padding:10px 12px;
  border:1px solid #cbd7de;
  border-radius:9px;
  background:#fff;
  font:inherit;
}
.identity-field small{
  display:block;
  min-height:34px;
  margin-top:6px;
  color:#7a8790;
  line-height:1.35;
}
.identity-submit{
  padding-top:35px;
}
.identity-submit .button{
  width:100%;
  min-height:48px;
}

.roster-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.roster-section-heading h2{margin-bottom:5px}
.roster-section-heading p{margin:0}
.roster-legend{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:#667681;
  font-size:12px;
  font-weight:700;
}
.roster-legend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.legend-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  display:inline-block;
}
.legend-dot.titular{background:#0ea6cf}
.legend-dot.reserva{background:#92a7b3}

.reserve-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.roster-pair{
  padding:0;
  overflow:hidden;
  border-radius:14px;
  border-color:#dce5ea;
  background:#fff;
  box-shadow:0 5px 16px rgba(25,44,56,.035);
}
.slot-label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:0;
  padding:13px 16px;
  background:#f6fafb;
  border-bottom:1px solid #e4ecef;
}
.slot-label>div{
  display:flex;
  align-items:center;
  gap:10px;
}
.slot-state{
  color:#79909b;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.position-chip{
  background:#e9f6fa;
  color:#17637b;
}

.selection-preview{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin:14px 14px 8px;
  padding:12px;
  border-radius:11px;
}
.starter-preview{
  background:#f0faff;
  border:1px solid #cdebf5;
}
.reserve-preview{
  background:#f7f9fa;
  border:1px solid #e0e6e9;
  margin-top:12px;
}
.selection-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#dceef4;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  color:#23667d;
  font-weight:900;
}
.selection-avatar.has-image span{display:none}
.reserve-avatar{
  background-color:#e9edef;
  color:#667881;
}
.selection-copy{
  min-width:0;
}
.selection-copy small,
.selection-copy strong,
.selection-copy span{
  display:block;
}
.selection-copy small{
  color:#6d7b84;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.selection-copy strong{
  margin:3px 0 2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
}
.selection-copy span{
  color:#70808a;
  font-size:12px;
}
.selection-meta{
  text-align:right;
  white-space:nowrap;
}
.selection-meta strong,
.selection-meta small{
  display:block;
}
.selection-meta strong{color:#20323d}
.selection-meta small{
  margin-top:3px;
  color:#78868f;
}
.selector-label{
  padding:0 14px;
  margin-top:9px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.roster-select{
  width:calc(100% - 28px);
  margin:0 14px;
  min-height:46px;
  padding:10px 12px;
  border-color:#cbd8df;
  background:#fff;
}
.reserve-label{margin-top:12px}
.reserve-rule,
.no-reserve-note{
  margin-left:14px;
  margin-right:14px;
}
.reserve-rule{margin-bottom:14px}
.no-reserve-note{margin-bottom:14px}
.roster-pair[data-slot="P"] .starter-preview{margin-bottom:12px}

@media(max-width:1100px){
  .team-identity-card{
    grid-template-columns:100px 1fr;
  }
  .team-identity-form{
    grid-column:1/-1;
    grid-template-columns:1fr 1fr 150px;
  }
}
@media(max-width:820px){
  .private-editor-page .private-editor-container{
    width:min(100% - 24px,1540px);
  }
  .reserve-grid{
    grid-template-columns:1fr;
  }
  .roster-section-heading{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:680px){
  .team-identity-form{
    grid-template-columns:1fr;
  }
  .identity-submit{
    padding-top:0;
  }
  .selection-preview{
    grid-template-columns:42px minmax(0,1fr);
  }
  .selection-meta{
    grid-column:2;
    text-align:left;
  }
}


/* v0.9.4 · stronger visual separation for roster positions */
.reserve-grid{
  gap:24px;
}
.roster-pair{
  border:1px solid #cfdae2;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdfe 100%);
  box-shadow:0 8px 18px rgba(17,34,51,.04);
}
.roster-pair .slot-label{
  background:#f2f7fa;
  border-bottom:1px solid #d7e1e7;
}
.roster-pair .position-chip{
  min-width:54px;
  justify-content:center;
  text-align:center;
  box-shadow:inset 0 0 0 1px rgba(15,107,133,.08);
}
.selection-preview{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.starter-preview{
  background:#eef8fc;
  border-color:#bfe3f0;
}
.reserve-preview{
  background:#f6f8fa;
  border-color:#d8e1e6;
  margin-top:22px;
  position:relative;
}
.reserve-preview::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:-12px;
  border-top:2px dashed #d2dde4;
}
.selector-label{
  margin-top:11px;
}
.reserve-label{
  margin-top:14px;
}
.reserve-rule,
.no-reserve-note{
  padding-top:8px;
  border-top:1px solid #edf2f5;
}
@media(max-width:820px){
  .reserve-grid{
    gap:18px;
  }
}


/* v0.9.5 · complete rules page */
.rules-layout{
  max-width:1500px;
}
.rules-page-head p{
  max-width:900px;
}

.rules-jump{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:28px;
}
.rules-jump a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border:1px solid #d8e3e8;
  border-radius:999px;
  background:#fff;
  color:#42606f;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}
.rules-jump a:hover{
  border-color:#9fd5e5;
  color:var(--bec-cyan-dark);
  background:#f4fbfd;
}

.rules-intro-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:40px;
}
.rules-highlight{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:110px;
  padding:18px;
  border:1px solid var(--bec-line);
  border-radius:14px;
  background:#fff;
}
.rules-icon{
  width:50px;
  height:50px;
  flex:0 0 50px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#e7f6fa;
  color:#0788ad;
  font-weight:900;
  font-size:15px;
}
.rules-highlight h2{
  margin:0 0 4px;
  color:#16212a;
  font-size:23px;
}
.rules-highlight p{
  margin:0;
  color:#687984;
  line-height:1.4;
  font-size:13px;
}

.rules-section{
  padding:34px 0;
  border-top:1px solid #e4eaee;
  scroll-margin-top:90px;
}
.rules-section-heading{
  margin-bottom:20px;
}
.rules-section-heading h2{
  margin:7px 0 6px;
  color:#875322;
  font-size:34px;
  font-family:"Trebuchet MS",Arial,sans-serif;
}
.rules-section-heading p{
  margin:0;
  max-width:900px;
  color:#6c7b84;
  line-height:1.55;
}

.rules-columns{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.rules-card{
  padding:22px;
  border:1px solid var(--bec-line);
  border-radius:14px;
  background:#fff;
}
.rules-card-main{
  background:#f8fcfd;
  border-color:#cce7f0;
}
.rules-card h3{
  margin:0 0 10px;
  color:#17212b;
  font-size:21px;
}
.rules-card>p{
  margin:0 0 13px;
  color:#657680;
  line-height:1.55;
}
.position-line{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:12px 0 16px;
}
.position-line span{
  min-width:42px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 9px;
  border-radius:8px;
  background:#e9f5f8;
  color:#235a6f;
  font-weight:900;
}
.clean-rules-list{
  margin:0;
  padding:0;
  list-style:none;
}
.clean-rules-list li{
  position:relative;
  padding:8px 0 8px 24px;
  border-top:1px solid #edf1f3;
  color:#536773;
  line-height:1.45;
}
.clean-rules-list li:first-child{
  border-top:0;
}
.clean-rules-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:#0a91b8;
  font-weight:900;
}

.rules-callout{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:14px;
  align-items:start;
  margin-top:16px;
  padding:17px 19px;
  border:1px solid #bfe3ee;
  border-radius:12px;
  background:#f1fbfe;
}
.rules-callout.neutral{
  border-color:#d7e1e6;
  background:#f7f9fa;
}
.callout-symbol{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#d9f3fa;
  color:#087fa1;
  font-size:20px;
  font-weight:900;
}
.rules-callout.neutral .callout-symbol{
  background:#e7edf0;
  color:#5b727f;
}
.rules-callout strong{
  display:block;
  color:#20313c;
  margin-bottom:3px;
}
.rules-callout p{
  margin:0;
  color:#657781;
  line-height:1.5;
}

.timeline-rules{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.timeline-rules article{
  position:relative;
  padding:20px;
  border:1px solid var(--bec-line);
  border-top:4px solid var(--bec-cyan);
  border-radius:12px;
  background:#fff;
}
.timeline-time{
  display:inline-flex;
  margin-bottom:10px;
  padding:5px 9px;
  border-radius:999px;
  background:#edf8fb;
  color:#087fa2;
  font-weight:900;
  font-size:12px;
}
.timeline-rules h3{
  margin:0 0 7px;
}
.timeline-rules p{
  margin:0;
  color:#657681;
  line-height:1.5;
  font-size:14px;
}
.rules-note-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.rules-note{
  padding:15px 17px;
  border-radius:11px;
  background:#fffaf0;
  border:1px solid #ead9af;
}
.rules-note > strong,
.rules-note > span{
  display:block;
}
.rules-note > strong{
  margin-bottom:4px;
  color:#76551d;
}
.rules-note > span{
  color:#796b50;
  line-height:1.45;
  font-size:13px;
}
.rules-note > span strong{
  display:inline;
  margin:0;
  color:inherit;
}

.scoring-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.scoring-panel{
  overflow:hidden;
  border:1px solid #d8e2e7;
  border-radius:14px;
  background:#fff;
}
.scoring-panel-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:19px 20px;
  background:#f5fafc;
  border-bottom:1px solid #dce5e9;
}
.scoring-type{
  color:#087fa2;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:900;
}
.scoring-panel-head h3{
  margin:4px 0 0;
  font-size:23px;
}
.scoring-badge{
  padding:5px 9px;
  border-radius:999px;
  background:#dff4fa;
  color:#087b9c;
  font-size:11px;
  font-weight:900;
}
.scoring-table{
  padding:6px 18px;
}
.scoring-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 54px;
  gap:11px;
  align-items:center;
  min-height:55px;
  border-bottom:1px solid #edf1f3;
}
.scoring-row:last-child{
  border-bottom:0;
}
.stat-abbr{
  width:38px;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  background:#edf4f7;
  color:#45616f;
  font-size:11px;
  font-weight:900;
}
.stat-copy strong,
.stat-copy small{
  display:block;
}
.stat-copy strong{
  color:#263842;
}
.stat-copy small{
  margin-top:2px;
  color:#829099;
  font-size:10px;
}
.stat-points{
  text-align:right;
  font-size:18px;
}
.stat-points.positive{
  color:#13834d;
}
.stat-points.negative{
  color:#b64545;
}
.scoring-example{
  padding:14px 18px;
  background:#fbfcfd;
  border-top:1px solid #e6ecef;
}
.scoring-example strong{
  color:#425965;
}
.scoring-example p{
  margin:4px 0 0;
  color:#6e7d86;
  line-height:1.45;
  font-size:12px;
}

.ranking-rules-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.ranking-rules-grid article{
  padding:20px;
  border:1px solid var(--bec-line);
  border-radius:12px;
  background:#fff;
}
.ranking-number{
  color:#0b8bb0;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
}
.ranking-rules-grid h3{
  margin:8px 0 6px;
}
.ranking-rules-grid p{
  margin:0;
  color:#697984;
  line-height:1.5;
  font-size:13px;
}
.precompetition-box{
  display:flex;
  gap:16px;
  align-items:flex-start;
  margin-top:16px;
  padding:17px 19px;
  border-radius:12px;
  background:#f7f4ec;
  border:1px solid #e3d7bc;
}
.precompetition-box>span{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:#e9dfc9;
  color:#775d2b;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}
.precompetition-box strong{
  display:block;
  margin-bottom:4px;
  color:#5c4a28;
}
.precompetition-box p{
  margin:0;
  color:#77694d;
  line-height:1.45;
  font-size:13px;
}

.rules-final-cta{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:center;
  margin-top:32px;
  padding:28px 30px;
  border-radius:16px;
  background:#16232d;
  color:#fff;
}
.rules-final-cta h2{
  margin:5px 0 5px;
  color:#fff;
}
.rules-final-cta p{
  margin:0;
  color:#c1ced5;
}
.rules-final-cta .section-kicker{
  color:#55c6e4;
}
.rules-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.rules-final-cta .public-button.ghost{
  background:transparent;
  color:#fff;
  border-color:#667985;
}

@media(max-width:1100px){
  .rules-intro-grid,
  .timeline-rules,
  .ranking-rules-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:850px){
  .rules-columns,
  .scoring-grid,
  .rules-note-grid{
    grid-template-columns:1fr;
  }
  .rules-final-cta{
    align-items:flex-start;
    flex-direction:column;
  }
  .rules-cta-actions{
    justify-content:flex-start;
  }
}
@media(max-width:600px){
  .rules-intro-grid,
  .timeline-rules,
  .ranking-rules-grid{
    grid-template-columns:1fr;
  }
  .rules-section-heading h2{
    font-size:29px;
  }
  .scoring-row{
    grid-template-columns:42px minmax(0,1fr) 50px;
  }
}


/* v0.9.7 · home how-it-works icons + richer game results */
.how-heading{
  align-items:center;
}
.how-heading-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
}
.how-heading-copy p{
  margin:0;
  white-space:nowrap;
}
.how-heading-copy .official-link{
  font-size:13px;
}

.how-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.how-icon{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#506372;
}
.how-icon svg{
  width:34px;
  height:34px;
  fill:currentColor;
}
.how-grid article .step-number{
  margin:0;
}

.game-card-box{
  padding-bottom:0;
}
.game-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.game-rhe-head,
.game-rhe{
  width:88px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
  text-align:center;
}
.game-rhe-head{
  color:#81909a;
  font-size:10px;
  letter-spacing:.05em;
}
.game-rhe{
  align-items:center;
}
.game-rhe strong,
.game-rhe span{
  display:block;
  text-align:center;
}
.game-rhe strong{
  color:#0e1720;
  font-size:17px;
}
.game-rhe span{
  color:#536873;
  font-size:13px;
}
.game-card-box .game-team{
  grid-template-columns:minmax(0,1fr) 88px;
}
.game-box-link{
  display:block;
  margin:12px -16px 0;
  padding:10px 16px;
  border-top:1px solid #e7ecef;
  background:#fafcfd;
  color:#0789ae;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.game-box-link:hover{
  background:#f2f9fb;
}

@media(max-width:1100px){
  .how-heading-copy{
    align-items:flex-start;
  }
  .how-heading-copy p{
    white-space:normal;
  }
}


/* v0.9.8 · leader block accuracy + single-line side copy */
#lideres .section-heading{
  align-items:center;
}
#lideres .section-side-copy{
  min-width:max-content;
}
#lideres .section-side-copy p{
  white-space:nowrap;
  margin:0 0 6px;
}
.leader-player-link{
  color:inherit;
  text-decoration:none;
}
.leader-player-link:hover{
  color:#0789ae;
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:1200px){
  #lideres .section-side-copy{
    min-width:0;
  }
  #lideres .section-side-copy p{
    white-space:normal;
  }
}


/* v0.9.9 · leader links, market movement and right alignment */
#lideres .section-heading{
  align-items:center;
}
#lideres .section-side-copy{
  margin-left:auto;
  text-align:right;
  align-items:flex-end;
}
#lideres .section-side-copy .official-link{
  display:inline-block;
  text-align:right;
}
.leader-pitch-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.leader-pitch-link span{
  color:#0789ae;
  transition:transform .15s ease;
}
.leader-pitch-link:hover span{
  transform:translateX(3px);
}
.leader-sub-link{
  color:#758894;
  text-decoration:none;
  font-size:11px;
}
.leader-sub-link:hover{
  color:#0789ae;
  text-decoration:underline;
  text-underline-offset:2px;
}
.market-empty-movement{
  min-height:82px;
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.market-empty-movement strong{
  color:#fff;
  font-size:14px;
}
.market-empty-movement span{
  margin-top:4px;
  color:#a9c0cc;
  font-size:12px;
  line-height:1.4;
}
@media(max-width:1200px){
  #lideres .section-side-copy{
    text-align:left;
    align-items:flex-start;
  }
}


/* v0.10.0 · rich player profile */
.rich-player-head{
  align-items:center;
}
.profile-position-row{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:8px;
}
.profile-position-row span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:30px;
  padding:0 9px;
  border-radius:8px;
  background:#e5f3f7;
  color:#386372;
  font-size:12px;
  font-weight:900;
}
.rich-price-card{
  position:relative;
  min-width:260px;
}
.price-change{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:9px;
  padding:5px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
}
.price-change.up{
  background:#e4f5ea;
  color:#1b7b49;
}
.price-change.down{
  background:#fae7e7;
  color:#a33d3d;
}
.price-change.flat{
  background:#edf1f3;
  color:#657983;
}

.player-rich-content{
  max-width:1500px;
}
.player-top-actions{
  margin-bottom:18px;
}
.profile-stats-rich{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.profile-stats-rich>div small{
  display:block;
  margin-top:4px;
  color:#89959c;
  font-size:11px;
}

.player-analytics-section{
  margin-top:34px;
  padding-top:30px;
  border-top:1px solid #e2e9ed;
}
.compact-heading{
  margin-bottom:18px;
}
.compact-heading h2{
  margin:4px 0 0;
  font-size:30px;
}

.player-charts-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.player-chart-card{
  overflow:hidden;
  border:1px solid #d9e3e8;
  border-radius:14px;
  background:#fff;
}
.player-chart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:17px 19px;
  border-bottom:1px solid #e5ebee;
  background:#f8fbfc;
}
.player-chart-head div strong,
.player-chart-head div span{
  display:block;
}
.player-chart-head div strong{
  font-size:17px;
}
.player-chart-head div span,
.player-chart-head>span{
  margin-top:3px;
  color:#73848d;
  font-size:11px;
}

.daily-bars{
  display:flex;
  align-items:flex-end;
  gap:12px;
  min-height:260px;
  padding:24px 22px 18px;
  overflow-x:auto;
}
.daily-bar-column{
  min-width:52px;
  flex:1 0 52px;
  display:grid;
  grid-template-rows:20px 180px 22px;
  gap:6px;
  text-align:center;
}
.daily-bar-value{
  color:#344d59;
  font-size:11px;
  font-weight:900;
}
.daily-bar-track{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  height:180px;
  border-bottom:1px solid #dfe7eb;
  background:linear-gradient(to top,#f9fbfc 0%,#fff 100%);
}
.daily-bar-fill{
  width:30px;
  min-height:5px;
  border-radius:6px 6px 2px 2px;
  background:#14a6cf;
}
.daily-bar-fill.negative{
  background:#c85050;
}
.daily-bar-column>span{
  color:#78878f;
  font-size:10px;
}

.price-line-wrap{
  padding:20px 20px 14px;
}
.price-line-chart{
  width:100%;
  height:220px;
  overflow:visible;
}
.chart-axis{
  stroke:#dce5e9;
  stroke-width:1;
}
.price-line{
  fill:none;
  stroke:#0d9ec6;
  stroke-width:4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.price-dot{
  fill:#fff;
  stroke:#0d9ec6;
  stroke-width:4;
}
.price-chart-labels{
  display:flex;
  justify-content:space-between;
  margin-top:4px;
  color:#75848c;
  font-size:11px;
}
.chart-empty{
  min-height:245px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:25px;
  color:#7b8991;
}
.chart-empty.wide{
  min-height:100px;
  border:1px dashed #d8e2e7;
  border-radius:12px;
}

.point-breakdown-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
}
.point-breakdown-card{
  min-height:112px;
  padding:14px;
  border:1px solid #d9e5e9;
  border-radius:12px;
  background:#f8fcfd;
}
.point-breakdown-card.negative{
  background:#fff8f8;
  border-color:#efd6d6;
}
.breakdown-abbr{
  display:inline-flex;
  min-width:34px;
  min-height:28px;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  margin-bottom:10px;
  border-radius:7px;
  background:#dff2f8;
  color:#276477;
  font-size:11px;
  font-weight:900;
}
.point-breakdown-card.negative .breakdown-abbr{
  background:#f5dfdf;
  color:#9c4444;
}
.point-breakdown-card div strong,
.point-breakdown-card div small{
  display:block;
}
.point-breakdown-card div strong{
  font-size:13px;
}
.point-breakdown-card div small{
  margin-top:2px;
  color:#84929a;
  font-size:10px;
}
.point-breakdown-card>b{
  display:block;
  margin-top:10px;
  color:#13784a;
  font-size:18px;
}
.point-breakdown-card.negative>b{
  color:#ad3f3f;
}

.market-history-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.market-history-kpis>div{
  padding:18px;
  border:1px solid #dbe4e9;
  border-radius:12px;
  background:#fff;
}
.market-history-kpis span,
.market-history-kpis strong,
.market-history-kpis small{
  display:block;
}
.market-history-kpis span{
  color:#71818a;
  font-size:12px;
}
.market-history-kpis strong{
  margin-top:5px;
  color:#12202a;
  font-size:22px;
}
.market-history-kpis small{
  margin-top:3px;
  color:#8a969d;
  font-size:10px;
}

.player-history-table th,
.player-history-table td{
  white-space:nowrap;
}
.history-total{
  display:inline-flex;
  min-width:42px;
  justify-content:center;
  padding:4px 7px;
  border-radius:999px;
  background:#e7f6eb;
  color:#1b7b49;
  font-weight:900;
}
.history-total.negative{
  background:#f9e4e4;
  color:#a83d3d;
}
.history-breakdown{
  color:#5f737f;
  font-size:11px;
}

@media(max-width:1200px){
  .profile-stats-rich{
    grid-template-columns:repeat(3,1fr);
  }
  .point-breakdown-grid{
    grid-template-columns:repeat(4,1fr);
  }
}
@media(max-width:900px){
  .player-charts-grid{
    grid-template-columns:1fr;
  }
  .market-history-kpis{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:650px){
  .profile-stats-rich{
    grid-template-columns:1fr 1fr;
  }
  .point-breakdown-grid{
    grid-template-columns:1fr 1fr;
  }
  .market-history-kpis{
    grid-template-columns:1fr;
  }
}


/* v0.10.1 · Jugadores becomes the single public statistics/market hub */
.price-up{
  color:#17814b;
  font-weight:800;
}
.price-down{
  color:#bb4141;
  font-weight:800;
}
.public-data-table td.price-up,
.public-data-table td.price-down{
  white-space:nowrap;
}

.players-hub-note{
  color:#6f808a;
}


/* v0.10.2 · complete unified filters + live autocomplete */
.unified-player-filters{
  display:grid;
  grid-template-columns:minmax(320px,1.8fr) minmax(180px,.85fr) minmax(230px,1fr) minmax(250px,1.15fr);
  gap:12px;
  align-items:center;
  margin-bottom:18px;
}
.unified-player-filters input,
.unified-player-filters select{
  width:100%;
  min-height:54px;
  padding:0 14px;
  border:1px solid #cbd8df;
  border-radius:10px;
  background:#fff;
  font:inherit;
}
.autocomplete-field{
  min-width:0;
}
.price-variation{
  font-weight:800;
  white-space:nowrap;
}
.price-flat{
  color:#5f707a;
}
.live-no-results td{
  padding:28px !important;
  text-align:center;
  color:#788892;
  background:#fbfcfd;
}
@media(max-width:1180px){
  .unified-player-filters{
    grid-template-columns:1fr 1fr;
  }
}
@media(max-width:720px){
  .unified-player-filters{
    grid-template-columns:1fr;
  }
}


/* v0.10.5 · complete early-stage market chart */
.price-chart-range{
  margin-top:3px;
}
.price-chart-timeline{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-top:10px;
  padding-top:9px;
  border-top:1px dashed #dce5e9;
  color:#405965;
  font-size:11px;
  font-weight:800;
}
.price-chart-timeline span:last-child{
  text-align:right;
}


/* v0.10.6 · pitching staff detail */
.pitching-team-link{
  color:inherit;
  text-decoration:none;
}
.pitching-team-link:hover strong{
  color:#0789ae;
}
.row-link-arrow{
  color:#0aa0c7;
  display:inline-block;
  margin-left:5px;
  transition:transform .15s ease;
}
.pitching-team-link:hover .row-link-arrow{
  transform:translateX(3px);
}
.pitching-team-link small{
  color:#71848e;
}

.pitching-profile-subtitle{
  margin:8px 0 0;
  color:#607681;
  font-size:15px;
}
.profile-stats-pitching{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.profile-stats-pitching>div small{
  display:block;
  margin-top:4px;
  color:#8a979e;
  font-size:11px;
}
.pitching-staff-table th,
.pitching-staff-table td{
  white-space:nowrap;
}
.pitcher-name-cell strong,
.pitcher-name-cell small{
  display:block;
}
.pitcher-name-cell small{
  margin-top:3px;
  color:#84939a;
  font-size:11px;
}
.points-negative{
  color:#b73f3f;
  font-weight:800;
}
.pitching-formula-note{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:15px;
  padding:14px 16px;
  border:1px solid #dce6ea;
  border-radius:10px;
  background:#f8fbfc;
  color:#4d6470;
}
.pitching-formula-note strong{
  color:#1d3440;
}
.pitching-formula-note span{
  font-size:12px;
}
@media(max-width:900px){
  .profile-stats-pitching{
    grid-template-columns:repeat(2,1fr);
  }
  .pitching-formula-note{
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
  }
}


/* v0.10.7 · full pitching analytics */
.pitcher-profile-link{
  color:inherit;
  text-decoration:none;
}
.pitcher-profile-link span{
  color:#0aa0c7;
  margin-left:5px;
  display:inline-block;
  transition:transform .15s ease;
}
.pitcher-profile-link:hover{
  color:#0789ae;
}
.pitcher-profile-link:hover span{
  transform:translateX(3px);
}

.pitching-breakdown-grid{
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.pitching-history-table th,
.pitching-history-table td{
  white-space:nowrap;
}
.pitcher-profile-badge{
  min-width:260px;
  padding:22px;
  border:1px solid #d9e3e8;
  border-radius:14px;
  background:#fff;
  text-align:right;
}
.pitcher-profile-badge span,
.pitcher-profile-badge strong,
.pitcher-profile-badge small{
  display:block;
}
.pitcher-profile-badge span{
  color:#75848c;
  font-size:13px;
}
.pitcher-profile-badge strong{
  margin-top:6px;
  font-size:28px;
}
.pitcher-profile-badge small{
  margin-top:4px;
  color:#7f8d94;
}
.single-pitcher-chart{
  grid-template-columns:minmax(0,1.4fr) minmax(360px,.6fr);
}
.pitcher-summary-card{
  min-height:100%;
}
.pitcher-stat-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.pitcher-stat-summary>div{
  padding:22px;
  border-right:1px solid #e5ebee;
  border-bottom:1px solid #e5ebee;
}
.pitcher-stat-summary>div:nth-child(2n){
  border-right:0;
}
.pitcher-stat-summary span,
.pitcher-stat-summary strong{
  display:block;
}
.pitcher-stat-summary span{
  color:#768891;
  font-size:12px;
}
.pitcher-stat-summary strong{
  margin-top:5px;
  font-size:22px;
}
@media(max-width:1100px){
  .pitching-breakdown-grid{
    grid-template-columns:repeat(4,1fr);
  }
  .single-pitcher-chart{
    grid-template-columns:1fr;
  }
}
@media(max-width:700px){
  .pitching-breakdown-grid{
    grid-template-columns:1fr 1fr;
  }
  .pitcher-profile-badge{
    min-width:0;
    width:100%;
    text-align:left;
  }
}


/* v0.10.8 · Mi Desafío: detalle de puntos por jornada */
.private-round-history{
  overflow:hidden;
}
.private-round-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
}
.private-round-card{
  border:1px solid #dce6ea;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.private-round-card>summary{
  display:grid;
  grid-template-columns:minmax(170px,.8fr) minmax(420px,2fr) auto;
  gap:20px;
  align-items:center;
  list-style:none;
  cursor:pointer;
  padding:18px 20px;
  transition:background .15s ease;
}
.private-round-card>summary::-webkit-details-marker{
  display:none;
}
.private-round-card>summary:hover{
  background:#f7fbfc;
}
.private-round-card[open]>summary{
  border-bottom:1px solid #dce6ea;
  background:#f8fbfc;
}
.private-round-summary-main span{
  display:block;
}
.private-round-date{
  font-size:20px;
  font-weight:800;
  color:#162a35;
}
.private-round-label{
  margin-top:3px;
  color:#7b8b94;
  font-size:12px;
}
.private-round-summary-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(90px,1fr));
  gap:12px;
}
.private-round-summary-stats>div{
  padding-left:14px;
  border-left:1px solid #e5ecef;
}
.private-round-summary-stats small,
.private-round-summary-stats strong{
  display:block;
}
.private-round-summary-stats small{
  color:#819099;
  font-size:11px;
}
.private-round-summary-stats strong{
  margin-top:3px;
  font-size:18px;
}
.private-round-toggle{
  color:#0789ae;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.private-round-card[open] .private-round-toggle::after{
  content:" ↑";
}
.private-round-card:not([open]) .private-round-toggle::after{
  content:" ↓";
}
.private-round-detail{
  padding:20px;
}
.private-round-detail-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  margin-bottom:15px;
}
.private-round-detail-head>div:first-child strong,
.private-round-detail-head>div:first-child span{
  display:block;
}
.private-round-detail-head>div:first-child strong{
  font-size:17px;
}
.private-round-detail-head>div:first-child span{
  margin-top:4px;
  color:#73858f;
  font-size:12px;
}
.private-round-total{
  text-align:right;
}
.private-round-total span,
.private-round-total strong{
  display:block;
}
.private-round-total span{
  color:#7a8991;
  font-size:11px;
}
.private-round-total strong{
  margin-top:3px;
  font-size:22px;
}
.private-round-breakdown{
  border:1px solid #e0e8ec;
  border-radius:12px;
  overflow:hidden;
}
.private-result-row{
  display:grid;
  grid-template-columns:90px minmax(300px,1.6fr) minmax(220px,1fr) 90px;
  gap:16px;
  align-items:center;
  min-height:68px;
  padding:11px 16px;
  border-bottom:1px solid #e6edef;
}
.private-result-row:last-child{
  border-bottom:0;
}
.private-result-row.is-used{
  background:#fbfefc;
}
.private-result-row.is-unused{
  background:#fafbfc;
  opacity:.72;
}
.private-result-row.positive.is-used{
  box-shadow:inset 4px 0 0 #2f9e62;
}
.private-result-row.negative.is-used{
  box-shadow:inset 4px 0 0 #c64c4c;
}
.private-result-position span,
.private-result-position small{
  display:block;
}
.private-result-position span{
  display:inline-flex;
  min-width:42px;
  justify-content:center;
  padding:6px 9px;
  border-radius:8px;
  background:#eaf6fa;
  color:#1c6076;
  font-weight:900;
}
.private-result-position small{
  margin-top:4px;
  color:#7e8d95;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.private-result-entity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.private-result-entity img{
  width:38px;
  height:38px;
  object-fit:contain;
  flex:0 0 auto;
}
.private-result-entity a,
.private-result-entity strong{
  color:#152b36;
  text-decoration:none;
  font-weight:800;
}
.private-result-entity a:hover{
  color:#0789ae;
}
.private-result-entity small{
  display:block;
  margin-top:2px;
  color:#7c8c94;
  font-size:11px;
}
.private-result-status{
  min-width:0;
}
.result-status-badge{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}
.result-status-badge.used{
  background:#e6f6ed;
  color:#197844;
}
.result-status-badge.unused{
  background:#eef2f4;
  color:#6d7b82;
}
.private-result-status small{
  display:block;
  margin-top:4px;
  color:#87949a;
  font-size:10px;
}
.private-result-points{
  text-align:right;
  white-space:nowrap;
}
.private-result-points strong{
  font-size:20px;
}
.private-result-points span{
  margin-left:2px;
  color:#839199;
  font-size:11px;
}
.private-round-summary-stats .positive,
.private-round-total .positive,
.private-result-points.positive{
  color:#13804a;
}
.private-round-summary-stats .negative,
.private-round-total .negative,
.private-result-points.negative{
  color:#bd3939;
}
.private-round-summary-stats .zero,
.private-round-total .zero,
.private-result-points.zero{
  color:#60727c;
}
.private-round-footer{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  margin-top:15px;
  padding-top:15px;
  border-top:1px solid #e4ebee;
}
.private-round-footer span,
.private-round-footer strong{
  display:block;
}
.private-round-footer span{
  color:#829098;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.private-round-footer strong{
  margin-top:3px;
  font-size:14px;
}
@media(max-width:1050px){
  .private-round-card>summary{
    grid-template-columns:1fr;
    gap:12px;
  }
  .private-round-summary-stats{
    grid-template-columns:repeat(4,1fr);
  }
  .private-round-summary-stats>div{
    padding-left:0;
    border-left:0;
  }
  .private-round-toggle{
    justify-self:start;
  }
  .private-result-row{
    grid-template-columns:75px minmax(240px,1.5fr) minmax(190px,1fr) 75px;
  }
}
@media(max-width:760px){
  .private-round-summary-stats{
    grid-template-columns:1fr 1fr;
  }
  .private-round-detail-head{
    flex-direction:column;
  }
  .private-round-total{
    text-align:left;
  }
  .private-result-row{
    grid-template-columns:60px 1fr 70px;
    gap:10px;
  }
  .private-result-status{
    grid-column:2 / 4;
  }
}


/* v0.10.9 · Mi Desafío: anchor to rounds + pitching block at end */
.private-hero-actions{
  margin-top:18px;
}
.private-anchor-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:9px 14px;
  border:1px solid #b9dce7;
  border-radius:10px;
  background:#fff;
  color:#087fa2;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.private-anchor-link span{
  font-size:16px;
  line-height:1;
}
.private-anchor-link:hover{
  background:#f5fbfd;
  border-color:#82c7dc;
  transform:translateY(-1px);
}
#mis-jornadas{
  scroll-margin-top:96px;
}
.private-result-row.is-pitching-row{
  position:relative;
  margin-top:18px;
  border-top:2px solid #cfe5ec;
  background:#f7fbfc;
}
.private-result-row.is-pitching-row:first-child{
  margin-top:0;
}
.private-pitching-separator{
  position:absolute;
  top:-13px;
  left:16px;
  padding:2px 9px;
  border-radius:999px;
  background:#eaf6fa;
  color:#19718d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.private-result-row.is-pitching-row.negative{
  box-shadow:inset 4px 0 0 #c64c4c;
}
.private-result-row.is-pitching-row.positive{
  box-shadow:inset 4px 0 0 #2f9e62;
}


/* v0.10.10 · Fantasy team identity in standings */
.user-avatar.team-avatar{
  width:42px;
  height:42px;
  padding:0;
  overflow:hidden;
  border-radius:10px;
  background:#f2f6f8;
  border:1px solid #d9e5ea;
}
.user-avatar.team-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.standings-team-cell{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.standings-team-cell img{
  width:48px;
  height:48px;
  border-radius:10px;
  object-fit:cover;
  border:1px solid #dbe5e9;
  background:#f3f7f9;
  flex:0 0 auto;
}
.standings-team-cell strong,
.standings-team-cell small{
  display:block;
}
.standings-team-cell strong{
  color:#132937;
  font-size:15px;
}
.standings-team-cell small{
  margin-top:3px;
  color:#7a8a93;
  font-size:11px;
}
.standings-table td{
  vertical-align:middle;
}


/* v0.10.11 · Jornada Fantasy */
.jornada-head-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
}
.jornada-status-box{
  min-width:260px;
  padding:16px 18px;
  border:1px solid #cde2e9;
  border-radius:14px;
  background:#fff;
}
.jornada-status-box span,
.jornada-status-box strong,
.jornada-status-box small{
  display:block;
}
.jornada-status-box span{
  color:#7a8b94;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.jornada-status-box strong{
  margin-top:4px;
  font-size:18px;
}
.jornada-status-box small{
  margin-top:4px;
  color:#7c8b93;
}
.jornada-browser-head,
.jornada-section-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:18px;
}
.jornada-browser-head h2,
.jornada-section-heading h2{
  margin:3px 0 0;
}
.jornada-browser-head>p,
.jornada-section-heading>p{
  max-width:620px;
  margin:0;
  color:#657984;
}
.round-months{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.round-month-group{
  min-width:0;
}
.round-month-label{
  margin-bottom:8px;
  color:#58707c;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.round-tabs-scroll{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding-bottom:6px;
  scrollbar-width:thin;
}
.round-tabs-scroll a{
  flex:0 0 auto;
  min-width:118px;
}
.round-tabs-scroll a strong{
  display:block;
}
.jornada-games{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.jornada-game-card{
  min-height:170px;
}
.jornada-game-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.rhe-head,
.rhe-values{
  display:grid;
  grid-template-columns:32px 32px 32px;
  text-align:right;
  align-items:center;
}
.rhe-head b{
  color:#7b8a92;
  font-size:10px;
}
.rhe-values strong{
  font-size:18px;
}
.rhe-values b{
  font-size:13px;
  color:#667983;
}
.game-box-link{
  display:block;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #e5ecef;
  color:#0789ae;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}
.jornada-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-bottom:18px;
}
.jornada-kpis>div{
  padding:16px 18px;
  border:1px solid #dce6ea;
  border-radius:12px;
  background:#fff;
}
.jornada-kpis span,
.jornada-kpis strong{
  display:block;
}
.jornada-kpis span{
  color:#7a8a92;
  font-size:11px;
}
.jornada-kpis strong{
  margin-top:4px;
  font-size:22px;
}
.jornada-podium{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.podium-card{
  display:grid;
  grid-template-columns:auto auto 1fr auto;
  gap:12px;
  align-items:center;
  min-height:110px;
  padding:18px;
  border:1px solid #dce6ea;
  border-radius:14px;
  background:#fff;
}
.podium-card.place-1{
  border-color:#e1c25a;
  background:#fffdf4;
}
.podium-medal{
  font-size:28px;
}
.podium-card img{
  width:56px;
  height:56px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid #dce6ea;
}
.podium-card h3{
  margin:2px 0;
  font-size:17px;
}
.podium-card small,
.podium-card div>span{
  color:#7a8991;
  font-size:11px;
}
.podium-card>strong{
  font-size:22px;
  white-space:nowrap;
}
.jornada-empty-summary{
  padding:22px;
}
.jornada-stars-section{
  background:#17232e;
  color:#fff;
}
.jornada-section-heading.light h2,
.jornada-section-heading.light p{
  color:#fff;
}
.jornada-section-heading.compact{
  margin-top:34px;
}
.jornada-star-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.jornada-star-card{
  display:block;
  padding:20px;
  border:1px solid #344b59;
  border-radius:14px;
  background:#223542;
  color:#fff;
  text-decoration:none;
}
.jornada-star-card.featured{
  border-color:#0da7cf;
}
.star-label{
  color:#66d7f0;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.star-entity{
  display:flex;
  align-items:center;
  gap:12px;
  margin:16px 0;
}
.star-entity img{
  width:50px;
  height:50px;
  object-fit:contain;
}
.star-entity strong,
.star-entity small{
  display:block;
}
.star-entity strong{
  font-size:17px;
}
.star-entity small{
  margin-top:3px;
  color:#a9c0cc;
}
.jornada-star-card>b{
  font-size:24px;
}
.best-position-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.best-position-card{
  display:grid;
  grid-template-columns:auto 42px 1fr auto;
  gap:10px;
  align-items:center;
  padding:14px;
  border:1px solid #344b59;
  border-radius:12px;
  background:#20323e;
  color:#fff;
  text-decoration:none;
}
.best-position-card img{
  width:38px;
  height:38px;
  object-fit:contain;
}
.best-position-card strong,
.best-position-card small{
  display:block;
}
.best-position-card small{
  margin-top:2px;
  color:#9fb5c0;
  font-size:10px;
}
.position-pill{
  min-width:40px;
  padding:6px 8px;
  border-radius:8px;
  background:#eaf6fa;
  color:#17677f;
  text-align:center;
  font-weight:900;
}
.best-position-card b{
  white-space:nowrap;
}
.best-position-card b.positive{
  color:#5bd38f;
}
.best-position-card b.negative{
  color:#ff8585;
}
.best-position-card b.zero{
  color:#b5c3ca;
}
.jornada-empty-dark{
  padding:25px;
  border:1px solid #344b59;
  border-radius:14px;
  background:#20323e;
}
.jornada-empty-dark p{
  color:#adc0ca;
}
.jornada-table .positive{
  color:#16804b;
}
.jornada-table .negative{
  color:#bd3939;
}
.jornada-general-link{
  margin-top:16px;
  text-align:right;
}
@media(max-width:1100px){
  .jornada-games{grid-template-columns:repeat(2,minmax(0,1fr));}
  .jornada-podium,.jornada-star-grid{grid-template-columns:1fr;}
  .best-position-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:760px){
  .jornada-head-inner,
  .jornada-browser-head,
  .jornada-section-heading{
    flex-direction:column;
    align-items:stretch;
  }
  .jornada-status-box{min-width:0;}
  .jornada-games{grid-template-columns:1fr;}
  .jornada-kpis{grid-template-columns:1fr 1fr;}
  .best-position-grid{grid-template-columns:1fr;}
  .podium-card{grid-template-columns:auto 48px 1fr;}
  .podium-card>strong{grid-column:3;}
}


/* v0.10.13 · Producción Fantasy por equipos SNB */
.team-production-note{
  display:flex;
  gap:8px;
  align-items:baseline;
  margin-bottom:16px;
  padding:12px 14px;
  border:1px solid #dce7eb;
  border-radius:10px;
  background:#f7fbfc;
  color:#5f7480;
  font-size:12px;
}
.team-production-note strong{
  color:#19323f;
}
.team-production-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.team-production-card{
  border:1px solid #dce6ea;
  border-radius:13px;
  background:#fff;
  overflow:hidden;
}
.team-production-card>summary{
  display:grid;
  grid-template-columns:40px minmax(230px,1fr) minmax(150px,.7fr) 115px auto;
  gap:12px;
  align-items:center;
  min-height:84px;
  padding:12px 14px;
  list-style:none;
  cursor:pointer;
}
.team-production-card>summary::-webkit-details-marker{
  display:none;
}
.team-production-card[open]>summary{
  border-bottom:1px solid #e2eaed;
  background:#f9fcfd;
}
.team-production-rank{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border-radius:999px;
  background:#eaf6fa;
  color:#14728f;
  font-weight:900;
}
.team-production-team{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.team-production-team img{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 auto;
}
.team-production-team strong,
.team-production-team small{
  display:block;
}
.team-production-team strong{
  color:#162c38;
  font-size:15px;
}
.team-production-team small{
  margin-top:2px;
  color:#819098;
  font-size:10px;
}
.team-production-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.team-production-split div{
  padding-left:10px;
  border-left:1px solid #e4ebee;
}
.team-production-split span,
.team-production-split strong{
  display:block;
}
.team-production-split span{
  color:#829199;
  font-size:10px;
}
.team-production-split strong{
  margin-top:2px;
  font-size:15px;
}
.team-production-total{
  text-align:right;
}
.team-production-total span,
.team-production-total strong{
  display:block;
}
.team-production-total span{
  color:#809098;
  font-size:10px;
}
.team-production-total strong{
  margin-top:2px;
  font-size:19px;
}
.team-production-toggle{
  color:#0789ae;
  font-size:11px;
  font-weight:800;
}
.team-production-card[open] .team-production-toggle::after{
  content:" ↑";
}
.team-production-card:not([open]) .team-production-toggle::after{
  content:" ↓";
}
.team-production-detail{
  padding:14px 16px 16px;
}
.team-production-detail-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:10px;
}
.team-production-detail-head span{
  color:#7b8b93;
  font-size:11px;
}
.team-contributor-list{
  border:1px solid #e3eaed;
  border-radius:10px;
  overflow:hidden;
}
.team-contributor-row,
.team-production-pitch-row{
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:center;
  min-height:42px;
  padding:9px 12px;
  border-bottom:1px solid #e7edef;
}
.team-contributor-row:last-child{
  border-bottom:0;
}
.team-contributor-row a,
.team-production-pitch-row a{
  color:#17303d;
  font-weight:700;
  text-decoration:none;
}
.team-contributor-row a:hover,
.team-production-pitch-row a:hover{
  color:#0789ae;
}
.team-production-pitch-row{
  margin-top:10px;
  border:1px solid #cfe5ec;
  border-radius:10px;
  background:#f2fafc;
}
.team-production-detail-total{
  display:flex;
  justify-content:flex-end;
  align-items:baseline;
  gap:14px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e2e9ec;
}
.team-production-detail-total span{
  color:#788991;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.team-production-detail-total strong{
  font-size:20px;
}
.team-production-empty{
  padding:12px;
  border:1px dashed #d8e3e7;
  border-radius:9px;
  color:#819098;
  font-size:11px;
}
.team-production-card .positive{
  color:#16804b;
}
.team-production-card .negative{
  color:#bd3939;
}
.team-production-card .zero{
  color:#677a84;
}
@media(max-width:1250px){
  .team-production-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .team-production-note{
    display:block;
  }
  .team-production-note strong{
    display:block;
    margin-bottom:3px;
  }
  .team-production-card>summary{
    grid-template-columns:36px 1fr auto;
  }
  .team-production-split{
    grid-column:2 / 4;
  }
  .team-production-total{
    grid-column:2;
    text-align:left;
  }
  .team-production-toggle{
    grid-column:3;
  }
  .team-production-detail-head{
    flex-direction:column;
  }
}


/* v0.10.14 · Jornada: compactación y navegación mensual */

/* Descripciones laterales en una sola línea en escritorio */
.jornada-browser-head>p,
.jornada-section-heading>p{
  max-width:none;
  white-space:nowrap;
  flex:0 0 auto;
  font-size:15px;
}

/* El título queda flexible para que el texto derecho no salte */
.jornada-browser-head>div,
.jornada-section-heading>div{
  min-width:0;
  flex:1 1 auto;
}

/* Calendario completo del mes */
.round-tabs-full-month{
  gap:7px;
  padding:2px 0 10px;
}
.round-tabs-full-month a,
.round-tabs-full-month .round-day-empty{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:82px;
  height:64px;
  padding:8px 10px;
  border:1px solid #d9e4e8;
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  box-sizing:border-box;
  flex:0 0 82px;
}
.round-tabs-full-month a strong,
.round-tabs-full-month .round-day-empty strong{
  display:block;
  color:#526b79;
  font-size:15px;
  line-height:1.1;
}
.round-tabs-full-month a small,
.round-tabs-full-month .round-day-empty small{
  display:block;
  margin-top:5px;
  color:#809098;
  font-size:9px;
  line-height:1.05;
  white-space:nowrap;
}
.round-tabs-full-month a.active{
  border-color:#17232e;
  background:#17232e;
}
.round-tabs-full-month a.active strong,
.round-tabs-full-month a.active small{
  color:#fff;
}
.round-tabs-full-month .round-day-empty{
  background:#f7f9fa;
  border-color:#e7edef;
  opacity:.62;
  cursor:default;
}

/* Producción por equipos: 1 al 16 en una sola columna */
.team-production-grid{
  grid-template-columns:1fr;
  gap:10px;
}
.team-production-card>summary{
  grid-template-columns:40px minmax(300px,1fr) minmax(190px,.55fr) 125px 128px;
}
.team-production-toggle{
  text-align:right;
  white-space:nowrap;
}
.team-production-toggle .when-open{
  display:none;
}
.team-production-card[open] .team-production-toggle .when-closed{
  display:none;
}
.team-production-card[open] .team-production-toggle .when-open{
  display:inline;
}
.team-production-card[open] .team-production-toggle::after{
  content:" ↑";
}
.team-production-card:not([open]) .team-production-toggle::after{
  content:" ↓";
}

/* La explicación del bloque también queda en una línea */
.team-production-note{
  white-space:nowrap;
  overflow-x:auto;
}

/* Evitar que los textos oscuros de Novena Ideal se partan */
.jornada-stars-section .jornada-section-heading>p{
  white-space:nowrap;
}

/* A anchos intermedios permitimos scroll antes que romper el layout */
@media(max-width:1250px) and (min-width:761px){
  .jornada-browser-head,
  .jornada-section-heading{
    overflow-x:auto;
    align-items:flex-end;
  }
  .jornada-browser-head>p,
  .jornada-section-heading>p{
    padding-left:24px;
  }
}

/* En móvil sí permitimos salto de línea */
@media(max-width:760px){
  .jornada-browser-head>p,
  .jornada-section-heading>p,
  .jornada-stars-section .jornada-section-heading>p,
  .team-production-note{
    white-space:normal;
  }

  .round-tabs-full-month a,
  .round-tabs-full-month .round-day-empty{
    min-width:76px;
    flex-basis:76px;
  }

  .team-production-card>summary{
    grid-template-columns:36px 1fr auto;
  }
}


/* v0.10.15 · Calendario tipo almanaque + detalle de equipo compacto */

/* Calendario mensual clásico */
.calendar-months{
  display:flex;
  flex-direction:column;
  gap:28px;
}
.calendar-month{
  border:1px solid #dce6ea;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}
.calendar-month-title{
  padding:16px 18px;
  border-bottom:1px solid #dce6ea;
  background:#f7fbfc;
  color:#183847;
  font-size:17px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
}
.calendar-weekdays{
  border-bottom:1px solid #dce6ea;
  background:#fbfcfd;
}
.calendar-weekdays>div{
  padding:10px 8px;
  color:#71848e;
  font-size:11px;
  font-weight:900;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.calendar-days{
  gap:1px;
  background:#e8eef1;
}
.calendar-day{
  min-height:94px;
  padding:11px 12px;
  background:#fff;
  box-sizing:border-box;
}
.calendar-day.has-round{
  text-decoration:none;
  transition:background .15s ease,box-shadow .15s ease;
}
.calendar-day.has-round:hover{
  background:#f4fbfd;
}
.calendar-day.has-round.active{
  background:#17232e;
  box-shadow:inset 0 0 0 2px #0aa7cf;
}
.calendar-day-number{
  color:#253e4b;
  font-size:18px;
  font-weight:900;
}
.calendar-day-status{
  margin-top:12px;
  color:#78909c;
  font-size:10px;
  line-height:1.25;
}
.calendar-day.has-round .calendar-day-status{
  color:#0789ae;
  font-weight:800;
}
.calendar-day.has-round.active .calendar-day-number,
.calendar-day.has-round.active .calendar-day-status{
  color:#fff;
}
.calendar-day.no-round{
  background:#fafbfc;
}
.calendar-day.no-round .calendar-day-number{
  color:#9caab1;
}
.calendar-day.no-round .calendar-day-status{
  color:#b1bcc1;
}
.calendar-day-empty{
  background:#f5f7f8;
}

/* Producción por equipos: acortar distancia nombre-puntos */
.team-production-detail{
  max-width:1120px;
  margin:0 auto;
  padding:16px 20px 18px;
}
.team-production-detail-head{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.team-contributor-list{
  max-width:980px;
  margin:0 auto;
}
.team-contributor-row,
.team-production-pitch-row{
  display:block;
  min-height:44px;
  padding:0;
}
.team-contributor-main{
  display:grid;
  grid-template-columns:minmax(220px,auto) 1fr auto;
  gap:12px;
  align-items:center;
  min-height:44px;
  padding:9px 14px;
}
.team-contributor-dots{
  height:1px;
  border-bottom:1px dotted #ccd8dd;
}
.team-contributor-main strong{
  min-width:76px;
  text-align:right;
}
.team-production-pitch-row{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}
.team-production-detail-total{
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

/* En pantallas muy grandes, evita que el detalle se estire de extremo a extremo */
@media(min-width:1500px){
  .team-production-detail{
    max-width:1180px;
  }
}

/* Tablet */
@media(max-width:900px){
  .calendar-day{
    min-height:80px;
    padding:9px 8px;
  }
  .calendar-day-number{
    font-size:16px;
  }
  .calendar-day-status{
    margin-top:8px;
    font-size:9px;
  }
}

/* Móvil: el almanaque conserva 7 columnas pero se compacta */
@media(max-width:760px){
  .calendar-month{
    overflow-x:auto;
  }
  .calendar-grid{
    min-width:700px;
  }
  .calendar-day{
    min-height:76px;
  }

  .team-production-detail{
    padding:14px;
  }
  .team-contributor-main{
    grid-template-columns:1fr auto;
  }
  .team-contributor-dots{
    display:none;
  }
}


/* v0.10.16 · Ajustes finos del calendario Fantasy */
#calendario-jornadas{
  scroll-margin-top:84px;
}

.calendar-day{
  min-height:108px;
  padding:14px 15px;
}

.calendar-day-number{
  font-size:23px;
  line-height:1;
}

.calendar-day-status{
  margin-top:15px;
  font-size:12px;
  line-height:1.25;
  font-weight:600;
}

.calendar-day.has-round .calendar-day-status{
  font-weight:900;
}

/* Selección actual: menos intensa que el azul-negro anterior */
.calendar-day.has-round.active{
  background:#2f4b59;
  box-shadow:inset 0 0 0 2px #19a9cf;
}

.calendar-day.has-round.active:hover{
  background:#355563;
}

.calendar-day.no-round .calendar-day-number{
  color:#a3b0b6;
}

.calendar-day.no-round .calendar-day-status{
  color:#aebac0;
}

/* Días con jornada, pero no seleccionados, ganan presencia */
.calendar-day.has-round:not(.active){
  background:#ffffff;
}
.calendar-day.has-round:not(.active) .calendar-day-number{
  color:#183847;
}
.calendar-day.has-round:not(.active) .calendar-day-status{
  color:#008caf;
}

/* Algo más de aire en el encabezado semanal */
.calendar-weekdays>div{
  padding:12px 8px;
  font-size:12px;
}

/* Mantener buen tamaño en tablet */
@media(max-width:900px){
  .calendar-day{
    min-height:96px;
    padding:12px 10px;
  }
  .calendar-day-number{
    font-size:20px;
  }
  .calendar-day-status{
    margin-top:11px;
    font-size:10px;
  }
}

/* En móvil se compacta, pero sigue siendo legible */
@media(max-width:760px){
  #calendario-jornadas{
    scroll-margin-top:70px;
  }
  .calendar-day{
    min-height:82px;
    padding:10px 8px;
  }
  .calendar-day-number{
    font-size:18px;
  }
  .calendar-day-status{
    margin-top:8px;
    font-size:9px;
  }
}


/* v0.10.17 - calendario oficial completo y meses */
.calendar-month-tabs{
  display:flex;
  gap:9px;
  margin:0 0 16px;
  overflow-x:auto;
  padding:2px 0 7px;
  scrollbar-width:thin;
}
.calendar-month-tabs a{
  flex:0 0 auto;
  padding:10px 15px;
  border:1px solid #d7e3e8;
  border-radius:10px;
  background:#fff;
  color:#536d7a;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
}
.calendar-month-tabs a:hover{
  border-color:#9fcbd8;
  color:#0789ae;
}
.calendar-month-tabs a.active{
  border-color:#2f6f84;
  background:#eaf6fa;
  color:#126782;
}

.calendar-day{
  min-height:114px;
  padding:15px 16px 12px;
}
.calendar-day-number{
  font-size:27px;
  line-height:1;
}
.calendar-day-status{
  margin-top:14px;
  font-size:14px;
  line-height:1.2;
}
.calendar-day-games{
  margin-top:7px;
  color:#82949d;
  font-size:11px;
  font-weight:800;
}
.calendar-day.has-round.active .calendar-day-games{
  color:#d8edf3;
}

.calendar-day.scheduled-round{
  background:#f3fbfd;
}
.calendar-day.scheduled-round .calendar-day-number{
  color:#1b5367;
}
.calendar-day.scheduled-round .calendar-day-status{
  color:#0b8fb3;
}
.calendar-day.scheduled-round:hover{
  background:#e9f7fb;
}

.calendar-day.has-round.active{
  background:#426472;
  box-shadow:inset 0 0 0 2px #20acd0;
}

@media(max-width:900px){
  .calendar-day{
    min-height:100px;
  }
  .calendar-day-number{
    font-size:23px;
  }
  .calendar-day-status{
    font-size:11px;
  }
}

@media(max-width:760px){
  .calendar-month-tabs a{
    padding:9px 12px;
    font-size:12px;
  }
  .calendar-day{
    min-height:86px;
  }
  .calendar-day-number{
    font-size:19px;
  }
  .calendar-day-status{
    font-size:9px;
  }
  .calendar-day-games{
    display:none;
  }
}


/* v0.10.19 · Home / estado de la próxima jornada */
.hero-round-card{
  overflow:hidden;
}

.hero-round-card .scorecard-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:18px 22px;
}

.hero-round-card .scorecard-head>div{
  min-width:0;
}

.hero-round-card .scorecard-head small{
  display:block;
  color:#fff;
  font-size:12px;
  font-weight:800;
  opacity:.88;
}

.hero-round-card .scorecard-head strong{
  display:block;
  margin-top:2px;
  color:#fff;
  font-size:22px;
}

.round-status-badge{
  flex:0 0 auto;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.17);
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.round-countdown-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:18px 22px;
  border-bottom:1px solid #dfe8eb;
  background:linear-gradient(135deg,#fff 0%,#f6fbfc 100%);
}

.round-countdown-copy>span,
.round-countdown-copy>strong,
.round-countdown-copy>small{
  display:block;
}

.round-countdown-copy>span{
  color:#6f818a;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.round-countdown-copy>strong{
  margin-top:4px;
  color:#17232e;
  font-size:30px;
  line-height:1.05;
  font-variant-numeric:tabular-nums;
}

.round-countdown-copy>small{
  margin-top:5px;
  color:#7c8e97;
  font-size:11px;
}

.round-countdown-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:50%;
  background:#e7f7fb;
  color:#0aa3cb;
}

.round-countdown-icon svg{
  width:24px;
  height:24px;
  fill:currentColor;
}

.round-countdown-wrap.live .round-countdown-icon{
  background:#fff2db;
  color:#b77916;
}

.round-countdown-wrap.closed .round-countdown-icon{
  background:#eef2f4;
  color:#6f7d84;
}

.hero-round-card .scorecard-grid{
  border-bottom:1px solid #dfe8eb;
}

.hero-round-card .scorecard-grid>div{
  min-height:78px;
}

.hero-round-card .scorecard-grid span{
  font-size:11px;
}

.hero-round-card .scorecard-grid strong{
  font-size:24px;
}

.round-card-foot{
  padding:16px 22px 18px;
}

.round-card-foot p{
  margin:0;
  color:#5c707b;
  font-size:12px;
  line-height:1.5;
}

.round-card-actions{
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:14px;
}

.round-primary-action,
.round-secondary-action{
  text-decoration:none;
  font-weight:900;
}

.round-primary-action{
  color:#111d27;
  font-size:15px;
}

.round-primary-action:hover{
  color:#0a98bd;
}

.round-secondary-action{
  color:#6f818b;
  font-size:11px;
}

.round-secondary-action:hover{
  color:#0a98bd;
}

@media(max-width:760px){
  .hero-round-card .scorecard-head{
    align-items:flex-start;
  }

  .round-card-actions{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .round-countdown-copy>strong{
    font-size:25px;
  }
}


/* v0.10.26 · richer market evolution charts */
.market-chart-card .price-line-wrap{
  padding:18px 18px 14px;
}
.rich-market-chart{
  overflow-x:auto;
}
.rich-market-chart .price-line-chart{
  min-width:700px;
  height:245px;
}
.chart-grid-line{
  stroke:#e7edf0;
  stroke-width:1;
}
.chart-y-label,
.chart-x-label,
.chart-point-label,
.chart-reference-label{
  font-family:inherit;
  pointer-events:none;
}
.chart-y-label{
  fill:#71818a;
  font-size:10px;
  font-weight:700;
}
.chart-x-label{
  fill:#74838c;
  font-size:10px;
  font-weight:700;
}
.chart-point-label{
  fill:#38515d;
  font-size:10px;
  font-weight:900;
}
.chart-point-label.current{
  fill:#087f9f;
}
.chart-reference-line{
  stroke-width:1.25;
  stroke-dasharray:5 5;
  opacity:.75;
}
.chart-reference-line.initial{
  stroke:#9caab2;
}
.chart-reference-line.current{
  stroke:#0d9ec6;
}
.chart-reference-label{
  font-size:9px;
  font-weight:900;
  text-transform:uppercase;
}
.chart-reference-label.initial{
  fill:#7f8c94;
}
.chart-reference-label.current{
  fill:#0a87aa;
}
.price-dot.current{
  fill:#e8f8fc;
  stroke-width:5;
}
.price-chart-summary{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
  padding-top:12px;
  border-top:1px solid #e3eaee;
}
.price-chart-summary>div{
  min-width:0;
  padding:9px 10px;
  border-radius:9px;
  background:#f7fafb;
}
.price-chart-summary span,
.price-chart-summary strong{
  display:block;
}
.price-chart-summary span{
  color:#71818a;
  font-size:10px;
}
.price-chart-summary strong{
  margin-top:3px;
  color:#172630;
  font-size:13px;
  white-space:nowrap;
}
.price-chart-summary .positive strong{
  color:#16814b;
}
.price-chart-summary .negative strong{
  color:#b54141;
}
.price-chart-summary .flat strong{
  color:#63727b;
}

@media(max-width:780px){
  .price-chart-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:480px){
  .price-chart-summary{
    grid-template-columns:1fr;
  }
}

/* v0.10.39 */
.market-player-link{color:inherit;text-decoration:none}
.market-player-link:hover{text-decoration:underline;text-underline-offset:3px}
