/* Mi Liga · sistema visual "césped y tiza" */
:root {
  --bg: #F4F2EA; --surface: #FFFFFF; --surface-2: #FAF9F5; --sunk: #ECE9DE;
  --ink: #0D1B14; --ink-2: #33403A; --muted: #59645D; --line: #DCD9CC; --line-2: #E8E5DA;
  --brand: #0B5D3B; --brand-ink: #FFFFFF; --brand-deep: #08331F; --brand-deep-ink: #FFFFFF; --accent: #C8F05A; --accent-ink: #0D1B14;
  --brand-soft: color-mix(in oklab, var(--brand) 9%, white);
  --brand-line: color-mix(in oklab, var(--brand) 28%, white);
  --live: #D3291C; --yellow: #F2C200; --red: #D3291C; --ok: #1E7A46; --ok-soft: #E3F1E8; --warn: #8A5300; --warn-soft: #FBF0DA; --bad-soft: #FBE6E3;
  --r: 10px; --r-sm: 8px; --r-xs: 6px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-pop: 0 12px 32px -12px rgba(13, 27, 20, .28), 0 2px 6px rgba(13, 27, 20, .08);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: 16px; --max: 1200px; --top: 64px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 12px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--f); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; }
a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: color-mix(in oklab, var(--brand) 22%, white); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.d { font-stretch: 72%; font-weight: 800; letter-spacing: -.005em; }
.d-80 { font-stretch: 80%; font-weight: 750; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.xs { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #CFCBBB; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- iconos ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* ---------- botones ---------- */
.btn { --bg-b: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-b); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease); white-space: nowrap; }
.btn:hover { border-color: #C6C2B2; background: var(--surface-2); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn-primary:hover { background: color-mix(in oklab, var(--brand) 88%, black); border-color: transparent; }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 88%, black); }
.btn-quiet { background: transparent; border-color: transparent; }
.btn-quiet:hover { background: var(--sunk); border-color: transparent; }
.btn-danger { color: var(--red); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink-2); transition: background .15s; }
.icon-btn:hover { background: var(--sunk); }
.link { color: var(--brand); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); padding-bottom: 1px; }
.link:hover { background-size: 100% 1.5px; }

/* ---------- formularios ---------- */
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field small { color: var(--muted); font-size: 13px; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.input:hover, .select:hover, .textarea:hover { border-color: #C6C2B2; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 18%, transparent); }
.select { appearance: none; padding-right: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2359645D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 18px no-repeat; }
.textarea { min-height: 96px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #7A847D; }
.input-color { width: 52px; height: 44px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: center; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); }

/* ---------- fichas y segmentos ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: #C6C2B2; }
.chip[aria-pressed="true"], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { font-weight: 500; opacity: .7; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-sm); background: var(--sunk); }
.seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 27, 20, .12); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { flex: none; position: relative; min-height: 46px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs [aria-current="true"], .tabs [aria-selected="true"] { color: var(--ink); }
.tabs [aria-current="true"]::after, .tabs [aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }

/* ---------- superficies ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-head h3 { font-size: 17px; font-weight: 700; }
a.card { display: block; text-decoration: none; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
a.card:hover { transform: translateY(-2px); border-color: #C6C2B2; box-shadow: 0 8px 20px -14px rgba(13, 27, 20, .35); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 28px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.sticky { position: sticky; top: calc(var(--top) + 16px); }
hr.sep { border: 0; border-top: 1px solid var(--line-2); margin: 0; }

/* ---------- estados ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: var(--r-xs); font-size: 12px; font-weight: 700; letter-spacing: .01em; background: var(--sunk); color: var(--ink-2); white-space: nowrap; }
.badge-live { background: var(--live); color: #fff; }
.badge-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: #A31D12; }
.badge-brand { background: var(--brand-soft); color: var(--brand); }
.badge-ink { background: var(--ink); color: #fff; }
@keyframes latido { 50% { opacity: .35; } }
.tarjeta { display: inline-block; width: 10px; height: 14px; border-radius: 2px; vertical-align: -2px; }
.tarjeta.am { background: var(--yellow); } .tarjeta.ro { background: var(--red); }
.forma { display: inline-flex; gap: 3px; }
.forma i { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; color: #fff; }
.forma .G { background: var(--ok); } .forma .E { background: #8C948E; } .forma .P { background: #B23A2E; }

/* ---------- escudos ---------- */
.crest { flex: none; }
.crest-img { object-fit: contain; flex: none; }
.team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.team-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-ph { color: var(--muted); font-style: italic; font-weight: 500; }
.ph-crest { width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed #BDB8A6; flex: none; }

/* ---------- cabecera pública ---------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { height: var(--top); display: flex; align-items: center; gap: 20px; }
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brandmark b { display: block; font-stretch: 78%; font-weight: 800; font-size: 19px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brandmark small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 3px; white-space: nowrap; }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 0 12px; height: 40px; display: inline-flex; align-items: center; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 3px; background: var(--brand); border-radius: 3px 3px 0 0; }
.skip-link { position: fixed; inset: 8px auto auto 12px; z-index: 46; padding: 10px 14px; background: var(--surface); color: var(--ink); border-radius: var(--r-sm); }
.skip-link:not(:focus) { clip-path: inset(50%); }
body.public #main { scroll-margin-top: var(--top); }
.top-actions { display: flex; gap: 8px; margin-left: auto; align-items: center; }
@media (min-width: 1024px) { .nav { display: flex; } .top-actions { margin-left: 12px; } }

/* barra inferior móvil */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a, .tabbar button { min-height: 58px; display: grid; place-items: center; align-content: center; gap: 3px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--muted); border: 0; background: none; cursor: pointer; }
.tabbar [aria-current="page"] { color: var(--brand); }
.tabbar [aria-current="page"] .i { stroke-width: 2.2; }
@media (min-width: 1024px) { .tabbar { display: none; } }
@media (max-width: 1023px) { body.public { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }

/* ---------- hero de la jornada ---------- */
.jornada { position: relative; overflow: hidden; background: var(--brand-deep); color: var(--brand-deep-ink); }
.jornada::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.10) calc(50% - 1px), rgba(255,255,255,.10) calc(50% + 1px), transparent calc(50% + 1px)),
  radial-gradient(circle at 50% 50%, transparent 129px, rgba(255,255,255,.10) 130px, rgba(255,255,255,.10) 132px, transparent 133px); pointer-events: none; }
.jornada .wrap { position: relative; padding-top: 36px; padding-bottom: 36px; display: grid; gap: 28px; }
@media (min-width: 1024px) { .jornada .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 52px; padding-bottom: 52px; } }
.jornada h1 { font-size: clamp(40px, 7vw, 76px); line-height: .95; font-stretch: 70%; font-weight: 850; letter-spacing: -.01em; }
.jornada h1 em { font-style: normal; color: var(--accent); }
.jornada p.lead { color: color-mix(in oklab, var(--brand-deep-ink) 78%, transparent); font-size: 18px; max-width: 46ch; margin-top: 14px; }
.jornada .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-weight: 600; font-size: 15px; }
.jornada .meta span { display: inline-flex; gap: 8px; align-items: center; }
.jornada .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.jornada .btn { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: var(--brand-deep-ink); }
.jornada .btn:hover { background: rgba(255,255,255,.12); }
.jornada .btn-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.jornada .btn-accent:hover { background: color-mix(in oklab, var(--accent) 88%, white); }

/* tarjeta "tu equipo" */
.mi-equipo { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 18px; box-shadow: 0 24px 48px -24px rgba(0,0,0,.5); }
.mi-equipo .eyebrowless { font-size: 13px; font-weight: 700; color: var(--muted); }
.vs-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 14px 0; }
.vs-row .t { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.2; }
.vs-row .vs { font-stretch: 70%; font-weight: 800; font-size: 22px; color: var(--muted); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.countdown div { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px; text-align: center; }
.countdown b { display: block; font-stretch: 72%; font-weight: 800; font-size: 28px; line-height: 1; }
.countdown small { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- secciones públicas ---------- */
.page { padding: 28px 0 56px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); font-stretch: 72%; font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 6px; }
.sec { padding: 36px 0 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(24px, 3vw, 30px); font-stretch: 74%; font-weight: 800; }
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
@media (min-width: 768px) { .filters.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .filters.f3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- partido (tarjeta) ---------- */
.matches { display: grid; gap: 12px; }
@media (min-width: 720px) { .matches.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .matches.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.m { display: block; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
a.m:hover { transform: translateY(-2px); border-color: #C6C2B2; box-shadow: 0 8px 20px -14px rgba(13, 27, 20, .35); }
.m.is-live { border-color: color-mix(in oklab, var(--live) 45%, white); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--live) 25%, transparent); }
.m-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.m-top .spacer { flex: 1; }
.cancha-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 6px; border-radius: 5px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.m-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 34px; }
.m-row .g { font-stretch: 72%; font-weight: 800; font-size: 24px; min-width: 24px; text-align: right; }
.m-row.lose .team-name { color: var(--muted); font-weight: 500; }
.m-row.lose .g { color: var(--muted); }
.m-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); }
.m-pen { font-size: 12px; color: var(--muted); font-weight: 600; }
/* lista compacta */
.mlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mli { display: grid; grid-template-columns: 64px minmax(0, 1fr) 70px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line-2); text-decoration: none; transition: background .15s; }
.mli:first-child { border-top: 0; }
.mli:hover { background: var(--surface-2); }
.mli .h { font-weight: 700; font-size: 14px; }
.mli .h small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.mli .sc { text-align: center; font-stretch: 72%; font-weight: 800; font-size: 20px; }
.mli-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 13px; }
.mli .l { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
@media (max-width: 640px) { .mli { grid-template-columns: 52px minmax(0, 1fr) 54px minmax(0, 1fr); padding: 10px; gap: 8px; } .mli > .i { display: none; } .mli .team .crest { width: 24px; height: 24px; } .mli .team-name { font-size: 14px; } }
.day-head { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 12px; }
.day-head h3 { font-size: 22px; font-stretch: 74%; font-weight: 800; }

/* ---------- tabla de posiciones ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
.t th { position: sticky; top: 0; background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 10px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t th.l, .t td.l { text-align: left; }
.t td { padding: 10px 8px; text-align: center; border-top: 1px solid var(--line-2); white-space: nowrap; }
.t tr:first-child td { border-top: 0; }
.t tbody tr { transition: background .12s; }
.t tbody tr:hover { background: var(--surface-2); }
.t .pts { font-weight: 800; font-size: 16px; }
.t .pos { width: 40px; font-weight: 700; color: var(--muted); }
.t tr.q .pos { color: var(--brand); }
.t tr.q td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
.t tr.fav { background: color-mix(in oklab, var(--accent) 16%, white); }
.t a { text-decoration: none; }
.t a:hover .team-name { text-decoration: underline; }
.t .team { max-width: 240px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--brand); margin-right: 6px; vertical-align: -1px; }
@media (max-width: 640px) { .t .hide-sm { display: none; } .t .team-name { max-width: 130px; } }

/* ---------- llaves ---------- */
.bracket { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 28px; overflow-x: auto; padding: 4px 2px 12px; }
.round h4 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.round-col { display: flex; flex-direction: column; justify-content: space-around; gap: 16px; height: calc(100% - 28px); }
.bm { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; display: block; transition: border-color .15s, transform .18s var(--ease); }
a.bm:hover { border-color: #C6C2B2; transform: translateY(-2px); }
.bm .s { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; min-height: 42px; }
.bm .s + .s { border-top: 1px solid var(--line-2); }
.bm .s.w .team-name { font-weight: 800; }
.bm .s.l .team-name, .bm .s.l b { color: var(--muted); }
.bm .s b { font-stretch: 72%; font-weight: 800; font-size: 18px; }
.bm .when { font-size: 12px; color: var(--muted); padding: 6px 10px; border-top: 1px dashed var(--line); font-weight: 600; }
.round:not(:last-child) .bm::after { content: ""; position: absolute; right: -15px; top: 50%; width: 14px; border-top: 1.5px solid var(--line); }
.champ { display: grid; place-items: center; text-align: center; gap: 10px; padding: 20px; border: 1.5px dashed var(--line); border-radius: var(--r); }
.champ.won { border: 0; background: var(--brand-deep); color: var(--brand-deep-ink); }
.champ .trofeo { color: var(--accent); }

/* ---------- marcador (centro del partido) ---------- */
.marcador { background: var(--brand-deep); color: var(--brand-deep-ink); border-radius: 14px; padding: 22px 18px; position: relative; overflow: hidden; }
.marcador::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.08) calc(50% - 1px), rgba(255,255,255,.08) calc(50% + 1px), transparent calc(50% + 1px)); pointer-events: none; }
.marcador > * { position: relative; }
.marcador > .sr { position: absolute; }
.partido-actions, .partido-actions .row { flex-wrap: wrap; }
.marcador .ctx { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px; font-weight: 600; opacity: .85; text-align: center; }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 18px; }
.score .side { display: grid; justify-items: center; gap: 10px; text-align: center; min-width: 0; }
.score .side b { font-size: 17px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.score .sidebar a { text-decoration: none; }
.score .goles { display: flex; align-items: center; gap: 12px; font-stretch: 66%; font-weight: 850; font-size: clamp(56px, 11vw, 96px); line-height: .9; }
.score .goles span.sep { opacity: .4; font-size: .6em; }
.score .estado { text-align: center; margin-top: 10px; display: grid; justify-items: center; gap: 4px; }
.reloj { font-stretch: 72%; font-weight: 800; font-size: 22px; color: var(--accent); }
.score .pen { font-size: 14px; font-weight: 600; opacity: .85; }
.golazo { animation: golazo .9s var(--ease); }
@keyframes golazo { 0% { transform: scale(1); } 30% { transform: scale(1.18); color: var(--accent); } 100% { transform: scale(1); } }
.scorers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; font-size: 13.5px; opacity: .9; }
.scorers div:last-child { text-align: right; }

/* línea de tiempo */
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; min-height: 48px; border-top: 1px solid var(--line-2); }
.tl:first-child { border-top: 0; }
.tl .min { text-align: center; font-weight: 800; font-stretch: 75%; font-size: 17px; color: var(--muted); }
.tl .ev { display: flex; align-items: center; gap: 10px; padding: 8px 0; min-width: 0; }
.tl .ev.L { justify-content: flex-end; text-align: right; }
.tl .ev .who { min-width: 0; }
.tl .ev .who b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl .ev .who small { color: var(--muted); font-size: 12.5px; }
.ev-ico { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sunk); }
.ev-ico.gol { background: var(--ink); color: #fff; }
.tl-sep { text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 8px; background: var(--surface-2); border-top: 1px solid var(--line-2); }

/* alineaciones */
.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.lineups > div + div { border-left: 1px solid var(--line-2); }
.lu { display: flex; align-items: center; gap: 10px; padding: 8px 16px; min-height: 40px; font-size: 14.5px; }
.lu .dorsal { width: 26px; text-align: right; font-weight: 800; font-stretch: 75%; color: var(--muted); }
.lu .pos { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- tablas genéricas (admin) ---------- */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-2); min-height: 56px; text-decoration: none; }
.li:first-child { border-top: 0; }
a.li:hover, button.li:hover { background: var(--surface-2); }
button.li { width: 100%; border: 0; border-top: 1px solid var(--line-2); background: none; text-align: left; cursor: pointer; }
.li .grow { flex: 1; min-width: 0; }
.li .grow b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .grow small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank { width: 28px; text-align: center; font-weight: 800; font-stretch: 75%; font-size: 18px; color: var(--muted); }
.big-n { font-stretch: 70%; font-weight: 850; font-size: 26px; line-height: 1; }

/* ---------- estadísticas ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpis > div { background: var(--surface); padding: 16px 18px; }
.kpis b { display: block; font-stretch: 70%; font-weight: 850; font-size: 36px; line-height: 1; }
.kpis span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; font-weight: 500; }
.bar { height: 6px; border-radius: 6px; background: var(--sunk); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }

/* ---------- pie ---------- */
.foot { margin-top: 24px; border-top: 1px solid var(--line); background: var(--surface-2); }
.foot .wrap { padding-top: 32px; padding-bottom: 32px; display: grid; gap: 24px; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot a:hover { text-decoration: underline; }
.firma { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; text-decoration: none; }
.firma:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line-2); }
.foot-bottom .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }

/* ---------- patrocinadores ---------- */
.sponsors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .sponsors { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.sponsor { display: grid; place-items: center; align-content: center; gap: 4px; min-height: 92px; padding: 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.sponsor b { font-stretch: 78%; font-weight: 800; font-size: 18px; line-height: 1.1; }
.sponsor small { color: var(--muted); font-size: 12.5px; font-weight: 600; }

/* ---------- diálogo y hoja ---------- */
dialog.dlg { border: 0; padding: 0; border-radius: 14px; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop); }
dialog.dlg::backdrop { background: rgba(13, 27, 20, .45); }
dialog.dlg[open] { animation: dlg-in .22s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line-2); }
.dlg-head h2 { font-size: 19px; font-weight: 700; }
.dlg-body { padding: 20px; display: grid; gap: 16px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--surface-2); }
@media (max-width: 640px) { dialog.dlg { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 16px 16px 0 0; } dialog.dlg[open] { animation: sheet-in .26s var(--ease); } @keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } } }

.toast-zone { position: fixed; z-index: 80; left: 50%; bottom: 88px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
@media (min-width: 1024px) { .toast-zone { bottom: 24px; } }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: var(--r-sm); padding: 12px 14px; box-shadow: var(--shadow-pop); font-size: 15px; animation: dlg-in .22s var(--ease); }
.toast button { margin-left: auto; background: none; border: 0; color: var(--accent); font-weight: 700; cursor: pointer; padding: 6px; }

/* ---------- vacío ---------- */
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; color: var(--muted); }
.empty b { color: var(--ink); font-size: 17px; }

/* ---------- soporte flotante ---------- */
.fab { position: fixed; right: 16px; bottom: 84px; z-index: 44; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 23px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-pop); font-weight: 600; font-size: 14px; cursor: pointer; }
.fab:hover { background: var(--surface-2); }
@media (min-width: 1024px) { .fab { bottom: 20px; } }

/* ---------- carné digital ---------- */
.carne { width: min(380px, 100%); margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(13, 27, 20, .45); }
.carne-top { background: var(--brand-deep); color: var(--brand-deep-ink); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.carne-body { padding: 18px; display: grid; gap: 14px; }
.carne-foto { width: 84px; height: 84px; border-radius: 12px; background: var(--sunk); display: grid; place-items: center; font-stretch: 72%; font-weight: 800; font-size: 30px; color: var(--muted); }
.carne dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.carne dt { color: var(--muted); font-weight: 600; }
.carne dd { margin: 0; font-weight: 600; }
.qr { display: grid; place-items: center; padding: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; }
.qr svg, .qr img { width: 148px; height: 148px; }

/* ---------- ingreso ---------- */
.auth { min-height: calc(100dvh - var(--top)); display: grid; }
@media (min-width: 1024px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-art { display: none; position: relative; background: var(--brand-deep); color: var(--brand-deep-ink); overflow: hidden; }
@media (min-width: 1024px) { .auth-art { display: grid; align-content: end; padding: 48px; } }
.auth-art::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(transparent calc(50% - 1px), rgba(255,255,255,.12) calc(50% - 1px), rgba(255,255,255,.12) calc(50% + 1px), transparent calc(50% + 1px)),
  radial-gradient(circle at 50% 50%, transparent 109px, rgba(255,255,255,.12) 110px, rgba(255,255,255,.12) 112px, transparent 113px); }
.auth-art > * { position: relative; }
.auth-art h2 { font-size: 52px; font-stretch: 70%; font-weight: 850; line-height: .95; max-width: 12ch; }
.auth-form { display: grid; align-content: center; justify-items: center; padding: 32px var(--gutter); }
.auth-form > div { width: min(420px, 100%); display: grid; gap: 18px; }
.roles { display: grid; gap: 8px; }
.role { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.role:hover { border-color: var(--brand); background: var(--brand-soft); }
.role .ri { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.role b { display: block; font-size: 15.5px; }
.role small { color: var(--muted); font-size: 13.5px; }

/* ======================= PANEL ======================= */
body.admin { background: var(--bg); }
.shell { display: grid; min-height: 100dvh; }
@media (min-width: 1024px) { .shell { grid-template-columns: 264px minmax(0, 1fr); } }
.sidebar { display: none; position: sticky; top: 0; height: 100dvh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); padding: 16px 12px; flex-direction: column; gap: 4px; }
@media (min-width: 1024px) { .sidebar { display: flex; } }
.sidebar .brandmark { padding: 4px 8px 16px; }
.sidebar-group { margin-top: 14px; }
.sidebar-group > span { display: block; padding: 0 10px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sidebar a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .15s, color .15s; }
.sidebar a:hover { background: var(--sunk); color: var(--ink); }
.sidebar a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
.sidebar a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.sidebar a .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--live); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.sidebar a .count.soft { background: var(--sunk); color: var(--ink-2); }
.sidebar-foot { margin-top: auto; padding: 14px 8px 4px; display: grid; gap: 10px; }
.admin-top { position: sticky; top: 0; z-index: 30; height: var(--top); display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.admin-top h1 { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-top .menu-btn { margin-left: -8px; }
@media (min-width: 1024px) { .admin-top .menu-btn { display: none; } }
.admin-main { padding: 24px var(--gutter) 64px; max-width: 1280px; width: 100%; }
.demo-note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.demo-note button { margin-left: auto; }
dialog.drawer { margin: 0; height: 100dvh; max-height: 100dvh; width: min(300px, 86vw); border: 0; padding: 16px 12px; background: var(--surface); }
dialog.drawer::backdrop { background: rgba(13, 27, 20, .45); }
dialog.drawer[open] { animation: drawer-in .24s var(--ease); display: flex; flex-direction: column; gap: 4px; }
@keyframes drawer-in { from { transform: translateX(-24px); opacity: 0; } }
dialog.drawer a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; color: var(--ink-2); }
dialog.drawer a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

/* tareas del resumen */
.todo { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.todo:first-child { border-top: 0; }
.todo .ti { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.todo .ti.bad { background: var(--bad-soft); color: #A31D12; } .todo .ti.warn { background: var(--warn-soft); color: var(--warn); } .todo .ti.ok { background: var(--ok-soft); color: var(--ok); }
.todo .grow { flex: 1; min-width: 0; }
.todo b { display: block; font-size: 15.5px; }
.todo p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.prog { display: grid; gap: 6px; }

/* ======================= MESA DE CONTROL ======================= */
body.mesa { background: #0A1510; color: #F4F2EA; }
.mesa-top { display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); border-bottom: 1px solid rgba(255,255,255,.08); }
.mesa-top .icon-btn { color: #F4F2EA; }
.mesa-top .icon-btn:hover { background: rgba(255,255,255,.08); }
.net { max-width: 16ch; font-size: 13px; font-weight: 600; color: #BFD0C5; margin-left: auto; }
.mesa-board { padding: 18px var(--gutter); display: grid; gap: 18px; max-width: 1180px; margin: 0 auto; }
.mesa-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; background: var(--brand-deep); }
.mesa-score .side { display: grid; justify-items: center; gap: 8px; text-align: center; }
.mesa-score .side b { font-size: 18px; line-height: 1.15; }
.mesa-score .goles { font-stretch: 66%; font-weight: 850; font-size: clamp(64px, 12vw, 120px); line-height: .9; display: flex; gap: 14px; align-items: center; }
.mesa-clock { display: grid; justify-items: center; gap: 8px; }
.mesa-clock .t { font-stretch: 72%; font-weight: 800; font-size: 40px; color: var(--accent); line-height: 1; }
.mesa-clock .per { font-size: 13px; font-weight: 700; color: #BFD0C5; }
.mesa-ctl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mesa .btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #F4F2EA; min-height: 52px; font-size: 16px; }
.mesa .btn:hover { background: rgba(255,255,255,.12); }
.mesa .btn-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.mesa .btn-danger { color: #FF8A7E; }
.mesa-pads { display: grid; gap: 14px; }
@media (min-width: 760px) { .mesa-pads { grid-template-columns: 1fr 1fr; } }
.pad { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px; display: grid; gap: 10px; background: rgba(255,255,255,.03); }
.pad-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.pad-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pad-acts .btn { min-height: 64px; flex-direction: column; gap: 4px; font-size: 15px; }
.pad-acts .btn.gol { grid-column: 1 / -1; min-height: 76px; font-size: 20px; font-stretch: 80%; font-weight: 800; background: #F4F2EA; color: #0A1510; border-color: transparent; }
.pad-acts .btn.gol:hover { background: #fff; }
.mesa-log { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }
.mesa-log .row-between { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.log-li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: 15px; }
.log-li:first-of-type { border-top: 0; }
.log-li .m { all: unset; font-weight: 800; font-stretch: 75%; width: 40px; color: #BFD0C5; }
.log-li .grow { flex: 1; min-width: 0; }
.log-li small { color: #9FB2A6; }
.mesa .icon-btn { color: #F4F2EA; }
.mesa dialog.dlg { background: #12201A; color: #F4F2EA; }
.mesa .dlg-head, .mesa .dlg-foot { border-color: rgba(255,255,255,.08); background: transparent; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.picker button { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: inherit; text-align: left; cursor: pointer; font-size: 15px; }
.picker button:hover { border-color: var(--accent); }
.picker button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 16%, transparent); }
.picker button[disabled] { opacity: .4; }
.picker .dn { font-stretch: 72%; font-weight: 800; font-size: 22px; width: 30px; text-align: right; }
.mesa .seg { background: rgba(255,255,255,.08); }
.mesa .seg button { color: #BFD0C5; }
.mesa .seg button[aria-pressed="true"] { background: #F4F2EA; color: #0A1510; }
.mesa .muted { color: #9FB2A6; }

/* ======================= IMPRESIÓN ======================= */
@media print {
  .top, .tabbar, .fab, .foot, .no-print, .toast-zone { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .page { padding: 0; }
  .print-sheet { font-size: 12px; }
  .print-sheet table { width: 100%; border-collapse: collapse; }
  .print-sheet td, .print-sheet th { border: 1px solid #999; padding: 4px 6px; }
}
.print-sheet table { width: 100%; border-collapse: collapse; background: var(--surface); }
.print-sheet th { background: var(--surface-2); text-align: left; font-size: 13px; }
.print-sheet td, .print-sheet th { border: 1px solid var(--line); padding: 8px 10px; }
.print-sheet .blank { width: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ajustes de verificación */
.shell > div { min-width: 0; }
.demo-note { flex-wrap: wrap; }
.sec-head { flex-wrap: wrap; }
@media (max-width: 640px) {
  .fab { width: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .fab span { display: none; }
  .admin-top .hide-sm { display: none; }
}
