/* SoccerYes unified CSS 2026-10-30: bookmarks, page styles, settings, shared layout, header */

/* ===== Existing bookmarks styles ===== */
.sy-bookmark-toggle{border:0;background:transparent;color:#8795a3;font-size:24px;line-height:1;min-width:32px;min-height:32px;cursor:pointer;padding:2px 4px}.sy-bookmark-toggle.is-active{color:#e5a600}.sy-bookmark-toggle:focus-visible,.sy-bookmarks-link:focus-visible{outline:2px solid #205c88;outline-offset:2px}.sy-index-fixture{position:relative}.sy-index-fixture>.sy-bookmark-toggle{position:absolute;right:8px;top:4px;z-index:2;font-size:21px}.sy-index-fixture>.sy-index-match .sy-index-time{padding-right:30px}.sy-bookmarks-link{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;font-size:24px;color:#607f94;background:#fff;border:1px solid #dce2e6;border-radius:7px;min-width:34px;height:34px}.sy-index-day-navigation{position:relative}.sy-index-day-navigation>.sy-bookmarks-link{position:absolute;right:0;top:0}.sy-match-hero>.sy-bookmark-toggle{position:absolute;right:7px;top:7px;z-index:3}.sy-team-head{position:relative}.sy-team-head>.sy-bookmark-toggle{position:absolute;right:9px;top:9px}.sy-bookmarks-main{max-width:var(--sy-content-width,920px);width:calc(100% - 24px);margin:20px auto 40px}.sy-bookmarks-section{background:#fff;border:1px solid #e4e8eb;border-radius:9px;margin:12px 0;padding:14px}.sy-bookmarks-section h2{font-size:16px;margin:0 0 8px}.sy-bookmarks-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e8edf1;padding:8px 0}.sy-bookmarks-entry{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:#205c88;min-width:0;overflow-wrap:anywhere}.sy-bookmarks-entry small{color:#687988}.sy-bookmarks-empty,.sy-bookmarks-note{color:#6b7782;font-size:13px}
.sy-bookmarks-fixture{gap:10px;min-width:0}.sy-bookmarks-fixture-content{flex:1;min-width:0}.sy-bookmarks-fixture-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:#687988;margin-bottom:5px}.sy-bookmark-status.is-live{color:#c92e37;font-weight:700}.sy-bookmarks-matchup{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}.sy-bookmark-team{display:flex;align-items:center;gap:6px;color:#205c88;text-decoration:none;min-width:0;overflow-wrap:anywhere}.sy-bookmark-home{justify-content:flex-end;text-align:right}.sy-bookmark-away{justify-content:flex-start;text-align:left}.sy-bookmark-logo{height:25px;width:25px;object-fit:contain;flex:0 0 25px}.sy-bookmark-score{font-weight:700;color:#26343c;text-decoration:none;white-space:nowrap}.sy-bookmarks-fixture>.sy-bookmark-toggle{flex:0 0 32px}@media(max-width:580px){.sy-bookmarks-matchup{gap:6px}.sy-bookmark-logo{width:20px;height:20px;flex-basis:20px}.sy-bookmark-team{font-size:12px;gap:4px}}

.sy-bookmark-status.is-live{display:inline-flex;align-items:center;gap:4px}
.sy-index-live-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#dc2626;animation:sy-index-live-blink 1.5s ease-in-out infinite}
@keyframes sy-index-live-blink{0%,100%{opacity:1}50%{opacity:.15}}
@media (prefers-reduced-motion: reduce){.sy-index-live-dot{animation:none}}

/* Competition country flag and competition emblem next to kickoff time. */
.sy-bookmarks-competition-icons{display:inline-flex;align-items:center;gap:4px;flex:none}
.sy-bookmarks-competition-icon{width:17px;height:17px;object-fit:contain;display:block}


/* SoccerYes combined inline CSS. Source: provided PHP bundle, 2026-10-30. */
/* ===== bookmarks.php ===== */
body.sy-page-bookmarks{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}

/* ===== countries.php ===== */
body.sy-page-countries{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-countries .sy-nations{box-sizing:border-box;width:calc(100% - 28px);max-width:var(--sy-content-width,920px);margin:18px auto 36px}body.sy-page-countries .sy-nations *{box-sizing:border-box}body.sy-page-countries .sy-nations a{color:#205e87;text-decoration:none}body.sy-page-countries .sy-nations a:hover{text-decoration:underline}body.sy-page-countries .sy-nation-intro,body.sy-page-countries .sy-nation-form,body.sy-page-countries .sy-nation-empty{background:white;border:1px solid #e2e8ed;border-radius:9px;padding:18px;margin-bottom:14px}body.sy-page-countries .sy-nation-intro h1{margin:0 0 5px;font-size:24px}body.sy-page-countries .sy-nation-intro p{margin:0;color:#71808b;font-size:13px}body.sy-page-countries .sy-nation-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}body.sy-page-countries .sy-nation-tabs a{border:1px solid #dce3e9;border-radius:6px;padding:7px 13px;font-size:13px}body.sy-page-countries .sy-nation-tabs a[aria-current=page]{background:#205c88;border-color:#205c88;color:white}body.sy-page-countries .sy-nation-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}body.sy-page-countries .sy-nation-form input,body.sy-page-countries .sy-nation-form select{font:inherit;border:1px solid #d5dfe7;border-radius:6px;padding:9px;background:white;max-width:100%;min-width:0}body.sy-page-countries .sy-nation-form input{flex:1 1 220px}body.sy-page-countries .sy-nation-form select{flex:0 1 230px}body.sy-page-countries .sy-nation-form button{font:inherit;background:#205c88;color:white;border:0;border-radius:6px;padding:10px 17px;cursor:pointer}body.sy-page-countries .sy-nation-clear{font-size:12px}body.sy-page-countries .sy-nation-total{font-size:12px;color:#71808b;margin:16px 0 8px}body.sy-page-countries .sy-nation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}body.sy-page-countries .sy-nation-card{display:flex;align-items:center;gap:12px;background:white;border:1px solid #e2e8ed;border-radius:8px;padding:16px;min-width:0}body.sy-page-countries .sy-nation-logo{width:40px;height:40px;flex:0 0 40px;object-fit:contain}body.sy-page-countries .sy-nation-placeholder{display:flex;align-items:center;justify-content:center;font-size:26px}body.sy-page-countries .sy-nation-card h2{font-size:14px;margin:0;overflow-wrap:anywhere}body.sy-page-countries .sy-nation-name{font-size:11px;color:#74838e;margin-top:3px;overflow-wrap:anywhere}body.sy-page-countries .sy-nation-arrow{margin-left:auto;color:#899ba9}body.sy-page-countries .sy-nations a:focus-visible,body.sy-page-countries .sy-nations button:focus-visible{outline:2px solid #205c88;outline-offset:3px}@media(max-width:800px){body.sy-page-countries .sy-nation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){body.sy-page-countries .sy-nations{width:calc(100% - 20px)}body.sy-page-countries .sy-nation-intro,body.sy-page-countries .sy-nation-form{padding:14px}body.sy-page-countries .sy-nation-form select{flex:1 1 100%}body.sy-page-countries .sy-nation-intro h1{font-size:21px}body.sy-page-countries .sy-nation-card{padding:13px}}@media(max-width:400px){body.sy-page-countries .sy-nation-grid{grid-template-columns:minmax(0,1fr)}}

/* ===== cron-monitor.php ===== */
body.sy-page-cron-monitor{font-family:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Meiryo",sans-serif;color:#1e293b;background:#f4f7fb}body.sy-page-cron-monitor *{box-sizing:border-box}body.sy-page-cron-monitor{margin:0}body.sy-page-cron-monitor .wrap{max-width:1160px;margin:auto;padding:24px 16px 70px}body.sy-page-cron-monitor h1{font-size:25px;margin:0 0 6px}body.sy-page-cron-monitor h2{font-size:19px;margin:28px 0 12px}body.sy-page-cron-monitor .warning{color:#ad4b00;font-weight:600}body.sy-page-cron-monitor .safe{color:#047857;font-weight:600}body.sy-page-cron-monitor .sub,body.sy-page-cron-monitor .muted{color:#64748b}body.sy-page-cron-monitor .sub{font-size:13px;margin-bottom:20px}body.sy-page-cron-monitor .statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}body.sy-page-cron-monitor .stat,body.sy-page-cron-monitor .panel{background:white;border:1px solid #e2e8f0;border-radius:13px;padding:18px}body.sy-page-cron-monitor .stat label{display:block;font-size:12px;color:#64748b}body.sy-page-cron-monitor .stat strong{display:block;font-size:26px;margin-top:5px;letter-spacing:-.5px}body.sy-page-cron-monitor .stat small{font-size:12px;color:#64748b}body.sy-page-cron-monitor .accent{color:#075bcb}body.sy-page-cron-monitor .notice{padding:12px 14px;border-radius:8px;background:#fff7ed;color:#92400e;font-size:13px;margin-top:15px}body.sy-page-cron-monitor .good{color:#047857}body.sy-page-cron-monitor .bad{color:#b91c1c}body.sy-page-cron-monitor table{border-collapse:collapse;width:100%;font-size:13px}body.sy-page-cron-monitor th{text-align:left;color:#64748b;font-weight:600;background:#f8fafc}body.sy-page-cron-monitor td,body.sy-page-cron-monitor th{border-bottom:1px solid #e2e8f0;padding:12px 10px;vertical-align:top}body.sy-page-cron-monitor tr:last-child td{border-bottom:none}body.sy-page-cron-monitor .job{font-weight:700;font-size:14px}body.sy-page-cron-monitor .path{font-family:monospace;font-size:12px;color:#64748b;margin-top:4px;word-break:break-word}body.sy-page-cron-monitor code{font-size:12px;word-break:break-word}body.sy-page-cron-monitor .pill{display:inline-block;padding:3px 9px;font-size:12px;border-radius:15px;background:#e2e8f0;color:#334155}body.sy-page-cron-monitor .pill.on{background:#dcfce7;color:#166534}body.sy-page-cron-monitor .pill.off{background:#fee2e2;color:#991b1b}body.sy-page-cron-monitor .note{font-size:12px;color:#64748b;line-height:1.65}body.sy-page-cron-monitor .tablewrap{overflow-x:auto}body.sy-page-cron-monitor .controls{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}body.sy-page-cron-monitor .btn{display:inline-block;border-radius:8px;background:#0b63ce;color:white;text-decoration:none;padding:8px 15px;font-size:13px}body.sy-page-cron-monitor .meter{height:8px;background:#e2e8f0;border-radius:8px;overflow:hidden;margin:15px 0 7px}body.sy-page-cron-monitor .fill{height:100%;background:#2563eb}body.sy-page-cron-monitor .keypoint{font-size:13px;line-height:1.8}body.sy-page-cron-monitor .keypoint b{color:#0f172a}@media(max-width:750px){body.sy-page-cron-monitor .statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}body.sy-page-cron-monitor .stat{padding:13px}body.sy-page-cron-monitor .stat strong{font-size:23px}body.sy-page-cron-monitor .wrap{padding:18px 12px}body.sy-page-cron-monitor .panel{padding:10px}body.sy-page-cron-monitor td,body.sy-page-cron-monitor th{padding:11px 8px;min-width:110px}body.sy-page-cron-monitor td:first-child,body.sy-page-cron-monitor th:first-child{min-width:170px}}

/* ===== cups.php ===== */
body.sy-page-cups{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-cups .sy-directory{box-sizing:border-box;width:calc(100% - 28px);max-width:var(--sy-content-width,920px);margin:18px auto 36px}body.sy-page-cups .sy-directory *{box-sizing:border-box}body.sy-page-cups .sy-directory a{color:#205e87;text-decoration:none}body.sy-page-cups .sy-directory a:hover{text-decoration:underline}body.sy-page-cups .sy-dir-intro,body.sy-page-cups .sy-dir-filter,body.sy-page-cups .sy-dir-empty{background:#fff;border:1px solid #e2e8ed;border-radius:9px;padding:18px;margin-bottom:14px}body.sy-page-cups .sy-dir-intro h1{font-size:24px;margin:0 0 5px}body.sy-page-cups .sy-dir-intro p{margin:0;color:#71808b;font-size:13px}body.sy-page-cups .sy-dir-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}body.sy-page-cups .sy-dir-tabs a{border:1px solid #dce3e9;border-radius:6px;padding:7px 13px;font-size:13px;background:#fff}body.sy-page-cups .sy-dir-tabs a[aria-current=page]{background:#205c88;border-color:#205c88;color:#fff}body.sy-page-cups .sy-dir-filter{display:flex;align-items:center;flex-wrap:wrap;gap:9px}body.sy-page-cups .sy-dir-filter input,body.sy-page-cups .sy-dir-filter select{font:inherit;border:1px solid #d5dfe7;border-radius:6px;background:#fff;padding:9px;min-width:0;max-width:100%}body.sy-page-cups .sy-dir-filter input{flex:1 1 220px}body.sy-page-cups .sy-dir-filter select{flex:0 1 230px}body.sy-page-cups .sy-dir-filter button{font:inherit;border:0;border-radius:6px;background:#205c88;color:#fff;padding:10px 17px;cursor:pointer}body.sy-page-cups .sy-dir-clear{font-size:12px;white-space:nowrap}body.sy-page-cups .sy-dir-total{font-size:12px;color:#71808b;margin:16px 0 8px}body.sy-page-cups .sy-dir-section{margin:0 0 22px}body.sy-page-cups .sy-dir-section h2{display:flex;align-items:center;gap:9px;font-size:15px;background:#e6ebf0;border-radius:6px;padding:10px 12px;margin:0 0 9px}body.sy-page-cups .sy-dir-section h2 a{color:inherit}body.sy-page-cups .sy-dir-section h2 small{margin-left:auto;font-size:11px;color:#71808b;font-weight:400}body.sy-page-cups .sy-dir-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.sy-page-cups .sy-dir-card{background:#fff;border:1px solid #e2e8ed;border-radius:8px;padding:15px;min-width:0}body.sy-page-cups .sy-dir-card-top{display:flex;gap:12px;align-items:center}body.sy-page-cups .sy-dir-logo{width:39px;height:39px;object-fit:contain;flex:0 0 39px}body.sy-page-cups .sy-dir-logo-fallback{display:flex;align-items:center;justify-content:center;font-size:24px;color:#8294a0}body.sy-page-cups .sy-dir-name{font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere}body.sy-page-cups .sy-dir-meta{font-size:12px;color:#74838e;margin-top:3px}body.sy-page-cups .sy-dir-flag{width:22px;height:16px;object-fit:contain;flex:0 0 22px}body.sy-page-cups .sy-dir-world{font-size:19px;line-height:1}body.sy-page-cups .sy-dir-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}body.sy-page-cups .sy-dir-actions a{display:inline-flex;padding:5px 10px;background:#f1f6fa;border:1px solid #dfe8ef;border-radius:5px;font-size:12px}body.sy-page-cups .sy-dir-seasons{border-top:1px solid #edf1f4;margin-top:12px;padding-top:10px}body.sy-page-cups .sy-dir-seasons summary{color:#647887;cursor:pointer;font-size:12px}body.sy-page-cups .sy-dir-season-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;max-height:180px;overflow-y:auto}body.sy-page-cups .sy-dir-season-list a,body.sy-page-cups .sy-dir-season-list span{font-size:12px;padding:4px 7px;background:#f5f7f9;border-radius:4px}body.sy-page-cups .sy-dir-season-list span{color:#74838e}body.sy-page-cups .sy-directory a:focus-visible,body.sy-page-cups .sy-directory button:focus-visible,body.sy-page-cups .sy-directory summary:focus-visible{outline:2px solid #205c88;outline-offset:3px}@media(max-width:650px){body.sy-page-cups .sy-directory{width:calc(100% - 20px)}body.sy-page-cups .sy-dir-grid{grid-template-columns:minmax(0,1fr)}body.sy-page-cups .sy-dir-intro,body.sy-page-cups .sy-dir-filter{padding:14px}body.sy-page-cups .sy-dir-intro h1{font-size:21px}body.sy-page-cups .sy-dir-filter select{flex:1 1 100%}body.sy-page-cups .sy-dir-card{padding:13px}}

/* ===== index.php ===== */
body.sy-page-index *{box-sizing:border-box}body.sy-page-index{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-index .sy-index-main{max-width:var(--sy-content-width, 920px);width:calc(100% - 24px);margin:18px auto 32px}body.sy-page-index .sy-index-controls{background:#fff;border:1px solid #e4e8eb;border-radius:10px;padding:12px 12px 10px;margin-bottom:12px}body.sy-page-index .sy-index-date{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:0}body.sy-page-index .sy-index-date a,body.sy-page-index .sy-index-date button{background:#fff;border:1px solid #dce2e6;color:#205c88;padding:9px 12px;border-radius:7px;text-decoration:none;cursor:pointer}body.sy-page-index .sy-index-date form{display:flex;gap:6px;align-items:center}body.sy-page-index .sy-index-date-field{position:relative;display:flex;align-items:center}body.sy-page-index .sy-index-date-short{display:none}body.sy-page-index .sy-index-date input{max-width:158px;padding:8px 5px;border:1px solid #dce2e6;border-radius:7px;font:inherit;background:white}body.sy-page-index .sy-index-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}body.sy-page-index .sy-index-options{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}body.sy-page-index .sy-index-views{display:flex;justify-content:flex-start;gap:7px;margin-bottom:0}body.sy-page-index .sy-index-views a{padding:9px 20px;border:1px solid #dce2e6;border-radius:7px;background:#fff;color:#205c88;text-decoration:none}body.sy-page-index .sy-index-views a.active{background:#205c88;color:#fff}body.sy-page-index .sy-index-group{margin-bottom:12px}body.sy-page-index .sy-index-count{font-size:13px;color:#65727d;margin:0 0 10px}body.sy-page-index .sy-index-finished{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0;font-size:13px;color:#536471;cursor:pointer}body.sy-page-index .sy-index-finished input{position:absolute;opacity:0;width:1px;height:1px}body.sy-page-index .sy-index-switch{position:relative;display:inline-block;width:36px;height:21px;border-radius:20px;background:#c8d0d5;transition:background .2s}body.sy-page-index .sy-index-switch::after{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:white;transition:transform .2s}body.sy-page-index .sy-index-finished input:checked + .sy-index-switch{background:#205c88}body.sy-page-index .sy-index-finished input:checked + .sy-index-switch::after{transform:translateX(15px)}body.sy-page-index .sy-index-finished input:focus-visible + .sy-index-switch{outline:2px solid #205c88;outline-offset:3px}body.sy-page-index .sy-index-league{display:flex;align-items:center;gap:7px}body.sy-page-index .sy-index-league-logo{width:19px;height:19px;object-fit:contain;flex-shrink:0}body.sy-page-index .sy-index-country-flag{width:19px;height:14px;object-fit:contain;flex-shrink:0}body.sy-page-index .sy-index-inline-league{margin-top:5px}body.sy-page-index .sy-index-league{background:#e6ebf0;padding:6px 12px;margin:9px 0 2px;border-radius:6px;font-weight:650;font-size:12px}body.sy-page-index .sy-index-match{display:block;background:#fff;border:1px solid #e4e8eb;padding:9px 12px 8px;margin-bottom:4px;border-radius:6px;color:inherit;text-decoration:none;font-size:12px}body.sy-page-index .sy-index-matchup{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr);align-items:center;gap:7px;margin-top:7px}body.sy-page-index .sy-index-match:hover{background:#f5f9fc;border-color:#a6c7df}body.sy-page-index .sy-index-team{display:flex;align-items:center;gap:6px;min-width:0}body.sy-page-index .sy-index-team span{overflow-wrap:anywhere}body.sy-page-index .sy-index-team img{width:24px;height:24px;object-fit:contain;flex-shrink:0}body.sy-page-index .sy-index-home{justify-content:flex-end;text-align:right}body.sy-page-index .sy-index-score{text-align:center;font-size:16px;font-weight:700;white-space:nowrap}body.sy-page-index .sy-index-time{display:flex;align-items:center;gap:9px;text-align:left;font-size:11px;color:#72808a;white-space:nowrap}body.sy-page-index .sy-index-live{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;color:#cf3232;font-weight:700;white-space:nowrap}body.sy-page-index .sy-index-live-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#dc2626;animation:sy-index-live-blink 1.5s ease-in-out infinite}@keyframes sy-index-live-blink{0%,100%{opacity:1}50%{opacity:.15}}@media (prefers-reduced-motion: reduce){body.sy-page-index .sy-index-live-dot{animation:none}}body.sy-page-index .sy-index-state{display:inline-block;color:#647480}body.sy-page-index .sy-index-wdl-row{display:grid;grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);align-items:center;column-gap:8px;margin:0 0 5px;padding:5px 9px 9px;background:#fff;border:1px solid #e4e8eb;border-top:0;border-radius:0 0 6px 6px}body.sy-page-index .sy-index-match:has(+ .sy-index-wdl-row){margin-bottom:0;border-radius:6px 6px 0 0}body.sy-page-index .sy-index-wdl-side{display:flex;gap:4px;flex-wrap:nowrap;align-items:center;min-width:0}body.sy-page-index .sy-index-wdl-home{justify-content:flex-end}body.sy-page-index .sy-index-wdl-away{justify-content:flex-start}body.sy-page-index .sy-index-wdl-chip{display:inline-flex;align-items:center;justify-content:center;width:22px;height:20px;border-radius:4px;color:#fff;font-size:10px;font-weight:700;text-decoration:none;flex-shrink:0}body.sy-page-index .sy-index-wdl-W{background:#20865d}body.sy-page-index .sy-index-wdl-D{background:#89949d}body.sy-page-index .sy-index-wdl-L{background:#c64c4c}body.sy-page-index .sy-index-wdl-chip:hover{filter:brightness(.9)}body.sy-page-index .sy-index-wdl-empty{font-size:11px;color:#9ca6ad}body.sy-page-index .sy-index-odds-middle{display:flex;justify-content:center;align-items:center;gap:5px;min-width:0;white-space:nowrap;font-variant-numeric:tabular-nums}body.sy-page-index .sy-index-odds-item{display:flex;flex-direction:column;align-items:center;line-height:1.25;font-size:11px;font-weight:700;color:#26343c}body.sy-page-index .sy-index-odds-item small{font-size:9px;font-weight:500;color:#87939e}@media(max-width:520px){body.sy-page-index .sy-index-wdl-row{grid-template-columns:minmax(0,1fr) 93px minmax(0,1fr);column-gap:4px;padding:4px 6px 6px}body.sy-page-index .sy-index-wdl-side{gap:2px}body.sy-page-index .sy-index-wdl-chip{width:15px;height:15px;font-size:8px;border-radius:3px}body.sy-page-index .sy-index-odds-middle{gap:4px}body.sy-page-index .sy-index-odds-item{font-size:10px}body.sy-page-index .sy-index-odds-item small{font-size:8px}}body.sy-page-index .sy-index-empty{padding:20px 10px;background:#fff;border-radius:6px;text-align:center;color:#68747e}@media(max-width:520px){body.sy-page-index .sy-index-topline,body.sy-page-index .sy-index-options{align-items:flex-start}body.sy-page-index .sy-index-views a{padding:8px 10px}body.sy-page-index .sy-index-match{padding:8px 6px 6px;font-size:11px}body.sy-page-index .sy-index-matchup{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:4px;margin-top:6px}body.sy-page-index .sy-index-team img{width:20px;height:20px}body.sy-page-index .sy-index-score{font-size:14px}}/* Compact match controls (desktop / mobile) */body.sy-page-index .sy-index-main{margin-top:10px}body.sy-page-index .sy-index-controls{padding:10px 10px 8px;margin-bottom:10px}body.sy-page-index .sy-index-topline{margin-bottom:6px;gap:8px}body.sy-page-index .sy-index-options{margin-bottom:8px;gap:8px}body.sy-page-index .sy-index-views{gap:5px}body.sy-page-index .sy-index-views a{padding:7px 12px}body.sy-page-index .sy-index-date{gap:5px}body.sy-page-index .sy-index-date a{padding:7px 10px}body.sy-page-index .sy-index-date input{padding:6px 4px;max-width:144px}body.sy-page-index .sy-index-finished{gap:7px;font-size:12px}body.sy-page-index .sy-index-group{margin-bottom:8px}body.sy-page-index .sy-index-league{margin:6px 0 2px}@media(max-width:520px){body.sy-page-index .sy-index-main{margin-top:8px}body.sy-page-index .sy-index-controls{padding:8px 8px 7px;margin-bottom:8px;border-radius:8px}body.sy-page-index .sy-index-topline{gap:7px;margin-bottom:6px}body.sy-page-index .sy-index-options{gap:6px;margin-bottom:8px;align-items:center}body.sy-page-index .sy-index-views a{padding:7px 10px;font-size:12px}body.sy-page-index .sy-index-date a{padding:6px 8px}body.sy-page-index .sy-index-date-field{height:34px;min-width:76px;border:1px solid #dce2e6;border-radius:7px;background:#fff;justify-content:center}body.sy-page-index .sy-index-date-short{display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;color:#26343c;pointer-events:none;white-space:nowrap;padding:0 8px}body.sy-page-index .sy-index-date-short svg{width:13px;height:13px;stroke:#536471;fill:none;stroke-width:1.7}body.sy-page-index .sy-index-date-field input[type="date"]{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;opacity:0;cursor:pointer;font-size:16px}body.sy-page-index .sy-index-date-field:focus-within{outline:2px solid #205c88;outline-offset:2px}body.sy-page-index .sy-index-finished{font-size:11px;gap:5px}body.sy-page-index .sy-index-switch{width:32px;height:19px}body.sy-page-index .sy-index-switch::after{height:13px;width:13px}body.sy-page-index .sy-index-finished input:checked + .sy-index-switch::after{transform:translateX(13px)}body.sy-page-index .sy-index-topline,body.sy-page-index .sy-index-options{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:3px}body.sy-page-index .sy-index-topline .sy-index-views,body.sy-page-index .sy-index-options .sy-index-views{flex-wrap:nowrap;flex-shrink:0;gap:4px}body.sy-page-index .sy-index-topline .sy-index-views a,body.sy-page-index .sy-index-options .sy-index-views a{padding:6px 7px;font-size:11px;white-space:nowrap}body.sy-page-index .sy-index-date{gap:3px;flex-shrink:0}body.sy-page-index .sy-index-date a{padding:5px 6px;font-size:12px}body.sy-page-index .sy-index-date-field{min-width:68px;height:32px}body.sy-page-index .sy-index-date-short{font-size:11px;padding:0 4px;gap:2px}body.sy-page-index .sy-index-finished{font-size:10px;white-space:nowrap;gap:4px;flex-shrink:0}body.sy-page-index .sy-index-switch{width:29px;height:18px}body.sy-page-index .sy-index-switch::after{top:3px;left:3px;width:12px;height:12px}body.sy-page-index .sy-index-finished input:checked + .sy-index-switch::after{transform:translateX(11px)}}/* Two-row toolbar: metric selection above; date navigation below. */body.sy-page-index .sy-index-date-compact{display:flex;align-items:center;gap:4px;min-width:0}body.sy-page-index .sy-index-day-navigation{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 7px}body.sy-page-index .sy-index-day-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:27px;border:1px solid #dce2e6;border-radius:6px;background:#fff;color:#205c88;text-decoration:none;font-size:12px}body.sy-page-index .sy-index-day-arrow:hover{background:#e9edf1}body.sy-page-index .sy-index-day-navigation .sy-index-selected-day{margin:0}body.sy-page-index .sy-index-date-compact a{padding:6px 8px;white-space:nowrap}body.sy-page-index .sy-index-metric{min-width:0;width:112px;height:33px;border:1px solid #dce2e6;border-radius:7px;background:#fff;color:#26343c;font:inherit;font-size:12px;padding:4px 5px;cursor:pointer}body.sy-page-index .sy-index-selected-day{display:flex;justify-content:center;margin:0 0 7px}body.sy-page-index .sy-index-day-field{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:105px;padding:3px 12px;border-radius:6px;color:#536471;font-size:12px;cursor:pointer}body.sy-page-index .sy-index-day-field:hover{background:#e9edf1}body.sy-page-index .sy-index-day-field input[type="date"]{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;cursor:pointer}body.sy-page-index .sy-index-day-field:focus-within{outline:2px solid #205c88;outline-offset:1px}body.sy-page-index .sy-index-wdl-yes{background:#20865d}body.sy-page-index .sy-index-wdl-no{background:#c64c4c}@media(max-width:520px){body.sy-page-index .sy-index-date-compact{gap:2px}body.sy-page-index .sy-index-date-compact a{padding:5px 5px;font-size:11px}body.sy-page-index .sy-index-metric{width:89px;height:29px;font-size:11px;padding:3px 1px}body.sy-page-index .sy-index-topline .sy-index-views a{padding:6px 5px;font-size:10px}body.sy-page-index .sy-index-day-field{padding:2px 8px}}

/* ===== league.php ===== */
body.sy-page-league{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-league .sy-directory{box-sizing:border-box;width:calc(100% - 28px);max-width:var(--sy-content-width,920px);margin:18px auto 36px}body.sy-page-league .sy-directory *{box-sizing:border-box}body.sy-page-league .sy-directory a{color:#205e87;text-decoration:none}body.sy-page-league .sy-directory a:hover{text-decoration:underline}body.sy-page-league .sy-dir-intro,body.sy-page-league .sy-dir-filter,body.sy-page-league .sy-dir-empty{background:#fff;border:1px solid #e2e8ed;border-radius:9px;padding:18px;margin-bottom:14px}body.sy-page-league .sy-dir-intro h1{font-size:24px;margin:0 0 5px}body.sy-page-league .sy-dir-intro p{margin:0;color:#71808b;font-size:13px}body.sy-page-league .sy-dir-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}body.sy-page-league .sy-dir-tabs a{border:1px solid #dce3e9;border-radius:6px;padding:7px 13px;font-size:13px;background:#fff}body.sy-page-league .sy-dir-tabs a[aria-current=page]{background:#205c88;border-color:#205c88;color:#fff}body.sy-page-league .sy-dir-filter{display:flex;align-items:center;flex-wrap:wrap;gap:9px}body.sy-page-league .sy-dir-filter input,body.sy-page-league .sy-dir-filter select{font:inherit;border:1px solid #d5dfe7;border-radius:6px;background:#fff;padding:9px;min-width:0;max-width:100%}body.sy-page-league .sy-dir-filter input{flex:1 1 220px}body.sy-page-league .sy-dir-filter select{flex:0 1 230px}body.sy-page-league .sy-dir-filter button{font:inherit;border:0;border-radius:6px;background:#205c88;color:#fff;padding:10px 17px;cursor:pointer}body.sy-page-league .sy-dir-clear{font-size:12px;white-space:nowrap}body.sy-page-league .sy-dir-total{font-size:12px;color:#71808b;margin:16px 0 8px}body.sy-page-league .sy-dir-section{margin:0 0 22px}body.sy-page-league .sy-dir-section h2{display:flex;align-items:center;gap:9px;font-size:15px;background:#e6ebf0;border-radius:6px;padding:10px 12px;margin:0 0 9px}body.sy-page-league .sy-dir-section h2 a{color:inherit}body.sy-page-league .sy-dir-section h2 small{margin-left:auto;font-size:11px;color:#71808b;font-weight:400}body.sy-page-league .sy-dir-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.sy-page-league .sy-dir-card{background:#fff;border:1px solid #e2e8ed;border-radius:8px;padding:15px;min-width:0}body.sy-page-league .sy-dir-card-top{display:flex;gap:12px;align-items:center}body.sy-page-league .sy-dir-logo{width:39px;height:39px;object-fit:contain;flex:0 0 39px}body.sy-page-league .sy-dir-logo-fallback{display:flex;align-items:center;justify-content:center;font-size:24px;color:#8294a0}body.sy-page-league .sy-dir-name{font-size:14px;font-weight:650;margin:0;overflow-wrap:anywhere}body.sy-page-league .sy-dir-meta{font-size:12px;color:#74838e;margin-top:3px}body.sy-page-league .sy-dir-flag{width:22px;height:16px;object-fit:contain;flex:0 0 22px}body.sy-page-league .sy-dir-world{font-size:19px;line-height:1}body.sy-page-league .sy-dir-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}body.sy-page-league .sy-dir-actions a{display:inline-flex;padding:5px 10px;background:#f1f6fa;border:1px solid #dfe8ef;border-radius:5px;font-size:12px}body.sy-page-league .sy-dir-seasons{border-top:1px solid #edf1f4;margin-top:12px;padding-top:10px}body.sy-page-league .sy-dir-seasons summary{color:#647887;cursor:pointer;font-size:12px}body.sy-page-league .sy-dir-season-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;max-height:180px;overflow-y:auto}body.sy-page-league .sy-dir-season-list a,body.sy-page-league .sy-dir-season-list span{font-size:12px;padding:4px 7px;background:#f5f7f9;border-radius:4px}body.sy-page-league .sy-dir-season-list span{color:#74838e}body.sy-page-league .sy-directory a:focus-visible,body.sy-page-league .sy-directory button:focus-visible,body.sy-page-league .sy-directory summary:focus-visible{outline:2px solid #205c88;outline-offset:3px}@media(max-width:650px){body.sy-page-league .sy-directory{width:calc(100% - 20px)}body.sy-page-league .sy-dir-grid{grid-template-columns:minmax(0,1fr)}body.sy-page-league .sy-dir-intro,body.sy-page-league .sy-dir-filter{padding:14px}body.sy-page-league .sy-dir-intro h1{font-size:21px}body.sy-page-league .sy-dir-filter select{flex:1 1 100%}body.sy-page-league .sy-dir-card{padding:13px}}

/* ===== match.php ===== */
body.sy-page-match *{box-sizing:border-box}body.sy-page-match{margin:0;background:#f4f6f8;color:#223440;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-match a{color:inherit;text-decoration:none}body.sy-page-match .sy-match-main{max-width:var(--sy-content-width, 920px);width:calc(100% - 24px);margin:16px auto 42px}body.sy-page-match .sy-match-back{display:inline-block;margin:0 0 12px;color:#236ca3;font-size:12px}body.sy-page-match .sy-match-card{background:#fff;border:1px solid #e1e7eb;border-radius:10px;overflow:hidden;margin:0 0 12px}body.sy-page-match .sy-match-section{font-size:14px;font-weight:700;background:#f9fafb;border-bottom:1px solid #e7ebef;padding:11px 14px;margin:0}body.sy-page-match .sy-match-hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)}body.sy-page-match .sy-match-hero-mark{position:absolute;top:10px;width:104px;height:104px;display:flex;align-items:center;justify-content:center;opacity:.12;filter:grayscale(.08);pointer-events:none;z-index:0}body.sy-page-match .sy-match-hero-mark img{max-width:100%;max-height:100%;object-fit:contain}body.sy-page-match .sy-match-hero-mark-left{left:10px}body.sy-page-match .sy-match-hero-mark-right{right:10px}body.sy-page-match .sy-match-meta,body.sy-page-match .sy-match-scoreboard,body.sy-page-match .sy-match-venue{position:relative;z-index:1}body.sy-page-match .sy-match-meta{text-align:center;padding:16px 10px 0;color:#697883;font-size:12px;text-shadow:0 0 14px rgba(255,255,255,.98),0 0 5px rgba(255,255,255,.98)}body.sy-page-match .sy-match-scoreboard{display:grid;grid-template-columns:minmax(0,1fr) 116px minmax(0,1fr);align-items:center;gap:8px;text-align:center;padding:18px 12px}body.sy-page-match .sy-match-text-link:hover{text-decoration:underline;text-underline-offset:2px}body.sy-page-match .sy-match-text-link:focus-visible,body.sy-page-match .sy-pitch-playername:focus-visible{outline:2px solid #267cbd;outline-offset:2px}body.sy-page-match .sy-match-team{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;font-weight:650;text-shadow:0 0 12px rgba(255,255,255,.96),0 0 4px rgba(255,255,255,.96)}body.sy-page-match .sy-match-team img{width:52px;height:52px;object-fit:contain}body.sy-page-match .sy-match-team span{overflow-wrap:anywhere}body.sy-page-match .sy-match-score{font-size:30px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 16px rgba(255,255,255,.98),0 0 6px rgba(255,255,255,.98)}body.sy-page-match .sy-match-status{font-size:12px;color:#788691;text-shadow:0 0 12px rgba(255,255,255,.98),0 0 4px rgba(255,255,255,.98)}body.sy-page-match .sy-match-status.live{display:flex;align-items:center;justify-content:center;gap:5px;color:#d52b35;font-weight:700;white-space:nowrap}body.sy-page-match .sy-match-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#dc2626;flex:none;animation:syLivePulse 1.5s ease-in-out infinite}@keyframes syLivePulse{0%,100%{opacity:1}50%{opacity:.15}}@media(prefers-reduced-motion:reduce){body.sy-page-match .sy-match-live-dot{animation:none}}body.sy-page-match .sy-match-venue{text-align:center;border-top:1px solid #eef0f2;padding:9px 12px;color:#788691;font-size:12px;text-shadow:0 0 10px rgba(255,255,255,.98),0 0 4px rgba(255,255,255,.98)}body.sy-page-match .sy-match-events{padding:8px 14px}body.sy-page-match .sy-match-event{display:grid;grid-template-columns:52px 24px 36px 1fr;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #f0f2f3}body.sy-page-match .sy-match-event:last-child{border:0}body.sy-page-match .sy-match-minute{font-size:12px;color:#6b7982;text-align:right;font-variant-numeric:tabular-nums}body.sy-page-match .sy-match-icon{text-align:center}body.sy-page-match .sy-match-event-side{display:flex;align-items:center;justify-content:center}body.sy-page-match .sy-match-event-side img{display:block;width:32px;height:32px;min-width:32px;max-width:32px;min-height:32px;max-height:32px;object-fit:contain;background:transparent;border-radius:0}body.sy-page-match .sy-match-event-text{padding-left:0;min-width:0}body.sy-page-match .sy-match-event-text small{display:block;color:#7c8790;font-size:11px}body.sy-page-match .sy-match-event-person{display:flex;align-items:center;gap:7px;min-width:0}body.sy-page-match .sy-match-event-person img{display:block;width:28px;height:28px;flex:none;border-radius:50%;object-fit:cover;background:#e8edf1}body.sy-page-match .sy-match-event-person strong{min-width:0;overflow-wrap:anywhere}body.sy-page-match .sy-match-event-avatar{position:relative;width:30px;height:30px;flex:0 0 30px;display:flex;align-items:center;justify-content:center}body.sy-page-match .sy-match-event-avatar img{width:28px;height:28px}body.sy-page-match .sy-match-event-number{position:absolute;right:-5px;bottom:-3px;min-width:15px;height:15px;padding:1px 3px;border-radius:9px;background:#1769a0;color:#fff;font-size:9px;font-weight:700;line-height:13px;text-align:center;white-space:nowrap}body.sy-page-match .sy-match-event.away .sy-match-event-number{background:#ad761b}body.sy-page-match .sy-match-event-avatar.number-only{width:24px;flex-basis:24px}body.sy-page-match .sy-match-event-avatar.number-only .sy-match-event-number{position:static;min-width:21px;height:21px;line-height:19px;font-size:10px}body.sy-page-match .sy-match-stats{padding:6px 16px}body.sy-page-match .sy-match-stat{padding:10px 0;border-bottom:1px solid #edf0f2}body.sy-page-match .sy-match-stat:last-child{border:0}body.sy-page-match .sy-match-stat-head{display:grid;grid-template-columns:1fr 2fr 1fr;gap:6px;align-items:center;text-align:center;font-size:12px}body.sy-page-match .sy-match-stat-head strong:first-child{text-align:left}body.sy-page-match .sy-match-stat-head strong:last-child{text-align:right}body.sy-page-match .sy-match-stat-label{color:#647480}body.sy-page-match .sy-match-bar{background:#d4535b;height:6px;border-radius:6px;overflow:hidden;margin-top:7px}body.sy-page-match .sy-match-bar div{height:100%;background:#267cbd}body.sy-page-match .sy-match-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body.sy-page-match .sy-match-column{padding:12px;min-width:0}body.sy-page-match .sy-match-column+.sy-match-column{border-left:1px solid #e9edef}body.sy-page-match .sy-match-column h3{margin:0 0 8px;font-size:13px}body.sy-page-match .sy-match-column h4{margin:14px 0 4px;font-size:12px;color:#667681}body.sy-page-match .sy-match-player{display:flex;align-items:center;gap:5px;padding:5px 0;border-bottom:1px solid #f0f2f3;font-size:11px;min-width:0}body.sy-page-match .sy-match-player img{width:25px;height:25px;border-radius:50%;object-fit:contain}body.sy-page-match .sy-match-number{width:22px;color:#7c8991;text-align:right;flex-shrink:0}body.sy-page-match .sy-match-name{flex:1;min-width:0;overflow-wrap:anywhere}body.sy-page-match .sy-match-rating{color:#27784c;font-weight:700;white-space:nowrap}body.sy-page-match .sy-match-rating.unrated{color:#89959e;font-weight:400}body.sy-page-match .sy-match-empty{padding:17px;text-align:center;color:#788691;font-size:12px}body.sy-page-match .sy-match-info{padding:5px 14px}body.sy-page-match .sy-match-info-row{display:grid;grid-template-columns:105px 1fr;gap:10px;border-bottom:1px solid #f0f2f3;padding:9px 0;font-size:12px}body.sy-page-match .sy-match-info-row:last-child{border:0}body.sy-page-match .sy-match-info-row span:first-child{color:#71808b}body.sy-page-match .sy-match-stadium{margin-top:5px;padding:15px 0 9px}body.sy-page-match .sy-match-stadium-title{font-size:14px;font-weight:700;margin-bottom:12px}body.sy-page-match .sy-match-stadium-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start}body.sy-page-match .sy-match-stadium-media{position:relative;width:180px;height:135px;overflow:hidden;border-radius:7px;background:linear-gradient(145deg,#eef3f7,#dce6ee)}body.sy-page-match .sy-match-stadium-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8297a8}body.sy-page-match .sy-match-stadium-fallback svg{width:47px;height:47px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}body.sy-page-match .sy-match-stadium-fallback span{font-size:10px;font-weight:700;letter-spacing:.13em}body.sy-page-match .sy-match-stadium-image{position:relative;display:block;width:100%;height:100%;object-fit:cover}body.sy-page-match .sy-match-stadium-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}body.sy-page-match .sy-match-stadium-label{display:block;color:#71808b;font-size:11px;margin-bottom:5px}body.sy-page-match .sy-match-stadium-value{display:block;font-size:12px;font-weight:600;overflow-wrap:anywhere}body.sy-page-match .sy-match-stadium-field{min-width:0}body.sy-page-match .sy-match-stadium-name{font-weight:700}@media(max-width:560px){body.sy-page-match .sy-match-hero-mark{width:76px;height:76px;top:12px;opacity:.10}body.sy-page-match .sy-match-hero-mark-left{left:6px}body.sy-page-match .sy-match-hero-mark-right{right:6px}body.sy-page-match .sy-match-stadium-grid{grid-template-columns:minmax(0,1fr);gap:12px}body.sy-page-match .sy-match-stadium-media{width:100%;height:150px}body.sy-page-match .sy-match-stadium-fallback svg{width:32px;height:32px}body.sy-page-match .sy-match-stadium-fallback span{font-size:8px}body.sy-page-match .sy-match-stadium-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.sy-page-match .sy-match-stadium-name{grid-column:1/-1}body.sy-page-match .sy-match-stadium-fields{column-gap:8px;row-gap:7px}body.sy-page-match .sy-match-stadium-field:has(.sy-match-stadium-label):last-child{min-width:0}body.sy-page-match .sy-match-stadium-field:nth-child(2){order:1}body.sy-page-match .sy-match-stadium-field:nth-child(3){order:3;grid-column:1/-1}body.sy-page-match .sy-match-stadium-field:nth-child(4){order:2}body.sy-page-match .sy-match-stadium-label{margin-bottom:2px;font-size:10px}body.sy-page-match .sy-match-stadium-value{font-size:12px;line-height:1.45}body.sy-page-match .sy-match-scoreboard{grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);padding:13px 7px}body.sy-page-match .sy-match-team img{width:41px;height:41px}body.sy-page-match .sy-match-score{font-size:25px}body.sy-page-match .sy-match-team{font-size:12px}body.sy-page-match .sy-match-column{padding:8px 6px}body.sy-page-match .sy-match-player{gap:3px;font-size:10px}body.sy-page-match .sy-match-player img{width:21px;height:21px}body.sy-page-match .sy-match-number{width:18px}}/* Shared formation pitch — both teams on one field, with saved-data portraits. */body.sy-page-match .sy-match-pitch-head{display:flex;justify-content:space-between;gap:12px;padding:13px 16px;font-size:13px}body.sy-page-match .sy-match-pitch-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}body.sy-page-match .sy-match-pitch-head>div:last-child{text-align:right}body.sy-page-match .sy-match-pitch-head span{color:#71808b;font-size:12px}body.sy-page-match .sy-match-pitch{height:1100px;position:relative;margin:0 12px 14px;overflow:hidden;border-radius:9px;background:repeating-linear-gradient(to bottom,#23714f 0,#23714f 84px,#206a49 84px,#206a49 168px);border:2px solid #b2d5be}body.sy-page-match .sy-pitch-lines{position:absolute;inset:9px;border:1px solid rgba(255,255,255,.62);pointer-events:none}body.sy-page-match .sy-pitch-midline{position:absolute;top:50%;left:0;right:0;border-top:1px solid rgba(255,255,255,.60)}body.sy-page-match .sy-pitch-circle{position:absolute;left:50%;top:50%;width:95px;height:95px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.6);border-radius:50%}body.sy-page-match .sy-pitch-area{position:absolute;left:25%;width:50%;height:10%;border:1px solid rgba(255,255,255,.55)}body.sy-page-match .sy-pitch-top{top:0;border-top:0}body.sy-page-match .sy-pitch-bottom{bottom:0;border-bottom:0}body.sy-page-match .sy-pitch-small{position:absolute;left:38%;width:24%;height:4%;border:1px solid rgba(255,255,255,.55)}body.sy-page-match .sy-pitch-small-top{top:0;border-top:0}body.sy-page-match .sy-pitch-small-bottom{bottom:0;border-bottom:0}body.sy-page-match .sy-pitch-player{position:absolute;transform:translate(-50%,-27.5px);width:92px;display:flex;flex-direction:column;align-items:center;z-index:1;text-align:center;gap:2px;line-height:1.18}body.sy-page-match .sy-pitch-photo{position:relative;width:55px;height:55px;border-radius:50%;border:2px solid #8bd5ff;overflow:visible;background:#dbe5ee}body.sy-page-match .sy-pitch-player.away .sy-pitch-photo{border-color:#ffdf74;background:#f4e9d8}body.sy-page-match .sy-pitch-photo img{position:relative;display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;background:#e8edf1}body.sy-page-match .sy-pitch-photo-fallback{position:absolute;inset:4px;color:#78919c}body.sy-page-match .sy-pitch-photo-fallback svg{width:100%;height:100%;fill:currentColor}body.sy-page-match .sy-pitch-number{position:absolute;bottom:-6px;right:-9px;min-width:19px;height:19px;padding:2px 4px;border-radius:10px;background:#1769a0;color:#fff;font-size:10px;font-weight:700;z-index:2}body.sy-page-match .sy-pitch-player.away .sy-pitch-number{background:#ad761b}body.sy-page-match .sy-pitch-playername{max-width:100%;padding:2px 5px;color:white;background:rgba(3,31,24,.78);border-radius:4px;font-size:11px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.sy-page-match .sy-pitch-player-rating{padding:1px 5px;border-radius:4px;color:#e5e9e6;background:rgba(2,35,24,.70);font-size:11px;font-weight:600}body.sy-page-match .sy-pitch-player-rating.rated{color:#fff;background:#146d45}body.sy-page-match .sy-match-bench>h3{font-size:14px;margin:0;background:#f9fafb;padding:12px 14px;border-top:1px solid #e7ebef}body.sy-page-match .sy-match-bench .sy-match-column h3{margin-bottom:8px}body.sy-page-match .sy-pitch-player-badges{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;max-width:100%;min-height:0}body.sy-page-match .sy-pitch-event-badge{display:inline-flex;align-items:center;gap:1px;padding:1px 3px;border-radius:3px;background:rgba(0,32,22,.85);color:white;font-size:10px;font-weight:700;white-space:nowrap;line-height:1.2}body.sy-page-match .sy-match-bench-meta{display:flex;gap:5px;align-items:center;justify-content:flex-end;flex-wrap:wrap}body.sy-page-match .sy-match-bench-badge{font-size:10px;color:#40576a;white-space:nowrap}body.sy-page-match .sy-match-bench-meta .sy-match-rating{margin-left:4px}@media(max-width:560px){body.sy-page-match .sy-pitch-event-badge{font-size:8px;padding:1px 2px}body.sy-page-match .sy-pitch-player-badges{gap:1px}body.sy-page-match .sy-match-bench-badge{font-size:9px}body.sy-page-match .sy-match-main{width:calc(100% - 8px)}body.sy-page-match .sy-match-pitch{height:1120px;margin:0 2px 10px}body.sy-page-match .sy-pitch-player{width:65px;gap:2px;transform:translate(-50%,-16.5px)}body.sy-page-match .sy-pitch-photo{width:33px;height:33px}body.sy-page-match .sy-pitch-number{font-size:9px;min-width:16px;height:16px;right:-7px;bottom:-5px}body.sy-page-match .sy-pitch-playername{font-size:9px;padding:2px 3px;max-width:64px}body.sy-page-match .sy-pitch-player-rating{font-size:10px}body.sy-page-match .sy-match-pitch-head{padding:10px;font-size:11px}body.sy-page-match .sy-match-pitch-head span{font-size:10px}}/* Substitutes: one-line identity, second line for match events only. */body.sy-page-match .sy-match-sub-player{gap:7px;padding:8px 0;align-items:flex-start;min-width:0}body.sy-page-match .sy-match-sub-photo{width:27px;min-width:27px;height:30px;display:flex;align-items:flex-start;justify-content:center}body.sy-page-match .sy-match-sub-photo img{width:27px;height:27px;display:block;border-radius:50%;object-fit:cover}body.sy-page-match .sy-match-sub-body{min-width:0;flex:1}body.sy-page-match .sy-match-sub-top{display:flex;gap:5px;align-items:center;min-width:0;min-height:27px}body.sy-page-match .sy-match-sub-top .sy-match-number{width:auto;min-width:16px;text-align:right}body.sy-page-match .sy-match-sub-top .sy-match-name{min-width:0;overflow-wrap:anywhere;line-height:1.35}body.sy-page-match .sy-match-sub-top .sy-match-rating{flex-shrink:0;margin-left:auto}body.sy-page-match .sy-match-sub-events{display:flex;gap:4px;align-items:center;flex-wrap:wrap;margin-top:5px}body.sy-page-match .sy-match-sub-event{display:inline-flex;align-items:center;justify-content:center;gap:2px;white-space:nowrap;border-radius:5px;padding:2px 5px;font-size:10px;line-height:1.4;background:#eef2f5;color:#354657;font-weight:650}body.sy-page-match .sy-match-sub-event-sub{background:#e6f5ee;color:#157049}body.sy-page-match .sy-match-sub-event-goal{background:#edf0ff;color:#263f85}body.sy-page-match .sy-match-sub-event-assist{background:#e9f3fc;color:#235e9a}body.sy-page-match .sy-match-sub-event-yellow{background:#fff5d6;color:#745500}body.sy-page-match .sy-match-sub-event-red{background:#ffe9e9;color:#b5262d}@media(max-width:560px){body.sy-page-match .sy-match-sub-player{gap:4px;padding:7px 0}body.sy-page-match .sy-match-sub-photo{width:20px;min-width:20px;height:23px}body.sy-page-match .sy-match-sub-photo img{width:20px;height:20px}body.sy-page-match .sy-match-sub-top{gap:3px;min-height:21px}body.sy-page-match .sy-match-sub-top .sy-match-number{min-width:13px}body.sy-page-match .sy-match-sub-event{font-size:9px;padding:2px 4px}body.sy-page-match .sy-match-sub-events{gap:3px;margin-top:4px}}/* Event team emblems: fixed dimensions on desktop and mobile. */body.sy-page-match .sy-match-event-text .sy-match-event-teamline{display:flex;align-items:center;gap:5px;flex-wrap:wrap}body.sy-page-match .sy-match-event-text .sy-match-event-teamline > img.sy-match-event-teamlogo{display:block;width:32px;height:32px;min-width:32px;max-width:32px;min-height:32px;max-height:32px;flex:0 0 16px;object-fit:contain;border-radius:0;background:transparent}/* Compact match-event spacing on mobile; preserve desktop layout. */@media(max-width:560px){body.sy-page-match .sy-match-event-teamline{display:flex!important;align-items:center;gap:5px;flex-wrap:wrap}body.sy-page-match .sy-match-event-teamlogo{display:inline-block;width:16px;height:16px;flex:0 0 16px;object-fit:contain}body.sy-page-match .sy-match-events{padding:8px 8px}body.sy-page-match .sy-match-event{grid-template-columns:31px 20px 30px minmax(0,1fr);gap:5px}body.sy-page-match .sy-match-event-side img{width:28px;height:28px;min-width:28px;max-width:28px;min-height:28px;max-height:28px}body.sy-page-match .sy-match-event-text{padding-left:0}}body.sy-page-match .sy-match-wdl-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;padding:14px}body.sy-page-match .sy-match-wdl-team{min-width:0}body.sy-page-match .sy-match-wdl-name{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;margin-bottom:8px;overflow-wrap:anywhere}body.sy-page-match .sy-match-wdl-team-logo{width:22px;height:22px;object-fit:contain;flex-shrink:0}body.sy-page-match .sy-match-wdl-results{display:flex;flex-direction:column;gap:5px}body.sy-page-match .sy-match-wdl-game{display:grid;grid-template-columns:43px minmax(0,1fr) 44px 20px;align-items:center;gap:6px;padding:6px 7px;border:1px solid #e7ebef;border-radius:5px;color:inherit;text-decoration:none;font-size:11px;min-width:0}body.sy-page-match .sy-match-wdl-game:hover{background:#f5f9fc}body.sy-page-match .sy-match-wdl-date{color:#71808b;white-space:nowrap}body.sy-page-match .sy-match-wdl-opponent{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.sy-page-match .sy-match-wdl-score{font-weight:700;text-align:center;white-space:nowrap}body.sy-page-match .sy-match-wdl-chip{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:3px;color:#fff;font-size:10px;font-weight:700}body.sy-page-match .sy-match-wdl-chip.W{background:#20865d}body.sy-page-match .sy-match-wdl-chip.D{background:#89949d}body.sy-page-match .sy-match-wdl-chip.L{background:#c64c4c}body.sy-page-match .sy-match-wdl-none{color:#788691;font-size:12px}@media(max-width:560px){body.sy-page-match .sy-match-wdl-wrap{gap:8px;padding:10px 7px}body.sy-page-match .sy-match-wdl-name{font-size:11px;gap:5px}body.sy-page-match .sy-match-wdl-team-logo{width:18px;height:18px}body.sy-page-match .sy-match-wdl-results{gap:4px}body.sy-page-match .sy-match-wdl-game{grid-template-columns:32px minmax(0,1fr) 34px 14px;gap:3px;padding:5px 3px;font-size:9px}body.sy-page-match .sy-match-wdl-score{font-size:9px}body.sy-page-match .sy-match-wdl-chip{width:14px;height:14px;font-size:8px}}/* Saved pre-match odds comparison. */body.sy-page-match .sy-match-odds-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:12px 14px 6px}body.sy-page-match .sy-match-odds-controls label{color:#647480;font-size:12px}body.sy-page-match .sy-match-odds-select{padding:7px 9px;min-width:128px;border-radius:6px;border:1px solid #dce2e6;background:white;color:#26343c;font:inherit;font-size:12px}body.sy-page-match .sy-match-odds-table-wrap{overflow-x:auto;padding:4px 14px 12px}body.sy-page-match .sy-match-odds-table{border-collapse:collapse;width:100%;font-size:12px;font-variant-numeric:tabular-nums}body.sy-page-match .sy-match-odds-table th,body.sy-page-match .sy-match-odds-table td{padding:9px 8px;border-bottom:1px solid #edf0f2;text-align:center;white-space:nowrap}body.sy-page-match .sy-match-odds-table th{font-weight:650;background:#f5f7f9;color:#647480}body.sy-page-match .sy-match-odds-table th:first-child,body.sy-page-match .sy-match-odds-table td:first-child{text-align:left;max-width:130px;overflow:hidden;text-overflow:ellipsis}body.sy-page-match .sy-match-odds-table tbody tr:first-child td:first-child{font-weight:700}body.sy-page-match .sy-match-bookmaker{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}body.sy-page-match .sy-match-bookmaker-icon{width:20px;height:20px;object-fit:contain;flex:0 0 20px;border-radius:3px}@media(max-width:560px){body.sy-page-match .sy-match-bookmaker{gap:5px}body.sy-page-match .sy-match-bookmaker-icon{width:18px;height:18px;flex-basis:18px}}/* Compact LIVE odds: one row per market. */body.sy-page-match .sy-match-live-compact{padding:10px 14px 14px;display:grid;gap:6px}body.sy-page-match .sy-match-live-market{display:grid;grid-template-columns:minmax(100px, 180px) minmax(0,1fr);align-items:center;gap:12px;padding:9px 12px;border:1px solid #e7ebef;border-radius:7px;background:#fff}body.sy-page-match .sy-match-live-market-name{font-size:12px;font-weight:650;color:#526577}body.sy-page-match .sy-match-live-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:center}body.sy-page-match .sy-match-live-prices.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:470px}body.sy-page-match .sy-match-live-price{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;border-radius:5px;background:#f4f7f9;padding:5px 3px;font-variant-numeric:tabular-nums}body.sy-page-match .sy-match-live-price-label{font-size:10px;color:#657785}body.sy-page-match .sy-match-live-price-value{font-size:13px;font-weight:700;color:#253b49}/* Flash updated LIVE odds only; fade back to the normal cell background. */@keyframes syOddsRise {0%{background-color:#f3aaa9}100%{background-color:#f4f7f9}}@keyframes syOddsFall {0%{background-color:#a4d4f7}100%{background-color:#f4f7f9}}body.sy-page-match .sy-match-live-price.sy-odds-up{animation:syOddsRise 4s ease-out both}body.sy-page-match .sy-match-live-price.sy-odds-down{animation:syOddsFall 4s ease-out both}@media (prefers-reduced-motion:reduce){body.sy-page-match .sy-match-live-price.sy-odds-up,body.sy-page-match .sy-match-live-price.sy-odds-down{animation:none}}@media(max-width:560px){body.sy-page-match .sy-match-live-compact{padding:8px;gap:5px}body.sy-page-match .sy-match-live-market{grid-template-columns:minmax(78px,100px) minmax(0,1fr);gap:5px;padding:6px}body.sy-page-match .sy-match-live-market-name{font-size:11px}body.sy-page-match .sy-match-live-prices{gap:4px}body.sy-page-match .sy-match-live-price{padding:5px 1px}body.sy-page-match .sy-match-live-price-label{font-size:9px}body.sy-page-match .sy-match-live-price-value{font-size:11px}}body.sy-page-match .sy-match-odds-note{padding:0 14px 12px;color:#7b8790;font-size:11px}@media(max-width:560px){body.sy-page-match .sy-match-odds-table th,body.sy-page-match .sy-match-odds-table td{padding:8px 5px;font-size:11px}body.sy-page-match .sy-match-odds-table-wrap{padding:4px 9px 10px}}/* Team and competition emblems beside section labels */body.sy-page-match .sy-match-heading-name{display:inline-flex;align-items:center;gap:7px;min-width:0}body.sy-page-match .sy-match-heading-name img{display:block;width:23px;height:23px;min-width:23px;max-width:23px;object-fit:contain;flex-shrink:0}body.sy-page-match .sy-match-pitch-head .sy-match-heading-name{font-size:13px}body.sy-page-match .sy-match-bench .sy-match-column h3 .sy-match-heading-name{font-size:13px}body.sy-page-match .sy-match-info-competition{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}body.sy-page-match .sy-match-info-competition img{display:block;width:22px;height:22px;object-fit:contain;flex-shrink:0}@media(max-width:560px){body.sy-page-match .sy-match-heading-name{gap:5px}body.sy-page-match .sy-match-heading-name img{width:19px;height:19px;min-width:19px;max-width:19px}body.sy-page-match .sy-match-info-competition img{width:19px;height:19px}}

/* ===== player-ranking.php ===== */
body.sy-page-player-ranking .sy-pr{max-width:var(--sy-content-width, 920px);margin:0 auto;padding:22px 16px 60px;color:#233344}body.sy-page-player-ranking .sy-pr h1{font-size:24px;margin:0 0 6px}body.sy-page-player-ranking .sy-pr p{line-height:1.65}body.sy-page-player-ranking .sy-pr-sub{font-size:13px;color:#708090}body.sy-page-player-ranking .sy-pr-panel{border:1px solid #e1e7ed;background:#fff;border-radius:10px;padding:16px;margin:16px 0}body.sy-page-player-ranking .sy-pr-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}body.sy-page-player-ranking .sy-pr-form label{font-size:12px;color:#64748b;display:flex;flex-direction:column;gap:4px}body.sy-page-player-ranking .sy-pr-form input,body.sy-page-player-ranking .sy-pr-form select{font:inherit;font-size:14px;border:1px solid #cbd5e1;border-radius:6px;padding:8px;min-width:105px}body.sy-page-player-ranking .sy-pr-form button{background:#1765ad;color:white;border:0;border-radius:6px;padding:9px 18px;font:inherit;cursor:pointer}body.sy-page-player-ranking .sy-pr-tabs{display:flex;flex-wrap:wrap;gap:6px}body.sy-page-player-ranking .sy-pr-tabs a{font-size:13px;padding:8px 11px;border-radius:6px;background:#eef3f7;color:#215b85;text-decoration:none}body.sy-page-player-ranking .sy-pr-tabs a.active{background:#1765ad;color:#fff}body.sy-page-player-ranking .sy-pr-overflow{overflow-x:auto}body.sy-page-player-ranking .sy-pr table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}body.sy-page-player-ranking .sy-pr th,body.sy-page-player-ranking .sy-pr td{border-bottom:1px solid #edf1f4;padding:10px 9px;text-align:right}body.sy-page-player-ranking .sy-pr th{background:#f5f8fa;color:#617080;font-size:12px}body.sy-page-player-ranking .sy-pr th:nth-child(2),body.sy-page-player-ranking .sy-pr td:nth-child(2),body.sy-page-player-ranking .sy-pr th:nth-child(3),body.sy-page-player-ranking .sy-pr td:nth-child(3){text-align:left}body.sy-page-player-ranking .sy-pr .player{display:flex;align-items:center;gap:8px}body.sy-page-player-ranking .sy-pr .player img{width:32px;height:32px;object-fit:cover;border-radius:50%}body.sy-page-player-ranking .sy-pr .chosen{font-weight:800;color:#075baf}body.sy-page-player-ranking .sy-pr .pager{display:flex;align-items:center;gap:12px;justify-content:center;font-size:13px}body.sy-page-player-ranking .sy-pr .pager a{color:#075baf;text-decoration:none}body.sy-page-player-ranking .sy-pr-note{font-size:12px;color:#687785}body.sy-page-player-ranking .sy-pr-error{color:#b42318}body.sy-page-player-ranking .sy-pr-empty{padding:22px;text-align:center;color:#64748b}body.sy-page-player-ranking .sy-pr-league-picker{position:relative;min-width:340px;max-width:520px}body.sy-page-player-ranking .sy-pr-hidden{display:none}body.sy-page-player-ranking .sy-pr-picker-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:10px 12px;font:inherit;color:#233344;cursor:pointer}body.sy-page-player-ranking .sy-pr-picker-button strong{font-weight:600}body.sy-page-player-ranking .sy-pr-picker-left{display:flex;align-items:center;gap:10px;min-width:0}body.sy-page-player-ranking .sy-pr-picker-icons{display:flex;align-items:center;gap:6px;flex:0 0 auto}body.sy-page-player-ranking .sy-pr-picker-icons img{width:18px;height:18px;object-fit:contain;border-radius:2px;background:#fff}body.sy-page-player-ranking .sy-pr-picker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.sy-page-player-ranking .sy-pr-picker-caret{font-size:12px;color:#64748b}body.sy-page-player-ranking .sy-pr-picker-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:50;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.12);max-height:360px;overflow:auto;padding:6px;display:none}body.sy-page-player-ranking .sy-pr-league-picker.open .sy-pr-picker-menu{display:block}body.sy-page-player-ranking .sy-pr-picker-divider{display:flex;align-items:center;gap:10px;margin:10px 4px 7px;padding:8px 10px 5px;border-top:1px solid #d6dee8;color:#64748b;font-size:12px;font-weight:700;background:#f8fafc;border-radius:4px}body.sy-page-player-ranking .sy-pr-picker-option{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;background:#fff;border-radius:8px;text-align:left;cursor:pointer}body.sy-page-player-ranking .sy-pr-picker-option:hover,body.sy-page-player-ranking .sy-pr-picker-option:focus{background:#eef6ff;outline:none}body.sy-page-player-ranking .sy-pr-picker-option.active{background:#e9f2ff}body.sy-page-player-ranking .sy-pr-team{display:inline-flex;align-items:center;gap:7px}body.sy-page-player-ranking .sy-pr-team img{height:22px;width:22px;object-fit:contain;flex-shrink:0}body.sy-page-player-ranking .sy-pr-picker-title{font-size:14px;color:#233344;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}/* Override global navigation/button styles within the custom league dropdown only. */body.sy-page-player-ranking #syLeaguePicker #syLeagueButton{background:#fff!important;background-image:none!important;color:#233344!important;border:1px solid #cbd5e1!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important;}body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu{background:#fff!important;color:#233344!important;}body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu button.sy-pr-picker-option,body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu button.sy-pr-picker-option:visited{display:flex!important;width:100%!important;min-height:48px!important;height:auto!important;float:none!important;box-sizing:border-box!important;background:#fff!important;background-image:none!important;color:#233344!important;border:0!important;border-radius:7px!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important;font-weight:400!important;line-height:1.4!important;}body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu button.sy-pr-picker-option:hover,body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu button.sy-pr-picker-option:focus-visible{background:#edf5ff!important;color:#233344!important;}body.sy-page-player-ranking #syLeaguePicker #syLeagueMenu button.sy-pr-picker-option.active{background:#eaf2ff!important;color:#233344!important;}body.sy-page-player-ranking #syLeaguePicker .sy-pr-picker-title{color:#233344!important;font-size:14px!important;font-weight:500!important;}body.sy-page-player-ranking #syLeaguePicker .sy-pr-picker-option .sy-pr-picker-icons{align-self:center;}@media(max-width:600px){body.sy-page-player-ranking .sy-pr{padding:12px 10px 40px}body.sy-page-player-ranking .sy-pr h1{font-size:21px}body.sy-page-player-ranking .sy-pr-panel{padding:12px}body.sy-page-player-ranking .sy-pr th,body.sy-page-player-ranking .sy-pr td{padding:9px 7px}body.sy-page-player-ranking .sy-pr-league-picker{min-width:100%;max-width:100%}}

/* ===== player.php ===== */
body.sy-page-player{margin:0;background:#f5f7f9;color:#20313d;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}body.sy-page-player a{color:#205e87;text-decoration:none}body.sy-page-player a:hover{text-decoration:underline}body.sy-page-player .sy-player-page{max-width:var(--sy-content-width, 920px);margin:18px auto;padding:0 14px 28px;box-sizing:border-box}body.sy-page-player .sy-player-panel{background:#fff;border:1px solid #e3e9ee;border-radius:9px;padding:16px;margin-bottom:14px}body.sy-page-player .sy-player-head{display:flex;align-items:center;gap:16px}body.sy-page-player .sy-player-head img{width:90px;height:90px;object-fit:cover;border-radius:8px;background:#f2f4f6}body.sy-page-player .sy-player-head h1{font-size:23px;margin:0 0 5px;line-height:1.25}body.sy-page-player .sy-player-muted{font-size:13px;color:#71808b}body.sy-page-player .sy-player-panel h2{font-size:17px;margin:0 0 12px;padding-bottom:10px;border-bottom:1px solid #e8edf1}body.sy-page-player .sy-player-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}body.sy-page-player .sy-player-info small{display:block;color:#71808b;font-size:12px;margin-bottom:4px}body.sy-page-player .sy-player-info strong{font-size:14px}body.sy-page-player .sy-player-tbl-wrap{overflow:auto}body.sy-page-player .sy-player-table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:13px}body.sy-page-player .sy-player-table th,body.sy-page-player .sy-player-table td{padding:10px 9px;border-bottom:1px solid #edf1f4;text-align:center}body.sy-page-player .sy-player-table th{background:#f6f8fa;color:#62737f;font-size:12px}body.sy-page-player .sy-player-table th:nth-child(2),body.sy-page-player .sy-player-table td:nth-child(2),body.sy-page-player .sy-player-table th:nth-child(3),body.sy-page-player .sy-player-table td:nth-child(3){text-align:left}body.sy-page-player .sy-player-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}body.sy-page-player .sy-player-metric{background:#f5f7f9;border-radius:7px;padding:10px 5px;text-align:center}body.sy-page-player .sy-player-metric b{display:block;font-size:21px}body.sy-page-player .sy-player-metric small{font-size:11px;color:#71808b}body.sy-page-player .sy-player-empty{font-size:13px;color:#71808b;margin:0}body.sy-page-player .sy-player-cell-logo{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}body.sy-page-player .sy-player-ranking-link{white-space:nowrap}body.sy-page-player .sy-player-cell-logo img{width:20px;height:20px;object-fit:contain;flex-shrink:0}body.sy-page-player .sy-player-cell-logo img.sy-player-country-flag,body.sy-page-player .sy-player-transfer-team img.sy-player-country-flag{width:20px;height:14px;object-fit:contain}body.sy-page-player .sy-player-rank-medal{display:inline-block;min-width:25px;padding:3px 7px;border-radius:5px;font-weight:700;line-height:1.35;text-align:center;text-decoration:none}body.sy-page-player .sy-player-rank-1{color:#966b00;background:#fff2c8}body.sy-page-player .sy-player-rank-2{color:#617080;background:#ecf0f3}body.sy-page-player .sy-player-rank-3{color:#995d32;background:#f8e7d8}body.sy-page-player .sy-player-rank-medal:hover{text-decoration:underline}body.sy-page-player .sy-player-table tr[hidden]{display:none}body.sy-page-player .sy-player-more{display:block;width:100%;margin-top:12px;border:1px solid #d8e2ea;border-radius:7px;background:#f6f8fa;color:#205e87;padding:11px 14px;font:inherit;font-size:13px;font-weight:600;cursor:pointer}body.sy-page-player .sy-player-more:hover{background:#edf3f7}body.sy-page-player .sy-player-transfer-row td{background:#f7fafc}body.sy-page-player .sy-player-transfer-row td:nth-child(2){text-align:left}body.sy-page-player .sy-player-transfer-inline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;white-space:normal;font-size:12px}body.sy-page-player .sy-player-transfer-label{font-weight:700;color:#38566d;background:#e6eef4;border-radius:4px;padding:3px 7px}body.sy-page-player .sy-player-transfer-inline time{color:#526877}body.sy-page-player .sy-player-transfer-inline .sy-player-transfer-team{white-space:nowrap}body.sy-page-player .sy-player-transfer-team{display:inline-flex;gap:6px;align-items:center}body.sy-page-player .sy-player-transfer-team img{height:20px;width:20px;object-fit:contain}body.sy-page-player .sy-player-transfer-history-table th:nth-child(4),body.sy-page-player .sy-player-transfer-history-table td:nth-child(4){text-align:left}body.sy-page-player .sy-player-transfer-arrow-col{width:24px;min-width:24px;padding-left:2px!important;padding-right:2px!important;text-align:center!important;color:#62737f;font-weight:700;font-size:17px}@media(max-width:600px){body.sy-page-player .sy-player-page{margin:10px auto;padding:0 9px 20px}body.sy-page-player .sy-player-panel{padding:12px;margin-bottom:10px}body.sy-page-player .sy-player-head{gap:11px}body.sy-page-player .sy-player-head img{width:66px;height:66px}body.sy-page-player .sy-player-head h1{font-size:19px}body.sy-page-player .sy-player-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}body.sy-page-player .sy-player-metric b{font-size:18px}body.sy-page-player .sy-player-table th,body.sy-page-player .sy-player-table td{padding:8px 7px}}body.sy-page-player .sy-player-top-league{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:0}body.sy-page-player .sy-player-top-flag{width:20px;height:14px;object-fit:contain;flex-shrink:0}body.sy-page-player .sy-player-top-league-logo{width:20px;height:20px;object-fit:contain;flex-shrink:0}body.sy-page-player .sy-player-head-nationality{display:flex;align-items:center;gap:6px;flex-wrap:wrap}body.sy-page-player .sy-player-head-nationality img{width:20px;height:14px;object-fit:contain;flex-shrink:0}body.sy-page-player .sy-player-top-team-logo{width:20px;height:20px;object-fit:contain;flex-shrink:0}

/* ===== standings.php ===== */
body.sy-page-standings *{box-sizing:border-box}body.sy-page-standings{margin:0;background:#f3f5f8;color:#26343c;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Yu Gothic",sans-serif}body.sy-page-standings .sy-stand-main{max-width:var(--sy-content-width, 920px);width:calc(100% - 24px);margin:18px auto 36px}body.sy-page-standings .sy-stand-title{font-size:21px;margin:0 0 16px}body.sy-page-standings .sy-stand-filter{display:flex;align-items:end;flex-wrap:wrap;gap:10px;background:#fff;border:1px solid #e4e8eb;border-radius:8px;padding:14px;margin-bottom:16px}body.sy-page-standings .sy-stand-field{min-width:145px;flex:1}body.sy-page-standings .sy-stand-field.league{flex:2;min-width:200px}body.sy-page-standings .sy-stand-field label{display:block;color:#5c6976;font-size:12px;margin-bottom:4px}body.sy-page-standings .sy-stand-field select{width:100%;max-width:100%;padding:9px 8px;border:1px solid #ccd7df;border-radius:6px;background:#fff;font:inherit}body.sy-page-standings .sy-stand-submit{border:0;background:#22618f;color:#fff;padding:10px 19px;border-radius:6px;font:inherit;cursor:pointer}body.sy-page-standings .sy-stand-heading{display:flex;gap:11px;align-items:center;margin:8px 0 13px}body.sy-page-standings .sy-stand-heading img{width:40px;height:40px;object-fit:contain}body.sy-page-standings .sy-stand-heading h2{margin:0;font-size:19px}body.sy-page-standings .sy-stand-heading small{color:#697781}body.sy-page-standings .sy-stand-group{margin:0 0 20px}body.sy-page-standings .sy-stand-group h3{font-size:15px;padding:10px 12px;background:#e6ebf0;border-radius:7px 7px 0 0;margin:0}body.sy-page-standings .sy-stand-scroll{overflow-x:auto;border:1px solid #e4e8eb;border-radius:0 0 7px 7px;background:white}body.sy-page-standings .sy-stand-table{border-collapse:collapse;width:100%;min-width:665px;white-space:nowrap;font-size:13px}body.sy-page-standings .sy-stand-table th{background:#f7f9fb;color:#536574;font-weight:650;font-size:12px}body.sy-page-standings .sy-stand-table th,body.sy-page-standings .sy-stand-table td{padding:9px 7px;text-align:center;border-bottom:1px solid #edf0f3}body.sy-page-standings .sy-stand-table tbody tr:last-child td{border-bottom:0}body.sy-page-standings .sy-stand-table tbody tr:hover{background:#f5f9fc}body.sy-page-standings .sy-stand-table .team{text-align:left;min-width:165px}body.sy-page-standings .sy-stand-team{display:flex;gap:8px;align-items:center;color:#245b85;text-decoration:none}body.sy-page-standings .sy-stand-team img{width:24px;height:24px;object-fit:contain}body.sy-page-standings .sy-stand-points{font-weight:750}body.sy-page-standings .sy-stand-rank{font-weight:650}body.sy-page-standings .sy-stand-form{white-space:nowrap}body.sy-page-standings .sy-stand-result{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:4px;margin:0 1px;color:#fff;font-size:11px;font-weight:700}body.sy-page-standings .sy-stand-result-w{background:#269365}body.sy-page-standings .sy-stand-result-d{background:#87939d}body.sy-page-standings .sy-stand-result-l{background:#cf5656}body.sy-page-standings .sy-stand-message{padding:24px;background:white;border:1px solid #e4e8eb;border-radius:8px;color:#65727d}body.sy-page-standings .sy-stand-positive{color:#25865a}body.sy-page-standings .sy-stand-negative{color:#c44e4e}@media(max-width:520px){body.sy-page-standings .sy-stand-main{margin-top:14px}body.sy-page-standings .sy-stand-title{font-size:19px}body.sy-page-standings .sy-stand-filter{gap:8px;padding:11px}body.sy-page-standings .sy-stand-field{min-width:calc(50% - 5px)}body.sy-page-standings .sy-stand-field.league{min-width:100%}body.sy-page-standings .sy-stand-table th,body.sy-page-standings .sy-stand-table td{padding:8px 6px}}body.sy-page-standings .sy-stand-country-field{position:relative}body.sy-page-standings .sy-stand-country-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 8px;min-height:40px;border:1px solid #ccd7df;border-radius:6px;background:#fff;font:inherit;text-align:left;cursor:pointer}body.sy-page-standings .sy-stand-country-content,body.sy-page-standings .sy-stand-country-option{display:flex;align-items:center;gap:9px}body.sy-page-standings .sy-stand-country-content img,body.sy-page-standings .sy-stand-country-option img{width:24px;height:17px;object-fit:contain;flex:none}body.sy-page-standings .sy-stand-country-list{position:absolute;z-index:30;top:100%;left:0;right:0;max-height:310px;overflow-y:auto;background:#fff;border:1px solid #ccd7df;border-radius:6px;box-shadow:0 8px 20px #0002;padding:4px}body.sy-page-standings .sy-stand-country-list[hidden]{display:none}body.sy-page-standings .sy-stand-country-option{width:100%;border:0;background:#fff;padding:8px;text-align:left;font:inherit;cursor:pointer;border-radius:4px}body.sy-page-standings .sy-stand-country-option:hover,body.sy-page-standings .sy-stand-country-option[aria-selected="true"]{background:#eef5fa}@media(max-width:520px){body.sy-page-standings .sy-stand-country-field,body.sy-page-standings .sy-stand-field.league{min-width:100%}}/* Competition selector: same visual language as the country selector. */body.sy-page-standings .sy-stand-league-field{position:relative}body.sy-page-standings .sy-stand-league-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:40px;padding:9px 8px;border:1px solid #ccd7df;border-radius:6px;background:#fff;font:inherit;text-align:left;cursor:pointer}body.sy-page-standings .sy-stand-league-content,body.sy-page-standings .sy-stand-league-option{display:flex;align-items:center;gap:9px;min-width:0}body.sy-page-standings .sy-stand-league-content span,body.sy-page-standings .sy-stand-league-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.sy-page-standings .sy-stand-league-content img,body.sy-page-standings .sy-stand-league-option img{width:23px;height:23px;object-fit:contain;flex:none}body.sy-page-standings .sy-stand-league-list{position:absolute;z-index:31;top:100%;left:0;right:0;max-height:310px;overflow-y:auto;background:#fff;border:1px solid #ccd7df;border-radius:6px;box-shadow:0 8px 20px #0002;padding:4px}body.sy-page-standings .sy-stand-league-list[hidden]{display:none}body.sy-page-standings .sy-stand-league-option{width:100%;border:0;background:#fff;padding:7px 8px;text-align:left;font:inherit;cursor:pointer;border-radius:4px}body.sy-page-standings .sy-stand-league-option:hover,body.sy-page-standings .sy-stand-league-option[aria-selected="true"]{background:#eef5fa}

/* ===== team.php ===== */
body.sy-page-team{background:#f5f7f9;color:#20313d;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;margin:0}body.sy-page-team a{color:#205e87;text-decoration:none}body.sy-page-team a:hover{text-decoration:underline}body.sy-page-team .sy-team-head,body.sy-page-team .sy-team-panel{background:#fff;border:1px solid #e3e9ee;border-radius:9px;margin-bottom:14px;padding:17px}body.sy-page-team .sy-team-title{display:flex;align-items:center;gap:15px}body.sy-page-team .sy-team-title img{width:75px;height:75px;object-fit:contain}body.sy-page-team .sy-team-title h1{font-size:23px;margin:0 0 4px}body.sy-page-team .sy-team-subtitle{color:#687882;font-size:13px}body.sy-page-team .sy-team-panel h2{font-size:17px;margin:0 0 13px;padding-bottom:10px;border-bottom:1px solid #e8edf1}body.sy-page-team .sy-team-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}body.sy-page-team .sy-team-pair{min-width:0}body.sy-page-team .sy-team-pair span{display:block;font-size:12px;color:#76838d;margin-bottom:4px}body.sy-page-team .sy-team-pair strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}body.sy-page-team .sy-team-stadium{display:flex;gap:16px}body.sy-page-team .sy-team-stadium img{width:180px;max-width:38%;object-fit:cover;border-radius:7px;align-self:start}body.sy-page-team .sy-team-overflow{overflow:auto}body.sy-page-team .sy-team-table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}body.sy-page-team .sy-team-table th,body.sy-page-team .sy-team-table td{border-bottom:1px solid #edf1f4;padding:10px 8px;text-align:center}body.sy-page-team .sy-team-table th{color:#62737f;background:#f6f8fa;font-size:12px}body.sy-page-team .sy-team-table td:first-child,body.sy-page-team .sy-team-table th:first-child{text-align:left}body.sy-page-team .sy-team-rankings th:nth-child(2),body.sy-page-team .sy-team-rankings td:nth-child(2){text-align:left}body.sy-page-team .sy-team-career th:nth-child(2),body.sy-page-team .sy-team-career td:nth-child(2){text-align:left}/* Compact position labels with distinct but accessible colors. */body.sy-page-team .sy-team-position{display:inline-block;min-width:30px;text-align:center;font-size:11px;font-weight:700;line-height:1.5;padding:3px 6px;border-radius:5px}body.sy-page-team .sy-team-position-fw{color:#a11d35;background:#fce8ee}body.sy-page-team .sy-team-position-mf{color:#1b568f;background:#e5f0fc}body.sy-page-team .sy-team-position-df{color:#186b46;background:#e3f4e9}body.sy-page-team .sy-team-position-gk{color:#86580b;background:#fff1d6}body.sy-page-team .sy-team-squad th:first-child,body.sy-page-team .sy-team-squad td:first-child{text-align:left}body.sy-page-team .sy-team-winner{border-bottom:2px solid #249b55;padding-bottom:1px}body.sy-page-team .sy-team-penalty{display:block;font-size:10px;color:#617584;font-weight:400;line-height:1.2;margin-top:2px}body.sy-page-team .sy-team-rank-medal{display:inline-block;min-width:25px;padding:3px 7px;border-radius:5px;font-weight:700;line-height:1.35;text-align:center}body.sy-page-team .sy-team-rank-1{color:#966b00;background:#fff2c8}body.sy-page-team .sy-team-rank-2{color:#617080;background:#ecf0f3}body.sy-page-team .sy-team-rank-3{color:#995d32;background:#f8e7d8}body.sy-page-team .sy-team-mini{width:20px;height:20px;object-fit:contain;flex:0 0 20px;vertical-align:middle}body.sy-page-team .sy-team-with-logo{display:inline-flex;gap:7px;align-items:center;text-align:left;white-space:nowrap}body.sy-page-team .sy-team-select{display:flex;align-items:center;gap:10px;margin-bottom:12px;font-size:13px}body.sy-page-team .sy-team-select select{border:1px solid #cbd6de;border-radius:5px;padding:7px;background:#fff}body.sy-page-team .sy-team-muted{color:#71808b;font-size:13px}body.sy-page-team .sy-team-coach{display:flex;gap:12px;align-items:center}body.sy-page-team .sy-team-coach>img{width:64px;height:64px;object-fit:cover;border-radius:7px}body.sy-page-team .sy-team-coach-period-break{display:block;height:3px}body.sy-page-team .sy-team-coach-mini{width:26px;height:26px;object-fit:cover;border-radius:50%;flex:0 0 26px}body.sy-page-team .sy-team-coach img.sy-team-mini{width:20px;height:14px;flex:0 0 20px;object-fit:contain;border-radius:0}body.sy-page-team .sy-team-note{font-size:12px;color:#75828b;margin-top:12px}body.sy-page-team .sy-team-compact{display:flex;gap:16px;flex-wrap:wrap}body.sy-page-team .sy-team-compact .sy-team-pair{flex:1;min-width:100px}body.sy-page-team .sy-team-history{margin-top:12px}body.sy-page-team .sy-team-history summary{cursor:pointer;color:#205e87;font-size:13px;padding:8px 0}body.sy-page-team .sy-team-empty{padding:12px 0}body.sy-page-team .sy-team-match-home{text-align:right!important}body.sy-page-team .sy-team-match-away{text-align:left!important}body.sy-page-team .sy-team-match-home .sy-team-with-logo{flex-direction:row-reverse;text-align:right}body.sy-page-team .sy-team-match-home .sy-team-with-logo,body.sy-page-team .sy-team-match-away .sy-team-with-logo{max-width:100%}body.sy-page-team .sy-team-match-score{text-align:center!important}body.sy-page-team .sy-team-comp-toggle{display:inline-flex;align-items:center;gap:5px;color:#205e87;background:none;border:0;padding:0;font:inherit;cursor:pointer;text-align:left}body.sy-page-team .sy-team-comp-toggle:hover{text-decoration:underline}body.sy-page-team .sy-team-comp-toggle:focus-visible{outline:2px solid #205e87;outline-offset:3px}body.sy-page-team .sy-team-expand-icon{font-size:11px;color:#75838e}body.sy-page-team .sy-team-expanded>td{padding:10px!important;background:#f8fafc;text-align:left!important}body.sy-page-team .sy-team-expanded[hidden]{display:none}body.sy-page-team .sy-team-subtable{width:100%;border-collapse:collapse;font-size:12px}body.sy-page-team .sy-team-subtable th,body.sy-page-team .sy-team-subtable td{padding:8px 6px;border-bottom:1px solid #e6ecf1}body.sy-page-team .sy-team-subtable th{background:#edf2f6}body.sy-page-team .sy-team-subtable td:nth-child(2){text-align:right}body.sy-page-team .sy-team-subtable td:nth-child(3){text-align:center}body.sy-page-team .sy-team-subtable td:nth-child(4){text-align:left}body.sy-page-team .sy-team-subtable .sy-team-mini{width:16px;height:16px;flex-basis:16px}body.sy-page-team .sy-team-expand-title{font-size:12px;color:#637888;padding:0 0 8px}@media(max-width:520px){body.sy-page-team .sy-team-head,body.sy-page-team .sy-team-panel{padding:13px}body.sy-page-team .sy-team-title img{width:55px;height:55px}body.sy-page-team .sy-team-title h1{font-size:19px}body.sy-page-team .sy-team-stadium{flex-direction:column}body.sy-page-team .sy-team-stadium img{max-width:100%;width:100%;max-height:220px}body.sy-page-team .sy-team-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.sy-page-team .sy-team-compact{gap:10px}}

/* ===== tournament.php ===== */
body.sy-page-tournament{background:#f5f7f9;color:#20313d;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;margin:0}body.sy-page-tournament a{color:#205e87;text-decoration:none}body.sy-page-tournament a:hover{text-decoration:underline}body.sy-page-tournament .sy-t-panel{background:#fff;border:1px solid #e3e9ee;border-radius:9px;padding:17px;margin-bottom:14px}body.sy-page-tournament .sy-t-panel h1{font-size:22px;margin:0 0 6px}body.sy-page-tournament .sy-t-muted{font-size:12px;color:#667887}body.sy-page-tournament .sy-t-legend{font-size:12px;color:#667887;margin:0 0 12px}body.sy-page-tournament .sy-team-page{box-sizing:border-box;width:calc(100% - 28px);max-width:var(--sy-content-width, 920px);margin:18px auto}body.sy-page-tournament .sy-bracket-wrap{width:100%;overflow-x:hidden;padding:4px 0 12px}body.sy-page-tournament .sy-bracket{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%;min-width:0}body.sy-page-tournament .sy-round{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}body.sy-page-tournament .sy-round-head{font-size:15px;font-weight:700;margin:0 0 12px;padding:8px 16px;background:#eef3f7;border-radius:6px;text-align:center}body.sy-page-tournament .sy-round-col{display:grid;gap:10px;align-items:stretch;width:100%;min-width:0}body.sy-page-tournament .sy-round--pyramid .sy-round-col{grid-template-columns:repeat(var(--tie-count),minmax(0,210px));justify-content:center}body.sy-page-tournament .sy-round--list .sy-round-col{grid-template-columns:repeat(4,minmax(0,1fr))}body.sy-page-tournament .sy-tie{box-sizing:border-box;min-width:0;padding:9px;border:1px solid #e2e8ed;border-radius:7px;background:white}body.sy-page-tournament .sy-t-when{font-size:11px;color:#71818d;margin-bottom:7px}body.sy-page-tournament .sy-t-team{display:flex;align-items:center;gap:5px;padding:5px 0;font-size:12px;min-width:0}body.sy-page-tournament .sy-t-team img.sy-t-flag{width:18px;height:12px;flex-shrink:0;object-fit:contain}body.sy-page-tournament .sy-t-team img{width:17px;height:17px;object-fit:contain;flex-shrink:0}body.sy-page-tournament .sy-t-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.sy-page-tournament .sy-t-score{font-weight:700;color:#253844}body.sy-page-tournament .sy-t-win .sy-t-name{border-bottom:2px solid #249b55}body.sy-page-tournament .sy-t-details{color:#697d8a;font-size:11px;margin-top:5px}body.sy-page-tournament .sy-t-legs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px;border-top:1px solid #edf1f4;padding-top:7px;font-size:11px}body.sy-page-tournament .sy-t-legs a{white-space:nowrap}body.sy-page-tournament .sy-t-next{font-size:11px;margin-top:7px;color:#367956}body.sy-page-tournament .sy-t-next a{color:#24764a}@media(max-width:700px){body.sy-page-tournament .sy-team-page{width:calc(100% - 16px)}body.sy-page-tournament .sy-t-panel{padding:10px}body.sy-page-tournament .sy-bracket{gap:18px}body.sy-page-tournament .sy-round-col{gap:7px}body.sy-page-tournament .sy-round--list .sy-round-col{grid-template-columns:repeat(2,minmax(0,1fr))}body.sy-page-tournament .sy-round--pyramid .sy-round-col{grid-template-columns:repeat(min(var(--tie-count),2),minmax(0,1fr))}body.sy-page-tournament .sy-tie{padding:7px}body.sy-page-tournament .sy-t-team{font-size:11px}body.sy-page-tournament .sy-t-team img{width:15px;height:15px}}



/* ===== Existing settings CSS ===== */
.sy-settings{max-width:920px;width:calc(100% - 24px);margin:22px auto 55px;color:#253644;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.sy-settings h1{font-size:28px;margin:0 0 10px}.sy-settings-note{color:#627384;margin-bottom:20px}.sy-settings section{border:1px solid #dce3e9;border-radius:9px;background:#fff;padding:18px;margin:12px 0}.sy-settings section h2{font-size:17px;margin:0 0 14px}.sy-settings label{display:block;margin:12px 0 5px;color:#425365}.sy-settings select{display:block;width:100%;max-width:450px;padding:10px;border:1px solid #c7d4df;border-radius:6px;background:#fff;color:#253644;font-size:14px}.sy-settings .sy-settings-check{display:flex;gap:8px;align-items:center;margin:14px 0}.sy-settings-check input{width:17px;height:17px}.sy-settings section p{color:#627384}.sy-settings a{color:#166392}.sy-settings #sy-setting-status{color:#287451;min-height:20px}

/* Bookmaker logo dropdown; native select remains the single source for saved values. */
.sy-settings .sy-bm-picker{position:relative;width:100%;max-width:450px}
.sy-settings .sy-bm-native{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;overflow:hidden}
.sy-settings .sy-bm-trigger{width:100%;min-height:43px;padding:8px 11px;border:1px solid #c7d4df;border-radius:6px;background:#fff;color:#253644;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font:inherit}
.sy-settings .sy-bm-choice{display:inline-flex;align-items:center;gap:10px;min-width:0}
.sy-settings .sy-bm-icon{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.sy-settings .sy-bm-options{position:absolute;z-index:50;top:calc(100% + 3px);left:0;right:0;background:#fff;border:1px solid #c7d4df;border-radius:6px;box-shadow:0 5px 15px #0002;max-height:310px;overflow:auto}
.sy-settings .sy-bm-options[hidden]{display:none}
.sy-settings .sy-bm-option{display:flex;align-items:center;text-align:left;background:#fff;color:#253644;border:0;padding:10px 12px;width:100%;cursor:pointer;font:inherit}
.sy-settings .sy-bm-option:hover,.sy-settings .sy-bm-option:focus-visible,.sy-settings .sy-bm-option[aria-selected="true"]{background:#ecf3f8}

.sy-goal-sound-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sy-goal-sound-choice select{flex:1 1 200px;max-width:340px}.sy-goal-sound-preview{padding:10px 18px;min-height:42px;border:1px solid #c7d4df;border-radius:6px;background:#fff;color:#253644;cursor:pointer}.sy-goal-sound-preview:focus-visible{outline:2px solid #166392;outline-offset:2px}

.sy-settings .sy-notification-hint{font-size:13px;color:#657484;margin:4px 0 12px}.sy-notification-permission{margin:10px 0 18px;padding:12px;border:1px solid #dae3ea;border-radius:8px}.sy-notification-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.sy-notification-actions button{padding:9px 12px;border:1px solid #c7d4df;border-radius:6px;background:white;color:#253644;cursor:pointer}.sy-notification-actions button:disabled{opacity:.5;cursor:default}


/* ===== Existing shared layout CSS ===== */
/* SoccerYes common menu layout. Self-contained: no common/ or site-shell.css required. */
:root {
    --sy-content-width: 920px;
    --sy-navigation-width: var(--sy-content-width);
}

/* Remove browser-default margins on desktop pages without a body reset. */
@media (min-width: 651px) {
    body { margin: 0; }
}

/* Public page containers use the same 920px outer width.
   Override individual page-specific width declarations without changing their tables. */
body > main.home-page,
body > main.standings-page,
body > main.sy-team-page,
body > main.wrap,
body > div.page,
body > main.sy-index-main,
body > main.sy-match-main,
body > main.sy-stand-main,
body > main.sy-pr,
body > main.sy-player-page,
body > main.sy-directory,
body > main.sy-nations {
    box-sizing: border-box !important;
    display: block;
    width: min(var(--sy-content-width), calc(100% - 28px)) !important;
    max-width: var(--sy-content-width) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Do not add an extra 12-14px inside the width of match/player pages. */
body > main.wrap,
body > div.page {
    padding: 18px 0 36px !important;
}
body > main.sy-team-page,
body > main.standings-page {
    padding: 18px 0 36px !important;
}
/* Align the inner content edges on pages with their own page wrappers. */
body > main.sy-index-main,
body > main.sy-match-main,
body > main.sy-stand-main,
body > main.sy-pr,
body > main.sy-player-page,
body > main.sy-directory,
body > main.sy-nations {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Cards and ranking table fit the common content column. Leave wide
   match/standings tables scrollable INSIDE their existing containers. */
body > main.wrap > .panel,
body > main.sy-team-page > .sy-team-panel,
body > main.sy-team-page > .sy-team-head {
    box-sizing: border-box;
    max-width: 100%;
}
body > main.wrap .table-scroll,
body > main.standings-page .table-wrap,
body > main.standings-page .standings-table-wrap,
body > main.sy-team-page .sy-team-overflow,
body > main.sy-team-page .sy-team-scroll {
    max-width: 100%;
    overflow-x: auto;
}
body > main.wrap .tabs,
body > main.wrap .filters {
    max-width: 100%;
}

/* Shared header: same appearance as index.php regardless of each page's
   private body/a/style rules. The navbar width is intentionally 920px,
   which is the existing index.php header width, not the 760px body width. */
.sy-header,
.sy-footer,
.sy-site-sidebar {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
        'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}
.sy-header {
    width: 100%;
    background: #102534;
    color: #fff;
    font-size: 14px;
    line-height: normal;
}
.sy-header .sy-header-inner {
    box-sizing: border-box;
    width: min(var(--sy-navigation-width), calc(100% - 28px));
    max-width: var(--sy-navigation-width);
    margin-left: auto;
    margin-right: auto;
}
.sy-header .sy-logo,
.sy-header .sy-logo:visited {
    color: #fff;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}
.sy-header .sy-logo-yes {
    color: #52d273;
}
.sy-header .sy-main-nav-link,
.sy-header .sy-main-nav-link:visited {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, .72);
}
.sy-header .sy-main-nav-link.active,
.sy-header .sy-main-nav-link.active:visited {
    color: #fff;
}

/* Shared footer: consistent typography, layout and colors on every page.
   Keep existing links and copyright created by menu/footer.php. */
.sy-footer {
    box-sizing: border-box;
    width: 100%;
    margin-top: 42px;
    border-top: 1px solid #e2e6e9;
    background: #fff;
    color: #102534;
    font-size: 14px;
    line-height: 1.5;
}
.sy-footer .sy-footer-inner {
    box-sizing: border-box;
    width: min(var(--sy-navigation-width), calc(100% - 28px));
    max-width: var(--sy-navigation-width);
    margin-left: auto;
    margin-right: auto;
    padding: 25px 0;
    text-align: center;
}
.sy-footer .sy-footer-logo {
    color: #102534;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}
.sy-footer .sy-footer-logo-yes {
    color: #39a95a;
}
.sy-footer .sy-footer-description {
    margin-top: 7px;
    color: #737e85;
    font-size: 11px;
    line-height: 1.5;
}
.sy-footer .sy-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 19px;
    margin-top: 12px;
}
.sy-footer .sy-footer-nav a,
.sy-footer .sy-footer-nav a:visited {
    color: #5f7381 !important;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
}
.sy-footer .sy-footer-nav a:hover { text-decoration: underline; }
.sy-footer .sy-footer-copyright {
    margin-top: 10px;
    color: #9aa2a7;
    font-size: 10px;
    line-height: 1.5;
}

/* Menu, language picker, and drawer styles follow below. */

@media (max-width: 650px) {
    body > main.home-page,
    body > main.standings-page,
    body > main.sy-team-page,
    body > main.wrap,
    body > div.page,
    body > main.sy-index-main,
    body > main.sy-match-main,
    body > main.sy-stand-main,
    body > main.sy-pr,
    body > main.sy-player-page,
body > main.sy-directory,
body > main.sy-nations {
        width: calc(100% - 20px) !important;
        max-width: none !important;
    }
    body > main.wrap,
    body > div.page,
    body > main.sy-team-page,
    body > main.standings-page {
        padding: 12px 0 32px !important;
    }
    .sy-header .sy-header-inner,
    .sy-footer .sy-footer-inner {
        width: calc(100% - 24px);
        max-width: none;
    }
    .sy-footer { margin-top: 32px; }
    .sy-footer .sy-footer-inner { padding: 21px 0; }
}
@media (max-width: 600px) {
    .sy-header .sy-logo { font-size: 21px; }
    .sy-header .sy-main-nav-link { font-size: 12px; }
}

/* 2026-10-16: desktop directory links; no extra narrow-mobile header columns.
 * The same links are always available in the existing hamburger sidebar. */
@media (max-width: 700px) {
    .sy-header .sy-main-nav-link.sy-directory-nav { display: none; }
}


/* Header navigation and language picker */
.sy-header { position: relative; z-index: 20; }
.sy-header .sy-header-inner {
    display: flex; align-items: center; gap: 18px;
    min-height: 59px; padding: 9px 0;
}
.sy-header .sy-logo { flex: 0 0 auto; white-space: nowrap; }
.sy-header .sy-main-nav {
    display: flex; gap: 16px; align-items: center;
    min-width: 0; flex: 1 1 auto;
}
.sy-header .sy-main-nav-link { white-space: nowrap; }
.sy-header .sy-header-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.sy-header .sy-shell-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid #516575; border-radius: 5px;
    background: transparent; color: #fff;
    padding: 6px 8px; font: inherit; cursor: pointer;
}
.sy-header .sy-shell-trigger:hover { border-color: #a0b6c3; }
.sy-header .sy-shell-trigger > span:first-child { font-size: 18px; line-height: 1; }
.sy-header .sy-language-menu { position: relative; }
.sy-header .sy-language-current {
    cursor: pointer; padding: 6px 8px; border-radius: 5px;
    border: 1px solid #516575; color: #fff;
    white-space: nowrap; font-size: 12px; list-style: none;
}
.sy-header .sy-language-current::-webkit-details-marker { display: none; }
.sy-header .sy-language-dropdown {
    position: absolute; right: 0; top: calc(100% + 5px);
    min-width: 148px; padding: 5px;
    border: 1px solid #d8e0e5; border-radius: 7px;
    background: #fff; box-shadow: 0 7px 22px #0002; z-index: 30;
}
.sy-header .sy-language-option {
    display: block; width: 100%; padding: 8px 10px;
    background: transparent; border: 0; border-radius: 4px;
    text-align: left; font: inherit; font-size: 13px;
    color: #273139; cursor: pointer; white-space: nowrap;
}
.sy-header .sy-language-option:hover,
.sy-header .sy-language-option.active { background: #edf3f6; }
.sy-header :is(a,button,summary):focus-visible,
.sy-site-sidebar :is(a,button):focus-visible {
    outline: 2px solid #52d273; outline-offset: 3px;
}

/* Self-contained sidebar drawer (no external site-shell.css or script). */
.sy-sidebar-backdrop {
    position: fixed; inset: 0; z-index: 99;
    display: block; width: 100%; height: 100%; padding: 0;
    background: rgba(8,19,29,.46); border: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.sy-sidebar-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.sy-site-sidebar {
    box-sizing: border-box; position: fixed; top: 0; bottom: 0; left: 0;
    z-index: 100; width: min(335px, calc(100vw - 40px));
    padding: 17px 12px 25px;
    color: #26323a; background: #fff;
    box-shadow: 8px 0 22px #0002;
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-110%); visibility: hidden; pointer-events: none;
    transition: transform .22s ease, visibility .22s ease;
}
.sy-site-sidebar.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.sy-sidebar-heading { display: flex; justify-content: space-between; align-items: center;
    padding: 4px 8px 12px; font-size: 21px; font-weight: 750; color: #102534; }
.sy-sidebar-yes { color: #39a95a; }
.sy-sidebar-close { background: transparent; border: 0; padding: 2px 9px;
    font-size: 27px; color: #657582; cursor: pointer; }
.sy-sidebar-nav { display: flex; flex-direction: column; gap: 1px; }
.sy-sidebar-caption { margin: 15px 8px 5px; color: #7c8991; font-size: 11px; }
.sy-sidebar-link, .sy-sidebar-link:visited {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 11px; border-radius: 5px;
    color: #334957; font-size: 13px; font-weight: 400;
    text-decoration: none;
}
.sy-sidebar-link:hover { background: #edf3f6; text-decoration: none; }
.sy-sidebar-link.is-active { background: #e1f1e8; color: #184c38; }
.sy-sidebar-icon { flex: 0 0 20px; text-align: center; }
.sy-sidebar-link.sy-sidebar-sub { padding-left: 41px; font-size: 12px; }

@media (max-width: 900px) {
    .sy-header .sy-header-inner { gap: 11px; }
    .sy-header .sy-main-nav { gap: 12px; }
    .sy-header .sy-main-nav-link { font-size: 12px; }
}
@media (max-width: 700px) {
    .sy-header .sy-header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
    .sy-header .sy-logo { order: 1; }
    .sy-header .sy-header-right { order: 2; margin-left: auto; }
    .sy-header .sy-main-nav { order: 3; flex: 0 0 100%; gap: 16px; }
    .sy-header .sy-main-nav-link.sy-directory-nav { display: none; }
}
@media (max-width: 390px) {
    .sy-header .sy-logo { font-size: 20px; }
    .sy-header .sy-shell-trigger-label { display: none; }
    .sy-header .sy-main-nav { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .sy-site-sidebar, .sy-sidebar-backdrop { transition: none; }
}

/* Bookmarks is visible immediately after Standings on mobile. */
@media (max-width: 700px) {
 .sy-header .sy-main-nav-link[data-sy-nav-index="6"] { display: inline-flex; }
}


/* Shared header: settings link (from menu/header.php) */
.sy-settings-link{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid #52687a;border-radius:5px;color:#fff;text-decoration:none;font-size:22px;flex-shrink:0}.sy-settings-link:hover{background:#244257}

/* 2026-10-30: settings header flush with viewport, like match index. */
body.sy-page-settings { margin: 0; }
/* Market selector occupies the former bookmarks-star position on the date row. */
body.sy-page-index .sy-index-day-navigation { position: relative; }
body.sy-page-index .sy-index-day-navigation > .sy-index-date-compact {
 position: absolute; top: 0; right: 0; margin: 0;
}
@media (max-width: 520px) {
 body.sy-page-index .sy-index-day-navigation {
  display: grid; grid-template-columns: 29px minmax(0,1fr) 29px 89px;
  justify-content: stretch; align-items: center; gap: 4px;
 }
 body.sy-page-index .sy-index-day-navigation > .sy-index-date-compact {
  position: static; width: 89px; min-width: 0;
 }
 body.sy-page-index .sy-index-day-navigation .sy-index-metric { width: 89px; max-width: 100%; }
 body.sy-page-index .sy-index-selected-day { min-width: 0; }
 body.sy-page-index .sy-index-day-field { min-width: 0; max-width: 100%; }
 body.sy-page-index .sy-index-day-label { white-space: nowrap; font-size: 10px; }
 /* Keep the finished toggle in its existing row, but let long translations wrap. */
 body.sy-page-index .sy-index-options .sy-index-views { min-width: 0; }
 body.sy-page-index .sy-index-options .sy-index-finished {
  min-width: 0; flex: 1 1 auto; white-space: normal;
  line-height: 1.25; text-align: right; justify-content: flex-end;
 }
 body.sy-page-index .sy-index-options .sy-index-switch { flex: 0 0 29px; }
}

/* 2026-10-30: finished filter in the open right side of the All / Live row. */
body.sy-page-index .sy-index-topline {flex-wrap:nowrap;align-items:flex-start;}
body.sy-page-index .sy-index-topline .sy-index-views {flex:0 0 auto;}
body.sy-page-index .sy-index-finished-top {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;flex:1 1 auto;min-width:0;max-width:62%;margin:0 0 0 auto;padding:0 2px;text-align:center;white-space:normal;line-height:1.3;}
body.sy-page-index .sy-index-finished-top .sy-index-finished-text {display:block;min-width:0;overflow-wrap:anywhere;}
body.sy-page-index .sy-index-finished-top .sy-index-switch {flex:0 0 auto;}
body.sy-page-index .sy-index-options {justify-content:flex-start;}
@media(max-width:520px){
 body.sy-page-index .sy-index-topline {align-items:flex-start;gap:6px;margin-bottom:7px;}
 body.sy-page-index .sy-index-finished-top {font-size:10px;gap:4px;}
 body.sy-page-index .sy-index-topline .sy-index-views {min-width:0;}
}

/* Hide FT: matching the SoccerYes filter palette, with a clear ON/OFF chip. */
body.sy-page-index .sy-index-hide-ft{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;white-space:nowrap;margin-left:auto;border:1px solid #cdd7e0;border-radius:7px;padding:6px 9px;min-height:32px;background:#f0f3f6;color:#34495e;font:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;touch-action:manipulation;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
body.sy-page-index .sy-index-hide-ft-state{display:inline-flex;align-items:center;justify-content:center;min-width:29px;padding:2px 5px;border-radius:4px;background:#d4dce4;color:#526273;font-size:10px;font-weight:700;line-height:1.3;letter-spacing:.02em}
body.sy-page-index .sy-index-hide-ft.is-active{background:#205c88;color:#fff;border-color:#205c88}
body.sy-page-index .sy-index-hide-ft.is-active .sy-index-hide-ft-state{background:#fff;color:#205c88}
body.sy-page-index .sy-index-hide-ft:focus-visible{outline:2px solid #205c88;outline-offset:2px}
@media(hover:hover){body.sy-page-index .sy-index-hide-ft:not(.is-active):hover{background:#e6edf3;border-color:#a9bece}body.sy-page-index .sy-index-hide-ft.is-active:hover{background:#174b73}}
@media(max-width:520px){body.sy-page-index .sy-index-hide-ft{padding:5px 7px;font-size:11px;min-height:29px;gap:5px}body.sy-page-index .sy-index-hide-ft-state{min-width:26px;font-size:9px;padding:2px 4px}}

/* 2026-10-30: Align the odds metric selector vertically with the date controls.
   Keep the select's text inset consistent between mobile and desktop. */
body.sy-page-index .sy-index-day-navigation > .sy-index-date-compact {
  top: 50%;
  transform: translateY(-50%);
}
body.sy-page-index .sy-index-day-navigation .sy-index-metric {
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 20px;
}
@media (max-width: 520px) {
  body.sy-page-index .sy-index-day-navigation > .sy-index-date-compact {
    top: auto;
    transform: none;
  }
  body.sy-page-index .sy-index-day-navigation .sy-index-metric {
    padding-left: 9px;
    padding-right: 16px;
  }
}


/* 2026-10-30: Distinguish secondary sort controls from primary match filters.
   Primary All/Live retains navy; Events/Kickoff uses muted slate blue. */
body.sy-page-index .sy-index-options .sy-index-views a,
body.sy-page-index .sy-index-options > .sy-index-views a {
  background:#fff;
  border-color:#bdcbd8;
  color:#53677e;
}
body.sy-page-index .sy-index-options .sy-index-views a.active,
body.sy-page-index .sy-index-options > .sy-index-views a.active {
  background:#53677e;
  border-color:#53677e;
  color:#fff;
}
body.sy-page-index .sy-index-options .sy-index-views a:hover:not(.active) {
  background:#edf1f5;
}
body.sy-page-index .sy-index-options .sy-index-views a:focus-visible {
  outline:2px solid #53677e;
  outline-offset:2px;
}

/* Compact saved LIVE/FT match statistics, kept separate from WDL/odds. */
body.sy-page-index .sy-index-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;background:#fff;border:1px solid #e4e8eb;border-top:0;border-radius:0 0 6px 6px;padding:5px 8px 7px;margin-top:-5px;margin-bottom:5px}
body.sy-page-index .sy-index-stats .sy-index-stat{min-width:0;display:flex;align-items:center;flex-direction:column;gap:1px;background:#f3f6f9;border-radius:4px;padding:3px 1px;font-variant-numeric:tabular-nums}
body.sy-page-index .sy-index-stat-name{font-size:10px;color:#6b7b8a;line-height:1.25;white-space:nowrap}
body.sy-page-index .sy-index-stat-value{font-size:11px;color:#26343c;font-weight:650;line-height:1.45;white-space:nowrap}
body.sy-page-index .sy-index-stat-dash{color:#9aa8b3;font-weight:400}
body.sy-page-index .sy-index-fixture:has(> .sy-index-stats)>.sy-index-wdl-row{border-radius:0;margin-bottom:5px}
@media(max-width:520px){body.sy-page-index .sy-index-stats{gap:3px;padding:4px 5px 6px}body.sy-page-index .sy-index-stat-name{font-size:9px}body.sy-page-index .sy-index-stat-value{font-size:10px}}

/* 日付選択・オッズ切り替え行 */
body.sy-page-index .sy-index-day-navigation {
    background: #E4EBF1;
    border-radius: 8px;
}

/* 日付・オッズ選択バー */
body.sy-page-index .sy-index-day-navigation {
    background: #CAD8E3;
    border-radius: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* 日付・オッズ選択バー：背景色を元に戻す */
body.sy-page-index .sy-index-day-navigation {
    background: transparent;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* 日付・WIN選択行を元のデザインに戻す */
body.sy-page-index .sy-index-day-navigation {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

/* sy-bookmarks-stats-v1: five stats in one compact row, consistent with index.php. */
.sy-bookmarks-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:8px 0 2px;max-width:100%;}
.sy-bookmarks-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;padding:5px 2px;border-radius:5px;background:#f1f4f6;text-align:center;}
.sy-bookmarks-stat-name{font-size:10px;line-height:1.15;color:#647586;}
.sy-bookmarks-stat-value{font-size:11px;line-height:1.2;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;color:#253746;}
@media(max-width:580px){.sy-bookmarks-stats{gap:3px}.sy-bookmarks-stat{padding:5px 1px}.sy-bookmarks-stat-value{font-size:10px}}

/* sy-bookmarks-team-crest-v1 */
.sy-bookmarks-entry.sy-bookmarks-team-entry{flex-direction:row;align-items:center;gap:8px;}
.sy-bookmarks-team-crest{width:24px;height:24px;flex:0 0 24px;object-fit:contain;}
@media(max-width:580px){.sy-bookmarks-team-crest{width:20px;height:20px;flex-basis:20px;}}

/* お気に入り試合のスコアをindex.phpと統一 */
body.sy-page-bookmarks .sy-bookmark-score {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 520px) {
    body.sy-page-bookmarks .sy-bookmark-score {
        font-size: 14px;
    }
}

/* お気に入りのスコア：太字を解除 */
body.sy-page-bookmarks .sy-bookmark-score {
    font-weight: 400;
}

/* Shared page headings: league/cups are the visual reference. */
body.sy-page-league .sy-dir-intro h1,
body.sy-page-cups .sy-dir-intro h1,
body.sy-page-bookmarks .sy-unified-intro h1,
body.sy-page-player-ranking .sy-unified-intro h1,
body.sy-page-standings .sy-unified-intro h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 5px;
    color: #26343c;
}
body.sy-page-league .sy-dir-intro p,
body.sy-page-cups .sy-dir-intro p,
body.sy-page-bookmarks .sy-unified-intro .sy-bookmarks-note,
body.sy-page-player-ranking .sy-unified-intro .sy-pr-sub {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: #71808b;
}
/* Apply the league/cups white header card to the other pages. */
body.sy-page-bookmarks .sy-unified-intro,
body.sy-page-player-ranking .sy-unified-intro,
body.sy-page-standings .sy-unified-intro {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8ed;
    border-radius: 9px;
    padding: 18px;
    margin: 0 0 14px;
}
body.sy-page-player-ranking .sy-unified-intro .sy-pr-panel,
body.sy-page-standings .sy-unified-intro .sy-stand-filter {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
}
body.sy-page-player-ranking .sy-pr { padding-top: 18px; }
body.sy-page-bookmarks .sy-bookmarks-main { margin-top: 18px; }
@media(max-width:650px) {
    body.sy-page-bookmarks .sy-unified-intro,
    body.sy-page-player-ranking .sy-unified-intro,
    body.sy-page-standings .sy-unified-intro { padding: 14px; }
    body.sy-page-league .sy-dir-intro h1,
    body.sy-page-cups .sy-dir-intro h1,
    body.sy-page-bookmarks .sy-unified-intro h1,
    body.sy-page-player-ranking .sy-unified-intro h1,
    body.sy-page-standings .sy-unified-intro h1 { font-size: 21px; }
    body.sy-page-player-ranking .sy-pr { padding-top: 14px; }
    body.sy-page-bookmarks .sy-bookmarks-main { margin-top: 14px; }
}

/* Bookmarks: allow the five match stats to span the full card width, like index.php. */
body.sy-page-bookmarks .sy-bookmarks-fixture { position: relative; }
body.sy-page-bookmarks .sy-bookmarks-fixture-content { flex: 1 1 100%; width: 100%; min-width: 0; }
body.sy-page-bookmarks .sy-bookmarks-fixture > .sy-bookmark-toggle {
    position: absolute; right: 0; top: 29px;
    width: 32px; min-width: 32px; z-index: 1;
}
body.sy-page-bookmarks .sy-bookmarks-fixture-meta { padding-right: 35px; }
body.sy-page-bookmarks .sy-bookmarks-matchup { padding-right: 35px; }
body.sy-page-bookmarks .sy-bookmarks-stats { width: 100%; max-width: none; }

/* 2026-11-01: bookmarks match layout — metadata/star, live status, matchup, stats. */
body.sy-page-bookmarks .sy-bookmarks-fixture{position:relative;align-items:stretch;}
body.sy-page-bookmarks .sy-bookmarks-fixture-content{width:100%;min-width:0;}
body.sy-page-bookmarks .sy-bookmarks-fixture-meta{display:flex;align-items:center;gap:5px 8px;flex-wrap:wrap;padding-right:43px;min-height:26px;margin-bottom:5px;}
body.sy-page-bookmarks .sy-bookmarks-fixture-meta .sy-bookmark-status{order:20;flex:0 0 100%;margin-top:2px;}
body.sy-page-bookmarks .sy-bookmarks-fixture>.sy-bookmark-toggle{position:absolute;top:2px;right:0;z-index:3;min-width:32px;width:32px;height:30px;display:flex;align-items:center;justify-content:center;}
body.sy-page-bookmarks .sy-bookmarks-matchup{padding-right:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px;margin:6px 0;}
body.sy-page-bookmarks .sy-bookmark-team{min-width:0;gap:5px;}
body.sy-page-bookmarks .sy-bookmark-home{justify-content:flex-end;text-align:right;}
body.sy-page-bookmarks .sy-bookmark-away{justify-content:flex-start;text-align:left;}
body.sy-page-bookmarks .sy-bookmarks-stats{width:100%;max-width:none;}
@media(max-width:580px){body.sy-page-bookmarks .sy-bookmarks-fixture-meta{font-size:11px;gap:4px 6px;}body.sy-page-bookmarks .sy-bookmarks-matchup{gap:5px;}body.sy-page-bookmarks .sy-bookmark-team{font-size:12px;gap:4px;}body.sy-page-bookmarks .sy-bookmark-logo{width:22px;height:22px;flex-basis:22px;}}


/* 2026-11-03: Match bookmarks desktop width to index.php.
   Override the legacy full-width rules embedded in bookmarks.php. */
body.sy-page-bookmarks .sy-bookmarks-main {
    box-sizing: border-box;
    width: calc(100% - 24px) !important;
    max-width: var(--sy-content-width, 920px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.sy-page-bookmarks #sy-bookmarks-index-content {
    width: 100%;
    max-width: 100%;
}

/* 2026-11-03: Compact past-match result toggles on match.php.
   The original PHP includes inline CSS; use narrowly scoped overrides. */
body.sy-page-match #history-20 .sy-hist-details,
body.sy-page-match #history-20-venue .sy-hist-details {
    margin-top: 0 !important;
}
body.sy-page-match #history-20 .sy-hist-details > summary,
body.sy-page-match #history-20-venue .sy-hist-details > summary {
    padding: 8px 12px !important;
    line-height: 1.4;
}


/* SoccerYes historical statistics redesign: desktop and mobile. */
body.sy-page-match .sy-stat-new{display:flex;flex-direction:column;gap:10px;margin:12px 0 4px;font-variant-numeric:tabular-nums}
body.sy-page-match .sy-stat-wdl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body.sy-page-match .sy-stat-wdl-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:10px 4px;border-radius:6px;background:#f1f4f6;min-width:0}
body.sy-page-match .sy-stat-wdl-cell b{font-size:20px;line-height:1.1;font-weight:750}
body.sy-page-match .sy-stat-wdl-cell small{font-size:11px;color:#586a77}
body.sy-page-match .sy-stat-win b{color:#188259}
body.sy-page-match .sy-stat-draw b{color:#71818e}
body.sy-page-match .sy-stat-loss b{color:#c44a50}
body.sy-page-match .sy-stat-rate{display:flex;align-items:baseline;justify-content:space-between;font-size:12px;color:#526574;padding:0 2px;margin-top:1px}
body.sy-page-match .sy-stat-rate b{font-size:20px;color:#203443}
body.sy-page-match .sy-stat-track{height:7px;border-radius:10px;background:#e5e9ed;overflow:hidden;margin-top:-5px}
body.sy-page-match .sy-stat-track span{display:block;height:100%;background:#20865d;border-radius:10px}
body.sy-page-match .sy-stat-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;border-top:1px solid #e6ebef;padding-top:8px}
body.sy-page-match .sy-stat-goal{display:flex;justify-content:space-between;align-items:center;gap:6px;min-width:0;padding:4px 2px}
body.sy-page-match .sy-stat-goal small{font-size:11px;line-height:1.35;color:#637584}
body.sy-page-match .sy-stat-goal b{font-size:15px;white-space:nowrap}
@media(max-width:520px){
 body.sy-page-match .sy-stat-new{gap:9px;margin-top:10px}
 body.sy-page-match .sy-stat-wdl-cell{padding:10px 4px}
 body.sy-page-match .sy-stat-goals{gap:5px 9px}
 body.sy-page-match .sy-stat-goal small{font-size:11px}
 body.sy-page-match .sy-stat-goal b{font-size:14px}
}
