/* Hybrid theme: pixel display type for headings/labels, readable sans for content.
   Applied with <html class="theme-hybrid">. Dark purple by default; light variant via data-theme. */
@font-face {
  font-family: 'Jersey 15';
  src: url('fonts/jersey15-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jersey 15';
  src: url('fonts/jersey15-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root.theme-hybrid {
  --pixel: 'Jersey 15', ui-monospace, monospace;
  --bg: #17112b;
  --surface: #221a3d;
  --surface-2: #2c2350;
  --text: #fbf6ea;
  --muted: #b9afd6;
  --border: #4a3d7a;
  --accent: #6fe0cc;
  --accent-ink: #0f0b1e;
  --accent-soft: #2a2550;
  --yellow: #f4d35e;
  --yellow-ink: #1a1230;
  --purple: #4b2393;
  --purple-2: #5b2fb0;
  --ok: #6fe0a4;
  --warn: #f6b85c;
  --shadow: 6px 6px 0 #0c0819;
  --radius: 4px;
  color-scheme: dark;
}
:root.theme-hybrid[data-theme='light'] {
  --bg: #f7f2e6;
  --surface: #fffdf7;
  --surface-2: #efe7d6;
  --text: #1a1230;
  --muted: #5c5378;
  --border: #2a2050;
  --accent: #0f7f6f;
  --accent-ink: #ffffff;
  --accent-soft: #e2f4f0;
  --purple: #4b2393;
  --purple-2: #5b2fb0;
  --ok: #157a46;
  --warn: #9a5b00;
  --shadow: 6px 6px 0 #2a2050;
  color-scheme: light;
}

.theme-hybrid body { background: var(--bg); }

/* Pixel type only for display: logo, headings, labels, stats, buttons */
.theme-hybrid .logo,
.theme-hybrid h1,
.theme-hybrid h2,
.theme-hybrid .px,
.theme-hybrid .label,
.theme-hybrid .stat b,
.theme-hybrid .btn,
.theme-hybrid .nav a {
  font-family: var(--pixel);
  letter-spacing: 0.02em;
}
.theme-hybrid h1, .theme-hybrid h2 { text-transform: uppercase; font-weight: 400; line-height: .95; }
.theme-hybrid h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); text-shadow: 4px 4px 0 #0c0819; }
.theme-hybrid h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.theme-hybrid h1 .y, .theme-hybrid h2 .y { color: var(--yellow); }
.theme-hybrid .label { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 1.15rem; text-transform: uppercase; font-weight: 400; }
.theme-hybrid .label::before { content: ''; width: 9px; height: 9px; background: currentColor; }

/* Top bar & header */
.theme-hybrid .rg-bar { background: #0c0819; color: #e9e2fb; font-family: var(--pixel); letter-spacing: .03em; }
.theme-hybrid .rg-bar .age { border-radius: 0; }
.theme-hybrid .site-header { background: var(--bg); border-bottom: 3px solid #0c0819; }
.theme-hybrid .logo { font-size: 1.9rem; font-weight: 400; color: var(--yellow); text-transform: uppercase; line-height: .95; }
.theme-hybrid .logo small { font-family: var(--font); color: var(--muted); text-transform: none; letter-spacing: 0; }
.theme-hybrid .logo-mark { border-radius: 0; background: var(--yellow); color: var(--yellow-ink); box-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid .nav a { text-transform: uppercase; border-radius: 0; font-weight: 600; }
.theme-hybrid .nav a:hover, .theme-hybrid .nav a[aria-current='page'] { background: var(--surface-2); }
.theme-hybrid .search input { border-radius: 0; border-width: 2px; }
.theme-hybrid .theme-toggle { border-radius: 0; border-width: 2px; }

/* Buttons */
.theme-hybrid .btn { border-radius: 0; text-transform: uppercase; border: 3px solid #0c0819; box-shadow: 4px 4px 0 #0c0819; padding: 10px 22px; font-size: 1.4rem; font-weight: 400; }
.theme-hybrid .btn.yellow { background: var(--yellow); color: var(--yellow-ink); }
.theme-hybrid .btn.outline { background: transparent; color: var(--text); border-color: var(--text); box-shadow: none; }
.theme-hybrid .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #0c0819; filter: none; text-decoration: none; }
.theme-hybrid .btn.outline:hover { box-shadow: none; background: rgba(255,255,255,.06); }

/* Hero */
.theme-hybrid .hx-hero { background: var(--purple); color: #fbf6ea; padding: 56px 0 64px; position: relative; }
.theme-hybrid .hx-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.theme-hybrid .hx-hero p.lead { font-size: 1.15rem; max-width: 620px; color: #efe9ff; }
.theme-hybrid .hx-hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.theme-hybrid .hx-hero .btn.outline { color: #fbf6ea; border-color: #fbf6ea; }
.theme-hybrid .hx-hero .search { max-width: 560px; margin-top: 20px; }
.theme-hybrid .hx-hero .search input { background: #fbf6ea; color: #1a1230; border-color: #0c0819; box-shadow: 4px 4px 0 #0c0819; padding: 14px 16px 14px 42px; }
@media (max-width: 860px) { .theme-hybrid .hx-hero .wrap { grid-template-columns: 1fr; } }

/* Feature card with checkered top and sticker */
.theme-hybrid .hx-feature { background: var(--bg); color: var(--text); border: 3px solid #0c0819; box-shadow: 10px 10px 0 #0c0819; }
.theme-hybrid .hx-feature .checker {
  height: 150px; display: grid; place-items: center;
  background-color: #3a1c78;
  background-image: linear-gradient(45deg, #2c1560 25%, transparent 25%), linear-gradient(-45deg, #2c1560 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #2c1560 75%), linear-gradient(-45deg, transparent 75%, #2c1560 75%);
  background-size: 28px 28px; background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}
.theme-hybrid .sticker { font-family: var(--pixel); font-weight: 400; text-transform: uppercase; background: var(--yellow); color: var(--yellow-ink); padding: 8px 18px; font-size: 2.2rem; transform: rotate(-3deg); border: 3px solid #0c0819; box-shadow: 5px 5px 0 #0c0819; }
.theme-hybrid .hx-feature .inner { padding: 20px 24px 24px; }
.theme-hybrid .hx-feature h3 { font-family: var(--pixel); text-transform: uppercase; font-size: 1.5rem; margin: 6px 0 8px; line-height: 1.1; }
.theme-hybrid .hx-feature p { color: var(--muted); margin-bottom: 10px; }
.theme-hybrid .hx-feature .meta { font-size: .9rem; color: var(--muted); }

/* Pixel divider between sections */
.theme-hybrid .pixel-divider {
  height: 24px; background-color: var(--bg);
  background-image: linear-gradient(45deg, var(--purple) 25%, transparent 25%), linear-gradient(-45deg, var(--purple) 25%, transparent 25%);
  background-size: 24px 24px;
}

/* Stats */
.theme-hybrid .stat { border-radius: 0; border: 3px solid #0c0819; box-shadow: var(--shadow); background: var(--surface); }
.theme-hybrid .stat b { font-size: 3rem; font-weight: 400; color: var(--yellow); line-height: 1; }

/* Section heads */
.theme-hybrid .hx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 56px 0 22px; }
.theme-hybrid .hx-head h2 { margin: 8px 0 0; }
.theme-hybrid .hx-head a { font-weight: 600; }

/* Cards: thick outline, offset shadow, tag */
.theme-hybrid .grid { gap: 22px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.theme-hybrid .card { border-radius: 0; border: 3px solid var(--border); background: var(--surface); box-shadow: var(--shadow); position: relative; }
.theme-hybrid a.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 #0c0819; border-color: var(--accent); }
.theme-hybrid .card .cover { border-bottom: 3px solid var(--border); }
.theme-hybrid .card .stamp + .tag { margin-top: 8px; }
.theme-hybrid .card .tag { align-self: flex-start; margin: 0 0 4px; font-family: var(--pixel); text-transform: uppercase; font-weight: 400; font-size: 1.1rem; background: var(--yellow); color: var(--yellow-ink); padding: 3px 8px; border: 2px solid #0c0819; }
.theme-hybrid .card .tag.teal { background: var(--accent); color: var(--accent-ink); }
.theme-hybrid .card .prov { font-family: var(--pixel); color: var(--accent); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .04em; }
.theme-hybrid .card .title { font-size: 1.12rem; font-weight: 800; }
.theme-hybrid .card .body { padding: 12px 14px 14px; gap: 4px; }
.theme-hybrid .card .foot { margin-top: 6px; padding-top: 8px; border-top: 2px solid var(--surface-2); display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); }
.theme-hybrid .card .foot b { font-family: var(--pixel); color: var(--text); font-weight: 400; font-size: 1.15rem; }
.theme-hybrid .badge { border-radius: 0; }
.theme-hybrid .badge.dark { background: #0c0819; }

/* Provider chips */
.theme-hybrid .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-hybrid .chip { font-family: var(--pixel); text-transform: uppercase; font-weight: 600; padding: 8px 12px; background: var(--surface); border: 3px solid var(--border); color: var(--text); box-shadow: 4px 4px 0 #0c0819; }
.theme-hybrid .chip span { color: var(--accent); margin-left: 6px; }
.theme-hybrid a.chip:hover { border-color: var(--accent); text-decoration: none; }

/* Tables */
.theme-hybrid .table-wrap { border-radius: 0; border: 3px solid var(--border); box-shadow: var(--shadow); }
.theme-hybrid th { font-family: var(--pixel); letter-spacing: .04em; background: var(--surface-2); color: var(--accent); font-size: 1.05rem; font-weight: 400; }

/* Notices & footer */
.theme-hybrid .notice { border-radius: 0; border: 3px solid var(--border); border-left: 8px solid var(--yellow); background: var(--surface); }
.theme-hybrid .site-footer { background: #0f0b1e; border-top: 3px solid #0c0819; color: var(--muted); }
:root.theme-hybrid[data-theme='light'] .site-footer { background: var(--surface-2); }
.theme-hybrid .site-footer h3 { font-family: var(--pixel); text-transform: uppercase; letter-spacing: .03em; }

/* Legibility: heavy pixel weights close up letterforms at small sizes (C→O, G→B, 2→8).
   Small pixel text uses weight 500; game names always use the readable sans. */
.theme-hybrid .nav a, .theme-hybrid .label, .theme-hybrid .card .tag, .theme-hybrid .card .prov,
.theme-hybrid .rg-bar, .theme-hybrid th, .theme-hybrid .chip { font-weight: 500; }
.theme-hybrid .nav { gap: 0; }
.theme-hybrid .nav a { font-size: 1.2rem; padding: 6px 9px; font-weight: 400; }
.theme-hybrid .site-header .search { max-width: 280px; }
.theme-hybrid .rg-bar { font-family: var(--font); letter-spacing: 0; }
.theme-hybrid .hx-feature h3 { font-family: var(--font); text-transform: none; font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; }
.theme-hybrid .label { font-size: 1.15rem; }
@media (max-width: 1180px) and (min-width: 761px) { .theme-hybrid .nav a { font-size: 1.05rem; padding: 6px 6px; } }

/* Colour semantics: green = good RTP, orange = poor RTP. Everything else stays neutral,
   so links and labels use cream/lilac instead of the teal accent. */
:root.theme-hybrid { --accent: #c7b8ff; --accent-ink: #17112b; --link: #fbf6ea; }
:root.theme-hybrid[data-theme='light'] { --accent: #4b2393; --accent-ink: #ffffff; --link: #1a1230; }
.theme-hybrid main a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(199, 184, 255, .45); text-underline-offset: 3px; }
.theme-hybrid main a:hover { text-decoration-color: var(--yellow); }
.theme-hybrid main a.card, .theme-hybrid main a.btn, .theme-hybrid main a.chip, .theme-hybrid main a.hx-feature, .theme-hybrid .letters a { text-decoration: none; }
.theme-hybrid .hx-head a { color: var(--yellow); }
.theme-hybrid .badge.ok { background: #1f9d5a; color: #ffffff; border-color: #0c0819; font-weight: 700; }
.theme-hybrid .badge.warn { background: #d9692b; color: #ffffff; border-color: #0c0819; font-weight: 700; }

/* Ranked list ("Populärast just nu") */
.theme-hybrid .ranklist { list-style: none; margin: 0; padding: 0; border: 3px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.theme-hybrid .ranklist li { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 2px solid var(--surface-2); }
.theme-hybrid .ranklist li:last-child { border-bottom: 0; }
.theme-hybrid .ranklist .rk { font-family: var(--pixel); font-size: 1.6rem; color: var(--muted); text-align: right; }
.theme-hybrid .ranklist li:nth-child(-n + 3) .rk { color: var(--yellow); }
.theme-hybrid .ranklist .th { width: 52px; height: 39px; object-fit: cover; border: 2px solid #0c0819; display: block; }
.theme-hybrid .ranklist .ph { width: 52px; height: 39px; border: 2px solid #0c0819; }
.theme-hybrid .ranklist .nm { min-width: 0; }
.theme-hybrid .ranklist .nm a { font-weight: 700; text-decoration: none; }
.theme-hybrid .ranklist .nm small { display: block; color: var(--muted); }
.theme-hybrid .ranklist .cs { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.theme-hybrid .ranklist .tr { font-family: var(--pixel); font-size: 1.1rem; color: var(--yellow); white-space: nowrap; }
@media (max-width: 640px) { .theme-hybrid .ranklist li { grid-template-columns: 30px 44px minmax(0, 1fr) auto; } .theme-hybrid .ranklist .cs { display: none; } }

/* Compact hero (about half the original height) */
.theme-hybrid .hx-hero { padding: 26px 0 30px; }
.theme-hybrid .hx-hero .wrap { gap: 32px; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.theme-hybrid .hx-hero h1 { font-size: clamp(2rem, 4.1vw, 3.3rem); margin: 6px 0 8px; text-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid .hx-hero p.lead { font-size: 1.02rem; margin-bottom: 14px; max-width: 700px; }
.theme-hybrid .hx-searchrow { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.theme-hybrid .hx-searchrow .search { flex: 1 1 280px; max-width: none; margin: 0; }
.theme-hybrid .hx-searchrow .search input { padding: 11px 14px 11px 40px; }
.theme-hybrid .hx-searchrow .btn { font-size: 1.25rem; padding: 6px 16px; }
.theme-hybrid .hx-feature { box-shadow: 7px 7px 0 #0c0819; }
.theme-hybrid .hx-feature .checker { height: 64px; }
.theme-hybrid .hx-feature .sticker { font-size: 1.5rem; padding: 4px 12px; }
.theme-hybrid .hx-feature .inner { padding: 12px 16px 14px; }
.theme-hybrid .hx-feature h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.theme-hybrid .hx-feature p { font-size: .92rem; margin-bottom: 6px; }
.theme-hybrid .hx-feature .label { font-size: 1rem; }

/* Search in focus */
.theme-hybrid .hx-search { margin: 10px 0 10px; max-width: 760px; }
.theme-hybrid .hx-search .search { max-width: none; margin: 0; }
.theme-hybrid .hx-search .search input { font-size: 1.25rem; padding: 18px 20px 18px 50px; border-width: 3px; box-shadow: 6px 6px 0 #0c0819; }
.theme-hybrid .hx-search .search input:focus { border-color: var(--yellow); box-shadow: 6px 6px 0 #0c0819, 0 0 0 4px rgba(244, 211, 94, .45); }
.theme-hybrid .hx-search .search::before { left: 19px; width: 16px; height: 16px; border-width: 3px; border-color: #4b2393; }
.theme-hybrid .hx-search .search::after { left: 33px; width: 8px; height: 3px; background: #4b2393; }
.theme-hybrid .hx-search .search-results { font-size: 1.05rem; }
.theme-hybrid .hx-quick { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 10px; font-size: .95rem; }
.theme-hybrid .hx-quick span { color: #d9ceff; }
.theme-hybrid .hx-hero .hx-quick a { color: #fbf6ea; text-decoration: underline; text-decoration-color: rgba(244, 211, 94, .6); text-underline-offset: 3px; }
.theme-hybrid .hx-hero .hx-quick a.all { color: var(--yellow); text-decoration: none; }
.theme-hybrid .hx-hero p.lead { font-size: .98rem; color: #d9ceff; margin: 0; }
@media (min-width: 761px) { .theme-hybrid .site-header .nav { margin-left: auto; } }
.theme-hybrid .hx-hero h1 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
@media (max-width: 860px) {
  .theme-hybrid .hx-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .theme-hybrid .hx-search .search input { font-size: 1.08rem; padding: 15px 14px 15px 46px; }
  .theme-hybrid .hx-quick { gap: 8px; }
  .theme-hybrid .hx-quick span { width: 100%; }
  .theme-hybrid .hx-hero .hx-quick a:not(.all) { background: rgba(12, 8, 25, .35); padding: 4px 8px; text-decoration: none; border: 2px solid rgba(251, 246, 234, .25); }
  .theme-hybrid .hx-hero .hx-quick a:nth-of-type(n + 4):not(.all) { display: none; }
}

/* Muted responsible-gambling bar: same information, less glare */
.theme-hybrid .rg-bar { background: #0e0a1c; color: #9a90b8; font-size: .78rem; border-bottom: 1px solid #241b40; }
.theme-hybrid .rg-bar a { color: #b8aed6; text-decoration-color: rgba(184, 174, 214, .35); }
.theme-hybrid .rg-bar a:hover { color: #e6def8; }
.theme-hybrid .rg-bar .age { background: transparent; color: #d8c46a; border: 1px solid rgba(216, 196, 106, .55); height: 20px; }
.theme-hybrid .hx-feature h3 a { color: inherit; text-decoration: none; }
.theme-hybrid .hx-feature .cta-row { margin: 8px 0 8px; }
.theme-hybrid .hx-feature .cta-row .btn { font-size: 1.1rem; padding: 4px 12px; box-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid .hx-feature .meta a { color: var(--muted); }

/* ===== Directory pages in the hybrid style ===== */
.theme-hybrid main h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin: 6px 0 10px; text-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid main h1.name { font-family: var(--font); text-transform: none; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; text-shadow: none; font-size: clamp(2rem, 4.2vw, 3rem); }
.theme-hybrid main > .wrap > h1:first-of-type, .theme-hybrid main .cols h1 { margin-top: 4px; }
.theme-hybrid .breadcrumbs { margin-top: 22px; font-size: .85rem; }
.theme-hybrid main .breadcrumbs a { color: var(--muted); text-decoration: none; }
.theme-hybrid main .breadcrumbs a:hover { color: var(--text); }
.theme-hybrid .section-head h2, .theme-hybrid main h2 { margin-top: 1.4em; }
.theme-hybrid main h3 { font-family: var(--pixel); text-transform: uppercase; font-weight: 400; font-size: 1.45rem; letter-spacing: .02em; }
.theme-hybrid main h3 a { text-decoration: none; }

/* Cards everywhere */
.theme-hybrid .grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* Fact tiles */
.theme-hybrid .facts { gap: 12px; }
.theme-hybrid .facts div { border-radius: 0; background: var(--surface); border: 3px solid var(--border); box-shadow: 4px 4px 0 #0c0819; }
.theme-hybrid .facts dt { font-family: var(--pixel); font-size: 1rem; letter-spacing: .04em; color: var(--accent); }
.theme-hybrid .facts dd { font-size: 1.05rem; }

/* Big cover on slot pages, side panels */
.theme-hybrid .cover-lg { border-radius: 0; border: 3px solid #0c0819; box-shadow: 8px 8px 0 #0c0819; }
.theme-hybrid .panel { border-radius: 0; border: 3px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.theme-hybrid .panel h3 { margin-top: 0; }

/* Casino list on slot pages */
.theme-hybrid .casino-list { gap: 10px; }
.theme-hybrid .casino-list li { border-radius: 0; background: var(--surface); border: 2px solid var(--border); }
.theme-hybrid .casino-list li:hover { border-color: var(--accent); }
.theme-hybrid .casino-list .op { color: var(--muted); }
.theme-hybrid .casino-list a { text-decoration: none; }
.theme-hybrid .casino-list .ext { font-family: var(--pixel); font-size: 1.05rem; color: var(--yellow); }

/* RTP compare tiles */
.theme-hybrid .rtp-compare > div { border-radius: 0; border: 3px solid var(--border); background: var(--surface); box-shadow: 4px 4px 0 #0c0819; }
.theme-hybrid .rtp-compare .rtp-hi { border-left: 8px solid #1f9d5a; }
.theme-hybrid .rtp-compare .rtp-lo { border-left: 8px solid #d9692b; }
.theme-hybrid .rtp-compare .lbl { font-family: var(--pixel); font-size: 1rem; }
.theme-hybrid .rtp-compare b { font-family: var(--pixel); font-weight: 400; font-size: 2.2rem; }

/* A–Ö letters */
.theme-hybrid .letters a, .theme-hybrid .letters span { border-radius: 0; border: 2px solid var(--border); background: var(--surface); font-family: var(--pixel); font-weight: 400; font-size: 1.25rem; min-width: 40px; height: 40px; }
.theme-hybrid .letters a { box-shadow: 3px 3px 0 #0c0819; color: var(--text); }
.theme-hybrid .letters a:hover { border-color: var(--yellow); }
.theme-hybrid .letters a[aria-current='page'] { background: var(--yellow); color: var(--yellow-ink); border-color: #0c0819; }

/* Game lists (letter pages, casino pages) */
.theme-hybrid .game-list li { border-bottom: 1px dashed var(--border); padding: 5px 0; }
.theme-hybrid .game-list a { text-decoration: none; }
.theme-hybrid .game-list a:hover { color: var(--yellow); }
.theme-hybrid .game-list li .n { font-family: var(--pixel); font-size: 1rem; }

/* Filters */
.theme-hybrid .filters .input, .theme-hybrid select { border-radius: 0; border: 2px solid var(--border); background: var(--surface); color: var(--text); }
.theme-hybrid .filters .input:focus, .theme-hybrid select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(244, 211, 94, .35); }
.theme-hybrid .result-count { font-family: var(--pixel); font-size: 1.15rem; color: var(--muted); }
.theme-hybrid .btn.ghost { background: transparent; color: var(--text); border: 3px solid var(--text); box-shadow: none; }
.theme-hybrid .btn.ghost:hover { background: rgba(255, 255, 255, .06); }

/* Notices, details, misc */
.theme-hybrid .notice.info { border-left-color: var(--accent); }
.theme-hybrid details summary { color: var(--text); }
.theme-hybrid .prose li { margin: .35em 0; }
.theme-hybrid main code { background: var(--surface-2); padding: 1px 5px; }
.theme-hybrid .cta-row .btn { font-size: 1.15rem; padding: 6px 14px; }
@media (min-width: 761px) {
  .theme-hybrid .site-header .wrap { flex-wrap: nowrap; }
  .theme-hybrid .site-header .search { flex: 0 1 220px; min-width: 150px; }
  .theme-hybrid .logo small { display: none; }
}
@media (min-width: 761px) and (max-width: 1240px) { .theme-hybrid .site-header .search { display: none; } }

/* Pixel edge under the hero: square blocks attached to the purple area (no gap, no triangles) */
.theme-hybrid .pixel-divider {
  height: 24px;
  margin-top: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, var(--purple) 50%, transparent 50%),
    linear-gradient(90deg, transparent 25%, var(--purple) 25%, var(--purple) 50%, transparent 50%);
  background-size: 32px 12px, 32px 12px;
  background-position: 0 0, 0 12px;
  background-repeat: repeat-x;
}

/* Finer pixel edge: 4 px blocks, three rows fading 75 % → 50 % → 25 % */
.theme-hybrid .pixel-divider {
  height: 15px;
  background-image:
    linear-gradient(90deg, var(--purple) 75%, transparent 75%),
    linear-gradient(90deg, var(--purple) 50%, transparent 50%),
    linear-gradient(90deg, transparent 50%, var(--purple) 50%, var(--purple) 75%, transparent 75%);
  background-size: 16px 5px, 16px 5px, 16px 5px;
  background-position: 0 0, 4px 5px, 0 10px;
  background-repeat: repeat-x;
}

/* Favorit stamp, hybrid look: yellow pixel stamp on dark ink. */
.theme-hybrid .stamp { font-family: var(--pixel); font-weight: 400; letter-spacing: .04em; font-size: 1.05rem; color: var(--yellow); background: #0c0819; border: 2px solid var(--yellow); padding: 1px 8px 0; }
.theme-hybrid .card .stamp { box-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid .stamp.mini { font-size: .9rem; padding: 0 5px; border-width: 1px; }
.theme-hybrid .stamp.lg { font-size: 1.35rem; padding: 2px 12px 0; box-shadow: 3px 3px 0 #0c0819; }
.theme-hybrid .ranklist .nm .stamp.mini { margin-left: 8px; }

/* Curated top lists reuse the ranked list; an optional note per entry */
.theme-hybrid .ranklist .nm .note { display: block; font-size: .9rem; margin-top: 2px; color: var(--text); }
.theme-hybrid .consent { border-radius: 0; border: 3px solid var(--border); }
.theme-hybrid .consent-actions .btn { font-size: 1.15rem; padding: 6px 14px; }
:root.theme-hybrid { --viz-1: #3987e5; --viz-2: #d95926; --viz-3: #199e70; --viz-4: #c98500; --viz-grid: #2c2350; --viz-axis: #4a3d7a; --viz-other: #857ba3; }
:root.theme-hybrid[data-theme='light'] { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-3: #1baf7a; --viz-4: #eda100; --viz-grid: #efe7d6; --viz-axis: #c9bfa8; --viz-other: #948b7c; }
.theme-hybrid .viz { border-radius: 0; border: 3px solid var(--border); box-shadow: var(--shadow); }
.theme-hybrid .viz-tip { border-radius: 0; border: 2px solid var(--border); box-shadow: 4px 4px 0 #0c0819; }
.theme-hybrid .hb-label .rk { font-family: var(--pixel); font-size: 1.25rem; }
.theme-hybrid .rt-slot .th, .theme-hybrid .rt-slot .ph { border-radius: 0; border: 2px solid #0c0819; }

/* Phones: two slot cards per row, with a more compact card */
@media (max-width: 640px) {
  .theme-hybrid .grid:not(.wide) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .theme-hybrid .grid:not(.wide) .card { border-width: 2px; box-shadow: 4px 4px 0 #0c0819; }
  .theme-hybrid .grid:not(.wide) .card .cover { border-bottom-width: 2px; font-size: .95rem; }
  .theme-hybrid .grid:not(.wide) .card .tag { max-width: 100%; font-size: .9rem; padding: 1px 6px; overflow-wrap: anywhere; }
  .theme-hybrid .grid:not(.wide) .card .body { padding: 8px 10px 10px; }
  .theme-hybrid .grid:not(.wide) .card .prov { font-size: .95rem; }
  .theme-hybrid .grid:not(.wide) .card .title { font-size: .98rem; overflow-wrap: anywhere; }
  .theme-hybrid .grid:not(.wide) .card .foot { flex-wrap: wrap; gap: 2px 8px; font-size: .78rem; }
  .theme-hybrid .grid:not(.wide) .card .foot b { font-size: 1rem; }
}

/* Front-page card sections (10 cards): fixed columns per width, complete rows only. Phones get two
   columns from the rule above and show all 10. */
.theme-hybrid .hx-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 860px) and (max-width: 1099px) {
  .theme-hybrid .hx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theme-hybrid .hx-grid > :nth-child(n + 9) { display: none; }
}
@media (min-width: 641px) and (max-width: 859px) {
  .theme-hybrid .hx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-hybrid .hx-grid > :nth-child(n + 10) { display: none; }
}
.theme-hybrid .more-card { justify-content: center; align-items: center; gap: 6px; padding: 18px 14px; text-align: center; background: var(--surface-2); }
.theme-hybrid .more-card b { font-family: var(--pixel); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--yellow); }
.theme-hybrid .more-card span { color: var(--muted); font-size: .92rem; }
.theme-hybrid .more-card .more-link { margin-top: 6px; color: var(--yellow); font-weight: 700; }
