/* My teams (/my-teams/; docs/design/follow/static-html/follow.css, My teams part). Loaded after base.css and who-wins.css. */
.hero { position: relative; color: #FFFFFF; background: radial-gradient(720px 360px at 88% -10%, rgba(35,64,245,0.75), transparent 70%), var(--ink); }
.mt-hero { padding: 8px 0 40px; }
.crumbs { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 14px; font-weight: 650; color: rgba(255,255,255,0.84); }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid rgba(255,255,255,0.6); border-top: 1.6px solid rgba(255,255,255,0.6); transform: rotate(45deg); margin-right: 4px; }
.crumbs a { color: #FFFFFF; }
.mt-hb { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.mt-h1 { margin: 0; font-size: 48px; line-height: 1.05; color: #FFFFFF; }
.mt-sum { margin: 10px 0 0; font-size: 16px; color: rgba(255,255,255,0.84); }
/* The search (js/search.js; the Home box's look, copied from pages/h3.css and pages/home.css). */
.mt-search { position: relative; width: 360px; max-width: 100%; }
.hm-q { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 16px; border-radius: 10px; background: #FFFFFF; color: var(--ink); }
.hm-q:focus-within { box-shadow: 0 0 0 3px var(--amber); }
.hm-q > .ic { color: var(--steel); flex: none; }
.hm-q input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 15.5px; }
.p .hm-q input:focus-visible { outline: none; }
.hm-q input::placeholder { color: var(--steel); }
.hm-q input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.hm-qx { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; }
.hm-qx[hidden], .hm-res[hidden] { display: none; }
.hm-res { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; margin-top: 8px; max-height: min(60vh, 420px); overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; background: #FFFFFF; color: var(--ink); box-shadow: 0 24px 48px -28px rgba(4,8,36,0.75), 0 0 0 1px var(--line); }
.hm-res ul { list-style: none; margin: 0; padding: 4px 0; }
.hm-res li a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 14px; color: var(--ink); text-decoration: none; }
.hm-res li a:hover, .hm-res li a[aria-selected="true"], .hm-res li a:focus-visible { background: var(--paper); color: var(--ink); }
.hm-ri { width: 40px; height: 40px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.hm-ri.mark > img { width: 40px; height: 40px; border-radius: 10px; }
.hm-ri.crest > img { width: 26px; height: 28px; object-fit: contain; }
.hm-ri.flag > img { width: 28px; height: 20px; border-radius: 3px; object-fit: cover; }
.hm-ri.av { border-radius: 50%; }
.hm-ri.av > img { width: 40px; height: 40px; object-fit: cover; }
.hm-rn { display: grid; gap: 1px; min-width: 0; }
.hm-rn > b { font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.hm-rn > small { font-size: 13px; color: var(--steel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-rt { padding: 3px 8px; border-radius: 6px; background: var(--paper); color: var(--steel); font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.hm-rf, .hm-none { margin: 0; padding: 12px 14px; font-size: 13.5px; color: var(--steel); }
.hm-none { display: grid; gap: 2px; }
.hm-none > b { color: var(--ink); font-size: 15px; }

.mt { padding: 24px 0 72px; background: var(--paper); min-height: 40vh; }
.mt-guest { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px 16px; align-items: center; margin-bottom: 24px; padding: 18px 20px; border-radius: 16px; background: #FFF6DB; box-shadow: 0 0 0 1px #F1D58B; }
.mt-guest[hidden] { display: none; }
.mt-gi { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #FFFFFF; color: #8A5A00; }
.mt-guest b { display: block; font-size: 17px; }
.mt-guest small { display: block; margin-top: 2px; font-size: 15px; line-height: 1.5; color: #5A4300; }
/* Sign-up buttons (design handoff Sign in): stacked on phones, one row under the text from 720 px. */
.mt-gacts { grid-column: 1 / -1; display: grid; gap: 10px; }
.mt-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.mt-grid[hidden], .mt-sec[hidden], .mt-card[hidden], .mt-box[hidden], .mt-nw[hidden] { display: none; }
.mt-main, .mt-side, .mt-list { display: grid; gap: 16px; min-width: 0; }
.mt-sec { display: grid; gap: 12px; }
.mt-sec + .mt-sec { margin-top: 12px; }
.mt-h2 { margin: 0; font-size: 22px; font-weight: 800; font-stretch: 112%; }
.mt-note { margin: -6px 0 0; font-size: 15px; color: var(--steel); }
.mt-card { display: grid; gap: 16px; padding: 20px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.mt-ch { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.mt-cr { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); overflow: hidden; }
.mt-cr > img { width: 38px; height: 38px; object-fit: contain; }
.mt-cr > b { font-size: 13px; font-weight: 800; color: var(--blue-deep); }
.mt-crp { border-radius: 50%; }
.mt-crp > img { width: 52px; height: 52px; object-fit: cover; }
.mt-crp > b { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #E4E7EE; font-size: 15px; }
.mt-cht { min-width: 0; }
.mt-nm { font-size: 20px; line-height: 1.15; font-weight: 800; font-stretch: 108%; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.mt-nm:hover { color: var(--blue); text-decoration: underline; }
.mt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 14px; color: var(--steel); }
.mt-flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }
.mt-vf { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: #E3F4EE; color: #0B5A3F; font-size: 12px; font-weight: 800; }
.mt-fol { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--ink); background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.mt-fol[aria-pressed="false"] { border-color: transparent; background: var(--amber); }
.mt-fol .ic { width: 16px; height: 16px; }
.mt-two { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.mt-box { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-radius: 12px; background: var(--paper); min-width: 0; }
.mt-box > span { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); }
.mt-box b { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.mt-box small { font-size: 13.5px; line-height: 1.45; color: var(--steel); }
.mt-box a { justify-self: start; font-size: 14px; font-weight: 750; }
.mt-r { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 5px; color: #FFFFFF; font-size: 12px; font-style: normal; font-weight: 800; }
.mt-r.fw { background: var(--win); } .mt-r.fl { background: var(--loss); } .mt-r.fd { background: var(--draw); }
.mt-nw { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); color: var(--ink); text-decoration: none; }
.mt-nw .ic { margin-top: 2px; color: var(--blue); }
.mt-nw b { display: block; font-size: 15px; line-height: 1.35; }
.mt-nw:hover b { color: var(--blue); text-decoration: underline; }
.mt-nw small { display: block; font-size: 13.5px; color: var(--steel); }
.mt-lg { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; font-size: 14.5px; font-weight: 750; }
.mt-nws { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mt-nwi { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); }
.mt-nwi img, .mt-nwi .mt-nph { width: 112px; height: 63px; border-radius: 8px; object-fit: cover; background: var(--blue-soft); }
.mt-nwi a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.mt-nwi a:hover { color: var(--blue); text-decoration: underline; }
.mt-nwi small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--steel); }

/* Side column */
.mt-side .mt-card { gap: 12px; }
.mt-side h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 17px; font-weight: 800; }
.mt-side p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--steel); }
.mt-side p b { color: var(--ink); overflow-wrap: anywhere; }
.mt-soon { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper); color: var(--steel); font-size: 12px; font-weight: 800; }
.mt-rec { display: flex; align-items: baseline; gap: 8px; }
.mt-rec[hidden] { display: none; }
.mt-rec b { font-size: 36px; line-height: 1; font-stretch: 72%; font-weight: 800; }
.mt-rec > span { font-size: 15px; color: var(--steel); }
.mt-pks, .mt-sw { list-style: none; margin: 0; padding: 0; display: grid; }
.mt-pks[hidden], .mt-sw[hidden] { display: none; }
.mt-pks li, .mt-sw li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #ECEEF3; }
.mt-pks li:last-child, .mt-sw li:last-child { border-bottom: 0; }
.mt-pks b, .mt-sw b { display: block; font-size: 14.5px; line-height: 1.35; }
.mt-pks small, .mt-sw small { display: block; font-size: 13px; color: var(--steel); }
.mt-pks em { font-style: normal; font-size: 12.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--paper); color: var(--steel); white-space: nowrap; }
.mt-pks .mt-pk-ok { background: #E3F4EE; color: #0B5A3F; }
.mt-pks .mt-pk-open { background: var(--blue-soft); color: var(--blue-deep); }
.mt-cala { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mt-g { font-size: 13.5px; font-weight: 700; }
.mt-calb { height: 40px; padding: 0 18px; font-size: 14px; background: var(--ink); color: #FFFFFF; }
.mt-calb:hover { background: var(--ink-2); color: #FFFFFF; }
.sw2 { position: relative; width: 44px; height: 26px; border-radius: 999px; border: 0; background: #C9CFDF; }
.sw2[disabled] { opacity: 0.6; cursor: not-allowed; }
.sw2 i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: left 0.15s; }
.sw2[aria-checked="true"] { background: var(--blue); }
.sw2[aria-checked="true"] i { left: 21px; }
.sw2[aria-busy="true"] { opacity: 0.6; }
.mt-mmsg { font-size: 14px; font-weight: 600; }
.mt-dacts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mt-lk { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-size: 14.5px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.mt-del { color: #B3261E; }
.mt-dmsg { color: var(--ink) !important; font-weight: 600; }

.mt-empty { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.mt-empty[hidden] { display: none; }
.mt-ei { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #FFF6DB; color: #8A5A00; }
.mt-ei .ic { width: 26px; height: 26px; fill: var(--amber); }
.mt-empty b { font-size: 22px; font-weight: 800; font-stretch: 108%; }
.mt-empty p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.55; color: var(--steel); }
.mt-card .ww-c .ww-t { font-size: 16px; }

@media (min-width: 720px) {
  .mt-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-gacts { grid-column: 2; display: flex; flex-wrap: wrap; }
  .mt-gacts a { min-width: 220px; }
}
@media (min-width: 1040px) {
  .mt-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}
@media (max-width: 719px) {
  .mt-h1 { font-size: 36px; }
  .mt-search { width: 100%; }
  .hm-res li a { grid-template-columns: 40px minmax(0, 1fr); }
  .hm-rt { display: none; }
  .mt-card { padding: 16px; }
  .mt-ch { grid-template-columns: 44px minmax(0, 1fr); }
  .mt-ch .mt-fol { grid-column: 1 / -1; justify-self: start; }
  .mt-cr > img { width: 32px; height: 32px; }
  .mt-cr, .mt-crp > img, .mt-crp > b { width: 44px; height: 44px; }
  .mt-nwi { grid-template-columns: 88px minmax(0, 1fr); }
  .mt-nwi img, .mt-nwi .mt-nph { width: 88px; height: 50px; }
}
/* Notifications on this device (web push, design handoff web-push): a header with the device switch, then one row
   per followed team with four switches; the rows stack in two labelled columns when the card is narrow. */
.mt-push [hidden] { display: none !important; }
.mt-phd { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.mt-bell { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--paper); color: var(--steel); }
.mt-bell.on { background: var(--blue-soft); color: var(--blue-deep); }
.mt-phd h3 { line-height: 1.25; }
.mt-phd small { display: block; font-size: 13.5px; color: var(--steel); }
.mt-pon { justify-self: start; margin-top: 12px; }
.mt-pst { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; }
.mt-pst .ic { width: 20px; height: 20px; margin-top: 1px; }
.mt-pst b { display: block; font-size: 15px; }
.mt-pst.warn { background: #FFF6DB; color: #4A3000; }
.mt-pst.info { background: var(--blue-soft); color: #10208F; }
.mt-psteps { margin: 6px 0 0; padding: 0 0 0 18px; display: grid; gap: 4px; }
.mt-pfine { margin: 0; font-size: 13px !important; line-height: 1.5; }
[data-mt-push-st="on"] { display: grid; gap: 12px; justify-items: start; }
.mt-pmx { justify-self: stretch; container-type: inline-size; }
.mt-pmh, .mt-pmr { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, 50px); gap: 6px; align-items: center; }
.mt-pmh { padding: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel); line-height: 1.2; text-align: center; }
.mt-pmh > span:first-child { text-align: left; }
.mt-pmr { padding: 10px 0; border-top: 1px solid var(--line); }
.mt-pmr > span { display: grid; place-items: center; }
.mt-pmr > .mt-ptm { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mt-ptm img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.mt-ptm b { font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }
.mt-pmx.off .mt-pmr { opacity: 0.45; }
.mt-pcl { display: none; }
@container (max-width: 330px) {
  .mt-pmh { display: none; }
  .mt-pmr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 0; }
  .mt-pmr > .mt-ptm { grid-column: 1 / -1; }
  .mt-pmr > span:not(.mt-ptm) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .mt-pcl { display: block; font-size: 13.5px; line-height: 1.3; color: #2B3352; }
}
.sw2.ok[aria-checked="true"] { background: var(--win); }
.sw2.sm { width: 36px; height: 22px; }
.sw2.sm i { width: 16px; height: 16px; }
.sw2.sm[aria-checked="true"] i { left: 17px; }
