/* ============================================================
   Public tournament match centre modal (tmm-*). K3 palette:
   ink #050D09 / forest #0B2018 / lime #8EBC0D / bright lime #B6E645.
============================================================ */
.tmm{width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:22px;background:transparent;color:#0B2018;overflow:visible}
.tmm::backdrop{background:rgba(5,13,9,.72);backdrop-filter:blur(4px)}
.tmm[open]{animation:tmm-in .28s cubic-bezier(.25,.1,.25,1)}
@keyframes tmm-in{from{opacity:0;transform:translateY(16px) scale(.98)}}
.tmm-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.45)}

/* header band */
.tmm-head{position:relative;padding:22px 28px 0;color:#fff;
  background:radial-gradient(120% 140% at 50% -20%,rgba(182,230,69,.35),transparent 55%),linear-gradient(160deg,#123226 0%,#0B2018 55%,#050D09 100%)}
.tmm button.tmm-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;
  background:rgba(255,255,255,.1);color:#fff;font-size:16px;cursor:pointer;transition:background .15s,transform .15s}
.tmm button.tmm-close:hover{background:rgba(255,255,255,.2);transform:rotate(90deg)}
.tmm-close:focus-visible{outline:none;box-shadow:0 0 0 3px #B6E645}
.tmm-comp{margin:0 48px 14px;text-align:center;font:700 12px/1.4 'Inter',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#B6E645}
.tmm-face{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.tmm-team{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.tmm-team b{font:400 clamp(16px,2.2vw,22px)/1.1 'Anton',sans-serif;letter-spacing:.02em;text-transform:uppercase}
.tmm-crest{display:inline-grid;place-items:center;flex:none;width:72px;height:72px;border-radius:50%;background:#fff;border:3px solid rgba(255,255,255,.3);overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.3)}
.tmm-crest img{width:100%;height:100%;object-fit:contain;padding:6px}
.tmm-crest--txt{background:linear-gradient(135deg,#8EBC0D,#B6E645);color:#050D09;font:400 26px/1 'Anton',sans-serif}
.tmm-mid{display:flex;flex-direction:column;align-items:center;gap:8px}
.tmm-score{margin:0;padding:6px 22px;border-radius:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  font:400 clamp(34px,5vw,52px)/1 'Anton',sans-serif;letter-spacing:.04em;color:#fff;font-variant-numeric:tabular-nums}
.tmm-state{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.75);text-align:center;max-width:220px}
.tmm-state.is-live{color:#ff6b6b}
.tmm-state.is-live::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:#ff6b6b;animation:tmm-live 1.4s infinite}
@keyframes tmm-live{50%{opacity:.3}}
.tmm-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 22px;margin:18px 0 0;padding:12px 0;list-style:none;border-top:1px solid rgba(255,255,255,.12);font-size:13px;color:rgba(255,255,255,.8)}
.tmm-meta i{margin-right:6px;color:#B6E645}

/* tabs */
.tmm-head,.tmm-tabs{flex:none}
.tmm-tabs{display:flex;gap:2px;padding:0 16px;background:#F4F6EF;border-bottom:1px solid #E3E6DE;overflow-x:auto}
.tmm .tmm-tabs button{flex:none;display:inline-flex;align-items:center;gap:8px;padding:14px 16px;border:0;border-bottom:3px solid transparent;background:none;
  font:600 14px/1 'Inter',sans-serif;color:#5B665F;cursor:pointer;transition:color .15s,border-color .15s}
.tmm .tmm-tabs button:hover{color:#0B2018}
.tmm .tmm-tabs button.is-on{color:#0B2018;border-bottom-color:#8EBC0D}
.tmm-tabs button.is-on i{color:#6E9409}
.tmm-tabs button:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #8EBC0D;border-radius:8px 8px 0 0}
.tmm-body{flex:1;overflow-y:auto;padding:24px 28px 28px;overscroll-behavior:contain}

/* states */
.tmm-loading{display:flex;justify-content:center;gap:8px;padding:56px 0}
.tmm-loading span{width:10px;height:10px;border-radius:50%;background:#8EBC0D;animation:tmm-dot 1s infinite ease-in-out}
.tmm-loading span:nth-child(2){animation-delay:.15s}.tmm-loading span:nth-child(3){animation-delay:.3s}
@keyframes tmm-dot{50%{transform:translateY(-8px);opacity:.5}}
.tmm-empty{display:flex;flex-direction:column;align-items:center;gap:10px;margin:0;padding:48px 16px;text-align:center;color:#5B665F;font-size:15px}
.tmm-empty i{font-size:34px;color:#C9D1C4}
.tmm-empty--sm{padding:20px 12px;font-size:14px}
.tmm-muted{color:#5B665F;font-size:14px}

/* events: two-sided timeline */
.tmm-ev-head{display:flex;justify-content:space-between;margin-bottom:8px;font:400 15px/1 'Anton',sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#0B2018}
.tmm-events{position:relative;list-style:none;margin:0;padding:0}
.tmm-events::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;transform:translateX(-50%);background:linear-gradient(#8EBC0D,#E3E6DE)}
.tmm-ev{position:relative;display:grid;grid-template-columns:1fr 52px 1fr;align-items:center;gap:10px;padding:6px 0}
.tmm-ev-min{z-index:1;display:grid;place-items:center;height:28px;border-radius:999px;background:#0B2018;color:#B6E645;font-size:12px;font-weight:800}
.tmm-ev-l{display:flex;justify-content:flex-end}
.tmm-ev--mark{display:flex;justify-content:center;padding:8px 0}
.tmm-ev--mark span{z-index:1;padding:5px 14px;border-radius:999px;background:#F4F6EF;border:1px solid #E3E6DE;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5B665F}
.tmm-ev-card{display:flex;align-items:flex-start;gap:10px;max-width:360px;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #E3E6DE;box-shadow:0 2px 8px rgba(11,32,24,.06)}
.tmm-ev--side-home .tmm-ev-card{flex-direction:row-reverse;text-align:right}
.tmm-ev-ic{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#EEF6D6;color:#4D7A00;font-size:13px}
.tmm-ev--yellow .tmm-ev-ic{background:#FFF6CC;color:#C79A00}
.tmm-ev--red .tmm-ev-ic,.tmm-ev--og .tmm-ev-ic{background:#FDECEA;color:#C0392B}
.tmm-ev--sub .tmm-ev-ic{background:#E8F1FF;color:#2950C5}
.tmm-ev--miss .tmm-ev-ic{background:#F1F3F0;color:#6B7280}
.tmm-ev-txt{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:14px}
.tmm-ev-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#5B665F}
.tmm-ev-txt small{font-size:12px;color:#5B665F}
.tmm-ev-in,.tmm-ev-out{display:flex;align-items:center;gap:6px}
.tmm-ev--side-home .tmm-ev-in,.tmm-ev--side-home .tmm-ev-out{justify-content:flex-end}
.tmm-ev-in{font-weight:700}.tmm-ev-in i{color:#1E9E5A}
.tmm-ev-out{color:#5B665F;font-size:13px}.tmm-ev-out i{color:#C0392B}

/* lineups: both teams on one pitch, each in its own half */
.tmm-lu{display:flex;flex-direction:column;gap:16px}
.tmm-lu-heads{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.tmm-lu-vs{font:400 14px/1 'Anton',sans-serif;letter-spacing:.1em;color:#9AA59D}
.tmm-lu-team{display:flex;align-items:center;gap:10px;min-width:0}
.tmm-lu-team--away{flex-direction:row-reverse;text-align:right}
.tmm-lu-team .tmm-crest{width:40px;height:40px;border-width:2px;box-shadow:none;border-color:#E3E6DE}
.tmm-lu-team .tmm-crest--txt{font-size:15px}
.tmm-lu-team>span{display:flex;flex-direction:column;min-width:0}
.tmm-lu-team b{font:400 17px/1.1 'Anton',sans-serif;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmm-lu-team small{font-size:12px;font-weight:700;color:#5B665F;letter-spacing:.04em}
.tmm-kit{flex:none;width:14px;height:14px;border-radius:4px}
.tmm-kit--home{background:#0B2018;box-shadow:inset 0 0 0 3px #B6E645}
.tmm-kit--away{background:#fff;box-shadow:inset 0 0 0 3px #F59E0B}

.tmm-field{position:relative;width:100%;max-width:440px;margin:0 auto;aspect-ratio:68/105;border-radius:18px;overflow:hidden;isolation:isolate;
  background:linear-gradient(180deg,#2b7a39,#246b31);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 18px 40px rgba(11,32,24,.25)}
.tmm-field.is-landscape{max-width:none;aspect-ratio:105/68}
.tmm-field-svg{position:absolute;inset:0;width:100%;height:100%}
.tmm-field-svg *{fill:none;stroke:rgba(255,255,255,.62);stroke-width:.35;vector-effect:non-scaling-stroke}
.tmm-field-svg .stripe{fill:rgba(255,255,255,.035);stroke:none}
.tmm-field-svg .dot{fill:rgba(255,255,255,.75);stroke:none}
.tmm-end{position:absolute;z-index:1;padding:3px 10px;border-radius:999px;background:rgba(5,13,9,.45);color:rgba(255,255,255,.85);
  font:700 10px/1.4 'Inter',sans-serif;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;pointer-events:none}
/* team names sit in the corners so they never cover the goalkeepers */
.tmm-end--home{left:8px;bottom:8px}
.tmm-end--away{right:8px;top:8px}
.tmm-field.is-landscape .tmm-end--home{left:8px;bottom:8px}
.tmm-field.is-landscape .tmm-end--away{right:8px;top:8px}
.tmm-half-empty{position:absolute;z-index:1;display:grid;place-items:center;background:rgba(5,13,9,.35);color:#fff;text-align:center;font:400 16px/1.2 'Anton',sans-serif;
  letter-spacing:.03em;text-transform:uppercase}
.tmm-half-empty small{font:600 12px/1.4 'Inter',sans-serif;text-transform:none;letter-spacing:0;opacity:.8}
.tmm-half-empty--home{left:0;right:0;bottom:0;height:50%}
.tmm-half-empty--away{left:0;right:0;top:0;height:50%}
.tmm-field.is-landscape .tmm-half-empty--home{top:0;bottom:0;left:0;right:auto;width:50%;height:auto}
.tmm-field.is-landscape .tmm-half-empty--away{top:0;bottom:0;right:0;left:auto;width:50%;height:auto}
.tmm-toks{position:absolute;inset:0;z-index:2}

.tmm-tok{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:3px;width:78px;text-align:center;
  animation:tmm-pop .35s cubic-bezier(.25,.1,.25,1) both}
@keyframes tmm-pop{from{opacity:0;transform:translate(-50%,-40%) scale(.85)}}
.tmm-tok-face{position:relative;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  box-shadow:0 6px 14px rgba(0,0,0,.35);transition:transform .15s}
.tmm-tok:hover .tmm-tok-face{transform:scale(1.08)}
.tmm-tok--home .tmm-tok-face{background:#0B2018;border:3px solid #B6E645;color:#B6E645}
.tmm-tok--away .tmm-tok-face{background:#fff;border:3px solid #F59E0B;color:#0B2018}
.tmm-tok-face img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.tmm-tok-n{font:400 17px/1 'Anton',sans-serif}
.tmm-tok-no{position:absolute;right:-7px;bottom:-5px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:999px;
  background:#050D09;color:#fff;font:800 10px/1 'Inter',sans-serif;border:2px solid #fff}
.tmm-tok-face em{position:absolute;top:-6px;right:-8px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#FFD233;color:#111;
  font:800 10px/1 'Inter',sans-serif;font-style:normal;border:2px solid #fff}
.tmm-tok-name{max-width:100%;padding:2px 7px;border-radius:999px;background:rgba(5,13,9,.82);color:#fff;font:600 11px/1.35 'Inter',sans-serif;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmm-tok-bs{display:flex;gap:3px;justify-content:center}
.tmm-b{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
  font:800 9px/1 'Inter',sans-serif;background:#fff;color:#0B2018;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.tmm-b i{font-size:9px}
.tmm-b--goal i{color:#0B2018}
.tmm-b--og{color:#C0392B}
.tmm-b--yellow{min-width:10px;width:10px;height:14px;padding:0;border-radius:2px;background:#F5C518}
.tmm-b--red{min-width:10px;width:10px;height:14px;padding:0;border-radius:2px;background:#E5484D}
.tmm-b--off{background:#FDECEA;color:#C0392B}
.tmm-b--on{background:#E8F8EF;color:#1E8449}
.tmm-b--assist{background:#E8F1FF;color:#2950C5}
.tmm-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:0;font-size:12px;color:#5B665F}
.tmm-legend>span{display:inline-flex;align-items:center;gap:6px}
.tmm-legend .tmm-b{box-shadow:0 0 0 1px #E3E6DE}

.tmm-lu-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.tmm-lu-list{padding:16px;border-radius:16px;background:#F7F8F4}
.tmm-lu-list h4{display:flex;align-items:center;gap:10px;margin:0 0 4px;font:400 16px/1.1 'Anton',sans-serif;letter-spacing:.02em;text-transform:uppercase;color:#0B2018}
.tmm-lu-list h4 .tmm-crest{width:28px;height:28px;border-width:1px;box-shadow:none;border-color:#E3E6DE}
.tmm-lu-list h4 .tmm-crest--txt{font-size:11px}
.tmm-lu-list h5{margin:14px 0 6px;font:700 11px/1 'Inter',sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#5B665F}
.tmm-lu-list ul{display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none}
.tmm-lu-list li{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:10px;background:#fff;font-size:14px}
.tmm-lu-list li.is-unused{opacity:.62}
.tmm-num{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;overflow:hidden;font:400 14px/1 'Anton',sans-serif}
.tmm-num img{width:100%;height:100%;object-fit:cover}
.tmm-num--home{background:#0B2018;color:#B6E645}
.tmm-num--away{background:#FFF4E0;color:#7A4B00;box-shadow:inset 0 0 0 2px #F59E0B}
.tmm-lu-who{flex:1;min-width:0;display:flex;flex-direction:column}
.tmm-lu-who b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmm-lu-who small{font-size:12px;color:#5B665F}
.tmm-lu-marks{display:flex;gap:4px;flex:none}
.tmm-c{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#FFD233;color:#111;font-size:10px;font-weight:800;font-style:normal}

/* stats */
.tmm-stats{display:flex;flex-direction:column;gap:16px;max-width:640px;margin:0 auto}
.tmm-stats-head{display:flex;justify-content:space-between;align-items:center;font:400 15px/1 'Anton',sans-serif;letter-spacing:.03em;text-transform:uppercase}
.tmm-stats-head span{display:flex;align-items:center;gap:8px}
.tmm-stats-head .tmm-crest{width:30px;height:30px;border-width:2px;box-shadow:none;border-color:#E3E6DE}
.tmm-stats-head .tmm-crest--txt{font-size:12px}
.tmm-stat-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.tmm-stat-top span{font-size:13px;font-weight:600;color:#5B665F}
.tmm-stat-top b{font:400 20px/1 'Anton',sans-serif;color:#5B665F;font-variant-numeric:tabular-nums}
.tmm-stat-top b.is-lead{color:#0B2018}
.tmm-stat-bar{display:flex;gap:4px;height:8px}
.tmm-stat-bar i{display:block;border-radius:999px;transition:width .6s cubic-bezier(.25,.1,.25,1)}
.tmm-stat-bar .is-h{background:linear-gradient(90deg,#123226,#8EBC0D)}
.tmm-stat-bar .is-a{background:#C9D1C4}

/* player of the match */
.tmm-motm-wrap{max-width:560px;margin:0 auto}
.tmm-motm{display:flex;align-items:center;gap:16px;padding:18px;border-radius:16px;background:linear-gradient(135deg,#0B2018,#123226);color:#fff}
.tmm-motm-ic{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:50%;background:#FFD233;color:#5C4400;font-size:24px;box-shadow:0 0 0 6px rgba(255,210,51,.2)}
.tmm-motm small{display:block;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#B6E645}
.tmm-motm b{display:block;font:400 24px/1.1 'Anton',sans-serif;letter-spacing:.02em}
.tmm-motm span{font-size:13px;color:rgba(255,255,255,.75)}
.tmm-motm-wrap h4 small{margin-left:6px;font-weight:600;letter-spacing:0;text-transform:none}
.tmm-votes{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.tmm-votes li{position:relative;display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-radius:10px;background:#F4F6EF;overflow:hidden;font-size:14px}
.tmm-votes li span,.tmm-votes li b{position:relative;z-index:1}
.tmm-votes li small{margin-left:6px;color:#5B665F}
.tmm-votes li i{position:absolute;inset:0 auto 0 0;background:rgba(142,188,13,.22);border-radius:inherit}

@media (max-width:720px){
  .tmm{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
  .tmm-shell{height:100dvh;max-height:none;border-radius:0}
  .tmm-head{padding:18px 16px 0}
  .tmm-crest{width:52px;height:52px}
  .tmm-crest--txt{font-size:18px}
  .tmm-body{padding:18px 16px 24px}
  .tmm-ev{grid-template-columns:1fr 44px 1fr;gap:6px}
  .tmm-ev-card{padding:8px;gap:6px}
  .tmm-ev-ic{width:24px;height:24px;font-size:11px}
  .tmm-ev-txt{font-size:12px}
  .tmm-meta{gap:6px 14px;font-size:12px}
}
@media (prefers-reduced-motion:reduce){.tmm[open],.tmm *{animation:none!important;transition:none!important}}

/* ============================================================
   Player of the Match voting modal (tmv-*), stacked over the match modal.
   Buttons are scoped as `.tmv button.x` to beat the theme's button reset.
============================================================ */
.tmv{width:min(980px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:24px;background:transparent;color:#0B2018;overflow:visible}
.tmv::backdrop{background:rgba(5,13,9,.6);backdrop-filter:blur(3px)}
.tmv[open]{animation:tmm-in .28s cubic-bezier(.25,.1,.25,1)}
.tmv-shell{position:relative;display:flex;flex-direction:column;max-height:calc(100dvh - 24px);border-radius:24px;overflow:hidden;background:#F4F6EF;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.tmv-head{flex:none;display:flex;align-items:center;gap:14px;padding:20px 24px;color:#fff;
  background:radial-gradient(120% 160% at 0% 0%,rgba(255,210,51,.28),transparent 50%),linear-gradient(135deg,#123226,#050D09)}
.tmv-head-ic{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:#FFD233;color:#5C4400;font-size:20px;box-shadow:0 0 0 6px rgba(255,210,51,.18)}
.tmv-head h2{margin:0;font:400 clamp(22px,3vw,28px)/1.05 'Anton',sans-serif;letter-spacing:.02em;text-transform:uppercase;color:#fff}
.tmv-head p{margin:4px 0 0;font-size:13px;color:rgba(255,255,255,.72)}
.tmv-head>div{flex:1;min-width:0}
.tmv button.tmv-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;
  font-size:16px;cursor:pointer;transition:background .15s,transform .15s}
.tmv button.tmv-close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg)}
.tmv button.tmv-close:focus-visible{outline:none;box-shadow:0 0 0 3px #B6E645}
.tmv-status{flex:none;margin:0;padding:10px 24px;background:#E8F2D2;color:#3D6100;font-size:13px;font-weight:600}
.tmv-status i{margin-right:6px}
.tmv-status.is-closed{background:#F1F3F0;color:#5B665F}
.tmv-tabs{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:12px 16px 0;background:#F4F6EF}
.tmv button.tmv-tab{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 14px;border:0;border-radius:14px 14px 0 0;background:transparent;
  color:#5B665F;text-align:left;cursor:pointer;transition:background .15s,color .15s;box-shadow:inset 0 -3px 0 transparent}
.tmv button.tmv-tab:hover{background:rgba(255,255,255,.6);color:#0B2018}
.tmv button.tmv-tab.is-on{background:#fff;color:#0B2018;box-shadow:inset 0 -3px 0 #8EBC0D}
.tmv button.tmv-tab:focus-visible{outline:2px solid #8EBC0D;outline-offset:-2px}
.tmv-tab .tmm-crest{width:34px;height:34px;border-width:2px;box-shadow:none;border-color:#E3E6DE}
.tmv-tab .tmm-crest--txt{font-size:13px}
.tmv-tab>span:last-child{display:flex;flex-direction:column;min-width:0;font:400 16px/1.1 'Anton',sans-serif;letter-spacing:.02em;text-transform:uppercase}
.tmv-tab>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmv-tab small{font:600 11px/1.4 'Inter',sans-serif;text-transform:none;letter-spacing:0;color:#5B665F}
.tmv-body{flex:1;overflow-y:auto;padding:18px 20px 24px;background:#fff;overscroll-behavior:contain}
.tmv-group{margin:4px 0 12px;font:700 11px/1 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#5B665F}
.tmv-group:not(:first-child){margin-top:24px}
.tmv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}

.tmv button.tmv-card{position:relative;display:flex;flex-direction:column;padding:0;border:0;border-radius:18px;background:#fff;color:#0B2018;text-align:left;overflow:hidden;
  cursor:pointer;box-shadow:0 0 0 1px #E3E6DE,0 2px 6px rgba(11,32,24,.05);transition:transform .18s cubic-bezier(.25,.1,.25,1),box-shadow .18s}
.tmv button.tmv-card:hover{transform:translateY(-3px);box-shadow:0 0 0 1px #C9D1C4,0 14px 28px rgba(11,32,24,.12)}
.tmv button.tmv-card:active{transform:scale(.98)}
.tmv button.tmv-card:focus-visible{outline:none;box-shadow:0 0 0 3px #8EBC0D,0 14px 28px rgba(11,32,24,.12)}
.tmv button.tmv-card.is-picked{box-shadow:0 0 0 3px #8EBC0D,0 16px 32px rgba(142,188,13,.25)}
.tmv button.tmv-card[aria-disabled="true"]{cursor:default}
.tmv button.tmv-card[aria-disabled="true"]:hover{transform:none}
.tmv-photo{position:relative;display:block;aspect-ratio:5/4;overflow:hidden}
.tmv-card--home .tmv-photo{background:linear-gradient(160deg,#1d4a33,#0B2018)}
.tmv-card--away .tmv-photo{background:linear-gradient(160deg,#F6B74A,#C27A0E)}
.tmv-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tmv button.tmv-card:hover .tmv-photo img{transform:scale(1.05)}
.tmv-ph{position:absolute;inset:0;display:grid;place-items:center;font:400 44px/1 'Anton',sans-serif;letter-spacing:.02em;color:rgba(255,255,255,.88)}
.tmv-card--home .tmv-ph{color:#B6E645}
.tmv-no{position:absolute;left:10px;top:10px;display:grid;place-items:center;min-width:30px;height:30px;padding:0 6px;border-radius:10px;
  background:rgba(5,13,9,.78);color:#fff;font:400 16px/1 'Anton',sans-serif;backdrop-filter:blur(4px)}
.tmv-crown{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#FFD233;color:#5C4400;font-size:13px;
  box-shadow:0 4px 10px rgba(0,0,0,.25)}
.tmv-check{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#8EBC0D;color:#050D09;font-size:14px;
  opacity:0;transform:scale(.6);transition:opacity .18s,transform .18s}
.tmv-card.is-picked .tmv-check{opacity:1;transform:scale(1)}
.tmv-info{display:flex;flex-direction:column;gap:2px;padding:10px 12px 12px}
.tmv-info b{font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmv-info small{font-size:12px;color:#5B665F}
.tmv-mine{align-self:flex-start;margin-top:4px;padding:2px 8px;border-radius:999px;background:#0B2018;color:#B6E645;font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.tmv-bar{display:block;height:5px;margin-top:8px;border-radius:999px;background:#EEF0EA;overflow:hidden}
.tmv-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#123226,#8EBC0D);transition:width .5s cubic-bezier(.25,.1,.25,1)}
.tmv-card--away .tmv-bar i{background:linear-gradient(90deg,#C27A0E,#F6B74A)}
.tmv-count{margin-top:4px;font-size:11px;font-weight:700;color:#5B665F}

.tmv-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#fff;border-top:1px solid #E3E6DE;
  box-shadow:0 -10px 24px rgba(11,32,24,.06)}
.tmv-foot[hidden]{display:none}
.tmv-pick{display:flex;align-items:center;gap:10px;min-width:0}
.tmv-pick-ph{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#0B2018;color:#B6E645;font:400 15px/1 'Anton',sans-serif}
.tmv-pick-ph img{width:100%;height:100%;object-fit:cover}
.tmv-pick>span:last-child{display:flex;flex-direction:column;min-width:0}
.tmv-pick small{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5B665F}
.tmv-pick b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tmv button.tmv-submit{display:inline-flex;align-items:center;gap:10px;flex:none;padding:13px 24px;border:0;border-radius:999px;background:#8EBC0D;color:#050D09;
  font:800 15px/1 'Inter',sans-serif;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s}
.tmv button.tmv-submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 22px rgba(142,188,13,.4);background:#9FCC1A}
.tmv button.tmv-submit:focus-visible{outline:none;box-shadow:0 0 0 3px #0B2018,0 0 0 6px #B6E645}
.tmv button.tmv-submit:disabled{background:#DDE3D2;color:#7C8780;cursor:not-allowed}
.tmv-toast{position:absolute;left:50%;bottom:86px;z-index:5;transform:translateX(-50%);padding:10px 18px;border-radius:999px;background:#0B2018;color:#fff;
  font-size:14px;font-weight:600;box-shadow:0 12px 28px rgba(0,0,0,.3);animation:tmm-in .25s ease-out;white-space:nowrap}
.tmv-toast.is-bad{background:#B42318}
.tmv-toast[hidden]{display:none}

/* the "Vote" button inside the match modal is now a <button> */
.tmm button.tmm-vote{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:12px 22px;border:0;border-radius:999px;background:#8EBC0D;color:#050D09;
  font:800 15px/1 'Inter',sans-serif;cursor:pointer;transition:transform .15s,box-shadow .15s}
.tmm button.tmm-vote:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(142,188,13,.4)}
.tmm button.tmm-vote:focus-visible{outline:none;box-shadow:0 0 0 3px #0B2018,0 0 0 6px #B6E645}

@media (max-width:720px){
  .tmm-lu-heads{grid-template-columns:1fr 1fr}
  .tmm-lu-vs{display:none}
  .tmm-lu-team b{font-size:14px}
  .tmm-lu-team .tmm-crest{width:32px;height:32px}
  .tmm-field{border-radius:14px}
  .tmm-tok{width:64px;gap:2px}
  .tmm-tok-face{width:34px;height:34px;border-width:2px}
  .tmm-tok-n{font-size:14px}
  .tmm-tok-name{padding:1px 5px;font-size:9.5px}
  .tmm-lu-lists{grid-template-columns:1fr}
  .tmv{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border-radius:0}
  .tmv-shell{height:100dvh;max-height:none;border-radius:0}
  .tmv-head{padding:16px}
  .tmv-head-ic{width:40px;height:40px;font-size:17px}
  .tmv-status{padding:10px 16px}
  .tmv-tabs{padding:10px 10px 0}
  .tmv button.tmv-tab{padding:8px 10px}
  .tmv-tab .tmm-crest{display:none}
  .tmv-body{padding:14px 12px 20px}
  .tmv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tmv-ph{font-size:36px}
  .tmv-foot{padding:12px}
  .tmv button.tmv-submit{padding:12px 18px;font-size:14px}
  .tmv-toast{bottom:80px;max-width:calc(100% - 32px);white-space:normal;text-align:center}
}
@media (prefers-reduced-motion:reduce){.tmm-tok,.tmv[open],.tmv *{animation:none!important;transition:none!important}}

/* ---------- tabs: four equal tabs on phones (icon over a short label), nothing to slide ---------- */
.tmm-ts{display:none}
.tmm-tabs{position:relative}
@media (max-width:720px){
  .tmm .tmm-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;padding:4px 6px 0;overflow:visible}
  .tmm .tmm-tabs button{flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:9px 2px 8px;font-size:11px;letter-spacing:.01em;border-bottom-width:3px}
  .tmm .tmm-tabs button i{font-size:14px}
  .tmm-tl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .tmm-ts{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .tmm .tmm-tabs button.is-on{background:#fff;border-radius:10px 10px 0 0}
}
@media (max-width:330px){.tmm .tmm-tabs button i{display:none}}

/* ================= player profile sheet ================= */
.tmm-tok[data-pid]{cursor:pointer}
.tmm-tok[data-pid]:focus-visible{outline:none}
.tmm-tok[data-pid]:focus-visible .tmm-tok-face{box-shadow:0 0 0 3px #fff,0 0 0 6px #B6E645}
.tmm-lu-list li[data-pid]{cursor:pointer;transition:background .15s,transform .15s}
.tmm-lu-list li[data-pid]:hover{background:#F1F7E2}
.tmm-lu-list li[data-pid]:active{transform:scale(.99)}
.tmm-lu-list li[data-pid]:focus-visible{outline:2px solid #8EBC0D;outline-offset:1px}

.tmp{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:24px;background:transparent;color:#0B2018;overflow:visible}
.tmp::backdrop{background:rgba(5,13,9,.6);backdrop-filter:blur(3px)}
.tmp[open]{animation:tmm-in .28s cubic-bezier(.25,.1,.25,1)}
.tmp-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.tmp-hero{position:relative;flex:none;display:flex;align-items:center;gap:18px;padding:24px;color:#fff;overflow:hidden;
  background:radial-gradient(120% 160% at 0% 0%,rgba(142,188,13,.35),transparent 55%),linear-gradient(135deg,#123226,#050D09)}
.tmp-hero::after{content:"";position:absolute;right:-70px;top:-70px;width:230px;height:230px;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:0 0 0 30px rgba(255,255,255,.02)}
.tmp button.tmp-close{position:absolute;top:12px;right:12px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:15px;cursor:pointer;transition:background .15s,transform .15s}
.tmp button.tmp-close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg)}
.tmp button.tmp-close:focus-visible{outline:none;box-shadow:0 0 0 3px #B6E645}
.tmp-photo{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:96px;height:96px;border-radius:50%;overflow:hidden;background:#EEF6D6;
  border:3px solid #8EBC0D;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.tmp-photo img{width:100%;height:100%;object-fit:cover}
.tmp-photo span{font:400 34px/1 'Anton',sans-serif;color:#123226}
.tmp-id{position:relative;z-index:1;min-width:0;padding-right:40px}
.tmp-no{display:block;font:400 22px/1 'Anton',sans-serif;color:#B6E645}
.tmp-id h2{margin:4px 0 0;font:400 30px/1.05 'Anton',sans-serif;letter-spacing:.01em;text-transform:uppercase;color:#fff;overflow-wrap:anywhere}
.tmp-id p{margin:6px 0 0;font-size:13px;color:rgba(255,255,255,.75)}
.tmp-team{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:4px 12px 4px 4px;border-radius:999px;background:rgba(255,255,255,.08);font-size:12px;color:rgba(255,255,255,.85)}
.tmp-team img{width:22px;height:22px;border-radius:50%;object-fit:contain;background:#fff;padding:2px}
.tmp-team:empty{display:none}
.tmp-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:20px 24px 24px;overscroll-behavior:contain}
.tmp-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tmp-tile{display:flex;flex-direction:column;gap:2px;padding:12px;border-radius:14px;background:#F4F6EF;border:1px solid #E3E6DE}
.tmp-tile b{font:400 28px/1 'Anton',sans-serif;color:#0B2018;font-variant-numeric:tabular-nums}
.tmp-tile span{font-size:11.5px;font-weight:600;line-height:1.3;color:#5B665F}
.tmp-tile.is-main{background:#050D09;border-color:#050D09}
.tmp-tile.is-main b{color:#B6E645}
.tmp-tile.is-main span{color:rgba(255,255,255,.7)}
.tmp-tile.is-goal b{color:#067647}
.tmp-tile.is-assist b{color:#2950C5}
.tmp-tile.is-star b{color:#B7791F}
.tmp-tile.is-y b{color:#A17C00}
.tmp-tile.is-r b{color:#B42318}
.tmp-split{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:13px;color:#5B665F}
.tmp-split span{display:inline-flex;align-items:center;gap:6px}
.tmp-split i{font-size:11px;color:#8C968F}
.tmp-h{margin:22px 0 10px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5B665F}
.tmp-log{margin:0;padding:0;list-style:none;border:1px solid #E3E6DE;border-radius:14px;overflow:hidden}
.tmp-log li{display:grid;grid-template-columns:52px minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #E3E6DE}
.tmp-log li:last-child{border-bottom:0}
.tmp-log-date{font-size:12px;font-weight:700;color:#5B665F}
.tmp-log-match{display:flex;align-items:center;gap:8px;min-width:0}
.tmp-log-match img{flex:none;width:24px;height:24px;border-radius:50%;object-fit:contain;background:#F4F6EF;border:1px solid #E3E6DE}
.tmp-log-match>span{min-width:0}
.tmp-log-match b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tmp-log-match small{font-size:12px;color:#5B665F}
.tmp-log-ev{display:flex;align-items:center;gap:4px}
.tmp-log-score{font:400 16px/1 'Anton',sans-serif;font-variant-numeric:tabular-nums}
.tmp-log .tmp-log-empty{display:block;padding:18px;text-align:center;font-size:13px;color:#5B665F}
.tmp-ev{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:22px;height:22px;padding:0 5px;border-radius:999px;font-size:10px;font-weight:800}
.tmp-ev--g{background:#ECFDF3;color:#067647}
.tmp-ev--a{background:#EFF4FF;color:#2950C5}
.tmp-ev--og{background:#FEF3F2;color:#B42318}
.tmp-ev--cs{background:#EEF0EA;color:#123226}
.tmp-ev--star{background:#FFF4D6;color:#B7791F}
.tmp-res{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:6px;font-size:11px;font-weight:800;color:#fff}
.tmp-res--W{background:#067647}
.tmp-res--D{background:#7a8580}
.tmp-res--L{background:#B42318}
.tmp-res--live{background:#FEF3F2;color:#B42318}

@media (max-width:640px){
  .tmp{width:100vw;max-width:none;max-height:92dvh;margin:auto 0 0;border-radius:22px 22px 0 0}
  .tmp[open]{animation:tmp-up .28s cubic-bezier(.25,.1,.25,1)}
  .tmp-shell{max-height:92dvh;border-radius:22px 22px 0 0}
  .tmp-hero{gap:14px;padding:18px 16px}
  .tmp-photo{width:72px;height:72px;border-width:2px}
  .tmp-photo span{font-size:26px}
  .tmp-no{font-size:18px}
  .tmp-id h2{font-size:23px}
  .tmp-id p{font-size:12px}
  .tmp-team{font-size:11px;margin-top:8px}
  .tmp-body{padding:14px 14px calc(18px + env(safe-area-inset-bottom))}
  .tmp-tiles{gap:6px}
  .tmp-tile{padding:8px 4px;align-items:center;text-align:center;border-radius:10px}
  .tmp-tile b{font-size:21px}
  .tmp-tile span{font-size:9.5px}
  .tmp-split{font-size:12px}
  .tmp-h{margin:18px 0 8px;font-size:11px}
  .tmp-log li{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"match score res" "date ev ev";gap:4px 8px;padding:10px}
  .tmp-log-match{grid-area:match}
  .tmp-log-score{grid-area:score}
  .tmp-log li>.tmp-res{grid-area:res}
  .tmp-log-date{grid-area:date;font-size:11px;font-weight:600}
  .tmp-log-ev{grid-area:ev;justify-content:flex-end}
  .tmp-log-match b{font-size:13px}
  .tmp-log-match small{font-size:11px}
}
@keyframes tmp-up{from{transform:translateY(30px);opacity:0}}
@media (max-width:360px){.tmp-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.tmp[open],.tmp *{animation:none!important;transition:none!important}}
/* score flash when a live goal comes in */
.tmm-goalflash{animation:tmm-goal 1.8s ease}
@keyframes tmm-goal{0%{transform:scale(1)}15%{transform:scale(1.18);color:#B6E645;text-shadow:0 0 24px rgba(182,230,69,.7)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.tmm-goalflash{animation:none}}

/* ================= team profile modal ================= */
[data-tteam]{cursor:pointer}
.ttm{width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:26px;background:transparent;color:#0B2018;overflow:visible}
.ttm::backdrop{background:rgba(5,13,9,.62);backdrop-filter:blur(3px)}
.ttm[open]{animation:tmm-in .28s cubic-bezier(.25,.1,.25,1)}
.ttm-shell{display:flex;flex-direction:column;height:min(780px,calc(100dvh - 24px));border-radius:26px;overflow:hidden;background:#F4F6EF;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.ttm-hero{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px 28px 22px;color:#fff;overflow:hidden;
  background:radial-gradient(110% 160% at 0% 0%,rgba(142,188,13,.32),transparent 55%),linear-gradient(135deg,#123226,#050D09)}
.ttm-hero::after{content:"";position:absolute;right:-90px;bottom:-120px;width:300px;height:300px;border-radius:50%;border:1px solid rgba(255,255,255,.07);box-shadow:0 0 0 40px rgba(255,255,255,.015);pointer-events:none}
.ttm button.ttm-close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;
  background:rgba(255,255,255,.12);color:#fff;font-size:15px;cursor:pointer;transition:background .15s,transform .15s}
.ttm button.ttm-close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg)}
.ttm button.ttm-close:focus-visible{outline:none;box-shadow:0 0 0 3px #B6E645}
.ttm-id{position:relative;z-index:1;display:flex;align-items:center;gap:16px;min-width:0;padding-right:44px}
.ttm-idtxt{min-width:0}
.ttm-idtxt small{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#B6E645}
.ttm-idtxt h2{margin:4px 0 0;font:400 clamp(26px,4vw,38px)/1 'Anton',sans-serif;letter-spacing:.01em;text-transform:uppercase;color:#fff;overflow-wrap:anywhere}
.ttm-idtxt p{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;font-size:13px;color:rgba(255,255,255,.72)}
.ttm-idtxt p i{margin-right:6px;color:#B6E645;font-size:11px}
.ttm-c{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#fff;border:1px solid rgba(11,32,24,.1)}
.ttm-c img{width:100%;height:100%;object-fit:contain;padding:2px}
.ttm-c--txt{background:#123226;color:#B6E645;font:400 11px/1 'Anton',sans-serif;border-color:#123226}
.ttm-c--xl{width:84px;height:84px;border:3px solid rgba(255,255,255,.18);box-shadow:0 10px 28px rgba(0,0,0,.4)}
.ttm-c--xl.ttm-c--txt{font-size:30px;background:#B6E645;color:#0B2018}
.ttm-kpis{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(72px,auto));gap:8px;margin:0}
.ttm-kpis>div{display:flex;flex-direction:column;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.ttm-kpis dt{order:2;font-size:10.5px;font-weight:600;letter-spacing:.04em;color:rgba(255,255,255,.6)}
.ttm-kpis dd{order:1;margin:0;font:400 26px/1.05 'Anton',sans-serif;color:#fff}
.ttm-kpis .is-pos dd{color:#B6E645}
.ttm-kpis .is-pts{background:#B6E645;border-color:#B6E645}
.ttm-kpis .is-pts dd,.ttm-kpis .is-pts dt{color:#0B2018}

.ttm-tabs{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 10px;background:#fff;border-bottom:1px solid #E3E6DE}
.ttm .ttm-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 8px;border:0;border-radius:12px;background:none;
  font:700 13.5px/1 'Inter',sans-serif;color:#5B665F;cursor:pointer;transition:background .15s,color .15s}
.ttm .ttm-tabs button i{font-size:13px;opacity:.75}
.ttm .ttm-tabs button:hover{background:#F1F3EE;color:#0B2018}
.ttm .ttm-tabs button.is-on{background:#0B2018;color:#fff}
.ttm .ttm-tabs button.is-on i{color:#B6E645;opacity:1}
.ttm .ttm-tabs button:focus-visible{outline:2px solid #8EBC0D;outline-offset:2px}
.ttm-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 28px}

.ttm-h{display:flex;align-items:center;gap:8px;margin:22px 0 10px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5B665F}
.ttm-h:first-child{margin-top:0}
.ttm-h span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#E3E6DE;font-size:10.5px;color:#0B2018;letter-spacing:0}
.ttm-rec{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.ttm-rec div{display:flex;flex-direction:column;align-items:center;padding:10px 4px;border-radius:14px;background:#fff;border:1px solid #E3E6DE}
.ttm-rec b{font:400 26px/1.05 'Anton',sans-serif;color:#0B2018}
.ttm-rec span{font-size:11px;font-weight:700;color:#5B665F}
.ttm-rec div:nth-child(2) b{color:#067647}
.ttm-rec div:nth-child(4) b{color:#B42318}
.ttm-note{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:12.5px;color:#B42318}
.ttm-note .tmm-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#E5484D}
.ttm-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #E3E6DE}
.ttm-lbl{font-size:13px;font-weight:700;color:#5B665F}
.ttm-form{display:flex;gap:5px}
.ttm-res{display:inline-grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:7px;font-size:12px;font-weight:800;color:#fff}
.ttm-res--W{background:#067647}.ttm-res--D{background:#7a8580}.ttm-res--L{background:#B42318}
.ttm-live{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:#FEF3F2;color:#B42318;font-size:11px;font-weight:800}
.ttm-pp{display:inline-grid;place-items:center;height:22px;padding:0 7px;border-radius:6px;background:#FFFAEB;color:#B54708;font-size:11px;font-weight:800}

.ttm-minis{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px}
.ttm button.ttm-mini{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:16px;border:1px solid #E3E6DE;background:#fff;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.ttm button.ttm-mini:hover{border-color:#8EBC0D;box-shadow:0 8px 22px rgba(11,32,24,.08);transform:translateY(-1px)}
.ttm-mini>small{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5B665F}
.ttm-mini-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:8px}
.ttm-mini-row b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm-mini-row b:nth-of-type(2){text-align:right}
.ttm-mini-row em{font:400 17px/1 'Anton',sans-serif;font-style:normal;padding:5px 9px;border-radius:8px;background:#0B2018;color:#fff;white-space:nowrap}
.ttm-mini-meta{font-size:12px;color:#5B665F}

.ttm-leads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ttm button.ttm-lead,.ttm-lead{display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;border:1px solid #E3E6DE;background:#fff;text-align:left;font:inherit;color:inherit;min-width:0}
.ttm button.ttm-lead{cursor:pointer;transition:border-color .15s,transform .15s}
.ttm button.ttm-lead:hover{border-color:#8EBC0D;transform:translateY(-1px)}
.ttm-lead.is-empty{background:#F9FAF7}
.ttm-lead>span:not(.ttm-face){flex:1;min-width:0}
.ttm-lead small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5B665F}
.ttm-lead small i{color:#8EBC0D;margin-right:3px}
.ttm-lead b{display:block;margin-top:2px;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm-lead.is-empty b{color:#8C968F;font-weight:600}
.ttm-lead em{display:flex;flex-direction:column;align-items:flex-end;font:400 24px/1 'Anton',sans-serif;font-style:normal;color:#0B2018}
.ttm-lead em small{font:600 10px/1.2 'Inter',sans-serif;text-transform:none;letter-spacing:0}
.ttm-face{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#EEF6D6;color:#123226;font:400 15px/1 'Anton',sans-serif}
.ttm-face img{width:100%;height:100%;object-fit:cover}
.ttm-face--sm{width:36px;height:36px;font-size:13px}
.ttm-face--lg{width:68px;height:68px;font-size:24px;border:3px solid #fff;box-shadow:0 6px 16px rgba(11,32,24,.16)}
.ttm-staff{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.ttm-staff>div{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #E3E6DE;min-width:0}
.ttm-staff span{min-width:0}
.ttm-staff b{display:block;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm-staff small{font-size:12px;color:#5B665F}

/* squad */
.ttm-squad{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ttm button.ttm-pl{--c:#94A3B8;--c2:#475569;position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0 0 10px;border-radius:16px;border:1px solid #E3E6DE;background:#fff;
  font:inherit;color:inherit;text-align:center;cursor:pointer;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}
.ttm button.ttm-pl:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(11,32,24,.1);border-color:#CFD4C8}
.ttm button.ttm-pl:focus-visible{outline:2px solid #8EBC0D;outline-offset:2px}
.ttm button.ttm-pl--gk{--c:#F59E0B;--c2:#B45309}.ttm button.ttm-pl--def{--c:#3B82F6;--c2:#1E40AF}.ttm button.ttm-pl--mid{--c:#8EBC0D;--c2:#3F6212}.ttm button.ttm-pl--fwd{--c:#EF4444;--c2:#991B1B}
.ttm-pl-top{position:relative;display:flex;justify-content:center;width:100%;height:58px;margin-bottom:38px;background:linear-gradient(135deg,var(--c),var(--c2))}
.ttm-pl-top .ttm-face{position:absolute;bottom:-34px}
.ttm-pl-no{position:absolute;left:8px;top:2px;font:400 34px/1 'Anton',sans-serif;color:rgba(255,255,255,.35)}
.ttm-card{position:absolute;right:9px;top:9px;width:11px;height:15px;border-radius:2px}
.ttm-card--y{background:#FDD835}.ttm-card--r{background:#E53935}
.ttm-pl>b{max-width:100%;padding:0 8px;font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ttm-pl>small{font-size:11.5px;color:#5B665F}
.ttm-pl-st{display:grid;grid-template-columns:repeat(3,1fr);width:calc(100% - 16px);margin-top:8px;border-radius:10px;background:#F4F6EF}
.ttm-pl-st span{display:flex;flex-direction:column;padding:5px 0;font-size:9px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5B665F}
.ttm-pl-st b{font:400 17px/1.1 'Anton',sans-serif;color:#0B2018;letter-spacing:0}
.ttm-pl-st .is-hot b{color:#067647}

/* fixtures + results */
.ttm-list{display:flex;flex-direction:column;gap:8px}
.ttm button.ttm-m{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border-radius:16px;border:1px solid #E3E6DE;background:#fff;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.ttm button.ttm-m:hover{border-color:#8EBC0D;box-shadow:0 8px 22px rgba(11,32,24,.07)}
.ttm button.ttm-m:focus-visible{outline:2px solid #8EBC0D;outline-offset:2px}
.ttm-m-date{display:flex;flex-direction:column;align-items:center;flex:none;width:44px;padding:6px 0;border-radius:12px;background:#F4F6EF}
.ttm-m-date b{font:400 20px/1 'Anton',sans-serif}
.ttm-m-date small{font-size:10.5px;font-weight:700;text-transform:uppercase;color:#5B665F}
.ttm-m-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.ttm-m-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}
.ttm-m-teams>span{display:flex;align-items:center;gap:8px;min-width:0}
.ttm-m-teams>span:first-child{justify-content:flex-end;text-align:right}
.ttm-m-teams b{font-size:13.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5B665F}
.ttm-m-teams .is-us b{font-weight:800;color:#0B2018}
.ttm-sc{font:400 17px/1 'Anton',sans-serif;font-style:normal;padding:6px 10px;border-radius:9px;background:#0B2018;color:#fff;white-space:nowrap}
.ttm-sc--ko{background:#EEF0EA;color:#0B2018}
.ttm-m-main>small{font-size:11.5px;color:#5B665F;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

@media (max-width:640px){
  .ttm{width:100vw;max-width:none;max-height:94dvh;margin:auto 0 0;border-radius:22px 22px 0 0}
  .ttm[open]{animation:tmp-up .3s cubic-bezier(.25,.1,.25,1)}
  .ttm-shell{height:94dvh;border-radius:22px 22px 0 0}
  .ttm-hero{gap:14px;padding:18px 16px 14px}
  .ttm-id{gap:12px}
  .ttm-c--xl{width:58px;height:58px;border-width:2px}
  .ttm-c--xl.ttm-c--txt{font-size:21px}
  .ttm-idtxt small{font-size:10px}
  .ttm-idtxt h2{font-size:24px}
  .ttm-idtxt p{font-size:11.5px;gap:2px 10px;margin-top:6px}
  .ttm-kpis{width:100%;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .ttm-kpis>div{padding:7px 4px;border-radius:11px}
  .ttm-kpis dd{font-size:19px}
  .ttm-kpis dt{font-size:9.5px}
  .ttm-tabs{padding:6px;gap:3px}
  .ttm .ttm-tabs button{flex-direction:column;gap:3px;height:48px;font-size:11px;border-radius:11px}
  .ttm-body{padding:14px 12px calc(20px + env(safe-area-inset-bottom))}
  .ttm-rec{gap:4px}
  .ttm-rec div{padding:7px 2px;border-radius:10px}
  .ttm-rec b{font-size:19px}
  .ttm-rec span{font-size:10px}
  .ttm-leads{grid-template-columns:1fr}
  .ttm-squad{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ttm-pl-top{height:46px;margin-bottom:32px}
  .ttm-face--lg{width:56px;height:56px;font-size:19px}
  .ttm-pl-top .ttm-face{bottom:-28px}
  .ttm-pl>b{font-size:12.5px}
  .ttm-pl>small{font-size:10.5px}
  .ttm button.ttm-m{gap:10px;padding:10px}
  .ttm-m-date{width:38px}
  .ttm-m-date b{font-size:17px}
  .ttm-m-teams{gap:6px}
  .ttm-m-teams b{font-size:12px}
  .ttm-m-teams .ttm-c{width:22px;height:22px;font-size:8px}
  .ttm-sc{font-size:14px;padding:5px 7px}
  .ttm-m-main>small{font-size:10.5px}
  .ttm-minis{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.ttm[open],.ttm *{animation:none!important;transition:none!important}}
