.decisive-phase{display:inline-flex;align-items:center;padding:8px 12px;margin:0 0 12px;border:1px solid #88b9dd;border-left:4px solid #88b9dd;border-radius:9px;background:#193448;color:#d9efff;font-size:13px;font-weight:850;letter-spacing:.5px;text-transform:uppercase}
.phase-qf{border-color:#aaa5f1;background:#302d49;color:#e6e1ff}.phase-sf{border-color:#e1b776;background:#45351d;color:#ffe4b2;font-size:14px}.phase-final{border-color:#ffe39a;background:#51401c;color:#fff1c6;font-size:16px;padding:10px 14px}
#visible-updated{margin:12px 0 18px;padding:10px 12px;border:1px solid #36564c;border-radius:12px;color:#b7d8cc;font-size:12px;line-height:1.8}#visible-updated time{font-weight:800;color:#b1f8d3}#visible-updated span{color:#f1c792}
#gandia-closure{margin:18px 0 26px}#gandia-closure[hidden]{display:none}#gandia-closure h2{font-size:29px;line-height:1.15;margin:0 0 12px}.closing-tabs{display:flex;gap:8px;margin:18px 0}.closing-tabs button{flex:1;padding:12px;border:1px solid #4b7461;background:#1b3038;color:#c3ded2;border-radius:12px;font-weight:750;cursor:pointer}.closing-tabs button[aria-pressed=true]{background:#31574d;color:#b1f5d0}.closing-winner{padding:20px;border:1px solid #519578;background:#203f37;border-radius:16px}.closing-winner strong{display:block;font-size:21px;margin-top:8px;overflow-wrap:anywhere}.closing-list{margin:12px 0}.closing-list>div{display:flex;gap:16px;border-bottom:1px solid #36534a;padding:13px 6px}.closing-list strong{min-width:24px;color:#98e2bb}.closing-list span{overflow-wrap:anywhere}.closing-thanks{padding:20px;background:#193039;border:1px solid #527866;border-radius:18px;margin:22px 0}.closing-thanks p{font-size:18px;font-weight:600;line-height:1.55;margin:0;color:#edf7f4}.closing-thanks p+p{margin-top:18px}
:root[data-theme=light] #visible-updated{background:#eaf4ec;color:#365b49}:root[data-theme=light] #visible-updated time{color:#196744}:root[data-theme=light] #visible-updated span{color:#855313}:root[data-theme=light] .decisive-phase{background:#e3effa;color:#284b6c}:root[data-theme=light] .phase-qf{background:#eee9fc;color:#574281}:root[data-theme=light] .phase-sf,:root[data-theme=light] .phase-final{background:#fff0ce;color:#795213}:root[data-theme=light] .closing-thanks{background:#e7f2ec}:root[data-theme=light] .closing-thanks p{color:#254637}:root[data-theme=light] .closing-winner{background:#dfefe5;color:#183d28}:root[data-theme=light] .closing-list strong{color:#176a40}:root[data-theme=light] .closing-tabs button{background:#e4f1e9;color:#24543b}:root[data-theme=light] .closing-tabs button[aria-pressed=true]{background:#225e41;color:#fff}

#visible-updated{padding:0;border:0;margin:6px 0 12px;line-height:1.4}#visible-updated .upd-line{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:4px;width:100%;padding:6px 10px;border-radius:10px;font-size:12.5px;color:#b7d8cc;text-align:center}#visible-updated .upd-line:focus-visible{outline:2px solid #88eab9;outline-offset:2px}#visible-updated .upd-chev{color:#8fb3a6;margin-left:2px}#visible-updated .upd-detail{list-style:none;margin:4px 0 0;padding:8px 12px;border:1px solid #36564c;border-radius:12px;display:grid;gap:8px;font-size:12px;color:#b7d8cc}#visible-updated .upd-detail[hidden]{display:none}
:root[data-theme=light] #visible-updated{background:none}:root[data-theme=light] #visible-updated .upd-line,:root[data-theme=light] #visible-updated .upd-detail{color:#365b49}:root[data-theme=light] #visible-updated .upd-detail{border-color:#bfdac9;background:#eaf4ec}

#visible-updated .upd-row{display:flex;align-items:center;justify-content:center;gap:2px}#visible-updated .upd-row .upd-line{width:auto;flex:0 1 auto}
#visible-updated .upd-refresh{all:unset;box-sizing:border-box;cursor:pointer;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#88eab9}#visible-updated .upd-refresh:hover{background:rgba(136,234,185,.12)}#visible-updated .upd-refresh:focus-visible{outline:2px solid #88eab9;outline-offset:1px}#visible-updated .upd-refresh.is-busy{cursor:default}#visible-updated .upd-refresh.is-busy svg{animation:pt-spin .9s linear infinite}
@keyframes pt-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){#visible-updated .upd-refresh.is-busy svg{animation:none;opacity:.5}}
body.pt-refreshing .match-horizontal{opacity:.55;transition:opacity .2s}
:root[data-theme=light] #visible-updated .upd-refresh{color:#196744}:root[data-theme=light] #visible-updated .upd-refresh:hover{background:rgba(25,103,68,.1)}
/* Sin recuadro al tocar ni en los títulos que reciben el foco por código; con teclado se sigue viendo (:focus-visible). */
[tabindex="-1"]:focus,h1:focus,h2:focus{outline:none}
:focus:not(:focus-visible){outline:none}
button,a,summary,[role=button]{-webkit-tap-highlight-color:transparent}
@media (hover:none) and (pointer:coarse){*:focus,*:focus-visible{outline:none!important}}
/* ===== Ayuda en la cabecera (la barra inferior admite 5 botones) ===== */
.help-header{display:grid;place-items:center;width:36px;height:36px;border:2px solid #4d6a62;border-radius:50%;background:transparent;color:#b7d8cc;cursor:pointer;padding:0}
.help-header.active{border-color:#7be0ac;color:#7be0ac}
:root[data-theme=light] .help-header{border-color:#9fbcae;color:#365b49}:root[data-theme=light] .help-header.active{border-color:#196744;color:#196744}
/* ===== Calendario ===== */
.pt-cal{display:grid;gap:12px;padding-bottom:12px}
.cal-bar{display:flex;justify-content:flex-start}
.cal-switch{display:inline-grid;grid-auto-flow:column;gap:2px;padding:3px;border:1px solid #36564c;border-radius:12px;background:#15222c}
.cal-switch button{all:unset;cursor:pointer;padding:7px 16px;border-radius:9px;font-size:14px;font-weight:700;color:#b7d8cc}
.cal-switch button[aria-pressed=true]{background:#7be0ac;color:#10251c}
.cal-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.cal-search input,.cal-search select{min-width:0;font:inherit;font-size:16px;padding:10px 12px;border-radius:12px;border:1px solid #36564c;background:#15222c;color:#f2f6f8}
.cal-search select{max-width:44vw}
.cal-filters{display:flex;flex-wrap:wrap;gap:6px}
.cal-filters button{all:unset;cursor:pointer;padding:6px 12px;border-radius:999px;border:1px solid #36564c;font-size:13px;font-weight:700;color:#b7d8cc}
.cal-filters button[aria-pressed=true]{background:#244236;border-color:#7be0ac;color:#e9fff4}
.pt-cal .cal-filters:not(.cal-subfilters){gap:5px}.pt-cal .cal-filters:not(.cal-subfilters) button{padding:6px 8px}
.cal-subfilters{margin-top:-2px;padding-left:10px;border-left:2px solid #36564c}.cal-subfilters[hidden]{display:none}.cal-subfilters button{padding:5px 10px;font-size:12.5px}
.cal-month{margin:14px 0 6px;font-size:15px;text-transform:capitalize;color:#b1f8d3}
.cal-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cal-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px;border:1px solid #2d4740;border-radius:14px;background:#17242e}
.cal-item.is-past{opacity:.62}
.cal-date{display:grid;align-content:start;justify-items:center;padding:6px 2px;border-radius:10px;background:#1f3530;text-align:center;line-height:1.1}
.cal-date b{font-size:20px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#f2f6f8}
.cal-date small{font-size:12px;color:#9fc4b6;text-transform:capitalize}
.cal-main{display:grid;gap:3px;min-width:0}
.cal-main strong{font-size:15.5px;line-height:1.3}
.cal-cat{font-weight:600;color:#b1f8d3}
.cal-main small{font-size:13px;color:#a6bac5}
.cal-type{font-size:12px;font-weight:700;color:#9fc4b6;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cal-approx{color:#f1c792}
.cal-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.cal-actions button{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid #7be0ac;background:transparent;color:inherit;font-weight:700;cursor:pointer}
.cal-actions button.following{background:#7be0ac;color:#10251c}
.cal-wait{font-size:12.5px;color:#8fb3a6}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex:none}
.dot-copa{background:#7be0ac}.dot-liga{background:#f1c792}.dot-campeonato{background:#8ab8ff}.dot-nacional{background:#c9d4dc}.dot-autonomico{background:#e59ad0}.dot-clubes{background:#5fd4dc}
.cal-past-toggle{all:unset;cursor:pointer;justify-self:start;font-size:13.5px;font-weight:700;color:#88eab9;text-decoration:underline;padding:6px 0}
.cal-month-nav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center}
.cal-month-nav h3{margin:0;font-size:17px;text-transform:capitalize}
.cal-month-nav button{all:unset;cursor:pointer;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font-size:24px;color:#b7d8cc}
.cal-month-nav button:disabled{opacity:.3;cursor:default}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:6px}
.cal-dow{text-align:center;font-size:12px;font-weight:700;color:#8fb3a6;padding:4px 0}
.cal-cell{all:unset;box-sizing:border-box;display:grid;grid-template-rows:auto 10px;justify-items:center;align-content:center;gap:3px;height:48px;border-radius:10px;font-size:14px;font-variant-numeric:tabular-nums;color:#6f8a82}
.cal-cell.has-ev{cursor:pointer;color:#f2f6f8;background:#1c2f2a}
.cal-cell.is-gone.has-ev{opacity:.6}
.cal-cell.is-today{box-shadow:inset 0 0 0 2px #7be0ac}
.cal-cell.is-sel{background:#7be0ac;color:#10251c}
.cal-cell i{display:flex;gap:3px}.cal-cell .dot{width:6px;height:6px}
.cal-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:12.5px;color:#a6bac5;margin-top:6px}.cal-legend span{display:inline-flex;align-items:center;gap:5px}
.cal-source{margin-top:6px;color:#8fb3a6}.cal-source a{color:#88eab9}
.cal-empty{padding:12px 0}
:root[data-theme=light] .cal-switch,:root[data-theme=light] .cal-search input,:root[data-theme=light] .cal-search select{background:#fff;border-color:#bfdac9;color:#1e3027}
:root[data-theme=light] .cal-switch button,:root[data-theme=light] .cal-filters button,:root[data-theme=light] .cal-month-nav button{color:#365b49}
:root[data-theme=light] .cal-switch button[aria-pressed=true]{background:#196744;color:#fff}
:root[data-theme=light] .cal-filters button{border-color:#bfdac9}:root[data-theme=light] .cal-filters button[aria-pressed=true]{background:#e3f3e9;border-color:#196744;color:#10351f}
:root[data-theme=light] .cal-month{color:#196744}
:root[data-theme=light] .cal-item{background:#fff;border-color:#d4e5da}
:root[data-theme=light] .cal-date{background:#eaf4ec}:root[data-theme=light] .cal-date b{color:#10251c}:root[data-theme=light] .cal-date small,:root[data-theme=light] .cal-type,:root[data-theme=light] .cal-wait,:root[data-theme=light] .cal-dow,:root[data-theme=light] .cal-source{color:#4f6f60}
:root[data-theme=light] .cal-main small,:root[data-theme=light] .cal-legend{color:#4f6f60}:root[data-theme=light] .cal-cat{color:#196744}:root[data-theme=light] .cal-approx{color:#855313}
:root[data-theme=light] .cal-actions button{border-color:#196744}:root[data-theme=light] .cal-actions button.following{background:#196744;color:#fff}
:root[data-theme=light] .dot-copa{background:#1f9a62}:root[data-theme=light] .dot-liga{background:#c8861f}:root[data-theme=light] .dot-campeonato{background:#3a6fd8}:root[data-theme=light] .dot-nacional{background:#6b7b86}:root[data-theme=light] .dot-autonomico{background:#b0408f}:root[data-theme=light] .dot-clubes{background:#13838c}
:root[data-theme=light] .cal-cell{color:#9aaea4}:root[data-theme=light] .cal-cell.has-ev{background:#eaf4ec;color:#10251c}:root[data-theme=light] .cal-cell.is-today{box-shadow:inset 0 0 0 2px #196744}:root[data-theme=light] .cal-cell.is-sel{background:#196744;color:#fff}
:root[data-theme=light] .cal-past-toggle,:root[data-theme=light] .cal-source a{color:#196744}
.cal-month.cal-day-title{text-transform:none}
.cal-main .cal-cat{font-size:14px}
.cal-search select{max-width:38vw}
