/* ==========================================================================
   UnblockedTech — design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:            #ffffff;
  --bg-soft:       #f6f8fb;
  --bg-elev:       #ffffff;
  --surface-line:  #e5e9f0;
  --text:          #12161f;
  --text-soft:     #4b5566;
  --text-mute:     #77808f;
  --accent:        #1257e0;
  --accent-soft:   #e8efff;
  --accent-text:   #0b3fa8;
  --accent-2:      #00867d;
  --warn-bg:       #fff8e6;
  --warn-line:     #f0dca8;
  --shadow-sm:     0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .05);
  --shadow-md:     0 4px 12px rgba(16, 24, 40, .07), 0 2px 4px rgba(16, 24, 40, .04);
  --shadow-lg:     0 12px 32px rgba(16, 24, 40, .10), 0 4px 8px rgba(16, 24, 40, .04);
  --radius:        14px;
  --radius-sm:     9px;
  --maxw:          1180px;
  --readw:         720px;
  --font-ui:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display:  "Space Grotesk", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:     ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:           #0d1117;
    --bg-soft:      #131a24;
    --bg-elev:      #161d28;
    --surface-line: #26303d;
    --text:         #e9edf4;
    --text-soft:    #b3bdcc;
    --text-mute:    #8b95a5;
    --accent:       #6ea8ff;
    --accent-soft:  #172542;
    --accent-text:  #a9c9ff;
    --accent-2:     #4fd1c5;
    --warn-bg:      #241f10;
    --warn-line:    #4a3f1c;
    --shadow-sm:    0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md:    0 4px 12px rgba(0, 0, 0, .45);
    --shadow-lg:    0 14px 34px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  --bg:           #0d1117;
  --bg-soft:      #131a24;
  --bg-elev:      #161d28;
  --surface-line: #26303d;
  --text:         #e9edf4;
  --text-soft:    #b3bdcc;
  --text-mute:    #8b95a5;
  --accent:       #6ea8ff;
  --accent-soft:  #172542;
  --accent-text:  #a9c9ff;
  --accent-2:     #4fd1c5;
  --warn-bg:      #241f10;
  --warn-line:    #4a3f1c;
  --shadow-sm:    0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md:    0 4px 12px rgba(0, 0, 0, .45);
  --shadow-lg:    0 14px 34px rgba(0, 0, 0, .5);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.018em; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--surface-line); margin: 2.4rem 0; }
code, pre { font-family: var(--font-mono); font-size: .9em; }
code { background: var(--bg-soft); border: 1px solid var(--surface-line); padding: .1em .38em; border-radius: 5px; }
blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.2em;
  border-left: 3px solid var(--accent);
  color: var(--text-soft); font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--surface-line);
}
.head-row { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; color: var(--text); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 34px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brand-tag { display: block; font-family: var(--font-ui); font-size: .66rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-top: -2px; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 3px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5rem .72rem; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: var(--text-soft);
}
.nav a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }

.head-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--surface-line); border-radius: 9px;
  color: var(--text-soft); cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
[data-theme="dark"] .i-sun, :root:not([data-theme="light"]) .i-sun { display: none; }
[data-theme="dark"] .i-moon, :root:not([data-theme="light"]) .i-moon { display: block; }
.i-moon { display: none; }
[data-theme="light"] .i-sun { display: block; }
[data-theme="light"] .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .i-sun { display: block; }
  :root:not([data-theme="dark"]) .i-moon { display: none; }
}

@media (max-width: 940px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-elev); border-bottom: 1px solid var(--surface-line);
    box-shadow: var(--shadow-lg); padding: 10px 20px 16px;
  }
  .nav[hidden] { display: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: .7rem .8rem; font-size: .95rem; }
}

/* ---------- Search ---------- */
.searchbar { position: relative; margin-left: auto; max-width: 260px; flex: 1 1 180px; }
.searchbar input {
  width: 100%; font: inherit; font-size: .875rem; padding: .5rem .8rem .5rem 2.1rem;
  border: 1px solid var(--surface-line); border-radius: 9px;
  background: var(--bg-soft); color: var(--text);
}
.searchbar input::placeholder { color: var(--text-mute); }
.searchbar svg { position: absolute; left: .65rem; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-mute); }
@media (max-width: 940px) { .searchbar { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 46px 0 30px; border-bottom: 1px solid var(--surface-line); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .74rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-soft);
  padding: .34rem .68rem; border-radius: 100px; margin-bottom: 16px;
}
.hero h1 { font-size: clamp(1.85rem, 4.4vw, 2.9rem); max-width: 20ch; margin-bottom: .4em; }
.hero p.lede { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--text-soft); max-width: 62ch; margin-bottom: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; }
.hero-stats div { font-size: .84rem; color: var(--text-mute); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.28rem; color: var(--text); line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: 1.42rem; margin: 0; }
.sec-head p { margin: 0; color: var(--text-mute); font-size: .9rem; }
.sec-head a { font-size: .875rem; font-weight: 600; }

/* ---------- Post cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: var(--bg-elev); border: 1px solid var(--surface-line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--surface-line)); }
.card-thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); position: relative; overflow: hidden; border-bottom: 1px solid var(--surface-line); }
.card-thumb svg { width: 100%; height: 100%; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.09rem; margin-bottom: .45em; letter-spacing: -.015em; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { font-size: .915rem; color: var(--text-soft); margin-bottom: 1em; }
.card-meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--text-mute); }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; flex: 0 0 3px; }
.chip {
  display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent-text); background: var(--accent-soft); padding: .26rem .58rem; border-radius: 6px; margin-bottom: 12px;
}
.chip:hover { text-decoration: none; filter: brightness(.97); }

/* Featured card */
.card-feature { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .card-feature { flex-direction: row; align-items: stretch; }
  .card-feature .card-thumb { flex: 0 0 46%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--surface-line); }
  .card-feature .card-body { padding: 30px 34px; justify-content: center; }
  .card-feature h3 { font-size: 1.72rem; }
  .card-feature p { font-size: 1rem; }
}

/* ---------- List rows (compact archive) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--surface-line); }
.rows li { border-bottom: 1px solid var(--surface-line); }
.rows a { display: flex; gap: 16px; align-items: baseline; padding: 15px 4px; color: var(--text); }
.rows a:hover { text-decoration: none; background: var(--bg-soft); }
.rows .r-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; flex: 1; }
.rows a:hover .r-title { color: var(--accent); }
.rows .r-date { font-size: .8rem; color: var(--text-mute); white-space: nowrap; }

/* ---------- Pagination ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 34px 0 0; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 .7rem;
  display: inline-grid; place-items: center;
  border: 1px solid var(--surface-line); border-radius: 9px;
  font-size: .9rem; font-weight: 600; color: var(--text-soft); background: var(--bg-elev);
}
.pager a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.pager .is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager .is-gap { border: 0; background: none; min-width: 20px; }

/* ---------- Ad slots ---------- */
.ad-slot {
  margin: 34px auto; max-width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 96px; padding: 14px;
  border: 1px dashed var(--surface-line); border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.ad-slot > .ad-label { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.ad-slot ins { display: block; width: 100%; }
.ad-slot:empty, .ad-slot.is-live { border: 0; background: none; min-height: 0; padding: 0; }

/* ---------- Article ---------- */
.crumbs { font-size: .82rem; color: var(--text-mute); padding: 20px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--surface-line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--accent); }

.post-head { padding: 12px 0 26px; border-bottom: 1px solid var(--surface-line); margin-bottom: 30px; }
.post-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .5em; max-width: 26ch; }
.post-head .lede { font-size: 1.08rem; color: var(--text-soft); max-width: 66ch; }
.byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .86rem; color: var(--text-mute); margin-top: 22px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .82rem;
  font-family: var(--font-display);
}
.byline b { color: var(--text); font-weight: 600; }

.post-layout { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr); padding-bottom: 50px; }
@media (min-width: 1040px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 290px; }
}
.prose { max-width: var(--readw); font-size: 1.045rem; }
.prose > h2 {
  font-size: 1.55rem; margin-top: 2.2em; padding-top: .2em;
  scroll-margin-top: 90px;
}
.prose > h3 { font-size: 1.19rem; margin-top: 1.9em; scroll-margin-top: 90px; }
.prose > h2 + h3 { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 650; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: .84rem; color: var(--text-mute); margin-top: .7em; text-align: center; }

.callout {
  background: var(--bg-soft); border: 1px solid var(--surface-line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 2em 0; font-size: .97rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout b { display: block; font-family: var(--font-display); margin-bottom: .3em; color: var(--text); }

.tbl-wrap { overflow-x: auto; margin: 2em 0; border: 1px solid var(--surface-line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--surface-line); }
th { background: var(--bg-soft); font-family: var(--font-display); font-weight: 600; font-size: .84rem; letter-spacing: .01em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }

/* TOC */
.toc {
  background: var(--bg-soft); border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 2.4em;
  font-size: .93rem;
}
.toc > b { font-family: var(--font-display); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); display: block; margin-bottom: .6em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: .3em; }

/* Sidebar */
.side { display: flex; flex-direction: column; gap: 26px; align-self: start; }
@media (min-width: 1040px) { .side { position: sticky; top: 86px; } }
.side-box { background: var(--bg-elev); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 20px 22px; }
.side-box h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { margin-bottom: 13px; padding-bottom: 13px; border-bottom: 1px solid var(--surface-line); font-size: .93rem; line-height: 1.45; }
.side-box li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.side-box li a { color: var(--text); font-weight: 500; }
.side-box li a:hover { color: var(--accent); text-decoration: none; }
.side-box li span { display: block; font-size: .76rem; color: var(--text-mute); margin-top: 3px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a {
  font-size: .78rem; padding: .3rem .6rem; border-radius: 6px;
  background: var(--bg-soft); border: 1px solid var(--surface-line); color: var(--text-soft);
}
.tag-cloud a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Post foot */
.post-foot { border-top: 1px solid var(--surface-line); margin-top: 40px; padding-top: 30px; max-width: var(--readw); }
.author-card { display: flex; gap: 16px; background: var(--bg-soft); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 20px 22px; }
.author-card .avatar { width: 48px; height: 48px; flex: 0 0 48px; font-size: 1rem; }
.author-card h4 { margin-bottom: .2em; font-size: 1rem; }
.author-card p { font-size: .89rem; color: var(--text-soft); margin: 0; }
.author-card .role { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-mute); margin-bottom: .5em; }

/* ---------- Static page ---------- */
.page-body { padding: 26px 0 60px; }
.page-body .prose h2:first-child { margin-top: 0; }
.legal-meta { font-size: .85rem; color: var(--text-mute); border: 1px solid var(--surface-line); background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 2em; }
.legal-meta p { margin: 0; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; gap: 16px; max-width: 620px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35em; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .96rem; padding: .65rem .8rem;
  border: 1px solid var(--surface-line); border-radius: var(--radius-sm);
  background: var(--bg-elev); color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: .79rem; color: var(--text-mute); margin-top: .35em; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  background: var(--accent); color: #fff; border: 0; border-radius: var(--radius-sm);
  padding: .72rem 1.35rem; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--surface-line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.form-note { font-size: .85rem; color: var(--text-mute); }
.contact-cols { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact-cols { grid-template-columns: 1.25fr .75fr; } }

/* ---------- Newsletter ---------- */
.nl {
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft));
  border: 1px solid var(--surface-line); border-radius: var(--radius);
  padding: 32px 34px; margin: 46px 0;
  display: grid; gap: 20px; align-items: center;
}
@media (min-width: 820px) { .nl { grid-template-columns: 1.1fr .9fr; } }
.nl h3 { font-size: 1.3rem; margin-bottom: .3em; }
.nl p { margin: 0; font-size: .93rem; color: var(--text-soft); }
.nl-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; }
@media (min-width: 820px) { .nl-actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--surface-line); background: var(--bg-soft); padding: 46px 0 26px; margin-top: 40px; font-size: .9rem; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-grid h5 { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .55em; }
.foot-grid a { color: var(--text-soft); font-size: .9rem; }
.foot-grid a:hover { color: var(--accent); }
.foot-about p { color: var(--text-soft); font-size: .89rem; max-width: 40ch; margin-top: 14px; }
.foot-bottom {
  border-top: 1px solid var(--surface-line); margin-top: 36px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .82rem; color: var(--text-mute);
}
.foot-bottom p { margin: 0; }
.foot-bottom a { color: var(--text-mute); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mute { color: var(--text-mute); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.no-results { padding: 40px 0; text-align: center; color: var(--text-mute); }

/* ---------- Cookie banner ---------- */
.cookie-bar {
  position: fixed; inset: auto 16px 16px 16px; z-index: 90;
  max-width: 720px; margin-inline: auto;
  background: var(--bg-elev); border: 1px solid var(--surface-line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; font-size: .89rem;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
.cookie-bar p { margin: 0; flex: 1 1 300px; color: var(--text-soft); }
.cookie-bar .btn { padding: .55rem 1.1rem; font-size: .88rem; }
.cookie-bar[hidden] { display: none; }
