/* KickOffKits — site styles */
:root {
  --ink: #0f1430; --muted: #5a6280; --line: #e2e6f0; --bg: #ffffff; --soft: #f3f6fb; --card: #ffffff;
  --navy: #16204a; --navy-2: #1f2f6e; --sky: #38b6ea; --sky-ink: #0b6fa0; --price: #16204a; --sale: #d92d4b;
  --shadow: 0 1px 2px rgba(15,20,48,.06), 0 8px 24px rgba(15,20,48,.07);
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1fa; --muted: #a2abc6; --line: #262c45; --bg: #0b0f22; --soft: #121831; --card: #151b36;
    --price: #8fd3f5; --sky-ink: #7fd0f5; --sale: #ff6b84; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
  }
}
:root[data-theme="dark"] {
  --ink: #eef1fa; --muted: #a2abc6; --line: #262c45; --bg: #0b0f22; --soft: #121831; --card: #151b36;
  --price: #8fd3f5; --sky-ink: #7fd0f5; --sale: #ff6b84; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.3);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.display { font-family: "Barlow Condensed", Impact, "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; line-height: .95; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

/* Strip + header */
.strip { background: var(--navy); color: #e6ecfb; font-size: 13px; }
.strip .wrap { display: flex; justify-content: center; gap: 28px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.strip b { color: var(--sky); font-weight: 600; }
header.site { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: Ubuntu, "Segoe UI", Arial, sans-serif; font-weight: 500; font-size: 26px; letter-spacing: -.2px; color: #1c1a4b; white-space: nowrap; }
.logo .mark { width: 40px; height: 40px; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) header.site .logo { color: #fff; } :root:not([data-theme="light"]) header.site .logo .mark { background: #fff; border-radius: 50%; padding: 3px; } }
:root[data-theme="dark"] header.site .logo { color: #fff; }
nav.main { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
nav.main a { padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-color: var(--sky); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input { width: 240px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: 999px; padding: 9px 14px 9px 36px; font: inherit; font-size: 14px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-results { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; max-height: 420px; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: none; }
.search-results.open { display: block; }
.search-results a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; font-size: 14px; }
.search-results a:hover, .search-results a.active { background: var(--soft); }
.search-results img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; flex: none; }
.search-results .p { font-weight: 700; color: var(--price); white-space: nowrap; margin-left: auto; }
.search-results .empty { padding: 12px; color: var(--muted); font-size: 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); align-items: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; padding: 13px 22px; border-radius: 10px; font-size: 15px; border: 0; transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.45); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-navy { background: var(--sky); color: var(--navy); } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2b62b8 0%, transparent 60%), linear-gradient(160deg, #111a40, #1c2a63); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: rgba(56,182,234,.14); color: var(--sky); border: 1px solid rgba(56,182,234,.4); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.hero h1 { font-size: clamp(46px, 6vw, 76px); margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lead { font-size: 18px; color: #d3dcf3; max-width: 520px; }
.cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.hero-stats div { font-size: 13px; color: #b4c1e6; }
.hero-stats strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 32px; color: #fff; line-height: 1.05; }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.collage a { background: #fff; border-radius: 16px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.28); position: relative; transition: transform .15s; }
.collage a:nth-child(2), .collage a:nth-child(5) { transform: translateY(-18px); }
.collage a:hover { transform: translateY(-22px); }
.collage img { width: 100%; height: 100%; object-fit: contain; }
.collage .pill { position: absolute; bottom: 8px; left: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }

/* Trust bar */
.trust { border-bottom: 1px solid var(--line); background: var(--soft); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.trust svg { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--sky-ink); }
.trust b { display: block; color: var(--ink); font-size: 15px; }

/* Sections */
section.block { padding: 64px 0 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { font-size: 42px; }
.sec-head p { color: var(--muted); margin-top: 6px; }
.sec-head .more { font-weight: 700; color: var(--sky-ink); white-space: nowrap; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat .img { background: #fff; border-radius: 12px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; }
.cat .img img { width: 88%; height: 88%; object-fit: contain; }
.cat .img.cover img { width: 100%; height: 100%; object-fit: cover; }
.cat b { display: block; font-size: 15px; }
.cat span { font-size: 13px; color: var(--muted); }

/* Product grid */
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; background: var(--card); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sort { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; }
.count { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card .pic { background: #fff; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--line); }
.card .pic img { width: 82%; height: 82%; object-fit: contain; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--sky); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.badge.sale { background: var(--sale); color: #fff; }
.card .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .shop { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card .shop i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; display: inline-block; }
.card .name { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card .price { font-weight: 800; font-size: 19px; color: var(--price); }
.card .was { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.card .go { font-size: 13px; font-weight: 700; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card .go { background: var(--sky); color: var(--navy); } }
.load-more { display: flex; justify-content: center; margin-top: 26px; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; }

/* Guides */
.guides { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.guide { border-radius: 18px; overflow: hidden; position: relative; min-height: 340px; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.guide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.65)); }
.guide.c1 { background-color: #1f6fb2; } .guide.c2 { background-color: #1d2a6b; } .guide.c3 { background-color: #6b1d3a; } .guide.c4 { background-color: #0f5a6b; }
.guide img { position: absolute; top: 16px; right: 16px; width: 42%; max-width: 170px; background: #fff; border-radius: 14px; padding: 8px; transform: rotate(4deg); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.guide > div { position: relative; z-index: 1; }
.guide .k { font-size: 12px; font-weight: 700; color: var(--sky); text-transform: uppercase; letter-spacing: 1px; }
.guide h3 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 30px; line-height: 1; margin-top: 6px; }
.guide p { font-size: 13px; opacity: .85; margin-top: 6px; }
.guide-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-list .guide { min-height: 320px; }

/* Retro band */
.retro { margin-top: 64px; background: #1b1035; color: #fff; }
.retro .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; padding-top: 52px; padding-bottom: 52px; }
.retro h2 { font-size: 56px; }
.retro h2 span { color: #ffd23f; }
.retro p { color: #cfc6e6; margin: 12px 0 22px; }
.retro .btn { background: #ffd23f; color: #1b1035; }
.retro .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.retro .card { background: #fff; color: #0f1430; border: 0; }
.retro .card .price { color: #1b1035; }
.retro .card .go { background: #1b1035; color: #fff; }
.retro .card .row { flex-direction: column; align-items: flex-start; }
.retro .card .go { width: 100%; text-align: center; }
.retro .card .shop { color: #5a6280; }

/* Wallpaper band + gallery */
.walls-band { margin-top: 64px; }
.walls-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.walls-row a, .wall { border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 9/16; display: block; position: relative; }
.walls-row img, .wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.walls-row a:hover img, .wall:hover img { transform: scale(1.04); }
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wall .dl { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255,255,255,.95); color: #0f1430; font-weight: 700; font-size: 14px; text-align: center; padding: 10px; border-radius: 10px; }

/* Newsletter */
.news { margin: 64px auto 0; background: var(--soft); border: 1px solid var(--line); border-radius: 22px; padding: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.news h2 { font-size: 38px; }
.news p { color: var(--muted); margin-top: 6px; }
.news form { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.news .ok { color: var(--sky-ink); font-weight: 600; margin-top: 10px; font-size: 14px; }

/* Page header (category, guides, static pages) */
.page-head { background: linear-gradient(160deg, #111a40, #1c2a63); color: #fff; }
.page-head .wrap { padding-top: 44px; padding-bottom: 44px; }
.crumbs { font-size: 13px; color: #b4c1e6; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); }
.page-head p { color: #d3dcf3; max-width: 720px; margin-top: 12px; font-size: 17px; }

/* Long-form content */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 40px; }
.prose { font-size: 18px; line-height: 1.7; max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: "Barlow Condensed", Impact, sans-serif; text-transform: uppercase; font-size: 36px; line-height: 1.05; margin-top: 48px; padding-top: 14px; border-top: 3px solid var(--sky); }
.prose h3 { font-size: 22px; line-height: 1.25; margin-top: 32px; }
.prose a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a.btn, .prose a.card { text-decoration: none; color: inherit; }
.prose a.btn-navy { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose a.btn-navy { color: var(--navy); } }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); }
.meta { color: var(--muted); font-size: 14px; }
.disclosure { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
.tip { background: var(--soft); border-left: 4px solid var(--sky); padding: 14px 16px; border-radius: 8px; font-size: 16px; }
.pick { display: flex; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--soft); }
.pick img { width: 160px; height: 160px; object-fit: contain; background: #fff; border-radius: 12px; flex: none; }
.pick .tag { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; background: var(--sky); color: var(--navy); padding: 3px 8px; border-radius: 20px; margin-bottom: 6px; }
.pick .name { font-weight: 700; font-size: 17px; line-height: 1.35; }
.pick .price { font-size: 24px; font-weight: 800; color: var(--price); margin: 4px 0 10px; }
.pick .was { font-size: 15px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--card); }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; }
.faq details p { margin-top: 10px; font-size: 16px; }
aside.side { position: sticky; top: 90px; align-self: start; display: grid; gap: 16px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--card); }
.side-box h4 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 22px; margin-bottom: 10px; }
.side-box li { list-style: none; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.side-box li:last-child { border: 0; }
.side-box a:hover { color: var(--sky-ink); }
.toc a { display: block; }
.cat-intro { max-width: 820px; color: var(--muted); font-size: 17px; }
.seo-text { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.seo-text h2 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 30px; margin-bottom: 10px; }
.seo-text p { color: var(--muted); }
.seo-text p + p { margin-top: 10px; }

/* Footer */
footer.site { margin-top: 80px; background: #0b1024; color: #b4bdd8; font-size: 14px; }
footer.site .wrap.cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-top: 48px; padding-bottom: 28px; }
footer.site h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
footer.site li { list-style: none; margin: 7px 0; }
footer.site a:hover { color: #fff; }
footer.site .logo { color: #fff; }
footer.site .logo .mark { background: #fff; border-radius: 50%; padding: 3px; }
footer.site .social { display: flex; gap: 10px; margin-top: 16px; }
footer.site .social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #262f55; display: flex; align-items: center; justify-content: center; }
.legal-line { border-top: 1px solid #1f2747; }
.legal-line .wrap { padding-top: 16px; padding-bottom: 24px; font-size: 12px; color: #7d88aa; }

/* Responsive */
@media (max-width: 1024px) {
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .search input { width: 180px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .collage { max-width: 560px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .guides, .guide-list { grid-template-columns: 1fr 1fr; }
  .guides .guide:first-child { grid-column: 1 / -1; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .retro .wrap, .news { grid-template-columns: 1fr; }
  .walls-row { grid-template-columns: repeat(3, 1fr); }
  .wall-grid { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: 1fr; }
  aside.side { position: static; }
  footer.site .wrap.cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .strip .wrap { font-size: 12px; }
  .strip .wrap span:nth-child(n+2) { display: none; }
  header.site .wrap { gap: 12px; }
  .logo { font-size: 22px; }
  .logo .mark { width: 34px; height: 34px; }
  .search input { width: 42px; padding: 0; height: 42px; color: transparent; cursor: pointer; }
  .search input::placeholder { color: transparent; }
  .search svg { left: 13px; pointer-events: none; }
  .search.expanded input { position: fixed; left: 16px; right: 16px; top: 14px; width: auto; height: 44px; padding: 9px 14px 9px 38px; color: var(--ink); z-index: 40; box-shadow: var(--shadow); }
  .search.expanded input::placeholder { color: var(--muted); }
  .search.expanded svg { position: fixed; left: 29px; top: 36px; z-index: 41; }
  .search-results { position: fixed; left: 16px; right: 16px; width: auto; top: 66px; z-index: 40; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .toolbar > div { min-width: 0; width: 100%; }
  .hero .wrap { padding-top: 40px; padding-bottom: 48px; }
  .hero-stats { gap: 20px; }
  .collage { gap: 10px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 10px; }
  .card .name { font-size: 14px; }
  .card .row { flex-direction: column; align-items: flex-start; }
  .card .go { width: 100%; text-align: center; }
  .card .was { display: block; margin: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .sec-head h2 { font-size: 34px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .guides, .guide-list { grid-template-columns: 1fr; }
  .retro .row3 { gap: 8px; }
  .retro .card .body { padding: 8px; }
  .retro .card .name { font-size: 12px; }
  .retro .card .go { display: none; }
  .walls-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wall-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .news { padding: 24px; }
  .news form { flex-direction: column; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 30px; }
  .pick { flex-direction: column; align-items: flex-start; }
  .pick img { width: 100%; height: 220px; }
  .seo-text { grid-template-columns: 1fr; gap: 24px; }
  footer.site .wrap.cols { grid-template-columns: 1fr; }
}

/* Wallpaper lightbox */
.wall[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,8,22,.92); display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 120px); max-width: min(90vw, 460px); width: auto; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #111; }
.lightbox figcaption { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; width: 48px; height: 48px; }
.lb-nav { background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 34px; width: 52px; height: 52px; border-radius: 50%; flex: none; }
.lb-nav:hover { background: rgba(255,255,255,.22); }
@media (max-width: 640px) {
  .lb-nav { position: absolute; bottom: 20px; width: 46px; height: 46px; font-size: 28px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lightbox img { max-height: calc(100vh - 190px); }
  .lightbox figcaption { padding: 0 56px; }
}

/* Ad slots (only rendered when ads are enabled in config.json) */
.ad-slot { margin: 32px 0; min-height: 280px; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; }
.ad-slot::before { content: "Advertisement"; font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
