/* =========================================================
   AD La Torre: estilos
   Paleta: pared de pabellón, tinta, pista azul, parquet,
   y los dos petos del sorteo (configurables en Ajustes).
   ========================================================= */

:root {
  --wall: #EEF1F3;
  --paper: #FFFFFF;
  --ink: #16212B;
  --ink-2: #4A5866;
  --ink-3: #7B8794;
  --line: #D6DCE2;
  --court: #12456B;
  --court-2: #0D3452;
  --parquet: #C8873F;
  --parquet-soft: #F6E9D8;
  --win: #2E9A5A;
  --draw: #8F99A4;
  --loss: #D0433B;
  --absent: #E3E7EB;
  --gk: #B0267A;
  --gold: #D4A017;
  --silver: #A3ADB8;
  --bronze: #B8733A;
  --trophy: #19B3D3;
  --up: #2E9A5A;
  --down: #D0433B;
  --focus: #F2C12E;
  --radius-s: 4px;
  --radius-m: 8px;
  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --team-a: #F2C12E; --team-b: #2B63C9; --team-a-ink: #16212B; --team-b-ink: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--court); text-underline-offset: 2px; }
a:hover { color: var(--court-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.num { font-variant-numeric: tabular-nums; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: .005em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1440px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(560px, 100% - 2rem); }
.page { padding-block: 2rem 4rem; }

/* ---------- Cabecera ---------- */
.site-header { background: var(--court); color: #fff; position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-logo { height: 40px; width: auto; }
.brand-name { white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 1rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; gap: .25rem; flex: 1; align-items: center; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav a, .sub-toggle-label { white-space: nowrap; color: #DCE7F0; text-decoration: none; padding: .45rem .6rem; border-radius: var(--radius-s); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav .menu > li > a[aria-current], .site-nav .menu > li.is-active > a, .site-nav .menu > li.is-active > .sub-toggle-label { color: #fff; box-shadow: inset 0 -3px 0 var(--team-a); border-radius: 0; }
/* Desplegables */
.sub-toggle { background: none; border: 0; color: #DCE7F0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .35rem; }
.sub-toggle::after { content: ""; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-toggle-label { padding-right: .6rem; }
.sub-toggle:hover { color: #fff; }
.sub-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.site-nav .sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 220px; background: var(--paper); border-radius: var(--radius-m); box-shadow: 0 12px 32px rgba(13,52,82,.25); padding: .5rem; z-index: 20; }
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.site-nav .menu > li.has-sub:hover > .sub, .site-nav .menu > li.has-sub:focus-within > .sub, .site-nav .menu > li.has-sub.open > .sub { display: flex; gap: .25rem 1.25rem; }
.site-nav .sub { flex-direction: column; }
.site-nav .sub:has(> li.group) { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.site-nav .sub a { display: block; color: var(--ink); padding: .45rem .7rem; }
.site-nav .sub a:hover { background: var(--wall); color: var(--ink); }
.site-nav .sub a[aria-current] { color: var(--court); font-weight: 700; box-shadow: inset 3px 0 0 var(--team-a); border-radius: 0; }
.site-nav .group { min-width: 180px; }
.site-nav .group-title, .site-nav .sub .menu-label { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--court); padding: .35rem .7rem .2rem; }
a.group-title:hover { background: none; text-decoration: underline; }
.nav-user { display: flex; align-items: center; gap: .5rem; }
.nav-me { display: flex !important; align-items: center; gap: .4rem; }
.nav-me span { max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
.linklike { background: none; border: 0; color: #DCE7F0; font: inherit; font-size: .95rem; cursor: pointer; padding: .45rem .6rem; }
.linklike:hover { color: #fff; text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; background: none; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius-s); padding: .4rem .8rem; font: 600 .9rem var(--font-body); }
form.inline { display: inline; margin: 0; }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--court-2); flex-direction: column; align-items: stretch; padding: .75rem 1rem 1rem; }
  .site-nav.open { display: flex; }
  .site-nav .menu { flex-direction: column; align-items: stretch; }
  .site-nav .menu > li { flex-wrap: wrap; }
  .site-nav .menu > li > a, .site-nav .menu > li > .sub-toggle-label { flex: 1; }
  .site-nav .menu > li > a[aria-current], .site-nav .menu > li.is-active > a, .site-nav .menu > li.is-active > .sub-toggle-label { box-shadow: inset 3px 0 0 var(--team-a); }
  .sub-toggle-label { text-align: left; }
  .site-nav .menu > li.has-sub:hover > .sub, .site-nav .menu > li.has-sub:focus-within > .sub { display: none; }
  .site-nav .menu > li.has-sub.open > .sub { display: flex; }
  .site-nav .sub { position: static; flex-basis: 100%; box-shadow: none; background: rgba(255,255,255,.06); margin: .2rem 0 .4rem; }
  .site-nav .sub:has(> li.group) { flex-direction: column; }
  .site-nav .sub a { color: #DCE7F0; }
  .site-nav .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .site-nav .sub a[aria-current] { color: #fff; }
  .site-nav .group-title, .site-nav .sub .menu-label { color: var(--team-a); }
  .nav-user { border-top: 1px solid rgba(255,255,255,.15); padding-top: .75rem; flex-wrap: wrap; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--f-bg, var(--ink)); color: var(--f-ink, #C2CBD3); font-size: .9rem; margin-top: auto; }
.footer-inner { display: flex; gap: 2rem; padding-block: 2.2rem; align-items: flex-start; }
.f-logo img { height: 64px; width: auto; }
.f-cols { flex: 1; display: grid; gap: 1.5rem 2.5rem; }
.f-cols-1 { grid-template-columns: 1fr; }
.f-cols-2 { grid-template-columns: repeat(2, 1fr); }
.f-cols-3 { grid-template-columns: repeat(3, 1fr); }
.f-cols-4 { grid-template-columns: repeat(4, 1fr); }
.f-cols-2 .f-col:last-child:not(:first-child) { justify-self: end; }
.f-title { color: var(--f-title, #fff); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 0 0 .5rem; }
.f-brand { color: var(--f-title, #fff); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0 0 .3rem; }
.site-footer p { margin: .3rem 0 0; }
.f-text > :first-child { margin-top: 0; }
.f-text p { margin: 0 0 .5rem; }
.f-text h2, .f-text h3 { color: var(--f-title, #fff); font-size: 1.05rem; margin: 0 0 .4rem; }
.f-text ul { padding-left: 1.1rem; margin: 0 0 .5rem; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--f-ink, #C2CBD3); text-decoration: none; }
.site-footer a:hover { color: var(--f-title, #fff); }
.footer-links { display: flex; flex-direction: column; gap: .3rem; }
.f-sponsors { border-bottom: 1px solid color-mix(in srgb, var(--f-ink, #C2CBD3) 20%, transparent); padding-block: 1.5rem; text-align: center; }
.f-sponsors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: center; align-items: center; }
.f-sponsors img { max-height: 56px; max-width: 160px; width: auto; height: auto; }
.f-sponsors a { display: block; }
.f-sponsors a:hover img { opacity: .85; }
.f-bottom { border-top: 1px solid color-mix(in srgb, var(--f-ink, #C2CBD3) 20%, transparent); font-size: .82rem; padding-block: .9rem; }
.f-bottom .container { display: flex; justify-content: space-between; gap: .5rem 1.5rem; flex-wrap: wrap; }
.f-bottom-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 800px) {
  .footer-inner { flex-direction: column; }
  .f-cols-3, .f-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .f-cols-2, .f-cols-3, .f-cols-4 { grid-template-columns: 1fr; }
  .f-cols-2 .f-col:last-child:not(:first-child) { justify-self: start; }
}

/* ---------- Títulos de página ---------- */
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-title { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; margin: 0; }
.page-sub { color: var(--ink-2); margin: .3rem 0 0; }

/* ---------- Botones y formularios ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font: 600 .95rem/1 var(--font-body); padding: .7rem 1.1rem; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer;
}
.btn:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-primary { background: var(--court); border-color: var(--court); color: #fff; }
.btn-primary:hover { background: var(--court-2); border-color: var(--court-2); color: #fff; }
.btn-danger { color: var(--loss); border-color: #EBC1BE; }
.btn-danger:hover { background: var(--loss); color: #fff; border-color: var(--loss); }
.btn-small { padding: .45rem .75rem; font-size: .85rem; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-on-dark:hover { background: #fff; color: var(--court); border-color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.form { display: grid; gap: 1rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 .5rem; display: grid; gap: .9rem; }
.form legend { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin-bottom: .4rem; padding: 0; }
.form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.form .check { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--ink); }
.form .hint { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
input[type=text], input[type=password], input[type=date], input[type=number], input[type=email], input[type=color], input:not([type]), select, textarea {
  font: 400 1rem var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-s); padding: .6rem .7rem; width: 100%;
}
input[type=color] { padding: .2rem; height: 2.6rem; width: 4rem; }
textarea { min-height: 6rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--court); outline: 2px solid rgba(18,69,107,.2); outline-offset: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } }
.actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

.card-plain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }

.alert { padding: .8rem 1rem; border-radius: var(--radius-s); margin-bottom: 1rem; border-left: 4px solid; background: var(--paper); }
.alert-ok { border-color: var(--win); }
.alert-error { border-color: var(--loss); }
.alert-info { border-color: var(--court); }

.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-m); padding: 2rem; text-align: center; color: var(--ink-2); }

/* ---------- Pestañas y selectores ---------- */
.toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs { display: flex; gap: .25rem; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: .25rem; }
.tabs a { padding: .5rem .9rem; border-radius: var(--radius-s); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.tabs a:hover { color: var(--ink); background: var(--wall); }
.tabs a[aria-current] { background: var(--court); color: #fff; }
.month-select select { width: auto; font-weight: 600; padding-right: 2rem; }

/* ---------- Avatares y nombres ---------- */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: #CFD8E0; color: var(--court-2); font-weight: 700; object-fit: cover; flex: none; }
.avatar-xs { width: 26px; height: 26px; font-size: .65rem; }
.avatar-sm { width: 34px; height: 34px; font-size: .75rem; }
.avatar-md { width: 48px; height: 48px; font-size: .95rem; }
.avatar-xl { width: 150px; height: 150px; font-size: 2.6rem; border-radius: var(--radius-m); }
.avatar-gk { box-shadow: 0 0 0 2px var(--gk); }
.pl { color: var(--ink); text-decoration: none; font-weight: 600; }
.pl:hover { text-decoration: underline; color: var(--ink); }
.pl-gk, .pl-gk:hover { color: var(--gk); }
.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: .85rem; color: var(--ink-2); margin-top: .8rem; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.dot { width: .7rem; height: .7rem; border-radius: 2px; display: inline-block; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; }
.t th, .t td { padding: .55rem .6rem; text-align: right; white-space: nowrap; }
.t th { font-size: .78rem; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--line); background: #F7F9FA; position: sticky; top: 0; }
.t td { border-bottom: 1px solid #EDF0F3; font-variant-numeric: tabular-nums; }
.t tr:last-child td { border-bottom: 0; }
.t .l { text-align: left; }
.t .c { text-align: center; }
.t .pos { width: 2.6rem; text-align: center; font-weight: 700; color: var(--ink-2); }
.t .name { text-align: left; width: 100%; }
.t .name-cell { display: flex; align-items: center; gap: .55rem; }
.t .strong { font-weight: 700; color: var(--ink); }
.t tbody tr:hover td { background: #F8FAFB; }
.t tr.zone-up td.pos { box-shadow: inset 4px 0 0 var(--up); color: var(--up); }
.t tr.zone-down td.pos { box-shadow: inset 4px 0 0 var(--down); color: var(--down); }
.t tr.me td { background: #FFF8DE; }
.t .muted { color: var(--ink-3); }
.t .pts { font-weight: 800; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }

.table-note { font-size: .85rem; color: var(--ink-2); margin: .6rem 0 0; }

/* ---------- Resultado (chips) ---------- */
.chip { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .3rem; border-radius: var(--radius-s); font-weight: 700; font-size: .8rem; color: #fff; }
.chip-v { background: var(--win); }
.chip-e { background: var(--draw); }
.chip-d { background: var(--loss); }
.chip-x { background: var(--absent); color: var(--ink-3); }
.form-row { display: inline-flex; gap: 3px; }

/* ---------- Marcador del sorteo (el elemento protagonista) ---------- */
.draw-hero { position: relative; background: var(--court-2); color: #fff; overflow: hidden; }
.draw-hero-inner { position: relative; padding-block: 2.5rem 3rem; }
.draw-kicker { font-size: 1rem; color: #C9D8E5; margin: 0 0 1.2rem; }
.draw-kicker strong { color: #fff; }
.draw-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .95; margin: 0 0 2rem; max-width: 14ch; }
.draw-boards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.board { display: grid; grid-template-columns: 1fr auto 1fr; border-radius: var(--radius-m); overflow: hidden; text-decoration: none; color: inherit; min-height: 150px; box-shadow: 0 1px 0 rgba(0,0,0,.25); }
.board:hover { color: inherit; }
.board:hover .board-score { background: #000; }
.board-side { padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; }
.board-a { background: var(--team-a); color: var(--team-a-ink); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); padding-right: 1.6rem; }
.board-b { background: var(--team-b); color: var(--team-b-ink); text-align: right; clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); padding-left: 1.6rem; }
.board-team { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.board-players { font-size: .78rem; line-height: 1.35; opacity: .85; }
.board-score { background: #0A1E2E; color: #fff; display: grid; place-items: center; padding: 0 1rem; min-width: 7.5rem; transition: background .15s; }
.board-score .cat { font-size: .78rem; color: #9FB4C6; text-align: center; margin-bottom: .2rem; }
.board-score .nums { font-family: var(--font-display); font-weight: 900; font-size: 3.6rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.board-score .nums span { color: #60717F; padding: 0 .1em; }
.board-empty { border: 1px dashed rgba(255,255,255,.3); border-radius: var(--radius-m); padding: 2rem; color: #C9D8E5; }
@media (max-width: 480px) {
  .board { grid-template-columns: 1fr; }
  .board-a, .board-b { clip-path: none; text-align: left; padding: .9rem 1rem; }
  .board-score { padding: .6rem; }
  .board-score .nums { font-size: 3rem; }
}

/* ---------- Inicio ---------- */
.home-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; padding-block: 2.5rem 4rem; }
.home-grid > * { min-width: 0; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
@media (max-width: 900px) { .span-6, .span-4, .span-8 { grid-column: span 12; } }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.block-head h2 { margin: 0; font-size: 1.6rem; }
.block-head a { font-size: .9rem; font-weight: 600; }

.list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.list li { display: flex; align-items: center; gap: .7rem; padding: .65rem .9rem; border-bottom: 1px solid #EDF0F3; }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .big { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }

/* ---------- Premio especial ---------- */
.prize-head { background: var(--parquet-soft); border: 1px solid #E9D3B6; border-radius: var(--radius-m); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.prize-head p { margin: 0; max-width: 60ch; }
.streak-bar { display: flex; gap: 3px; align-items: center; }
.streak-bar i { width: 12px; height: 18px; border-radius: 2px; background: #E5E9ED; display: block; }
.streak-bar i.on { background: var(--win); }
.streak-bar i.gold { background: var(--parquet); }
.streak-n { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; min-width: 2ch; display: inline-block; text-align: right; }
.money { color: #8A5A22; font-weight: 700; }

/* ---------- Hoja de control ---------- */
.sheet th.d { text-align: center; padding: .45rem .25rem; min-width: 3.4rem; }
.sheet th.d small { display: block; font-weight: 400; }
.sheet th.d .r { display: block; color: var(--ink); font-weight: 700; font-size: .85rem; }
.sheet td.cell { text-align: center; padding: .3rem .25rem; }
.sheet td.cell .chip { width: 2.2rem; position: relative; }
.sheet .chip .tm { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 3px; border-radius: 2px; }
.sheet .tm-a { background: var(--team-a); }
.sheet .tm-b { background: var(--team-b); }
.sheet td.none { color: var(--line); text-align: center; }
.sheet td.sticky, .sheet th.sticky { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.sheet thead th.sticky { background: #F7F9FA; z-index: 2; }

/* ---------- Resultados / partido ---------- */
.day { margin-bottom: 2rem; }
.day h2 { font-size: 1.5rem; }
.match-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; margin-bottom: .75rem; text-decoration: none; color: inherit; }
.match-row:hover { border-color: var(--ink-3); color: inherit; }
.match-side { padding: .8rem 1rem; font-size: .85rem; color: var(--ink-2); }
.match-side b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: .2rem; }
.match-side.a { border-left: 6px solid var(--team-a); }
.match-side.b { border-right: 6px solid var(--team-b); text-align: right; }
.match-mid { display: grid; place-items: center; padding: .5rem 1.2rem; background: #F7F9FA; border-inline: 1px solid var(--line); text-align: center; }
.match-mid .cat { font-size: .75rem; color: var(--ink-3); }
.score { font-family: var(--font-display); font-weight: 900; font-size: 2rem; font-variant-numeric: tabular-nums; }
.score-sep { color: var(--ink-3); padding: 0 .15em; }
@media (max-width: 600px) { .match-row { grid-template-columns: 1fr; } .match-side.b { text-align: left; border-right: 0; border-left: 6px solid var(--team-b); } .match-mid { border-inline: 0; border-block: 1px solid var(--line); } }

.lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 700px) { .lineups { grid-template-columns: 1fr; } }
.lineup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.lineup h2 { margin: 0; padding: .8rem 1rem; font-size: 1.5rem; display: flex; justify-content: space-between; }
.lineup.a h2 { background: var(--team-a); color: var(--team-a-ink); }
.lineup.b h2 { background: var(--team-b); color: var(--team-b-ink); }
.lineup ul { list-style: none; margin: 0; padding: .4rem 0; }
.lineup li { display: flex; align-items: center; gap: .6rem; padding: .45rem 1rem; }

/* ---------- Jugadores ---------- */
.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.player-card { display: flex; align-items: center; gap: .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem; text-decoration: none; color: var(--ink); }
.player-card:hover { border-color: var(--ink-3); color: var(--ink); }
.player-card .n { font-weight: 700; }
.player-card .s { font-size: .85rem; color: var(--ink-2); }
.player-card.gk .n { color: var(--gk); }

/* ---------- Ficha ---------- */
.profile-head { display: grid; grid-template-columns: auto 1fr; gap: 1.75rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; margin-bottom: 1.5rem; }
.profile-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; margin: 0 0 .25rem; }
.profile-head .gk-name { color: var(--gk); }
.facts { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: var(--ink-2); margin: 0 0 .6rem; padding: 0; list-style: none; }
.facts b { color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .profile-head { grid-template-columns: 1fr; } .avatar-xl { width: 110px; height: 110px; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 1.5rem; }
.stat { padding: 1rem; border-right: 1px solid #EDF0F3; border-bottom: 1px solid #EDF0F3; }
.stat .v { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.stat .k { font-size: .82rem; color: var(--ink-2); }

.achievements { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem; }
.ach { display: flex; gap: .7rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: .75rem .9rem; }
.ach .ic { font-size: 1.5rem; line-height: 1; }
.ach b { display: block; font-size: .95rem; }
.ach small { color: var(--ink-3); }

.section { margin-bottom: 2rem; }

/* ---------- Muro ---------- */
.wall { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .wall { grid-template-columns: 1fr; } }
.composer, .post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.composer textarea { min-height: 5rem; }
.post-head { display: flex; gap: .65rem; align-items: center; margin-bottom: .6rem; }
.post-head .meta { font-size: .82rem; color: var(--ink-3); }
.post-body { white-space: normal; overflow-wrap: anywhere; }
.post-img { margin-top: .6rem; border-radius: var(--radius-s); max-height: 520px; object-fit: contain; background: var(--wall); }
.post.logro { border-left: 4px solid var(--parquet); }
.post.logro .post-body strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; display: block; }
.post-actions { display: flex; gap: .8rem; align-items: center; margin-top: .7rem; font-size: .88rem; }
.post-actions button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); cursor: pointer; font-weight: 600; }
.post-actions button:hover { color: var(--ink); }
.post-actions .liked { color: var(--loss); }
.comments { border-top: 1px solid #EDF0F3; margin-top: .7rem; padding-top: .6rem; display: grid; gap: .55rem; }
.comment { display: flex; gap: .5rem; font-size: .92rem; }
.comment .bubble { background: var(--wall); border-radius: var(--radius-m); padding: .45rem .7rem; flex: 1; overflow-wrap: anywhere; }
.comment .bubble a { font-weight: 700; }
.comment-form { display: flex; gap: .5rem; }
.comment-form input { flex: 1; }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.side-box h3 { margin-bottom: .6rem; }

/* ---------- Login ---------- */
.login-wrap { min-height: 60vh; display: grid; place-items: center; }
.login-card { width: min(420px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 2rem; }
.login-card h1 { font-size: 2.4rem; font-weight: 900; }

/* ---------- Paginación ---------- */
.pager { display: flex; gap: .5rem; justify-content: center; margin-top: 1rem; }

/* =========================================================
   Panel de administración
   ========================================================= */
.admin-body { background: #E8ECEF; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #C2CBD3; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand-name { font-size: 1.5rem; color: #fff; }
.admin-side .brand-sub { display: block; font-size: .8rem; color: #8D99A5; margin-bottom: 1.5rem; }
.admin-side nav a { display: block; color: #C2CBD3; text-decoration: none; padding: .55rem .7rem; border-radius: var(--radius-s); font-weight: 500; margin-bottom: 2px; }
.admin-side nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-side nav a[aria-current] { background: var(--court); color: #fff; }
.admin-side .side-foot { margin-top: 2rem; font-size: .85rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; display: grid; gap: .4rem; }
.admin-side .side-foot a, .admin-side .linklike { color: #C2CBD3; padding: 0; font-size: .85rem; text-align: left; }
.admin-main { padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem; min-width: 0; }
.admin-main .page-title { font-size: 2.4rem; }
.admin-toggle { display: none; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side nav { display: none; }
  .admin-side nav.open { display: block; }
  .admin-toggle { display: inline-block; float: right; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-s); padding: .3rem .7rem; }
}
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.panel h2 { font-size: 1.5rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.2rem; }
.kpi .v { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; display: block; }
.kpi .k { color: var(--ink-2); font-size: .88rem; }
.badge { display: inline-block; padding: .15rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--wall); color: var(--ink-2); }
.badge-gk { background: #F7E1EE; color: var(--gk); }
.badge-ok { background: #DDF2E5; color: #1F6E3F; }
.badge-off { background: #F6DEDC; color: #9C2F28; }

/* Editor de partido: reparto de equipos */
.picker { display: grid; gap: .35rem; }
.pick { display: grid; grid-template-columns: 1fr auto; gap: .6rem; align-items: center; padding: .4rem .6rem; border-radius: var(--radius-s); background: #F7F9FA; }
.pick .who { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.pick .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: var(--paper); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: .4rem .7rem; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-2); border-left: 1px solid var(--line); display: block; }
.seg label:first-of-type { border-left: 0; }
.seg input:checked + label.o-n { background: var(--absent); color: var(--ink); }
.seg input:checked + label.o-a { background: var(--team-a); color: var(--team-a-ink); }
.seg input:checked + label.o-b { background: var(--team-b); color: var(--team-b-ink); }
.seg input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: -3px; }
.pick.is-a { background: color-mix(in srgb, var(--team-a) 18%, white); }
.pick.is-b { background: color-mix(in srgb, var(--team-b) 14%, white); }
.score-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: end; max-width: 460px; }
.score-inputs input { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; text-align: center; padding: .3rem; }
.score-inputs .sep { font-size: 2rem; padding-bottom: .5rem; color: var(--ink-3); }
.team-count { font-size: .85rem; color: var(--ink-2); }
.sticky-save { position: sticky; bottom: 0; background: rgba(232,236,239,.95); padding: .8rem 0; border-top: 1px solid var(--line); margin-top: 1rem; }

.moves { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 800px) { .moves { grid-template-columns: 1fr; } }
.move { display: flex; align-items: center; gap: .5rem; padding: .35rem 0; }
.arrow-up { color: var(--up); font-weight: 800; }
.arrow-down { color: var(--down); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Ajustes para móvil y detalles de la hoja */
.sheet td.none .chip { opacity: .35; }
@media (max-width: 600px) {
  .t th, .t td { padding: .5rem .4rem; }
  .t td.name { white-space: normal; }
  .t .name-cell .avatar { display: none; }
  .t .pos { width: 2rem; }
  .block-head { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .t-mensual :is(th, td):nth-child(n+4):nth-child(-n+6), .t-mensual :is(th, td):nth-child(n+8):nth-child(-n+10),
  .t-general :is(th, td):nth-child(3), .t-general :is(th, td):nth-child(n+5):nth-child(-n+7), .t-general :is(th, td):nth-child(9),
  .t-goles :is(th, td):nth-child(3), .t-goles :is(th, td):nth-child(n+5):nth-child(-n+8) { display: none; }
}

/* Renuncia al ascenso */
.badge-ren { background: #E3ECF5; color: var(--court); margin-left: .35rem; }
.t tr.zone-renuncia td.pos { box-shadow: inset 4px 0 0 #9DB5CC; }
.move { flex-wrap: wrap; }

.move .actions { flex-wrap: nowrap; }
.sheet a.chip, .sheet a.chip:hover { color: #fff; }

/* Aviso de versión beta en la portada */
.beta-bar { background: var(--team-a); color: var(--team-a-ink); font-size: .92rem; padding: .55rem 0; }
.beta-tag { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: .75rem; padding: .1rem .5rem; border-radius: 999px; margin-right: .4rem; }

/* ---------- Páginas de contenido ---------- */
.content-page { width: 100%; }
.prose { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: clamp(1.25rem, 4vw, 2.5rem); line-height: 1.7; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 .6rem; }
.prose h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose h4 { font-size: 1rem; margin: 1.3rem 0 .4rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose blockquote { margin: 1.2em 0; padding: .6em 1em; border-left: 4px solid var(--line); color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .45rem .6rem; text-align: left; vertical-align: top; }
.prose th { background: #F7F9FA; }

/* Editor de páginas del panel */
.editor { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); }
.editor-bar { display: flex; flex-wrap: wrap; gap: .25rem; padding: .4rem; border-bottom: 1px solid var(--line); background: #F7F9FA; position: sticky; top: 0; z-index: 1; }
.editor-bar button { font: 600 .85rem var(--font-body); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: .35rem .6rem; cursor: pointer; color: var(--ink); min-width: 2.1rem; }
.editor-bar button:hover { border-color: var(--ink-3); }
.editor-bar button[aria-pressed="true"] { background: var(--court); color: #fff; border-color: var(--court); }
.editor-bar .sep { width: 1px; background: var(--line); margin: 0 .2rem; }
.editor-area { min-height: 420px; padding: 1.2rem 1.4rem; outline: none; }
.editor-area:focus { box-shadow: inset 0 0 0 2px rgba(18,69,107,.25); }
.editor-html { display: none; width: 100%; min-height: 420px; border: 0; font: 400 .85rem/1.5 ui-monospace, Menlo, Consolas, monospace; padding: 1rem; }
.editor.source .editor-area { display: none; }
.editor.source .editor-html { display: block; }
.slug-preview { font-size: .85rem; color: var(--ink-3); word-break: break-all; }

/* Franja de información sobre la cabecera */
.topbar { background: var(--topbar-bg, #0D3452); color: var(--topbar-ink, #fff); font-size: .85rem; line-height: 1.4; padding: .45rem 0; text-align: center; }
.topbar a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.topbar a:hover { color: inherit; opacity: .85; }
@media (max-width: 600px) { .topbar { font-size: .78rem; padding: .4rem 0; } }

/* Usuarios del panel: casillas de secciones */
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem 1rem; }
fieldset[hidden] { display: none; }

/* Generales: podio y trofeos */
.t tr.podium-1 td.pos { box-shadow: inset 4px 0 0 var(--gold); color: #9A7410; }
.t tr.podium-2 td.pos { box-shadow: inset 4px 0 0 var(--silver); color: #6B7884; }
.t tr.podium-3 td.pos { box-shadow: inset 4px 0 0 var(--bronze); color: #8E5527; }
.t tr.podium-t td.pos { box-shadow: inset 4px 0 0 var(--trophy); color: #0E7F97; }

[data-door] { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

/* Panel: filas de enlaces y logos del pie */
.link-rows { display: grid; gap: .4rem; }
.link-row { display: grid; grid-template-columns: 1fr 1.4fr 6.5rem; gap: .5rem; align-items: center; }
.link-head span { font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.link-head span:last-child { text-align: center; }
.sponsor-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; padding: .6rem 0; border-bottom: 1px solid #EDF0F3; }
.sponsor-row img { height: 48px; width: 120px; object-fit: contain; border-radius: 4px; padding: 4px; }
[data-footer-col][hidden], [data-for-type][hidden] { display: none; }
@media (max-width: 600px) { .link-row { grid-template-columns: 1fr; } .link-head { display: none; } }

/* Medios */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.media-card.is-editing { grid-column: span 2; border-color: var(--court); }
@media (max-width: 520px) { .media-card.is-editing { grid-column: auto; } }
.media-thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; background: repeating-conic-gradient(#EEF1F3 0% 25%, #F7F9FA 0% 50%) 0 0 / 16px 16px; text-decoration: none; }
.media-thumb img { width: 100%; height: 100%; object-fit: contain; }
.media-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; background: var(--court); color: #fff; font-size: 1.8rem; font-weight: 800; }
.media-icon small { display: block; font-size: .65rem; font-weight: 700; margin-top: -.6rem; }
.media-icon.doc { background: var(--ink-2); font-size: .95rem; letter-spacing: .02em; }
.media-info { padding: .6rem .75rem 0; display: grid; gap: .15rem; font-size: .85rem; min-width: 0; }
.media-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-info .badge { justify-self: start; margin-top: .2rem; }
.media-actions { display: flex; gap: .4rem; flex-wrap: wrap; padding: .6rem .75rem .75rem; margin-top: auto; }
.media-edit { padding: 0 .75rem .75rem; gap: .6rem; }

/* Medios dentro de las páginas (web pública y editor) */
.prose figure { margin: 1.5rem 0; }
.prose figure.media-img img { display: block; height: auto; border-radius: var(--radius-s); margin-inline: auto; }
.prose figure.img-full img { width: 100%; }
.prose figure.img-half img { width: 50%; }
.prose figure.img-small img { width: 30%; }
@media (max-width: 600px) { .prose figure.img-half img, .prose figure.img-small img { width: 100%; } }
.prose figcaption { font-size: .85rem; color: var(--ink-3); text-align: center; margin-top: .4rem; }
.prose figure.media-video video { display: block; width: 100%; max-height: 70vh; border-radius: var(--radius-s); background: #000; }
.prose figure.media-yt { position: relative; aspect-ratio: 16 / 9; }
.prose figure.media-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius-s); }
.prose a.doc-link { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #F7F9FA; text-decoration: none; font-weight: 600; }
.prose a.doc-link::before { content: ""; width: 1rem; height: 1.25rem; flex: none; border-radius: 2px; background: var(--court); clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.prose a.doc-link:hover { border-color: var(--court); }
.editor-area figure { outline: 1px dashed var(--line); outline-offset: 4px; }
.editor-area iframe { pointer-events: none; }

/* Selector de medios del editor */
.picker { width: min(920px, 94vw); max-height: 88vh; border: 0; border-radius: var(--radius-m); padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.picker::backdrop { background: rgba(22,33,43,.55); }
.picker[open] { display: flex; flex-direction: column; }
.picker-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.picker-head h2 { margin: 0; font-size: 1.5rem; }
.picker-tools { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); }
.picker-tools input { max-width: 240px; }
.picker-upload { position: relative; }
.picker-msg { font-size: .85rem; color: var(--ink-2); }
.picker-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; padding: 1rem 1.25rem; min-height: 200px; align-content: start; }
.picker-item { display: grid; gap: .25rem; justify-items: center; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-m); padding: .5rem; cursor: pointer; font: inherit; text-align: center; }
.picker-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--wall); border-radius: var(--radius-s); }
.picker-item .media-icon { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.picker-item[aria-pressed="true"] { border-color: var(--court); box-shadow: 0 0 0 3px rgba(18,69,107,.2); }
.picker-name { font-weight: 600; font-size: .82rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picker-meta { font-size: .75rem; color: var(--ink-3); }
.picker-empty { grid-column: 1 / -1; color: var(--ink-2); }
.picker-foot { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.25rem; border-top: 1px solid var(--line); background: #F7F9FA; }
.picker-opts { display: flex; gap: 1rem; flex-wrap: wrap; }
.picker-opts label { display: grid; gap: .25rem; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.picker-opts[hidden] { display: none; }

/* Panel: árbol del menú */
.menu-tree { list-style: none; margin: 0; padding: 0; }
.menu-tree .menu-tree { margin-left: 1.6rem; border-left: 2px solid var(--line); padding-left: .8rem; }
.menu-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: #F7F9FA; margin: .35rem 0; flex-wrap: wrap; }
.menu-row.is-editing { border-color: var(--court); background: #EAF1F7; }
.menu-row-main { display: grid; gap: .1rem; min-width: 0; }
.menu-row-main .muted { font-size: .82rem; color: var(--ink-3); overflow-wrap: anywhere; }
label[data-menu-target][hidden] { display: none; }
