:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
  --accent:#6d28d9;   /* violet */
  --accent2:#111827;  /* near black */
  --accentSoft: rgba(109,40,217,.10);
  --accentLine: rgba(109,40,217,.22);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
}

img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 16px}

.skip{
  position:absolute; left:-9999px; top:auto;
}
.skip:focus{
  left:16px; top:12px;
  background:#fff; padding:10px 12px; border:1px solid var(--border);
  border-radius:10px; z-index:9999;
}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}

.header{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand .logo{
  font-weight:900;
  letter-spacing:.2px;
  font-size:18px;
}
.brand .sub{color:var(--muted); font-size:12.5px}

.nav{
  display:flex; flex-wrap:wrap; gap:10px;
  justify-content:flex-end;
}
.nav a{
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav a:hover{
  border-color:var(--border);
  background:#fafafa;
}

.hero{padding:18px 0 12px}
.heroGrid{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap:16px;
}

.heroCard{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.heroMedia{
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, rgba(17,24,39,.05), rgba(109,40,217,.10));
}
.heroBody{padding:18px 18px 16px}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12px; color:var(--muted);
  text-transform:uppercase; letter-spacing:.08em;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  box-shadow:0 0 0 4px rgba(109,40,217,.10);
}
.hero h1{
  margin:10px 0 8px;
  font-size:30px;
  line-height:1.15;
}
.lead{margin:0; color:#374151; font-size:16px}
.heroMeta{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:14px;
}
.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fafafa;
  color:#374151;
}

.sideCard{padding:16px}
.badges{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--accentLine);
  background:var(--accentSoft);
}

.stack{display:grid; gap:10px; margin:10px 0 14px}
.stackItem{
  display:block;
  padding:12px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  text-decoration:none;
  color:inherit;
  background:#fff;
}
.stackItem:hover{background:#fafafa}
.stackTitle{display:block; font-weight:800; font-size:13px}
.stackSub{display:block; font-size:12.5px; color:var(--muted); margin-top:2px}

.note{
  font-size:12.5px;
  color:var(--muted);
  border-top:1px dashed var(--border);
  padding-top:12px;
}

.main{padding:12px 0 28px}

.grid{display:grid; gap:16px}

.article{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}

.articleHeader{
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--border);
}
.tag{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid var(--accentLine);
  background:var(--accentSoft);
}
.pill{
  width:10px; height:10px; border-radius:999px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}
.dek{margin-top:10px; color:var(--muted); font-size:13px; max-width:62ch}

.tagSport{background: rgba(17,24,39,.04); border-color: rgba(17,24,39,.10)}
.pillSport{background: #111827; box-shadow:0 0 18px rgba(17,24,39,.14)}

.tagAmt{background: rgba(109,40,217,.06); border-color: rgba(109,40,217,.14)}
.pillAmt{background: #6d28d9; box-shadow:0 0 18px rgba(109,40,217,.20)}

.tagShow{background: rgba(99,102,241,.08); border-color: rgba(99,102,241,.18)}
.pillShow{background: #6366f1}

.tagData{background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.20)}
.pillData{background: #10b981}

.meta{
  text-align:right;
  font-size:12.5px;
  color:var(--muted);
  min-width:170px;
}
.meta strong{color:#374151}

.figure{margin:0}
.figure img{
  width:100%;
  background:#f3f4f6;
}
.figure figcaption{
  padding:10px 18px;
  font-size:12.5px;
  color:var(--muted);
  border-bottom:1px solid var(--border);
}

.articleBody{padding:16px 18px}
.articleBody h2{margin:0 0 10px; font-size:22px; line-height:1.25}
.articleBody h3{margin:16px 0 6px; font-size:16px}
.articleBody p{margin:0 0 12px}

.footer{
  padding:16px 4px 0;
  color:var(--muted);
}
.footer a{color:inherit}
.small{font-size:12.5px}

.cookie{
  position:fixed; left:12px; right:12px; bottom:12px;
  display:none;
  z-index:9999;
}
.cookieInner{
  max-width:var(--max);
  margin:0 auto;
  background:#ffffff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:12px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.cookie p{
  margin:0;
  color:#374151;
  font-size:13px;
  max-width:70ch;
}
.cookie a{color:var(--accent); text-decoration:none}
.cookie a:hover{text-decoration:underline}
.cookieActions{display:flex; gap:10px; flex-shrink:0}
.btn{
  font:inherit;
  border-radius:999px;
  padding:10px 12px;
  border:1px solid var(--border);
  background:#fafafa;
  cursor:pointer;
}
.btn:hover{background:#f3f4f6}
.btnPrimary{
  border-color: rgba(109,40,217,.30);
  background: linear-gradient(90deg, rgba(17,24,39,.92), rgba(109,40,217,.92));
  color:#fff;
}
.btnPrimary:hover{
  background: linear-gradient(90deg, rgba(17,24,39,.98), rgba(109,40,217,.98));
}

@media (max-width: 960px){
  .heroGrid{grid-template-columns: 1fr}
  .meta{min-width:auto}
  .articleHeader{flex-direction:column; align-items:flex-start}
  .meta{text-align:left}
  .hero h1{font-size:26px}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important;}
}
