/* Everything is scoped to Team Cards; calendar and theme selectors are untouched. */
.s365tc,.s365tc-dialog{--tc-ink:#173f77;--tc-blue:#086cff;--tc-line:#d9e7fb;--tc-muted:#667f9b;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--tc-ink);box-sizing:border-box}
.s365tc *,.s365tc-dialog *{box-sizing:border-box}
.s365tc{max-width:1160px;margin:0 auto;padding:20px 8px;background:#fff}
.s365tc .s365tc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.s365tc .s365tc-toolbar h2{font:800 clamp(25px,4vw,38px)/1.15 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.035em;color:var(--tc-ink);margin:0}
.s365tc .s365tc-toolbar label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.s365tc .s365tc-season{font:inherit;color:var(--tc-ink);background:#fff;border:1px solid #bad3f5;border-radius:8px;padding:9px 8px;min-height:42px;max-width:140px}
.s365tc .s365tc-intro{font-size:14px;color:var(--tc-muted);margin:12px 0 26px}
.s365tc .s365tc-conferences{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.s365tc .s365tc-conference{min-width:0}
.s365tc .s365tc-conference h3{font:800 clamp(15px,2.5vw,24px)/1.2 Inter,"Segoe UI",Arial,sans-serif;color:var(--tc-ink);letter-spacing:-.025em;margin:0 0 16px}
.s365tc .s365tc-list{display:grid;gap:14px}
.s365tc .s365tc-card{appearance:none;display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;min-height:226px;margin:0;padding:18px 12px 10px;background:#fff;color:var(--tc-ink);border:1px solid var(--tc-line);border-radius:14px;cursor:pointer;text-align:center;box-shadow:0 3px 10px #143f7605;white-space:normal;font:inherit;transition:border-color .15s,box-shadow .15s}
.s365tc .s365tc-card:hover{background:#fbfdff;border-color:#82b5fb;box-shadow:0 5px 16px #1a61b810}
.s365tc .s365tc-card img{display:block;width:84px;height:84px;object-fit:contain;margin:0 0 12px;max-width:100%}
.s365tc .s365tc-card strong{font-size:18px;line-height:1.2;font-weight:800;letter-spacing:-.02em;margin:0 0 5px;overflow-wrap:anywhere}
.s365tc .s365tc-card small{font-size:12px;line-height:1.4;color:var(--tc-muted);margin-bottom:14px}
.s365tc .s365tc-action{display:flex;justify-content:center;align-items:center;gap:10px;background:#eaf3ff;color:#075dcf;border-radius:7px;width:100%;padding:9px 5px;margin-top:auto;font-size:13px;line-height:1.25;font-weight:700}
.s365tc .s365tc-card:focus-visible,.s365tc .s365tc-season:focus-visible,.s365tc-dialog button:focus-visible{outline:3px solid var(--tc-blue);outline-offset:3px}
.s365tc-dialog{width:calc(100% - 28px);max-width:640px;max-height:88vh;max-height:88dvh;margin:auto;padding:0;border:1px solid var(--tc-line);border-radius:18px;background:#fff;box-shadow:0 20px 80px #102b5140;overflow-y:auto;overscroll-behavior:contain}
.s365tc-dialog::backdrop{background:#0a1e3d70}
.s365tc-dialog .s365tc-bar{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--tc-line);padding:10px 16px;font-size:12px;letter-spacing:.08em;font-weight:800}
.s365tc-dialog .s365tc-close{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;background:#edf5ff;color:#173f77;border:0;border-radius:9px;font-size:30px;line-height:1;cursor:pointer}
.s365tc-dialog .s365tc-content{padding:24px 20px;text-align:center}
.s365tc-dialog .s365tc-content>img{display:block;width:90px;height:90px;object-fit:contain;margin:0 auto 12px}
.s365tc-dialog h2{font:800 clamp(24px,5vw,32px)/1.2 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.03em;color:var(--tc-ink);margin:0 0 8px}
.s365tc-dialog .s365tc-meta,.s365tc-dialog .s365tc-summary{font-size:14px;color:var(--tc-muted);margin:0 0 18px}
.s365tc-dialog .s365tc-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.s365tc-dialog .s365tc-stat{background:#f2f7ff;border:1px solid #e0ecfb;border-radius:10px;padding:14px 5px}
.s365tc-dialog dt{font-size:12px;font-weight:800;color:#57749a}
.s365tc-dialog dd{font-size:27px;font-weight:800;color:var(--tc-ink);line-height:1.4;margin:0}
.s365tc-dialog .s365tc-stat>span{display:block;font-size:10px;color:#57749a;line-height:1.3}
.s365tc-dialog .s365tc-message{background:#f2f7ff;border-radius:10px;color:#536e90;padding:20px 12px;font-size:15px;line-height:1.5;margin:20px 0 0}
.s365tc-dialog .s365tc-source{font-size:11px;line-height:1.5;color:#667f9b;margin:20px 0 0}
.s365tc-dialog .s365tc-source a{color:#075dcf;text-decoration:underline}
@media(max-width:600px){.s365tc{padding:12px 0}.s365tc .s365tc-conferences{gap:10px}.s365tc .s365tc-conference h3{font-size:16px;min-height:38px;margin-bottom:10px}.s365tc .s365tc-list{gap:10px}.s365tc .s365tc-card{min-height:218px;padding:16px 8px 8px;border-radius:12px}.s365tc .s365tc-card img{width:72px;height:72px;margin-bottom:12px}.s365tc .s365tc-card strong{font-size:15px;min-height:36px;display:flex;align-items:center;justify-content:center}.s365tc .s365tc-card small{font-size:11px}.s365tc .s365tc-action{font-size:12px}.s365tc-dialog .s365tc-content{padding:20px 12px}.s365tc-dialog dd{font-size:23px}}
@media(prefers-reduced-motion:reduce){.s365tc .s365tc-card{transition:none}}

.s365tc img[hidden],.s365tc-dialog img[hidden]{display:none}
