/* match-stats.online — dashboard template. Change only this :root block to restyle. */
:root {
  --primary: #0b6bcb;
  --accent: #f5b301;
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-2: #eaf0f7;
  --text: #14202e;
  --muted: #5b6b7d;
  --border: #dde3ec;
  --link: #0b6bcb;
  --font-head: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font-body); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }

.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }

/* Sidebar */
.side { background: var(--surface); border-right: 1px solid var(--border); padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo img { height: 32px; width: auto; margin: 0 6px 28px; }
.side-label { font: 700 11px/1 var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 22px 8px 10px; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 15px; }
.side-nav a::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--primary); opacity: .7; }
.side-nav a:hover { background: var(--surface-2); text-decoration: none; }
.side-foot { margin-top: 28px; font-size: 13px; color: var(--muted); padding: 0 8px; }

/* Main column */
.main { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 32px; border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.crumbs { color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); }
.pill { background: var(--primary); color: #fff; font: 700 12px/1 var(--font-head); padding: 7px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.content { padding: 32px; max-width: 1080px; }

/* Home */
.intro h1 { font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; }
.intro p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 28px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 36px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 10px; padding: 16px 18px; }
.tile:nth-child(even) { border-top-color: var(--accent); }
.tile b { display: block; font: 700 22px/1.2 var(--font-head); }
.tile span { color: var(--muted); font-size: 13px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 28px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.panel-head h2 { font-size: 20px; margin: 0; text-transform: uppercase; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.rows li:last-child { border-bottom: 0; }
.rows .tag { font: 700 12px/1 var(--font-head); text-transform: uppercase; color: var(--link); letter-spacing: .06em; }
.rows a { color: var(--text); font-weight: 600; }
.rows .when { color: var(--muted); font-size: 13px; white-space: nowrap; }
.empty { padding: 26px 20px; color: var(--muted); text-align: center; }

/* Article & pages */
.doc-head { margin-bottom: 26px; max-width: 760px; }
.doc-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.doc-head .dek { color: var(--muted); font-size: 18px; margin: 0 0 12px; }
.meta { color: var(--muted); font-size: 14px; }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; align-items: start; }
.doc.single { grid-template-columns: minmax(0, 760px); }
.prose h2 { font-size: 26px; margin-top: 1.6em; text-transform: uppercase; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose li { margin-bottom: .35em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--border); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th { background: var(--surface-2); font-family: var(--font-head); text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.prose tr:last-child td { border-bottom: 0; }
.facts { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; position: sticky; top: 84px; }
.facts h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts ul { margin: 0; padding-left: 18px; }
.facts li { margin-bottom: 8px; }

.foot { border-top: 1px solid var(--border); padding: 24px 32px 40px; color: var(--muted); font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
.foot a { color: var(--muted); }

@media (max-width: 1000px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .facts { position: static; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; padding: 14px 16px; border-right: 0; border-bottom: 1px solid var(--border); }
  .side .logo img { margin: 0 0 12px; }
  .side-label, .side-foot { display: none; }
  .side-nav { display: flex; gap: 6px; overflow-x: auto; }
  .side-nav a { white-space: nowrap; }
  .topbar { position: static; padding: 12px 16px; }
  .content { padding: 22px 16px; }
  .rows li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .foot { padding: 20px 16px 32px; }
}

/* Long words and URLs wrap instead of widening the page on phones */
h1, h2, h3, p, li, td, th, dd, blockquote { overflow-wrap: break-word; }

/* ===== SITE IDENTITY: Match Stats — match centre ===== */
:root { --navy: #0a1f3d; --navy-2: #12305a; }
h1, h2, h3 { font-weight: 700; }
.side { background: var(--navy); border-right: 0; color: #c7d2e3; }
.side-label { color: #7f93b3; }
.side-nav a { color: #e6edf7; border-left: 3px solid transparent; border-radius: 0 8px 8px 0; }
.side-nav a::before { background: var(--accent); opacity: 1; border-radius: 50%; width: 7px; height: 7px; }
.side-nav a:hover { background: var(--navy-2); border-left-color: var(--accent); }
.side-foot { color: #7f93b3; }
.topbar { background: rgba(244, 246, 250, .94); backdrop-filter: blur(6px); }
.pill { background: var(--navy); }

.ms-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; margin-bottom: 22px; padding: 34px 34px 30px; border-radius: 14px; color: #dbe6f5;
  background: radial-gradient(circle at 100% 0, rgba(245,179,1,.22), transparent 45%), linear-gradient(135deg, var(--navy), #0b4f9c); }
.ms-eyebrow { display: inline-block; font: 700 13px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.ms-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); line-height: .98; text-transform: uppercase; }
.ms-hero p { margin: 0; color: #b9c9e0; font-size: 17px; }
.ms-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; margin: 0; background: rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; }
.ms-board div { background: rgba(10, 31, 61, .72); padding: 14px 16px; }
.ms-board dt { font: 700 26px/1 var(--font-head); color: #fff; white-space: nowrap; }
.ms-board dt::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 5px; }
.ms-board dd { margin: 4px 0 0; font-size: 13.5px; color: #9fb3cf; }

.tile { border-top: 0; border-bottom: 4px solid var(--primary); transition: transform .15s; }
.tile:nth-child(even) { border-bottom-color: var(--accent); }
.tile:hover { transform: translateY(-2px); text-decoration: none; }
.tile b { color: var(--navy); text-transform: uppercase; font-size: 24px; }

.panel-head { background: var(--navy); border-bottom: 0; }
.panel-head h2 { color: #fff; font-size: 19px; letter-spacing: .04em; }
.panel-head h2::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--accent); margin-right: 10px; vertical-align: -1px; }
.rows li:nth-child(even) { background: #f8fafd; }
.ms-latest .rows li { grid-template-columns: 150px 1fr auto; }
.rows .tag { background: #e6f0fb; color: var(--primary); padding: 5px 8px; border-radius: 4px; text-align: center; }
.rows a:hover { color: var(--primary); }
.ms-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.ms-sections .rows li { grid-template-columns: 1fr auto; }
.ms-sections .empty { padding: 18px 20px; font-size: 14px; }
.hub-panel .rows li { grid-template-columns: 1fr auto; }

.doc-head .ms-eyebrow { color: var(--primary); }
.doc-head h1 { line-height: 1.08; }
.prose h2 { color: var(--navy); text-transform: none; }
.prose th { background: var(--navy); color: #fff; }
.prose tbody tr:nth-child(even) td { background: #f8fafd; }
.facts { background: var(--navy); border: 0; color: #dbe6f5; }
.facts h3 { color: var(--accent); }
.facts li::marker { color: var(--accent); }
.facts b, .facts strong { color: #fff; }
.prose .note { background: #fff8e1; border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: 15px; }
.sources { font-size: 15px; }
.foot { background: #fff; }

@media (max-width: 1000px) { .ms-sections { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 800px) {
  .ms-hero { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .ms-board dt { font-size: 21px; }
  .ms-latest .rows li { grid-template-columns: minmax(0, 1fr); }
  .rows .tag { justify-self: start; }
  .side-nav a { border-left: 0; border-radius: 8px; background: var(--navy-2); }
}

/* ===== TOOLS + READ NEXT (shared, uses the site's colours) ===== */
.tool { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; margin: 1.2em 0 1.6em; }
.tool-h { font-size: 17px; margin: 4px 0 12px; }
.tool-h ~ .tool-h { margin-top: 20px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tool-grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tool label, .tool legend { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.tool input, .tool textarea { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; min-width: 0; }
.tool textarea { resize: vertical; }
.tool select { font: 400 16px/1.4 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%; }
.tool input:focus, .tool textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; }
.tool input.bad, .tool textarea.bad { border-color: #dc2626; background: #fef2f2; color: #7f1d1d; }
.tool fieldset { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px 14px; margin: 0; min-width: 0; }
.tool legend { padding: 0 6px; color: var(--text); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tool button { font: 600 15px/1 var(--font-body); border: 0; border-radius: 8px; padding: 11px 16px; background: var(--primary); color: #fff; cursor: pointer; }
.tool button.secondary { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1.5px var(--link); }
.tool-result { margin-top: 16px; }
.tool-result .table-wrap { margin-bottom: 0; }
.tool-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0 0 14px; }
.tool-big > div { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.tool-big b { display: block; font: 700 26px/1.15 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; }
.tool-big span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted); }
.tool-big .up { color: #b91c1c; } .tool-big .down { color: #047857; }
.tool-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.tool-verdict { font-weight: 600; margin: 0 0 12px; }
.tool .bar { display: block; height: 6px; margin-top: 4px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.tool .bar i { display: block; height: 100%; background: var(--primary); }
.tool td b { color: var(--text); }
.sg-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; }
.sg-match { display: grid; grid-template-columns: 1fr 52px 14px 52px 1fr; align-items: center; gap: 6px; font-size: 14px; }
.sg-match span:first-child { text-align: right; }
.sg-match input { text-align: center; padding: 8px 4px; }
.sg-match em { text-align: center; color: var(--muted); font-style: normal; }
.sg-table td:last-child { font-weight: 600; white-space: nowrap; }
.cp-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cp-teams fieldset .tool-grid { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }

.tool-teaser { display: flex; align-items: center; gap: 16px; margin: 20px 0 6px; padding: 16px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.tool-teaser:hover { border-color: var(--link); text-decoration: none; }
.tool-teaser .ico { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center; font: 700 17px/1 var(--font-head); }
.tool-teaser b { display: block; font-family: var(--font-head); font-size: 19px; line-height: 1.25; }
.tool-teaser .t { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tool-teaser::after { content: "→"; margin-left: auto; padding-left: 8px; color: var(--link); font-size: 22px; }
@media (max-width: 480px) {
  .tool-teaser { gap: 12px; padding: 14px 16px; align-items: flex-start; }
  .tool-teaser::after { display: none; }
  .tool-teaser .ico { width: 40px; height: 40px; font-size: 15px; }
  .tool-teaser b { font-size: 17px; }
}

.related { margin: 40px 0 8px; padding-top: 22px; border-top: 2px solid var(--border); }
.prose .related-h { font-size: 20px; margin: 0 0 8px; padding: 0; border: 0; text-transform: none; }
.prose .related-h::before, .prose .related-h::after { content: none; }
.related-list { list-style: none; padding: 0; margin: 0 0 18px; }
.related-list li { padding: 9px 0; border-bottom: 1px dashed var(--border); line-height: 1.4; }
.related-list a { font-weight: 600; }
.related-list span { color: var(--muted); font-size: 14px; }
.tool-cta { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); color: var(--text); text-decoration: none; }
.tool-cta:hover { text-decoration: none; border-color: var(--link); }
.tool-cta b { font-family: var(--font-head); font-size: 18px; }
.tool-cta b::after { content: " →"; color: var(--link); }
.tool-cta span { color: var(--muted); font-size: 15px; }

/* breadcrumbs + section pages */
.trail { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 26px 0 -4px; font-size: 14px; color: var(--muted); font-family: var(--font-body); }
.trail a { color: var(--muted); text-decoration: none; }
.trail a:hover { color: var(--link); text-decoration: underline; }
.trail .sep { opacity: .55; }
.trail + .article-head, .trail + .page-head, .trail + .post-head, .trail + .entry-head { padding-top: 22px; }
.trail + .doc-title { margin-top: 18px; }
.prose:has(+ .hub-body) { padding-bottom: 0; }
.hub-body { margin: 6px 0 56px; }
.hub-h { font-size: 22px; margin: 30px 0 14px; }
.hub-empty { color: var(--muted); font-style: italic; padding: 10px 0; }
.hub-body .tool-cta { margin-top: 26px; }
.prose figure.chart { margin: 1.7em 0; }
.prose figure.chart img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--border); }
.prose figure.chart figcaption { max-width: 560px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Reviewed old-article navigation and accessible reading controls */
.article-map{margin-block:1.5rem;padding:1.1rem 1.25rem;border:1px solid currentColor;border-radius:var(--radius,8px);font:inherit}
.article-map summary{cursor:pointer;font-weight:700;line-height:1.5}
.article-map ul{margin-block:1rem 0;padding-inline-start:1.25rem;display:grid;gap:.55rem}
.article-map a{color:inherit;text-decoration:underline;text-underline-offset:.18em;overflow-wrap:anywhere}
main h2[id],main h3[id]{scroll-margin-top:5rem}
main pre{max-width:100%;overflow-x:auto}main table{display:block;max-width:100%;overflow-x:auto}
main img{max-width:100%;height:auto}
main a:focus-visible,main summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:600px){.article-map{padding:.9rem}.article-map ul{gap:.75rem}}

/* studio-featured-v1 */
.featured-image{margin:24px 0 30px}.featured-image img{display:block;width:100%;height:auto;border-radius:16px}.featured-image figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:8px}.card .thumb{position:relative;overflow:hidden;aspect-ratio:16/9}.card .thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span{position:relative;z-index:1}

/* studio-listing-covers-v2: current article cover on home, hubs and related rows */
.card>.thumb{display:block;position:relative;overflow:hidden;aspect-ratio:16/9}
.card>.thumb>img,.post>.img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post>.img{position:relative;overflow:hidden}
li.has-listing-picture{display:grid;grid-template-columns:minmax(88px,24%) minmax(0,1fr);gap:1rem;align-items:start}
.listing-picture{display:block;min-width:0;overflow:hidden;border-radius:var(--radius,4px)}
.listing-picture>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.listing-copy{min-width:0}.listing-copy>a{display:block}.listing-copy>span,.listing-copy>time{display:block}
.listing-copy p{margin-block:.5rem}.guide-card-image img{display:block;width:100%;height:auto;object-fit:cover}
@media(max-width:480px){li.has-listing-picture{grid-template-columns:88px minmax(0,1fr);gap:.75rem}}

.rows li.has-listing-picture,.guides li.has-listing-picture,.hub-panel .rows li.has-listing-picture,.hub-body li.has-listing-picture,.related-list li.has-listing-picture{grid-template-columns:clamp(88px,22%,180px) minmax(0,1fr)}
@media(max-width:480px){.rows li.has-listing-picture,.hub-panel .rows li.has-listing-picture{grid-template-columns:minmax(0,1fr)}.guides li.has-listing-picture,.hub-body li.has-listing-picture,.related-list li.has-listing-picture{grid-template-columns:88px minmax(0,1fr)}}

/* sd-release:match-stats.online-refresh-v1 — dashboard nocturno: dark compact KPI tiles, crisp data cards, restrained accent glow */
:root { --night: #081628; --night-2: #0e2240; --night-line: rgba(255, 255, 255, .09); --glow: 0 0 0 1px rgba(245, 179, 1, .28), 0 8px 22px -14px rgba(245, 179, 1, .55); }
.tiles { gap: 10px; }
.tile { background: var(--night); border: 1px solid var(--night-line); border-bottom: 3px solid var(--primary); border-radius: 8px; padding: 12px 14px; }
.tile:nth-child(even) { border-bottom-color: var(--accent); }
.tile b { color: #fff; font-size: 21px; letter-spacing: .03em; }
.tile span { color: #93a8c6; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.tile:hover { box-shadow: var(--glow); }
.panel { border-radius: 8px; border-color: #d3dbe7; box-shadow: 0 1px 0 rgba(8, 22, 40, .04); }
.panel-head { background: var(--night); padding: 11px 18px; }
.panel-head h2 { font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.rows li { padding: 11px 18px; }
.rows .tag { font-size: 11px; }
.tool-teaser, .tool-cta { background: var(--night); border: 1px solid var(--night-line); border-left: 3px solid var(--accent); color: #e6edf7; border-radius: 8px; }
.tool-teaser .t, .tool-cta span { color: #9fb3cf; }
.tool-teaser b, .tool-cta b { color: #fff; }
.tool-teaser::after, .tool-cta b::after { color: var(--accent); }
.tool-teaser:hover, .tool-cta:hover { border-color: var(--night-line); border-left-color: var(--accent); box-shadow: var(--glow); }
.tool-teaser .ico { background: var(--accent); color: var(--night); }
.hub-h { font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.prose h2 { font-size: 24px; padding-left: 12px; border-left: 3px solid var(--accent); }
.prose th { background: var(--night); letter-spacing: .08em; }
.tool { border-radius: 8px; border-top: 3px solid var(--night); }
.tool-big > div { background: var(--night); border-color: var(--night-line); border-radius: 8px; }
.tool-big b { color: #fff; }
.tool-big span { color: #9fb3cf; }
.tool-big .up { color: #fca5a5; } .tool-big .down { color: #6ee7b7; }
.rc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 0 0 14px; }
.rc-kpi { background: var(--night); border: 1px solid var(--night-line); border-radius: 8px; padding: 12px 14px; }
.rc-kpi:first-child { box-shadow: var(--glow); }
.rc-kpi b { display: block; font: 700 28px/1.1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.rc-kpi span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #9fb3cf; }
.rc-kpi sup { font-size: .75em; }
.rc-actual td { font-weight: 700; background: #fff8e1; }
.rc-aviso { margin: 0; padding: 10px 14px; border-left: 3px solid #dc2626; background: #fef2f2; color: #7f1d1d; border-radius: 0 6px 6px 0; font-size: 14.5px; }
.rc-pie { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 800px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-kpi b { font-size: 24px; }
}
@media (max-width: 400px) {
  .tile { padding: 10px 12px; }
  .tile b { font-size: 18px; }
}

/* sd-release:match-stats.online-identity-v1 — radar táctico: azul real y oro, panel lateral de celdas hexagonales, fichas con esquina cortada, tipografía geométrica */
:root { --primary: #1d4ed8; --accent: #f2b705; --link: #1d4ed8; --text: #0d1633; --muted: #4f5f88; --bg: #f2f5fc; --surface: #ffffff; --surface-2: #e6ecfa; --border: #cbd6f0;
  --navy: #0a1a52; --navy-2: #14307f; --night: #0a1a52; --night-2: #14307f; --night-line: rgba(255, 255, 255, .14); --gold: #f2b705;
  --hexa: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --font-head: "Outfit", "Century Gothic", system-ui, sans-serif; --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; }
body { font-size: 16.5px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.012em; line-height: 1.1; }

.side { background: url(/img/identity-hex.svg) 0 0 / 34.64px 60px, linear-gradient(180deg, #0f2a86 0%, #0a1a52 62%, #070f33 100%); }
.side .logo img { height: 36px; margin-bottom: 26px; }
.side-label { color: var(--gold); font-family: var(--font-head); letter-spacing: .2em; }
.side-nav a { font-family: var(--font-head); font-weight: 500; font-size: 15.5px; border-left: 0; border-radius: 0; padding: 9px 10px; }
.side-nav a::before { width: 9px; height: 10px; border-radius: 0; background: var(--gold); opacity: .55; clip-path: var(--hexa); }
.side-nav a:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 3px 0 0 var(--gold); }
.side-nav a:hover::before { opacity: 1; }
.side-foot { color: #9fb2e6; }
.topbar { background: rgba(242, 245, 252, .94); border-bottom: 2px solid var(--navy); }
.pill { background: var(--gold); color: var(--navy); border-radius: 0; padding: 8px 20px; font-family: var(--font-head); clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }

.ms-hero { position: relative; border-radius: 0; padding: 40px 40px 36px; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  background: url(/img/identity-hero.svg) right center / auto 130% no-repeat, radial-gradient(circle at 85% 40%, #2f5fe8 0%, transparent 55%), linear-gradient(135deg, #0a1a52 0%, #1740b8 100%); }
.ms-eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.ms-hero h1 { text-transform: none; font-weight: 800; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.02; letter-spacing: -.025em; }
.ms-hero p { color: #d3defa; }
.ms-board { gap: 8px; background: none; border-radius: 0; }
.ms-board div { background: rgba(10, 26, 82, .78); border: 1px solid rgba(242, 183, 5, .45); padding: 12px 14px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.ms-board dt { font-family: var(--font-head); font-weight: 700; }
.ms-board dt::before { border-radius: 0; width: 9px; height: 10px; clip-path: var(--hexa); background: var(--gold); vertical-align: 4px; }
.ms-board dd { color: #b9c8f0; }

.tile { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--primary); border-bottom: 1px solid var(--border); border-radius: 0; padding: 14px 16px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.tile:nth-child(even) { border-left-color: var(--gold); border-bottom-color: var(--border); }
.tile b { color: var(--navy); font-family: var(--font-head); font-size: 22px; text-transform: none; letter-spacing: -.01em; }
.tile span { color: var(--muted); text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.tile:hover { background: #eef3ff; box-shadow: none; }

.panel { border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 0; box-shadow: none; }
.panel-head { background: var(--navy); }
.panel-head h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; }
.panel-head h2::before { width: 10px; height: 11px; border-radius: 0; clip-path: var(--hexa); background: var(--gold); margin-right: 10px; vertical-align: -1px; }
.rows li:nth-child(even) { background: #f6f8fe; }
.rows .tag { display: inline-block; background: #e3ebff; color: #1a3aa8; border-radius: 0; font-family: var(--font-head); font-weight: 600; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); padding: 6px 12px; }
.rows a { color: var(--text); }
.rows a:hover { color: var(--primary); }
.listing-picture, .listing-picture > img { border-radius: 0; }

.tool-teaser, .tool-cta { background: var(--navy); border: 1px solid var(--navy-2); border-left: 5px solid var(--gold); border-radius: 0; }
.tool-teaser .ico { border-radius: 0; width: 46px; height: 50px; clip-path: var(--hexa); background: var(--gold); color: var(--navy); font-family: var(--font-head); }
.tool-teaser:hover, .tool-cta:hover { border-color: var(--navy-2); border-left-color: var(--gold); box-shadow: 0 10px 24px -16px rgba(10, 26, 82, .9); }
.tool { border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: 0; }
.tool input, .tool select, .tool textarea, .tool fieldset { border-radius: 0; border: 1px solid #9fb0dc; }
.tool-big > div, .rc-kpi { border-radius: 0; background: var(--navy); border-color: var(--navy-2); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.tool button { border-radius: 0; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 600; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); padding: 12px 22px; }
.tool button.secondary { background: var(--navy); color: #fff; box-shadow: none; }

.doc-head h1 { font-weight: 800; letter-spacing: -.02em; }
.prose h2 { color: var(--navy); border-left: 0; padding-left: 0; font-size: 26px; padding-bottom: 8px; border-bottom: 2px solid var(--border); background: linear-gradient(var(--gold), var(--gold)) left bottom / 64px 4px no-repeat; }
.prose th { background: var(--navy); font-family: var(--font-head); }
.prose tbody tr:nth-child(even) td { background: #f3f6fe; }
.table-wrap { border-radius: 0; border-color: var(--border); }
.facts { background: var(--navy); border-radius: 0; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.facts h3 { color: var(--gold); font-family: var(--font-head); }
.prose .note { border-radius: 0; background: #fff7d6; border-left: 5px solid var(--gold); }

.foot { background: var(--navy); color: #b2c2ee; border-top: 4px solid var(--gold); }
.foot a { color: #fff; }

@media (max-width: 800px) {
  .side { background: url(/img/identity-hex.svg) 0 0 / 34.64px 60px, linear-gradient(135deg, #0f2a86, #0a1a52); }
  .side .logo img { height: 32px; margin-bottom: 12px; }
  .side-nav a { border-radius: 0; background: rgba(255, 255, 255, .1); }
  .side-nav a::before { display: none; }
  .ms-hero { padding: 28px 22px 26px; background-size: 170% auto; background-position: 50% 100%; }
  .topbar { border-bottom-width: 1px; }
}
@media (max-width: 480px) {
  .tile { padding: 10px 12px; }
  .ms-hero h1 { font-size: 32px; }
}


/* studio-topic-chips-v1 */
.article-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:1.5rem}.article-topics a{padding:.35rem .7rem;border:1px solid currentColor;border-radius:var(--radius,4px);font:inherit;font-size:.85em}

/* studio-featured-article-v2 */
.featured-image{margin:1.5rem 0}.featured-image img{display:block;max-width:100%;height:auto;border-radius:var(--radius,12px)}.card .thumb,.post .img{position:relative;overflow:hidden}.card .thumb>img,.post .img>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.card .thumb>span,.post .img>span{position:relative;z-index:1}
