/* ==========================================================
   DLS 26 TEAM PAGES  (players/team/team.css)
   --tc  = team colour (set from the logo by team.js)
   --rc  = rival colour
   ========================================================== */
.tm {
  --tc: #00e5ff; --tc-rgb: 0, 229, 255;
  --rc: #ff2a5f; --rc-rgb: 255, 42, 95;
  --gold: #fcd32a; --green: #2ee153; --pink: #ff2a5f; --cyan: #00e5ff;
  --bg: #020617; --s1: rgba(15, 23, 42, .82); --s2: rgba(2, 6, 23, .62); --s3: #0b1222;
  --line: rgba(148, 163, 184, .13); --line2: rgba(148, 163, 184, .26);
  --ink: #e2e8f0; --ink2: #94a3b8; --ink3: #64748b;
  --num: 'DLSFont', 'Segoe UI', sans-serif;
  --r: 18px;
  color: var(--ink); font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif; font-size: 15px; line-height: 1.55;
}
.tm *, .tm *::before, .tm *::after { box-sizing: border-box; }
.tm a { color: inherit; }
.tm [hidden] { display: none !important; }
.tm img { max-width: 100%; }
.main-content, .widget-sidebar { min-width: 0; }

/* ── META STRIP ── */
.tm-meta { border-bottom: 1px solid var(--line); background: rgba(2, 6, 23, .7); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.tm-meta div { max-width: 1240px; margin: 0 auto; padding: 7px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tm-meta b { color: var(--ink); }

/* ── HERO ── */
.tm-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.tm-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 380px at 12% 0%, rgba(var(--tc-rgb), .42), transparent 60%),
    radial-gradient(900px 340px at 100% 100%, rgba(var(--rc-rgb), .22), transparent 60%),
    linear-gradient(180deg, #0b1222, #050b1a); }
.tm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px); background-size: 9px 9px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%); mask-image: linear-gradient(90deg, #000, transparent 55%); }
.tm-hero-bg { position: absolute; right: -6%; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); z-index: -1; opacity: .07; filter: grayscale(1) brightness(2); pointer-events: none; object-fit: contain; }
.tm-hero-in { max-width: 1240px; margin: 0 auto; padding: 26px 16px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px 24px; align-items: center; }
.tm-logo { grid-row: span 2; }
.tm-ring { grid-column: 3; grid-row: 2 / span 2; }
.tm-hero-in > .tm-chips { grid-column: 2; margin: 0; align-self: start; }
.tm-crumbs { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink3); margin-bottom: -8px; }
.tm-crumbs a { color: var(--ink2); text-decoration: none; } .tm-crumbs a:hover { color: #fff; }
.tm-crumbs span { margin: 0 6px; }
.tm-logo { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,.02) 70%); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 18px 50px -12px rgba(var(--tc-rgb), .7); }
.tm-logo img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.tm-title h1 { margin: 0; font: 400 clamp(30px, 5vw, 54px)/1 var(--num); text-transform: uppercase; color: #fff; letter-spacing: .01em; word-break: break-word; }
.tm-title p { margin: 8px 0 0; color: var(--ink2); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.tm-title p a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); }
.tm-title p a:hover { border-color: #fff; }
.tm-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(var(--tc-rgb), .16); color: #fff; border: 1px solid rgba(var(--tc-rgb), .45); }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tm-chips li { padding: 7px 12px; border-radius: 12px; background: rgba(2,6,23,.5); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink2); text-transform: uppercase; letter-spacing: .05em; }
.tm-chips b { display: block; font: 400 19px/1.1 var(--num); color: #fff; letter-spacing: 0; text-transform: none; }

.tm-ring { --v: 74; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--rcol, var(--gold)) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); box-shadow: 0 18px 50px -14px rgba(0,0,0,.8); }
.tm-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #0b1222; }
.tm-ring div { position: relative; text-align: center; }
.tm-ring b { display: block; font: 400 48px/1 var(--num); color: #fff; }
.tm-ring small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }

/* ── TABS ── */
.tm-tabs { position: sticky; top: 0; z-index: 40; background: rgba(2, 6, 23, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.tm-tabs nav { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; }
.tm-tabs a { position: relative; padding: 14px 18px 13px; text-decoration: none; font-weight: 800; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tm-tabs a small { display: block; font-size: 10px; letter-spacing: .1em; color: var(--ink3); font-weight: 700; }
.tm-tabs a:hover { color: #fff; }
.tm-tabs a[aria-current] { color: #fff; }
.tm-tabs a[aria-current]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: rgb(var(--tc-rgb)); box-shadow: 0 0 14px rgba(var(--tc-rgb), .8); }
.tm-tabs .tm-tab-cta { margin-left: auto; align-self: center; }

/* ── LAYOUT ── */
.tm-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 16px 50px; }
.tm-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .tm-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.tm-col { display: grid; gap: 20px; min-width: 0; }
.tm-card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.tm-card > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(var(--tc-rgb), .1), transparent 60%); }
.tm-card > header h2 { margin: 0; font: 400 18px/1.15 var(--num); text-transform: uppercase; color: #fff; letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.tm-card > header h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: rgb(var(--tc-rgb)); }
.tm-card > header small { color: var(--ink3); font-size: 12px; font-weight: 700; }
.tm-pad { padding: 18px; }

.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--ink); font: inherit; font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: .15s; }
.tm-btn:hover { border-color: rgba(var(--tc-rgb), .7); color: #fff; }
.tm-btn--go { background: rgb(var(--tc-rgb)); border-color: transparent; color: #031018; }
.tm-btn--go:hover { color: #031018; filter: brightness(1.1); }
.tm-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ── PITCH (tiny squad-builder XI) ── */
.tm-pitch-wrap { padding: 16px; }
.tm-pitch { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding-bottom: 120%; border-radius: 16px; overflow: hidden;
  background: #17402a url('https://sakibpro.com/cdn/squad_pitch.webp?v=1') center / cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 20px 40px -16px rgba(0,0,0,.7); }
.tm-pitch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(var(--tc-rgb), .18), transparent 60%); pointer-events: none; }
.tm-slot { position: absolute; z-index: 2; display: block; width: 18.5%; transform: translate(-50%, -50%); text-decoration: none; text-align: center; transition: transform .2s; }
.tm-slot:hover { transform: translate(-50%, -54%) scale(1.04); z-index: 3; }
.tm-slot .tm-mini { position: relative; display: block; width: 100%; aspect-ratio: 97 / 120; }
.tm-slot canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.tm-slot canvas.on { opacity: 1; }
.tm-chip { position: absolute; inset: 8% 10%; border-radius: 12px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; align-content: center; gap: 2px; transition: opacity .3s; }
.tm-chip b { font: 400 clamp(14px, 3.6vw, 22px)/1 var(--num); color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,.6); }
.tm-chip i { font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--pc, #888); padding: 1px 5px; border-radius: 4px; }
canvas.on + .tm-chip { opacity: 0; }
.tm-slot:has(canvas.on) .tm-slot-name { display: none; }
.tm-slot-name { display: block; margin-top: 2px; font-size: clamp(9px, 2.1vw, 11.5px); font-weight: 800; color: #fff; text-shadow: 0 1px 3px #000, 0 0 8px rgba(0,0,0,.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-num { position: absolute; top: 2%; right: 4%; z-index: 2; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 6px; display: grid; place-items: center; font: 400 11px/1 var(--num); color: #fff; background: rgba(2,6,23,.85); border: 1px solid rgba(255,255,255,.25); }
.tm-cap { position: absolute; top: 2%; left: 4%; z-index: 2; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 800 11px/1 sans-serif; color: #1a1300; background: var(--gold); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.tm-pitch-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.tm-formation { font: 400 26px/1 var(--num); color: #fff; }
.tm-formation small { display: block; font: 800 10.5px/1.4 'Segoe UI', sans-serif; letter-spacing: .12em; color: var(--ink3); text-transform: uppercase; }

/* ── RATING BARS ── */
.tm-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px; }
.tm-vs-team { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.tm-vs-team img { width: 54px; height: 54px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.tm-vs-team b { display: block; font: 400 17px/1.1 var(--num); text-transform: uppercase; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-vs-team small { color: var(--ink3); font-size: 12px; font-weight: 700; }
.tm-vs-team--r { flex-direction: row-reverse; text-align: right; }
.tm-vs-team--r b { color: rgb(var(--rc-rgb)); }
.tm-vs-score { font: 400 40px/1 var(--num); color: #fff; white-space: nowrap; }
.tm-vs-score span { color: var(--ink3); margin: 0 6px; }
.tm-vs-score em { font-style: normal; color: rgba(255,255,255,.55); }
.tm-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; padding: 0 18px 18px; }
.tm-bar { display: grid; grid-template-columns: 74px 1fr 30px; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tm-bar span:last-child { text-align: right; font: 400 15px var(--num); color: #fff; letter-spacing: 0; }
.tm-seg { height: 14px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 4px, transparent 4px 7px); position: relative; overflow: hidden; }
.tm-seg i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); background: repeating-linear-gradient(90deg, var(--bc, rgb(var(--tc-rgb))) 0 4px, transparent 4px 7px); filter: drop-shadow(0 0 4px var(--bc, rgb(var(--tc-rgb)))); }
.tm-bars .r .tm-seg i { --bc: rgb(var(--rc-rgb)); }
.tm-ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; }
.tm-rt { text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--s2); border: 1px solid var(--line); }
.tm-rt b { display: block; font: 400 30px/1 var(--num); }
.tm-rt small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink3); }

/* ── INFO TABLE / ROLES / LISTS ── */
.tm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tm-table th, .tm-table td { padding: 10px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.tm-table tr:last-child th, .tm-table tr:last-child td { border-bottom: 0; }
.tm-table th { color: var(--ink3); font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; width: 44%; }
.tm-table td { color: #fff; font-weight: 600; }
.tm-table td a { color: #fff; }
.tm-list { list-style: none; margin: 0; padding: 0; }
.tm-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.tm-list li:last-child .tm-row { border-bottom: 0; }
.tm-row:hover { background: rgba(255,255,255,.03); }
.tm-ava { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(160deg, rgba(var(--tc-rgb), .3), rgba(255,255,255,.04)); overflow: hidden; position: relative; }
.tm-ava img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tm-row b { display: block; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-row small { display: flex; align-items: center; gap: 6px; color: var(--ink3); font-size: 12px; white-space: nowrap; overflow: hidden; }
.tm-row small img { width: 16px; height: 11px; border-radius: 2px; flex: none; }
.tm-role { display: inline-block; margin-bottom: 2px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 5px; background: rgba(var(--tc-rgb), .14); color: rgb(var(--tc-rgb)); margin-right: 4px; }
.tm-ovr { min-width: 42px; text-align: center; font: 400 20px/1 var(--num); padding: 7px 6px; border-radius: 10px; background: rgba(255,255,255,.05); }
.tm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.tm-fact { background: #0c1424; padding: 14px 16px; text-decoration: none; min-width: 0; }
.tm-fact small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.tm-fact b { display: block; margin-top: 3px; color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-fact span { font: 400 20px/1.2 var(--num); color: rgb(var(--tc-rgb)); }
a.tm-fact:hover b { text-decoration: underline; }

/* ── ARTICLE / CHART / LEAGUE ── */
.tm-article p { margin: 0 0 12px; color: #cbd5e1; line-height: 1.75; }
.tm-article p:last-child { margin: 0; }
.tm-article a { color: rgb(var(--tc-rgb)); font-weight: 700; text-decoration: none; }
.tm-article a:hover { text-decoration: underline; }
.tm-chart svg { width: 100%; height: auto; display: block; }
.tm-chart .ax { stroke: rgba(148,163,184,.14); stroke-width: 1; }
.tm-chart text { fill: var(--ink3); font-size: 11px; font-family: 'Segoe UI', sans-serif; }
.tm-legend { display: flex; gap: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tm-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tm-note { margin: 10px 0 0; font-size: 12.5px; color: var(--ink3); }
.tm-league { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; padding: 16px; }
.tm-lt { display: grid; grid-template-columns: 22px 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); text-decoration: none; transition: .15s; }
.tm-lt:hover { border-color: rgba(var(--tc-rgb), .5); }
.tm-lt[aria-current] { background: rgba(var(--tc-rgb), .14); border-color: rgba(var(--tc-rgb), .6); }
.tm-lt em { font-style: normal; font: 400 13px var(--num); color: var(--ink3); text-align: center; }
.tm-lt img { width: 34px; height: 34px; object-fit: contain; }
.tm-lt b { font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-lt span { font: 400 17px var(--num); }
.tm-faq details { border-top: 1px solid var(--line); }
.tm-faq details:first-of-type { border-top: 0; }
.tm-faq summary { list-style: none; cursor: pointer; padding: 14px 40px 14px 18px; position: relative; font-weight: 700; color: #fff; }
.tm-faq summary::-webkit-details-marker { display: none; }
.tm-faq summary::after { content: '+'; position: absolute; right: 18px; top: 10px; font-size: 22px; color: rgb(var(--tc-rgb)); transition: transform .2s; }
.tm-faq details[open] summary::after { transform: rotate(45deg); }
.tm-faq p { margin: 0; padding: 0 18px 16px; color: var(--ink2); }
.tm-ad { min-height: 110px; overflow: hidden; border-radius: var(--r); }

/* ── SQUAD PAGE ── */
.tm-bar2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.tm-seg2 { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); flex-wrap: wrap; }
.tm-seg2 button { border: 0; background: none; color: var(--ink2); font: inherit; font-weight: 800; font-size: 12.5px; padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.tm-seg2 button small { color: var(--ink3); font-weight: 700; margin-left: 3px; }
.tm-seg2 button[aria-pressed="true"] { background: #1e293b; color: #fff; box-shadow: inset 0 -2px 0 rgb(var(--tc-rgb)); }
.tm-select { min-height: 38px; padding: 7px 12px; border-radius: 11px; border: 1px solid var(--line2); background: var(--s3); color: #fff; font: inherit; font-size: 13px; font-weight: 700; }
.tm-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 18px; }
.tm-sum div { padding: 12px 14px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.tm-sum b { display: block; font: 400 24px/1.1 var(--num); color: #fff; }
.tm-sum small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink3); text-transform: uppercase; }
.tm-sec-h { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; font: 400 17px/1 var(--num); text-transform: uppercase; color: #fff; }
.tm-sec-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tm-sec-h small { font: 800 11px 'Segoe UI', sans-serif; color: var(--ink3); letter-spacing: .08em; }
.tm-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
@media (min-width: 620px) { .tm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .tm-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .tm-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tm-pc { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--s1); border: 1px solid var(--line); transition: transform .18s, border-color .18s, box-shadow .18s; }
.tm-pc:hover { transform: translateY(-3px); border-color: rgba(var(--tc-rgb), .55); box-shadow: 0 16px 30px -14px rgba(0,0,0,.7); }
.tm-pc-art { position: relative; padding: 10px 14% 4px; background:
  radial-gradient(circle at 50% 35%, rgba(var(--tc-rgb), .28), transparent 65%),
  linear-gradient(135deg, rgba(var(--tc-rgb), .16), rgba(var(--rc-rgb), .08)); }
.tm-pc-art .tm-mini { position: relative; display: block; aspect-ratio: 97 / 120; }
.tm-pc-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.tm-pc-art canvas.on { opacity: 1; }
.tm-pc-art .tm-chip { inset: 4% 6%; }
.tm-bignum { position: absolute; left: 8px; top: 4px; font: 400 54px/1 var(--num); color: rgba(255,255,255,.07); pointer-events: none; }
.tm-pc-body { padding: 8px 12px 12px; text-align: center; }
.tm-pc-body h3 { margin: 0; font-size: 13.5px; font-weight: 800; color: #fff; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tm-pc-c { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--ink2); text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.tm-pc-c img { width: 18px; height: 12px; border-radius: 2px; flex: none; }
.tm-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 8px; }
.tm-bd { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 6px; font: 400 12px/1 var(--num); color: #fff; }
.tm-bd--n { background: var(--pink); }
.tm-bd--p { background: var(--pc, #888); color: #000; font-family: 'Segoe UI', sans-serif; font-weight: 900; font-size: 11px; }
.tm-bd--r { background: rgba(255,255,255,.08); border: 1px solid var(--line2); font-family: 'Segoe UI', sans-serif; font-weight: 800; font-size: 10px; color: var(--gold); }
.tm-bd--x { background: rgba(46,225,83,.14); color: var(--green); font-family: 'Segoe UI', sans-serif; font-weight: 800; font-size: 10px; }
.tm-tablewrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--s1); }
.tm-st { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.tm-st th { position: sticky; top: 0; background: #0e1628; padding: 10px 8px; text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); border-bottom: 1px solid var(--line2); cursor: pointer; user-select: none; white-space: nowrap; }
.tm-st th[aria-sort]::after { content: ' ▾'; color: rgb(var(--tc-rgb)); }
.tm-st th[aria-sort="ascending"]::after { content: ' ▴'; }
.tm-st td { padding: 8px; text-align: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tm-st td:nth-child(2), .tm-st th:nth-child(2) { text-align: left; }
.tm-st td:nth-child(2) a { color: #fff; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.tm-st td:nth-child(2) a:hover { color: rgb(var(--tc-rgb)); }
.tm-st td:nth-child(2) img { width: 18px; height: 12px; border-radius: 2px; }
.tm-st tbody tr:hover td { background: rgba(255,255,255,.03); }
.tm-st .tm-x { color: var(--green); font-weight: 800; }
.s90 { color: #00e5ff; } .s80 { color: #2ee153; } .s70 { color: #ffe600; } .s60 { color: #ff9800; } .s0 { color: #ff3b41; }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .tm-hero-in { grid-template-columns: auto 1fr; gap: 14px 16px; padding: 18px 16px; }
  .tm-logo { width: 84px; height: 84px; }
  .tm-logo { grid-row: auto; }
  .tm-ring { grid-column: 1 / -1; grid-row: auto; width: auto; height: auto; background: none; box-shadow: none; justify-self: stretch; place-items: stretch; }
  .tm-hero-in > .tm-chips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tm-card > header small { display: none; }
  .tm--squad .tm-hero-in > .tm-chips { display: none; }
  .tm-meta span:nth-child(2) { display: none; }
  .tm-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tm-sum div { padding: 10px 12px; }
  .tm-sum b { font-size: 20px; }
  .tm-ring::before { display: none; }
  .tm-ring div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; background: rgba(2,6,23,.55); border: 1px solid var(--line); }
  .tm-ring b { font-size: 34px; }
  .tm-ring div::after { content: ""; flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--rcol, var(--gold)) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); }
  .tm-hero-bg { width: 320px; height: 320px; }
  .tm-vs { grid-template-columns: 1fr; text-align: center; }
  .tm-vs-team, .tm-vs-team--r { justify-content: center; flex-direction: column; text-align: center; }
  .tm-bars { grid-template-columns: 1fr; }
  .tm-ratings { grid-template-columns: repeat(2, 1fr); }
  .tm-tabs a { padding: 12px 12px 11px; font-size: 12.5px; }
  .tm-tabs .tm-tab-cta span { display: none; }
  .tm-row { padding: 10px 14px; }
  .tm-table th, .tm-table td { padding: 9px 14px; }
}
@media (max-width: 420px) { .tm-chips li { padding: 6px 10px; } .tm-chips b { font-size: 16px; } .tm-slot-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .tm * { transition: none !important; animation: none !important; } }
