@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter Variable";font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono Variable";font-style:normal;font-display:swap;font-weight:100 800;src:url(fonts/jetbrains-mono-cyrillic-wght-normal.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"JetBrains Mono Variable";font-style:normal;font-display:swap;font-weight:100 800;src:url(fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Notell Gaming Updates — colour variables (same family as the docs site). Light by default, dark via prefers-color-scheme or [data-theme]. */
:root {
  --bg: #f7f8fb; --surface: #ffffff; --surface-2: #eff1f6; --text: #1b2230; --muted: #5c667a; --border: #e1e5ee;
  --accent: #4f46e5; --accent-2: #6d6af0; --accent-soft: #eceafd; --accent-text: #3d36c9;
  --code-bg: #0f1623; --code-text: #e3e8f2; --code-bar: #19213a; --inline-code-bg: #eef0f6; --inline-code: #2b2f7e;
  --ok: #0f8a5f; --ok-soft: #e0f6ec; --warn: #a15c00; --warn-soft: #fff1d6; --bad: #c4264b; --bad-soft: #fde5ea; --info-soft: #e4eefc; --info: #1f5fbf;
  --tok-key: #9db4ff; --tok-str: #8ce0b0; --tok-num: #ffc27a; --tok-kw: #d6a4ff; --tok-com: #8d98b4; --tok-flag: #ffd37a; --tok-var: #7fd8e6; --tok-url: #9fc3ff; --tok-punct: #8895b4;
  --header-h: 56px; --radius: 12px; --page: 960px; --gutter: 24px;
  --font: "Inter Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1017; --surface: #141923; --surface-2: #1a2030; --text: #e6e9f0; --muted: #98a2b8; --border: #262d3e;
    --accent: #7c78ff; --accent-2: #9a97ff; --accent-soft: #232256; --accent-text: #aeabff;
    --code-bg: #0a0e16; --code-text: #e3e8f2; --code-bar: #151c2c; --inline-code-bg: #1d2436; --inline-code: #c6c9ff;
    --ok: #4cd6a0; --ok-soft: #123226; --warn: #f0b24a; --warn-soft: #382a10; --bad: #ff7b96; --bad-soft: #3a1620; --info-soft: #14284a; --info: #7db4ff;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1017; --surface: #141923; --surface-2: #1a2030; --text: #e6e9f0; --muted: #98a2b8; --border: #262d3e;
  --accent: #7c78ff; --accent-2: #9a97ff; --accent-soft: #232256; --accent-text: #aeabff;
  --code-bg: #0a0e16; --code-text: #e3e8f2; --code-bar: #151c2c; --inline-code-bg: #1d2436; --inline-code: #c6c9ff;
  --ok: #4cd6a0; --ok-soft: #123226; --warn: #f0b24a; --warn-soft: #382a10; --bad: #ff7b96; --bad-soft: #3a1620; --info-soft: #14284a; --info: #7db4ff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font); font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
code, pre, kbd { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }

/* ---- header */
.top { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top-in { max-width: var(--page); height: 100%; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 40px; min-width: 0; color: var(--text); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.logo-mark { width: 26px; height: 26px; flex: none; }
.brand-name { font-weight: 650; }
.brand-sub { color: var(--muted); font-weight: 450; padding-left: 10px; border-left: 1px solid var(--border); line-height: 1.1; }
.top-tools { display: flex; align-items: center; gap: 2px; flex: none; }
.top-link, .lang-switch, .icon-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; border: 0; border-radius: 8px; background: none; color: var(--muted); text-decoration: none; font: inherit; cursor: pointer; transition: background .12s, color .12s; }
.top-link { padding: 0 12px; font-size: .9rem; font-weight: 500; }
.icon-btn { width: 40px; }
.lang-switch { min-width: 40px; padding: 0 8px; font-size: .82rem; font-weight: 650; letter-spacing: .03em; }
.top-link:hover, .lang-switch:hover, .icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* ---- page frame */
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); min-height: calc(100vh - var(--header-h) - 120px); }

/* ---- index: hero, filters, timeline */
.hero { padding: 80px 0 40px; }
.hero h1 { margin: 0 0 14px; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.hero p { margin: 0; max-width: 34em; font-size: 1.125rem; line-height: 1.55; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: .875rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .12s, color .12s, border-color .12s; }
.chip:hover { color: var(--text); border-color: var(--accent-2); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.on:hover { color: #fff; }
.timeline { padding-bottom: 24px; }
.month { margin-top: 48px; }
.month-h { margin: 0 0 12px; font-size: .8125rem; line-height: 1.4; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.entry { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 32px; padding: 32px 0; border-top: 1px solid var(--border); }
.entry-date { align-self: start; position: sticky; top: calc(var(--header-h) + 28px); padding-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry.featured::before { content: ""; position: absolute; left: -16px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; background: var(--accent); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 10px; }
.entry-meta:empty { display: none; }
.entry-title { margin: 0; font-size: 1.375rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
.entry-title a { color: var(--text); text-decoration: none; }
.entry-title a:hover { color: var(--accent-text); }
.entry-sum { margin: 10px 0 16px; color: var(--muted); font-size: 1rem; line-height: 1.65; }

/* ---- labels */
.pill { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font: 500 .75rem/1.6 var(--mono); white-space: nowrap; }
.prov { display: inline-flex; align-items: center; padding: 0 8px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .75rem; line-height: 1.6; font-weight: 500; white-space: nowrap; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: .75rem; line-height: 1.6; font-weight: 500; white-space: nowrap; }

/* ---- post */
.post { max-width: 700px; margin: 0 auto; padding-bottom: 8px; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 32px; color: var(--muted); font-size: .9rem; font-weight: 500; text-decoration: none; }
.back:hover { color: var(--accent-text); }
.post-head { padding: 16px 0 36px; border-bottom: 1px solid var(--border); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--muted); font-size: .875rem; }
.post-meta time { margin-right: 4px; font-variant-numeric: tabular-nums; }
.post-head h1 { margin: 20px 0 16px; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.lead { margin: 0; font-size: 1.25rem; line-height: 1.55; color: var(--muted); }
.prose { padding-top: 8px; font-size: 1.0625rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 1em 0; }
.prose h2 { margin: 2.2em 0 .5em; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; }
.prose h3 { margin: 1.9em 0 .4em; font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.01em; font-weight: 650; }
.prose h4 { margin: 1.6em 0 .4em; font-size: 1rem; font-weight: 650; }
.anchor { margin-left: .4em; font-weight: 400; color: var(--muted); text-decoration: none; opacity: 0; transition: opacity .15s; }
h2:hover .anchor, h3:hover .anchor, .anchor:focus { opacity: 1; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 1em 0; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--muted); }
.prose li > ul, .prose li > ol { margin: .3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose :not(pre) > code { background: var(--inline-code-bg); color: var(--inline-code); padding: .12em .4em; border-radius: 6px; font-size: .86em; }
.prose blockquote { margin: 1.2em 0; padding: .1em 0 .1em 1.1em; border-left: 2px solid var(--border); color: var(--muted); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }

.table-wrap { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin: 1.4em 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 0; }
.prose table { width: 100%; min-width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.prose th { text-align: left; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); padding: 10px 16px; white-space: nowrap; }
.prose td { padding: 11px 16px; border-top: 1px solid var(--border); vertical-align: top; }

.code { margin: 1.4em 0; border-radius: var(--radius); overflow: hidden; background: var(--code-bg); border: 1px solid color-mix(in srgb, var(--code-bg) 80%, #fff 20%); }
.code-bar { display: flex; align-items: center; padding: 6px 14px; background: var(--code-bar); font-size: .75rem; color: #a3aecb; min-height: 34px; }
.code-title { font-family: var(--mono); text-transform: lowercase; letter-spacing: .02em; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; color: var(--code-text); font-size: .84rem; line-height: 1.6; tab-size: 2; }
.tok-key { color: var(--tok-key); } .tok-str { color: var(--tok-str); } .tok-num { color: var(--tok-num); } .tok-kw { color: var(--tok-kw); }
.tok-com { color: var(--tok-com); font-style: italic; } .tok-flag { color: var(--tok-flag); } .tok-var { color: var(--tok-var); } .tok-url { color: var(--tok-url); } .tok-punct { color: var(--tok-punct); }

.callout { margin: 1.5em 0; padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); border-left-width: 3px; background: var(--surface); font-size: 1rem; }
.callout > :last-child { margin-bottom: 0; }
.callout p { margin: .4em 0; }
.callout-title { font-weight: 650; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.callout.note { border-left-color: var(--info); background: var(--info-soft); border-color: transparent; border-left-color: var(--info); } .callout.note .callout-title { color: var(--info); }
.callout.tip { border-left-color: var(--ok); background: var(--ok-soft); border-color: transparent; border-left-color: var(--ok); } .callout.tip .callout-title { color: var(--ok); }
.callout.warn { border-left-color: var(--warn); background: var(--warn-soft); border-color: transparent; border-left-color: var(--warn); } .callout.warn .callout-title { color: var(--warn); }
.callout.danger { border-left-color: var(--bad); background: var(--bad-soft); border-color: transparent; border-left-color: var(--bad); } .callout.danger .callout-title { color: var(--bad); }

/* endpoint cards (kept for API posts) */
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 1.2em 0; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ep-method { padding: 2px 10px; border-radius: 6px; font: 700 .75rem/1.6 var(--mono); letter-spacing: .04em; color: var(--info); background: var(--info-soft); }
.ep-post { color: var(--ok); background: var(--ok-soft); } .ep-callback { color: var(--warn); background: var(--warn-soft); } .ep-delete { color: var(--bad); background: var(--bad-soft); }
.ep-put, .ep-patch { color: var(--accent-text); background: var(--accent-soft); }
.ep-path { font-family: var(--mono); font-size: .92rem; font-weight: 600; overflow-wrap: anywhere; }
.ep-name { display: inline-flex; gap: 6px; padding: 1px 8px; border-radius: 999px; background: var(--inline-code-bg); font-size: .78rem; color: var(--muted); }
.ep-name-k { text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }

/* ---- pager, footer */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .12s; }
.pager a:hover { border-color: var(--accent-2); color: var(--text); }
.pager strong { font-size: 1rem; line-height: 1.4; font-weight: 600; letter-spacing: -.005em; }
.pager-k { font-size: .75rem; line-height: 1.4; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pager-d { font-size: .8125rem; color: var(--muted); }
.pager .newer { text-align: right; }
.foot { border-top: 1px solid var(--border); margin-top: 96px; }
.foot-in { max-width: var(--page); margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; color: var(--muted); font-size: .875rem; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.foot-links a:hover { color: var(--accent-text); }

/* ---- tablet / phone */
@media (max-width: 900px) {
  .entry { grid-template-columns: 130px minmax(0, 1fr); column-gap: 24px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .top-link { display: none; }
  .hero { padding: 48px 0 28px; }
  .hero h1, .post-head h1 { font-size: 1.875rem; }
  .hero p { font-size: 1.0625rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .chip { height: 40px; }
  .month { margin-top: 36px; }
  .entry { display: block; padding: 24px 0 28px; }
  .entry-date { position: static; padding: 0 0 8px; }
  .entry.featured::before { left: -12px; top: 24px; bottom: 28px; }
  .entry-title { font-size: 1.25rem; }
  .lead { font-size: 1.125rem; }
  .prose { font-size: 1rem; }
  .prose h2 { font-size: 1.375rem; }
  .pager { grid-template-columns: 1fr; margin-top: 56px; }
  .pager > span { display: none; }
  .pager .newer { text-align: left; }
  .foot { margin-top: 64px; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
/* :::games — compact multi-column list of game titles */
.game-list { margin: 1.25em 0 1.75em; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.game-list-title { font-weight: 650; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.game-list ul { columns: 3 13em; column-gap: 28px; margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.5; }
.game-list li { break-inside: avoid; margin: 0 0 4px; padding: 0; color: var(--text); }
.game-list li::before { content: none; }
@media (max-width: 720px) { .game-list { padding: 14px 16px; } .game-list ul { columns: 2 9em; column-gap: 18px; } }
