/* ===== Theme: Retro Awards Night (responsive) ===== */
:root {
  --bg: #0d1024;
  --panel: #171b36;
  --panel-2: #1e2344;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0ff;
  --muted: #9ba0c8;
  --gold: #f5c451;
  --silver: #cfd6e6;
  --bronze: #e39a64;
  --violet: #a78bfa;
  --pink: #f472b6;
  --grad: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Be Vietnam Pro', 'Noto Sans JP', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(167, 139, 250, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(244, 114, 182, 0.16), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img, canvas { max-width: 100%; }

.container { max-width: 1360px; margin: 0 auto; padding: 0 40px 60px; }

/* ----- Top nav ----- */
.topnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 16, 36, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: 1360px; margin: 0 auto; padding: 12px 40px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px;
}
.topnav .brand { font-weight: 800; margin-right: auto; }
.topnav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.topnav a:hover { color: var(--text); }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a { padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lang-switch a[aria-current="page"] { background: var(--grad); color: #fff; }

/* ----- Hero (gọn) ----- */
.hero { text-align: center; padding: 40px 0 8px; }
.hero-kicker {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.4); color: var(--gold);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 {
  font-size: 34px; font-weight: 800; letter-spacing: -0.01em; margin: 12px 0 4px;
  background: linear-gradient(90deg, #fff 0%, #e9d5ff 50%, #fbcfe8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); font-size: 14px; }
.hero-sub b { color: var(--text); }
.hero-sub .dot { margin: 0 8px; }

.timeline { max-width: 560px; margin: 16px auto 0; }
.disclaimer {
  max-width: 720px; margin: 18px auto 0; padding: 12px 18px; border-radius: 12px;
  font-size: 13px; line-height: 1.6; color: var(--muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.disclaimer b { color: var(--text); font-weight: 600; }
.timeline-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.timeline-bar span { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #34d399, #f5c451); }
.timeline-label { color: var(--muted); font-size: 13px; margin-top: 6px; }
.timeline-label b { color: var(--text); }

/* ----- Chapter (01 / 02 / 03) ----- */
.chapter { margin-top: 72px; }
.chapter:first-child { margin-top: 0; }
.chapter-head {
  display: flex; align-items: center; gap: 18px;
  padding-bottom: 14px; margin: 48px 0 22px;
  border-bottom: 1px solid var(--line);
}
.chapter-no {
  flex: none; overflow-wrap: normal;
  font-size: 44px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chapter-head h2 { font-size: 28px; font-weight: 800; }
.chapter-head p { color: var(--muted); font-size: 14px; }

.block { margin-top: 40px; opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.block.visible { opacity: 1; transform: none; }
.block-title { font-size: 21px; font-weight: 800; }
.block-desc { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ----- KPI nhỏ + ý nghĩa ----- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis.kpis-3 { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.kpi {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; position: relative; overflow: hidden;
}
.kpi::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); }
.kpi-top { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.kpi-icon { font-size: 15px; }
.kpi-value { font-size: 24px; font-weight: 800; margin: 2px 0; font-variant-numeric: tabular-nums; }
.kpi-meaning { color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.insights {
  list-style: none; margin: 18px 0 20px; padding: 14px 20px;
  background: rgba(167, 139, 250, 0.08); border: 1px solid rgba(167, 139, 250, 0.25); border-radius: 14px;
  display: grid; gap: 6px; font-size: 14.5px;
}
.insights b { color: var(--gold); }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.panel h3 { font-size: 15px; margin-bottom: 10px; }

/* ----- Avatar ----- */
.avatar {
  --h: 260;
  flex: none; display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 40) 75% 50%));
  color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}
.avatar.has-photo { overflow: hidden; background: var(--panel); }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar.sm { width: 28px; height: 28px; font-size: 11px; }
.avatar.md { width: 56px; height: 56px; font-size: 20px; box-shadow: 0 0 0 3px var(--gold); }
.avatar.lg { width: 84px; height: 84px; font-size: 28px; }
.avatar.xl { width: 112px; height: 112px; font-size: 38px; box-shadow: 0 0 0 4px var(--gold), 0 0 40px rgba(245, 196, 81, 0.5); }

/* ----- Podium ----- */
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; align-items: end; gap: 24px; margin-top: 28px; }
.podium-col { display: flex; flex-direction: column; align-items: center; }
.podium-person { text-align: center; padding-bottom: 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.place-1 { cursor: pointer; }
.place-1 .podium-person { animation: float 3.5s ease-in-out infinite; }
.crown { font-size: 40px; margin-bottom: -6px; animation: bob 2s ease-in-out infinite; }
.podium-name { font-size: 20px; font-weight: 700; margin-top: 8px; }
.place-1 .podium-name { font-size: 24px; }
.podium-score { color: var(--gold); font-weight: 800; font-size: 18px; }
.podium-meta { color: var(--muted); font-size: 13px; }
.podium-block {
  width: 100%; border-radius: 16px 16px 6px 6px;
  display: grid; place-items: center; font-size: 44px;
  border: 1px solid var(--line);
}
.place-1 .podium-block { height: 190px; background: linear-gradient(180deg, rgba(245, 196, 81, 0.45), rgba(245, 196, 81, 0.08)); }
.place-2 .podium-block { height: 140px; background: linear-gradient(180deg, rgba(207, 214, 230, 0.35), rgba(207, 214, 230, 0.06)); }
.place-3 .podium-block { height: 105px; background: linear-gradient(180deg, rgba(227, 154, 100, 0.35), rgba(227, 154, 100, 0.06)); }
.place-2 .avatar { box-shadow: 0 0 0 3px var(--silver); }
.place-3 .avatar { box-shadow: 0 0 0 3px var(--bronze); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* ----- Award cards ----- */
.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.award-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.award {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.award:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.award::after {
  content: ''; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 70%);
  pointer-events: none;
}
.award-head { display: flex; gap: 14px; align-items: center; }
.award-icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 26px;
  background: var(--panel-2); border: 1px solid var(--line);
}
.award-title { font-size: 19px; font-weight: 800; }
.award-desc { color: var(--muted); font-size: 13px; }

.winner {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 14px; padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.14), rgba(245, 196, 81, 0.03));
  border: 1px solid rgba(245, 196, 81, 0.28);
}
.winner-info { flex: 1; min-width: 0; }
.winner-label { color: var(--gold); font-size: 12px; font-weight: 600; }
.winner-name { font-size: 18px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.winner-value { font-size: 28px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.winner-value small { font-size: 13px; font-weight: 600; margin-left: 4px; color: var(--muted); }

.runners { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.runners li { display: grid; grid-template-columns: 18px 28px 1fr 80px 78px; align-items: center; gap: 10px; font-size: 14px; }
.runners .pos { color: var(--muted); font-weight: 700; text-align: center; }
.runner-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.runner-value { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .2s; }
.visible .bar span { width: var(--w); }

/* ----- Fun facts ----- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; }
.fact {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; transition: transform .25s;
}
.fact:hover { transform: rotate(-1deg) scale(1.02); }
.fact-icon { font-size: 34px; }
.fact-label { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }
.fact-value {
  font-size: 30px; font-weight: 800; margin: 2px 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fact-detail { color: var(--muted); font-size: 14px; }

/* ----- Charts ----- */
.chart-box-wide { position: relative; height: 280px; }
.flow-monthly { margin-top: 16px; }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.chart-box { position: relative; height: 240px; }

/* ----- Người phụ trách chính ----- */
.owner {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  margin-top: 16px; padding: 36px 26px; border-radius: var(--radius);
  background: radial-gradient(ellipse at top, rgba(245, 196, 81, 0.18), rgba(245, 196, 81, 0.04) 70%);
  border: 1px solid rgba(245, 196, 81, 0.45);
}
.owner-badge {
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: var(--gold); border: 1px solid rgba(245, 196, 81, 0.55); margin-bottom: 6px;
}
.owner-name { font-size: 28px; font-weight: 800; margin-top: 6px; }
.owner-title {
  font-size: 18px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.owner-line { color: var(--muted); max-width: 560px; margin: 4px 0 0; }

/* ----- Leader (dùng lại layout thẻ tester, đổi màu) ----- */
.leader .tester-hero .avatar.xl { box-shadow: 0 0 0 4px #60a5fa, 0 0 40px rgba(96, 165, 250, 0.45); }
.leader .tester-headline, .leader .tester-value { color: #60a5fa; }
.leader .tester-badge { color: #60a5fa; border-color: rgba(96, 165, 250, 0.5); }

/* ----- Role badge ----- */
.role { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: rgba(255, 255, 255, 0.07); color: var(--text); }
.role-dev { background: rgba(167, 139, 250, 0.18); }
.role-allrounder { background: rgba(167, 139, 250, 0.18); }   /* hiển thị như Developer */
.role-tester { background: rgba(52, 211, 153, 0.18); }
.role-owner { background: rgba(245, 196, 81, 0.22); }
.role-brse { background: rgba(34, 211, 238, 0.18); }
.role-leader { background: rgba(96, 165, 250, 0.2); }
.role-ist { background: rgba(251, 146, 60, 0.2); }
.members td:nth-child(2) { text-align: left; }
.members th:nth-child(2) { text-align: left; }

/* ----- Bộ lọc loại ticket ----- */
.type-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.type-filter-label { color: var(--muted); font-size: 13px; font-weight: 600; margin-right: 4px; }
.type-chip {
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); transition: background .15s, color .15s, border-color .15s;
}
.type-chip:hover { color: var(--text); }
.type-chip[aria-pressed="true"] { background: rgba(167, 139, 250, 0.2); border-color: var(--violet); color: var(--text); }
.type-chip:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.type-count { color: var(--muted); font-weight: 500; margin-left: 2px; }
.type-all { border-style: dashed; }
.reopen-empty { color: var(--muted); font-size: 14px; }

/* ----- Ticket theo loại ----- */
.ticket-types-panel { margin-top: 14px; }
.ticket-types-box { position: relative; }

/* ----- Reopen list ----- */
.reopen-list { list-style: none; display: grid; gap: 10px; margin: 4px 0 0; padding: 0; }
.reopen-list li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.reopen-count { font-weight: 800; font-size: 18px; color: var(--violet); text-align: right; font-variant-numeric: tabular-nums; }
.reopen-body { min-width: 0; }
.reopen-key { font-weight: 700; font-size: 14px; }
.reopen-type { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }
.reopen-summary { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----- Members table ----- */
.table-wrap { padding: 8px 8px; margin-top: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.members { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 14px; }
.members th, .members td { padding: 12px 16px; text-align: right; font-variant-numeric: tabular-nums; }
.members th:first-child, .members td:first-child { text-align: left; }
.members th { color: var(--muted); font-weight: 600; cursor: pointer; user-select: none; border-bottom: 1px solid var(--line); white-space: nowrap; }
.members th:hover, .members th.sorted { color: var(--text); }
.members td { border-bottom: 1px solid var(--line); }
.members tbody tr:last-child td { border-bottom: none; }
.members tbody tr { transition: background .15s; }
.members tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.members .member { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; overflow-wrap: normal; }
.members .score { font-weight: 800; color: var(--violet); }
.members tr.top-1 .score { color: var(--gold); }
.members tr.top-2 .score { color: var(--silver); }
.members tr.top-3 .score { color: var(--bronze); }

.footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 64px; }
.footer p { margin: 0; }
.footer-note { max-width: 640px; margin: 0 auto 12px !important; line-height: 1.6; }
.footer-note b { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .block { opacity: 1; transform: none; }
  .bar span { width: var(--w); }
}

/* ----- Tester spotlight ----- */
.tester {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: 16px;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.tester-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.tester-hero .avatar.xl { box-shadow: 0 0 0 4px #34d399, 0 0 40px rgba(52, 211, 153, 0.45); }
.tester-badge {
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #34d399; border: 1px solid rgba(52, 211, 153, 0.5); margin-bottom: 6px;
}
.tester-name { font-size: 24px; font-weight: 800; margin-top: 6px; }
.tester-headline { color: #34d399; font-weight: 600; }
.tester-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: center; }
.tester-stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.tester-value { font-size: 26px; font-weight: 800; color: #34d399; font-variant-numeric: tabular-nums; margin: 2px 0; }

/* ----- All-rounder spotlight ----- */
.allrounder {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: 16px;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.13), rgba(244, 114, 182, 0.08));
  border: 1px solid rgba(251, 146, 60, 0.4);
}
.allrounder-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.allrounder-hero .avatar.xl { box-shadow: 0 0 0 4px #fb923c, 0 0 40px rgba(251, 146, 60, 0.45); }
.allrounder-badge {
  padding: 4px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.55); margin-bottom: 6px;
}
.allrounder-name { font-size: 24px; font-weight: 800; margin-top: 6px; }
.phase-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.pillar-icon { font-size: 30px; }
.pillar-title { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.pillar-item { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.pillar-label { color: var(--muted); font-size: 13px; }
.pillar-value { font-size: 22px; font-weight: 800; color: #fb923c; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pillar-note { color: #fdba74; font-size: 12px; text-align: right; margin-top: -6px; }

/* ----- Mỗi người một dấu ấn ----- */
.shoutouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.shoutout {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, border-color .25s;
}
.shoutout:hover { transform: translateY(-4px) rotate(-0.5deg); border-color: rgba(245, 196, 81, 0.45); }
.shoutout-top { display: flex; align-items: center; gap: 12px; }
.shoutout .avatar.md { width: 48px; height: 48px; font-size: 17px; box-shadow: 0 0 0 2px rgba(245, 196, 81, 0.6); }
.shoutout-who { min-width: 0; }
.shoutout-name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shoutout-title { color: var(--gold); font-weight: 700; font-size: 14px; }
.shoutout-line { color: var(--muted); font-size: 13px; }
.shoutout-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(167, 139, 250, 0.12); border: 1px solid rgba(167, 139, 250, 0.3); }

/* ===== Responsive ===== */
/* Grid/flex children must be allowed to shrink below their content width */
.kpis > *, .award-grid > *, .facts > *, .charts > *, .shoutouts > *, .pillars > *, .tester-stats > *, .tester > *, .allrounder > * { min-width: 0; }

@media (max-width: 1200px) {
  .container { padding: 0 28px 56px; }
  .topnav-inner { padding: 12px 28px; }
  .award-grid, .facts { grid-template-columns: repeat(2, 1fr); }
  .shoutouts { grid-template-columns: repeat(3, 1fr); }
  .tester, .allrounder { grid-template-columns: 260px 1fr; }
}

@media (max-width: 1024px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .shoutouts { grid-template-columns: repeat(2, 1fr); }
  .tester, .allrounder { grid-template-columns: 1fr; }
  .tester-stats, .pillars { grid-template-columns: repeat(3, 1fr); }
  .podium { gap: 16px; }
  .chapter-no { font-size: 38px; }
  .chapter-head h2 { font-size: 24px; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 110px; }
  .container { padding: 0 16px 48px; }
  .topnav-inner { padding: 10px 16px; gap: 6px 16px; }
  /* Brand + language switch on the first row, section links wrap below */
  .topnav .brand { order: -2; }
  .lang-switch { order: -1; }
  .topnav-inner::after { content: ''; order: -1; flex-basis: 100%; height: 0; }
  .topnav-inner { row-gap: 4px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 28px; }
  .hero-sub .dot { display: none; }
  .chapter { margin-top: 48px; }
  .chapter-head { gap: 12px; margin: 36px 0 18px; }
  .chapter-no { font-size: 32px; }
  .chapter-head h2 { font-size: 21px; }
  .block { margin-top: 32px; }
  .kpis.kpis-3 { grid-template-columns: repeat(2, 1fr); }
  .charts, .award-grid, .award-grid.cols-2, .facts { grid-template-columns: 1fr; }
  .tester-stats, .pillars { grid-template-columns: repeat(2, 1fr); }
  .tester, .allrounder { padding: 20px; }
  .podium-name { font-size: 16px; }
  .place-1 .podium-name { font-size: 18px; }
  .podium-meta { font-size: 12px; }
  .place-1 .podium-block { height: 150px; }
  .place-2 .podium-block { height: 110px; }
  .place-3 .podium-block { height: 80px; }
  .podium-block { font-size: 34px; }
  .podium .avatar.xl { width: 84px; height: 84px; font-size: 28px; }
  .podium .avatar.lg { width: 64px; height: 64px; font-size: 22px; }
  .owner { padding: 28px 18px; }
  .owner-name { font-size: 24px; }
  .chart-box-wide { height: 240px; }
  .chart-box { height: 260px; }
}

@media (max-width: 540px) {
  .kpis, .kpis.kpis-3, .shoutouts, .tester-stats, .pillars { grid-template-columns: 1fr; }
  .podium { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
  .podium-col.place-1 { order: -1; }
  .podium-block { display: none; }
  .podium-person { padding-bottom: 8px; }
  .award { padding: 18px; }
  .winner-value { font-size: 22px; }
  .runners li { grid-template-columns: 18px 28px 1fr 64px; }
  .runners .bar { display: none; }
  .members th, .members td { padding: 10px 12px; }
}
