:root{font-family:Arial,sans-serif;color:#18382d;background:#f5f8f5;font-size:13px;--green:#147d56;--line:#dce7df}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{display:flex;align-items:center;gap:24px;padding:14px 24px;background:#102d24;color:white}.brand{color:#c8edb9;text-decoration:none;font-size:21px}.brand strong{font-size:16px;margin-left:9px}.badge{font-size:10px;background:#ece7c4;color:#5c562c;padding:6px;border-radius:4px}#profile{margin-left:auto}button{cursor:pointer;border:1px solid #cddcd2;border-radius:5px;padding:9px 12px;background:white;color:#214b38;font:inherit}button:hover{background:#e8f3e9;border-color:#147d56}button:disabled{opacity:.45;cursor:default}.primary{background:#147d56;color:white;font-weight:bold}.primary:hover{background:#106541}nav{display:flex;gap:6px;padding:10px 20px;border-bottom:1px solid var(--line);background:#fff}nav .active{background:#e1efdf;border-color:#147d56;font-weight:bold}.page{padding:16px 20px}.actionbar,.forecastbar,.filterbar,.bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.actionbar{margin-bottom:10px}#selected-title{flex:1;font-weight:bold}.forecastbar{background:#e6f1e6;border:1px solid #c5d9c5;padding:10px;margin-bottom:10px}.forecastbar b{margin-right:8px;font-size:11px}.forecastbar button{font-size:12px;padding:8px}.filterbar{padding:8px 0;align-items:end}label{font-size:10px;display:block;color:#527261}input,select{display:block;max-width:100%;border:1px solid #cbdccf;border-radius:4px;padding:6px;margin-top:4px;background:white;font:inherit;color:#18382d}input[type=checkbox]{display:inline;width:16px;height:16px;accent-color:#147d56}#tolerance{width:75px}#search{width:170px}#league{max-width:190px}#status{font-size:11px;min-height:24px;padding:5px 0;color:#56725d}.grid{overflow:auto;border:1px solid var(--line);background:white;max-height:65vh}table{border-collapse:separate;border-spacing:0;width:100%;white-space:nowrap;font-size:11px}#match-table{min-width:1700px;table-layout:fixed}th,td{padding:6px;border-bottom:1px solid #e5ece6;text-align:center;height:29px}th{background:#eaf1ea;font-size:10px;cursor:pointer}thead{position:sticky;top:0;z-index:4}#match-table th:first-child,#match-table td:first-child{position:sticky;left:0;width:140px;max-width:140px;overflow:hidden;text-overflow:ellipsis;background:#f4f8f3;z-index:2;text-align:left}#match-table th:nth-child(2),#match-table td:nth-child(2){position:sticky;left:140px;width:210px;max-width:210px;overflow:hidden;text-overflow:ellipsis;background:#fff;z-index:2;text-align:left;font-weight:bold}#match-table th:nth-child(3){width:85px}#match-table th:nth-child(4){width:55px}#match-table th:nth-child(5){width:95px}#match-table th:nth-child(6),#match-table th:nth-child(7){width:38px}#match-table th:nth-child(n+8){width:60px}#rows tr{cursor:pointer}#rows tr:hover td{box-shadow:inset 0 0 0 999px #147d5609}td.winner{background:#83cf86;color:#123f22;font-weight:bold}#reference td{background:#e6eee4;border-bottom:2px solid #547e61}#reference .odd{padding:3px;cursor:pointer}#reference .odd input{width:100%;min-width:0;border:0;background:transparent;text-align:center;font-size:12px;font-weight:bold;padding:3px;margin:0;cursor:pointer}#reference small{font-size:9px}#reference .marked{background:#147d56;color:white}#reference .marked input{color:white}#reference input:not([readonly]){background:#fff;color:#18382d;outline:2px solid #147d56}.bottom{justify-content:space-between;padding:7px;font-size:10px}#stats{display:flex;gap:5px;flex-wrap:wrap;padding:8px 0}#stats span{padding:5px;border:1px solid #d4e3d3;border-radius:4px;background:white;font-size:10px}body.table-full{overflow:hidden}body.table-full #matches{position:fixed;inset:0;z-index:20;background:#f5f8f5;padding:8px;display:flex;flex-direction:column}body.table-full #matches .grid{flex:1;min-height:0;max-height:none}body.table-full #stats{display:none}body.table-full .forecastbar{padding:6px;margin-bottom:3px}body.table-full .actionbar{margin-bottom:4px}body.table-full .filterbar{padding:3px 0}dialog{width:680px;max-width:95vw;max-height:90vh;border:1px solid #aec5b4;border-radius:9px;padding:24px;color:#18382d;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#102d2499}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head button{font-size:23px;border:0}form{display:grid;gap:12px}form input,form select{width:100%;font-size:14px}form input[type=checkbox]{width:16px}pre{white-space:pre-wrap;word-break:break-word;font:13px/1.65 Arial}#busy{position:fixed;inset:0;background:#102d2477;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;gap:15px}#busy strong{padding:20px;background:#147d56;border-radius:8px;font-size:16px}#notice{position:fixed;bottom:20px;right:20px;z-index:2000;background:#18382d;color:white;padding:16px;border-radius:6px;max-width:80vw}.summary{padding:16px;background:#e7f0e2;margin:12px 0;display:flex;gap:25px;flex-wrap:wrap}.pick{background:#edf5e9;border:1px solid #c6daba;padding:14px;border-radius:6px;margin:10px 0}.pick button{margin-top:8px}details{padding:12px;margin:8px 0;border:1px solid var(--line);background:#fff}summary{cursor:pointer;font-weight:bold}#user-form{max-width:500px}#login{max-width:420px}#login-error,#bet-error{color:#a32626}#help{max-width:850px;line-height:1.8}@media(max-width:800px){header{gap:8px;padding:10px}.brand strong{font-size:12px}.badge{font-size:8px}nav{overflow:auto;flex-wrap:nowrap;padding:7px}nav button{white-space:nowrap}.page{padding:10px}.forecastbar{gap:5px}.forecastbar b{width:100%}.forecastbar button{font-size:11px}.filterbar label{max-width:45%}.bottom>span:last-child{display:none}}

/* Eight-section reports keep the numerical comparison readable. */
dialog:has(.ai-analysis){width:1120px}.ai-analysis h3{font-size:16px;margin:22px 0 8px}.ai-analysis pre{margin:0}.analysis-scroll{overflow:auto;max-width:100%;border:1px solid var(--line)}.analysis-scroll table{font-size:12px}.analysis-scroll th{cursor:default;font-size:11px}.odds-analysis p{font-size:11px;line-height:1.6}.ai-analysis section{border-bottom:1px solid var(--line);padding-bottom:14px}

.auth-tabs{display:flex;gap:8px;margin:16px 0}#register-error{color:#a32626}#register-form p{font-size:12px;line-height:1.5}#pending-account{max-width:800px;margin:24px auto}#register-form input[type=checkbox]{width:16px}

.update-panel{padding:20px;border:1px solid #c6daba;background:#edf5e9;border-radius:8px;margin-bottom:24px;max-width:850px}.update-panel label{margin:14px 0}.update-panel button{margin:8px 6px 8px 0}#update-preview,#update-message{white-space:pre-wrap;line-height:1.6}

.bank-panel{background:#f2f7ef;margin:12px 0}.bank-panel p,#bank-quote p{font-size:12px;line-height:1.6}#bank-form{max-width:380px;display:flex;align-items:end;gap:12px}#bank-initial{width:140px}#bank-quote{padding:8px;border:1px solid var(--line);background:#f4f8f1}#simulate-bank{width:16px}

#hour{width:190px}#category{max-width:220px}#search{width:210px}

.country-menu{position:relative;margin:0;padding:0;border:0;background:transparent;align-self:end;width:190px}.country-menu>summary{padding:8px;border:1px solid #cbdccf;border-radius:4px;background:white;font-size:12px;font-weight:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;list-style:none}#country-options{position:absolute;top:100%;left:0;z-index:15;width:245px;max-height:320px;overflow:auto;padding:8px;background:white;border:1px solid #cbdccf;border-radius:4px;box-shadow:0 6px 20px #0002}#country-options label{display:flex;align-items:center;gap:8px;padding:5px;font-size:12px;color:#18382d}#country-options input{margin:0;flex-shrink:0}

.return-league{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;font:inherit;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:underline;text-underline-offset:3px}.return-league:hover{background:#dcebd8;color:#106541}

@keyframes ai-pulse{0%,100%{background:#a82f36}50%{background:#d56568}}#reference td.ai-pick{animation:ai-pulse 2.4s ease-in-out infinite;color:white;outline:2px solid #a82f36;outline-offset:-2px}#reference td.ai-pick input{color:white}.ai-label{display:inline-block;padding:6px 10px;background:#a82f36;color:white;border-radius:4px;animation:ai-pulse 2.4s ease-in-out infinite}#ai-selection{font-size:12px;margin:4px 0}.evidence-filter{font-size:12px;line-height:1.6}@media(prefers-reduced-motion:reduce){#reference td.ai-pick,.ai-label{animation:none;background:#a82f36}}

.password-tools{display:flex;gap:6px;flex-wrap:wrap}.password-tools button{font-size:12px;padding:7px 10px}.password-hint{font-size:11px;line-height:1.5;margin:0;color:#527261}#password-error{color:#a32626}#account-dialog{max-width:540px}#account-settings{white-space:nowrap}

/* Long group labels must never paint over half-time/full-time scores. */
#match-table th,#match-table td{overflow:hidden;text-overflow:ellipsis}
#match-table th:nth-child(5),#match-table td:nth-child(5){max-width:95px;white-space:nowrap}
#match-table th:nth-child(6),#match-table th:nth-child(7),#match-table td:nth-child(6),#match-table td:nth-child(7){width:44px;min-width:44px;max-width:44px;text-align:center;font-variant-numeric:tabular-nums}
#match-table td:nth-child(6),#match-table td:nth-child(7){font-weight:bold;background:#f0f5ee;border-left:1px solid #dce7df;color:#18382d}

.full-analysis-button{background:#173f69;color:#fff;font-weight:bold;border-color:#173f69}.full-analysis-button:hover{background:#225989}.model-quality{padding:10px 0;line-height:1.6}.model-quality strong{display:block}.model-metrics{overflow:auto}.model-metrics table{font-size:12px}.full-report-warning{color:#854400;font-weight:bold}

/* Blog: readable article without changing the analysis tables. */
.blog-article{max-width:880px;margin:20px auto 60px;padding:30px 36px;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:16px;line-height:1.8}.blog-article h1{font-size:30px;line-height:1.25;margin:12px 0 26px}.blog-article p{margin:0 0 20px}.blog-label{font-size:11px;font-weight:bold;letter-spacing:1px;color:#147d56}.blog-note{margin-top:30px;padding:18px 20px;background:#f1f6f2;border-left:4px solid #147d56;font-size:14px}.blog-note p{margin:8px 0 0}@media(max-width:600px){.blog-article{padding:20px 18px;margin:8px auto 30px;font-size:15px}.blog-article h1{font-size:25px}#navigation{flex-wrap:wrap}}

.blog-article h2{font-size:21px;line-height:1.35;margin:30px 0 12px}.blog-formula{background:#eaf3ec;padding:14px 18px;border-radius:6px;font-weight:bold}.blog-table{overflow-x:auto;margin:18px 0}.blog-table table{width:100%;font-size:15px}.blog-table th,.blog-table td{padding:10px 12px;text-align:left;white-space:nowrap}.blog-article li{margin-bottom:10px}

.blog-contents{max-width:880px;margin:16px auto 0;display:flex;flex-wrap:wrap;gap:12px 24px;padding:14px 18px;border:1px solid var(--line);border-radius:6px}.blog-contents a{color:#147d56;font-weight:bold}.blog-article{scroll-margin-top:20px}

.glossary-article{max-width:1120px}.glossary-article .blog-table table{table-layout:fixed;min-width:620px}.glossary-article .blog-table td,.glossary-article .blog-table th{white-space:normal;vertical-align:top;line-height:1.6;overflow-wrap:anywhere}.glossary-article .blog-table th:first-child{width:23%}.glossary-article .blog-table td{width:38.5%}#open-glossary{font-size:12px}

#tolerance-1x2,#tolerance-goals{width:75px}

.report-export{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.report-export button{font-weight:bold;border-color:#147d56}.report-export span{font-size:12px;color:#527261}

.review-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:6px}.review-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:bold;padding:12px 0}.review-checkbox input{appearance:auto;background:#fff;width:19px;height:19px;margin:0}.report-record{border-bottom:1px solid var(--line);padding:6px 0 16px}.postmatch-review section{margin:20px 0}.postmatch-review p{line-height:1.6}.postmatch-review td,.postmatch-review th{padding:9px;text-align:left}#review-history{margin-top:24px}

#quote-source{max-width:205px}#quote-note:empty{display:none}#quote-note{padding:7px 10px;border-left:3px solid #4193cf;color:#d7e7f6;background:#172b3c;font-size:12px;margin:4px 0 8px}#flashscore-link-dialog{max-width:680px;width:90vw}#flashscore-match-url{width:100%;box-sizing:border-box}#flashscore-link-form{display:grid;gap:12px}#flashscore-error{color:#ffb8a5}

.decision-explanation{margin:12px 0;padding:12px;border:1px solid #477a9c;border-radius:7px;background:#172c3a}.decision-explanation h4{margin:0 0 8px}.decision-explanation td{white-space:normal;min-width:100px}.decision-explanation td:last-child{min-width:250px}.decision-explanation details{margin-top:10px}.decision-note,.decision-metrics{font-size:12px;color:#b9cddd}

.experimental-forecast{border:2px solid #dba84d;background:#302719;border-radius:8px;margin:18px 0;padding:14px}.experimental-forecast h3,.experimental-forecast h4{color:#ffd37d}.experimental-note{color:#ffd37d}.experimental-forecast .pick{border-color:#9b793c}

/* Dedicated browser tab: keep the actual interactive table, without the upper controls. */
#table-tab-menu{display:none}
body.table-tab{overflow:hidden}
body.table-tab>header,body.table-tab>#navigation{display:none}
body.table-tab #matches{position:fixed;inset:0;padding:0;display:flex;flex-direction:column;background:#f5f8f5}
body.table-tab #matches>.actionbar,body.table-tab #matches>.forecastbar,body.table-tab #matches>.filterbar,body.table-tab #quote-note,body.table-tab #ai-selection,body.table-tab #status,body.table-tab #stats{display:none}
body.table-tab #matches>.grid{flex:1;min-height:0;max-height:none;border:0}
body.table-tab #matches>.bottom{flex:none;gap:8px;padding:4px 8px;justify-content:flex-start}
body.table-tab #matches>.bottom>span:last-child{display:none}
body.table-tab #table-tab-menu{display:inline-block;padding:5px 9px}
body.table-tab #matches>.bottom button{padding:5px 9px}

/* Preferences · 2.0.34 */
.preferences-form{display:grid;gap:14px;max-width:650px;padding:18px 0}.preferences-form label{display:grid;gap:6px;font-weight:600}.preferences-form input,.preferences-form select{max-width:360px;padding:9px;border-radius:7px}.preferences-form p{margin:0;color:var(--muted,#9aa7b8);font-size:.93rem}.preferences-form button{max-width:230px}

.green-corridor-summary{padding:12px;margin:8px 0;border:1px solid #358b60;border-radius:8px;line-height:1.5}.green-corridor-summary p{margin:5px 0}.green-corridor-summary ul{margin:4px 0 8px;padding-left:22px}.green-corridor-warning{color:#c68b22;font-weight:600}

.bet-last-vip{border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;text-align:left;padding:2px}.bet-last-vip:hover{color:#48a3ee}

/* Corridor intersection counter · 2.0.98 */
.corridor-count{display:inline-flex;align-items:center;justify-content:center;min-height:37px;padding:7px 14px;border:1px solid #cbd5d1;border-radius:8px;background:#f2f5f2;color:#4b6258;font-size:14px;font-weight:600;white-space:nowrap;margin-left:auto}.corridor-count.active{background:#e1f3e8;border-color:#76bd93;color:#116c42;font-weight:750}body.table-tab .corridor-count{margin-left:auto}@media(max-width:900px){.corridor-count{margin-left:0;white-space:normal}}

.country-menu .country-panel{position:absolute;top:100%;left:0;z-index:17;width:260px;box-sizing:border-box;background:white;border:1px solid #cbdccf;border-radius:4px;box-shadow:0 6px 20px #0002;padding:8px}.country-menu .country-tools{padding-bottom:7px}.country-menu #country-search{width:100%;box-sizing:border-box;padding:7px}.country-menu #country-options{position:static;width:auto;max-height:245px;overflow-y:auto;padding:0;border:0;box-shadow:none}.country-menu #country-apply{display:block;width:100%;padding:9px;margin-top:8px;background:#e5f1e9;border:1px solid #cbdccf;cursor:pointer}


/* BULWINS · compact visual refresh 2026-10-30
   Presentation only: existing IDs, events, analysis and data remain untouched. */
:root {
  --green:#147d56;
  --line:#dce7df;
  --surface:#ffffff;
  --canvas:#f4f7f5;
  --ink:#19392d;
  --muted:#61776c;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--canvas);
  font-size:13px;
}
body {background:var(--canvas)}
button,input,select {font-family:inherit}
button {
  border-radius:8px;
  padding:8px 11px;
  font-weight:550;
  transition:background-color .14s,border-color .14s,box-shadow .14s;
}
button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline:2px solid #19885e;
  outline-offset:2px;
}
button:not(:disabled):hover {box-shadow:0 1px 4px #163d2312}
.primary {background:#147d56;border-color:#147d56;color:#fff}
header {
  min-height:58px;
  gap:14px;
  padding:9px 20px;
  background:#10382b;
  border-bottom:1px solid #235642;
}
.brand {font-size:19px;white-space:nowrap}
.brand strong {font-size:15px;letter-spacing:.025em;margin-left:5px}
header .badge {border-radius:999px;padding:5px 9px;letter-spacing:.025em}
header button {padding:7px 11px}
#navigation {
  gap:5px;
  padding:8px 20px;
  border-bottom:1px solid #dce6df;
  box-shadow:0 1px 3px #0f30200a;
}
#navigation button {
  border-color:transparent;
  background:transparent;
  color:#476353;
  padding:9px 13px;
  border-radius:8px;
  white-space:nowrap;
}
#navigation button:hover {background:#eff6f0;border-color:#dbe9df}
#navigation button.active {
  background:#e2f2e8;
  color:#0f6946;
  border-color:#bddcc9;
  box-shadow:inset 0 -2px #158357;
}
.page {padding:12px 18px 18px}
.actionbar {
  gap:7px;
  padding:10px 12px;
  margin-bottom:8px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:11px;
}
.actionbar button {padding:7px 10px}
#selected-title {
  color:#173c2c;
  font-size:13px;
  padding:4px 8px;
  min-width:150px;
}
.forecastbar {
  gap:8px;
  padding:9px 12px;
  margin-bottom:8px;
  background:#edf6ef;
  border:1px solid #cce3d4;
  border-radius:11px;
}
.forecastbar b {font-size:12px;color:#35634b;margin-right:7px}
.forecastbar button {padding:9px 12px;font-size:12px}
#vip {box-shadow:0 2px 5px #12633b20}
#opinion:not([hidden]) {border-color:#bbd9c5;background:#fff;font-weight:700}
.filterbar {
  gap:8px 9px;
  align-items:flex-end;
  padding:11px 12px;
  margin-bottom:7px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
}
.filterbar label {font-size:11px;font-weight:600;color:#5a7263}
.filterbar input,.filterbar select {
  margin-top:5px;
  padding:7px 9px;
  min-height:34px;
  border-radius:7px;
  border-color:#cddbd2;
  background:#fff;
}
.filterbar #search {width:210px}
.filterbar #hour {width:155px}
.filterbar #league {max-width:175px}
.filterbar #category {max-width:180px}
.country-menu {width:175px}
.country-menu>summary {min-height:34px;padding:8px 10px;border-radius:7px}
.country-menu .country-panel {border-radius:10px;box-shadow:0 12px 32px #122c2429}
#auto-corridor {border-color:#afd1bc;background:#eaf5ed;color:#176a44;font-weight:700}
#clear {color:#526a5a}
.corridor-count {min-height:34px;font-size:12px;padding:6px 11px;border-radius:8px}
#status {min-height:20px;padding:3px 4px;font-size:11px}
#matches>.grid {
  border:1px solid #d6e2d9;
  border-radius:11px;
  box-shadow:0 2px 12px #1a3e2609;
}
#match-table {font-variant-numeric:tabular-nums}
#match-table th {
  background:#e8f0e9;
  color:#345846;
  font-size:10px;
  letter-spacing:.01em;
}
#match-table th,#match-table td {padding:5px 6px;height:28px}
#rows tr:nth-child(even) td:not(.winner) {background-color:#fbfdfb}
#rows tr:hover td:not(.winner) {background-color:#eaf6ed}
#reference td {border-bottom:2px solid #7ca88c}
#reference .marked {background:#147d56;color:#fff}
.bottom {gap:8px;padding:9px 6px;color:#60776a}
#stats span {border-radius:7px;padding:6px 9px}
dialog {border-radius:14px;box-shadow:0 24px 90px #102c2440}
.summary,.pick,details {border-radius:9px}
body.table-full #matches {background:var(--canvas);padding:7px}
body.table-full .actionbar {padding:5px 8px;margin-bottom:5px}
body.table-full .forecastbar {padding:5px 8px;margin-bottom:4px}
body.table-full .filterbar {padding:6px 8px;margin-bottom:4px}
body.table-full #matches>.grid {border-radius:6px}
body.table-tab #matches {background:var(--canvas)}
body.table-tab #matches>.grid {border-radius:0}
@media(max-width:1000px) {
  header {gap:9px;padding:9px 12px}
  #navigation {padding:7px 10px;overflow-x:auto;flex-wrap:nowrap}
  .page {padding:10px}
  .actionbar,.forecastbar,.filterbar {border-radius:9px}
}
@media(max-width:600px) {
  header {flex-wrap:wrap}
  #profile {margin-left:0}
  .brand {margin-right:auto}
  #navigation button {padding:8px 10px}
  .actionbar {gap:5px}
  #selected-title {order:-1;flex-basis:100%;padding:2px 4px}
  .forecastbar b {flex-basis:100%}
  .forecastbar button {flex:1 1 auto}
  .filterbar {gap:8px}
  .filterbar label {max-width:none}
  .filterbar #search {width:100%}
  .filterbar label.search {flex:1 1 100%}
  .country-menu {width:175px}
  .bottom>span:last-child {display:none}
}
@media(prefers-reduced-motion:reduce) {
  button {transition:none}
}

/* Bulwins: prominent historical risk button */
#risk-main {
 background:#d71920 !important;
 color:#fff !important;
 border:2px solid #ffb3b3 !important;
 border-radius:10px !important;
 padding:13px 22px !important;
 font-size:16px !important;
 font-weight:900 !important;
 letter-spacing:.6px;
 box-shadow:0 0 0 2px #d7192033,0 4px 14px #d7192066;
 cursor:pointer;
}
#risk-main:hover {
 background:#a90008 !important;
 transform:translateY(-1px);
}
