:root {
  --ink: #102a23;
  --muted: #6d7c77;
  --line: #dfe7e2;
  --paper: #f7f8f3;
  --white: #fff;
  --green: #0c593f;
  --lime: #d9ff56;
  --orange: #ff7657;
  --shadow: 0 15px 40px rgba(16, 42, 35, .08);
  --page-gutter: clamp(14px, 2.2vw, 44px);
  --sticky-header-offset: 94px;
  --topbar-live-height: 76px;
}

* { box-sizing: border-box; font-family: Verdana, Geneva, sans-serif !important; }
html { width:100%; max-width:100%; overflow-x:hidden; }
body { width:100%; min-width:0; min-height:100dvh; margin:0; overflow-x:hidden; color:var(--ink); background:var(--paper); font-family:Verdana, Geneva, sans-serif; font-size:14px; }
img, video, canvas { max-width:100%; height:auto; }
body.auth-locked { overflow: hidden; }
body.privacy-locked { overflow:hidden; }
body.user-log-open { overflow:hidden; }
body.legend-event-open { overflow:hidden; }
button, input, select { font: inherit; }
button { color: inherit; }

.topbar { position:relative; z-index:160; top:0; width:100%; height:76px; display:flex; align-items:center; gap:28px; padding:0 clamp(16px,2vw,36px); background:var(--green); color:white; box-shadow:0 8px 24px rgba(7,53,36,.12); }
body.topbar-pinned { --sticky-header-offset:calc(var(--topbar-live-height) + 18px); }
body:not(.topbar-pinned) { --sticky-header-offset:18px; }
body.topbar-pinned .topbar { position:fixed; inset:0 0 auto; }
.brand { display:flex; flex:0 0 auto; align-items:center; gap:7px; color:white; text-decoration:none; }
.brand>img { display:block; width:clamp(112px,9vw,150px); height:auto; max-height:48px; object-fit:contain; }
.brand-fantasy-tag { display:inline-flex; align-items:center; min-height:19px; padding:3px 7px; border:1px solid rgba(217,255,86,.78); border-radius:999px; background:rgba(217,255,86,.12); color:var(--lime); font-size:7px; font-weight:900; letter-spacing:.13em; line-height:1; text-transform:uppercase; }
.brand-ball { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--lime); font-size: 17px; }
.topbar nav { display: flex; flex:1; min-width:0; align-self: stretch; overflow-x:auto; scrollbar-width:none; }
.topbar nav::-webkit-scrollbar { display:none; }
.nav-item { display:flex;align-items:center;flex:0 0 auto; border: 0; border-bottom: 3px solid transparent; padding: 0 14px; background: transparent; color: rgba(255,255,255,.68); font-size:13px; cursor: pointer; text-decoration:none;white-space:nowrap; }
.nav-item.active { border-bottom-color: var(--lime); color: white; }
.nav-item.nav-editor,.nav-item.nav-production { color: var(--lime); }
.topbar-account { margin-left:auto; display:flex; align-items:center; gap:8px; }
.topbar-admin-menu { display:none; position:relative; flex:0 0 auto; z-index:180; }
body.is-admin .topbar-admin-menu { display:block; }
.topbar-admin-menu>summary { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:38px; padding:0 11px; border:1px solid var(--lime); border-radius:10px; background:var(--lime); color:var(--green); font-size:11px; font-weight:950; letter-spacing:.04em; cursor:pointer; list-style:none; }
.topbar-admin-menu>summary::-webkit-details-marker { display:none; }
.topbar-admin-menu>summary i { font-size:14px; font-style:normal; transition:transform .18s ease; }
.topbar-admin-menu[open]>summary i { transform:rotate(180deg); }
.topbar-admin-menu>summary:hover,.topbar-admin-menu[open]>summary,.topbar-admin-menu.active>summary { background:#fff; border-color:#fff; }
.topbar-admin-menu>summary:focus-visible { outline:3px solid white; outline-offset:3px; }
.topbar-admin-dropdown { position:absolute; top:calc(100% + 9px); right:0; width:238px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:white; color:var(--ink); box-shadow:0 18px 50px rgba(7,37,27,.24); }
.topbar-admin-dropdown a { display:block; padding:13px 16px; border-bottom:1px solid var(--line); color:var(--ink); text-decoration:none; }
.topbar-admin-dropdown a:last-child { border-bottom:0; }
.topbar-admin-dropdown a:hover,.topbar-admin-dropdown a.active { background:#eef7d8; }
.topbar-admin-dropdown strong,.topbar-admin-dropdown small { display:block; }
.topbar-admin-dropdown strong { font-size:12px; }
.topbar-admin-dropdown small { margin-top:4px; color:var(--muted); font-size:10px; }
.round-pill { display: flex; gap: 10px; align-items: center; padding: 8px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font-size: 12px; }
.round-pill strong { color: var(--lime); }
.account-menu-wrap { position:relative; display:flex; align-items:flex-end; flex-direction:column; gap:3px; }
.account-pill { display:flex; align-items:center; gap:8px; min-height:39px; padding:4px 10px 4px 4px; border:1px solid rgba(255,255,255,.2); border-radius:999px; background:rgba(255,255,255,.08); color:white; font-size:11px; cursor:pointer; }
.account-pill:hover,.account-pill[aria-expanded="true"] { background:rgba(255,255,255,.16); }
.account-pill>span:first-child { display:grid; place-items:center; flex:0 0 29px; width:29px; height:29px; border-radius:50%; background:var(--lime); color:var(--green); font-weight:900; }
.account-button-copy { display:block; min-width:72px; text-align:left; }
.account-button-copy b,.account-button-copy small { display:block; max-width:115px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-button-copy b { font-size:10px; }
.account-button-copy small { margin-top:1px; color:rgba(255,255,255,.62); font-size:8px; }
.account-pill>i { color:rgba(255,255,255,.65); font-size:12px; font-style:normal; transition:transform .18s ease; }
.account-pill[aria-expanded="true"]>i { transform:rotate(180deg); }
.topbar-pin-button { display:flex; align-items:center; gap:4px; min-height:17px; padding:1px 7px; border:1px solid rgba(255,255,255,.24); border-radius:999px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.68); font-size:7px; line-height:1; letter-spacing:.08em; cursor:pointer; transition:background .18s ease,color .18s ease,transform .18s ease; }
.topbar-pin-button:hover { background:rgba(255,255,255,.16); color:white; }
.topbar-pin-button[aria-pressed="true"] { border-color:var(--lime); background:var(--lime); color:var(--green); }
.topbar-pin-button[aria-pressed="false"]>span { transform:rotate(-35deg); }
.topbar-pin-button:focus-visible { outline:2px solid white; outline-offset:2px; }
.account-menu { position:absolute; z-index:120; top:calc(100% + 9px); right:0; display:none; width:230px; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:white; color:var(--ink); box-shadow:0 18px 50px rgba(7,37,27,.2); }
.account-menu.open { display:block; }
.account-menu button { width:100%; border:0; background:white; cursor:pointer; text-align:left; }
.account-menu button:first-child { padding:15px 17px; }
.account-menu button:first-child:hover { background:#f3f7f4; }
.account-menu button span,.account-menu button small { display:block; }
.account-menu button span { color:var(--ink); font-size:11px; font-weight:850; }
.account-menu button small { margin-top:4px; color:var(--muted); font-size:8px; }
.account-menu .admin-account-link { display:none; padding:13px 17px; border-top:1px solid var(--line); background:#f4faec; color:var(--green); text-decoration:none; }
body.is-admin .account-menu .admin-account-link { display:block; }
.account-menu .admin-account-link:hover { background:#e7f4d4; }
.account-menu .admin-account-link span,.account-menu .admin-account-link small { display:block; }
.account-menu .admin-account-link span { font-size:11px; font-weight:900; }
.account-menu .admin-account-link small { margin-top:4px; color:var(--muted); font-size:8px; }
.account-menu .account-menu-logout { padding:12px 17px; border-top:1px solid var(--line); color:#b94e39; font-size:10px; font-weight:800; }
.account-menu .account-menu-logout:hover { background:#fff5f2; }
.logout-button { padding:7px; border:0; background:transparent; color:rgba(255,255,255,.62); font-size:11px; cursor:pointer; }
.nav-count:not(:empty) { display:inline-grid; place-items:center; min-width:17px; height:17px; margin-left:4px; padding:0 4px; border-radius:999px; background:var(--orange); color:white; font-size:8px; font-weight:900; }
.league-nav-count.invited:not(:empty){background:#df3f38;color:white;box-shadow:0 0 0 3px rgba(223,63,56,.2)}.league-nav-count.live:not(:empty){background:#ffd84f;color:#483700;box-shadow:0 0 0 3px rgba(255,216,79,.22)}.league-nav-count.message:not(:empty){min-width:21px;background:#0c593f;color:#fff;box-shadow:0 0 0 3px rgba(12,89,63,.18);font-size:11px}

.auth-shell { position:fixed; inset:0; z-index:200; display:none; place-items:center; overflow:auto; padding:28px; background:radial-gradient(circle at 20% 20%,#1b7157 0,#0c593f 38%,#082f25 100%); color:white; }
.auth-shell.visible { display:grid; }
.auth-guest{width:100%;min-height:44px;margin-top:12px;padding:9px 13px;border:1px solid rgba(255,255,255,.34);border-radius:10px;background:transparent;color:white;font-weight:800;cursor:pointer}.auth-guest:hover{background:rgba(255,255,255,.1)}
.guest-mobile-link{display:none!important}
.guest-mode .round-pill{display:none}.guest-mode .account-pill{min-width:132px}.guest-mode .account-menu{display:none!important}
.guest-mode .topbar nav [data-view-target]:not([data-view-target="rankingView"]):not([data-view-target="resultsView"]):not([data-view-target="newsView"]):not([data-view-target="rulesView"]){display:none}
.auth-brand { position:absolute; left:34px; top:24px; display:flex; align-items:center; gap:8px; }
.auth-brand>img { display:block; width:172px; height:auto; max-height:63px; object-fit:contain; }
.auth-brand .brand-fantasy-tag { background:var(--lime); color:var(--green); }
.auth-card { width:min(560px,100%); margin:40px auto 0; padding:34px; border-radius:24px; background:var(--paper); color:var(--ink); box-shadow:0 35px 100px rgba(0,0,0,.28); }
.auth-card h1 { font-size:48px; }.auth-intro { margin:15px 0 22px; color:var(--muted); font-size:12px; line-height:1.5; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:5px; margin-bottom:20px; padding:4px; border-radius:12px; background:#e9eee9; }
.auth-tab { padding:10px; border:0; border-radius:9px; background:transparent; color:var(--muted); font-size:10px; font-weight:800; cursor:pointer; }.auth-tab.active { background:white; color:var(--green); box-shadow:0 2px 9px rgba(16,42,35,.08); }
.auth-form { display:none; gap:14px; }.auth-form.active { display:grid; }.auth-form label { display:grid; gap:7px; font-size:10px; font-weight:800; }.auth-form input { min-height:44px; padding:0 12px; border:1px solid var(--line); border-radius:10px; outline:none; }.auth-form input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }.auth-form label small { color:var(--muted); font-size:8px; font-weight:500; }
.auth-form .terms-check { display:flex; align-items:flex-start; gap:8px; color:var(--muted); line-height:1.35; }.terms-check input { min-height:0; width:15px; height:15px; }.auth-primary { min-height:45px; border:0; border-radius:10px; background:var(--green); color:white; font-size:11px; font-weight:850; cursor:pointer; }.auth-message { min-height:16px; margin:13px 0 0; color:#cc4e38; font-size:9px; }.auth-message.success { color:#198052; }.auth-local-note { display:block; margin-top:8px; color:var(--muted); font-size:8px; text-align:center; }
.privacy-registration-notice { overflow:hidden; border:1px solid #bfd2c6; border-radius:13px; background:#eef6f1; color:var(--ink); }.privacy-registration-notice>div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px 8px; }.privacy-registration-notice>div span { color:var(--green); font-size:7px; font-weight:900; letter-spacing:.09em; }.privacy-registration-notice>div strong { color:var(--green); font-size:10px; }.privacy-registration-notice>p { margin:0; padding:0 14px 11px; color:#536860; font-size:9px; line-height:1.55; }.privacy-registration-notice details { border-top:1px solid #d4e2d8; background:white; }.privacy-registration-notice summary { padding:10px 14px; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }.privacy-registration-notice ul { margin:0; padding:0 28px 13px 31px; color:var(--muted); font-size:8px; line-height:1.55; }.privacy-registration-notice li+li { margin-top:5px; }.privacy-acceptance { padding:11px 12px; border:1px solid #d5dfd9; border-radius:11px; background:white; }.privacy-acceptance span { font-size:9px; }.privacy-acceptance b { color:var(--green); }

.privacy-gate { position:fixed; inset:0; z-index:230; display:none; place-items:center; overflow:auto; padding:clamp(16px,3vw,40px); background:linear-gradient(135deg,rgba(5,35,26,.97),rgba(12,89,63,.95)); color:var(--ink); }
.privacy-gate.visible { display:grid; }
.privacy-gate-card { width:min(760px,100%); padding:clamp(24px,4vw,44px); border:1px solid rgba(255,255,255,.34); border-radius:24px; background:var(--paper); box-shadow:0 35px 100px rgba(0,0,0,.36); }
.privacy-gate-brand { display:flex; align-items:center; gap:8px; margin-bottom:24px; }
.privacy-gate-brand img { width:150px; height:auto; }
.privacy-gate-brand .brand-fantasy-tag { background:var(--green); color:var(--lime); }
.privacy-gate-card h1 { max-width:650px; font-size:clamp(34px,5vw,54px); line-height:1.02; }
.privacy-gate-intro { max-width:680px; margin:16px 0 22px; color:var(--muted); font-size:13px; line-height:1.65; }
.privacy-gate-notice { overflow:hidden; border:1px solid #bfd2c6; border-radius:15px; background:#eef6f1; }
.privacy-gate-notice header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 17px 11px; }
.privacy-gate-notice header span { color:var(--green); font-size:8px; font-weight:900; letter-spacing:.1em; }
.privacy-gate-notice header strong { color:var(--green); font-size:12px; text-align:right; }
.privacy-gate-notice>p { margin:0; padding:0 17px 14px; color:#435d54; font-size:11px; line-height:1.7; }
.privacy-gate-notice ul { margin:0; padding:14px 34px 16px; border-top:1px solid #d4e2d8; background:white; color:var(--muted); font-size:10px; line-height:1.55; }
.privacy-gate-notice li+li { margin-top:6px; }
.privacy-gate-consequence { margin:15px 0 0; padding:12px 14px; border-left:3px solid var(--orange); background:#fff5f1; color:#69534c; font-size:10px; line-height:1.55; }
.privacy-gate-message { min-height:18px; margin:12px 0 0; color:#b94e39; font-size:10px; }
.privacy-gate-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:10px; }
.privacy-gate-actions button { min-height:46px; padding:0 17px; border-radius:10px; font-size:11px; font-weight:850; cursor:pointer; }
.privacy-gate-actions button:disabled { opacity:.58; cursor:wait; }
.privacy-decline { border:1px solid #df8e7d; background:white; color:#ae4b39; }
.privacy-accept { border:1px solid var(--green); background:var(--green); color:white; }
.privacy-accept:hover { background:#083f2d; }

@media(max-width:620px){
  .privacy-gate { padding:0; align-items:start; }
  .privacy-gate-card { min-height:100dvh; border:0; border-radius:0; padding:24px 18px; }
  .privacy-gate-brand { margin-bottom:18px; }
  .privacy-gate-notice header { align-items:flex-start; flex-direction:column; }
  .privacy-gate-notice header strong { text-align:left; }
  .privacy-gate-actions { flex-direction:column-reverse; }
  .privacy-gate-actions button { width:100%; }
}

main { width:100%; max-width:none; min-width:0; margin:0; padding:clamp(28px,3vw,46px) var(--page-gutter) 70px; }
body.topbar-pinned main { padding-top:calc(var(--topbar-live-height) + clamp(28px,3vw,46px)); }
main > *, .app-view, .panel, .workspace > *, .hero > *, .page-heading > * { min-width:0; }
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.eyebrow { margin: 0 0 8px; color: #36705e; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 70px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero > div > p:last-child { max-width: 630px; margin: 17px 0 0; color: var(--muted); font-size: 16px; }
.budget-card { min-width: 300px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.budget-card span { display: block; color: var(--muted); font-size: 12px; }
.budget-card strong { display: block; margin-top: 3px; font-family: Georgia, serif; font-size: 30px; }
.budget-track { height: 5px; margin-top: 15px; overflow: hidden; border-radius: 5px; background: #e9eee9; }
.budget-track i { display: block; width: 100%; height: 100%; background: var(--green); transition: width .25s; }
.budget-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }

.rule-strip { display:grid; grid-template-columns:repeat(3,1fr); margin:0; background:white; }
.rule-strip > div { display:flex; align-items:center; gap:14px; padding:18px 24px; }
.rule-strip > div + div { border-left: 1px solid var(--line); }
.rule-icon { display: grid; flex: 0 0 34px; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e7f0eb; font-weight: 800; }
.rule-icon.accent { background: var(--lime); }
.rule-strip p { margin: 0; }
.rule-strip strong, .rule-strip small { display: block; }
.rule-strip strong { font-size:15px; }
.rule-strip small { margin-top:3px; color:var(--muted); font-size:12px; }

.workspace { display:grid; grid-template-columns:minmax(205px,250px) minmax(0,1fr) clamp(330px,24vw,460px); gap:clamp(14px,1.2vw,20px); align-items:start; }
.filters, .market, .squad { border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.filters { position:sticky; top:var(--sticky-header-offset); padding:20px; }
.squad { position:sticky; top:var(--sticky-header-offset); }
.filters label, legend { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 750; }
.filters select, .filters input { width: 100%; min-height: 43px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: white; }
.filters select:focus, .filters input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,89,63,.1); }
.filters label:not(:first-child) { margin-top: 23px; }
.favorite-control { display: grid; gap: 8px; }
.save-favorite { min-height: 38px; border: 1px solid var(--green); border-radius: 10px; background: var(--green); color: white; font-size: 10px; font-weight: 850; cursor: pointer; }
.save-favorite:disabled { border-color: var(--line); background: #edf1ee; color: var(--muted); cursor: default; }
.hint { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.data-status { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 9px 10px; border-radius: 9px; background: #f1f5f2; color: var(--muted); font-size: 10px; line-height: 1.3; }
.data-status i { flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: #d8a61c; box-shadow: 0 0 0 3px rgba(216,166,28,.12); }
.data-status.ready i { background: #2ca66b; box-shadow: 0 0 0 3px rgba(44,166,107,.12); }
.data-status.error i { background: var(--orange); box-shadow: 0 0 0 3px rgba(255,118,87,.12); }
fieldset { display: flex; flex-direction: column; gap: 6px; margin: 23px 0 0; padding: 0; border: 0; }
.filter-chip { padding: 9px 11px; border: 0; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { background: #eaf2ed; color: var(--green); font-weight: 700; }

.market, .squad { overflow:hidden; }
.market { display:flex; flex-direction:column; height:var(--market-panel-height,auto); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 22px 15px; border-bottom: 1px solid var(--line); }
.section-head.compact { align-items: center; }
.section-head h2 { margin: 0; font-family: Georgia, serif; font-size: 23px; font-weight: 500; letter-spacing: -.02em; }
.section-head > span { color: var(--muted); font-size: 11px; }
.text-button { padding: 6px; border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.player-list-head { display:grid; grid-template-columns:38px minmax(150px,1fr) 58px 42px 58px 72px 34px; gap:8px; align-items:center; padding:10px 18px; border-bottom:1px solid var(--line); background:#f5f7f4; color:var(--muted); font-size:8px; font-weight:850; letter-spacing:.07em; text-transform:uppercase; }
.player-list-head span:nth-child(n+3):nth-child(-n+6) { text-align:center; }
.player-list { flex:1; min-height:0; max-height:none; overflow:auto; scrollbar-gutter:stable; }
.player-row { display:grid; grid-template-columns:38px minmax(150px,1fr) 58px 42px 58px 72px 34px; gap:8px; align-items:center; padding:12px 18px; border-bottom:1px solid #edf1ee; }
.player-row:hover { background: #fafbf8; }
.crest { display: grid; place-items: center; width: 32px; height: 36px; border: 2px solid rgba(16,42,35,.16); border-radius: 9px 9px 13px 13px; background: var(--crest, #ddd); color: var(--crestText, white); font-size: 9px; font-weight: 900; box-shadow: inset 0 -8px rgba(0,0,0,.08); }
.crest.real { padding: 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.crest.real img { display: block; width: 100%; height: 100%; object-fit: contain; }
.player-info { min-width: 0; }
.player-info strong, .player-info small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-info strong { font-size: 13px; }
.player-info small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.position { color: var(--muted); font-size: 10px; font-weight: 800; }
.player-age { color:var(--muted); font-size:10px; font-weight:750; text-align:center; }
.overall { display: grid; place-items: center; width: 38px; height: 30px; border-radius: 9px; background: #edf2ed; font-size: 12px; font-weight: 850; }
.price { font-size: 11px; font-weight: 750; text-align: right; }
.availability { display: block; margin-top: 3px; color: #27885e; font-size: 9px; }
.availability.injured { color: #db5c43; font-weight: 750; }
.availability.doubt { color: #ba8713; font-weight: 750; }
.price-change { display: block; margin-top: 2px; color: #28865e; font-size: 8px; }
.add-player { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--lime); font-size: 18px; cursor: pointer; transition: transform .15s; }
.add-player:hover { transform: scale(1.08); }
.add-player:disabled { background: #edf0ed; color: #9ca7a2; cursor: not-allowed; transform: none; }

.club-limits { display: flex; gap: 7px; padding: 12px 15px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.club-counter { display: flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 5px 8px 5px 5px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; }
.club-counter.favorite { border-color: #abc923; background: #f9ffd9; }
.club-counter .crest { width: 21px; height: 23px; border-radius: 6px 6px 8px 8px; font-size: 7px; }
.squad-list { min-height:430px; max-height:min(720px,calc(100vh - 210px)); overflow:auto; }
.squad-list.empty { display: grid; place-items: center; }
.empty-state { display: flex; align-items: center; flex-direction: column; color: var(--muted); text-align: center; }
.empty-state > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border: 1px dashed #bfcac4; border-radius: 50%; font-size: 24px; }
.empty-state strong { color: var(--ink); font-size: 13px; }
.empty-state small { margin-top: 4px; }
.squad-player { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 10px 15px; border-bottom: 1px solid #edf1ee; }
.squad-player .crest { width: 28px; height: 31px; }
.squad-position-group>header { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; padding:9px 14px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#f1f5f2; color:var(--green); font-size:10px; }.squad-position-group:first-child>header { border-top:0; }.squad-position-group>header span { color:var(--muted); font-weight:800; }.empty-slots { display:grid; grid-template-columns:repeat(2,1fr); gap:6px; padding:8px 12px 12px; }.empty-squad-slot { display:flex; align-items:center; gap:7px; min-width:0; min-height:34px; padding:5px 8px; border:1px dashed #c9d3cd; border-radius:8px; background:#fafbf8; color:var(--muted); cursor:pointer; }.empty-squad-slot span { display:grid; place-items:center; flex:0 0 20px; width:20px; height:20px; border-radius:6px; background:#e9efeb; color:var(--green); font-size:14px; }.empty-squad-slot small { overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }.empty-squad-slot:hover { border-color:var(--green); background:#f1f7f3; }
.remove-player { border: 0; background: transparent; color: #a5afa9; cursor: pointer; font-size: 17px; }
.remove-player:hover { color: var(--orange); }
.sell-player { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--green); font-size: 9px; font-weight: 750; cursor: pointer; }
.sell-player:hover { border-color: var(--green); }

.app-view { display: none; }
.app-view.active { display: block; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 16px 0 28px; }
.page-heading h1 { max-width: 100%; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -.025em; overflow-wrap: anywhere; }
.page-heading > div > p:last-child { max-width:820px; margin:16px 0 0; color:var(--muted); font-size:15px; line-height:1.55; }
.team-cover-heading { min-width: 0; }
.team-name-heading { max-width: 900px; font-size: clamp(32px, 3.7vw, 50px) !important; font-weight: 700; }
.team-intro { max-width: 850px; margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.team-name-form { width: min(650px, 100%); margin-top: 20px; padding: 16px 18px; border: 1px solid #cbdad1; border-radius: 14px; background: white; box-shadow: 0 8px 22px rgba(16,42,35,.05); }
.team-name-form[hidden] { display: none; }
.team-name-form label { display: block; margin-bottom: 9px; color: var(--green); font-size: 13px; font-weight: 800; }
.team-name-form > div { display: flex; gap: 9px; }
.team-name-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; outline: none; font-size: 13px; }
.team-name-form input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(12,89,63,.1); }
.team-name-form button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--green); color: white; font-size: 12px; font-weight: 800; cursor: pointer; }
.team-name-form small, .team-name-form span { display: block; margin-top: 8px; font-size: 11px; line-height: 1.45; }
.team-name-form small { color: var(--muted); }
.team-name-form span { color: #b54d3b; }
.team-name-season-note { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; }
.team-name-season-note[hidden] { display: none; }
.points-card { min-width: 190px; padding: 18px 20px; border-radius: 16px; background: var(--green); color: white; }
.points-card span, .points-card strong { display: block; }
.points-card span { color: rgba(255,255,255,.65); font-size: 11px; }
.points-card strong { margin-top: 2px; color: var(--lime); font-family: Georgia, serif; font-size: 38px; }
.team-summary-cards { display:grid; flex:0 0 auto; grid-template-columns:1fr 1fr; gap:10px; }.team-summary-cards .points-card { min-width:160px; }.overall-summary-card { background:var(--ink); }.overall-summary-card small { display:block; margin-top:4px; color:rgba(255,255,255,.55); font-size:8px; }.team-crest-toggle{grid-column:1/-1;width:100%;min-height:42px;border-color:#173e30;color:#173e30;background:#fff}.team-crest-toggle:hover{background:#f4fadf}
.panel { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(16,42,35,.04); }
.panel .section-head a { color: var(--green); font-size: 10px; font-weight: 750; text-decoration: none; }
.team-grid { display: grid; grid-template-columns: minmax(480px, 1fr) 360px; gap: 18px; align-items: start; }
.full-squad-list { min-height: 300px; }
.section-head>span.valid { color:#21845a; font-weight:850; }.lineup-group>header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:13px 18px; border-bottom:1px solid var(--line); background:#eef5f0; }.lineup-group>header span,.lineup-group>header strong { display:block; }.lineup-group>header span { color:var(--green); font-size:8px; font-weight:900; letter-spacing:.1em; }.lineup-group>header strong { margin-top:3px; font:500 20px Georgia,serif; }.lineup-group>header small { color:var(--muted); font-size:9px; text-align:right; }.lineup-group>header small b { color:var(--green); }.bench-group { border-top:7px solid var(--paper); }.bench-group>header { background:#f6f4ed; }.lineup-player { display:grid; grid-template-columns:36px minmax(150px,1fr) 52px 52px 76px 84px; gap:10px; align-items:center; padding:11px 16px; border-bottom:1px solid #edf1ee; }.lineup-player.starter { box-shadow:inset 3px 0 var(--lime); }.lineup-player .crest { width:30px; height:33px; }.lineup-player .round-points,.lineup-player .lineup-overall { text-align:center; }.lineup-player .round-points strong,.lineup-player .round-points small,.lineup-player .lineup-overall strong,.lineup-player .lineup-overall small { display:block; }.lineup-player .round-points small,.lineup-player .lineup-overall small { color:var(--muted); font-size:7px; }.lineup-player .lineup-overall strong { display:grid; width:36px; height:28px; margin:auto; place-items:center; border-radius:8px; background:#edf2ed; color:var(--green); font-size:11px; }.captain-controls,.bench-order { display:flex; align-items:center; justify-content:center; gap:4px; }.captain-choice,.bench-order button { display:grid; place-items:center; width:27px; height:27px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--muted); font-size:9px; font-weight:900; cursor:pointer; }.captain-choice.active { border-color:var(--green); background:var(--green); color:white; }.captain-choice.vice.active { border-color:#b8d52e; background:var(--lime); color:var(--green); }.bench-order span { min-width:18px; color:var(--green); font-weight:900; text-align:center; }.lineup-toggle { padding:8px 9px; border:1px solid var(--green); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }.lineup-player.bench .lineup-toggle { background:var(--green); color:white; }
.lineup-head-actions { display:flex; align-items:center; gap:9px; }.lineup-head-actions span { color:var(--muted); font-size:10px; }.lineup-head-actions span.valid { color:#21845a; font-weight:850; }.lineup-head-actions button { padding:8px 10px; border:1px solid var(--green); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }
.lineup-group>header span { font-size: 10px; }
.lineup-group>header small { font-size: 11px; }
.lineup-player .player-info small { font-size: 11px; }
.lineup-player .round-points small { font-size: 9px; }
.lineup-toggle, .lineup-head-actions button { font-size: 10px; }
.lineup-head-actions span { font-size: 11px; }
.full-player { display: grid; grid-template-columns: 36px minmax(150px, 1fr) 72px 72px 82px; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #edf1ee; }
.full-player .round-points { text-align: center; }
.full-player .round-points strong, .full-player .round-points small { display: block; }
.full-player .round-points strong { font-size: 15px; }
.full-player .round-points small { color: var(--muted); font-size: 8px; }
.purchase-meta { font-size: 9px; color: var(--muted); line-height: 1.4; }
.purchase-meta b { display: block; color: var(--ink); font-size: 11px; }
.round-manager.panel { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(330px, 1.15fr); gap: 20px 28px; align-items: center; margin-bottom: 18px; padding: 22px 24px; overflow: visible; }
.round-manager-copy { min-width: 0; }
.round-manager-copy h2 { margin: 7px 0 6px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; letter-spacing: -.02em; }
.round-manager-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.round-status-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 10px; border-radius: 999px; background: #f0f3f1; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.round-status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px currentColor; opacity: .72; }
.round-status-badge.open { background: #eef8f2; color: #21845a; }
.round-status-badge.saved { background: #e8f4ff; color: #2773a8; }
.round-status-badge.dirty { background: #fff1e8; color: #bd5e2d; }
.round-status-badge.locked { background: #fff4df; color: #ad7611; }
.round-status-badge.complete { background: #e8f0ec; color: var(--green); }
.round-manager-metrics { display: grid; grid-template-columns: repeat(2, minmax(88px, 1fr)); gap: 8px; }
.round-metric { min-width: 0; padding: 12px 13px; border: 1px solid #e7ece8; border-radius: 12px; background: #fafbf8; }
.round-metric span, .round-metric strong { display: block; }
.round-metric span { color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.round-metric strong { margin-top: 6px; overflow: hidden; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.round-manager-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 9px; padding-top: 17px; border-top: 1px solid #edf1ee; }
.round-manager-actions small { order: -1; margin-right: auto; color: var(--muted); font-size: 11px; line-height: 1.5; }
.round-window { color: var(--muted); font-size: 12px; line-height: 1.55; }
.round-window b, .round-window strong { color: var(--ink); }
.danger-action { padding: 11px 16px; border: 1px solid #e78a77; border-radius: 10px; background: #fff6f2; color: #b94e39; font-size: 12px; font-weight: 850; cursor: pointer; }
.primary-action:hover { background: #083f2d; }
.secondary-action:hover { border-color: var(--green); background: #f3f8f5; }
.danger-action:hover { border-color: var(--orange); background: #ffebe4; }
button:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.rules-panel { padding: 24px; }
.rules-panel h2 { margin: 0 0 18px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.rules-panel ul { margin: 0; padding: 0; list-style: none; }
.rules-panel li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #edf1ee; color: var(--muted); font-size: 12px; }
.rules-panel li b { color: var(--green); }
.rules-panel li.zero-rule { margin-top: 8px; padding: 11px; border: 0; border-radius: 10px; background: #fff0eb; color: #b74d38; font-weight: 750; }
.rules-panel li.zero-rule b { color: #b74d38; }
.rules-note { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.refresh-button { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--green); border-radius: 11px; background: white; color: var(--green); font-size: 11px; font-weight: 800; cursor: pointer; }
.refresh-button:hover { background: #edf4f0; }
.refresh-button.loading span { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.live-meta { display: flex; align-items: center; gap: 8px; margin: -13px 0 18px; color: var(--muted); font-size: 10px; }
.live-meta b { color: var(--ink); }
.live-meta small { margin-left: auto; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e2b326; box-shadow: 0 0 0 4px rgba(226,179,38,.13); }
.live-dot.connected { background: #2ba86a; box-shadow: 0 0 0 4px rgba(43,168,106,.13); }
.live-dot.live { background: #ef4c45; box-shadow: 0 0 0 4px rgba(239,76,69,.13); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(239,76,69,0); } }
.scores-layout { display: grid; grid-template-columns: minmax(430px, .9fr) minmax(520px, 1.1fr); gap: 18px; align-items: start; }
.matches-list { max-height:590px; overflow:auto; }
.current-round-note { display:block; margin-top:5px; color:var(--muted); font-size:8px; font-weight:600; }
.round-accordion { border-bottom:1px solid #e5ebe7; background:white; }.round-accordion>summary { display:grid; grid-template-columns:minmax(0,1fr) auto 18px; gap:10px; align-items:center; padding:16px 18px; cursor:pointer; list-style:none; }.round-accordion>summary::-webkit-details-marker { display:none; }.round-accordion>summary:hover { background:#f5f8f6; }.round-accordion.current>summary { background:#edf6f1; }.round-accordion>summary span b,.round-accordion>summary span small { display:block; }.round-accordion>summary span b { color:var(--ink); font-size:13px; }.round-accordion>summary span small { margin-top:4px; color:var(--muted); font-size:8px; }.round-accordion>summary i { color:var(--muted); font-style:normal; transition:transform .18s ease; }.round-accordion[open]>summary i { transform:rotate(180deg); }.round-state { padding:5px 8px; border-radius:999px; background:#f0f3f1; color:var(--muted); font-size:7px; font-style:normal; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }.round-state.current { background:var(--lime); color:var(--green); }.round-state.past { background:#eef1ef; color:#6e7c75; }.round-state.future { background:#eef3ff; color:#315b9b; }.round-match-list { border-top:1px solid #e5ebe7; }
.round-accordion.current>summary { cursor:default; box-shadow:inset 3px 0 var(--lime); }.round-accordion.current>summary i { visibility:hidden; }
.match-card { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 15px 18px; border-bottom: 1px solid #edf1ee; }
.match-state { color: var(--muted); font-size: 9px; text-align: center; }
.match-state.live { color: #dd433c; font-weight: 850; }
.match-teams { display: grid; gap: 8px; }
.match-team { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; }
.match-team .crest { width: 22px; height: 24px; }
.match-score { display: grid; gap: 8px; font-family: Georgia, serif; font-size: 16px; text-align: center; }
.table-wrap { overflow-x: auto; }
.standings-panel table { min-width:680px; }
.standings-panel th:nth-child(n+3),.standings-panel td:nth-child(n+3) { width:46px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid #edf1ee; font-size: 10px; text-align: center; }
th { color: var(--muted); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
th:nth-child(2), td:nth-child(2) { text-align: left; }
.table-club { display: flex; align-items: center; gap: 8px; min-width: 150px; font-weight: 700; }
.table-club .crest { width: 23px; height: 26px; }
.standings-pos { font-weight: 800; }
.standings-pos.top { color: #168455; }
.standings-pos.bottom { color: #db5b42; }
.loading-state, .loading-cell { padding: 40px 20px; color: var(--muted); font-size: 11px; text-align: center; }
.empty-data { padding: 38px 24px; color: var(--muted); text-align: center; }
.empty-data strong, .empty-data small { display: block; }
.empty-data strong { color: var(--ink); font-size: 13px; }
.empty-data small { margin: 6px auto 14px; max-width: 360px; line-height: 1.5; }
.empty-data a { color: var(--green); font-size: 10px; font-weight: 800; }
.source-note { margin: 14px 3px 0; color: var(--muted); font-size: 9px; }

/* La Fecha — portada editorial */
.news-masthead { display: flex; align-items: flex-end; justify-content: space-between; gap: 42px; padding: 22px 0 34px; border-bottom: 1px solid var(--ink); }
.news-masthead h1 { font-size: clamp(72px, 10vw, 132px); line-height: .78; }
.news-masthead > div:first-child > p:last-child { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.edition-stamp { display: flex; flex: 0 0 175px; width: 175px; height: 175px; align-items: center; justify-content: center; flex-direction: column; border: 1px solid var(--ink); border-radius: 50%; text-align: center; transform: rotate(5deg); }
.edition-stamp span, .edition-stamp small { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.edition-stamp strong { max-width: 120px; margin: 5px 0; font-family: Georgia, serif; font-size: 21px; line-height: 1; }
.news-tabs { display: flex; gap: 8px; margin: 24px 0; overflow-x: auto; }
.news-filter { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; }
.news-filter.active { border-color: var(--green); background: var(--green); color: white; }
.news-filter.champions-filter { border-color:#b9c8ee; color:#163b9a; }.news-filter.champions-filter.active { border-color:#163b9a; background:#163b9a; color:white; }
.news-filter.international-filter { border-color:#b9c8ee; color:#163b9a; }.news-filter.international-filter.active { border-color:#163b9a; background:#163b9a; color:white; }
.news-filter.transfers-filter { border-color:#c3d8c8; color:var(--green); }.news-filter.transfers-filter.active { border-color:var(--green); background:var(--green); color:white; }
.international-hub,.transfers-hub { margin:0 0 28px; overflow:hidden; border:1px solid var(--line); border-radius:22px; background:white; box-shadow:var(--shadow); }
.international-hub[hidden],.transfers-hub[hidden] { display:none!important; }
.portal-section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; padding:28px clamp(20px,3vw,38px); background:#f5f8f6; }
.portal-section-head h2 { margin:0; font-size:clamp(28px,4vw,46px); line-height:1.05; }.portal-section-head p:last-child { max-width:720px; margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.competition-switcher,.transfer-switcher { display:flex; gap:7px; padding:14px clamp(16px,3vw,38px); overflow-x:auto; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:white; }
.competition-switcher button,.transfer-switcher button { flex:0 0 auto; min-height:35px; padding:0 12px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--muted); font-size:9px; font-weight:850; cursor:pointer; }
.competition-switcher button.active,.transfer-switcher button.active { border-color:var(--green); background:var(--green); color:white; }
.competition-panel { --competition-accent:#163b9a; padding:22px clamp(16px,3vw,38px) 28px; }.competition-feature { display:grid; grid-template-columns:112px minmax(0,1fr); gap:22px; align-items:center; padding:24px; border-radius:17px; background:linear-gradient(125deg,var(--competition-accent),#071f27); color:white; }.competition-monogram { display:grid; width:106px; height:106px; padding:8px; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.38); border-radius:24px; background:rgba(255,255,255,.12); }.competition-logo { display:block; width:100%; height:100%; object-fit:contain; }.competition-logo-screen { mix-blend-mode:screen; }.competition-feature>div>span { color:rgba(255,255,255,.72); font-size:8px; font-weight:900; letter-spacing:.13em; }.competition-feature h3 { margin:5px 0 8px; font-size:clamp(25px,3vw,39px); }.competition-feature p { max-width:700px; margin:0; color:rgba(255,255,255,.78); font-size:11px; line-height:1.55; }.competition-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:17px; }.competition-actions button,.competition-actions a { display:inline-flex; min-height:34px; padding:0 11px; align-items:center; border:1px solid rgba(255,255,255,.35); border-radius:8px; background:rgba(255,255,255,.1); color:white; font-size:8px; font-weight:850; text-decoration:none; cursor:pointer; }.competition-actions a { margin-left:auto; }.competition-empty { margin-top:12px; padding:18px; border:1px dashed #ccd8d0; border-radius:13px; background:#f8faf9; }.competition-empty strong { font-size:12px; }.competition-empty p { margin:5px 0 0; color:var(--muted); font-size:10px; }.source-policy { margin:0; padding:14px clamp(16px,3vw,38px); border-top:1px solid var(--line); background:#f3f6f4; color:var(--muted); font-size:9px; line-height:1.55; }.source-policy b { color:var(--ink); }
.competition-draw-feature{overflow:hidden;margin-top:14px;border-radius:16px;background:#071f27;color:white}.competition-draw-feature>header{padding:20px 22px;background:linear-gradient(125deg,var(--competition-accent),#071f27)}.competition-draw-feature>header p{margin:0 0 4px;font-size:8px;font-weight:900;letter-spacing:.13em}.competition-draw-feature>header h4{margin:0 0 6px;font-size:clamp(20px,2.5vw,31px)}.competition-draw-feature>header span{color:rgba(255,255,255,.76);font-size:10px}.competition-draw-feature>footer{padding:13px 20px;background:#f3f6f4;color:var(--muted);font-size:9px}.champions-draw.compact{min-width:830px}.champions-draw-pots.compact,.champions-draw-venues.compact,.champions-draw-row.compact{grid-template-columns:150px repeat(6,minmax(104px,1fr))}.champions-draw-pots.compact .champions-pot-title{grid-column:span 1}
.continental-cup-update{overflow:hidden;margin-top:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.continental-cup-update>header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:4px solid var(--competition-accent);background:#f6f8f7}.continental-cup-update>header p{margin:0 0 4px;color:var(--competition-accent);font-size:8px;font-weight:900;letter-spacing:.13em}.continental-cup-update>header h4{margin:0;font-size:clamp(20px,2.5vw,30px)}.continental-cup-update>header>span{color:var(--muted);font-size:9px;font-weight:750}.continental-cup-columns{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:24px;padding:22px}.continental-cup-columns h5{margin:0 0 10px;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.continental-results{display:grid;gap:6px}.continental-results article{padding:9px 11px;border:1px solid #e1e8e3;border-radius:9px;background:#fbfcfb}.continental-results article>div{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:center;gap:8px;font-size:9px;font-weight:750}.continental-results article>div span:last-child{text-align:right}.continental-results strong{text-align:center;font-size:13px}.continental-results small{display:block;margin-top:4px;color:var(--competition-accent);font-size:7px;font-weight:800;text-align:center}.continental-pairings{display:grid;grid-template-columns:1fr 1fr;gap:7px}.continental-pairings article,.continental-calendar article{padding:10px;border-left:3px solid var(--competition-accent);border-radius:7px;background:#f4f7f5}.continental-pairings span,.continental-calendar span,.continental-calendar small{display:block;color:var(--muted);font-size:7px;font-weight:800;text-transform:uppercase}.continental-pairings strong,.continental-calendar strong{display:block;margin-top:3px;font-size:9px;line-height:1.35}.continental-calendar-title{margin-top:20px!important}.continental-calendar{display:grid;gap:6px}.continental-calendar article{display:grid;grid-template-columns:1fr 1.35fr auto;align-items:center;gap:8px}.continental-calendar article strong{margin:0}.continental-calendar article small{text-align:right}.continental-cup-update>footer{display:flex;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid var(--line);background:#f6f8f7;color:var(--muted);font-size:8px}.continental-cup-update>footer a{color:var(--competition-accent);font-weight:850;text-decoration:none}
.continental-results .knockout-winner{display:flex;min-height:30px;padding:0 9px;align-items:center;gap:6px;border:1px solid #b9ddc4;border-radius:7px;background:#e2f5e7;color:#174d2c}.continental-results article>div span:last-child.knockout-winner{justify-content:flex-end}.continental-results .knockout-winner b{display:inline-flex;padding:2px 5px;border-radius:999px;background:#bce3c7;color:#13502a;font-size:6px;letter-spacing:.04em;text-transform:uppercase}
.continental-team{display:flex;align-items:center;gap:6px;min-width:0}.continental-team>span:not(.conmebol-team-badge){overflow:hidden;text-overflow:ellipsis}.continental-team-away{justify-content:flex-end;text-align:right}.conmebol-team-badge{position:relative;display:inline-grid!important;width:22px;height:22px;flex:0 0 22px;place-items:center;border-radius:50%;background:#edf1ef;color:#39544a;font-size:7px;font-weight:900;overflow:hidden}.conmebol-team-badge img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}.conmebol-team-badge.logo-failed img{display:none}.continental-pairings strong{display:grid!important;gap:5px}.continental-pairings strong>span{display:flex;align-items:center;gap:6px;color:var(--ink);font-size:9px;text-transform:none}.continental-pairings strong em{color:var(--muted);font-size:7px;font-style:normal;text-transform:uppercase}
@media(max-width:820px){.continental-cup-columns{grid-template-columns:1fr}.continental-cup-update>header,.continental-cup-update>footer{align-items:flex-start;flex-direction:column}.continental-pairings{grid-template-columns:1fr}.continental-calendar article{grid-template-columns:1fr}.continental-calendar article small{text-align:left}}
.competition-story-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; margin-top:13px; }.competition-story-list article { padding:17px; border:1px solid var(--line); border-radius:13px; background:white; cursor:pointer; }.competition-story-list article:hover { border-color:var(--competition-accent); transform:translateY(-1px); }.competition-story-list span { color:var(--competition-accent); font-size:7px; font-weight:900; letter-spacing:.1em; }.competition-story-list h4 { margin:7px 0; font-size:17px; }.competition-story-list p { margin:0; color:var(--muted); font-size:10px; line-height:1.5; }.competition-story-list small { display:block; margin-top:10px; color:var(--green); font-size:8px; font-weight:850; }
.transfers-head { background:linear-gradient(120deg,#eff8e7,#f7faf8); }.transfer-desk-status { display:flex; flex:0 0 auto; align-items:center; gap:7px; padding:9px 11px; border-radius:999px; background:white; color:var(--green); font-size:8px; font-weight:900; box-shadow:0 4px 13px rgba(4,68,46,.08); }.transfer-desk-status i { width:7px; height:7px; border-radius:50%; background:#46c76b; box-shadow:0 0 0 4px rgba(70,199,107,.14); }.transfer-list { padding:20px clamp(16px,3vw,38px); }.transfer-empty { display:flex; align-items:center; gap:16px; min-height:125px; padding:22px; border:1px dashed #bdcfc3; border-radius:15px; background:#f8faf9; }.transfer-empty>span { display:grid; flex:0 0 48px; width:48px; height:48px; place-items:center; border-radius:14px; background:var(--lime); color:var(--green); font-size:23px; font-weight:900; }.transfer-empty strong { font-size:14px; }.transfer-empty p { margin:6px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }.transfer-item { display:grid; grid-template-columns:105px minmax(0,1fr); gap:15px; padding:15px; border-top:1px solid var(--line); cursor:pointer; }.transfer-item:first-child { border-top:0; }.transfer-item:hover { background:#f8faf9; }.transfer-state { align-self:start; padding:7px 9px; border-radius:999px; background:#eef2ef; color:var(--muted); font-size:8px; font-weight:900; text-align:center; }.transfer-state.confirmed { background:#dff4e3; color:#16733a; }.transfer-state.talks { background:#fff0cf; color:#986100; }.transfer-state.rumor { background:#f2e9ff; color:#7041a4; }.transfer-item strong { font-size:14px; }.transfer-item p { margin:4px 0; font-size:11px; }.transfer-item em { display:block; margin:6px 0; color:#805d16; font-size:9px; font-style:normal; font-weight:800; }.transfer-item small { color:var(--muted); font-size:8px; }.transfer-item a { color:var(--green); }.transfer-sources { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); background:#f4f7f5; }.transfer-sources>div { padding:19px; border-right:1px solid var(--line); }.transfer-sources>div:last-child { border-right:0; }.transfer-sources strong { font-size:10px; }.transfer-sources p { margin:7px 0 0; color:var(--muted); font-size:9px; line-height:1.55; }
.transfer-editor-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; padding:16px; border:1px solid #cbdccf; border-radius:14px; background:#f4f8f5; }.transfer-editor-fields[hidden],[data-story-kind-section][hidden] { display:none!important; }
.transfer-sources a { color:var(--green); font-weight:850; }
.modal-transfer-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:18px 0; }.modal-transfer-facts span { padding:13px; border:1px solid var(--line); border-radius:11px; background:#f4f7f5; }.modal-transfer-facts small,.modal-transfer-facts b { display:block; }.modal-transfer-facts small { margin-bottom:5px; color:var(--muted); font-size:7px; font-weight:850; text-transform:uppercase; }.modal-transfer-facts b { font-size:10px; line-height:1.4; }.modal-source a { color:var(--green); font-weight:850; }
@media(max-width:720px){.portal-section-head{align-items:flex-start;flex-direction:column}.competition-feature{grid-template-columns:1fr}.competition-monogram{width:82px;height:82px}.competition-actions a{width:100%;margin-left:0;justify-content:center}.competition-story-list{grid-template-columns:1fr}.transfer-sources{grid-template-columns:1fr}.transfer-sources>div{border-right:0;border-bottom:1px solid var(--line)}.transfer-sources>div:last-child{border-bottom:0}.transfer-editor-fields,.modal-transfer-facts{grid-template-columns:1fr}}
.news-leads { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr); gap:16px; margin:0 0 22px; }
.news-leads[hidden],#newsLeads[hidden] { display:none !important; }
.news-lead-card { min-width:0; padding:clamp(22px,3vw,36px); border-radius:20px; }
.news-lead-card.primary { background:linear-gradient(135deg,#073b2a,#0c684a); color:white; box-shadow:0 18px 40px rgba(7,59,42,.16); }
.news-lead-card.pending { border:1px solid #efb89f; background:#fff4ed; color:var(--ink); }
.news-lead-kicker { display:flex; justify-content:space-between; gap:18px; margin-bottom:24px; font-size:8px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.news-lead-card.primary .news-lead-kicker { color:var(--lime); }.news-lead-card.pending .news-lead-kicker { color:#bf5739; }
.news-lead-kicker time { color:inherit; font-weight:700; letter-spacing:.04em; }
.news-lead-score { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:16px; align-items:center; }
.news-lead-score>span { display:flex; min-width:0; align-items:center; gap:9px; }.news-lead-score .away-team { justify-content:flex-end; text-align:right; }
.news-lead-score .crest { flex:0 0 36px; width:36px; height:36px; }.news-lead-score b { min-width:0; font-size:12px; line-height:1.2; }.news-lead-score>strong { font-family:Georgia,serif; font-size:35px; white-space:nowrap; }
.news-lead-card h2 { margin:24px 0 8px; font-family:Georgia,serif; font-size:clamp(24px,2.4vw,39px); font-weight:500; line-height:1.05; }.news-lead-card p { margin:0; opacity:.74; font-size:10px; line-height:1.55; }
.story-home{border:1px solid var(--line);background:#f8faf8;cursor:pointer}.story-home:hover{border-color:var(--green)}.story-home-image{position:relative;isolation:isolate;display:flex;min-height:300px;align-items:flex-end;overflow:hidden;padding:0!important;border:0;background:#08251c;color:white;box-shadow:0 18px 42px rgba(4,48,30,.18)}.story-home-image>img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.story-home-image-shade{position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(3,22,16,.05) 10%,rgba(3,22,16,.88) 92%)}.story-home-image-copy{width:100%;padding:clamp(24px,4vw,44px)}.story-home-image .news-lead-kicker{color:#d8ff5e}.story-home-image h2{max-width:850px;margin-top:12px;font-size:clamp(30px,4vw,56px);text-shadow:0 2px 18px rgba(0,0,0,.35)}.story-home-image p{max-width:760px;font-size:12px}.story-home-match{border:1px solid #efb89f;background:#fff4ed}
.lead-read-story{margin-top:16px;padding:9px 12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font-size:9px;font-weight:900;cursor:pointer}
.news-leads { grid-template-columns:repeat(2,minmax(0,1fr)); }.news-lead-card.position-1 { grid-column:1/-1; min-height:245px; }.champions-home { position:relative; overflow:hidden; border:1px solid #183c9a; background:linear-gradient(135deg,#07154f,#0b3198 70%,#1748bd); color:white; cursor:pointer; box-shadow:0 18px 42px rgba(5,24,91,.16); }.champions-home .news-lead-kicker { color:#a8d8ff; }.champions-home-mark { position:absolute; right:clamp(28px,7vw,100px); top:50%; color:rgba(255,255,255,.12); font-size:150px; line-height:1; transform:translateY(-50%); }.champions-home h2,.champions-home p,.champions-home button { position:relative; z-index:1; max-width:720px; }.champions-home button { margin-top:20px; padding:9px 13px; border:1px solid rgba(255,255,255,.35); border-radius:9px; background:rgba(255,255,255,.1); color:white; font-size:9px; font-weight:900; cursor:pointer; }
.homepage-editor { margin:18px 0; padding:20px; }.homepage-editor .section-head { align-items:center; }.homepage-editor .section-head p:last-child { max-width:650px; margin:5px 0 0; color:var(--muted); font-size:9px; line-height:1.5; }.homepage-editor-list { display:grid; gap:8px; margin-top:14px; }.homepage-editor-row { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:12px; align-items:center; padding:11px 13px; border:1px solid var(--line); border-radius:11px; background:#f8faf8; }.homepage-editor-row>span { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--green); color:white; font-size:10px; font-weight:900; }.homepage-editor-row small,.homepage-editor-row strong { display:block; }.homepage-editor-row small { margin-bottom:3px; color:var(--muted); font-size:7px; letter-spacing:.08em; text-transform:uppercase; }.homepage-editor-row strong { font-size:10px; }.homepage-editor-row>div:last-child { display:flex; gap:5px; }.homepage-editor-row button { width:31px; height:31px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); cursor:pointer; }.homepage-editor-row button:disabled { opacity:.3; cursor:default; }
.homepage-editor-actions { display:flex; align-items:center; gap:8px; }.homepage-editor-actions button { white-space:nowrap; }
.homepage-editor-row button.homepage-story-action{width:auto;min-width:92px;padding:0 11px;border-color:var(--green);background:var(--green);color:white;font-size:8px;font-weight:900}.homepage-editor-row button.homepage-story-action:hover{background:#084a35}
@media(max-width:760px){.homepage-editor-actions{width:100%;flex-direction:column}.homepage-editor-actions button{width:100%}}
.champions-teaser { display:grid; grid-template-columns:82px minmax(0,1fr) auto; gap:16px; align-items:center; margin:0 0 22px; padding:16px 18px; border:1px solid #c4d0f0; border-radius:16px; background:linear-gradient(100deg,#f3f6ff,#fff); box-shadow:0 9px 25px rgba(18,52,143,.07); }.champions-teaser[hidden] { display:none !important; }.champions-teaser-mark { display:grid; width:78px; height:54px; padding:5px; place-items:center; overflow:hidden; border-radius:14px; background:linear-gradient(145deg,#071a68,#1748bd); box-shadow:inset 0 -10px rgba(0,0,0,.12); }.champions-teaser-mark img { display:block; width:100%; height:100%; object-fit:contain; mix-blend-mode:screen; }.champions-teaser .eyebrow { margin-bottom:4px; color:#163b9a; }.champions-teaser h2 { margin:0; color:#102351; font-size:19px; line-height:1.2; }.champions-teaser p:last-child { margin:5px 0 0; color:#69748f; font-size:10px; }.champions-teaser button { min-height:39px; padding:0 13px; border:0; border-radius:9px; background:#163b9a; color:white; font-size:9px; font-weight:900; cursor:pointer; }
.champions-spotlight { margin:0 0 26px; overflow:hidden; border:1px solid #183c9a; border-radius:22px; background:#071a68; box-shadow:0 20px 48px rgba(5,24,91,.17); }
.champions-spotlight[hidden],.weekend-board[hidden],.news-feed[hidden] { display:none !important; }
.champions-story-head { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; padding:clamp(24px,3vw,42px); background:radial-gradient(circle at 85% 12%,rgba(70,128,255,.6),transparent 26%),linear-gradient(135deg,#07154f,#0b3198 62%,#09206f); color:white; }
.champions-story-head>div:first-child { max-width:880px; }.champions-story-head .eyebrow { color:#a8d8ff; }.champions-story-head h2 { margin:0; font-size:clamp(31px,4vw,57px); line-height:1.02; letter-spacing:-.04em; }.champions-story-head p:last-child { max-width:760px; margin:16px 0 0; color:rgba(255,255,255,.76); font-size:14px; line-height:1.65; }.champions-story-brand { display:flex; flex:0 0 clamp(170px,18vw,235px); align-items:center; flex-direction:column; gap:13px; }.champions-story-monogram { display:grid; width:112px; height:112px; padding:8px; place-items:center; overflow:hidden; border:1px solid rgba(255,255,255,.42); border-radius:26px; background:rgba(255,255,255,.1); }.champions-story-monogram img { display:block; width:100%; height:100%; object-fit:contain; mix-blend-mode:screen; }
.champions-label { flex:0 0 auto; padding:10px 14px; border:1px solid rgba(255,255,255,.38); border-radius:999px; background:rgba(255,255,255,.12); color:white; font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; backdrop-filter:blur(7px); }
.champions-story-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:13px clamp(18px,3vw,40px); border-top:1px solid rgba(255,255,255,.13); border-bottom:1px solid rgba(255,255,255,.13); background:#09216f; }.champions-story-meta span { padding:6px 9px; border-radius:999px; background:rgba(255,255,255,.09); color:#dce8ff; font-size:9px; font-weight:800; }
.champions-draw-scroll { overflow-x:auto; padding:18px; outline:none; background:linear-gradient(155deg,#061657,#08298a); scrollbar-color:#77a2ff rgba(255,255,255,.12); scrollbar-width:thin; }.champions-draw-scroll:focus-visible { box-shadow:inset 0 0 0 3px #8db2ff; }
.champions-draw { min-width:1080px; }.champions-draw-pots,.champions-draw-venues,.champions-draw-row { display:grid; grid-template-columns:150px repeat(8,minmax(104px,1fr)); gap:4px; }.champions-draw-pots>span,.champions-draw-venues>span { display:grid; min-height:27px; place-items:center; border-radius:5px; color:white; font-size:8px; font-weight:900; letter-spacing:.08em; text-align:center; text-transform:uppercase; }.champions-draw-pots>span:first-child { background:#09103d; }.champions-pot-title { grid-column:span 2; background:#143da9; }.champions-draw-venues>span { min-height:22px; background:#ec3f95; font-size:7px; }.champions-draw-venues>span:nth-child(odd):not(:first-child) { background:#18a5d2; }.champions-draw-venues>span:first-child { background:#edf2ff; color:#142968; }
.champions-draw-row { margin-top:4px; }.champions-draw-team,.champions-opponent { display:flex; min-width:0; min-height:58px; align-items:center; gap:7px; padding:7px; border:1px solid rgba(255,255,255,.12); border-radius:7px; background:#fff; color:#102351; }.champions-opponent.home { border-top:3px solid #18a5d2; }.champions-opponent.away { border-top:3px solid #ec3f95; }.champions-draw-team { border-color:#dce5ff; background:#f1f5ff; }.champions-draw-team p,.champions-opponent p { min-width:0; margin:0; }.champions-draw-team strong,.champions-draw-team small,.champions-opponent strong,.champions-opponent small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.champions-draw-team strong,.champions-opponent strong { font-size:8px; }.champions-draw-team small,.champions-opponent small { margin-top:3px; color:#667396; font-size:6px; font-weight:700; text-transform:uppercase; }
.champions-team-badge { display:grid; flex:0 0 34px; width:34px; height:34px; padding:2px; place-items:center; overflow:hidden; border:1px solid #dbe3f4; border-radius:9px; background:white; }.champions-team-badge img { display:block; width:30px; height:30px; object-fit:contain; }.champions-team-fallback { display:none; width:30px; height:30px; place-items:center; border-radius:8px 8px 10px 10px; background:hsl(var(--team-hue),63%,42%); color:white; font-size:6px; font-weight:900; box-shadow:inset 0 -7px rgba(0,0,0,.13); }.champions-team-badge.logo-failed img { display:none; }.champions-team-badge.logo-failed .champions-team-fallback { display:grid; }
.champions-story-footer { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:17px clamp(18px,3vw,40px); background:#f4f7ff; }.champions-story-footer p { max-width:850px; margin:0; color:#5f6c89; font-size:10px; line-height:1.55; }.champions-story-footer b { color:#102351; }.champions-story-footer a { flex:0 0 auto; color:#163b9a; font-size:10px; font-weight:900; text-decoration:none; }
@media (max-width:720px) { .champions-teaser { grid-template-columns:66px minmax(0,1fr); gap:12px; }.champions-teaser-mark { width:64px; height:48px; padding:6px; }.champions-teaser button { grid-column:1/-1; width:100%; }.champions-story-head { align-items:flex-start; flex-direction:column; }.champions-story-brand { width:100%; max-width:190px; align-items:flex-start; order:-1; }.champions-story-head p:last-child { font-size:12px; }.champions-draw-scroll { padding:12px; }.champions-story-footer { align-items:flex-start; flex-direction:column; gap:10px; } }
.weekend-board { overflow:hidden; margin-bottom:22px; border:1px solid var(--line); border-radius:18px; background:white; }
.news-section-head { align-items: center; }
.news-section-head > span { max-width: 260px; text-align: right; line-height: 1.4; }
.weekend-days { display:grid; }.weekend-day { border-top:1px solid var(--line); }.weekend-day>header { display:flex; align-items:baseline; gap:10px; padding:15px 20px; background:#f3f6f3; }.weekend-day>header h3 { margin:0; font-family:Georgia,serif; font-size:22px; font-weight:500; }.weekend-day>header span { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.weekend-matches { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.weekend-match { min-height: 175px; padding: 20px; border-right: 1px solid #edf1ee; border-bottom: 1px solid #edf1ee; }
.weekend-match:nth-child(3n) { border-right: 0; }
.weekend-match-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.coverage-label { color: var(--green); font-weight: 850; }
.coverage-label.none { color: var(--muted); font-weight: 650; }
.weekend-teams { display: grid; gap: 10px; margin: 19px 0; }
.weekend-team { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
.weekend-team b { margin-left: auto; font-family: Georgia, serif; font-size: 22px; }
.weekend-match button { padding: 0; border: 0; background: transparent; color: var(--orange); font-size: 9px; font-weight: 850; text-transform: uppercase; cursor: pointer; }
.weekend-match button:disabled { color: #aab3ae; cursor: default; }
.news-feed { padding: 58px 0 20px; }
.news-title-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.news-title-row h2 { margin: 0; font-family: Georgia, serif; font-size: 45px; font-weight: 500; }
.news-title-row > span { color: var(--muted); font-size: 10px; }
.stories-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.story-card { grid-column: span 4; min-height: 335px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.story-card.featured { grid-column: span 8; display: grid; grid-template-columns: 1fr 1fr; }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.story-art { min-height: 155px; display: flex; align-items: flex-end; justify-content: space-between; padding: 20px; background: linear-gradient(135deg, var(--green), #143f33); color: white; position: relative; overflow: hidden; }
.story-art::after { content: ""; position: absolute; right: -34px; top: -42px; width: 145px; height: 145px; border: 28px solid rgba(217,255,86,.18); border-radius: 50%; }
.story-art.has-image { min-height:220px; padding:0; background:#dfe7e2; }
.story-art.has-image::after { display:none; }
.story-art.has-image img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.story-card:hover .story-art.has-image img { transform:scale(1.025); }
.story-card:nth-child(3n) .story-art { background: linear-gradient(135deg, #e95e43, var(--orange)); }
.story-art .story-score { font-family: Georgia, serif; font-size: 34px; letter-spacing: -.04em; }
.story-art .story-clubs { max-width: 150px; font-size: 10px; font-weight: 750; text-align: right; }
.story-copy { display: flex; min-height: 180px; align-items: flex-start; flex-direction: column; padding: 23px; }
.story-type { color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.story-copy h3 { margin: 11px 0 9px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.03; letter-spacing: -.025em; }
.story-card.featured .story-copy h3 { font-size: 32px; }
.story-copy > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.story-byline { margin-top: auto; padding-top: 16px; color: var(--muted); font-size: 9px; }
.empty-news { grid-column: 1 / -1; padding: 70px 24px; border: 1px dashed #bfcac4; border-radius: 18px; color: var(--muted); text-align: center; }
.empty-news strong, .empty-news span { display: block; }.empty-news strong { color: var(--ink); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }.empty-news span { margin-top: 8px; font-size: 11px; }
.independent-note { margin: 34px 0 0; padding: 16px 18px; border-left: 3px solid var(--lime); background: #eef4ef; color: var(--muted); font-size: 10px; line-height: 1.5; }.independent-note b { color: var(--ink); }

/* Redacción */
.editor-heading { padding-top: 8px; }.editor-status { min-width: 230px; padding: 17px 20px; border-radius: 16px; background: var(--ink); color: white; }.editor-status span,.editor-status strong { display:block; }.editor-status span { color: rgba(255,255,255,.6); font-size: 9px; }.editor-status strong { margin-top: 4px; color: var(--lime); font-family: Georgia,serif; font-size: 22px; }
.editor-workflow-summary { display:grid; grid-template-columns:repeat(4,1fr); margin:0 0 12px; overflow:hidden; border:1px solid var(--line); border-radius:16px; background:white; }.editor-workflow-summary span { padding:15px 18px; border-right:1px solid var(--line); color:var(--muted); font-size:9px; }.editor-workflow-summary span:last-child { border-right:0; }.editor-workflow-summary b { display:block; margin-bottom:3px; color:var(--green); font-size:22px; }.editor-workflow-guide { display:flex; align-items:center; gap:10px; margin:0 0 18px; padding:11px 15px; border-radius:12px; background:#edf3ef; color:var(--muted); font-size:9px; }.editor-workflow-guide b { margin-right:auto; color:var(--ink); }.editor-workflow-guide span { padding:5px 8px; border-radius:999px; background:white; color:var(--green); font-weight:800; }.editor-workflow-guide i { font-style:normal; }
.editor-layout { display: grid; grid-template-columns: minmax(540px, 1.35fr) minmax(320px, .65fr); gap: 18px; align-items: start; }.story-form { overflow: visible; }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:22px; }.field { display:flex; flex-direction:column; gap:7px; font-size:10px; font-weight:750; }.field.span-2 { grid-column:span 2; }.field input,.field select,.field textarea { width:100%; padding:11px 12px; border:1px solid var(--line); border-radius:10px; outline:none; background:white; color:var(--ink); font:12px/1.5 inherit; resize:vertical; }.field input:focus,.field select:focus,.field textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }.field small { color:var(--muted); font-size:8px; font-weight:500; }.form-actions { display:flex; justify-content:flex-end; gap:10px; padding:0 22px 22px; }.primary-action,.secondary-action { padding:11px 16px; border-radius:10px; font-size:12px; font-weight:850; cursor:pointer; }.primary-action { border:1px solid var(--green); background:var(--green); color:white; }.secondary-action { border:1px solid var(--line); background:white; color:var(--green); }
.editorial-author { justify-content:center; min-height:78px; padding:12px; border:1px solid var(--line); border-radius:10px; background:#f4f7f4; }.editorial-author>span { color:var(--muted); font-size:8px; text-transform:uppercase; }.editorial-author strong { color:var(--green); font-size:11px; }.story-form-message { min-height:18px; margin:0; padding:0 22px 7px; color:var(--green); font-size:9px; }.story-form-message.error { color:#b23d32; }.editor-filter { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px 18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:9px; }.editor-filter select { min-height:34px; padding:0 9px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--ink); font-size:9px; }.editor-stories { max-height:680px; overflow:auto; }.editor-story { padding:16px 18px; border-bottom:1px solid #edf1ee; }.editor-story-top { display:flex; align-items:center; justify-content:space-between; gap:10px; }.status-chip { padding:4px 7px; border-radius:999px; background:#f0eee6; color:var(--muted); font-size:8px; font-weight:850; text-transform:uppercase; }.status-chip.review { background:#fff2cf; color:#956316; }.status-chip.approved { background:#e9f1ff; color:#245eaa; }.status-chip.published { background:#e6f4eb; color:#198052; }.status-chip.archived { background:#ececed; color:#6c6c73; }.editor-story h3 { margin:10px 0 5px; font:500 18px/1.1 Georgia,serif; }.editor-story p { margin:0; color:var(--muted); font-size:9px; line-height:1.5; }.editor-story-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }.editor-story-actions button { padding:6px 8px; border:1px solid var(--line); border-radius:7px; background:white; font-size:8px; font-weight:750; cursor:pointer; }.editor-story-actions button.publish { border-color:var(--green); color:var(--green); }.editor-story-actions button.danger { border-color:#e5c4c0; color:#a03d35; }.editor-revision-panel { border-top:4px solid var(--green); background:#f8faf8; }.editor-revision { display:grid; grid-template-columns:95px 1fr; gap:10px; padding:12px 18px; border-top:1px solid var(--line); }.editor-revision time { color:var(--muted); font-size:8px; }.editor-revision strong,.editor-revision small { display:block; }.editor-revision strong { font-size:9px; }.editor-revision small { margin-top:3px; color:var(--muted); font-size:8px; }
.story-image-field>span { color:var(--ink); font-size:10px; font-weight:750; }
.story-image-uploader { display:grid; gap:10px; }
#storyImageFile { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
.story-image-picker { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:64px; padding:14px 16px; border:1px dashed #98b4a6; border-radius:12px; background:#f4f8f5; color:var(--green); cursor:pointer; }
.story-image-picker:hover { border-color:var(--green); background:#edf5f0; }
.story-image-picker b,.story-image-picker small { display:block; }
.story-image-picker b { font-size:11px; }
.story-image-picker small { color:var(--muted); font-size:8px; font-weight:500; }
.story-image-preview { position:relative; min-height:260px; margin:0; overflow:hidden; border:1px solid var(--line); border-radius:14px; background:#e8eeea; }
.story-image-preview[hidden] { display:none; }
.story-image-preview>img { display:block; width:100%; height:clamp(260px,28vw,430px); object-fit:cover; }
.story-image-preview figcaption { position:absolute; inset:auto 0 0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; background:linear-gradient(transparent,rgba(4,27,20,.84)); color:white; }
.story-image-preview figcaption span { padding-top:18px; font-size:9px; font-weight:750; }
.story-image-preview figcaption button { align-self:flex-end; padding:8px 10px; border:1px solid rgba(255,255,255,.55); border-radius:8px; background:rgba(255,255,255,.12); color:white; font-size:8px; font-weight:850; cursor:pointer; }
.story-image-preview figcaption button:hover { background:white; color:var(--green); }
.story-modal { position:fixed; inset:0; z-index:80; display:none; }.story-modal.open { display:block; }.story-modal-backdrop { position:absolute; inset:0; background:rgba(7,25,19,.75); backdrop-filter:blur(6px); }.story-modal-card { position:relative; z-index:1; width:min(760px,calc(100% - 28px)); max-height:88vh; margin:6vh auto; overflow:auto; padding:50px; border-radius:20px; background:var(--paper); box-shadow:0 30px 90px rgba(0,0,0,.32); }.story-modal-close { position:absolute; right:18px; top:14px; border:0; background:transparent; font-size:28px; cursor:pointer; }.modal-story-label { color:var(--orange); font-size:9px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }.story-modal-card h2 { margin:12px 0 18px; font:500 46px/.98 Georgia,serif; letter-spacing:-.035em; }.modal-deck { font:500 20px/1.4 Georgia,serif; }.modal-meta { display:flex; gap:12px; margin:18px 0 30px; padding-bottom:18px; border-bottom:1px solid var(--line); color:var(--muted); font-size:9px; }.modal-body { color:#34463f; font-size:13px; line-height:1.8; white-space:pre-line; }.modal-source { margin-top:25px; padding:13px; background:#edf2ee; color:var(--muted); font-size:9px; }.ratings-block { margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }.ratings-block h3 { margin:0 0 14px; font:500 26px Georgia,serif; }.ratings-list { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.rating-item { display:flex; justify-content:space-between; padding:11px 12px; border-radius:9px; background:white; font-size:10px; }.rating-item b { color:var(--green); }
.modal-story-image { margin:0 0 28px; overflow:hidden; border-radius:15px; background:#e4ebe7; }
.modal-story-image img { display:block; width:100%; max-height:520px; object-fit:cover; }
.modal-story-image figcaption { padding:9px 12px; color:var(--muted); font-size:8px; line-height:1.45; }
.friends-card { max-width: 760px; }
.friend-row { display: grid; grid-template-columns: 30px 42px 1fr auto; gap: 12px; align-items: center; padding: 17px 20px; border-bottom: 1px solid #edf1ee; }
.friend-row.you { background: #fbffe9; }
.friend-row > span { color: var(--muted); font-weight: 800; text-align: center; }
.friend-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--green); color: white; font-size: 9px; font-weight: 850; }
.friend-row p, .friend-row strong, .friend-row small { display: block; margin: 0; }
.friend-row p > strong { font-size: 12px; }
.friend-row p > small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.friend-row > b { color: var(--green); }
.friend-row button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 9px; }
.ranking-total { min-width:160px; padding:18px 22px; border-radius:16px; background:var(--green); color:white; text-align:right; }.ranking-total span,.ranking-total strong { display:block; }.ranking-total span { color:rgba(255,255,255,.72); font-size:10px; font-weight:850; letter-spacing:.1em; }.ranking-total strong { margin-top:4px; color:var(--lime); font-size:30px; }.fantasy-ranking-card { overflow:hidden; }.fantasy-ranking-head,.fantasy-ranking-row { display:grid; grid-template-columns:72px minmax(300px,1fr) 120px 130px; align-items:center; gap:16px; padding:18px 24px; }.fantasy-ranking-head { background:#f2f6f3; color:var(--muted); font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }.fantasy-ranking-row { min-height:82px; border-top:1px solid #edf1ee; }.fantasy-ranking-row.current { background:#fbffe9; box-shadow:inset 4px 0 var(--lime); }.fantasy-position { color:var(--green); font-size:26px; font-weight:800; }.fantasy-player { display:flex; align-items:center; gap:14px; min-width:0; }.fantasy-player .user-avatar { flex:0 0 46px; width:46px; height:46px; border-radius:13px; font-size:12px; }.fantasy-player-info { min-width:0; }.fantasy-player-info strong,.fantasy-player-info small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.fantasy-player-info strong { color:var(--ink); font-size:16px; font-weight:800; line-height:1.25; }.fantasy-player-info small { margin-top:6px; color:var(--muted); font-size:11px; line-height:1.3; }.fantasy-round { color:var(--muted); font-size:12px; }.fantasy-score { display:flex; align-items:baseline; justify-content:flex-end; gap:7px; min-width:0; white-space:nowrap; }.fantasy-last-round { color:var(--muted); font-size:11px; font-weight:850; }.fantasy-points { color:var(--green); font-size:18px; font-weight:900; text-align:right; }.ranking-loading { padding:45px 20px; color:var(--muted); text-align:center; font-size:12px; }
.mode-grid { display:grid; grid-template-columns:1.2fr .8fr; gap:18px; align-items:start; }.mode-card,.setup-card { padding:24px; }.mode-card>span,.rule-card>span { color:var(--green); font-size:9px; font-weight:900; letter-spacing:.1em; }.mode-card h2,.rule-card h2 { margin:12px 0 8px; font:500 28px Georgia,serif; }.mode-card p,.rule-card p { color:var(--muted); font-size:10px; line-height:1.65; }.mode-card button { margin-top:16px; padding:10px 13px; border:0; border-radius:9px; background:var(--green); color:white; font-size:9px; font-weight:850; cursor:pointer; }.mode-card.featured { background:var(--green); color:white; }.mode-card.featured>span,.mode-card.featured p { color:rgba(255,255,255,.65); }.mode-card.featured button { background:var(--lime); color:var(--green); }.setup-fields { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin:20px 0; }.setup-fields label { color:var(--muted); font-size:9px; font-weight:800; }.setup-fields select { width:100%; min-height:42px; margin-top:6px; padding:0 10px; border:1px solid var(--line); border-radius:9px; background:white; }.rules-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }.rule-card { padding:24px; }.rule-card ul { margin:14px 0 0; padding-left:18px; color:var(--muted); font-size:10px; line-height:1.8; }.favorite-rule { background:#fbffe9; border-color:#d8e99a; }.points-rules { margin-top:18px; overflow:hidden; }.points-table { display:grid; grid-template-columns:repeat(3,1fr); }.points-table>div { min-height:86px; padding:17px 20px; border-top:1px solid var(--line); border-right:1px solid var(--line); }.points-table>div:nth-child(3n) { border-right:0; }.points-table strong,.points-table span { display:block; }.points-table strong { color:var(--green); font-size:10px; }.points-table span { margin-top:6px; color:var(--muted); font-size:9px; line-height:1.5; }
.next-season-rules { margin-top:18px; overflow:hidden; border-color:#c9dcae; }.next-season-rules-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:21px 24px; background:#f4f9df; }.next-season-rules-head h2 { margin:4px 0 0; color:var(--ink); font-size:25px; }.next-season-rules-head>span { max-width:230px; padding:7px 10px; border:1px solid #b9d26a; border-radius:999px; background:white; color:var(--green); font-size:9px; font-weight:850; text-align:center; }.next-season-rules-grid { display:grid; grid-template-columns:repeat(4,1fr); }.next-season-rules-grid article { display:flex; gap:12px; min-height:118px; padding:20px; border-top:1px solid var(--line); border-right:1px solid var(--line); }.next-season-rules-grid article:last-child { border-right:0; }.next-season-rules-grid article>b { display:grid; flex:0 0 45px; width:45px; height:45px; place-items:center; border-radius:12px; background:var(--green); color:var(--lime); font-size:13px; }.next-season-rules-grid p,.next-season-rules-grid strong,.next-season-rules-grid small { display:block; margin:0; }.next-season-rules-grid strong { color:var(--ink); font-size:11px; }.next-season-rules-grid small { margin-top:6px; color:var(--muted); font-size:9px; line-height:1.5; }

/* Amistosos en línea */
#friendliesView { width:100%; max-width:none; margin:0; }
.online-legend { display:flex; align-items:center; gap:8px; padding:12px 15px; border:1px solid #dbe5df; border-radius:12px; background:white; color:var(--muted); font-size:11px; font-weight:700; }
.online-legend i { width:9px; height:9px; border-radius:50%; background:#2dbb79; box-shadow:0 0 0 4px rgba(45,187,121,.12); }
.legend-draft-preview { display:none; margin-bottom:18px; overflow:hidden; border-color:#cdded3; background:linear-gradient(180deg,#ffffff 0%,#f7fbf8 100%); }
body.is-admin .legend-draft-preview:not([hidden]) { display:block; }
.legend-play-controls { display:flex; flex-wrap:wrap; gap:14px; align-items:end; padding:18px; margin:0 0 20px; background:#f0f6ef; border:1px solid #cbdcc9; border-radius:14px; }
.legend-play-controls label { display:grid; gap:8px; flex:1 1 230px; min-width:0; font-size:14px; font-weight:700; }
.legend-play-controls select { width:100%; min-height:46px; padding:10px; border:1px solid #b9cabb; border-radius:8px; background:white; color:#19382c; font-size:15px; }
.legend-play-controls p { flex-basis:100%; margin:0; font-size:14px; line-height:1.5; color:#40594b; }
.legend-play-controls button { padding:12px 16px; border:1px solid #24563e; border-radius:8px; background:#24563e; color:white; font-size:14px; cursor:pointer; }
.legend-play-controls[hidden], .legend-play-controls [hidden] { display:none !important; }
.legend-match-label { font-size:13px; font-weight:800; color:#24563e; margin:8px 0; }
.legend-selected-list { margin:14px 0; }
.legend-selected-list[hidden] { display:none; }
.friendly-lineup-guide .legend-selected-list p { display:grid; grid-template-columns:30px minmax(0,1fr) 26px; gap:8px; align-items:center; margin:0; padding:9px 0; border-bottom:1px solid #dce5dc; font-size:14px; line-height:1.4; }
.legend-selected-list span { font-size:10px; color:#57745e; }
.legend-selected-list strong { font-size:14px; overflow-wrap:anywhere; }
.legend-selected-list b { color:#24563e; font-size:14px; text-align:right; }
.legend-draft-preview .section-head { align-items:end; border-bottom:1px solid var(--line); }
.legend-draft-preview .section-head label { display:grid; gap:6px; min-width:170px; color:var(--muted); font-size:8px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; }
.legend-draft-preview .section-head select { min-height:40px; padding:0 11px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--green); font-size:11px; font-weight:900; outline:none; }
.legend-draft-preview .section-head select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.08); }
.legend-draft-summary { display:flex; align-items:center; gap:10px; padding:13px 18px; border-bottom:1px solid var(--line); background:#eef7f1; color:#3b5a4e; font-size:9px; line-height:1.5; }
.legend-draft-summary strong { display:inline-flex; align-items:center; min-height:28px; padding:6px 9px; border-radius:999px; background:var(--green); color:white; font-size:10px; white-space:nowrap; }
.legend-draft-summary span { display:block; }
.legend-draft-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.legend-draft-group { min-width:0; border-right:1px solid var(--line); background:white; }
.legend-draft-group:last-child { border-right:0; }
.legend-draft-group header { display:grid; grid-template-columns:38px minmax(0,1fr); gap:10px; align-items:center; min-height:70px; padding:13px 14px; border-bottom:1px solid #edf1ee; background:#fbfdfb; }
.legend-draft-group header>span { display:grid; place-items:center; width:36px; height:36px; border-radius:11px; background:var(--lime); color:var(--green); font-size:9px; font-weight:950; }
.legend-draft-group header strong,.legend-draft-group header small { display:block; }
.legend-draft-group header strong { color:var(--ink); font-size:11px; }
.legend-draft-group header small { margin-top:4px; color:var(--muted); font-size:8px; line-height:1.35; }
.legend-draft-group>div { display:grid; gap:7px; padding:12px; }
.legend-candidate-card { display:grid; grid-template-columns:38px minmax(0,1fr); gap:9px; align-items:center; width:100%; min-height:50px; padding:7px 9px; border:1px solid #edf1ee; border-radius:10px; background:#fbfcfb; color:var(--ink); text-align:left; opacity:1; }
.legend-candidate-card b { display:grid; place-items:center; width:34px; height:32px; border-radius:9px; background:#e7f0ea; color:var(--green); font-size:11px; }
.legend-candidate-card span,.legend-candidate-card strong,.legend-candidate-card small { display:block; min-width:0; }
.legend-candidate-card strong { overflow:hidden; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.legend-candidate-card small { margin-top:3px; overflow:hidden; color:var(--muted); font-size:7px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
.friendly-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,30vw); gap:18px; align-items:start; }
.friendly-setup-card { padding:26px; }
.friendly-refresh { min-height:36px; padding:0 12px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--green); font-size:10px; font-weight:850; cursor:pointer; }
.friendly-refresh:hover { border-color:var(--green); background:#f2f7f4; }
.friendly-fields { gap:17px; margin:24px 0; }
.friendly-fields label { display:flex; flex-direction:column; color:var(--ink); font-size:12px; }
.friendly-fields label small { margin-top:7px; color:var(--muted); font-size:9px; font-weight:500; line-height:1.4; }
.friendly-fields select { min-height:48px; color:var(--ink); font-size:12px; outline:none; }
.friendly-fields select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }
.friendly-tactic-field { grid-column:1 / -1; }
.friendly-fields .friendly-var-field { grid-column:1 / -1; display:flex; min-height:66px; flex-direction:row; align-items:flex-start; gap:11px; padding:13px 14px; border:1px solid #cddbd2; border-radius:11px; background:#f4f8f5; cursor:pointer; }
.friendly-var-field input { flex:0 0 auto; width:18px; height:18px; margin:2px 0 0; accent-color:var(--green); }
.friendly-var-field span,.friendly-var-field b,.friendly-var-field small { display:block; }.friendly-var-field b { color:var(--green); font-size:11px; }.friendly-fields .friendly-var-field small { margin-top:4px; font-size:9px; line-height:1.5; }
.friendly-form-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:19px; border-top:1px solid #edf1ee; }
.friendly-form-actions p { flex:1; margin:0; color:var(--muted); font-size:10px; line-height:1.45; }
.friendly-form-actions p.error { color:#b94e39; }
.friendly-form-actions p.success { color:#16734d; }
.friendly-form-actions .primary-action { flex:0 0 auto; min-height:44px; }
.friendly-requests-card { overflow:hidden; }
.friendly-request-badge { display:grid; place-items:center; min-width:30px; height:30px; padding:0 9px; border-radius:999px; background:var(--lime); color:var(--green); font-size:12px; font-weight:900; }
.friendly-request-section { border-top:1px solid var(--line); }
.friendly-request-section h3 { margin:0; padding:12px 18px; background:#f4f7f5; color:var(--green); font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
.friendly-request-item { padding:16px 18px; border-top:1px solid #edf1ee; }
.friendly-request-item:first-child { border-top:0; }
.friendly-request-user { display:flex; align-items:center; gap:10px; }
.friendly-request-user .user-avatar { flex:0 0 38px; }
.friendly-request-user strong,.friendly-request-user small { display:block; }
.friendly-request-user strong { color:var(--ink); font-size:11px; }
.friendly-request-user small { margin-top:3px; color:var(--muted); font-size:9px; }
.friendly-request-details { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.friendly-request-details span { padding:5px 7px; border-radius:7px; background:#eef3ef; color:var(--green); font-size:8px; font-weight:750; }
.friendly-request-actions { display:flex; gap:7px; margin-top:12px; }
.friendly-request-actions button { min-height:34px; padding:0 11px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:9px; font-weight:850; cursor:pointer; }
.friendly-request-actions button.accept { border-color:var(--green); background:var(--green); color:white; }
.friendly-empty { padding:24px 18px; color:var(--muted); font-size:10px; line-height:1.5; text-align:center; }
.friendly-lineup-builder { display:grid; grid-template-columns:minmax(360px,1.15fr) minmax(210px,.85fr); gap:18px; margin:8px 0 22px; padding-top:20px; border-top:1px solid var(--line); }
.friendly-pitch-block { min-width:0; }
.friendly-lineup-head { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; margin-bottom:12px; }
.friendly-lineup-head h3 { margin:0; color:var(--ink); font-size:17px; }
.friendly-lineup-head>span { padding:6px 9px; border-radius:999px; background:#eef3ef; color:var(--green); font-size:10px; font-weight:900; }
.friendly-lineup-head>span.complete { background:var(--lime); }
.friendly-pitch { position:relative; width:100%; min-height:520px; overflow:hidden; border:5px solid #e4eee7; border-radius:20px; background:linear-gradient(90deg,rgba(255,255,255,.035) 50%,transparent 50%),linear-gradient(#16754f,#0b603f); background-size:25% 100%,100% 100%; box-shadow:inset 0 0 0 2px rgba(255,255,255,.45); }
.friendly-pitch::before { content:""; position:absolute; left:4%; right:4%; top:50%; height:2px; background:rgba(255,255,255,.58); }
.friendly-pitch::after { content:""; position:absolute; left:50%; top:50%; width:92px; height:92px; border:2px solid rgba(255,255,255,.58); border-radius:50%; transform:translate(-50%,-50%); }
.friendly-pitch-mark { position:absolute; z-index:1; left:50%; width:44%; height:16%; border:2px solid rgba(255,255,255,.55); transform:translateX(-50%); pointer-events:none; }
.friendly-pitch-mark.top { top:-2px; border-top:0; }.friendly-pitch-mark.bottom { bottom:-2px; border-bottom:0; }
.friendly-pitch-slot { position:absolute; z-index:3; width:22%; min-width:82px; transform:translate(-50%,-50%); }
.friendly-pitch-slot label { display:block; margin:0 auto 4px; width:max-content; padding:3px 6px; border-radius:999px; background:rgba(7,53,36,.8); color:white; font-size:7px; font-weight:900; }
.friendly-pitch-slot select { width:100%; min-height:35px; padding:0 20px 0 7px; overflow:hidden; border:2px solid rgba(255,255,255,.78); border-radius:9px; outline:none; background:white; color:var(--ink); font-size:8px; font-weight:750; text-overflow:ellipsis; box-shadow:0 7px 18px rgba(4,43,28,.18); }
.friendly-pitch-slot select:focus { border-color:var(--lime); box-shadow:0 0 0 3px rgba(217,255,86,.25); }
.friendly-pitch-slot select.selected { background:#fbffe9; }
.friendly-lineup-guide { align-self:start; margin-top:40px; padding:18px; border:1px solid var(--line); border-radius:14px; background:#f5f8f5; }
.friendly-lineup-guide strong { color:var(--ink); font-size:12px; }
.friendly-lineup-guide p { margin:7px 0 15px; color:var(--muted); font-size:10px; line-height:1.6; }
.friendly-lineup-guide button { width:100%; min-height:39px; margin-top:15px; border:1px solid var(--green); border-radius:9px; background:white; color:var(--green); font-size:9px; font-weight:850; cursor:pointer; }
.friendly-lineup-guide button:hover { background:#edf5f0; }
.friendly-lineup-composition { display:grid; grid-template-columns:repeat(2,1fr); gap:7px; }
.friendly-lineup-composition span { padding:7px 8px; border-radius:8px; background:white; color:var(--muted); font-size:8px; }
.friendly-lineup-composition span b { display:block; margin-top:3px; color:var(--green); font-size:10px; }
.friendly-accepted-setup { margin-top:18px; padding:26px; }
.friendly-accepted-setup[hidden] { display:none !important; }
.friendly-accepted-setup .section-head>div>p:last-child { margin:6px 0 0; color:var(--muted); font-size:10px; }
.friendly-ready-tag { padding:7px 10px; border-radius:999px; background:#fff3d9; color:#a66a00; font-size:8px; font-weight:900; text-transform:uppercase; }
.friendly-accepted-grid { display:grid; grid-template-columns:minmax(300px,.75fr) minmax(400px,1.25fr); gap:24px; align-items:start; padding-top:8px; }
.friendly-lineup-guide.accepted { margin-top:0; }
.friendly-play-button { background:var(--lime); border-color:var(--lime); color:var(--green); }
.friendly-play-button:hover { background:#c9f53a; }
.friendly-waiting { padding:12px 14px; border-radius:10px; background:#eef5f0; color:var(--green); font-size:9px; line-height:1.5; }
.friendly-history-card { margin-top:18px; overflow:hidden; }
.friendly-history-card .section-head>div>p:last-child { max-width:680px; margin:6px 0 0; color:var(--muted); font-size:10px; line-height:1.5; }
.friendly-history-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.friendly-history-item { min-width:0; padding:20px; border-top:1px solid var(--line); border-right:1px solid var(--line); }
.friendly-history-item:nth-child(2n) { border-right:0; }
.friendly-history-item>header,.friendly-history-item>footer { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.friendly-history-item>header time { color:var(--muted); font-size:8px; }
.friendly-history-result { padding:5px 8px; border-radius:999px; background:#eef3ef; color:var(--green); font-size:8px; font-weight:900; text-transform:uppercase; }
.friendly-history-result.victoria { background:#e5f7eb; color:#147448; }
.friendly-history-result.derrota { background:#fff0ed; color:#b54d3b; }
.friendly-history-result.empate { background:#fff5d9; color:#9c6a05; }
.friendly-history-score { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:12px; align-items:center; margin-top:17px; text-align:center; }
.friendly-history-score>div { min-width:0; }.friendly-history-score strong,.friendly-history-score small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.friendly-history-score strong { color:var(--ink); font-size:11px; }.friendly-history-score small { margin-top:4px; color:var(--muted); font-size:8px; }.friendly-history-score>b { color:var(--green); font-size:24px; white-space:nowrap; }
.friendly-history-plans { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.friendly-history-plans p { min-width:0; margin:0; padding:10px; border-radius:9px; background:#f3f6f4; }.friendly-history-plans span,.friendly-history-plans b { display:block; }.friendly-history-plans span { color:var(--muted); font-size:7px; font-weight:800; text-transform:uppercase; }.friendly-history-plans b { margin-top:5px; color:var(--ink); font-size:8px; line-height:1.4; }
.friendly-history-item>footer { margin-top:16px; padding-top:14px; border-top:1px solid #edf1ee; }.friendly-history-item>footer>span { color:var(--muted); font-size:8px; }.friendly-history-item>footer>div { display:flex; gap:6px; }.friendly-history-item>footer button { min-height:34px; padding:0 10px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }.friendly-history-item>footer button.primary { border-color:var(--green); background:var(--green); color:white; }
.friendly-user-count{display:inline-block;margin-left:5px;padding:3px 6px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:7px;font-style:normal;white-space:nowrap}.friendly-history-compact{grid-column:1/-1;border-top:1px solid var(--line);background:#fbfcfb}.friendly-history-compact summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto 18px;gap:12px;align-items:center;padding:13px 18px;cursor:pointer;list-style:none}.friendly-history-compact summary::-webkit-details-marker{display:none}.friendly-history-compact summary>strong{overflow:hidden;color:var(--ink);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.friendly-history-compact summary>strong b{margin:0 7px;color:var(--green);font-size:13px}.friendly-history-compact summary time{color:var(--muted);font-size:8px}.friendly-history-compact summary i{color:var(--green);font-size:15px;font-style:normal;transition:transform .2s}.friendly-history-compact[open] summary i{transform:rotate(180deg)}.friendly-history-compact .friendly-history-item{border:0;border-top:1px dashed var(--line);background:white}
@media(max-width:560px){.friendly-history-compact summary{grid-template-columns:auto minmax(0,1fr) 18px}.friendly-history-compact summary time{display:none}}

.friendly-match-modal { position:fixed; inset:0; z-index:180; display:none; padding:12px; }
.friendly-match-reopen { position:fixed; z-index:170; right:22px; bottom:22px; display:flex; align-items:center; gap:8px; min-height:44px; padding:0 16px; border:0; border-radius:999px; background:var(--green); color:white; box-shadow:0 12px 35px rgba(7,53,36,.28); font-size:10px; font-weight:900; cursor:pointer; }
.friendly-match-reopen.league-live{background:#ffd84f;color:#3f3100;box-shadow:0 12px 35px rgba(105,79,0,.28)}.friendly-match-reopen.league-live i{background:#d65a35}
.friendly-match-reopen[hidden] { display:none !important; }.friendly-match-reopen i { width:8px; height:8px; border-radius:50%; background:var(--orange); animation:friendlyPulse 1.1s infinite; }
.friendly-match-modal.open { display:grid; place-items:center; }
.friendly-match-backdrop { position:absolute; inset:0; background:rgba(5,27,20,.78); backdrop-filter:blur(7px); }
.friendly-match-card { position:relative; z-index:1; width:min(1240px,100%); max-height:96vh; overflow:auto; border-radius:24px; background:var(--paper); box-shadow:0 35px 110px rgba(0,0,0,.38); transition:width .2s ease,border-radius .2s ease; }
.friendly-match-close,.friendly-match-maximize { position:absolute; z-index:3; top:13px; width:38px; height:38px; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:white; cursor:pointer; }.friendly-match-close { right:15px; font-size:24px; }.friendly-match-maximize { right:60px; font-size:18px; }.friendly-match-close:hover,.friendly-match-maximize:hover { background:rgba(255,255,255,.25); }
.friendly-match-modal.maximized { padding:0; }.friendly-match-modal.maximized .friendly-match-card { width:100%; height:100vh; max-height:100vh; border-radius:0; }.friendly-match-modal.maximized .friendly-live-body { min-height:calc(100vh - 178px); }
.friendly-countdown { position:relative; display:grid; min-height:480px; place-items:center; padding:50px 25px; background:radial-gradient(circle at 50% 35%,#187456,#073b2a); color:white; text-align:center; }
.friendly-countdown .eyebrow { color:var(--lime); }
.friendly-countdown h2 { margin:8px 0 0; font-size:30px; }
.friendly-countdown-number { margin:25px 0; color:var(--lime); font-size:92px; font-weight:900; line-height:1; }
.friendly-countdown-matchup { display:flex; align-items:center; justify-content:center; gap:18px; font-size:13px; font-weight:800; }
.friendly-countdown-matchup i { color:rgba(255,255,255,.55); font-style:normal; }
.friendly-countdown-crew { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:18px; }.friendly-countdown-crew span { padding:7px 9px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:rgba(255,255,255,.08); color:rgba(255,255,255,.82); font-size:8px; }
.friendly-countdown-preview { max-width:670px; margin:17px auto 0; overflow:hidden; border-radius:12px; background:rgba(255,255,255,.08); text-align:left; }.friendly-countdown-preview p { display:grid; grid-template-columns:22px 1fr; gap:8px; align-items:start; margin:0; padding:9px 12px; border-top:1px solid rgba(255,255,255,.08); color:rgba(255,255,255,.75); font-size:8px; line-height:1.45; }.friendly-countdown-preview p:first-child { border-top:0; }.friendly-countdown-preview i { font-style:normal; }
.friendly-countdown small { max-width:550px; margin-top:20px; color:rgba(255,255,255,.65); line-height:1.55; }
.friendly-live-head { position:relative; padding:26px 52px 22px 26px; background:var(--green); color:white; }
.match-sound-toggle{position:absolute;z-index:2;top:14px;right:108px;display:flex;min-height:34px;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:9px;font-weight:900;cursor:pointer;backdrop-filter:blur(5px)}.match-sound-toggle:hover{border-color:var(--lime);background:rgba(217,255,86,.17)}.match-sound-toggle:focus-visible{outline:3px solid var(--lime);outline-offset:2px}.match-sound-toggle span{font-size:14px}.match-sound-toggle[aria-pressed="false"]{color:rgba(255,255,255,.78);background:rgba(0,0,0,.12)}
.friendly-live-switcher{padding:11px 46px 11px 16px;border-bottom:1px solid #bad4c6;background:#edf6f0;color:#0c513d}.friendly-live-switcher>header{display:flex;align-items:baseline;gap:10px;margin-bottom:7px}.friendly-live-switcher>header strong{font-size:12px;text-transform:uppercase;letter-spacing:.06em}.friendly-live-switcher>header small{font-size:11px;color:#527064}.friendly-live-switcher>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:7px}.friendly-live-switcher button{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;align-items:center;min-width:0;padding:7px 9px;border:1px solid #b9d0c2;border-radius:11px;background:#fff;color:#123d31;text-align:left;cursor:pointer}.friendly-live-switcher button>span{grid-row:1/3;min-width:0}.friendly-live-switcher button small,.friendly-live-switcher button b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friendly-live-switcher button small{margin-bottom:2px;font-size:8px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#668177}.friendly-live-switcher button b{font-size:11px}.friendly-live-switcher button>strong{font-size:17px}.friendly-live-switcher button>em{font-size:9px;font-style:normal;color:#6d7c77;text-align:right}.friendly-live-switcher button.active{border-color:#b7e735;background:#123f32;color:#fff;box-shadow:inset 4px 0 #cdfb45}.friendly-live-switcher button.active small,.friendly-live-switcher button.active em{color:#d7e9e1}
.friendly-live-status { display:flex; align-items:center; gap:8px; color:var(--lime); font-size:9px; font-weight:900; letter-spacing:.1em; text-transform:uppercase; }
.friendly-live-status i { width:8px; height:8px; border-radius:50%; background:var(--orange); animation:friendlyPulse 1.1s infinite; }
@keyframes friendlyPulse { 50% { opacity:.35; } }
.friendly-scoreboard { display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:start; margin-top:18px; }
.friendly-score-team { min-width:0; text-align:center; }.friendly-score-team strong,.friendly-score-team small { display:block; }.friendly-score-team strong { overflow:hidden; font-size:19px; text-overflow:ellipsis; white-space:nowrap; }.friendly-score-team small { margin-top:6px; color:rgba(255,255,255,.7); font-size:11px; }
.friendly-score { color:var(--lime); font-size:58px; font-weight:900; line-height:1; white-space:nowrap; }
.friendly-score-events { display:flex; align-items:center; justify-content:center; gap:5px; flex-wrap:wrap; margin-top:10px; }.friendly-score-events span { display:flex; max-width:100%; align-items:center; gap:4px; padding:4px 7px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.10); color:rgba(255,255,255,.84); font-size:9px; line-height:1.1; text-overflow:ellipsis; white-space:nowrap; }.friendly-score-events span.red { background:rgba(255,91,91,.18); }.friendly-score-events i { flex:0 0 auto; font-style:normal; }.friendly-score-events b { flex:0 0 auto; color:white; }
.friendly-match-clock { margin-top:16px; color:rgba(255,255,255,.78); font-size:13px; font-weight:800; text-align:center; }
.friendly-match-progress { height:5px; margin-top:8px; overflow:hidden; border-radius:5px; background:rgba(255,255,255,.13); }.friendly-match-progress i { display:block; height:100%; background:var(--lime); transition:width .8s linear; }
.friendly-late-tactic { display:grid; grid-template-columns:minmax(230px,.72fr) minmax(430px,1.28fr); gap:18px; align-items:center; margin-top:14px; padding:13px 14px; border:1px solid rgba(217,255,86,.5); border-radius:14px; background:rgba(3,43,29,.58); box-shadow:0 10px 26px rgba(0,0,0,.12); }
.friendly-late-tactic>div:first-child span,.friendly-late-tactic>div:first-child strong,.friendly-late-tactic>div:first-child small { display:block; }.friendly-late-tactic>div:first-child span { color:var(--lime); font-size:8px; font-weight:950; letter-spacing:.1em; }.friendly-late-tactic>div:first-child strong { margin-top:4px; color:white; font-size:15px; }.friendly-late-tactic>div:first-child small { margin-top:4px; color:rgba(255,255,255,.68); font-size:9px; line-height:1.4; }
.friendly-late-tactic-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }.friendly-late-tactic-actions button { display:grid; grid-template-columns:25px minmax(0,1fr); grid-template-rows:auto auto; column-gap:7px; min-height:56px; align-items:center; padding:8px 9px; border:1px solid rgba(255,255,255,.17); border-radius:10px; background:rgba(255,255,255,.09); color:white; cursor:pointer; text-align:left; transition:transform .15s ease,background .15s ease,border-color .15s ease; }.friendly-late-tactic-actions button:hover { border-color:var(--lime); background:rgba(217,255,86,.16); transform:translateY(-1px); }.friendly-late-tactic-actions button:focus-visible { outline:3px solid var(--lime); outline-offset:2px; }.friendly-late-tactic-actions button:disabled { opacity:.55; cursor:wait; transform:none; }.friendly-late-tactic-actions i { grid-row:1/3; font-size:18px; font-style:normal; text-align:center; }.friendly-late-tactic-actions b { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.friendly-late-tactic-actions small { color:rgba(255,255,255,.68); font-size:9px; }
.friendly-late-tactic.locked { grid-template-columns:1fr auto; border-color:rgba(217,255,86,.28); background:rgba(255,255,255,.08); }.friendly-late-tactic.locked>b { padding:7px 9px; border-radius:999px; background:var(--lime); color:var(--green); font-size:8px; }.friendly-late-tactic.locked:focus-visible { outline:3px solid var(--lime); outline-offset:2px; }.friendly-late-tactic.saving { border-color:rgba(255,255,255,.24); }.friendly-late-tactic.automatic { border-color:rgba(255,255,255,.18); }.friendly-late-tactic.automatic>b { background:rgba(255,255,255,.16); color:white; }
.friendly-penalty-selection{display:grid;grid-template-columns:minmax(190px,.45fr) minmax(0,1fr);gap:14px;align-items:center;margin-top:14px;padding:14px;border:1px solid rgba(217,255,86,.55);border-radius:14px;background:rgba(3,43,29,.65);color:#fff}.friendly-penalty-selection strong,.friendly-penalty-selection b,.friendly-penalty-selection small{display:block}.friendly-penalty-selection strong,.friendly-penalty-selection b{color:var(--lime);font-size:14px}.friendly-penalty-selection small{margin-top:5px;color:rgba(255,255,255,.78);font-size:9px}.friendly-penalty-order{display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:6px}.friendly-penalty-order label span{display:block;margin-bottom:3px;color:rgba(255,255,255,.72);font-size:7px;font-weight:800}.friendly-penalty-order select{width:100%;min-width:0;height:35px;padding:0 6px;border:1px solid rgba(255,255,255,.28);border-radius:8px;background:#fff;color:var(--green);font-size:8px}.friendly-penalty-order button{align-self:end;height:35px;padding:0 11px;border:0;border-radius:8px;background:var(--lime);color:var(--green);font-size:8px;font-weight:900;cursor:pointer}.friendly-penalty-selection.saved{grid-template-columns:1fr;text-align:center}
.friendly-live-body { display:grid; grid-template-columns:280px 1fr; gap:0; min-height:350px; }
.friendly-tactical-summary { padding:23px; border-right:1px solid var(--line); background:#f1f5f2; }
.friendly-tactical-summary.stats-first{display:flex;flex-direction:column}.friendly-tactical-summary.stats-first>.friendly-match-stats{order:-1;margin-top:0;margin-bottom:19px;padding-top:0;padding-bottom:17px;border-top:0;border-bottom:1px solid var(--line)}
.friendly-tactical-summary.stats-first>.live-tv-card{order:-2;margin-top:0;margin-bottom:14px}
.friendly-tactical-summary h3,.friendly-commentary h3 { margin:0 0 14px; font-size:14px; }
.friendly-tactical-team { padding:12px; border-radius:10px; background:white; }.friendly-tactical-team+.friendly-tactical-team { margin-top:10px; }.friendly-tactical-team strong,.friendly-tactical-team span { display:block; }.friendly-tactical-team strong { font-size:10px; }.friendly-tactical-team span { margin-top:5px; color:var(--muted); font-size:8px; line-height:1.45; }
.friendly-match-officials { margin-top:12px; padding:11px 12px; border-radius:10px; background:#e4ede7; }.friendly-match-officials p { margin:0; }.friendly-match-officials p+p { margin-top:9px; }.friendly-match-officials span,.friendly-match-officials b { display:block; }.friendly-match-officials span { color:var(--muted); font-size:7px; text-transform:uppercase; }.friendly-match-officials b { margin-top:3px; color:var(--ink); font-size:8px; line-height:1.35; }
.friendly-match-stats { margin-top:19px; padding-top:17px; border-top:1px solid var(--line); }.friendly-match-stats h3 { margin-bottom:9px; }.friendly-match-stats>div { display:grid; grid-template-columns:58px 1fr 58px; gap:7px; align-items:center; min-height:32px; padding:7px 0; border-top:1px solid rgba(16,42,35,.07); text-align:center; }.friendly-match-stats>div.stat-break { margin-top:7px; border-top:2px solid #cfddd4; }.friendly-match-stats b { color:var(--ink); font-size:12px; }.friendly-match-stats span { color:var(--muted); font-size:10px; line-height:1.25; }
.friendly-commentary { padding:23px; }
.friendly-events { display:flex; max-height:340px; overflow:auto; flex-direction:column; }
@media (min-width:721px) {
  .friendly-live-body {
    grid-template-areas:
      "match-summary match-commentary"
      "match-lineups match-lineups";
    grid-template-rows:auto auto;
    align-items:stretch;
  }
  .friendly-tactical-summary { grid-area:match-summary; }
  .friendly-commentary {
    grid-area:match-commentary;
    display:flex;
    min-width:0;
    min-height:0;
    contain:size;
    overflow:hidden;
    flex-direction:column;
  }
  .friendly-events {
    flex:1 1 0;
    min-height:0;
    max-height:none;
    overflow-y:auto;
  }
  .friendly-match-lineups { grid-area:match-lineups; }
}
.friendly-event { display:grid; grid-template-columns:34px 42px 1fr; gap:10px; align-items:center; padding:11px 0; border-top:1px solid var(--line); }.friendly-event:first-child { border-bottom:1px solid var(--line); }.friendly-event-icon { display:grid; place-items:center; width:32px; height:32px; border-radius:9px; background:#eef3ef; font-size:17px; }.friendly-event>b { color:var(--green); font-size:12px; }.friendly-event p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }.friendly-event-team { display:inline-block; margin:0 7px 3px 0; padding:3px 6px; border-radius:6px; background:#e7efe9; color:var(--green); font-size:8px; font-weight:900; line-height:1.2; vertical-align:1px; }.friendly-event.goal { padding:15px 10px; border-radius:10px; background:#fbffe9; }.friendly-event.goal p { color:var(--ink); font-size:12px; font-weight:800; line-height:1.55; }.friendly-event.goal .friendly-event-icon { background:var(--lime); }.friendly-event.yellow .friendly-event-icon { background:#fff2b2; }.friendly-event.red .friendly-event-icon,.friendly-event.penalty_miss .friendly-event-icon { background:#ffe3dd; }.friendly-event.var .friendly-event-icon { background:#e7efff; }.friendly-event.penalty .friendly-event-icon { background:#fff2b2; }.friendly-event.quiet { padding-inline:8px; background:#fff8e8; }.friendly-event.quiet p { color:#6f5416; font-weight:750; }.friendly-event.yellow,.friendly-event.red { grid-template-columns:26px 34px 1fr; min-height:38px; padding:5px 7px; }.friendly-event.yellow .friendly-event-icon,.friendly-event.red .friendly-event-icon { width:24px; height:24px; border-radius:7px; font-size:13px; }.friendly-event.yellow p,.friendly-event.red p { font-size:9px; }.friendly-event.pregame { padding:11px 9px; background:#f0f6f2; }.friendly-event.pregame p,.friendly-event.official p { color:var(--ink); }.friendly-event.var_decision .friendly-event-icon { background:#e4f6e9; }
.friendly-event.stoppage { padding-inline:9px; background:#edf5f0; }.friendly-event.stoppage p { color:var(--ink); font-weight:800; }
.friendly-event.period_end { padding:15px 10px; border-radius:10px; background:#174a39; }.friendly-event.period_end>b { color:var(--lime); }.friendly-event.period_end p { color:white; font-weight:800; font-size:12px; }.friendly-event.period_end .friendly-event-icon { background:#376b58; }.friendly-event.period_end .friendly-event-team { background:#dff2e6; }.friendly-event.extra_time.phase-opening { padding:14px 10px; border-radius:10px; background:#eff8e8; }.friendly-event.extra_time.phase-opening p { color:var(--ink); font-weight:800; font-size:12px; }.friendly-event.extra_time.phase-opening .friendly-event-icon { background:#d9f6a4; }
.friendly-event.goal_pending,.friendly-event.penalty_pending,.friendly-event.card_pending { padding:13px 10px; border-radius:10px; background:#edf3ff; }.friendly-event.goal_pending .friendly-event-icon,.friendly-event.penalty_pending .friendly-event-icon,.friendly-event.card_pending .friendly-event-icon { background:#dce8ff; }.friendly-event.goal_pending p,.friendly-event.penalty_pending p,.friendly-event.card_pending p { color:#254d88; font-weight:800; }
.friendly-event.injury { padding-inline:9px; border-radius:10px; background:#fff4ed; }.friendly-event.injury .friendly-event-icon { background:#ffe0ce; }.friendly-event.injury p { color:#7c4028; font-weight:750; }
.friendly-event.tactical { padding-inline:9px; border-radius:10px; background:#edf7f1; }.friendly-event.tactical .friendly-event-icon,.friendly-event.goal_prevented .friendly-event-icon { background:#dff2e6; }.friendly-event.chance_lost .friendly-event-icon { background:#f0ebe2; }.friendly-event.tactical p,.friendly-event.goal_prevented p,.friendly-event.chance_lost p { color:var(--ink); font-weight:750; }.friendly-lineup-player.injured { background:#fff6f0; }
.friendly-match-lineups { grid-column:1 / -1; padding:24px; border-top:1px solid var(--line); background:white; }
.friendly-lineups-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:15px; }.friendly-lineups-heading h3 { margin:2px 0 0; color:var(--ink); font-size:17px; }.friendly-lineups-heading>span { color:var(--muted); font-size:9px; }
.friendly-lineups-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.friendly-lineup-team { overflow:hidden; border:1px solid var(--line); border-radius:13px; }.friendly-lineup-team>header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px; background:#eef4f0; }.friendly-lineup-team>header strong,.friendly-lineup-team>header small { display:block; }.friendly-lineup-team>header strong { color:var(--ink); font-size:10px; }.friendly-lineup-team>header small { margin-top:3px; color:var(--muted); font-size:8px; }.friendly-lineup-team>header>span:not(.team-crest-inline):not(.match-user-avatar) { padding:5px 7px; border-radius:999px; background:var(--green); color:white; font-size:8px; font-weight:900; }
.friendly-lineup-player { display:grid; grid-template-columns:35px minmax(0,1fr) minmax(72px,auto); gap:9px; align-items:center; min-height:45px; padding:7px 12px; border-top:1px solid #edf1ee; }.friendly-lineup-player>span { color:var(--green); font-size:8px; font-weight:900; }.friendly-lineup-player p { min-width:0; margin:0; }.friendly-lineup-player p b,.friendly-lineup-player p small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.friendly-lineup-player p b { color:var(--ink); font-size:9px; }.friendly-lineup-player p small { margin-top:3px; color:var(--muted); font-size:7px; }.friendly-lineup-player em { color:var(--green); font-size:8px; font-style:normal; font-weight:900; text-align:right; }.friendly-lineup-player em.match-rating { justify-self:end; padding:5px 7px; border-radius:7px; background:#e7f0ea; }.friendly-lineup-player em.match-rating.high { background:var(--lime); color:var(--ink); }.friendly-lineup-player em.match-rating.low { background:#ffe4df; color:#9b2d20; }.lineup-player-result{display:flex;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap}.lineup-event-badge{display:inline-flex;align-items:center;gap:2px;padding:3px 4px;border-radius:6px;background:#f4f7f5;color:var(--ink);font-size:7px;font-weight:900}.lineup-event-badge i{font-style:normal;font-size:10px}.lineup-event-badge b{font-size:7px}.lineup-event-badge.goal{background:#ecf8e6}.lineup-event-badge.yellow{background:#fff8d7}.lineup-event-badge.red{background:#ffe5e2;color:#8e2018}.friendly-score-events span small{color:rgba(255,255,255,.7);font-size:7px;font-weight:700}

.toast { position: fixed; right: 24px; bottom: 24px; max-width: 330px; padding: 13px 17px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }

/* Amigos y cuentas */
.social-heading { padding-top:8px; }.social-profile-card { display:flex; align-items:center; gap:11px; min-width:230px; padding:14px 16px; border-radius:16px; background:var(--green); color:white; }.social-profile-card>span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--lime); color:var(--green); font-weight:900; }.social-profile-card p,.social-profile-card b,.social-profile-card small { display:block; margin:0; }.social-profile-card b { font-size:12px; }.social-profile-card small { margin-top:2px; color:rgba(255,255,255,.65); font-size:9px; }
.social-heading-actions { display:flex; align-items:center; gap:10px; }.invite-friends-button { min-height:48px; padding:0 16px; border:0; border-radius:14px; background:var(--lime); color:var(--green); font-size:10px; font-weight:900; cursor:pointer; box-shadow:0 8px 20px rgba(10,61,42,.1); }.invite-friends-button span { font-size:16px; vertical-align:-1px; }
.social-layout { display:grid; grid-template-columns:minmax(480px,1fr) 380px; gap:18px; align-items:start; }.user-search { display:flex; gap:8px; padding:18px 20px; border-bottom:1px solid var(--line); }.user-search input { flex:1; min-width:0; min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:10px; outline:none; }.user-search input:focus { border-color:var(--green); }.user-search button { padding:0 17px; border:0; border-radius:10px; background:var(--green); color:white; font-size:10px; font-weight:850; cursor:pointer; }
.social-list,.social-results { min-height:120px; }.social-user { display:grid; grid-template-columns:42px minmax(110px,1fr) auto; gap:11px; align-items:center; padding:14px 18px; border-bottom:1px solid #edf1ee; }.user-avatar { display:grid; place-items:center; width:39px; height:39px; border-radius:12px; background:#e8efea; color:var(--green); font-size:10px; font-weight:900; }.social-user-info strong,.social-user-info small { display:block; }.social-user-info strong { font-size:11px; }.social-user-info small { margin-top:3px; color:var(--muted); font-size:9px; }.social-actions { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }.social-actions button { padding:7px 9px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:800; cursor:pointer; }.social-actions button.primary { border-color:var(--green); background:var(--green); color:white; }.social-actions button.danger { color:#b54d3b; }.social-actions button:disabled { color:var(--muted); cursor:default; }.social-empty { padding:36px 20px; color:var(--muted); text-align:center; }.social-empty strong,.social-empty small { display:block; }.social-empty strong { color:var(--ink); font-size:12px; }.social-empty small { max-width:330px; margin:6px auto 0; line-height:1.5; }
.friends-panel { margin-top:18px; }.friends-grid { display:grid; grid-template-columns:repeat(3,1fr); }.friend-card { min-height:160px; padding:18px; border-right:1px solid #edf1ee; border-bottom:1px solid #edf1ee; }.friend-card:nth-child(3n) { border-right:0; }.friend-card-top { display:flex; align-items:center; gap:10px; }.friend-card h3 { margin:15px 0 4px; font:500 20px Georgia,serif; }.friend-card p { margin:0; color:var(--muted); font-size:9px; }.friend-card .social-actions { justify-content:flex-start; margin-top:15px; }
#socialView { max-width:1240px; margin:0 auto; }.admin-users-panel { display:none; margin-top:18px; }.is-admin .admin-users-panel { display:block; }.admin-privacy-note { margin:0; padding:12px 18px; border-bottom:1px solid var(--line); background:#f6f8f5; color:var(--muted); font-size:10px; }.admin-users-list { display:grid; grid-template-columns:repeat(3,1fr); }.admin-user-row { display:grid; grid-template-columns:34px 1fr auto; gap:9px; align-items:center; min-width:0; padding:12px 15px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }.admin-user-row:nth-child(3n) { border-right:0; }.admin-user-row .user-avatar { width:32px; height:32px; border-radius:9px; }.admin-user-row strong,.admin-user-row small { display:block; }.admin-user-row strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.admin-user-row small { margin-top:2px; color:var(--muted); font-size:8px; }.admin-role { padding:4px 7px; border-radius:999px; background:#eef3ef; color:var(--green); font-size:7px; font-weight:850; text-transform:uppercase; }

/* Producción privada de amistosos */
#productionView { max-width:1180px; margin:0 auto; }
.production-summary { display:flex; gap:9px; flex-wrap:wrap; }.production-summary span { padding:12px 14px; border-radius:12px; background:var(--green); color:rgba(255,255,255,.72); font-size:9px; }.production-summary b { margin-right:4px; color:var(--lime); font-size:17px; }
.production-register { overflow:hidden; }.production-register>.section-head>span { color:var(--muted); font-size:9px; }
.personnel-form { display:grid; grid-template-columns:210px minmax(260px,1fr) auto; gap:12px; align-items:end; padding:22px 24px 10px; }.personnel-form label { color:var(--ink); font-size:10px; font-weight:800; }.personnel-form input,.personnel-form select { width:100%; min-height:45px; margin-top:7px; padding:0 11px; border:1px solid var(--line); border-radius:10px; background:white; outline:none; }.personnel-form input:focus,.personnel-form select:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }.personnel-form .primary-action { min-height:45px; }
.production-note { margin:0 24px 21px; color:var(--muted); font-size:9px; }.production-note.success { color:#16734d; }.production-note.error { color:#b94e39; }
.production-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; align-items:start; }.personnel-card { overflow:hidden; }.personnel-card .section-head>span { color:var(--muted); font-size:9px; }
.personnel-row { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:10px; align-items:center; padding:13px 16px; border-top:1px solid #edf1ee; }.personnel-row.inactive { opacity:.58; background:#f4f6f4; }.personnel-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#e8efea; font-size:15px; }.personnel-row strong,.personnel-row small { display:block; }.personnel-row strong { overflow:hidden; color:var(--ink); font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.personnel-row small { margin-top:3px; color:var(--muted); font-size:8px; }.personnel-row button { min-height:32px; padding:0 9px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }
.personnel-empty { padding:30px 22px; color:var(--muted); text-align:center; }.personnel-empty strong,.personnel-empty small { display:block; }.personnel-empty strong { color:var(--ink); font-size:11px; }.personnel-empty small { margin-top:6px; font-size:8px; line-height:1.55; }
.commentary-production { margin-top:18px; overflow:hidden; }
.commentary-production-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 22px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#f5f8f6; }.commentary-production-intro p { max-width:650px; margin:0; color:var(--muted); font-size:9px; line-height:1.55; }.commentary-mood-scale { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px; }.commentary-mood-scale span { padding:7px 9px; border:1px solid #dce5df; border-radius:999px; background:white; color:var(--green); font-size:8px; font-weight:850; white-space:nowrap; }
.commentary-phrase-form { display:grid; grid-template-columns:minmax(190px,.8fr) minmax(190px,1fr) 150px; gap:14px; padding:22px; border-bottom:1px solid var(--line); }.commentary-phrase-form>label,.commentary-library-tools label { display:flex; flex-direction:column; gap:7px; color:var(--ink); font-size:9px; font-weight:850; }.commentary-phrase-form select,.commentary-library-tools select,.commentary-library-tools input,.commentary-phrase-form textarea { width:100%; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); outline:none; }.commentary-phrase-form select,.commentary-library-tools select,.commentary-library-tools input { min-height:42px; padding:0 11px; }.commentary-phrase-form textarea { min-height:104px; padding:12px; resize:vertical; font:inherit; font-size:10px; line-height:1.55; }.commentary-phrase-form select:focus,.commentary-library-tools select:focus,.commentary-library-tools input:focus,.commentary-phrase-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.09); }.commentary-text-field { grid-column:1/-1; }
.commentary-phrase-form input { width:100%; min-height:42px; padding:0 11px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); outline:none; }.commentary-phrase-form input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.09); }
.commentary-variable-box,.commentary-preview-box { padding:14px 15px; border:1px solid var(--line); border-radius:11px; }.commentary-variable-box { grid-column:1/3; background:#f8faf8; }.commentary-preview-box { background:#0d422f; color:white; }.commentary-variable-box>strong,.commentary-preview-box>strong { display:block; margin-bottom:8px; font-size:9px; }.commentary-variable-box small { display:block; margin-top:8px; color:var(--muted); font-size:8px; line-height:1.45; }.commentary-token-list { display:flex; flex-wrap:wrap; gap:6px; }.commentary-token-list button { padding:6px 8px; border:1px solid #cddbd2; border-radius:7px; background:white; color:var(--green); font:700 8px Verdana,sans-serif; cursor:pointer; }.commentary-token-list button:hover { border-color:var(--green); background:#edf5f0; }.commentary-preview-box p { margin:0; color:rgba(255,255,255,.82); font-size:9px; line-height:1.55; }
.commentary-form-actions { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:4px; }.commentary-form-actions>p { margin:0; color:var(--muted); font-size:8px; line-height:1.45; }.commentary-form-actions>p.success { color:#16734d; }.commentary-form-actions>p.error { color:#b94e39; }.commentary-form-actions>div { display:flex; gap:8px; }.commentary-form-actions button { min-height:40px; padding:0 14px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--green); font-size:8px; font-weight:900; cursor:pointer; }.commentary-form-actions button.primary-action { border-color:var(--green); background:var(--green); color:white; }
.commentary-library-tools { display:grid; grid-template-columns:230px 220px minmax(220px,1fr); gap:12px; padding:16px 22px; background:#fbfcfb; border-bottom:1px solid var(--line); }.commentary-phrase-list { max-height:720px; overflow:auto; }.commentary-phrase-row { display:grid; grid-template-columns:minmax(150px,.7fr) minmax(130px,.6fr) minmax(300px,2fr) 80px auto; gap:12px; align-items:center; padding:14px 18px; border-bottom:1px solid #edf1ee; }.commentary-phrase-row.inactive { opacity:.58; background:#f4f6f4; }.commentary-phrase-meta strong,.commentary-phrase-copy strong,.commentary-phrase-copy small { display:block; }.commentary-phrase-meta strong { font-size:9px; }.commentary-phrase-meta small,.commentary-phrase-copy small { margin-top:4px; color:var(--muted); font-size:7px; }.commentary-mood-badge { justify-self:start; padding:6px 8px; border-radius:999px; background:#eaf2ed; color:var(--green); font-size:7px; font-weight:900; }.commentary-mood-badge.very_boring,.commentary-mood-badge.boring { background:#f1eee8; color:#80613a; }.commentary-mood-badge.entertaining,.commentary-mood-badge.very_entertaining { background:#fff0e8; color:#b5512f; }.commentary-phrase-copy strong { overflow-wrap:anywhere; font-size:9px; font-weight:650; line-height:1.45; }.commentary-weight { color:var(--muted); font-size:8px; text-align:center; }.commentary-row-actions { display:flex; gap:6px; }.commentary-row-actions button { min-height:32px; padding:0 8px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:7px; font-weight:850; cursor:pointer; }.commentary-row-actions button:hover { border-color:var(--green); }
@media(max-width:850px){.commentary-production-intro{align-items:flex-start;flex-direction:column}.commentary-mood-scale{justify-content:flex-start}.commentary-phrase-form{grid-template-columns:1fr 1fr}.commentary-phrase-form>label:nth-of-type(3){grid-column:1/-1}.commentary-variable-box,.commentary-preview-box{grid-column:1/-1}.commentary-library-tools{grid-template-columns:1fr 1fr}.commentary-search-field{grid-column:1/-1}.commentary-phrase-row{grid-template-columns:1fr auto}.commentary-phrase-meta,.commentary-phrase-copy{grid-column:1}.commentary-mood-badge,.commentary-weight,.commentary-row-actions{grid-column:2}.commentary-row-actions{grid-row:1/4;align-self:center;flex-direction:column}}
@media(max-width:560px){.commentary-phrase-form,.commentary-library-tools{grid-template-columns:1fr;padding:16px}.commentary-phrase-form>label,.commentary-text-field,.commentary-library-tools label,.commentary-search-field{grid-column:1}.commentary-form-actions{align-items:stretch;flex-direction:column}.commentary-form-actions>div button{flex:1}.commentary-phrase-row{padding:13px}.commentary-mood-scale span{font-size:7px}}

/* Mi cuenta */
#accountView { max-width:1120px; margin:0 auto; }
.account-local-badge { padding:9px 13px; border:1px solid #d5e1da; border-radius:999px; background:white; color:var(--green); font-size:10px; font-weight:850; }
.account-page-layout { display:grid; grid-template-columns:280px minmax(0,1fr); gap:18px; align-items:start; }
.account-profile-card { padding:28px 24px; text-align:center; }
.account-profile-avatar { display:grid; place-items:center; width:92px; height:92px; margin:0 auto 18px; border-radius:28px; background:var(--lime); color:var(--green); font-size:26px; font-weight:900; box-shadow:0 12px 28px rgba(12,89,63,.12); }
.account-profile-card h2 { margin:0; color:var(--ink); font-size:22px; line-height:1.25; overflow-wrap:anywhere; }
.account-profile-card>p { margin:7px 0 24px; color:var(--muted); font-size:11px; }
.account-profile-meta { padding-top:18px; border-top:1px solid var(--line); text-align:left; }
.account-profile-meta span,.account-profile-meta strong { display:block; }
.account-profile-meta span { color:var(--muted); font-size:9px; }
.account-profile-meta strong { margin-top:5px; color:var(--ink); font-size:11px; }
.account-details-card { overflow:hidden; }
.account-password-card,.account-editorial-card { grid-column:2; overflow:hidden; }
.account-form { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding:23px 24px 8px; }
.account-form label { display:flex; flex-direction:column; gap:7px; color:var(--ink); font-size:11px; font-weight:800; }
.account-form label>span { margin-left:5px; color:var(--muted); font-size:8px; font-weight:600; }
.account-form input,.account-form textarea { width:100%; min-height:46px; padding:0 12px; border:1px solid var(--line); border-radius:10px; outline:none; background:white; color:var(--ink); font-size:12px; }
.account-form textarea { min-height:112px; padding-block:11px; resize:vertical; line-height:1.55; }
.account-form input:focus,.account-form textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }
.account-form input[readonly] { background:#f1f4f2; color:#68766f; cursor:not-allowed; }
.account-form label small { color:var(--muted); font-size:8px; font-weight:500; line-height:1.45; }
.account-form-wide { grid-column:1 / -1; }
.account-form-actions { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:17px; border-top:1px solid var(--line); }
.account-form-actions p { min-height:15px; margin:0; color:var(--muted); font-size:9px; }
.account-form-actions p.error { color:#b94e39; }
.account-form-actions p.success { color:#16734d; }
.account-privacy-note { margin:17px 24px 23px; padding:13px 15px; border-radius:10px; background:#eef5f0; color:var(--muted); font-size:9px; line-height:1.55; }
.account-webmail-link { align-self:center; text-decoration:none; }

/* Administración de usuarios y auditoría */
.admin-audit-heading { align-items:flex-end; }.admin-audit-summary { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }.admin-audit-summary span { min-width:105px; padding:12px 14px; border:1px solid var(--line); border-radius:13px; background:white; color:var(--muted); font-size:8px; text-align:center; }.admin-audit-summary b { display:block; margin-bottom:4px; color:var(--green); font-size:20px; }
.admin-bot-panel { display:grid; grid-template-columns: auto 130px auto; align-items:end; gap:10px; padding:16px 20px; margin-bottom:12px; border:1px solid var(--line); border-radius:14px; background:#f7fbf7; }
.admin-bot-panel label { display:flex; flex-direction:column; gap:7px; color:var(--muted); font-size:8px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.admin-bot-panel input { min-height:40px; width:130px; padding:0 11px; border:1px solid var(--line); border-radius:10px; outline:none; font-size:13px; }
.admin-bot-panel input:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(12,89,63,.1); }
.admin-bot-panel button { min-height:40px; }
.admin-bot-note { margin:0; min-height:18px; color:var(--muted); font-size:8px; line-height:1.5; }
.admin-bot-note.success { color:#16734d; font-weight:850; }
.admin-bot-note.error { color:#b94e39; }
.admin-bot-note__creds { display:block; margin-top:8px; padding:10px 11px; border-radius:9px; border:1px dashed #cedcd5; background:#f6fbf7; color:var(--ink); font-family: ui-monospace,Consolas,monospace; font-size:10px; white-space:pre-wrap; }
.admin-user-audit-panel { overflow:hidden; }.admin-user-audit-panel .admin-privacy-note { margin:0; padding:14px 22px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#f6f8f6; color:var(--muted); font-size:9px; line-height:1.55; }.admin-user-audit-head,.admin-user-audit-row { display:grid; grid-template-columns:minmax(220px,1.25fr) minmax(190px,.9fr) 145px minmax(210px,1fr) 100px; gap:14px; align-items:center; padding:14px 20px; }.admin-user-audit-head { background:#eef3ef; color:var(--muted); font-size:8px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }.admin-user-audit-row { min-height:76px; border-top:1px solid #edf1ee; }.admin-user-audit-row:first-child { border-top:0; }.admin-user-identity { display:flex; align-items:center; gap:11px; min-width:0; }.admin-user-identity .user-avatar { flex:0 0 38px; }.admin-user-identity strong,.admin-user-identity small,.admin-consent-state strong,.admin-consent-state small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.admin-user-identity strong { font-size:11px; }.admin-user-identity small,.admin-user-date,.admin-consent-state small { margin-top:3px; color:var(--muted); font-size:8px; }.admin-audit-role { justify-self:start; padding:6px 8px; border-radius:999px; background:#edf3ef; color:var(--green); font-size:8px; font-weight:850; }.admin-audit-role.admin { background:var(--lime); }.admin-consent-state strong { color:#9b6324; font-size:9px; }.admin-consent-state.accepted strong { color:#14734c; }.admin-consent-state.declined strong { color:#b94e39; }.admin-user-log-button { min-height:34px; padding:0 10px; border:1px solid var(--green); border-radius:9px; background:white; color:var(--green); font-size:8px; font-weight:850; cursor:pointer; }.admin-user-log-button:hover { background:var(--green); color:white; }
.admin-user-audit-row.is-banned{background:#fff5f3}.admin-user-row-actions{display:grid;gap:6px}.admin-user-row-actions button{min-height:34px;padding:0 10px;border-radius:9px;font-size:8px;font-weight:850;cursor:pointer}.admin-user-danger-button{border:1px solid #b63d32;background:#fff;color:#a43128}.admin-user-danger-button:hover{background:#a43128;color:#fff}.admin-user-restore-button{border:1px solid #18734e;background:#edf8f1;color:#12613f}.admin-user-restore-button:hover{background:#12613f;color:#fff}
.admin-section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:6px;border:1px solid var(--line);border-radius:15px;background:#eaf0eb}
.admin-section-tabs button{min-height:48px;padding:10px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--green);font-size:12px;font-weight:900;cursor:pointer}
.admin-section-tabs button.active{border-color:#b8d486;background:#fff;box-shadow:0 5px 15px rgba(19,54,42,.08)}
.admin-tab-panel[hidden],.admin-password-reset-result[hidden]{display:none!important}
.admin-tab-panel>.panel{margin-bottom:15px}
.admin-editorial-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:20px}
.admin-editorial-create-form label{display:grid;gap:6px;color:var(--green);font-size:11px;font-weight:850}
.admin-editorial-create-form input,.admin-editorial-create-form select{min-height:42px;min-width:0;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font-size:13px}
.admin-editorial-create-form p{grid-column:1/-1;margin:0;color:var(--muted);font-size:11px}
.admin-editorial-create-form button{justify-self:start}
.admin-editorial-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}
.admin-editorial-member{display:grid;gap:6px;padding:14px;border:1px solid var(--line);border-radius:11px;background:#fbfdfb}
.admin-editorial-member strong{font-size:14px}.admin-editorial-member small{color:var(--muted);font-size:10px}
.admin-password-reset-result{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 15px;padding:15px;border:1px solid #bddc84;border-radius:12px;background:#f6fbe9}
.admin-password-reset-result strong{font-size:14px}.admin-password-reset-result p{margin:4px 0 0;color:var(--muted);font-size:11px}
.admin-password-reset-result code{padding:9px 11px;border-radius:8px;background:#fff;color:var(--green);font-size:14px;user-select:all}
.admin-password-reset-result button,.admin-log-pager button{min-height:34px;padding:6px 11px;border:1px solid var(--green);border-radius:8px;background:#fff;color:var(--green);font-weight:850;cursor:pointer}
.admin-bot-disclosure{margin:0 0 15px}.admin-bot-disclosure summary{padding:15px 19px;color:var(--green);font-size:12px;font-weight:850;cursor:pointer}.admin-bot-disclosure .admin-bot-panel{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.admin-user-audit-head,.admin-user-audit-row{grid-template-columns:minmax(190px,1.25fr) minmax(180px,.9fr) 120px minmax(185px,1fr) minmax(126px,.7fr)}
.admin-global-audit-list{max-height:620px;overflow:auto}.admin-global-audit-event{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;padding:13px 19px;border-top:1px solid var(--line)}
.admin-global-audit-event time{color:var(--muted);font-size:10px}.admin-global-audit-event strong{display:block;font-size:12px}.admin-global-audit-event small{display:block;margin-top:5px;color:var(--muted);font-size:10px}
.admin-log-pager{display:flex;justify-content:center;align-items:center;gap:12px;padding:15px;border-top:1px solid var(--line);font-size:11px}.admin-log-pager button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:800px){.admin-editorial-team-list{grid-template-columns:1fr}.admin-user-audit-head{display:none}.admin-user-audit-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.admin-global-audit-event{grid-template-columns:1fr}}
@media(max-width:600px){.admin-section-tabs button{font-size:10px;line-height:1.2}.admin-editorial-create-form{grid-template-columns:1fr}.admin-log-pager{gap:6px}.admin-log-pager button{font-size:10px}}
.admin-user-role-control { display:grid; gap:5px; }.admin-user-role-control>small { color:var(--muted); font-size:7px; }.admin-role-select { width:100%; min-height:32px; padding:0 6px; border:1px solid var(--line); border-radius:8px; background:white; color:var(--green); font-size:8px; font-weight:800; }.admin-role-select:disabled { opacity:.55; }.admin-audit-role.editor_chief { background:#fff4cf; color:#96660d; }.admin-audit-role.bot { background:#e8efff; color:#315fa9; }.admin-consent-state.bot strong { color:#315fa9; }.admin-corporate-email { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px; }.admin-corporate-email input { min-width:0; min-height:30px; padding:0 7px; border:1px solid var(--line); border-radius:7px; color:var(--ink); font-size:8px; }.admin-corporate-email button,.admin-corporate-email a { min-height:30px; padding:0 7px; border:1px solid var(--green); border-radius:7px; background:white; color:var(--green); font-size:7px; font-weight:850; text-decoration:none; cursor:pointer; }.admin-corporate-email a { grid-column:1/-1; display:grid; place-items:center; background:#eef5f0; }.admin-corporate-note { color:var(--muted); font-size:7px; line-height:1.35; }
.user-log-modal { position:fixed; inset:0; z-index:190; display:none; place-items:center; padding:24px; }.user-log-modal.open { display:grid; }.user-log-backdrop { position:absolute; inset:0; background:rgba(5,31,23,.72); backdrop-filter:blur(5px); }.user-log-card { position:relative; width:min(940px,96vw); max-height:90dvh; overflow:auto; padding:30px; border-radius:22px; background:var(--paper); box-shadow:0 30px 90px rgba(0,0,0,.35); }.user-log-close { position:sticky; z-index:2; top:0; float:right; display:grid; width:36px; height:36px; place-items:center; border:0; border-radius:50%; background:var(--green); color:white; font-size:20px; cursor:pointer; }.user-log-card h2 { margin:2px 0 6px; font-size:clamp(28px,4vw,44px); }.user-log-intro { margin:0 0 22px; color:var(--muted); font-size:10px; }.user-consent-card { padding:18px; border:1px solid #c9dbc0; border-radius:15px; background:#f6fbe9; }.user-consent-card.missing { border-color:#e2d4c4; background:#fff7ed; }.user-consent-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }.user-consent-head strong { color:var(--green); font-size:13px; }.user-consent-head span { color:var(--muted); font-size:8px; }.user-consent-card>p { margin:12px 0 0; color:#53645d; font-size:9px; line-height:1.6; }.user-consent-proof { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }.user-consent-proof span { padding:6px 8px; border-radius:8px; background:white; color:var(--muted); font-size:7px; }.user-log-section-title { margin:24px 0 10px; color:var(--ink); font-size:18px; }.audit-timeline { overflow:hidden; border:1px solid var(--line); border-radius:15px; background:white; }.audit-event { display:grid; grid-template-columns:115px 96px minmax(0,1fr); gap:13px; padding:13px 15px; border-top:1px solid #edf1ee; }.audit-event:first-child { border-top:0; }.audit-event time,.audit-event>span { color:var(--muted); font-size:8px; }.audit-event>span { font-weight:850; text-transform:uppercase; }.audit-event strong,.audit-event small { display:block; }.audit-event strong { color:var(--ink); font-size:9px; line-height:1.45; }.audit-event small { margin-top:4px; color:var(--muted); font-size:7px; }.audit-empty { padding:28px; color:var(--muted); font-size:9px; text-align:center; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 190px 1fr; }
  .filters { top: 12px; }
  .squad { position: static; grid-column: 1 / -1; }
  .squad-list { min-height: 160px; }
  .scores-layout, .team-grid { grid-template-columns: 1fr; }
  .weekend-matches { grid-template-columns: repeat(2, 1fr); }
  .weekend-match:nth-child(3n) { border-right: 1px solid #edf1ee; }
  .weekend-match:nth-child(2n) { border-right: 0; }
  .story-card { grid-column: span 6; }.story-card.featured { grid-column: span 12; }
  .editor-layout { grid-template-columns: 1fr; }
  .round-manager.panel { grid-template-columns: 1fr; }
  .round-manager-actions { grid-column: auto; }
  .social-layout { grid-template-columns:1fr; }.friends-grid { grid-template-columns:repeat(2,1fr); }.friend-card:nth-child(3n) { border-right:1px solid #edf1ee; }.friend-card:nth-child(2n) { border-right:0; }
  .admin-users-list { grid-template-columns:repeat(2,1fr); }.admin-user-row:nth-child(3n) { border-right:1px solid var(--line); }.admin-user-row:nth-child(2n) { border-right:0; }
  .mode-grid,.friendly-layout,.friendly-accepted-grid { grid-template-columns:1fr; }.points-table { grid-template-columns:repeat(2,1fr); }.points-table>div:nth-child(3n) { border-right:1px solid var(--line); }.points-table>div:nth-child(2n) { border-right:0; }
  .legend-draft-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .legend-draft-group:nth-child(2n) { border-right:0; }
}
@media (max-width: 720px) {
  .topbar { height: auto; flex-wrap: wrap; padding: 14px 18px 0; }
  .topbar nav { order: 3; width: 100%; height: 46px; overflow-x: auto; }
  .topbar-account { margin-left:auto; }.account-button-copy { display:none; }.account-pill { padding-right:8px; }.logout-button { display:none; }
  main { padding: 28px 14px 50px; }
  .hero { align-items: stretch; flex-direction: column; }
  .budget-card { min-width: 0; }
  .rule-strip { grid-template-columns: 1fr; }
  .rule-strip > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .workspace { grid-template-columns: 1fr; }
  .filters, .squad { position: static; grid-column: auto; }
  .favorite-control { grid-template-columns: minmax(0, 1fr) auto; }
  .save-favorite { min-width: 82px; }
  .filters fieldset { display: grid; grid-template-columns: 1fr 1fr; }
  .player-list-head { grid-template-columns: 32px minmax(105px,1fr) 46px 52px 32px; padding-inline: 12px; }
  .player-list-head span:nth-child(3) { display: none; }
  .player-list-head span:nth-child(5) { grid-column: 4; }
  .player-list-head span:nth-child(6) { grid-column: 5; }
  .player-list { max-height: 62vh; }
  .player-row { grid-template-columns: 34px minmax(100px, 1fr) 34px 42px 34px; padding-inline: 12px; }
  .position { display: none; }
  .availability { display: none; }
  .page-heading { align-items: stretch; flex-direction: column; }.social-heading-actions { flex-wrap:wrap; }.invite-friends-button { flex:1; }
  .legend-draft-preview .section-head { align-items:stretch; }
  .legend-draft-preview .section-head label { width:100%; }
  .legend-draft-summary { align-items:flex-start; flex-direction:column; }
  .legend-draft-groups { grid-template-columns:1fr; }
  .legend-draft-group,.legend-draft-group:nth-child(2n) { border-right:0; border-bottom:1px solid var(--line); }
  .legend-draft-group:last-child { border-bottom:0; }
  .team-name-heading { font-size: clamp(29px, 10vw, 40px) !important; }
  .team-name-form > div { flex-direction: column; }
  .team-name-form button { width: 100%; }
  .points-card { min-width: 0; }
  .full-player { grid-template-columns: 32px 1fr 56px; }
  .full-player .round-points, .purchase-meta { display: none; }
  .round-manager.panel { gap: 16px; padding: 18px; }
  .round-manager-metrics { grid-template-columns: 1fr; }
  .round-manager-actions { align-items: stretch; flex-direction: column; padding-top: 15px; }
  .round-window { width: 100%; margin: 0 0 2px; }
  .round-manager-actions button { width: 100%; }
  .scores-layout { grid-template-columns: 1fr; }
  .nav-editor { display:none; }
  .news-masthead { align-items:flex-start; flex-direction:column; }.edition-stamp { display:none; }
  .news-masthead h1 { font-size:72px; }.news-section-head > span { display:none; }
  .news-leads { grid-template-columns:1fr; }.news-lead-card.position-1 { grid-column:auto; }.weekend-matches { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .story-card,.story-card.featured { grid-column:1/-1; display:block; }.news-title-row h2 { font-size:35px; }
  .form-grid { grid-template-columns:1fr; }.field.span-2 { grid-column:auto; }.form-actions { flex-direction:column; }.story-modal-card { padding:42px 24px; }.story-modal-card h2 { font-size:36px; }.ratings-list { grid-template-columns:1fr; }
  .auth-shell { padding:18px; }.auth-brand { position:static; margin:0 auto 14px; }.auth-card { margin:0; padding:25px 20px; }.auth-card h1 { font-size:38px; }.friends-grid { grid-template-columns:1fr; }.friend-card,.friend-card:nth-child(2n),.friend-card:nth-child(3n) { border-right:0; }.social-user { grid-template-columns:38px minmax(100px,1fr); }.social-user .social-actions { grid-column:1/-1; justify-content:flex-start; }.social-profile-card { min-width:0; }
  .fantasy-ranking-head,.fantasy-ranking-row { grid-template-columns:38px minmax(145px,1fr) 64px 78px; gap:7px; padding:14px 10px; }.fantasy-ranking-head { font-size:9px; }.fantasy-position { font-size:20px; }.fantasy-player .user-avatar { display:none; }.fantasy-player-info strong { font-size:14px; }.fantasy-player-info small { font-size:10px; }.fantasy-round { font-size:10px; }.fantasy-score { gap:4px; }.fantasy-last-round { font-size:9px; }.fantasy-points { font-size:14px; }
  .lineup-head-actions { align-items:flex-end; flex-direction:column; }.lineup-group>header { align-items:flex-start; flex-direction:column; gap:5px; }.lineup-group>header small { text-align:left; }.lineup-player { grid-template-columns:30px minmax(70px,1fr) 38px 38px 68px; gap:4px; padding:8px; }.lineup-player .captain-controls,.lineup-player .bench-order { grid-column:2/5; grid-row:2; justify-content:flex-start; }.lineup-player .lineup-toggle { grid-column:5; grid-row:1; }
  .rules-grid,.setup-fields,.points-table,.next-season-rules-grid { grid-template-columns:1fr; }.next-season-rules-head { align-items:flex-start; flex-direction:column; }.next-season-rules-grid article,.next-season-rules-grid article:last-child { border-right:0; }.friendly-tactic-field { grid-column:auto; }.friendly-form-actions { align-items:stretch; flex-direction:column; }.friendly-form-actions .primary-action { width:100%; }.online-legend { align-self:flex-start; }.points-table>div,.points-table>div:nth-child(2n),.points-table>div:nth-child(3n) { border-right:0; }
  .friendly-lineup-builder,.friendly-live-body,.friendly-lineups-grid,.friendly-history-list { grid-template-columns:1fr; }.friendly-lineup-guide { margin-top:0; }.friendly-pitch { min-height:470px; }.friendly-tactical-summary { border-right:0; border-bottom:1px solid var(--line); }.friendly-scoreboard { gap:8px; }.friendly-score { font-size:31px; }.friendly-score-team strong { font-size:11px; }.friendly-history-item { border-right:0; }.friendly-history-item>footer { align-items:flex-start; flex-direction:column; }.friendly-history-item>footer>div { width:100%; }.friendly-history-item>footer button { flex:1; }.friendly-match-lineups { padding:18px; }
  .admin-users-list { grid-template-columns:1fr; }.admin-user-row,.admin-user-row:nth-child(2n),.admin-user-row:nth-child(3n) { border-right:0; }
  .account-page-layout,.account-form,.production-grid,.personnel-form { grid-template-columns:1fr; }.account-form-wide { grid-column:auto; }.account-form-actions { align-items:stretch; flex-direction:column; }.account-form-actions .primary-action { width:100%; }.account-profile-card { padding:22px; }.production-summary { align-self:flex-start; }.personnel-form { padding:18px 18px 10px; }.production-note { margin-inline:18px; }
  .account-password-card,.account-editorial-card { grid-column:auto; }
}
@media (max-width: 430px) {
  .friendly-history-plans { grid-template-columns:1fr; }.friendly-history-item { padding:16px; }.friendly-history-score { gap:7px; }.friendly-history-score>b { font-size:20px; }.friendly-event { grid-template-columns:28px 32px 1fr; gap:7px; }
  .favorite-control { grid-template-columns: 1fr; }
  .player-list-head { grid-template-columns:26px minmax(74px,1fr) 30px 28px 34px 44px 28px; gap:4px; padding-inline:8px; }
  .player-list-head span:nth-child(3) { display:block; }
  .player-list-head span:nth-child(5), .player-list-head span:nth-child(6) { grid-column:auto; }
  .player-row { grid-template-columns:26px minmax(74px,1fr) 30px 28px 34px 44px 28px; gap:4px; padding-inline:8px; }
  .player-row .position { display:block; font-size:8px; }
  .player-row .overall { display:grid; width:34px; font-size:10px; }
  .player-row .price { font-size:9px; }
  .player-row .add-player { width:28px; }
}
.market-rules { margin:34px 0 24px; overflow:hidden; border:1px solid #cadbcf; border-radius:20px; background:white; box-shadow:var(--shadow); }
.market-rules[hidden] { display:none !important; }
.market-rules-top { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:20px 24px; background:#eef5f0; }
.market-rules-top h2 { margin:0; font:500 27px Georgia,serif; }
.market-rules-top p:last-child { margin:5px 0 0; color:var(--muted); font-size:13px; }
.market-rules-actions { display:flex; gap:8px; flex:0 0 auto; }
.market-rules-actions button { min-height:38px; padding:0 13px; border:1px solid var(--green); border-radius:9px; background:var(--green); color:white; font-size:11px; font-weight:800; cursor:pointer; }
.market-rules-actions button:last-child { background:white; color:var(--green); }
.position-composition { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }.position-composition>strong { display:block; margin-bottom:10px; font:500 20px Georgia,serif; }.position-progress { display:grid; gap:7px; }.position-progress-item { display:grid; grid-template-columns:34px 30px 1fr; align-items:center; gap:7px; width:100%; padding:8px 9px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--muted); cursor:pointer; text-align:left; }.position-progress-item>span { font-size:9px; font-weight:850; }.position-progress-item>strong { color:var(--ink); font-size:10px; }.position-progress-item>i { height:5px; overflow:hidden; border-radius:5px; background:#e8eeea; }.position-progress-item>i>b { display:block; height:100%; border-radius:inherit; background:var(--lime); }.position-progress-item.active { border-color:var(--green); background:#eef6f1; color:var(--green); }
.mode-card p,.rule-card p { font-size:13px; }
.setup-fields label { font-size:12px; }
.rule-card ul { padding-left:20px; font-size:13px; line-height:1.85; }
.points-table strong { font-size:13px; }
.points-table span { font-size:12px; }
@media (min-width:1450px) {
  .section-head h2 { font-size:26px; }
  .filters label,legend { font-size:13px; }
  .hint,.data-status { font-size:11px; }
  .filter-chip { font-size:12px; }
  .player-info strong { font-size:14px; }
  .player-info small,.position { font-size:11px; }
  .price { font-size:12px; }
}
@media (max-width:720px) {
  .market-rules-top { align-items:stretch; flex-direction:column; padding:18px; }
  .market-rules-actions { flex-wrap:wrap; }
  .market-rules-actions button { flex:1; }
}
.nav-editor { display: none; }
body.is-editorial:not(.is-admin) .nav-editor { display: inline-flex; }

/* Menú superior visible en pantallas angostas */
@media (max-width:1360px) {
  .topbar { height:auto; min-height:76px; flex-wrap:wrap; align-content:flex-start; gap:8px 14px; padding-top:10px; padding-bottom:8px; }
  .brand>img { width:clamp(104px,13vw,136px); max-height:42px; }
  .topbar-account { margin-left:auto; }
  .topbar nav { order:3; flex:0 0 100%; width:100%; min-height:36px; height:auto; align-self:auto; flex-wrap:wrap; gap:5px 6px; overflow:visible; padding-top:2px; }
  .nav-item { min-height:32px; padding:0 10px; border:1px solid rgba(255,255,255,.16); border-bottom-color:rgba(255,255,255,.16); border-radius:999px; background:rgba(255,255,255,.04); font-size:11px; }
  .nav-item.active { border-color:var(--lime); background:rgba(217,255,86,.13); color:white; }
  .nav-count:not(:empty) { margin-left:4px; }
}

@media (max-width:520px) {
  .topbar { padding-inline:10px; }
  .brand-fantasy-tag,.round-pill { display:none; }
  .account-pill { min-height:34px; }
  .account-pill>span:first-child { width:27px; height:27px; flex-basis:27px; }
  .topbar nav { gap:4px; }
  .nav-item { min-height:30px; padding-inline:8px; font-size:10px; }
}

/* Ajuste fluido para monitores, notebooks y pantallas pequeñas */
@media (max-width:1180px) {
  .topbar { gap:14px; }
  .nav-item { padding-inline:10px; font-size:12px; }
  .round-pill { gap:7px; padding-inline:10px; font-size:11px; }
  .filters { top:88px; }
}

@media (max-width:720px) {
  :root { --page-gutter:14px; }
  .topbar { gap:10px; padding:10px 12px 0; }
  .brand { gap:7px; font-size:16px; }
  .brand-ball { width:30px; height:30px; border-radius:9px; font-size:15px; }
  .topbar-account { gap:5px; }
  .round-pill { gap:5px; padding:6px 8px; font-size:10px; }
  main { padding-top:26px; padding-bottom:46px; }
  h1 { font-size:clamp(36px,12vw,52px); }
  .section-head { align-items:flex-start; gap:10px; flex-wrap:wrap; }
  .section-head h2 { font-size:clamp(20px,6vw,24px); }
  .player-list-head,
  .player-row { grid-template-columns:30px minmax(110px,1fr) 40px 34px 44px 54px 32px; gap:5px; padding-inline:10px; }
  .player-list-head span:nth-child(3) { display:block; }
  .player-list-head span:nth-child(5),
  .player-list-head span:nth-child(6) { grid-column:auto; }
  .player-row .position { display:block; font-size:9px; text-align:center; }
  .player-row .player-age { font-size:9px; }
  .player-row .overall { width:36px; height:28px; font-size:10px; }
  .player-row .price { font-size:9px; }
  .player-row .add-player { width:30px; height:30px; }
  .news-masthead h1 { font-size:clamp(48px,17vw,72px); }
  .weekend-matches { grid-template-columns:1fr; }.weekend-match { border-right:0; }.news-lead-kicker { align-items:flex-start; flex-direction:column; gap:6px; }.news-lead-score { grid-template-columns:1fr; gap:9px; }.news-lead-score .away-team { justify-content:flex-start; text-align:left; }.news-lead-score .away-team b { order:2; }.news-lead-score .away-team .crest { order:1; }.news-lead-score .crest { width:30px; height:30px; }.news-lead-score>strong { padding-left:39px; font-size:29px; }.homepage-editor .section-head { align-items:flex-start; flex-direction:column; }.homepage-editor .section-head button { width:100%; }.homepage-editor-row { grid-template-columns:30px minmax(0,1fr); }.homepage-editor-row>div:last-child { grid-column:2; }
  .news-feed { padding-top:38px; }
  .friendly-match-modal { padding:0; }
  .friendly-match-card { width:100%; max-height:100dvh; border-radius:0; }
  .friendly-live-head { padding:58px 14px 18px; }
  .friendly-score-events { gap:3px; margin-top:7px; }
  .friendly-score-events span { padding:3px 5px; font-size:8px; }
  .friendly-pitch { min-height:clamp(420px,135vw,500px); }
  .friendly-pitch-slot { width:24%; min-width:58px; }
  .friendly-pitch-slot select { padding-inline:5px 16px; font-size:7px; }
  .friendly-lineup-player { grid-template-columns:30px minmax(0,1fr) minmax(68px,auto); padding-inline:9px; }
  .privacy-registration-notice>div { align-items:flex-start; flex-direction:column; gap:4px; }
  .privacy-acceptance span { font-size:8px; }
  .admin-audit-heading { align-items:stretch; }
  .admin-audit-summary { justify-content:stretch; }
  .admin-audit-summary span { flex:1; min-width:90px; }
  .admin-bot-panel { grid-template-columns:1fr auto; }
  .admin-bot-panel input { width:100%; }
  .editor-workflow-summary { grid-template-columns:1fr 1fr; }
  .editor-workflow-summary span:nth-child(2) { border-right:0; }
  .editor-workflow-summary span:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .editor-workflow-guide { align-items:flex-start; flex-wrap:wrap; }
  .editor-workflow-guide b { width:100%; margin:0 0 3px; }
  .form-grid { grid-template-columns:1fr; padding:16px; }
  .field.span-2 { grid-column:span 1; }
  .form-actions { align-items:stretch; flex-direction:column-reverse; padding:0 16px 18px; }
  .admin-user-audit-head { display:none; }
  .admin-user-audit-row { grid-template-columns:minmax(0,1fr) auto; gap:10px; padding:15px; }
  .admin-user-identity { grid-column:1/-1; }
  .admin-audit-role,.admin-user-date { justify-self:start; }
  .admin-consent-state { grid-column:1; }
  .admin-user-row-actions { grid-column:2; align-self:end; }
  .user-log-modal { padding:0; }
  .user-log-card { width:100%; max-height:100dvh; min-height:100dvh; padding:22px 16px; border-radius:0; }
  .audit-event { grid-template-columns:88px minmax(0,1fr); }
  .audit-event>span { grid-column:1; }
  .audit-event>div { grid-column:2; grid-row:1/3; }
  .user-consent-head { flex-direction:column; gap:5px; }
}

@media (min-width:721px) and (max-width:980px) {
  .admin-user-audit-head,.admin-user-audit-row { grid-template-columns:minmax(190px,1.15fr) minmax(170px,.95fr) 115px minmax(170px,1fr) 82px; gap:9px; padding-inline:14px; }
}

@media (max-width:430px) {
  .round-pill span { display:none; }
  .account-pill { min-height:36px; }
  .page-heading { gap:18px; margin-bottom:22px; }
  .page-heading h1 { font-size:clamp(30px,11vw,40px); }
  .page-heading > div > p:last-child,
  .hero > div > p:last-child { font-size:13px; }
  .player-list-head,
  .player-row { grid-template-columns:26px minmax(74px,1fr) 30px 28px 34px 44px 28px; gap:4px; padding-inline:8px; }
  .player-list-head { font-size:7px; letter-spacing:0; }
  .player-row .overall { width:34px; }
  .friendly-scoreboard { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:6px; }
  .friendly-score { font-size:28px; }
  .friendly-score-team strong { font-size:10px; }
  .friendly-score-team small { font-size:8px; }
  .friendly-score-events span { max-width:105px; font-size:7px; }
  .friendly-commentary,
  .friendly-tactical-summary,
  .friendly-match-lineups { padding:15px; }
}

@media (max-width:360px) {
  .topbar { padding-inline:9px; }
  .brand { font-size:14px; }
  .brand-ball { width:28px; height:28px; }
  .player-list-head,
  .player-row { grid-template-columns:24px minmax(60px,1fr) 27px 24px 30px 40px 26px; gap:3px; padding-inline:6px; }
  .player-list-head { font-size:6px; }
  .player-row .position,
  .player-row .player-age,
  .player-row .price { font-size:8px; }
  .player-row .overall { width:30px; height:26px; font-size:9px; }
  .player-row .add-player { width:26px; height:26px; }
}

@media(max-width:560px){.match-sound-toggle{top:58px;right:12px;min-width:36px;min-height:36px;justify-content:center;padding:0 8px}.match-sound-toggle b{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.friendly-countdown .match-sound-toggle{top:14px;right:108px}}

/* Cobertura especial: Partido de la Fecha */
.lineup-editor{grid-column:span 2;margin:0;padding:18px;border:1px solid var(--line);border-radius:14px}.lineup-editor legend{padding:0 8px;color:var(--green);font:600 18px Georgia,serif}.lineup-editor>p{margin:0 0 14px;color:var(--muted);font-size:9px;line-height:1.6}.lineup-editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.featured-story-control{display:flex;align-items:center;gap:11px;padding:14px;border:1px solid #c7df45;border-radius:12px;background:#f7fbdc;cursor:pointer}.featured-story-control input{width:18px;height:18px;accent-color:var(--green)}.featured-story-control span,.featured-story-control b,.featured-story-control small{display:block}.featured-story-control small{margin-top:3px;color:var(--muted);font-size:8px}.featured-match-label{display:inline-block;margin-right:10px;padding:6px 9px;border-radius:999px;background:var(--lime);color:var(--green);font-size:8px;font-weight:950;letter-spacing:.1em}.story-tabs{display:flex;gap:6px;margin:0 0 26px;padding:5px;border-radius:12px;background:#e8eee9}.story-tabs button{flex:1;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:9px;font-weight:900;cursor:pointer}.story-tabs button.active{background:white;color:var(--green);box-shadow:0 2px 8px rgba(8,48,35,.09)}.story-tabs button:disabled{opacity:.4;cursor:not-allowed}.story-tab-panel{display:none}.story-tab-panel.active{display:block}.classic-match-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(330px,1.3fr);gap:20px;align-items:start}.mini-pitch{position:relative;min-height:560px;overflow:hidden;border:4px solid white;border-radius:10px;background:#2e8b57;box-shadow:0 0 0 1px #cbd9cf}.mini-pitch:before{content:"";position:absolute;inset:50% 0 auto;border-top:2px solid rgba(255,255,255,.75)}.mini-pitch:after{content:"";position:absolute;left:50%;top:50%;width:76px;height:76px;border:2px solid rgba(255,255,255,.75);border-radius:50%;transform:translate(-50%,-50%)}.pitch-half{position:relative;z-index:1;display:flex;height:280px;flex-direction:column;justify-content:space-around;padding:12px 7px}.pitch-line{display:flex;justify-content:space-around;gap:3px}.pitch-line span{display:grid;width:48px;min-height:38px;padding:5px 3px;place-items:center;border-radius:8px;background:white;color:var(--green);text-align:center;box-shadow:0 2px 6px rgba(0,0,0,.18)}.pitch-line b{max-width:44px;overflow:hidden;font-size:7px;text-overflow:ellipsis}.pitch-line small{color:var(--orange);font-size:8px;font-weight:900}.match-sheets{display:grid;gap:16px}.match-sheet{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:white}.match-sheet h4{margin:0;padding:13px;background:var(--green);color:white;font:600 18px Georgia,serif}.sheet-heading,.sheet-player{display:grid;grid-template-columns:minmax(110px,1fr) 34px 55px 34px;gap:7px;align-items:center;padding:9px 11px}.sheet-heading{color:var(--muted);font-size:7px;font-weight:900;text-transform:uppercase}.sheet-player{border-top:1px solid #edf1ee;font-size:9px}.sheet-player>span:first-child b,.sheet-player>span:first-child small{display:block}.sheet-player>span:first-child small{margin-top:2px;color:var(--muted);font-size:7px}.sheet-player.reserva{background:#f6f7f5}.sheet-player>strong{color:var(--green);font-size:12px;text-align:right}.player-change{font-weight:900}.player-change.down{color:#c84238}.player-change.up{color:#168956}.lineup-empty{padding:18px;border:1px dashed var(--line);color:var(--muted);font-size:9px;text-align:center}.player-ratings-editorial{display:grid;grid-template-columns:1fr 1fr;gap:9px}.player-ratings-editorial article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:white}.player-ratings-editorial span b,.player-ratings-editorial span small{display:block}.player-ratings-editorial span small{margin-top:3px;color:var(--muted);font-size:7px}.player-ratings-editorial strong{display:grid;width:38px;height:32px;place-items:center;border-radius:8px;background:var(--lime);color:var(--green);font-size:13px}
@media(max-width:760px){.lineup-editor,.featured-story-control{grid-column:auto}.lineup-editor-grid,.classic-match-layout,.player-ratings-editorial{grid-template-columns:1fr}.story-tabs{overflow-x:auto}.story-tabs button{min-width:115px}.mini-pitch{min-height:500px}.pitch-half{height:250px}}

/* Lectura accesible y entretiempo de amistosos */
.friendly-countdown-crew span{padding:9px 12px;font-size:11px}.friendly-countdown-preview{max-width:760px}.friendly-countdown-preview p{grid-template-columns:26px 1fr;padding:13px 16px;font-size:13px;line-height:1.55}.friendly-countdown small{max-width:680px;font-size:13px}.friendly-tactical-summary h3,.friendly-commentary h3{font-size:19px}.friendly-tactical-team{padding:15px}.friendly-tactical-team strong{font-size:14px}.friendly-tactical-team span{margin-top:7px;font-size:12px;line-height:1.5}.friendly-match-officials{padding:14px}.friendly-match-officials span{font-size:10px}.friendly-match-officials b{font-size:12px;line-height:1.45}.friendly-match-stats>div{min-height:40px}.friendly-match-stats b{font-size:14px}.friendly-match-stats span{font-size:12px}.friendly-event{grid-template-columns:38px 48px 1fr;gap:12px;padding:14px 4px}.friendly-event>b{font-size:14px}.friendly-event p,.friendly-event.goal p{font-size:14px;line-height:1.6}.friendly-event-team{font-size:10px}.friendly-event.yellow p,.friendly-event.red p{font-size:12px}.friendly-score small{display:block;margin-top:7px;color:white;font-size:12px;text-align:center}.friendly-halftime{padding:24px 30px;border-block:1px solid rgba(206,240,54,.5);background:#103e31;color:white;text-align:center}.friendly-halftime>span{color:var(--lime);font-size:10px;font-weight:950;letter-spacing:.12em}.friendly-halftime h3{margin:8px 0 10px;font:600 25px Georgia,serif}.friendly-halftime p{max-width:780px;margin:0 auto;color:rgba(255,255,255,.86);font-size:14px;line-height:1.65}.friendly-halftime strong{display:inline-block;margin-top:13px;padding:7px 11px;border-radius:999px;background:var(--lime);color:var(--green);font-size:11px}

/* Carga automática de la planilla editorial */
.lineup-autofill-button{width:100%;padding:12px 14px;border:1px solid var(--green);border-radius:10px;background:#edf5f0;color:var(--green);font-size:10px;font-weight:900;cursor:pointer}.lineup-autofill-button:hover{background:var(--green);color:white}#lineupAutofillStatus.success{color:#187a52;font-weight:800}#lineupAutofillStatus.error{color:#b44335;font-weight:800}.lineup-editor.has-autofill:not(.show-raw) .lineup-editor-grid{display:none}.lineup-rating-editor{margin-top:15px}.lineup-rating-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px 14px;border-radius:10px;background:#eef4f0}.lineup-rating-head strong,.lineup-rating-head span{display:block}.lineup-rating-head strong{color:var(--green);font-size:13px}.lineup-rating-head span{margin-top:3px;color:var(--muted);font-size:9px}.lineup-rating-head button{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:8px;font-weight:850;cursor:pointer}.lineup-rating-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px}.lineup-rating-groups section{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:white}.lineup-rating-groups h4{margin:0;padding:11px 13px;background:var(--green);color:white;font-size:12px}.lineup-rating-groups label{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:8px;align-items:center;padding:9px 11px;border-top:1px solid #edf1ee}.lineup-rating-groups label span b,.lineup-rating-groups label span small{display:block}.lineup-rating-groups label span b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.lineup-rating-groups label span small{margin-top:3px;color:var(--muted);font-size:7px}.lineup-rating-groups input{width:46px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;text-align:center;font-size:12px;font-weight:900}.lineup-rating-groups input:focus{border-color:var(--green);outline:3px solid rgba(12,89,63,.1)}@media(max-width:760px){.lineup-rating-groups{grid-template-columns:1fr}.lineup-rating-head{align-items:flex-start;flex-direction:column}}
.editor-char-count{align-self:flex-end;padding:4px 8px;border-radius:999px;font-size:9px!important;font-weight:900!important}.editor-char-count.invalid{background:#fff0ed;color:#ba3d31!important}.editor-char-count.valid{background:#e8f5ed;color:#18784f!important}
.editor-story-actions button.edit-note{border-color:var(--green);background:var(--green);color:white}

/* Central de partidos de Liga */
.league-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:-12px 0 18px;padding:7px;border:1px solid var(--line);border-radius:16px;background:#eaf0ec}.league-tabs button{display:flex;min-height:52px;align-items:center;justify-content:center;gap:9px;padding:10px 16px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-size:12px;font-weight:900;cursor:pointer}.league-tabs button>span{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:rgba(12,89,63,.09);color:var(--green);font-size:10px}.league-tabs button>b{display:grid;min-width:22px;height:22px;padding:0 5px;place-items:center;border-radius:999px;background:#dce6df;color:var(--green);font-size:8px}.league-tabs button.active{background:white;color:var(--green);box-shadow:0 5px 16px rgba(7,48,33,.1)}.league-tabs button.active>span{background:var(--green);color:white}.league-tab-panel{display:none!important}.league-tab-panel.active{display:block!important}.league-tab-panel[hidden]{display:none!important}
.league-viewing-center,.league-match-center{margin-bottom:18px}.league-viewing-center .section-head>div>p:last-child,.league-match-center .section-head>div>p:last-child{max-width:720px;margin:6px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.league-engine-tag{padding:7px 10px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:8px;font-weight:900}.league-watch-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}.league-watch-options label{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafcfb;cursor:pointer}.league-watch-options input{margin-top:3px;accent-color:var(--green)}.league-watch-options span,.league-watch-options b,.league-watch-options small{display:block}.league-watch-options b{font-size:12px}.league-watch-options small{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.5}.league-watch-options label:has(input:checked){border-color:var(--green);background:#edf7f1;box-shadow:0 0 0 3px rgba(12,89,63,.06)}.league-view-formats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.league-view-formats article{padding:17px 18px;border-right:1px solid var(--line)}.league-view-formats article:last-child{border-right:0}.league-view-formats span,.league-view-formats b,.league-view-formats small{display:block}.league-view-formats span{color:var(--green);font-size:7px;font-weight:950;letter-spacing:.08em}.league-view-formats b{margin-top:7px;font:500 17px Georgia,serif}.league-view-formats small{margin-top:5px;color:var(--muted);font-size:8px;line-height:1.5}.league-match-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.league-match-item{padding:18px;border-top:1px solid var(--line);border-right:1px solid var(--line)}.league-match-item:nth-child(2n){border-right:0}.league-match-item>div,.league-match-item>footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.league-match-item>div span{color:var(--green);font-size:7px;font-weight:950;letter-spacing:.08em}.league-match-item>div time{color:var(--muted);font-size:8px}.league-match-item>section{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:center;margin:18px 0;text-align:center}.league-match-item p,.league-match-item strong,.league-match-item small{display:block;margin:0}.league-match-item strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.league-match-item small{margin-top:4px;color:var(--muted);font-size:8px}.league-match-item>section>b{color:var(--green);font-size:25px}.league-match-item>footer{justify-content:flex-end}.league-match-item button{padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:8px;font-weight:900;cursor:pointer}.league-match-item button.primary{border-color:var(--green);background:var(--green);color:white}.league-base-actions{margin-top:0}
.league-form-grid{padding:16px 18px}.league-form-grid .field{background:white}.league-weekday-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px}.league-weekday-grid label{display:flex;gap:8px;align-items:center;padding:8px 9px;border:1px solid var(--line);border-radius:8px;background:#f8fbf8}.league-weekday-grid input{margin:0}.league-weekday-grid-wrapper legend{font-size:8px;font-weight:900;color:var(--muted)}.league-form-message{min-height:17px;margin:2px 2px 0;color:var(--muted);font-size:9px}.league-form-message.success{color:#197c54}.league-form-message.error{color:#b43d31}
.league-list-grid{border-top:1px solid var(--line)}.league-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;border-top:1px solid var(--line);padding:14px 16px;gap:7px 12px}.league-list-item:nth-child(2n){background:#fafdfb}.league-list-item header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.league-list-item header div{min-width:0}.league-list-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;color:var(--ink)}.league-list-item p,.league-list-item small{display:block;margin:0;color:var(--muted)}.league-list-item p{font-size:10px}.league-list-item header span{padding:4px 7px;border-radius:999px;background:#f3f6f3;color:var(--muted);font-size:8px}
.league-invitations{border-top:1px solid var(--line)}.league-invitation-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border-bottom:1px solid var(--line)}.league-invitation-item strong,.league-invitation-item small{display:block}.league-invitation-item small{margin-top:4px;color:var(--muted);font-size:9px}.league-invitation-item>div:last-child{display:flex;gap:8px}.league-invitation-item button,.league-plan-button,.league-admin-actions button{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);font-size:8px;font-weight:900;cursor:pointer}.league-invitation-item button.primary,.league-admin-actions button.primary{border-color:var(--green);background:var(--green);color:#fff}.league-list-item{display:block;padding:18px}.league-list-item>*+*{margin-top:9px}.league-list-item header span.league-status{white-space:nowrap}.league-status.running{background:#e4f6eb;color:#087044}.league-status.completed{background:#edf0ef;color:#53615b}.league-next-round{padding:9px 11px;border-radius:8px;background:#edf7f1;color:var(--green);font-size:9px;font-weight:850}.league-members{display:flex;flex-wrap:wrap;gap:7px}.league-members>span{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:9px;font-weight:800}.league-members>span.bot{background:#f4f1fb;border-color:#ded5ef}.league-members small{margin-top:2px;font-size:7px;font-weight:600}.league-plan-button{margin-top:12px;background:#f8fbf9}.league-admin-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid var(--line)}.league-admin-actions label{display:grid;gap:4px;min-width:210px}.league-admin-actions label span{font-size:8px;font-weight:900}.league-admin-actions select{min-height:34px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:white;font-size:9px}.league-admin-actions button.live{background:#d65a35;border-color:#d65a35}.league-admin-actions button:disabled,.league-match-item button:disabled{cursor:not-allowed;opacity:.48}.league-table-wrap{overflow:auto;margin-top:14px;border:1px solid var(--line);border-radius:10px;background:#fff}.league-table{width:100%;border-collapse:collapse;font-size:9px}.league-table th,.league-table td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:center}.league-table th:nth-child(2),.league-table td:nth-child(2){text-align:left}.league-table td strong{font-size:9px}.league-table td small{font-size:7px}.league-table tr.current{background:#edf7f1}.league-match-item.live{box-shadow:inset 4px 0 #d65a35}.league-match-item.live>div span{color:#d65a35}
.league-list-grid{border-top:1px solid var(--line)}
.league-list-item{display:block;padding:0;overflow:hidden}
.league-list-item summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:14px 16px;border-top:1px solid var(--line);align-items:center;list-style:none;cursor:pointer}
.league-list-item summary::-webkit-details-marker{display:none}
.league-list-item[open] summary{background:#fbfefe}
.league-list-item summary:focus-visible{outline:2px solid rgba(12,89,63,.22);outline-offset:-2px}
.league-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.league-summary>div{min-width:0}
.league-summary-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}
.league-summary-meta p{font-size:10px}
.league-summary-meta .league-archive-summary{padding:4px 9px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:8px;font-weight:900}
.league-list-item header span{padding:4px 7px;border-radius:999px;background:#f3f6f3;color:var(--muted);font-size:8px}
.league-list-body{padding:0 16px 16px;display:grid;gap:9px}
.league-list-item p,.league-list-item small{display:block;margin:0;color:var(--muted)}
.league-status.running{background:#e4f6eb;color:#087044}
.league-status.completed{background:#edf0ef;color:#53615b}
.league-next-round{padding:9px 11px;border-radius:8px;background:#edf7f1;color:var(--green);font-size:9px;font-weight:850}
.league-members{display:flex;flex-wrap:wrap;gap:7px}
.league-members>span{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:9px;font-weight:800}
.league-members>span.bot{background:#f4f1fb;border-color:#ded5ef}
.league-members small{margin-top:2px;font-size:7px;font-weight:600}
.league-plan-button{margin-top:12px;background:#f8fbf9}
.league-mention{padding:1px 4px;border-radius:5px;background:#e4f6eb;color:#075f3e;font-weight:900}.league-mention-picker{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:-5px}.league-mention-picker>span{color:var(--muted);font-size:8px;font-weight:850}.league-mention-picker button{padding:5px 8px;border:1px solid #bfd8ca;border-radius:999px;background:#f5faf7;color:var(--green);font-size:8px;font-weight:900;cursor:pointer}.league-mention-picker button:hover{background:#e4f6eb}
.league-standings-section{margin-top:16px;padding-top:16px;border-top:2px solid var(--green)}.league-standings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.league-standings-head span,.league-standings-head strong{display:block}.league-standings-head span{color:var(--green);font-size:8px;font-weight:950;letter-spacing:.1em}.league-standings-head strong{margin-top:5px;font:600 20px Georgia,serif}.league-standings-head small{color:var(--muted);font-size:9px}.league-standings-section .league-table-wrap{margin-top:10px}.league-standings-section .league-table{font-size:11px}.league-standings-section .league-table th,.league-standings-section .league-table td{padding:11px}.league-standings-section .league-table td strong{font-size:11px}.league-standings-section .league-table td small{font-size:8px}
.league-prepare-button{border-color:#0c593f!important;background:#edf7f1!important}.league-prepare-button.saved{background:#0c593f!important;color:#fff!important}.league-plan-modal{position:fixed;inset:0;z-index:190;display:none;padding:18px}.league-plan-modal.open{display:grid;place-items:center}.league-plan-backdrop{position:absolute;inset:0;background:rgba(3,24,17,.72);backdrop-filter:blur(4px)}.league-plan-card{position:relative;z-index:1;width:min(1120px,96vw);max-height:94vh;overflow:auto;padding:26px;border-radius:20px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.28)}.league-plan-close{position:absolute;z-index:3;top:14px;right:14px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--green);font-size:24px;cursor:pointer}.league-plan-card>.section-head{padding:0 46px 20px 0}.league-plan-card>.section-head span{max-width:190px;padding:8px 11px;border-radius:999px;background:#fff5d9;color:#7b5310;font-size:9px;font-weight:900}.league-plan-fields{padding:16px 0}.league-plan-builder{margin-bottom:16px}.league-plan-card .friendly-pitch{min-height:480px}.league-plan-card .friendly-form-actions{position:sticky;bottom:-26px;margin:0 -26px -26px;padding:15px 26px;background:rgba(255,255,255,.96);border-top:1px solid var(--line)}
.league-admin-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid var(--line)}
.league-admin-actions label{display:grid;gap:4px;min-width:210px}
.league-admin-actions label span{font-size:8px;font-weight:900}
.league-admin-actions select{min-height:34px;padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:white;font-size:9px}
.league-admin-actions button{padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);font-size:8px;font-weight:900;cursor:pointer}
.league-admin-actions button.primary{border-color:var(--green);background:var(--green);color:#fff}
.league-admin-actions button.live{background:#d65a35;border-color:#d65a35}
.league-admin-actions button.league-delete-button{margin-left:auto;border-color:#d99b8e;background:#fff7f4;color:#a94432}.league-admin-actions button.league-delete-button:hover{background:#ffe9e3}.league-sent-invitations{display:grid;gap:7px;padding:11px 12px;border:1px solid #dbe8df;border-radius:10px;background:#f7fbf8}.league-sent-invitations>strong{font-size:8px;letter-spacing:.06em;text-transform:uppercase}.league-sent-invitations>div{display:flex;flex-wrap:wrap;gap:6px}.league-sent-invitations span{display:flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #dbe8df;border-radius:999px;background:white;font-size:8px;font-weight:800}.league-sent-invitations small{display:inline;margin:0;font-size:7px}.league-sent-invitations b{padding:3px 5px;border-radius:999px;background:#fff0cf;color:#986100;font-size:6px;text-transform:uppercase}
.league-admin-actions button:disabled,.league-match-item button:disabled{cursor:not-allowed;opacity:.48}
.league-archive-info{padding:10px 12px;border:1px dashed #d6e0da;border-radius:10px;font-size:8px;color:var(--muted);background:#f9fbf9}
.league-archive-badge{display:flex;gap:7px;align-items:center;margin:0;padding:10px 12px;border:1px solid #e6ece7;border-radius:10px;background:#f8fbf9;font-size:8px;color:var(--muted)}
.league-archive-actions{display:flex;gap:8px;flex-wrap:wrap}
.league-archive-actions button{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--green);font-size:8px;font-weight:900;cursor:pointer}
.league-archive-card{margin-top:14px}
.league-archive-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:12px 14px;border-top:1px solid var(--line)}
.league-archive-item:first-child{border-top:0}
.league-archive-item strong{display:block;color:var(--ink)}
.league-archive-item small{color:var(--muted);font-size:8px}
.league-archive-item span.league-archive-chip{justify-self:end;padding:4px 9px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:7px;font-weight:900}
.league-archive-meta{color:var(--muted);font-size:8px}
.league-journal-card{display:grid;gap:10px;padding:12px;border:1px solid #e0e9e3;border-radius:10px;background:#fbfefd}
.league-journal-card.post{border-color:#eadfcf;background:#fffdf8}
.league-journal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.league-journal-head span,.league-journal-head strong,.league-journal-head small{display:block}
.league-journal-head span{color:var(--green);font-size:7px;font-weight:950;letter-spacing:.08em}
.league-journal-head strong{margin-top:3px;font-size:12px;color:var(--ink)}
.league-journal-head small{margin-top:3px;color:var(--muted);font-size:8px}
.league-journal-head em{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eaf3ed;color:var(--green);font-style:normal;font-size:7px;font-weight:900}
.league-journal-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.league-journal-form textarea{width:100%;min-height:66px;resize:vertical;padding:10px 11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:500 10px/1.45 Verdana,sans-serif}
.league-journal-form button{padding:11px 13px;border:1px solid var(--green);border-radius:8px;background:var(--green);color:white;font-size:8px;font-weight:900;cursor:pointer}
.league-journal-form button:disabled{cursor:not-allowed;opacity:.55}
.league-journal-lock{padding:9px 10px;border-radius:8px;background:#f3f6f3;color:var(--muted);font-size:9px;line-height:1.45}
.league-journal-list{display:grid;gap:7px}
.league-journal-comment{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;padding:9px 10px;border:1px solid var(--line);border-radius:8px;background:white}
.league-journal-comment.own{border-color:#cfe2d6;background:#f8fcfa}
.league-journal-phase{align-self:start;padding:4px 7px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:7px;font-weight:900}
.league-journal-phase.post{background:#fff1dd;color:#a95a18}
.league-journal-comment strong,.league-journal-comment small{display:block}
.league-journal-comment strong{font-size:9px;color:var(--ink)}
.league-journal-comment small{margin-top:2px;font-size:7px;color:var(--muted)}
.league-journal-comment p{margin-top:5px;color:#25322c;font-size:9px;line-height:1.45}
.league-journal-empty{padding:10px;border:1px dashed #d8e2dc;border-radius:8px;background:#fff;color:var(--muted);text-align:center}
.league-journal-empty strong,.league-journal-empty small{display:block}
.league-journal-empty strong{color:var(--ink);font-size:9px}
.league-journal-empty small{margin-top:3px;font-size:8px;line-height:1.4}

/* Ligas: lectura amplia y archivo plegable */
#friendsView .league-list-card .section-head,#friendsView .league-archive-card .section-head{padding:22px 24px}#friendsView .league-list-card .section-head h2,#friendsView .league-archive-card .section-head h2{font-size:26px}#friendsView .league-list-card .section-head p,#friendsView .league-archive-card .section-head p{font-size:11px}.league-list-item summary{min-height:78px;padding:18px 24px}.league-list-item summary header strong{font-size:17px}.league-list-item summary header small{margin-top:5px;font-size:11px}.league-summary-meta p{font-size:11px}.league-list-body{gap:14px;padding:4px 24px 24px}.league-list-body>small{font-size:11px}.league-members>span{padding:10px 12px;font-size:11px}.league-members small{margin-top:4px;font-size:9px}.league-sent-invitations{padding:15px}.league-sent-invitations>strong{font-size:10px}.league-sent-invitations span{padding:8px 10px;font-size:10px}.league-journal-card{padding:17px}.league-journal-head span{font-size:9px}.league-journal-head strong{font-size:16px}.league-journal-head small,.league-journal-lock,.league-journal-empty small{font-size:10px}.league-admin-actions{gap:10px;padding-top:16px}.league-admin-actions label{flex:1 1 280px}.league-admin-actions label span,.league-admin-actions button{font-size:10px}.league-admin-actions select{min-height:41px;font-size:11px}.league-admin-actions button{min-height:41px;padding:10px 14px}.league-plan-button{min-height:42px;font-size:10px}.league-archive-detail{border-top:1px solid var(--line);background:white}.league-archive-detail:first-child{border-top:0}.league-archive-detail>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;min-height:76px;padding:16px 22px;list-style:none;cursor:pointer}.league-archive-detail>summary::-webkit-details-marker{display:none}.league-archive-detail>summary strong,.league-archive-detail>summary small{display:block}.league-archive-detail>summary strong{font-size:16px}.league-archive-detail>summary small{margin-top:5px;color:var(--muted);font-size:10px}.league-archive-detail>summary button{padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:9px;font-weight:900;pointer-events:none}.league-archive-detail[open]>summary{background:#f5faf7}.league-archive-detail[open]>summary button{font-size:0}.league-archive-detail[open]>summary button:after{content:"Ocultar detalles −";font-size:9px}.league-archive-detail-body{display:grid;gap:14px;padding:4px 22px 22px}.league-archive-detail .league-table{font-size:11px}.league-archive-detail .league-table th,.league-archive-detail .league-table td{padding:11px}.league-archive-detail .league-archive-meta{font-size:10px}

@media(max-width:760px){.league-tabs{grid-template-columns:1fr}.league-tabs button{justify-content:flex-start}.league-watch-options,.league-view-formats,.league-match-list{grid-template-columns:1fr}.league-view-formats article,.league-match-item{border-right:0}.league-view-formats article{border-bottom:1px solid var(--line)}.league-match-item>footer{flex-wrap:wrap}.league-match-item>footer button{flex:1}.league-invitation-item{align-items:stretch;flex-direction:column}.league-invitation-item>div:last-child button{flex:1}.league-admin-actions{align-items:stretch;flex-direction:column}.league-admin-actions label{min-width:0}.league-admin-actions button{width:100%}.league-journal-head,.league-journal-form{grid-template-columns:1fr;display:grid}.league-journal-head em{justify-self:start}.league-journal-form button{width:100%}.league-archive-detail>summary{grid-template-columns:1fr auto}.league-archive-detail>summary button{grid-column:1/-1;width:100%}.league-plan-modal{padding:0}.league-plan-card{width:100%;max-height:100vh;min-height:100vh;padding:18px;border-radius:0}.league-plan-card>.section-head{padding-right:36px}.league-plan-card .friendly-pitch{min-height:460px}.league-plan-card .friendly-form-actions{bottom:-18px;margin:0 -18px -18px;padding:14px 18px}}

/* Mesa editorial organizada */
.editor-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 20px;padding:6px;border:1px solid var(--line);border-radius:15px;background:#eaf0ec}.editor-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:10px;font-weight:900;cursor:pointer}.editor-tabs button span{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:rgba(12,89,63,.09);font-size:7px}.editor-tabs button.active{background:white;color:var(--green);box-shadow:0 4px 14px rgba(7,48,33,.09)}.editor-tabs button.active span{background:var(--green);color:white}.editor-tab-panel{display:none}.editor-tab-panel.active{display:block}.editor-overview-grid{display:grid;grid-template-columns:minmax(300px,.75fr) minmax(420px,1.25fr);gap:18px}.editor-quick-actions,.editor-recent{padding:22px}.editor-quick-actions h2,.editor-recent h2{margin:4px 0 0;font:500 25px Georgia,serif}.editor-quick-actions>p:not(.eyebrow){margin:10px 0 18px;color:var(--muted);font-size:10px;line-height:1.6}.editor-quick-actions>div{display:flex;flex-wrap:wrap;gap:8px}.editor-recent .section-head{padding:0 0 13px}.editor-recent #editorRecentStories article{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.editor-recent #editorRecentStories strong,.editor-recent #editorRecentStories small{display:block}.editor-recent #editorRecentStories strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.editor-recent #editorRecentStories small{margin-top:4px;color:var(--muted);font-size:8px}.editor-layout{display:block}.story-form.editor-tab-panel.active{display:block;max-width:1060px;margin:0 auto}.editor-library.editor-tab-panel.active{display:block}.editor-library-tools{display:grid;grid-template-columns:minmax(220px,1fr) 220px;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#f7f9f7}.editor-library-tools label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase}.editor-library-tools input,.editor-library-tools select{width:100%;min-height:38px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font:10px inherit;text-transform:none}.editor-stories{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.editor-story{min-width:0;border-right:1px solid #edf1ee}.editor-story:nth-child(2n){border-right:0}
@media(max-width:760px){.editor-tabs{grid-template-columns:1fr 1fr}.editor-tabs button{justify-content:flex-start}.editor-overview-grid,.editor-library-tools,.editor-stories{grid-template-columns:1fr}.editor-quick-actions>div{flex-direction:column}.editor-quick-actions button{width:100%}.editor-story{border-right:0}.homepage-editor.editor-tab-panel.active{display:block}}

/* Ficha independiente y formación periodística */
.story-modal-card{width:min(1120px,calc(100% - 36px));min-width:min(680px,calc(100% - 36px));resize:both}.story-modal.maximized .story-modal-card{position:absolute;inset:12px;width:auto;max-width:none;height:auto;max-height:none;margin:0;resize:none}.story-modal-maximize{position:absolute;right:58px;top:17px;display:grid;width:30px;height:30px;place-items:center;border:0;border-radius:50%;background:#e5ece7;color:var(--green);font-size:15px;cursor:pointer}.story-modal-close{z-index:2}.classic-match-layout{display:grid;grid-template-columns:1fr;gap:22px}.mini-pitch{width:min(760px,100%);min-height:620px;margin:auto}.pitch-half{height:310px;padding:28px 35px}.pitch-line{align-items:center;justify-content:space-evenly}.pitch-line span{width:92px;min-height:48px;padding:7px 5px}.pitch-line b{max-width:82px;font-size:9px}.pitch-line small{font-size:10px}.pitch-team-name{position:absolute;z-index:2;left:14px;padding:6px 9px;border-radius:7px;background:rgba(4,48,30,.82);color:white;font-size:9px;font-weight:900}.pitch-team-name.home{top:12px}.pitch-team-name.away{bottom:12px}.match-sheets{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}.sheet-section-title{padding:8px 11px;border-top:1px solid #cfdad3;border-bottom:1px solid #e6ece8;background:#f4f7f5;color:var(--green);font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.sheet-section-title.entered{background:#edf8f1;color:#14794e}.sheet-section-title.unused{background:#f4f4f1;color:#77817b}.sheet-player{min-height:47px}.sheet-player>span:first-child b{font-size:10px}.sheet-player>span:first-child small{font-size:8px}@media(max-width:760px){.story-modal-card{min-width:0;resize:none}.match-sheets{grid-template-columns:1fr}.mini-pitch{min-height:520px}.pitch-half{height:260px;padding:25px 8px}.pitch-line span{width:66px}.pitch-line b{max-width:58px;font-size:8px}}

@media(max-width:900px){.friendly-late-tactic{grid-template-columns:1fr;gap:10px;padding:12px}.friendly-late-tactic.locked{grid-template-columns:1fr auto}}
@media(max-width:720px){.friendly-late-tactic-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.friendly-late-tactic-actions button{min-height:54px;padding:7px;grid-template-columns:20px minmax(0,1fr);column-gap:4px}.friendly-late-tactic-actions i{font-size:15px}.friendly-late-tactic-actions b{font-size:11px}.friendly-late-tactic-actions small{display:none}}
@media(max-width:430px){.friendly-late-tactic{margin-top:11px}.friendly-late-tactic-actions{gap:4px}.friendly-late-tactic-actions button{display:flex;min-height:56px;flex-direction:column;justify-content:center;gap:3px;text-align:center}.friendly-late-tactic-actions b{white-space:normal;line-height:1.15}.friendly-late-tactic.locked{grid-template-columns:1fr}.friendly-late-tactic.locked>b{justify-self:start}}

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

/* Evento temporal: Amistosos Leyendas */
.legend-event-admin{overflow:hidden;border-color:#cbded1;background:linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%)}
.legend-event-admin .section-head{border-bottom:1px solid var(--line)}
#legendEventAdminState{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:6px 10px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.legend-event-form{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(180px,.65fr) minmax(210px,.75fr) 130px;gap:12px;padding:20px 22px 10px;border-bottom:1px solid var(--line)}
.legend-event-form label{display:flex;min-width:0;flex-direction:column;gap:7px;color:var(--ink);font-size:9px;font-weight:900;letter-spacing:.02em}
.legend-event-form input,.legend-event-form select,.legend-event-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);outline:none}
.legend-event-form input,.legend-event-form select{min-height:43px;padding:0 11px;font-size:10px}
.legend-event-form textarea{min-height:92px;padding:11px 12px;resize:vertical;font:500 10px/1.55 Verdana,sans-serif}
.legend-event-form input:focus,.legend-event-form select:focus,.legend-event-form textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(12,89,63,.09)}
.legend-event-description,.legend-event-actions{grid-column:1/-1}
.legend-event-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:2px}
.legend-event-actions .production-note{margin:0;line-height:1.45}
.legend-event-actions .primary-action{min-height:42px;padding:0 15px;border:0;border-radius:10px;background:var(--green);color:white;font-size:9px;font-weight:950;cursor:pointer}
.legend-event-actions .primary-action:disabled{opacity:.55;cursor:wait}
.legend-event-list{display:grid}
.legend-event-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px 18px;border-top:1px solid #edf1ee;background:white}
.legend-event-row:first-child{border-top:0}
.legend-event-row.scheduled{box-shadow:inset 4px 0 var(--lime)}
.legend-event-row.active{box-shadow:inset 4px 0 #d65a35}
.legend-event-row.cancelled{opacity:.6;background:#f4f6f4}
.legend-event-row div{min-width:0}
.legend-event-row span,.legend-event-row strong,.legend-event-row small{display:block}
.legend-event-row span{color:var(--green);font-size:7px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.legend-event-row strong{margin-top:3px;overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.legend-event-row small{margin-top:4px;color:var(--muted);font-size:8px;line-height:1.45}
.legend-event-row em{justify-self:end;padding:6px 9px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:7px;font-style:normal;font-weight:950;text-transform:uppercase;white-space:nowrap}
.legend-event-row.active em{background:#fff0e8;color:#b5512f}
.legend-event-row.cancelled em{background:#edf0ef;color:#68756f}
.legend-event-row button{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:white;color:#b94e39;font-size:8px;font-weight:900;cursor:pointer}
.legend-event-row button:disabled{color:var(--muted);cursor:not-allowed;opacity:.55}
.legend-event-modal{position:fixed;inset:0;z-index:240;display:none;place-items:center;padding:clamp(14px,3vw,34px)}
.legend-event-modal.open{display:grid}
.legend-event-backdrop{position:absolute;inset:0;background:radial-gradient(circle at 18% 8%,rgba(217,255,86,.18),transparent 30%),linear-gradient(135deg,rgba(4,27,20,.9),rgba(12,89,63,.86));backdrop-filter:blur(7px)}
.legend-event-card{position:relative;z-index:1;width:min(760px,100%);max-height:92dvh;overflow:auto;padding:clamp(24px,4vw,44px);border:1px solid rgba(255,255,255,.38);border-radius:26px;background:linear-gradient(180deg,#fff 0%,#f6faf7 100%);box-shadow:0 35px 110px rgba(0,0,0,.36)}
.legend-event-card:before{content:"⚽";position:absolute;right:clamp(24px,5vw,48px);top:clamp(40px,7vw,70px);display:grid;width:74px;height:74px;place-items:center;border-radius:24px;background:var(--lime);color:var(--green);font-size:34px;box-shadow:0 18px 45px rgba(12,89,63,.14)}
.legend-event-close{position:absolute;right:18px;top:16px;z-index:2;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:#eaf0ec;color:var(--green);font-size:24px;line-height:1;cursor:pointer}
.legend-event-card .eyebrow{max-width:calc(100% - 110px);margin:0;color:#d65a35}
.legend-event-card h2{max-width:calc(100% - 110px);margin:10px 0 14px;color:var(--ink);font-size:clamp(34px,6vw,58px);line-height:.98;letter-spacing:-.045em}
.legend-event-copy{max-width:620px;margin:0 0 22px;color:#41554e;font-size:12px;line-height:1.75}
.legend-event-facts{display:grid;grid-template-columns:1.15fr .7fr .7fr;gap:10px;margin:20px 0}
.legend-event-facts span{padding:14px;border:1px solid var(--line);border-radius:14px;background:white}
.legend-event-facts small,.legend-event-facts b{display:block}
.legend-event-facts small{margin-bottom:6px;color:var(--muted);font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.legend-event-facts b{color:var(--green);font-size:11px;line-height:1.4}
.legend-event-prep{padding:16px 18px;border:1px solid #d7e5dc;border-radius:16px;background:#eef7f1}
.legend-event-prep strong{display:block;color:var(--green);font-size:13px}
.legend-event-prep p{margin:7px 0 0;color:#405b50;font-size:10px;line-height:1.65}
.legend-event-modal-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:22px}
.legend-event-modal-actions button{min-height:42px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--green);font-size:9px;font-weight:950;cursor:pointer}
.legend-event-modal-actions button.primary{border-color:var(--green);background:var(--green);color:white}
.legend-event-modal-actions button.live{border-color:#d65a35;background:#d65a35;color:white}
.legend-event-modal-actions button:disabled{opacity:.55;cursor:wait}
.legend-player-admin{margin-top:18px;overflow:hidden}
.legend-player-admin .section-head{border-bottom:1px solid var(--line)}
.legend-player-admin .section-head>span{padding:7px 10px;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:8px;font-weight:950;white-space:nowrap}
.legend-source-policy{padding:14px 18px;border-bottom:1px solid var(--line);background:#fffaf1;color:#5b4930;font-size:9px;line-height:1.55}
.legend-formula-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid var(--line);background:#f8faf8}
.legend-formula-grid span{display:block;min-height:58px;padding:12px 10px;border-right:1px solid var(--line);color:var(--muted);font-size:8px;line-height:1.35;text-align:center}
.legend-formula-grid span:last-child{border-right:0}
.legend-formula-grid b{display:block;margin-bottom:5px;color:var(--green);font-size:15px}
.legend-player-tools{display:grid;grid-template-columns:130px minmax(170px,1fr) 120px 130px minmax(210px,1.25fr);gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fbfcfb}
.legend-player-tools label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:8px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.legend-player-tools select,.legend-player-tools input{min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font-size:10px;outline:none;text-transform:none}
.legend-player-tools select:focus,.legend-player-tools input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(12,89,63,.08)}
.legend-player-new{margin:12px 18px 14px;border:1px dashed #bed1c4;border-radius:16px;overflow:hidden;background:#fbfdfb}
.legend-player-list{display:grid;max-height:920px;overflow:auto;background:white}
.legend-player-row{border-top:1px solid #edf1ee;background:white}
.legend-player-row:first-child{border-top:0}
.legend-player-create{border-top:0;background:#fbfdfb}
.legend-player-row.inactive{opacity:.58;background:#f5f6f4}
.legend-player-row summary{display:grid;grid-template-columns:minmax(150px,1.25fr) 48px minmax(170px,1fr) 76px 70px;gap:12px;align-items:center;padding:13px 16px;list-style:none;cursor:pointer}
.legend-player-row summary::-webkit-details-marker{display:none}
.legend-player-row[open] summary{background:#f8fbf9}
.legend-prime{overflow:hidden;color:var(--ink);font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.legend-player-row summary>strong{justify-self:start;padding:6px 8px;border-radius:999px;background:var(--lime);color:var(--green);font-size:8px}
.legend-player-row summary div{min-width:0}
.legend-player-row summary b,.legend-player-row summary small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legend-player-row summary b{font-size:10px}
.legend-player-row summary small{margin-top:3px;color:var(--muted);font-size:8px}
.legend-player-row summary em{justify-self:end;color:var(--green);font-size:12px;font-style:normal;font-weight:950}
.legend-player-row summary i{justify-self:end;color:var(--muted);font-size:8px;font-style:normal;font-weight:900;text-transform:uppercase}
.legend-player-editor{display:grid;gap:14px;padding:0 16px 16px;border-top:1px solid #edf1ee;background:#fbfdfb}
.legend-player-fields{display:grid;grid-template-columns:1.1fr 100px 1fr 110px 1fr 1fr;gap:10px;padding-top:14px}
.legend-player-fields label,.legend-score-grid label{display:flex;min-width:0;flex-direction:column;gap:5px;color:var(--muted);font-size:8px;font-weight:950;letter-spacing:.04em;text-transform:uppercase}
.legend-player-fields label.span-2{grid-column:span 3}
.legend-player-fields input,.legend-player-fields select,.legend-score-grid input{width:100%;min-height:36px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-size:10px;outline:none;text-transform:none}
.legend-player-fields input:focus,.legend-player-fields select:focus,.legend-score-grid input:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(12,89,63,.08)}
.legend-score-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #dfe9e2;border-radius:12px;background:white}
.legend-score-grid label small{color:var(--green);font-size:7px}
.legend-score-grid input{font-weight:900;text-align:center}
.legend-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.legend-row-actions span{margin-right:auto;padding:8px 10px;border-radius:9px;background:#eaf3ed;color:var(--green);font-size:9px;font-weight:950}
.legend-row-actions a,.legend-row-actions button{min-height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:8px;font-weight:900;text-decoration:none;cursor:pointer}
.legend-row-actions button:hover,.legend-row-actions a:hover{border-color:var(--green)}
.legend-row-actions button[data-legend-toggle]{color:#b94e39}
.legend-row-actions button:disabled{opacity:.55;cursor:wait}

@media(max-width:920px){
  .legend-event-form{grid-template-columns:1fr 1fr}
  .legend-event-form label:nth-child(3),.legend-event-form label:nth-child(4){grid-column:auto}
  .legend-event-description,.legend-event-actions{grid-column:1/-1}
  .legend-formula-grid,.legend-score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .legend-player-tools{grid-template-columns:1fr 1fr}
  .legend-player-fields{grid-template-columns:1fr 1fr}
  .legend-player-fields label.span-2{grid-column:1/-1}
  .legend-player-row summary{grid-template-columns:minmax(0,1fr) 42px 68px;gap:8px}
  .legend-player-row summary div{grid-column:1/-1;grid-row:2}
  .legend-player-row summary i{display:none}
}

@media(max-width:720px){
  .legend-event-form{grid-template-columns:1fr;padding:16px}
  .legend-event-form label:nth-child(3),.legend-event-form label:nth-child(4),.legend-event-description,.legend-event-actions{grid-column:1}
  .legend-event-actions{align-items:stretch;flex-direction:column}
  .legend-event-actions .primary-action{width:100%}
  .legend-event-row{grid-template-columns:minmax(0,1fr) auto;padding:13px}
  .legend-event-row button{grid-column:1/-1;width:100%}
  .legend-event-modal{padding:0}
  .legend-event-card{width:100%;min-height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:30px 18px}
  .legend-event-card:before{right:18px;top:56px;width:54px;height:54px;border-radius:18px;font-size:25px}
  .legend-event-card .eyebrow,.legend-event-card h2{max-width:calc(100% - 74px)}
  .legend-event-copy{font-size:11px}
  .legend-event-facts{grid-template-columns:1fr}
  .legend-event-modal-actions{align-items:stretch;flex-direction:column-reverse}
  .legend-event-modal-actions button{width:100%}
  .legend-player-tools,.legend-player-fields,.legend-score-grid{grid-template-columns:1fr}
  .legend-formula-grid{grid-template-columns:1fr 1fr}
  .legend-player-list{max-height:none}
  .legend-player-row summary{grid-template-columns:minmax(0,1fr) 40px 58px;padding:12px}
  .legend-player-editor{padding:0 12px 14px}
  .legend-row-actions{align-items:stretch;flex-direction:column}
  .legend-row-actions span{width:100%;margin-right:0;text-align:center}
  .legend-row-actions a,.legend-row-actions button{width:100%;display:grid;place-items:center}
}

/* Ajuste final del header y Redacción para pantallas variables */
.nav-label-short{display:none}

@media(max-width:1360px){
  .topbar{
    height:auto;
    min-height:0;
    align-content:flex-start;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 12px;
    padding:8px 14px 7px;
  }
  body.topbar-pinned main{padding-top:calc(var(--topbar-live-height) + clamp(20px,2.4vw,34px))}
  .brand>img{width:clamp(98px,10vw,128px);max-height:39px}
  .brand-fantasy-tag{min-height:17px;padding:2px 7px;font-size:7px}
  .topbar-account{margin-left:auto;gap:6px}
  .round-pill{padding:6px 10px;font-size:10px}
  .account-pill{min-height:34px;gap:6px;padding:3px 8px 3px 3px}
  .account-pill>span:first-child{width:27px;height:27px;flex-basis:27px}
  .account-button-copy b{font-size:9px}
  .account-button-copy small{font-size:7px}
  .topbar-pin-button{min-height:16px;padding:1px 7px;font-size:7px}
  .topbar nav{
    order:3;
    flex:0 0 100%;
    width:100%;
    height:auto;
    min-height:0;
    align-self:auto;
    flex-wrap:wrap;
    gap:4px 6px;
    overflow:visible;
    padding:1px 0 0;
  }
  .nav-item{
    min-height:26px;
    padding:0 9px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:999px;
    background:rgba(255,255,255,.04);
    font-size:10px;
    line-height:1;
  }
  .nav-item.active{border-color:var(--lime);background:rgba(217,255,86,.13)}
  .nav-label-full{display:none}
  .nav-label-short{display:inline}
  .editor-heading{align-items:flex-start;gap:14px}
  .editor-status{min-width:190px;padding:13px 16px}
  .editor-status strong{font-size:18px}
  .editor-tabs{grid-template-columns:repeat(4,minmax(118px,1fr));overflow-x:auto}
  .editor-tabs button{min-width:118px;min-height:42px;font-size:9px}
}

@media(max-width:980px){
  .editor-heading{align-items:stretch;flex-direction:column}
  .editor-status{width:100%;min-width:0}
  .editor-tabs{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .editor-overview-grid,.editor-library-tools,.editor-stories{grid-template-columns:1fr}
  .editor-story{border-right:0}
  .story-form.editor-tab-panel.active{width:100%;max-width:none}
}

@media(max-width:720px){
  .topbar{gap:6px 8px;padding:8px 10px 6px}
  .topbar nav{height:auto;gap:4px;overflow:visible}
  .nav-item{min-height:24px;padding:0 7px;font-size:9px}
  .round-pill,.account-button-copy{display:none}
  .account-menu-wrap{align-items:center}
  .editor-tabs{grid-template-columns:1fr 1fr}
}

@media(max-width:420px){
  .brand>img{width:94px}
  .topbar nav{max-height:92px;overflow-y:auto}
  .nav-item{font-size:8px}
}

.fantasy-test-market-notice { padding:14px 16px; border:1px solid #d6b767; border-radius:12px; background:#fff5d8; color:#674711; font-size:13px; line-height:1.6; }
.fantasy-test-market-notice[hidden] { display:none; }
#fantasyTeamSaveStatus { display:block; max-width:300px; margin-top:12px; font-size:11px; line-height:1.5; }
#restoreLocalTeamDraft { margin-top:10px; font-size:11px; }
#restoreLocalTeamDraft[hidden] { display:none; }

/* Producción: una herramienta a la vez, sin un catálogo interminable. */
#productionView { max-width:1440px; }
#productionView [hidden] { display:none !important; }
.production-workspace { display:grid; grid-template-columns:224px minmax(0,1fr); gap:24px; align-items:start; }
.production-sidebar { position:sticky; top:calc(var(--topbar-live-height,70px) + 20px); padding:20px 12px; border:1px solid var(--line); border-radius:18px; background:white; }
.production-sidebar>.eyebrow { margin:0 12px 14px; font-size:10px; }
.production-sidebar nav { display:grid; gap:5px; }
.production-sidebar nav a { display:flex; align-items:center; min-height:44px; padding:11px 12px; border-radius:10px; color:var(--green); text-decoration:none; font-size:13px; font-weight:750; }
.production-sidebar nav a:hover { background:#eef5ef; }
.production-sidebar nav a[aria-current="page"] { background:var(--green); color:var(--lime); }
.production-sidebar-note { margin:20px 12px 0; padding-top:16px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; line-height:1.6; }
.production-content { min-width:0; }
.production-section-heading { margin:0 0 20px; }
.production-section-heading h2 { margin:0 0 8px; color:var(--green); font-size:30px; font-weight:750; }
.production-section-heading p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
#productionSectionTitle,#legendPlayerList,#commentaryPhraseList { scroll-margin-top:calc(var(--topbar-live-height,70px) + 20px); }
.production-overview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.production-overview a { display:flex; flex-direction:column; align-items:flex-start; padding:25px; border:1px solid var(--line); border-radius:18px; background:white; color:var(--ink); text-decoration:none; transition:border-color .15s,box-shadow .15s; }
.production-overview a:hover { border-color:var(--green); box-shadow:0 8px 24px #0c593f0c; }
.production-overview a>span { color:var(--muted); font-size:10px; letter-spacing:.08em; font-weight:800; }
.production-overview h3 { margin:14px 0 8px; color:var(--green); font-size:23px; }
.production-overview p { margin:0 0 22px; color:var(--muted); font-size:13px; line-height:1.6; }
.production-overview b { margin-top:auto; color:var(--green); font-size:12px; }
#productionView a:focus-visible,#productionView button:focus-visible,#productionView summary:focus-visible { outline:3px solid #8aac25; outline-offset:3px; }
#productionView .production-content>.panel { margin-top:0; }
#productionView .production-grid { grid-template-columns:minmax(0,1fr); }
#productionView .personnel-form { grid-template-columns:minmax(0,1fr) auto; }
#productionView .section-head h2 { font-size:22px; }
#productionView .section-head p { font-size:12px; line-height:1.6; }
#productionView .section-head>span,#productionView .production-note { font-size:11px; }
#productionView .personnel-row strong { font-size:14px; }
#productionView .personnel-row small { font-size:11px; }
#productionView .personnel-row button { min-height:40px; font-size:12px; }
.production-disclosure { border-bottom:1px solid var(--line); }
.production-disclosure>summary { padding:16px 20px; color:var(--green); background:#f5f8f5; font-size:13px; font-weight:800; cursor:pointer; }
#productionView .legend-player-tools { grid-template-columns:repeat(3,minmax(0,1fr)); }
#productionView .legend-player-tools>label:last-child { grid-column:auto; }
#productionView .legend-player-tools label,#productionView .commentary-library-tools label,#productionView .commentary-phrase-form>label,#productionView .personnel-form label { font-size:11px; }
#productionView .legend-player-tools input,#productionView .legend-player-tools select { min-width:0; font-size:12px; }
#productionView .legend-prime { font-size:14px; }
#productionView .legend-player-row summary b { font-size:12px; }
#productionView .legend-player-row summary small { font-size:10px; }
#productionView .commentary-library-tools { grid-template-columns:repeat(3,minmax(0,1fr)); }
#productionView .commentary-phrase-list { max-height:none; overflow:visible; }
#productionView .commentary-phrase-row { grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; }
#productionView .commentary-phrase-meta { grid-column:1; grid-row:1; }
#productionView .commentary-mood-badge { grid-column:1; grid-row:2; font-size:10px; }
#productionView .commentary-phrase-copy { grid-column:1; grid-row:3; }
#productionView .commentary-weight { grid-column:2; grid-row:3; font-size:10px; }
#productionView .commentary-row-actions { grid-column:2; grid-row:1/3; flex-direction:row; }
#productionView .commentary-row-actions button { min-height:40px; padding:0 11px; font-size:11px; }
#productionView .commentary-phrase-meta strong,#productionView .commentary-phrase-copy strong { font-size:13px; line-height:1.6; }
#productionView .commentary-phrase-meta small,#productionView .commentary-phrase-copy small { font-size:10px; }
.production-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:18px; border-top:1px solid var(--line); background:#f8faf8; }
.production-pagination span { color:var(--muted); font-size:12px; }
.production-pagination button { min-height:40px; padding:0 14px; border:1px solid var(--line); border-radius:9px; background:white; color:var(--green); font-size:12px; font-weight:750; cursor:pointer; }
.production-pagination button:disabled { opacity:.45; cursor:default; }
@media(max-width:1050px){
  .production-workspace { grid-template-columns:190px minmax(0,1fr); gap:18px; }
  #productionView .legend-player-row summary { grid-template-columns:minmax(0,1fr) 42px 68px; }
  #productionView .legend-player-row summary div { grid-column:1/-1; grid-row:2; }
  #productionView .legend-player-row summary i { display:none; }
  #productionView .commentary-phrase-form { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  #productionView .commentary-phrase-form>label:nth-of-type(3),#productionView .commentary-variable-box,#productionView .commentary-preview-box { grid-column:1/-1; }
}
@media(max-width:800px){
  .production-workspace { grid-template-columns:minmax(0,1fr); }
  .production-sidebar { position:static; padding:12px; }
  .production-sidebar>.eyebrow,.production-sidebar-note { display:none; }
  .production-sidebar nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .production-sidebar nav a { justify-content:center; text-align:center; font-size:12px; }
  #productionView .legend-player-tools { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:560px){
  .production-overview { grid-template-columns:minmax(0,1fr); }
  .production-sidebar nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .production-summary { gap:6px; }
  .production-summary span { flex:1; padding:10px; font-size:10px; }
  .production-summary b { display:block; }
  #productionView .personnel-form,#productionView .commentary-library-tools,#productionView .commentary-phrase-form { grid-template-columns:minmax(0,1fr); }
  #productionView .commentary-library-tools label,#productionView .commentary-phrase-form>label { grid-column:1/-1; }
  #productionView .commentary-row-actions { grid-column:1/-1; grid-row:4; }
  #productionView .commentary-phrase-copy { grid-column:1/-1; }
  #productionView .commentary-weight { grid-column:2; grid-row:1/3; }
  #productionView .commentary-mood-badge { max-width:100%; white-space:normal; }
  .production-pagination { gap:10px; }
  .production-pagination span { width:100%; order:-1; text-align:center; }
}

/* Mensajes privados breves: historial paginado y sin archivos. */
#messagesView { max-width:1320px; }
.message-limit-badge { align-self:center; padding:10px 14px; border-radius:999px; background:#e7f2e6; color:var(--green); font-size:12px; font-weight:800; }
.message-shell { display:grid; grid-template-columns:minmax(270px,340px) minmax(0,1fr); min-height:620px; padding:0; overflow:hidden; }
.message-conversations { min-width:0; border-right:1px solid var(--line); background:#f7faf7; }
.message-conversation-head { display:flex; align-items:center; justify-content:space-between; min-height:88px; padding:18px 20px; border-bottom:1px solid var(--line); }
.message-conversation-head h2 { margin:3px 0 0; color:var(--green); font-size:22px; }
.message-conversation-head button { width:40px; height:40px; border:1px solid var(--line); border-radius:50%; background:white; color:var(--green); font-size:20px; cursor:pointer; }
.message-conversation { display:grid; grid-template-columns:48px minmax(0,1fr) auto; gap:11px; align-items:center; width:100%; min-height:76px; padding:12px 16px; border:0; border-bottom:1px solid #e1e8e1; background:transparent; color:var(--ink); text-align:left; cursor:pointer; }
.message-conversation:hover,.message-conversation.active { background:white; box-shadow:inset 4px 0 var(--lime); }
.message-conversation .user-avatar { position:relative; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--green); color:white; font-size:13px; font-weight:850; }
.message-conversation .user-avatar i { position:absolute; right:0; bottom:1px; width:11px; height:11px; border:2px solid white; border-radius:50%; background:#60c84b; }
.message-conversation>span:nth-child(2) { min-width:0; }
.message-conversation strong,.message-conversation small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.message-conversation strong { margin-bottom:5px; font-size:14px; }
.message-conversation small { color:var(--muted); font-size:12px; }
.message-conversation em { display:grid; justify-items:end; gap:8px; color:var(--muted); font-size:10px; font-style:normal; }
.message-conversation em b { display:grid; place-items:center; min-width:22px; height:22px; padding:0 6px; border-radius:999px; background:var(--lime); color:var(--green); font-size:11px; }
.message-empty { padding:30px 20px; color:var(--muted); font-size:13px; line-height:1.6; text-align:center; }
.message-empty strong,.message-empty small { display:block; }
.message-thread { display:flex; min-width:0; background:#f2f6f1; }
.message-thread-empty { display:grid; place-content:center; justify-items:center; width:100%; padding:40px; color:var(--muted); text-align:center; }
.message-thread-empty[hidden] { display:none; }
.message-thread-empty span { font-size:42px; }.message-thread-empty strong { margin:14px 0 7px; color:var(--green); font-size:22px; }.message-thread-empty p { max-width:380px; margin:0; line-height:1.6; }
#messageThreadContent { display:grid; grid-template-rows:auto auto minmax(280px,1fr) auto; width:100%; min-height:620px; }
#messageThreadContent[hidden] { display:none; }
.message-thread-head { display:flex; align-items:center; gap:12px; min-height:88px; padding:16px 22px; border-bottom:1px solid var(--line); background:white; }
.message-thread-head>button { display:none; border:0; background:transparent; color:var(--green); font-size:32px; cursor:pointer; }
.message-thread-head .user-avatar { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:var(--green); color:white; font-weight:850; }
.message-thread-head div { flex:1; }.message-thread-head strong,.message-thread-head small { display:block; }.message-thread-head strong { font-size:16px; }.message-thread-head small { margin-top:4px; color:var(--muted); font-size:12px; }
.message-thread-head>i { color:var(--muted); font-size:11px; font-style:normal; }.message-thread-head>i.online { color:#278d3e; font-weight:800; }
.message-older { justify-self:center; margin:12px 0 0; padding:8px 13px; border:1px solid var(--line); border-radius:999px; background:white; color:var(--green); font-size:11px; cursor:pointer; }
.message-older[hidden] { display:none; }
.message-history { min-height:0; padding:20px 24px; overflow-y:auto; }
.message-bubble { display:flex; flex-direction:column; align-items:flex-start; max-width:min(78%,560px); margin:0 0 12px; }
.message-bubble.mine { align-items:flex-end; margin-left:auto; }
.message-bubble p { margin:0; padding:11px 14px; border-radius:16px 16px 16px 4px; background:white; box-shadow:0 2px 8px #173c2910; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
.message-bubble.mine p { border-radius:16px 16px 4px 16px; background:var(--green); color:white; }
.message-bubble small { margin:5px 5px 0; color:var(--muted); font-size:10px; }
.message-thread-first { padding:60px 20px; color:var(--muted); text-align:center; }.message-thread-first strong { display:block; color:var(--green); font-size:18px; }.message-thread-first p { margin:8px 0; }
.message-compose { padding:14px 18px 12px; border-top:1px solid var(--line); background:white; }
.message-compose>label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.message-compose textarea { display:block; width:100%; min-height:58px; max-height:100px; padding:11px 13px; resize:vertical; border:1px solid #bccabd; border-radius:12px; color:var(--ink); font:inherit; font-size:14px; line-height:1.45; }
.message-compose textarea:focus { outline:3px solid #a9c63555; border-color:var(--green); }
.message-compose>div { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:9px; }
.message-compose span { color:var(--muted); font-size:11px; font-weight:700; }.message-compose button { min-width:92px; min-height:40px; border:0; border-radius:9px; background:var(--green); color:white; font-weight:800; cursor:pointer; }.message-compose button:disabled { opacity:.45; cursor:default; }
#messageFormStatus { min-height:16px; margin:5px 0 0; color:var(--muted); font-size:10px; }#messageFormStatus.success { color:#278d3e; }#messageFormStatus.error { color:#b02b2b; }
@media(max-width:760px){
  .message-shell { display:block; min-height:560px; }
  .message-conversations { border-right:0; }
  .message-thread { display:none; min-height:560px; }
  .message-shell.thread-open .message-conversations { display:none; }
  .message-shell.thread-open .message-thread { display:flex; }
  .message-thread-head>button { display:block; }
  #messageThreadContent { min-height:560px; }
  .message-history { padding:16px 12px; }
  .message-bubble { max-width:88%; }
}
.result-editor-panel{margin-top:22px;border:1px solid #c7d9d0;background:linear-gradient(135deg,#f7fbf8,#eef7f2)}
.result-editor-panel[hidden]{display:none!important}
.result-editor-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:20px}
.result-editor-form label{display:grid;gap:7px;font-weight:750;color:#173b30}
.result-editor-form label.span-2{grid-column:1/-1}
.result-editor-form input,.result-editor-form select{width:100%;min-height:44px;border:1px solid #b9cbc2;border-radius:10px;background:#fff;padding:9px 11px;color:#102a23}
.result-editor-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:0 20px 20px}
.result-editor-actions small{color:#567268}
.result-source{grid-column:2;color:#6b7c75;font-size:.72rem;text-align:right}
.result-source.manual{color:#087551;font-weight:800}
.edit-result-button{grid-column:2;justify-self:end;border:1px solid #a9c9bb;border-radius:999px;background:#eff8f3;color:#096247;padding:5px 10px;font-weight:800;cursor:pointer}
@media(max-width:680px){.result-editor-form{grid-template-columns:1fr}.result-editor-form label.span-2{grid-column:auto}}

/* Identidad personal y escudos creados por los usuarios */
.account-character-card{grid-column:1/-1;padding:24px}.account-avatar-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:8px}.account-avatar-options button{min-height:52px;border:1px solid var(--line);border-radius:13px;background:#f7faf8;font-size:25px;cursor:pointer}.account-avatar-options button:hover,.account-avatar-options button.active{border-color:var(--green);background:#eff9d5;box-shadow:0 0 0 3px rgba(200,230,66,.42);transform:translateY(-1px)}.account-avatar-options button:disabled{cursor:wait;opacity:.65}.account-avatar-message{min-height:18px;margin:12px 0 0;color:var(--muted);font-size:10px}.account-avatar-message.success{color:#18713d}.account-avatar-message.error{color:#b3261e}.user-avatar,.account-profile-avatar,.social-profile-card>span{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif}.user-avatar{font-size:19px}.account-profile-avatar{font-size:42px}.social-profile-card>span{font-size:23px}
.team-title-line{display:flex;align-items:center;gap:18px}.team-crest-mini{width:72px;height:82px;flex:0 0 auto;filter:drop-shadow(0 8px 9px rgba(16,42,35,.18))}.team-crest-mini[hidden]{display:none!important}.team-crest-mini svg,.team-crest-preview svg,.crest-shield-options svg,.team-crest-inline svg{display:block;width:100%;height:100%}.team-crest-builder{margin-bottom:18px;padding:24px;background:linear-gradient(135deg,#fff 0%,#f4f8f2 58%,#edf7d7 100%);border-color:#d7e1d5}.team-crest-builder-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px}.team-crest-builder-head h2{margin:4px 0 6px;color:#15372b}.team-crest-builder-head p:last-child{max-width:680px;margin:0;color:#60716b}.crest-server-badge{white-space:nowrap;padding:8px 12px;border-radius:999px;background:#193f31;color:#d7f65d;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.team-crest-workspace{display:grid;grid-template-columns:minmax(210px,260px) minmax(0,1fr);gap:24px;align-items:start}.team-crest-preview-card{min-height:320px;padding:26px 18px;border-radius:22px;background:radial-gradient(circle at 50% 20%,#2e694f,#173c2e 65%,#102b22);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff}.team-crest-preview{width:154px;height:180px;margin-bottom:14px;filter:drop-shadow(0 15px 12px rgba(0,0,0,.28))}.team-crest-preview-card small{margin-top:4px;color:#caddd4}.team-crest-controls{display:grid;gap:15px}.team-crest-controls fieldset{min-width:0;margin:0;padding:15px;border:1px solid #d8e0dc;border-radius:16px;background:rgba(255,255,255,.8)}.team-crest-controls legend{padding:0 7px;color:#1d4738;font-size:.76rem;font-weight:900}.crest-shield-options{display:grid;grid-template-columns:repeat(5,minmax(76px,1fr));gap:8px}.crest-shield-options button{min-width:0;padding:8px 6px;border:1px solid #d6ded9;border-radius:12px;background:#fff;color:#475c54;display:grid;justify-items:center;gap:5px;cursor:pointer}.crest-shield-options button svg{width:40px;height:47px}.crest-shield-options button:hover,.crest-shield-options button.active,.crest-icon-options button:hover,.crest-icon-options button.active{border-color:#8dad28;background:#f4fadf;box-shadow:0 0 0 2px rgba(200,230,66,.45)}.crest-color-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.crest-color-columns>div>span{display:block;margin-bottom:9px;color:#60716b;font-size:.7rem;font-weight:800}.crest-color-options{display:grid;grid-template-columns:repeat(10,30px);gap:7px}.crest-color-options button{width:30px;height:30px;padding:0;border:2px solid #fff;border-radius:50%;background:var(--crest-swatch);box-shadow:0 0 0 1px #bdc8c2;cursor:pointer}.crest-color-options button.active{box-shadow:0 0 0 3px #173e30}.crest-icon-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(58px,1fr));gap:7px;max-height:190px;padding:2px;overflow-y:auto}.crest-icon-options button{min-height:58px;padding:6px 4px;border:1px solid #d6ded9;border-radius:11px;background:#fff;display:grid;place-items:center;cursor:pointer}.crest-icon-options b{font-size:1.35rem}.crest-icon-options span{font-size:.58rem}.team-crest-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}.team-crest-actions p{margin:0;color:#65756f;font-size:.76rem}.team-crest-actions p.success{color:#18713d}.team-crest-actions p.error{color:#b3261e}.team-crest-inline{display:inline-block;width:38px;height:44px;flex:0 0 auto;vertical-align:middle;filter:drop-shadow(0 3px 3px rgba(0,0,0,.18))}.fantasy-player>.team-crest-inline{width:46px;height:52px}.friendly-score-team>.team-crest-inline{width:42px;height:48px;margin:0 auto 5px}.friendly-countdown-matchup>span{display:flex;align-items:center;gap:8px}.friendly-countdown-matchup .team-crest-inline{width:34px;height:40px}.friendly-lineup-team>header>.team-crest-inline{width:31px;height:36px}
.league-team-identity{display:flex;align-items:center;gap:8px}.league-team-identity>.team-crest-inline{width:27px;height:32px}.league-team-identity>span strong,.league-team-identity>span small{display:block}.league-members>span{display:inline-flex;align-items:center;gap:5px}.league-members .team-crest-inline{width:24px;height:28px}.member-avatar{font-style:normal;font-size:18px}
.match-user-avatar{display:inline-grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:50%;background:rgba(255,255,255,.17);font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:22px}.friendly-lineup-team .match-user-avatar{width:32px;height:32px;background:#dfeae4;font-size:18px}.friendly-countdown-matchup .match-user-avatar{width:36px;height:36px}.friendly-score-team>.match-user-avatar{margin:0 auto 6px}

/* Biblioteca ampliada de personajes y símbolos de escudo */
.crest-control-help{margin:0 0 10px;color:var(--muted);font-size:.68rem;line-height:1.4}
.account-avatar-options{display:grid;grid-template-columns:1fr;gap:15px;max-height:430px;padding:3px 8px 3px 3px;overflow-y:auto;scrollbar-gutter:stable}.account-avatar-group{min-width:0}.account-avatar-group h3{margin:0 0 8px;color:var(--green);font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.account-avatar-group>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:8px}.account-avatar-group button{min-height:52px;border:1px solid var(--line);border-radius:13px;background:#f7faf8;font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:25px;cursor:pointer}.account-avatar-group button:hover,.account-avatar-group button.active{border-color:var(--green);background:#eff9d5;box-shadow:0 0 0 3px rgba(200,230,66,.42);transform:translateY(-1px)}.account-avatar-group button:disabled{cursor:wait;opacity:.65}.crest-icon-options{max-height:310px;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));scrollbar-gutter:stable}.crest-icon-options button{min-height:64px}.crest-icon-options b{font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif;font-size:1.55rem}.crest-icon-options span{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:680px){.account-avatar-options{max-height:390px}.account-avatar-group>div{grid-template-columns:repeat(5,minmax(0,1fr))}.crest-icon-options{grid-template-columns:repeat(4,minmax(0,1fr));max-height:330px}}
@media(max-width:900px){.team-crest-workspace{grid-template-columns:200px minmax(0,1fr)}.crest-shield-options{grid-template-columns:repeat(3,1fr)}.crest-color-columns{grid-template-columns:1fr}.crest-color-options{grid-template-columns:repeat(10,28px)}}
@media(max-width:680px){.account-character-card{padding:18px}.account-avatar-options{grid-template-columns:repeat(5,1fr)}.team-title-line{align-items:flex-end}.team-crest-mini{width:56px;height:66px}.team-crest-builder{padding:18px}.team-crest-builder-head,.team-crest-actions{align-items:stretch;flex-direction:column}.crest-server-badge{align-self:flex-start}.team-crest-workspace{grid-template-columns:1fr}.team-crest-preview-card{min-height:245px}.team-crest-preview{width:118px;height:138px}.crest-shield-options{grid-template-columns:repeat(2,1fr)}.crest-color-options{grid-template-columns:repeat(5,32px)}.team-crest-actions button{width:100%}.friendly-score-team>.team-crest-inline{width:30px;height:35px}}

@media(max-width:680px){.account-character-card .account-avatar-options{grid-template-columns:1fr}}

/* Navegación y flujo de Amistosos para celular */
.mobile-app-nav,.friendly-mobile-tabs{display:none}.mobile-more-menu[hidden]{display:none!important}
.mobile-more-menu .mobile-admin-link{display:none}
body.is-admin .mobile-more-menu .mobile-admin-link{display:flex}
@media(max-width:720px){
  body{padding-bottom:76px}
  .topbar{min-height:60px;padding:7px 10px!important;flex-wrap:nowrap!important}
  .topbar nav,.topbar-pin-button{display:none!important}
  .topbar-admin-menu>summary{min-height:36px;padding:0 8px;font-size:9px}
  .brand img{width:104px;height:auto}.brand-fantasy-tag{font-size:8px}
  .round-pill{margin-left:auto}.topbar-account{margin-left:0}
  main{padding:18px 12px 34px}
  .mobile-app-nav{position:fixed;z-index:175;inset:auto 0 0;display:grid;grid-template-columns:repeat(5,1fr);min-height:68px;padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));border-top:1px solid rgba(16,55,43,.15);background:rgba(255,255,255,.97);box-shadow:0 -8px 28px rgba(7,53,36,.13);backdrop-filter:blur(12px)}
  .guest-mode .mobile-app-nav>a:not(.guest-mobile-link){display:none}.guest-mode .mobile-app-nav .guest-mobile-link{display:grid!important}.guest-mode .mobile-app-nav{grid-template-columns:repeat(5,1fr)}
  .mobile-app-nav>:is(a,button){position:relative;display:grid;min-width:0;min-height:56px;place-items:center;align-content:center;gap:2px;padding:3px;border:0;border-radius:12px;background:transparent;color:#63746d;cursor:pointer;text-decoration:none}
  .mobile-app-nav>:is(a,button)>span{font-size:20px;line-height:1}.mobile-app-nav>:is(a,button)>b{font-size:10px;line-height:1.2}
  .mobile-app-nav>:is(a,button).active{background:#eef7d8;color:var(--green)}
  .mobile-nav-badge{position:absolute;top:2px;right:calc(50% - 23px);display:none;min-width:18px;height:18px;padding:0 5px;border:2px solid white;border-radius:999px;background:#d94235;color:white;font-size:10px;font-style:normal;font-weight:900;line-height:14px;text-align:center}
  .mobile-nav-badge:not(:empty){display:block}
  .mobile-more-menu{position:fixed;z-index:210;inset:0;display:grid;align-items:end}
  .mobile-more-backdrop{position:absolute;inset:0;border:0;background:rgba(4,28,20,.62)}
  .mobile-more-menu>section{position:relative;z-index:1;max-height:85dvh;overflow-y:auto;padding:18px 14px calc(20px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:white;box-shadow:0 -20px 55px rgba(0,0,0,.22)}
  .mobile-more-menu header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.mobile-more-menu header strong{font-size:20px}.mobile-more-menu header button{width:42px;height:42px;border:0;border-radius:50%;background:#edf3ef;color:var(--green);font-size:25px}
  .mobile-more-menu section>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mobile-more-menu section>div>:is(a,button){position:relative;display:flex;align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:#f8faf8;color:var(--ink);font-size:14px;font-weight:800;text-align:left;text-decoration:none}.mobile-more-menu section>div>:is(a,button) span{font-size:20px}.mobile-more-menu section>div>:is(a,button) i{margin-left:auto;color:#c33228;font-style:normal}
  #friendliesView>.page-heading{margin:4px 0 14px}#friendliesView>.page-heading h1{font-size:38px}#friendliesView>.page-heading>div>p:last-child{font-size:15px;line-height:1.5}.online-legend{font-size:12px}
  .friendly-mobile-tabs{position:sticky;z-index:25;top:calc(var(--topbar-live-height) + 5px);display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 -3px 14px;padding:6px;border:1px solid #dbe5df;border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 8px 22px rgba(7,53,36,.08);backdrop-filter:blur(10px)}
  body:not(.topbar-pinned) .friendly-mobile-tabs{top:7px}
  .friendly-mobile-tabs button{position:relative;display:grid;min-width:0;min-height:53px;place-items:center;align-content:center;gap:3px;padding:4px 2px;border:0;border-radius:11px;background:transparent;color:#61726b}.friendly-mobile-tabs button span{font-size:18px}.friendly-mobile-tabs button b{font-size:10px}.friendly-mobile-tabs button.active{background:var(--green);color:white}.friendly-mobile-tabs button i{position:absolute;top:2px;right:5px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#e04c3c;color:white;font-size:9px;font-style:normal;font-weight:900;line-height:17px}.friendly-mobile-tabs button i:empty{display:none}
  #friendliesView [data-friendly-mobile-panel]{display:none!important}#friendliesView [data-friendly-mobile-panel].active{display:block!important}#friendliesView [data-friendly-mobile-panel][hidden]{display:none!important}
  .friendly-layout{display:block}.friendly-setup-card,.friendly-accepted-setup{padding:17px;margin:0}.friendly-requests-card,.friendly-history-card{margin:0}
  .friendly-setup-card>.section-head,.friendly-accepted-setup>.section-head{align-items:flex-start}.friendly-refresh{min-height:42px;font-size:12px}
  .legend-play-controls{padding:14px}.legend-play-controls label,.friendly-fields label{font-size:14px;line-height:1.4}.legend-play-controls select,.friendly-fields select{min-height:50px;font-size:16px}.friendly-fields label small,.friendly-fields .friendly-var-field small{font-size:12px}.friendly-var-field b{font-size:14px}
  .friendly-lineup-builder{display:block;margin-top:12px}.friendly-lineup-guide{margin:12px 0 0;padding:15px}.friendly-lineup-guide strong{font-size:15px}.friendly-lineup-guide p{font-size:13px}.friendly-lineup-guide button{min-height:46px;font-size:13px}.friendly-lineup-composition span{font-size:11px}.friendly-lineup-composition span b{font-size:13px}
  .friendly-pitch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0!important;padding:14px;border-width:3px;border-radius:16px;background:linear-gradient(145deg,#16754f,#0b603f)}.friendly-pitch:before,.friendly-pitch:after,.friendly-pitch-mark{display:none}.friendly-pitch-slot{position:static!important;width:auto!important;min-width:0!important;transform:none!important}.friendly-pitch-slot label{margin:0 0 4px;font-size:10px}.friendly-pitch-slot select{min-height:44px;padding:0 23px 0 8px;font-size:12px}
  .friendly-form-actions{position:sticky;z-index:18;bottom:72px;margin:16px -17px -17px;padding:12px 17px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);box-shadow:0 -8px 22px rgba(7,53,36,.08)}.friendly-form-actions p{font-size:12px}.friendly-form-actions .primary-action{min-height:50px;font-size:14px}
  #friendlyAcceptedSetup .friendly-form-actions{position:static;bottom:auto;margin:16px -17px -17px;padding:14px 17px;background:#fff;box-shadow:none}
  .friendly-request-section h3{padding:14px 16px;font-size:12px}.friendly-request-item{padding:16px}.friendly-request-user strong{font-size:15px}.friendly-request-user small{font-size:12px}.friendly-request-details span{padding:7px 9px;font-size:11px}.friendly-request-actions button{flex:1;min-height:46px;font-size:13px}.friendly-empty{font-size:13px}
  .friendly-history-item{padding:16px}.friendly-history-score strong{font-size:13px}.friendly-history-score small,.friendly-history-item>footer>span{font-size:11px}.friendly-history-plans span{font-size:10px}.friendly-history-plans b{font-size:12px}.friendly-history-item>footer button{min-height:44px;font-size:12px}
  .friendly-match-reopen{right:12px;bottom:82px;min-height:48px;font-size:13px}.toast{right:12px;bottom:84px;left:12px;max-width:none;font-size:14px}
  .friendly-match-modal{z-index:230}.friendly-match-card{height:100dvh;max-height:100dvh}.friendly-match-close{position:fixed;top:10px;right:10px}.friendly-match-maximize{display:none}.friendly-live-head{padding-top:55px}.friendly-score-team strong{font-size:13px}.friendly-score-team small{font-size:11px}.friendly-score{font-size:34px}.friendly-match-clock{font-size:14px}.friendly-event p,.friendly-event.goal p{font-size:14px!important}.friendly-lineup-player p b{font-size:13px}.friendly-lineup-player p small,.friendly-lineup-player em{font-size:11px}
  .friendly-live-body{display:flex!important;flex-direction:column}.friendly-commentary{order:1;padding:18px 15px}.friendly-events{max-height:52dvh}.friendly-tactical-summary{order:2;display:flex;flex-direction:column}.friendly-match-stats{order:-1;margin:0 0 18px;padding:0 0 17px;border-top:0;border-bottom:1px solid var(--line)}.friendly-match-lineups{order:3}
  .friendly-penalty-selection{grid-template-columns:1fr}.friendly-penalty-order{grid-template-columns:1fr 1fr}.friendly-penalty-order button{grid-column:1/-1;min-height:46px}.friendly-penalty-order select{height:42px;font-size:11px}
}
@media(max-width:420px){.topbar-admin-menu>summary b{display:none}.topbar-admin-menu>summary{width:35px;justify-content:center;padding:0}.topbar-admin-menu>summary i{display:none}.topbar-admin-dropdown{right:-35px;max-width:calc(100vw - 20px)}}
@media(max-width:390px){.mobile-app-nav>:is(a,button)>b,.friendly-mobile-tabs button b{font-size:9px}.mobile-more-menu section>div{grid-template-columns:1fr}.friendly-pitch{grid-template-columns:1fr 1fr;padding:10px;gap:7px}.friendly-pitch-slot select{font-size:11px}.friendly-score{font-size:29px}}

/* Ligas y mensajería: composición compacta y sin desbordes en celulares. */
@media(max-width:720px){
  .topbar-account{margin-left:auto!important}
  .account-menu-wrap{align-items:flex-end}
  .account-menu{right:0;max-width:calc(100vw - 20px)}

  #friendsView,#leagueList,.league-list-item,.league-list-body,.league-standings-section,.league-journal-card{width:100%;min-width:0;max-width:100%}
  .league-list-body{padding-inline:12px}
  .league-standings-head{align-items:flex-start;flex-direction:column;gap:5px}
  .league-standings-head small{font-size:11px}
  .league-table-wrap{overflow:hidden}
  .league-table{width:100%;table-layout:auto}
  .league-table th,.league-table td{padding:10px 5px}
  .league-table th:nth-child(n+4):not(:last-child),.league-table td:nth-child(n+4):not(:last-child){display:none}
  .league-table th:first-child,.league-table td:first-child{width:30px}
  .league-table th:nth-child(3),.league-table td:nth-child(3),.league-table th:last-child,.league-table td:last-child{width:42px}
  .league-team-identity{min-width:0;gap:7px}
  .league-team-identity>span{min-width:0}
  .league-team-identity>span strong,.league-team-identity>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

  .league-members>span{min-width:0;max-width:100%;overflow:hidden}
  .league-members>span small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .league-journal-card{overflow:hidden;padding:14px}
  .league-journal-head>div{min-width:0}
  .league-journal-head strong,.league-journal-head small{overflow-wrap:anywhere}
  .league-journal-form{grid-template-columns:minmax(0,1fr)}
  .league-journal-form textarea{min-width:0;max-width:100%;font-size:14px}
  .league-journal-form button{min-width:0;max-width:100%;min-height:46px;font-size:12px}
  .league-mention-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-top:0}
  .league-mention-picker>span{grid-column:1/-1;font-size:11px}
  .league-mention-picker button{min-width:0;max-width:100%;overflow:hidden;padding:8px 6px;font-size:10px;text-overflow:ellipsis;white-space:nowrap}

  #messagesView,.message-shell,.message-conversations,.message-thread,#messageThreadContent{width:100%;min-width:0;max-width:100%}
  .message-shell{overflow:hidden}
  .message-thread-head{min-width:0;padding:13px 12px;gap:8px}
  .message-thread-head>div{min-width:0}
  .message-thread-head strong,.message-thread-head small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .message-history{width:100%;min-width:0}
  .message-bubble{min-width:0;max-width:88%}
  .message-compose{width:100%;min-width:0;padding:12px}
  .message-compose textarea{min-width:0;max-width:100%;font-size:16px}
  .message-compose>div{flex-wrap:wrap}
}

@media(max-width:390px){
  .league-mention-picker{grid-template-columns:1fr}
  .league-mention-picker>span{grid-column:1}
}

/* Centro de una sola Liga: selector, conversación y repositorio propio. */
.league-list-grid{border-top:0}
.league-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;padding:14px;border-bottom:1px solid var(--line);background:#f4f8f5}
.league-selector-button{position:relative;display:grid;min-width:0;gap:4px;padding:13px 34px 13px 14px;border:1px solid #d7e1da;border-radius:12px;background:white;color:var(--ink);text-align:left;text-decoration:none;cursor:pointer}
.league-selector-button strong,.league-selector-button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.league-selector-button strong{font-size:13px}.league-selector-button span{color:var(--muted);font-size:10px}.league-selector-button i{position:absolute;right:13px;top:50%;color:var(--green);font-size:20px;font-style:normal;transform:translateY(-50%)}
.league-selector-button.active{border-color:var(--green);background:var(--green);color:white;box-shadow:0 7px 18px rgba(12,89,63,.16)}.league-selector-button.active span,.league-selector-button.active i{color:var(--lime)}
.league-workspace{min-width:0;background:white}.league-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f8fbf8,#eef6f1)}
.league-workspace-head>div{min-width:0}.league-workspace-head span{color:var(--green);font-size:9px;font-weight:950;letter-spacing:.11em}.league-workspace-head h3{margin:6px 0 5px;overflow-wrap:anywhere;color:var(--ink);font-size:26px}.league-workspace-head small{color:var(--muted);font-size:11px;line-height:1.5}.league-workspace-head>.league-status{flex:0 0 auto;padding:7px 10px;border-radius:999px;font-size:9px}
.league-workspace-body{display:grid;gap:17px;min-width:0;padding:20px 24px 24px}.league-workspace-body>.league-members{padding-bottom:2px}
.league-workspace-block{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fbfdfb}.league-workspace-block>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f1f7f3}.league-workspace-block>header span,.league-workspace-block>header strong{display:block}.league-workspace-block>header span{color:var(--green);font-size:8px;font-weight:950;letter-spacing:.1em}.league-workspace-block>header strong{margin-top:4px;font-size:16px}.league-workspace-block>header small{color:var(--muted);font-size:10px}
.league-next-match-block .league-base-plan{width:calc(100% - 28px);margin:14px}.league-next-match-block .league-match-list{grid-template-columns:1fr;border-top:1px solid var(--line)}.league-next-match-block .league-match-item{border-right:0}
.league-upcoming-matches .league-match-list{grid-template-columns:1fr;max-height:420px;overflow:auto}
.league-match-repository{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:white}.league-match-repository>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;list-style:none;cursor:pointer}.league-match-repository>summary::-webkit-details-marker{display:none}.league-match-repository>summary span b,.league-match-repository>summary span strong{display:block}.league-match-repository>summary span b{color:var(--green);font-size:8px;letter-spacing:.1em}.league-match-repository>summary span strong{margin-top:4px;font-size:15px}.league-match-repository>summary em{display:grid;min-width:28px;height:28px;place-items:center;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:10px;font-style:normal;font-weight:900}.league-match-repository[open]>summary{border-bottom:1px solid var(--line);background:#f6faf7}.league-match-repository .league-match-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.league-match-results>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;border-bottom:1px solid var(--line);background:#f6faf7}.league-match-results>header span b,.league-match-results>header span strong{display:block}.league-match-results>header span b{color:var(--green);font-size:8px;letter-spacing:.1em}.league-match-results>header span strong{margin-top:4px;font-size:15px}.league-match-results>header em{display:grid;min-width:28px;min-height:28px;padding:0 10px;place-items:center;border-radius:999px;background:#eaf3ed;color:var(--green);font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}
.league-archive-match-history{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:white}.league-archive-match-history>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f1f7f3}.league-archive-match-history>header span,.league-archive-match-history>header strong{display:block}.league-archive-match-history>header span{color:var(--green);font-size:8px;font-weight:950;letter-spacing:.1em}.league-archive-match-history>header strong{margin-top:4px;font-size:15px}.league-archive-match-history>header small{display:grid;min-width:28px;height:28px;place-items:center;border-radius:999px;background:#e3eee7;color:var(--green);font-size:10px;font-weight:900}.league-archive-match-history .league-match-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.league-workspace .league-standings-section{margin-top:0}.league-workspace .league-journal-list{max-height:390px;overflow-y:auto}.league-workspace .league-journal-card{padding:17px}

@media(max-width:720px){
  .league-selector{display:flex;overflow-x:auto;padding:10px;scroll-snap-type:x proximity}
  .league-selector-button{flex:0 0 min(78vw,280px);scroll-snap-align:start}
  .league-workspace-head{padding:18px 15px}.league-workspace-head h3{font-size:22px}.league-workspace-head small{font-size:10px}
  .league-workspace-body{gap:13px;padding:14px 12px 16px}
  .league-workspace-block>header{padding:13px}.league-next-match-block .league-base-plan{width:calc(100% - 24px);margin:12px}
  .league-match-repository .league-match-list{grid-template-columns:1fr}.league-match-repository .league-match-item{border-right:0}
  .league-archive-match-history .league-match-list{grid-template-columns:1fr}.league-archive-match-history .league-match-item{border-right:0}
  .league-workspace .league-journal-card{padding:14px}
}

/* Panel de una Liga: resumen 2x2 y estadísticas ampliables. */
.league-dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch;min-width:0}
.league-dashboard-grid>div{display:flex;min-width:0}
.league-dashboard-card{width:100%;height:100%;margin:0}
.league-dashboard-table .league-standings-section{overflow:hidden;margin:0;padding:0;border:1px solid var(--line);border-radius:13px;background:#fff}
.league-dashboard-table .league-standings-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#f1f7f3}
.league-dashboard-table .league-standings-head>div{min-width:0}
.league-dashboard-table .league-standings-head span,.league-dashboard-table .league-standings-head strong{display:block}
.league-dashboard-table .league-standings-head span{color:var(--green);font-size:8px;font-weight:950;letter-spacing:.1em}
.league-dashboard-table .league-standings-head strong{margin-top:4px;font-size:16px}
.league-dashboard-table .league-table-wrap{margin:0;border:0;border-radius:0}
.league-table-compact{table-layout:auto}
.league-table-compact th,.league-table-compact td{padding:10px 8px!important}
.league-table-compact th:first-child,.league-table-compact td:first-child{width:34px}
.league-table-compact th:nth-child(n+3),.league-table-compact td:nth-child(n+3){width:43px;text-align:center}
.league-standings-expand{flex:0 0 auto;min-height:34px;padding:7px 10px;border:1px solid #b9cec1;border-radius:9px;background:#fff;color:var(--green);font-size:10px;font-weight:900;cursor:pointer}
.league-standings-expand:hover{border-color:var(--green);background:#eaf3ed}
.league-dashboard-upcoming .league-workspace-block,.league-dashboard-results .league-match-results,.league-dashboard-forum .league-journal-card{width:100%;margin:0}
.league-dashboard-upcoming .league-match-list,.league-dashboard-results .league-match-list{grid-template-columns:1fr;max-height:360px;overflow-y:auto}
.league-dashboard-upcoming .league-match-item,.league-dashboard-results .league-match-item{border-right:0}
.league-dashboard-upcoming .league-match-list{max-height:330px}
.league-dashboard-upcoming .league-match-item{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;padding:11px 13px;border-top-color:rgba(12,89,63,.34)}
.league-dashboard-upcoming .league-match-item>div{gap:8px}
.league-dashboard-upcoming .league-match-item>div{grid-column:1}
.league-dashboard-upcoming .league-match-item>div span{font-size:9px;letter-spacing:.06em}
.league-dashboard-upcoming .league-match-item>div time{font-size:10px}
.league-dashboard-upcoming .league-match-item>section{grid-column:1;gap:8px;margin:3px 0}
.league-dashboard-upcoming .league-match-item strong{font-size:14px}
.league-dashboard-upcoming .league-match-item small{margin-top:2px;font-size:10px}
.league-dashboard-upcoming .league-match-item>section>b{font-size:24px}
.league-dashboard-upcoming .league-match-item>footer{grid-column:1;justify-content:center;align-self:center;margin-top:-1px}
.league-dashboard-upcoming .league-match-item>footer:empty{display:none}
.league-dashboard-upcoming .league-match-item button{padding:6px 8px;font-size:8px;white-space:nowrap}
.league-dashboard-forum .league-journal-card{max-height:430px;overflow:hidden}
.league-dashboard-forum .league-journal-list{max-height:220px;overflow-y:auto}

.league-standings-modal{position:fixed;z-index:240;inset:0;display:none;padding:18px}
.league-standings-modal.open{display:grid;place-items:center}
.league-standings-backdrop{position:absolute;inset:0;background:rgba(4,28,20,.68);backdrop-filter:blur(3px)}
.league-standings-card{position:relative;z-index:1;width:min(980px,96vw);max-height:92vh;overflow:auto;padding:26px;border:1px solid rgba(255,255,255,.45);border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(4,28,20,.32)}
.league-standings-card>.eyebrow{margin:0 44px 5px 0}
.league-standings-card>h2{margin:0 44px 18px 0;font-size:28px}
.league-standings-close{position:absolute;top:15px;right:15px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:50%;background:#eaf3ed;color:var(--green);font-size:25px;line-height:1;cursor:pointer}
.league-stats-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px;padding:5px;border:1px solid var(--line);border-radius:12px;background:#f3f7f4}
.league-stats-tabs button{min-height:42px;padding:8px;border:0;border-radius:9px;background:transparent;color:#607169;font-size:12px;font-weight:900;cursor:pointer}
.league-stats-tabs button.active{background:var(--green);color:#fff;box-shadow:0 5px 13px rgba(12,89,63,.18)}
.league-stats-panel{display:none}.league-stats-panel.active{display:block}
.league-stats-panel .league-standings-section{margin:0;padding:0;border:0}
.league-stats-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 0 12px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.league-stats-panel-head strong{font-size:18px}.league-stats-panel-head small{color:var(--muted);font-size:10px;text-align:right}
.league-leader-list{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.league-leader-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.league-leader-list article:last-child{border-bottom:0}
.league-leader-list article>b{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;background:#eaf3ed;color:var(--green);font-size:11px}
.league-leader-list article>span{display:flex;min-width:0;align-items:baseline;gap:6px}
.league-leader-list article>span strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.league-leader-list article>span small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.league-leader-list article>em{min-width:36px;padding:6px 9px;border-radius:999px;background:var(--lime);color:var(--green);font-size:12px;font-style:normal;font-weight:950;text-align:center}

@media(max-width:900px){.league-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){
  .league-dashboard-grid{gap:13px}
  .league-dashboard-table .league-standings-head{align-items:center;flex-direction:row}
  .league-table-compact th:nth-child(n+4):not(:last-child),.league-table-compact td:nth-child(n+4):not(:last-child){display:none!important}
  .league-standings-modal{padding:0}
  .league-standings-card{width:100%;min-height:100dvh;max-height:100dvh;padding:19px 14px;border:0;border-radius:0}
  .league-standings-card>h2{font-size:23px}
  .league-stats-tabs{position:sticky;z-index:2;top:-19px;overflow-x:auto;background:#f3f7f4}
  .league-stats-tabs button{font-size:10px}
  .league-standings-modal .league-table-wrap{overflow-x:auto}
  .league-standings-modal .league-table{min-width:760px}
  .league-standings-modal .league-table th,.league-standings-modal .league-table td{display:table-cell!important}
  .league-stats-panel-head{align-items:flex-start;flex-direction:column}
  .league-stats-panel-head small{text-align:left}
  .league-leader-list article>span{align-items:flex-start;flex-direction:column;gap:2px}
}
/* Mini VAR y penales: animacion vectorial liviana, sin video ni imagenes externas. */
.live-tv-card{position:relative;overflow:hidden;margin:14px 0;border:1px solid #31445d;border-radius:18px;background:#07131f;color:#f7fbff;box-shadow:0 14px 30px #02070d55;font-family:"Trebuchet MS",sans-serif}.live-tv-card header,.live-tv-card footer{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#0d2030;font-size:12px;letter-spacing:.08em}.live-tv-card header b,.live-tv-card footer strong{margin-left:auto}.live-tv-card footer strong{color:#f7d34a}.live-dot{width:8px;height:8px;border-radius:50%;background:#ff3e4d;box-shadow:0 0 0 4px #ff3e4d25;animation:livePulse 1s infinite}.tv-replay,.penalty-replay{position:relative;height:180px;overflow:hidden;background:linear-gradient(#86c9ea 0 36%,#4d9b58 36% 100%);perspective:600px}.tv-replay:after,.penalty-replay:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,#fff0 0 3px,#0001 4px);pointer-events:none}.pitch-line{position:absolute;left:0;right:0;bottom:26px;height:3px;background:#e9f2de99}.player,.penalty-player,.keeper{position:absolute;width:34px;height:68px;bottom:32px;border-radius:18px 18px 13px 13px;background:#e3483e;transform-origin:50% 90%}.player:before,.penalty-player:before,.keeper:before{content:"";position:absolute;left:7px;top:-23px;width:21px;height:21px;border-radius:50%;background:#d9a276}.player i:before,.player i:after,.penalty-player i:before,.penalty-player i:after,.keeper i:before,.keeper i:after{content:"";position:absolute;bottom:-26px;width:10px;height:31px;border-radius:8px;background:#172334}.player i:before,.penalty-player i:before,.keeper i:before{left:5px}.player i:after,.penalty-player i:after,.keeper i:after{right:5px}.attacker{left:18%;animation:varRun 4.8s ease-in-out infinite}.defender{left:64%;background:#e7cf35;animation:varHit 4.8s ease-in-out infinite}.ball,.penalty-ball{position:absolute;width:13px;height:13px;border-radius:50%;background:#fff;border:2px solid #15212c;bottom:31px;left:43%;animation:ballMove 4.8s ease-in-out infinite}.impact{position:absolute;left:59%;top:48%;opacity:0;color:#ffe34f;font:bold 35px Georgia;animation:impactFlash 4.8s infinite}.referee-sequence{position:absolute;z-index:4;right:12px;top:48px;width:58px;height:88px;filter:drop-shadow(0 4px 3px #0008)}.ref-head{position:absolute;left:19px;top:3px;width:21px;height:21px;border-radius:50%;background:#d7a17b}.ref-body{position:absolute;left:13px;top:23px;width:33px;height:48px;border-radius:14px 14px 9px 9px;background:#e9dc24}.ref-arm{position:absolute;top:27px;width:9px;height:42px;border-radius:8px;background:#d7a17b;transform-origin:50% 90%;animation:refSignal 4.8s ease-in-out infinite}.ref-arm.left{left:11px}.ref-arm.right{right:9px;animation-name:refSignalRight}.referee-sequence span{position:absolute;top:0;left:-2px;width:62px;height:38px;border:3px solid #83d9ed;border-radius:4px;text-align:center;padding-top:9px;font-size:10px;opacity:0;animation:varFrame 4.8s infinite}.goal-frame{position:absolute;right:7%;top:25px;width:43%;height:112px;border:6px solid #f4f5ed;border-bottom:0;background:repeating-linear-gradient(45deg,#fff2 0 2px,#0000 2px 13px)}.keeper{right:24%;bottom:31px;background:#59bbce;animation:keeperDive 3.8s ease-in-out infinite}.penalty-player{left:18%;background:#e3483e;animation:kickerStrike 3.8s ease-in-out infinite}.penalty-ball{left:35%;animation:penaltyBallGoal 3.8s ease-in-out infinite}.penalty-miss .penalty-ball{animation-name:penaltyBallMiss}.penalty-miss .keeper{animation-name:keeperSave}@keyframes livePulse{50%{opacity:.35}}@keyframes refSignal{0%,12%{transform:rotate(0)}22%,50%{transform:translate(-12px,-24px) rotate(-48deg)}60%,100%{transform:rotate(-70deg)}}@keyframes refSignalRight{0%,12%{transform:rotate(0)}22%,50%{transform:translate(12px,-24px) rotate(48deg)}60%,100%{transform:rotate(70deg)}}@keyframes varFrame{0%,18%{opacity:0;transform:scale(.7)}25%,52%{opacity:1;transform:scale(1)}60%,100%{opacity:0}}@keyframes varRun{0%,25%{transform:translateX(-45px)}55%,68%{transform:translateX(120px) rotate(22deg)}75%,100%{transform:translateX(120px) rotate(78deg)}}@keyframes varHit{0%,50%{transform:none}62%,100%{transform:translateX(13px) rotate(68deg)}}@keyframes ballMove{0%,30%{transform:translateX(-40px)}60%,100%{transform:translateX(70px)}}@keyframes impactFlash{0%,52%,100%{opacity:0;transform:scale(.5)}58%,68%{opacity:1;transform:scale(1.3)}}@keyframes kickerStrike{0%,28%{transform:translateX(-35px)}48%,100%{transform:translateX(42px) rotate(-8deg)}}@keyframes keeperDive{0%,42%{transform:none}70%,100%{transform:translate(-58px,-17px) rotate(-68deg)}}@keyframes keeperSave{0%,42%{transform:none}70%,100%{transform:translate(-75px,-6px) rotate(-78deg)}}@keyframes penaltyBallGoal{0%,42%{transform:translate(0,0)}72%,100%{transform:translate(190px,-58px)}}@keyframes penaltyBallMiss{0%,42%{transform:translate(0,0)}72%,100%{transform:translate(134px,-31px)}}@media(max-width:600px){.tv-replay,.penalty-replay{height:150px}.referee-sequence{transform:scale(.82);transform-origin:top right}}@media(prefers-reduced-motion:reduce){.live-tv-card *{animation-duration:.01ms!important;animation-iteration-count:1!important}}
.var-tv .violent-foul{background:linear-gradient(#8cc9e8 0 36%,#397c46 36% 100%)}.var-tv .violent-foul .impact{color:#ff334d;text-shadow:0 0 14px #fff}.var-tv:has(.violent-foul) footer strong{color:#ff6572}
.friendly-live-switcher button.reviewing:not(.active){border-color:#ef8e55;background:#fff5ec}.friendly-live-switcher button.reviewing em{color:#c4471e;font-weight:900}
@media(max-width:720px){.friendly-live-switcher{padding:10px 48px 10px 10px}.friendly-live-switcher>header{display:block}.friendly-live-switcher>header small{display:block;margin-top:2px}.friendly-live-switcher>div{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.friendly-live-switcher button{flex:0 0 min(82vw,270px);scroll-snap-align:start}}
.match-sound-toggle-fixed{z-index:4}
.friendly-match-controls{position:absolute;z-index:30;top:13px;right:15px;display:flex;align-items:center;gap:7px}.friendly-match-controls .match-sound-toggle,.friendly-match-controls .friendly-match-maximize,.friendly-match-controls .friendly-match-close{position:static;top:auto;right:auto;flex:0 0 auto}.friendly-match-controls .match-sound-toggle{z-index:auto;min-height:38px;background:rgba(8,45,34,.46);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.match-sound-library{display:grid;gap:10px;margin-top:18px}.match-sound-row{display:grid;grid-template-columns:minmax(170px,.8fr) minmax(220px,1.4fr) auto;gap:14px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:13px;background:#fbfdfb}.match-sound-row strong{display:block;color:var(--green);font-size:14px}.match-sound-row small{display:block;margin-top:4px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.match-sound-row input[type=file]{width:100%;font-size:12px}.match-sound-actions{display:flex;gap:7px;align-items:center}.match-sound-actions button{white-space:nowrap}.match-sound-actions button.primary{background:var(--green);color:#fff}.match-sound-actions button:disabled{opacity:.5;cursor:not-allowed}
.friendly-shootout-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;width:min(680px,92%);margin:14px auto 8px;padding:11px 18px;border:1px solid rgba(217,255,86,.55);border-radius:14px;background:rgba(2,31,21,.28);color:#fff}.friendly-shootout-scoreboard>span{min-width:0;text-align:center}.friendly-shootout-scoreboard>span b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.friendly-shootout-scoreboard>span small{display:flex;min-height:17px;justify-content:center;gap:5px;margin-top:5px;color:#dce9e2;font-size:9px}.friendly-shootout-scoreboard>span i{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;font-style:normal;font-size:10px}.friendly-shootout-scoreboard>span i.scored{background:var(--lime);color:var(--green)}.friendly-shootout-scoreboard>span i.missed{background:#e55b50;color:#fff}.friendly-shootout-scoreboard>div{text-align:center}.friendly-shootout-scoreboard>div small{display:block;color:var(--lime);font-size:8px;font-weight:900;letter-spacing:.16em}.friendly-shootout-scoreboard>div strong{display:block;margin-top:2px;color:#fff;font:900 27px Georgia,serif;white-space:nowrap}
@media(max-width:720px){.match-sound-row{grid-template-columns:minmax(0,1fr)}.match-sound-actions{justify-content:flex-start}}
@media(max-width:560px){.friendly-shootout-scoreboard{width:94%;gap:8px;padding:9px 8px}.friendly-shootout-scoreboard>span b{font-size:10px}.friendly-shootout-scoreboard>div strong{font-size:23px}}
