/* =====================================================================
   ColecoVisionZone theme
   Dark by default (like the console), light mode with the toggle.
   The rainbow stripe from the ColecoVision logo is the accent.
   Colors live in the variables below: change them here and the whole
   site follows.
   ===================================================================== */

:root {
    --r1: #e8352e;   /* red    */
    --r2: #f28c28;   /* orange */
    --r3: #f6c61b;   /* yellow */
    --r4: #3bb54a;   /* green  */
    --r5: #2d7fd3;   /* blue   */
    --rainbow: linear-gradient(90deg, var(--r1) 0 20%, var(--r2) 20% 40%, var(--r3) 40% 60%, var(--r4) 60% 80%, var(--r5) 80% 100%);
    --rainbow-soft: linear-gradient(90deg, var(--r1), var(--r2), var(--r3), var(--r4), var(--r5));

    --font-display: "Russo One", "Arial Black", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-pixel: "Press Start 2P", ui-monospace, monospace;

    --radius: 16px;
    --accent: var(--r5);          /* each section sets its own (see [data-section]) */
    --header-h: 64px;
    --tabbar-h: 64px;
}

/* ---- Dark (default) ---- */
:root, [data-bs-theme="dark"] {
    --cvz-bg: #0d0f13;
    --cvz-bg-2: #12151b;
    --cvz-surface: #171a21;
    --cvz-surface-2: #1f232c;
    --cvz-text: #eceff4;
    --cvz-muted: #9aa3b2;
    --cvz-border: #2a2f3a;
    --cvz-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --cvz-grid: rgba(255, 255, 255, .035);
    --bs-body-bg: var(--cvz-bg);
    --bs-body-color: var(--cvz-text);
    --bs-border-color: var(--cvz-border);
    --bs-secondary-color: var(--cvz-muted);
    --bs-tertiary-bg: var(--cvz-surface-2);
    --bs-link-color-rgb: 110, 176, 255;
    --bs-link-hover-color-rgb: 150, 200, 255;
}

/* ---- Light ---- */
[data-bs-theme="light"] {
    --cvz-bg: #eef0f4;
    --cvz-bg-2: #e6e9ef;
    --cvz-surface: #ffffff;
    --cvz-surface-2: #f5f6f9;
    --cvz-text: #151820;
    --cvz-muted: #5b6475;
    --cvz-border: #dde1e8;
    --cvz-shadow: 0 10px 30px rgba(20, 30, 50, .10);
    --cvz-grid: rgba(20, 30, 60, .045);
    --bs-body-bg: var(--cvz-bg);
    --bs-body-color: var(--cvz-text);
    --bs-border-color: var(--cvz-border);
    --bs-secondary-color: var(--cvz-muted);
    --bs-link-color-rgb: 29, 99, 186;
    --bs-link-hover-color-rgb: 18, 70, 140;
}

/* Section colors: Coleco red, Console orange, Games yellow, Accessories green, Video blue */
[data-section="Coleco"]        { --accent: var(--r1); --accent-ink: #000; }   /* (Update 194) black on the red accent: 4.96:1 (dark ink was 4.41:1, under AA) */
[data-section="Console"]       { --accent: var(--r2); }
[data-section="Games"]         { --accent: var(--r3); --accent-ink: #10131a; }
[data-bs-theme="light"] [data-section="Games"], [data-bs-theme="light"][data-section="Games"] { --accent: #c48f00; --accent-ink: #fff; }
[data-section="Accessories"]   { --accent: var(--r4); }
[data-section="Video"]         { --accent: var(--r5); }
[data-section="Collectible"]   { --accent: #b065e0; }
[data-section="Miscellaneous"] { --accent: #2bb6b0; }
/* (Update 149) accent colours used as TEXT get their own token, so they pass AA contrast (4.5:1) in both themes:
   a little lighter on the dark theme, much darker on the light one. Buttons filled with the accent use dark ink. */
:root { --accent-ink: #10131a; }
:root, [data-section] { --accent-text: color-mix(in srgb, var(--accent) 80%, #fff); }
[data-bs-theme="light"], [data-bs-theme="light"] [data-section], [data-bs-theme="light"][data-section] { --accent-text: color-mix(in srgb, var(--accent) 50%, #000); }
/* (Update 186) Safari before 16.2 has no color-mix(): those values then count as invalid and fall back to nothing, so the
   sticky header, the phone tab bar and the stuck list bars were see-through and accent text lost its colour.
   Plain colours for those browsers only (a fallback line in front would not help: the color-mix one still wins). */
@supports not (color: color-mix(in srgb, red, blue)) {
    :root, [data-section] { --accent-text: var(--accent); }
    [data-bs-theme="light"], [data-bs-theme="light"] [data-section], [data-bs-theme="light"][data-section] { --accent-text: var(--cvz-text); }
    .cvz-header, .cvz-games > .cvz-typebar.stuck, .cvz-coll > .cvz-typebar.stuck { background: var(--cvz-bg) !important; }
    .cvz-tabbar { background: var(--cvz-surface) !important; }
}

/* ---- Page background: one shared look instead of a picture per page ---- */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font-body);
    background-color: var(--cvz-bg);
    background-image:
        radial-gradient(900px 500px at 10% -10%, rgba(45, 127, 211, .16), transparent 70%),
        radial-gradient(800px 500px at 100% 0%, rgba(232, 53, 46, .12), transparent 70%),
        linear-gradient(var(--cvz-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cvz-grid) 1px, transparent 1px);
    background-size: auto, auto, 32px 32px, 32px 32px;
    background-attachment: fixed;
    color: var(--cvz-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
/* (Update 186) safety net: one long unbroken word (a file name, an e-mail address) in running text made the whole page
   scroll sideways on 320px phones and pushed the bottom tab bar's Menu tab off the screen. Such a word now wraps. */
main :is(p, li, dd, dt, blockquote, figcaption, td, th) { overflow-wrap: break-word; }
/* (Update 194) page titles too: a title written as one long word (an imported file name) wraps instead of widening the page */
main h1 { overflow-wrap: break-word; }
h1, h2, h3, .cvz-display { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; font-synthesis: none; }   /* Russo One has no bold: never fake one (it looks smeared) */
:focus-visible { outline: 3px solid var(--r3); outline-offset: 2px; }

.cvz-stripe { height: 4px; background: var(--rainbow); }
.cvz-pixel { font-family: var(--font-pixel); font-size: .62rem; letter-spacing: .02em; }
.text-muted, .cvz-muted { color: var(--cvz-muted) !important; }

/* =====================================================================
   Header
   ===================================================================== */
.cvz-header {
    position: sticky; top: 0; z-index: 1030;
    background: color-mix(in srgb, var(--cvz-bg) 82%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--cvz-border);
}
.cvz-header-inner {
    height: var(--header-h);
    display: flex; align-items: center; gap: 12px;
    max-width: 1280px; margin: 0 auto; padding: 0 16px; /* (Update 186) the same width as the page column (.cvz-wrap), so the logo and
       Sign in line up with the content on wide screens (it was 1400px) */
}
.cvz-brand { display: flex; align-items: center; gap: 10px; color: var(--cvz-text); text-decoration: none; flex: none; }
.cvz-brand:hover { color: var(--cvz-text); }
.cvz-brand-mark {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: #111; color: #fff; font-family: var(--font-display); font-size: .95rem;
    position: relative; overflow: hidden; border: 1px solid #333;
}
.cvz-brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }
.cvz-brand-text { font-family: var(--font-display); font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.cvz-brand-text span { background: var(--rainbow-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The original ColecoVisionZone logo (a gray badge, so it suits both the dark and light themes) */
.cvz-brand-logo { display: block; width: 264px; height: auto; max-width: 52vw; image-rendering: auto; }

.cvz-nav { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.cvz-nav > a, .cvz-nav > button {
    color: var(--cvz-text); text-decoration: none; font-weight: 600; font-size: .95rem;
    padding: 8px 12px; border-radius: 999px; border: 0; background: none;
    display: inline-flex; align-items: center; gap: 6px;
}
.cvz-nav > a:hover, .cvz-nav > button:hover, .cvz-nav > button[aria-expanded="true"] { background: var(--cvz-surface-2); }
.cvz-nav > a.active { background: var(--cvz-surface-2); box-shadow: inset 0 -3px 0 var(--accent); }
.cvz-nav svg { width: 14px; height: 14px; transition: transform .2s; }
.cvz-nav > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.cvz-header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cvz-iconbtn {
    width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--cvz-border);
    background: var(--cvz-surface); color: var(--cvz-text); display: inline-grid; place-items: center;
}
.cvz-iconbtn:hover { background: var(--cvz-surface-2); }
.cvz-iconbtn svg { width: 20px; height: 20px; }
.cvz-searchbtn {
    display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 14px;
    border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface);
    color: var(--cvz-muted); min-width: 220px;
}
.cvz-searchbtn:hover { border-color: var(--accent); color: var(--cvz-text); }
.cvz-searchbtn svg { width: 18px; height: 18px; }
.cvz-searchbtn kbd { margin-left: auto; background: var(--cvz-surface-2); color: var(--cvz-muted); border: 1px solid var(--cvz-border); font-size: .75rem; padding: 1px 7px; }
[data-bs-theme="dark"] .cvz-icon-moon, [data-bs-theme="light"] .cvz-icon-sun { display: none; }

/* ---- Desktop mega-menu ---- */
.cvz-mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cvz-surface); border-bottom: 1px solid var(--cvz-border); box-shadow: var(--cvz-shadow);
    display: none; max-height: calc(100vh - var(--header-h)); overflow: auto;
}
.cvz-mega.show { display: block; animation: cvz-drop .18s ease-out; }
@keyframes cvz-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cvz-mega-grid {
    max-width: 1400px; margin: 0 auto; padding: 24px 16px 28px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px;
}
.cvz-mega h3 { font-size: .95rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.cvz-mega h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.cvz-mega ul { list-style: none; margin: 0; padding: 0; }
.cvz-mega li a { display: block; padding: 5px 8px; margin-left: -8px; border-radius: 8px; color: var(--cvz-text); text-decoration: none; font-size: .93rem; }
.cvz-mega li a:hover { background: var(--cvz-surface-2); color: var(--accent-text); }
.cvz-mega hr { margin: 6px 0; opacity: .3; }

/* ---- Phone: bottom tab bar + slide-out menu ---- */
.cvz-tabbar { display: none; }
@media (max-width: 991.98px) {
    :root { --header-h: 56px; }
    .cvz-nav, .cvz-searchbtn { display: none !important; }
    .cvz-brand-text { font-size: 1rem; }
    .cvz-brand-logo { width: 210px; }
    body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
    .cvz-tabbar {
        display: grid; grid-template-columns: repeat(4, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
        height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: color-mix(in srgb, var(--cvz-surface) 92%, transparent);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--cvz-border);
    }
    .cvz-tabbar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--rainbow); opacity: .8; }
    .cvz-tabbar a, .cvz-tabbar button {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        min-height: 44px; color: var(--cvz-muted); text-decoration: none; background: none; border: 0;
        font-size: .72rem; font-weight: 600;
    }
    .cvz-tabbar svg { width: 22px; height: 22px; }
    .cvz-tabbar .active { color: var(--cvz-text); }
    .cvz-tabbar .active svg { color: var(--accent-text); }
}
.cvz-offcanvas { background: var(--cvz-surface) !important; color: var(--cvz-text); }
.cvz-offcanvas .accordion-button { font-family: var(--font-display); background: transparent; color: var(--cvz-text); box-shadow: none; }
.cvz-offcanvas .accordion-item { background: transparent; border-color: var(--cvz-border); }
.cvz-offcanvas .list-group-item { background: transparent; color: var(--cvz-text); border-color: var(--cvz-border); padding: 12px 16px; }
.cvz-offcanvas .cvz-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 10px; }
/* (Update 186) the menu runs to the bottom of the screen: keep its last row clear of the iPhone home indicator */
.cvz-offcanvas .offcanvas-body { padding-bottom: env(safe-area-inset-bottom) !important; }
/* (Update 186) Bootstrap's close button (menu, search, dialogs) only had a faint 25% blue glow when focused (1.4:1);
   it now gets the site's normal focus ring (made dark blue in the light theme further down) */
.btn-close:focus-visible { outline: 3px solid var(--r3); outline-offset: 2px; box-shadow: none; opacity: 1; }

/* ---- Search overlay ---- */
.cvz-searchdlg .modal-content { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: var(--radius); overflow: hidden; }
.cvz-searchdlg .modal-dialog { margin-top: 8vh; }
.cvz-searchinput { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--cvz-border); }
.cvz-searchinput svg { width: 22px; height: 22px; color: var(--cvz-muted); flex: none; }
.cvz-searchinput input { flex: 1; border: 0; outline: 0; background: transparent; color: var(--cvz-text); font-size: 1.15rem; min-width: 0; }
.cvz-suggest { max-height: 60vh; overflow: auto; padding: 8px; }
.cvz-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--cvz-text); text-decoration: none; }
.cvz-suggest a:hover, .cvz-suggest a.sel { background: var(--cvz-surface-2); }
.cvz-suggest img, .cvz-suggest .ph { width: 36px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; background: var(--cvz-surface-2); display: grid; place-items: center; font-weight: 700; font-size: .72rem; color: #fff; }
.cvz-suggest small { display: block; color: var(--cvz-muted); }
.cvz-suggest .empty { padding: 18px; color: var(--cvz-muted); text-align: center; }

/* =====================================================================
   Building blocks
   ===================================================================== */
.cvz-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.cvz-panel {
    background: var(--cvz-surface); color: var(--cvz-text);
    border: 1px solid var(--cvz-border); border-radius: var(--radius);
    box-shadow: var(--cvz-shadow); padding: clamp(18px, 3vw, 28px); margin-top: 24px; margin-bottom: 24px;
}
.container.cvz-panel { max-width: 1100px; }
.cvz-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.cvz-kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--accent); }
.cvz-section-title { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0 0 16px; }
.cvz-section-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; margin-top: 8px; background: var(--rainbow); }
.btn { border-radius: 999px; }
.btn-cvz { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); font-weight: 700; }
.btn-cvz:hover, .btn-cvz:focus { filter: brightness(1.1); background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #fff); }
.btn-primary { --bs-btn-bg: var(--r5); --bs-btn-border-color: var(--r5); }
.cvz-chip { display: inline-block; font-size: .75rem; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-text); border-radius: 999px; padding: 1px 9px; margin: 1px 3px 1px 0; white-space: nowrap; }
.form-control, .form-select { background-color: var(--cvz-surface-2); border-color: var(--cvz-border); color: var(--cvz-text); border-radius: 12px; min-height: 44px; }
.form-control:focus, .form-select:focus { background-color: var(--cvz-surface-2); color: var(--cvz-text); border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(45, 127, 211, .3); }
.form-control::placeholder { color: var(--cvz-muted); }
/* (Update 186) iPhone Safari zooms the whole page when a text box or drop-down under 16px gets focus, and stays zoomed
   (the filter sheet, the reader's page box, the review box). On touch screens every field is at least 16px. */
@media (hover: none) and (pointer: coarse) {
    select, textarea, input:where(:not([type=checkbox], [type=radio], [type=range], [type=file], [type=color], [type=image], [type=submit], [type=button], [type=reset])),
    .form-control, .form-control-sm, .form-select, .form-select-sm { font-size: max(16px, 1em); }
}
.table { --bs-table-bg: transparent; --bs-table-color: var(--cvz-text); --bs-table-border-color: var(--cvz-border); --bs-table-hover-bg: var(--cvz-surface-2); --bs-table-hover-color: var(--cvz-text); }
.alert { border-radius: 12px; }
.ratio { border-radius: 14px; overflow: hidden; }

/* Rarity pills: green (common) to gold (rarest) */
.cvz-rar { display: inline-flex; align-items: center; gap: 3px; min-width: 34px; justify-content: center; font-family: var(--font-pixel); font-size: .55rem; line-height: 1; border-radius: 999px; padding: 5px 7px; color: #10131a; background: #9aa3b2; }
.cvz-rar b { font-weight: 400; opacity: .65; }
.cvz-rar.r1, .cvz-rar.r2 { background: #4fbf67; }
.cvz-rar.r3, .cvz-rar.r4 { background: #9ccc4a; }
.cvz-rar.r5, .cvz-rar.r6 { background: #f2c230; }
.cvz-rar.r7, .cvz-rar.r8 { background: #f28c28; }
.cvz-rar.r9, .cvz-rar.r10 { background: linear-gradient(135deg, #ffe680, #d4a20f 60%, #fff3b0); box-shadow: 0 0 10px rgba(246, 198, 27, .45); }
.cvz-rar.r0 { background: var(--cvz-surface-2); color: var(--cvz-muted); }

/* Reveal on scroll (only when motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
    .cvz-js .cvz-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
    .cvz-js .cvz-reveal.in { opacity: 1; transform: none; }
}

/* =====================================================================
   Home page
   ===================================================================== */
.cvz-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--cvz-border); min-height: min(78vh, 720px); display: grid; align-items: end; background: #000; }
.cvz-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .cvz-hero-img { animation: cvz-kenburns 30s ease-in-out infinite alternate; } }
@keyframes cvz-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.cvz-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .2) 0%, rgba(8, 10, 14, .55) 45%, rgba(8, 10, 14, .96) 100%); }
.cvz-hero-body { position: relative; z-index: 1; padding: 120px 16px 72px; max-width: 1280px; margin: 0 auto; width: 100%; color: #fff; }
.cvz-hero h1 { font-size: clamp(2.1rem, 6vw, 4.4rem); line-height: 1.02; margin: 12px 0 14px; max-width: 15ch; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.cvz-hero h1 span { background: var(--rainbow-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cvz-hero p { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 56ch; color: #dfe4ec; }
.cvz-hero .cvz-kicker { color: #fff; }
.cvz-hero .cvz-kicker::before { background: var(--rainbow); width: 40px; }
.cvz-hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
/* (Update 186) the home photos crossfade and slowly zoom without end: a small button pauses them (WCAG 2.2.2) */
.cvz-hero-pause { position: absolute; right: 16px; top: 16px;   /* (Update 186) top corner: the stat tiles overlap the bottom of the hero */ z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  padding: 6px 14px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .45); background: rgba(8, 10, 14, .6); background-clip: padding-box;
  color: #fff; font-size: .8rem; font-weight: 700; }
.cvz-hero-pause:hover { background-color: rgba(8, 10, 14, .85); }
.cvz-hero.paused .cvz-hero-img { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .cvz-hero-pause { display: none; } }
.cvz-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #10131a; background: #fff; transition: transform .15s; }
.cvz-cta:hover { transform: translateY(-2px); color: #10131a; }
.cvz-cta i { width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--r5)); }
.cvz-cta.ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }   /* (Update 186) -webkit- copy for Safari 17 and earlier */
.cvz-cta.ghost:hover { color: #fff; }

.cvz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: -40px; position: relative; z-index: 2; }
.cvz-stat { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: var(--radius); padding: 16px 18px 16px 22px; box-shadow: var(--cvz-shadow); text-decoration: none; color: var(--cvz-text); position: relative; overflow: hidden; }
.cvz-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.cvz-stat b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; font-weight: 400; }
.cvz-stat span { color: var(--cvz-muted); font-size: .88rem; }
a.cvz-stat:hover { border-color: var(--c); color: var(--cvz-text); }

.cvz-home-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 8px; }
.cvz-home-grid > .cvz-panel { margin: 0; }
@media (max-width: 991.98px) { .cvz-home-grid { grid-template-columns: 1fr; } }
.cvz-gotd { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: start; }
@media (max-width: 575.98px) { .cvz-gotd { grid-template-columns: 110px 1fr; gap: 14px; } }
.cvz-gotd .boxart { display: block; border-radius: 10px; overflow: hidden; box-shadow: var(--cvz-shadow); aspect-ratio: 3/4; background: var(--cvz-surface-2); }
.cvz-gotd .boxart img { width: 100%; height: 100%; object-fit: cover; }
.cvz-gotd h3 { font-size: 1.5rem; margin: 6px 0; }
.cvz-gotd p { color: var(--cvz-muted); }
.cvz-fact { border-left: 4px solid var(--accent); padding: 4px 0 4px 14px; margin: 0; }
.cvz-fact + .cvz-fact { margin-top: 18px; }
.cvz-fact .cvz-pixel { color: var(--accent-text); display: block; margin-bottom: 8px; }

.cvz-block { margin-top: 40px; }
.cvz-block-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cvz-block-head .cvz-section-title { margin: 0; }
.cvz-block-head a, .cvz-panel a.cvz-more { text-decoration: none; font-weight: 700; color: var(--accent-text); }
.cvz-block-head a:hover, .cvz-panel a.cvz-more:hover { text-decoration: underline; }
.cvz-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; }
.cvz-rail > * { scroll-snap-align: start; }
.cvz-vidcard { display: block; background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--cvz-text); transition: transform .2s, border-color .2s; }
.cvz-vidcard:hover { transform: translateY(-4px); border-color: var(--accent); color: var(--cvz-text); }
.cvz-vidcard .thumb { aspect-ratio: 16/9; background: var(--cvz-surface-2); position: relative; display: grid; place-items: center; font-family: var(--font-display); color: #fff; font-size: 1.4rem; text-align: center; padding: 8px; }
.cvz-vidcard .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cvz-vidcard .thumb .play { position: absolute; width: 44px; height: 44px; border-radius: 999px; background: rgba(0, 0, 0, .6); display: grid; place-items: center; }
.cvz-vidcard .meta { padding: 10px 12px 12px; }
.cvz-vidcard .meta strong { display: block; }
.cvz-vidcard .meta small { color: var(--cvz-muted); display: block; }

.cvz-explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.cvz-tile { position: relative; display: block; min-height: 120px; padding: 18px; border-radius: var(--radius); background: var(--cvz-surface); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; overflow: hidden; transition: transform .2s, border-color .2s; }
.cvz-tile::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; border-radius: 28px; background: var(--accent); opacity: .16; transform: rotate(18deg); transition: opacity .2s; }
.cvz-tile:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--cvz-text); }
.cvz-tile:hover::after { opacity: .32; }
.cvz-tile h3 { font-size: 1.15rem; margin: 0 0 6px; }
.cvz-tile p { margin: 0; color: var(--cvz-muted); font-size: .9rem; }
.cvz-welcome { line-height: 1.75; font-size: 1.05rem; }

/* Start-up screen (home page, once per visit) */
.cvz-boot { position: fixed; inset: 0; z-index: 2000; background: #000; display: grid; place-items: center; text-align: center; color: #fff; cursor: pointer; transition: opacity .5s; padding: 16px; }
.cvz-boot.out { opacity: 0; pointer-events: none; }
.cvz-boot-logo { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 5rem); letter-spacing: .04em; }
.cvz-boot-logo span { display: inline-block; opacity: 0; animation: cvz-pop .3s forwards; }
@keyframes cvz-pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.cvz-boot .cvz-pixel { display: block; margin-top: 26px; color: #9aa3b2; font-size: .6rem; line-height: 2.2; }

/* =====================================================================
   Content pages (the 40 pages from the original site)
   Restyles their Bootstrap cards, tables and photos to match the theme.
   ===================================================================== */
.cvz-legacy { padding-bottom: 24px; }
.cvz-legacy .container-fluid { max-width: 1280px; }
@media (min-width: 1200px) { .cvz-legacy .col-xl-7 { width: 66.6667%; } }
/* (Update 186) one column width for every content page, whatever older column classes a page body still carries (four
   Coleco pages had 8- or 10-wide columns, so the text width jumped from page to page) */
@media (min-width: 768px) { .cvz-legacy .m-auto[class*="col-xl-"] { width: 91.6667%; } }
@media (min-width: 1200px) { .cvz-legacy .m-auto[class*="col-xl-"] { width: 75%; } }
.cvz-legacy .card {
    background: var(--cvz-surface); color: var(--cvz-text);
    border: 1px solid var(--cvz-border) !important; border-radius: 22px; overflow: hidden;
    box-shadow: var(--cvz-shadow) !important;
}
.cvz-legacy .card::before { content: ""; display: block; height: 5px; background: var(--rainbow); }
.cvz-legacy .card-body { box-shadow: none !important; padding: clamp(18px, 3vw, 40px); }
.cvz-legacy .card-img-top { border-radius: 0; width: 100%; height: auto; }   /* show the whole picture, never crop it */
/* YouTube videos inside the older pages: full width, 16:9 (the old site's .youtube-video rule) */
.youtube-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: #000; }
.cvz-legacy .card > .youtube-video:first-child { border-radius: 0; }
.cvz-legacy .card-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 20px; }
.cvz-legacy .card-title::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 3px; margin-top: 12px; background: var(--accent); }
.cvz-legacy .lead { font-size: 1.07rem; line-height: 1.8; font-weight: 400; color: var(--cvz-text); }
.cvz-legacy h3, .cvz-legacy h4 { font-family: var(--font-display); font-weight: 400; margin-top: 8px; }
.cvz-legacy hr { border: 0; height: 3px; background: var(--rainbow); opacity: .45; border-radius: 2px; margin: 32px 0; }
.cvz-legacy img { max-width: 100%; height: auto; border-radius: 12px; }
.cvz-legacy .card-img-top, .cvz-legacy .carousel img { border-radius: 0; }
.cvz-legacy img[onclick], .cvz-legacy .cvz-zoom { cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .cvz-legacy img[onclick]:hover, .cvz-legacy .cvz-zoom:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); } }
.cvz-legacy img[style*="border"] { border: 1px solid var(--cvz-border) !important; }
.cvz-legacy p.m-auto { color: var(--cvz-muted); font-size: .92rem; margin-top: 8px !important; }
.cvz-legacy .table-success { --bs-table-bg: var(--cvz-surface-2); --bs-table-color: var(--cvz-text); --bs-table-border-color: var(--cvz-border); box-shadow: inset 0 -3px 0 var(--accent); }
.cvz-legacy iframe { border-radius: 12px; max-width: 100%; }
.cvz-legacy .carousel { background: #000; }
/* (Update 194) imported pages (the /dv archive: High Score Club, ADAMcon ...) keep their old fixed table widths
   (<table width="1500">, <table width="1545">) and 1,350-1,549 px banners, which made the whole page 1,547 px wide on
   phones, tablets and laptops. Those tables now shrink to the column, and anything that still cannot (a wide score
   table) scrolls on its own instead of the page. */
.cvz-legacy table[width]:not([width$="%"]) { width: auto !important; }
.cvz-legacy table { max-width: 100%; }
.cvz-legacy td, .cvz-legacy th { min-width: 0; }
.cvz-legacy td img, .cvz-legacy th img { max-width: 100%; height: auto; }
.cvz-legacy { overflow-wrap: break-word; }
@media (max-width: 991.98px) { .cvz-legacy > table, .cvz-legacy > div > table { display: block; overflow-x: auto; } }
@media (max-width: 767.98px) {
    .cvz-legacy img[style*="width"] { width: 100% !important; }
    .cvz-legacy .row.gx-0.m-1 { margin: 0 !important; }
}
/* The original site's w3.css pop-ups are replaced by the photo viewer below */
.w3-modal { display: none !important; }
.w3-container { padding: .01em 16px; }

/* ---- Photo viewer ---- */
.cvz-lightbox { position: fixed; inset: 0; z-index: 2050; background: rgba(5, 6, 9, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: none; flex-direction: column; color: #fff; }
.cvz-lightbox.open { display: flex; }
.cvz-lb-stage { flex: 1; display: grid; place-items: center; overflow: hidden; touch-action: pan-y pinch-zoom; position: relative; min-height: 0; }
.cvz-lb-stage img { max-width: 94vw; max-height: calc(100vh - 120px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); transition: transform .25s; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.cvz-lb-stage img.zoomed { transform: scale(2); cursor: zoom-out; }
.cvz-lb-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.cvz-lb-bar .cap { flex: 1; font-size: .95rem; }
.cvz-lb-bar .count { color: #9aa3b2; font-family: var(--font-pixel); font-size: .55rem; }
.cvz-lb-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; }
.cvz-lb-btn:hover { background: rgba(255, 255, 255, .18); }
.cvz-lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.cvz-lb-prev, .cvz-lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.cvz-lb-prev { left: 12px; } .cvz-lb-next { right: 12px; }
/* (Update 73) phones: the arrows show too (they were hidden, leaving only swiping), low on the screen beside the caption */
@media (max-width: 575.98px) { .cvz-lb-prev, .cvz-lb-next { top: auto; bottom: 64px; transform: none; width: 44px; height: 44px; background: rgba(0, 0, 0, .55); } }
/* (Update 186) the page asks iPhones for edge-to-edge drawing (viewport-fit=cover), so in landscape the photo viewer's
   arrows and close button, and the header, page and footer gutters, keep clear of the notch */
.cvz-lb-prev { left: max(12px, env(safe-area-inset-left)); } .cvz-lb-next { right: max(12px, env(safe-area-inset-right)); }
.cvz-lb-close { right: max(14px, env(safe-area-inset-right)); }
@supports (padding: max(1px, env(safe-area-inset-left))) {
    .cvz-header-inner, .cvz-wrap, .cvz-footer .cvz-footer-inner { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
    main > .container { padding-left: max(calc(var(--bs-gutter-x) * .5), env(safe-area-inset-left)); padding-right: max(calc(var(--bs-gutter-x) * .5), env(safe-area-inset-right)); }
}

/* =====================================================================
   Games section
   ===================================================================== */
.cvz-games { padding-bottom: 24px; }
.cvz-games-title { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 8px; }
.cvz-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cvz-filters input[type=search] { flex: 1 1 260px; min-width: 0; }
.cvz-filters select { flex: 0 1 190px; min-width: 0; }
/* (Update 186) the library's selects hold longer choices ('ColecoVision and ADAM', 'Newest in the library'), which a fixed
   190px cut off at every width: there each select is as wide as its longest choice (the other filter bars are unchanged) */
@media (min-width: 576px) { .cvz-filters.cvz-lib-filters select { flex: 0 1 auto; width: auto; max-width: 100%; } }
.cvz-typebar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; }
.cvz-seg { display: inline-flex; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.cvz-seg a, .cvz-seg button { border: 0; background: none; color: var(--cvz-muted); padding: 6px 14px; min-height: 36px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; }
.cvz-seg .on { background: var(--cvz-surface); color: var(--cvz-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .25), inset 0 -2px 0 var(--accent); }
/* the section picked at the top of the game lists (All Games by default) is filled in, so it is obvious */
.cvz-seg[aria-label="Game sections"] .on, .cvz-seg[aria-label="Catalog sections"] .on, .cvz-seg[aria-label="Kinds of game"] .on, .cvz-seg[aria-label="What to browse"] .on { background: var(--accent); color: var(--accent-ink, #10131a); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.cvz-seg[aria-label="Game sections"] .on .opacity-75, .cvz-seg[aria-label="Catalog sections"] .on .opacity-75, .cvz-seg[aria-label="Kinds of game"] .on .opacity-75 { opacity: .8 !important; }
.cvz-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 575.98px) {
    .cvz-seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
    .cvz-seg::-webkit-scrollbar { display: none; }
    .cvz-filters { display: grid; grid-template-columns: 1fr 1fr; }
    .cvz-filters input[type=search] { grid-column: 1 / -1; }
    .cvz-games .lead { font-size: 1rem; }
}

.cvz-defilter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cvz-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .9rem; flex-wrap: wrap; }
.cvz-progress .track { flex: 1 1 160px; max-width: 360px; height: 10px; border-radius: 999px; background: var(--cvz-surface-2); overflow: hidden; border: 1px solid var(--cvz-border); }
.cvz-progress .fill { height: 100%; width: 0; background: var(--rainbow-soft); transition: width .4s; }

.cvz-gametable { margin: 0; }
.cvz-gametable th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; background: var(--cvz-surface-2) !important; color: var(--cvz-muted) !important; }
.cvz-gametable th a { color: inherit; text-decoration: none; }
.cvz-gametable th a:hover { color: var(--cvz-text); }
.cvz-gamelink { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.cvz-gamelink:hover strong { color: var(--accent-text); }
.cvz-thumb { width: 40px; height: 52px; flex: none; border-radius: 6px; object-fit: cover; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }

/* Box-art grid */
.cvz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 18px; margin-top: 18px; }
@media (max-width: 575.98px) { .cvz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }
.cvz-gtile { position: relative; perspective: 900px; }
.cvz-gtile > a { display: block; color: var(--cvz-text); text-decoration: none; }
.cvz-gbox {
    position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden;
    background: var(--cvz-surface-2); box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cvz-gbox img { width: 100%; height: 100%; object-fit: cover; }
/* Gameplay stills (from YouTube) stand in for box art: show the middle of the screen, with a small label */
.cvz-gbox img.still, .cvz-ghero-box img.still { object-position: center; }
/* Publisher box shots (homebrew) are often 3D boxes on a transparent background: show the whole box */
.cvz-gbox img.fit, .cvz-ghero-box img.fit { object-fit: contain; padding: 6%; background: radial-gradient(circle at 50% 40%, var(--cvz-surface-2), var(--cvz-surface) 75%); }
.cvz-gbox:has(img.still)::before { content: "GAMEPLAY"; position: absolute; top: 8px; left: 8px; z-index: 1; font-family: var(--font-pixel); font-size: .45rem; padding: 4px 6px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; }
.cvz-gbox .ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 12px; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.cvz-gbox::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .25), transparent 40%); opacity: 0; transition: opacity .25s; pointer-events: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .cvz-gtile:hover .cvz-gbox { transform: rotateY(-10deg) rotateX(4deg) translateY(-6px); box-shadow: 18px 22px 30px rgba(0, 0, 0, .45); }
    .cvz-gtile:hover .cvz-gbox::after { opacity: 1; }
}
.cvz-gbox .cvz-rar { position: absolute; left: 8px; bottom: 8px; }
.cvz-gbox .vid { position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 999px; background: rgba(0, 0, 0, .6); display: grid; place-items: center; color: #fff; }
.cvz-gname { display: flex; align-items: flex-start; gap: 4px; margin-top: 10px; }
.cvz-gtile .name { display: block; flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--cvz-text); text-decoration: none; }
.cvz-gtile .name:hover { color: var(--accent-text); }
.cvz-gtile .sub { display: block; color: var(--cvz-muted); font-size: .8rem; }
/* Copy-name button: a small copy icon that turns into a green tick for a moment after copying */
.cvz-copy { flex: none; width: 26px; height: 26px; padding: 4px; border: 0; border-radius: 6px; background: none; color: var(--cvz-muted); display: inline-grid; place-items: center; vertical-align: middle; cursor: pointer; }
.cvz-copy svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.cvz-copy .i-done { opacity: 0; color: var(--r4); }
.cvz-copy:hover, .cvz-copy:focus-visible { color: var(--cvz-text); background: var(--cvz-surface-2); }
.cvz-copy.done .i-copy { opacity: 0; }
.cvz-copy.done .i-done { opacity: 1; }
.cvz-gname .cvz-copy { margin-top: -3px; }
.cvz-titlecell { white-space: normal; }
.cvz-titlecell > .cvz-gamelink { display: inline-flex; vertical-align: middle; }
.cvz-titlecell > .cvz-copy { margin-left: 4px; }
.cvz-ghero h1 .cvz-copy { width: 34px; height: 34px; margin-left: 4px; position: relative; top: -.15em; }
.cvz-ghero h1 .cvz-copy svg { width: 20px; height: 20px; }

/* "I own this" toggle (saved in the visitor's own browser) */
.cvz-own { border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-muted); border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 6px 12px; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.cvz-own::before { content: ""; width: 13px; height: 13px; border-radius: 4px; border: 2px solid currentColor; flex: none; }
.cvz-own.owned { background: rgba(59, 181, 74, .18); border-color: var(--r4); color: var(--cvz-text); }
.cvz-own.owned::before { background: var(--r4); border-color: var(--r4); }
.cvz-gtile .cvz-own { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 3px 8px; min-height: 0; font-size: .72rem; background: rgba(10, 12, 16, .72); color: #fff; border-color: rgba(255, 255, 255, .3); }
.cvz-gtile .cvz-own:not(.owned) { opacity: 0; transition: opacity .2s; }
.cvz-gtile:hover .cvz-own, .cvz-gtile:focus-within .cvz-own { opacity: 1; }
@media (hover: none) { .cvz-gtile .cvz-own:not(.owned) { opacity: .9; } }
.cvz-gtile .cvz-own.owned { background: var(--r4); color: #fff; border-color: var(--r4); }
.cvz-gtile .cvz-own.owned::before { background: #fff; border-color: #fff; }
.cvz-gametable .cvz-own { padding: 3px 9px; min-height: 0; font-size: .72rem; }
/* "I own it" buttons: loose cart / complete in box / new in box (pick any) */
.cvz-ownset { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cvz-ownset .lbl { font-weight: 700; font-size: .85rem; color: var(--cvz-muted); margin-right: 2px; }
.cvz-cond { border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-muted); border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 6px 12px; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; }
.cvz-cond::before { content: ""; width: 13px; height: 13px; border-radius: 4px; border: 2px solid currentColor; flex: none; }
.cvz-cond:hover { border-color: var(--accent); color: var(--cvz-text); }
.cvz-cond.owned { background: rgba(59, 181, 74, .18); border-color: var(--r4); color: var(--cvz-text); }
.cvz-cond.owned::before { background: var(--r4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border-color: var(--r4); }
/* Compact L / B / N version in the game lists */
.cvz-ownset.compact { gap: 3px; flex-wrap: nowrap; }
.cvz-ownset.compact .cvz-cond { min-height: 0; min-width: 24px; padding: 3px 6px; font-size: .7rem; justify-content: center; gap: 0; }
.cvz-ownset.compact .cvz-cond::before { display: none; }
.cvz-gtile .cvz-ownset { position: absolute; top: 8px; right: 8px; z-index: 2; }
.cvz-gtile .cvz-cond { background: rgba(10, 12, 16, .72); color: #fff; border-color: rgba(255, 255, 255, .3); }
.cvz-gtile .cvz-cond.owned { background: var(--r4); border-color: var(--r4); color: #fff; }
.cvz-gtile .cvz-ownset:not(.has) { opacity: 0; transition: opacity .2s; }
.cvz-gtile:hover .cvz-ownset, .cvz-gtile:focus-within .cvz-ownset { opacity: 1; }
@media (hover: none) { .cvz-gtile .cvz-ownset:not(.has) { opacity: .9; } }
/* My Collection: Export / Import buttons and the round "?" help button */
.cvz-colltools { display: inline-flex; align-items: center; gap: 6px; }
.cvz-mini { border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); border-radius: 999px; font-size: .8rem; font-weight: 700; padding: 4px 12px; min-height: 32px; }
.cvz-mini:hover, .cvz-help:hover { border-color: var(--accent); }
.cvz-help { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-weight: 700; font-size: .85rem; line-height: 1; display: inline-grid; place-items: center; padding: 0; }
.cvz-ghero .actions .cvz-help { margin-left: -2px; }
.cvz-collmsg { flex-basis: 100%; }
@media (min-width: 992px) { .cvz-collmsg { flex-basis: auto; } }
.cvz-helpdlg .modal-content { background: var(--cvz-surface); color: var(--cvz-text); border: 1px solid var(--cvz-border); border-radius: var(--radius); }
.cvz-helpdlg .modal-header { border-bottom: 0; padding-bottom: 0; }
.cvz-helpdlg .modal-title { font-family: var(--font-display); font-weight: 400; }
.cvz-helpdlg .modal-content { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Section headings in the plain body font: Russo One has no bold, so a bold heading in it came out smeared */
.cvz-helpdlg h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 18px 0 6px; }
.cvz-helpdlg h3:first-child { margin-top: 4px; }
.cvz-helpdlg p, .cvz-helpdlg li { font-size: .95rem; line-height: 1.55; color: var(--cvz-text); }
.cvz-helpdlg b { font-weight: 700; }
.cvz-helpdlg code { font-size: .8rem; word-break: break-all; }
.cvz-helpdlg ul, .cvz-helpdlg ol { padding-left: 1.3rem; margin-bottom: .6rem; }
.cvz-helpdlg li { margin-bottom: .3rem; }

/* Game page */
.cvz-ghero { position: relative; overflow: hidden; border-radius: 22px; margin-top: 18px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); }
.cvz-ghero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.4); opacity: .55; }
.cvz-ghero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--cvz-surface) 65%, transparent), color-mix(in srgb, var(--cvz-surface) 92%, transparent)); }
.cvz-ghero-body { position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: clamp(18px, 3vw, 32px); align-items: center; }
@media (max-width: 767.98px) { .cvz-ghero-body { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; } }
/* (Update 186) on 320-360px phones the text column was wider than its space and the card cut it off (kicker, chips,
   copy button, action buttons): the column may now shrink, long words and chips wrap, and the box gets narrower */
.cvz-ghero-body > div { min-width: 0; }
.cvz-ghero h1 { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.cvz-ghero .cvz-kicker { flex-wrap: wrap; overflow-wrap: anywhere; }
.cvz-ghero .cvz-chip { white-space: normal; }
@media (max-width: 400px) { .cvz-ghero-body { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .cvz-ghero .cvz-ghero-body h1 { font-size: 1.25rem; } }
.cvz-ghero-box { position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); background: var(--cvz-surface-2); }
.cvz-fanbox { position: absolute; left: 8px; bottom: 8px; font-family: var(--font-pixel); font-size: .45rem; padding: 4px 6px; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #fff; pointer-events: none; }
.cvz-ghero-box img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.cvz-ghero-box .ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); color: #fff; font-size: 2rem; text-align: center; padding: 10px; }
.cvz-ghero h1 { font-size: clamp(1.5rem, 4.5vw, 3rem); margin: 6px 0 10px; }
/* (Update 186) the title and its copy button flow as one line of text: the button sits right after the last word */
.cvz-ghero .cvz-htitle { margin: 6px 0 10px; }
.cvz-ghero .cvz-htitle > h1 { display: inline; margin: 0; }
.cvz-ghero .cvz-htitle > .cvz-copy { vertical-align: middle; margin-left: 2px; position: relative; top: -.2em; }
.cvz-ghero .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.cvz-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.cvz-pager a { display: inline-flex; align-items: center; gap: 8px; max-width: 48%; padding: 8px 14px; min-height: 44px; border-radius: 999px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; font-size: .9rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cvz-pager a span { overflow: hidden; text-overflow: ellipsis; }
.cvz-pager a:hover { border-color: var(--accent); }
.cvz-pager .next { margin-left: auto; }

.cvz-legend { margin: 14px 0 0; padding: 10px 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 12px; font-size: .9rem; line-height: 1.6; color: var(--cvz-muted); }
.cvz-legend b { color: var(--cvz-text); }
.cvz-legend .cvz-rar { vertical-align: 1px; }
.cvz-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.cvz-facts dt { color: var(--cvz-muted); font-weight: 400; } .cvz-facts dd { margin: 0; }
.cvz-meter { display: grid; grid-template-columns: 120px 1fr 24px; gap: 8px; align-items: center; font-size: .9rem; margin-bottom: 8px; }
.cvz-bar { height: 10px; background: var(--cvz-surface-2); border-radius: 999px; overflow: hidden; }
.cvz-bar i { display: block; height: 100%; border-radius: 999px; }
.cvz-photo { display: block; border: 1px solid var(--cvz-border); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; background: var(--cvz-surface-2); }
.cvz-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--cvz-surface-2); }
.cvz-photo span { display: block; padding: 6px 10px; font-size: .85rem; border-top: 1px solid var(--cvz-border); }
/* (Update 194) CVZ-0536: a very wide picture (label strip) is shown at its own shape across a wide cell, not as a thin band */
.cvz-photo-wide .cvz-photo img { aspect-ratio: auto; max-height: 360px; }

/* Search results page */
.cvz-results { padding-left: 1.2rem; }
.cvz-results li { margin-bottom: 18px; }
.cvz-results a { font-size: 1.12rem; font-weight: 700; }
.cvz-results p { margin: 4px 0 0; color: var(--cvz-muted); }

/* =====================================================================
   Footer
   ===================================================================== */
.cvz-footer { margin-top: 48px; background: var(--cvz-bg-2); border-top: 1px solid var(--cvz-border); }
.cvz-footer-inner { max-width: 1280px; margin: 0 auto; padding: 28px 16px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cvz-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-width: 0; }   /* (Update 194) wraps at 320 px instead of overflowing */
.cvz-footer-brand svg { width: 64px; height: auto; flex: none; }
.cvz-footer-brand p { margin: 0; color: var(--cvz-muted); font-size: .85rem; }
.cvz-footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; font-size: .9rem; }
.cvz-footer a { color: var(--cvz-muted); }
.cvz-footer a:hover { color: var(--cvz-text); }
.cvz-admin-links { display: inline-flex; flex-wrap: wrap; gap: 16px; align-items: baseline; }
.cvz-admin-links .btn-link { color: var(--cvz-muted); font-size: .9rem; }

/* Easter egg (type the Konami code) */
.cvz-egg { position: fixed; left: -140px; bottom: 100px; z-index: 2100; pointer-events: none; }
.cvz-egg.go { animation: cvz-run 4.5s linear forwards; }
@keyframes cvz-run { 0% { left: -140px; } 100% { left: 110vw; } }
.cvz-egg-msg { position: fixed; left: 50%; top: 28%; transform: translateX(-50%); z-index: 2100; background: #000; color: #fff; border: 4px solid var(--r3); padding: 18px 24px; text-align: center; font-family: var(--font-pixel); font-size: .7rem; line-height: 2.2; box-shadow: 0 0 0 4px var(--r1), 0 0 0 8px var(--r5); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
    .cvz-header, .cvz-tabbar, .cvz-footer { display: none !important; }
    body { background: #fff !important; color: #000; }
}

/* Small link under each game video, in case YouTube won't play it on this site */
.cvz-vidlink { margin: 6px 0 22px; text-align: right; font-size: .82rem; }
.cvz-vidlink a { color: var(--cvz-muted); text-decoration: none; }
.cvz-vidlink a:hover { color: var(--accent-text); text-decoration: underline; }

/* ---- Researched content blocks (2026-10): fact tables, sources line, link directory ---- */
.cvz-legacy .cvz-info-table { --bs-table-bg: transparent; --bs-table-color: var(--cvz-text); --bs-table-border-color: var(--cvz-border); margin: 8px 0 20px; font-size: .95rem; }
.cvz-legacy .cvz-info-table thead th { font-family: var(--font-display); font-weight: 400; background: var(--cvz-surface-2); box-shadow: inset 0 -3px 0 var(--accent); }
.cvz-legacy .cvz-info-table td { vertical-align: top; }
.cvz-legacy .cvz-sources { color: var(--cvz-muted); margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--cvz-border); line-height: 1.7; }
.cvz-legacy .cvz-linklist { list-style: none; padding-left: 0; margin-bottom: 8px; }
.cvz-legacy .cvz-linklist li { padding: 8px 0; border-bottom: 1px solid var(--cvz-border); line-height: 1.6; }
.cvz-legacy .cvz-linklist li a { font-weight: 600; }

/* ---- A-Z quick jump on a real ColecoVision hand controller (Views/Games/Index.cshtml, Views/Shared/_ControllerPad.cshtml) ----
   The picture is Evan-Amos's photograph of an original 1982 controller (public domain, Wikimedia Commons
   "ColecoVision-Controller-FL.jpg"), straightened so it lies flat, with its 12-key keypad turned into 28 keys
   (made by _research/controller/compose.py and build_flat.py). Wide screens show it on its side with the joystick on the
   left; phones show it standing up. Each key link sits exactly over its key in the photo, so the real keys show through:
   the current letter lights up amber, and letters with no titles are dimmed (they still work and say so). ALL and # are the
   two black keys, where the real * and # keys are. */
.cvz-pad { position: relative; container-type: inline-size; width: 100%; max-width: 900px; aspect-ratio: 1700 / 724; margin: 10px 0 6px;
    background: url("/images/controller/cvz-controller-side.webp") 0 0 / 100% 100% no-repeat; }
.cvz-pad-keys { position: absolute; inset: 0; }
.cvz-key { position: absolute; display: grid; place-items: center; border-radius: 9%; text-decoration: none; user-select: none;
    color: #1d1d1d !important; background: transparent; transition: background-color .12s, box-shadow .15s; }
.cvz-key > span { display: block; font-family: "Times New Roman", Times, Georgia, serif; font-size: var(--fs); line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5); pointer-events: none; }
.cvz-key:hover { background: rgba(255, 255, 255, .3); }
.cvz-key:active { background: rgba(0, 0, 0, .16); }
.cvz-key:focus-visible { outline: 3px solid #f6a623; outline-offset: 1px; }
.cvz-key.dark { color: #f4f4f4 !important; }
.cvz-key.dark > span { text-shadow: 0 1px 1px rgba(0, 0, 0, .9); }
.cvz-key.all > span { font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: calc(var(--fs) * .55); letter-spacing: .06em; }
.cvz-key.on { background: radial-gradient(closest-side, rgba(255, 205, 90, .95), rgba(242, 160, 30, .9)); color: #1d1200 !important; box-shadow: 0 0 1.4cqw rgba(246, 166, 35, .8); }
.cvz-key.dark.on { background: radial-gradient(closest-side, rgba(246, 166, 35, .55), rgba(246, 166, 35, .25)); color: #ffd07a !important; }
.cvz-key.off { background: rgba(15, 15, 15, .45); color: rgba(30, 30, 30, .75) !important; }
.cvz-key.off > span { text-shadow: none; }
.cvz-key.off:hover { background: rgba(15, 15, 15, .3); }
.cvz-pad-keys > :nth-child(1) { left: 36.88%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(2) { left: 45.43%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(3) { left: 53.98%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(4) { left: 62.53%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(5) { left: 71.08%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(6) { left: 79.63%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(7) { left: 36.88%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(8) { left: 45.43%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(9) { left: 53.98%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(10) { left: 62.53%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(11) { left: 71.08%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(12) { left: 79.63%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(13) { left: 88.18%; top: 28.63%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(14) { left: 36.88%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(15) { left: 45.43%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(16) { left: 53.98%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(17) { left: 62.53%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(18) { left: 71.08%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(19) { left: 79.63%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(20) { left: 88.18%; top: 49.78%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(21) { left: 36.88%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(22) { left: 45.43%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(23) { left: 53.98%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(24) { left: 62.53%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(25) { left: 71.08%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(26) { left: 79.63%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(27) { left: 88.18%; top: 70.94%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
.cvz-pad-keys > :nth-child(28) { left: 88.18%; top: 7.48%; width: 6.67%; height: 16.65%; --fs: 5.22cqw; }
@media (max-width: 767.98px) and (orientation: portrait) {
    .cvz-pad { max-width: 300px; margin: 10px auto 6px; aspect-ratio: 640 / 1502; background-image: url("/images/controller/cvz-controller-upright.webp"); }
    .cvz-pad-keys > :nth-child(1) { left: 9.41%; top: 36.01%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(2) { left: 30.55%; top: 36.01%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(3) { left: 51.69%; top: 36.01%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(4) { left: 72.84%; top: 36.01%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(5) { left: 9.41%; top: 44.56%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(6) { left: 30.55%; top: 44.56%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(7) { left: 51.69%; top: 44.56%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(8) { left: 72.84%; top: 44.56%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(9) { left: 9.41%; top: 53.11%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(10) { left: 30.55%; top: 53.11%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(11) { left: 51.69%; top: 53.11%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(12) { left: 72.84%; top: 53.11%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(13) { left: 9.41%; top: 61.65%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(14) { left: 30.55%; top: 61.65%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(15) { left: 51.69%; top: 61.65%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(16) { left: 72.84%; top: 61.65%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(17) { left: 9.41%; top: 70.20%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(18) { left: 30.55%; top: 70.20%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(19) { left: 51.69%; top: 70.20%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(20) { left: 72.84%; top: 70.20%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(21) { left: 9.41%; top: 78.75%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(22) { left: 30.55%; top: 78.75%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(23) { left: 51.69%; top: 78.75%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(24) { left: 72.84%; top: 78.75%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(25) { left: 30.55%; top: 87.30%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(26) { left: 51.69%; top: 87.30%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(27) { left: 72.84%; top: 87.30%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
    .cvz-pad-keys > :nth-child(28) { left: 9.41%; top: 87.30%; width: 16.64%; height: 6.67%; --fs: 12.25cqw; }
}

/* ---- The controller's coiled cord (wwwroot/images/controller/cvz-cord-*.webp, made by _research/controller/cord.py) ----
   (Update 164) the cord leaves the controller at its top corner, as on the real one (the -top / -corner pictures; the
   original centred ones are kept beside them).
   A separate picture just outside the controller, so the controller picture and its keys stay exactly as they are.
   Solid black coils from the joystick end to the edge of the box it sits in (to the left; above it on phones). */
.cvz-pad { width: min(93.6%, 900px); margin-left: min(6.4%, 62px); }
.cvz-pad::before { content: ""; position: absolute; top: 0; right: 98.82%; width: 8%; height: 100%; pointer-events: none;
    background: url("/images/controller/cvz-cord-side-top.webp") right center / auto 100% no-repeat; }
/* inside a panel, the cord carries on through the panel's padding and stops at its edge */
.cvz-panel .cvz-pad::before { width: calc(8% + clamp(18px, 3vw, 28px)); }
@media (max-width: 767.98px) and (orientation: portrait) {
    .cvz-pad { width: 100%; margin: 66px auto 6px; }
    .cvz-pad::before { top: auto; bottom: 99.67%; right: auto; left: -3.36%; width: 100.16%; height: auto; aspect-ratio: 641 / 120;
        background-image: url("/images/controller/cvz-cord-upright-corner.webp"); background-size: 100% 100%; }
    .cvz-panel .cvz-pad::before { width: 100.16%; }
}


/* The controller slides in from the left when the page opens (the pages add .slide-in once its picture has loaded):
   it shoots a little past its place, stretching the cord behind it, then the cord pulls it back and it settles. */
@keyframes cvzPadIn {
    0%   { transform: translateX(-80%); opacity: 0; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
    12%  { opacity: 1; }
    52%  { transform: translateX(7%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { transform: translateX(-2.6%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { transform: translateX(1%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: none; opacity: 1; }
}
/* the cord is pinned at the panel edge: while the controller overshoots it stretches out, then springs back */
@keyframes cvzCordStretch {
    0%, 29% { transform: scaleX(1); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
    52%  { transform: scaleX(1.7); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { transform: scaleX(.78); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { transform: scaleX(1.1); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: scaleX(1); }
}
.cvz-pad.slide-wait { opacity: 0; }
.cvz-pad.slide-wait, .cvz-pad.slide-in, .cvz-pad.slide-in::before { will-change: transform, opacity; backface-visibility: hidden; }   /* smooth, on the graphics chip */
.cvz-pad.slide-in { animation: cvzPadIn 2.6s both; }
.cvz-pad.slide-in::before { transform-origin: right center; animation: cvzCordStretch 2.6s both; }
/* Smaller screens: the controller stands upright with its cord above, so it drops in from the top instead,
   overshoots downward stretching the cord, and springs back up into place */
@keyframes cvzPadDrop {
    0%   { transform: translateY(-60%); opacity: 0; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
    12%  { opacity: 1; }
    52%  { transform: translateY(4%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { transform: translateY(-1.5%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { transform: translateY(.6%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: none; opacity: 1; }
}
@keyframes cvzCordStretchY {
    0%, 29% { transform: scaleY(1); animation-timing-function: cubic-bezier(.3, .6, .4, 1); }
    52%  { transform: scaleY(1.5); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { transform: scaleY(.81); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { transform: scaleY(1.08); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: scaleY(1); }
}
/* On phones nothing above the controller hides it while it drops, so it is cut off at the top of its own space
   (the cord's space just under the buttons above it): it appears out of that space instead of over the buttons.
   The cut-off line moves opposite to the drop, so it stays put on the page. It stays fully visible (no fade-in),
   so you see it slide down out of that space. */
@keyframes cvzPadDropClip {
    0%   { opacity: 1; clip-path: inset(100% -30% -10% -30%); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
    52%  { clip-path: inset(calc(-4% - 64px) -30% -10% -30%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { clip-path: inset(calc(1.5% - 64px) -30% -10% -30%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { clip-path: inset(calc(-.6% - 64px) -30% -10% -30%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { opacity: 1; clip-path: inset(-64px -30% -10% -30%); }
}
/* Phones: start fully tucked inside that space (the whole controller above the cut-off line), so it slides
   all the way down out of it instead of popping in part-way. */
@keyframes cvzPadDropPhone {
    0%   { transform: translateY(calc(-100% - 64px)); animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
    52%  { transform: translateY(4%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    70%  { transform: translateY(-1.5%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    84%  { transform: translateY(.6%); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
    100% { transform: none; }
}
@media (max-width: 767.98px) and (orientation: portrait) {
    .cvz-pad.slide-in { animation-name: cvzPadDropPhone, cvzPadDropClip; }
    .cvz-pad.slide-in::before { transform-origin: center bottom; animation-name: cvzCordStretchY; }
}
@media (prefers-reduced-motion: reduce) { .cvz-pad.slide-in, .cvz-pad.slide-in::before { animation: none; } .cvz-pad.slide-wait { opacity: 1; } }

/* ---- Collection Manager (Views/Collection, wwwroot/js/collection.js) ----
   Tiles, lists, the shelf view, the hunt card and the value chart. Colors come from the theme variables above,
   so light and dark mode both work. */
.cvz-coll { padding-bottom: 32px; --cv-spent: #3b8be0; --cv-value: #d9731a; }
[data-bs-theme="light"] .cvz-coll { --cv-spent: #2d7fd3; --cv-value: #c25e0c; }
.cvz-coll-section { margin-top: 28px; }
.cvz-coll-hero .lead { max-width: 75ch; }
.cvz-coll-kinds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cvz-coll-kinds a { padding: 8px 14px; border-radius: 999px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; }
.cvz-coll-kinds a:hover { border-color: var(--accent); }
.cvz-coll-kinds b { font-family: var(--font-display); font-weight: 400; color: var(--accent-text); margin-right: 4px; }

/* Tabs */
.cvz-coll-nav { display: flex; gap: 4px; align-items: center; overflow-x: auto; margin: 16px 0 6px; padding: 4px; border-radius: 14px;
    background: var(--cvz-surface); border: 1px solid var(--cvz-border); scrollbar-width: thin; }
.cvz-coll-nav a { flex: 0 0 auto; padding: 8px 12px; border-radius: 10px; color: var(--cvz-muted); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.cvz-coll-nav a:hover { color: var(--cvz-text); background: var(--cvz-surface-2); }
.cvz-coll-nav a.on { color: var(--accent-ink, #fff); background: var(--accent); }
.cvz-coll-nav .sep { flex: 0 0 1px; align-self: stretch; margin: 4px 6px; background: var(--cvz-border); }
.cvz-coll-nav a.join { color: var(--accent-text); }
.cvz-coll-msg { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, var(--cvz-surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }

/* Stat tiles and badges */
.cvz-coll-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 16px 0; }
.cvz-coll-stats > * { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; }
.cvz-coll-stats > a:hover { border-color: var(--accent); }
.cvz-coll-stats b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.cvz-coll-stats span { color: var(--cvz-muted); font-size: .82rem; }
.cvz-coll-stats .up b { color: #3bb54a; }
.cvz-coll-stats .down b { color: #e8352e; }
.cvz-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 8px; }
.cvz-badges li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding: 6px 12px 6px 8px; border-radius: 12px;
    background: var(--cvz-surface); border: 1px dashed var(--cvz-border); opacity: .55; filter: grayscale(1); max-width: 230px; }
.cvz-badges li.earned { opacity: 1; filter: none; border-style: solid; border-color: color-mix(in srgb, var(--accent) 55%, var(--cvz-border)); }
.cvz-badges .ico { grid-row: span 2; font-size: 1.35rem; }
.cvz-badges .nm { font-weight: 700; font-size: .88rem; }
.cvz-badges .ds { color: var(--cvz-muted); font-size: .74rem; }

/* Join box, empty states, share box */
.cvz-coll-join { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 18px 20px; border-radius: var(--radius);
    background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, var(--cvz-surface)), var(--cvz-surface)); border: 1px solid var(--cvz-border); }
.cvz-coll-join .btns { display: flex; gap: 8px; flex-wrap: wrap; }
p.cvz-coll-join { display: block; padding: 12px 14px; }
.cvz-coll-empty { margin-top: 18px; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--cvz-border); background: var(--cvz-surface); }
.cvz-coll-share { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-share > div:first-child { flex: 1 1 260px; }
.cvz-coll-share .link { display: flex; gap: 6px; flex: 1 1 320px; }

/* Category tiles on the overview */
.cvz-coll-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cvz-coll-cat { position: relative; display: flex; flex-direction: column; padding: 14px 14px 14px 22px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border);
    color: var(--cvz-text); text-decoration: none; overflow: hidden; }
.cvz-coll-cat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--spine); box-shadow: inset -1px 0 0 rgba(255,255,255,.15); }
.cvz-coll-cat:hover { border-color: var(--accent); }
.cvz-coll-cat .n { font-family: var(--font-display); font-size: 1.35rem; }
.cvz-coll-cat .l { color: var(--cvz-muted); font-size: .88rem; }
.cvz-coll-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cvz-coll-features > div { padding: 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-features .ico { font-size: 1.5rem; }
.cvz-coll-features h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.cvz-coll-features p { margin: 0; color: var(--cvz-muted); font-size: .9rem; }

/* Item tiles */
.cvz-coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
@media (max-width: 575.98px) { .cvz-coll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cvz-coll-card .acts { flex-direction: column; } }
.cvz-coll-card { display: flex; flex-direction: column; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); overflow: hidden; transition: border-color .15s, transform .15s; }
.cvz-coll-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cvz-coll-card .pic { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 40%, var(--cvz-surface-2), var(--cvz-bg-2)); overflow: hidden; }
.cvz-coll-card .pic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cvz-coll-card .nopic, .cvz-coll-item .nopic { display: grid; place-items: center; width: 62%; height: 84%; padding: 10px; border-radius: 6px 6px 3px 3px; text-align: center;
    background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 30%), var(--spine); color: #fff; font-family: var(--font-display); font-size: .85rem; line-height: 1.15;
    box-shadow: 0 8px 18px rgba(0,0,0,.35); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.cvz-coll-card .region { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: rgba(0,0,0,.65); color: #fff; }
.cvz-coll-card .have-badge { position: absolute; right: 8px; top: 8px; display: none; padding: 2px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: #3bb54a; color: #06210b; }
.cvz-coll-card.owned .have-badge { display: inline-block; }
.cvz-coll-card.owned { border-color: color-mix(in srgb, #3bb54a 55%, var(--cvz-border)); }
.cvz-coll-card .body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.cvz-coll-card .title { font-weight: 700; color: var(--cvz-text); text-decoration: none; line-height: 1.2; }
.cvz-coll-card .title:hover { color: var(--accent-text); }
.cvz-coll-card .meta { color: var(--cvz-muted); font-size: .78rem; }
.cvz-coll-card .meta .num { margin-left: 4px; opacity: .8; }
.cvz-coll-card .chips { display: flex; flex-wrap: wrap; gap: 4px; }
.cvz-coll-card .acts { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.cvz-coll-card .acts form { flex: 1; }
.cvz-coll-card .acts .btn { width: 100%; }
.cvz-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-muted); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cvz-chip.trade { color: #f28c28; border-color: color-mix(in srgb, #f28c28 50%, transparent); }
.cvz-chip.cond-sealed { color: #e0b21a; border-color: color-mix(in srgb, #e0b21a 50%, transparent); }
.cvz-chip.cond-completeinbox { color: #3bb54a; border-color: color-mix(in srgb, #3bb54a 50%, transparent); }
.btn-have { background: color-mix(in srgb, #3bb54a 16%, var(--cvz-surface-2)); border: 1px solid color-mix(in srgb, #3bb54a 45%, transparent); color: var(--cvz-text); font-weight: 700; }
.btn-have:hover { background: #3bb54a; color: #06210b; }
.btn-wish { background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-text); }
.btn-wish:hover { border-color: #e0b21a; }
.btn-wish[aria-pressed="true"] { background: color-mix(in srgb, #e0b21a 22%, var(--cvz-surface-2)); border-color: #e0b21a; color: var(--cvz-text); }
/* (Update 186) Bootstrap's .btn:focus-visible removed the outline and these two custom buttons had no focus glow of their own,
   so keyboard focus was invisible on them: they get the site's focus ring (dark blue in the light theme) */
.btn-have:focus-visible, .btn-wish:focus-visible { outline: 3px solid var(--r3); outline-offset: 2px; box-shadow: none; }
[data-bs-theme="light"] .btn-have:focus-visible, [data-bs-theme="light"] .btn-wish:focus-visible { outline-color: #1d4f99; }

/* Rarity: ten little bars */
.cvz-crar { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; font-size: .7rem; color: var(--cvz-muted); white-space: nowrap; }
.cvz-crar .bars { display: inline-flex; gap: 1px; }
.cvz-crar .bars i { width: 4px; height: 9px; border-radius: 1px; background: var(--cvz-border); }
.cvz-crar .bars i.on { background: var(--rc); }
.cvz-crar b { color: var(--cvz-text); font-weight: 700; }

/* List view tables */
.cvz-coll-listbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 12px 0; color: var(--cvz-muted); }
.cvz-seg.small a { padding: 4px 12px; font-size: .85rem; }
.cvz-seg-wrap { flex-wrap: wrap; }
.cvz-coll-tablewrap { border-radius: 14px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); }
.cvz-coll-table { margin: 0; --bs-table-bg: transparent; }
.cvz-coll-table td.pic, .cvz-coll-table th.pic { width: 64px; }
.cvz-coll-table td.pic img { width: 52px; height: 52px; object-fit: contain; border-radius: 6px; background: var(--cvz-bg-2); }
.cvz-coll-table tr.owned td:first-child { box-shadow: inset 4px 0 0 #3bb54a; }
.cvz-coll-table tr.done td { color: #3bb54a; }
.cvz-coll-table .have-count { color: #3bb54a; font-weight: 700; margin-right: 4px; }
.cvz-coll-pages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }
.cvz-coll-pages a, .cvz-coll-pages span { padding: 8px 14px; border-radius: 999px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); text-decoration: none; color: var(--cvz-text); }
.cvz-coll-pages a:hover { border-color: var(--accent); }
.cvz-mini-bar { display: block; height: 8px; border-radius: 4px; background: var(--cvz-surface-2); overflow: hidden; }
.cvz-mini-bar i { display: block; height: 100%; width: var(--pct); background: var(--accent); border-radius: 4px; }

/* Item page */
.cvz-coll-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; margin-top: 18px; }
.cvz-coll-item .gallery .main { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, var(--cvz-surface-2), var(--cvz-bg-2)); border: 1px solid var(--cvz-border); overflow: hidden; }
.cvz-coll-item .gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.cvz-coll-item .gallery .main.nopic { width: 100%; height: auto; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; font-size: 1.6rem; gap: 8px; }
.cvz-coll-item .gallery .main.nopic small { font-family: var(--font-body); font-size: .85rem; opacity: .8; }
.cvz-coll-item .thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cvz-coll-item .thumbs img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); padding: 4px; }
.cvz-coll-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-facts dt { color: var(--cvz-muted); font-weight: 500; }
.cvz-coll-facts dd { margin: 0; word-break: break-word; }
.cvz-coll-notes { white-space: pre-line; color: var(--cvz-text); }
.cvz-coll-mycopies { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid color-mix(in srgb, #3bb54a 40%, var(--cvz-border)); }
.cvz-coll-mycopies .copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--cvz-border); }
.cvz-coll-mycopies .copy span { flex: 1 1 200px; }
.cvz-coll-mycopies .mine-photo { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
@media (max-width: 767.98px) { .cvz-coll-item { grid-template-columns: minmax(0, 1fr); } }   /* (Update 194) minmax: a long unbroken title can no longer widen the column past the screen */

/* Add / edit a copy */
.cvz-coll-edit { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin-top: 18px; align-items: start; }
.cvz-coll-edit .side img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: var(--radius); background: var(--cvz-surface); border: 1px solid var(--cvz-border); padding: 10px; }
.cvz-coll-edit .cvz-coll-delete { grid-column: 2; }
/* (Update 186) "Share your photos" and the serial registry go in the wide column under the form, not the 260px side column */
.cvz-coll-edit > .cvz-offer-copy { grid-column: 2; }
.cvz-coll-form { padding: 20px; border-radius: var(--radius); background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-form fieldset { margin: 0 0 18px; }
.cvz-coll-form legend { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cvz-coll-radios, .cvz-coll-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cvz-coll-radios label, .cvz-coll-checks label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); cursor: pointer; }
.cvz-coll-radios label:has(input:checked), .cvz-coll-checks label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--cvz-surface-2)); }
.cvz-coll-trade { display: block; margin: 16px 0; }
.cvz-coll-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.cvz-coll-photos figure { margin: 0; }
.cvz-coll-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; border: 1px solid var(--cvz-border); }
.cvz-coll-side { padding: 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); margin-bottom: 14px; }
@media (max-width: 767.98px) { .cvz-coll-edit { grid-template-columns: 1fr; } .cvz-coll-edit .side img { max-width: 220px; } .cvz-coll-edit .cvz-coll-delete { grid-column: 1; } }
@media (max-width: 767.98px) { .cvz-coll-edit > .cvz-offer-copy { grid-column: 1; } }   /* (Update 186) one column on phones */

/* Category progress bars */
.cvz-coll-progress { margin: 4px 0 8px; padding: 12px 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-progress summary { cursor: pointer; font-weight: 700; }
.cvz-coll-progress ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.cvz-coll-progress.open-static ul { margin: 0; }
.cvz-coll-progress li { display: grid; grid-template-columns: 160px 1fr 140px; gap: 12px; align-items: center; }
.cvz-coll-progress .bar { height: 10px; border-radius: 5px; background: var(--cvz-surface-2); overflow: hidden; border: 1px solid var(--cvz-border); }
.cvz-coll-progress .bar i { display: block; height: 100%; width: var(--pct); background: var(--spine); border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.cvz-coll-progress .n { font-size: .85rem; color: var(--cvz-muted); text-align: right; }
@media (max-width: 575.98px) { .cvz-coll-progress li { grid-template-columns: 1fr 90px; } .cvz-coll-progress .bar { grid-column: 1 / -1; grid-row: 2; } }


/* Wishlist */
.cvz-coll-wishes { display: grid; gap: 12px; }
.cvz-coll-wish { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-left: 5px solid var(--cvz-border); }
.cvz-coll-wish.p1 { border-left-color: #e8352e; } .cvz-coll-wish.p2 { border-left-color: #f28c28; } .cvz-coll-wish.p3 { border-left-color: #f6c61b; }
.cvz-coll-wish .pic img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: var(--cvz-surface-2); }
.cvz-coll-wish .title { font-weight: 700; color: var(--cvz-text); text-decoration: none; }
.cvz-coll-wantlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cvz-coll-wantlist li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-coll-wantlist li.p1, .cvz-coll-wantlist li.p2 { border-left: 4px solid #f28c28; }
.cvz-coll-wantlist img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: var(--cvz-surface-2); flex: 0 0 52px; }
.cvz-coll-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 16px; }
.cvz-coll-people .about { margin-top: 6px; font-size: .85rem; }

/* Value page */
.cvz-chart { position: relative; padding: 14px 16px 8px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-chart svg { display: block; width: 100%; height: auto; }
.cvz-chart .grid { stroke: var(--cvz-border); stroke-width: 1; }
.cvz-chart .ax { fill: var(--cvz-muted); font-size: 12px; }
.cvz-chart .ln { fill: none; stroke-width: 2; stroke-linejoin: round; }
.cvz-chart .ln.spent { stroke: var(--cv-spent); }
.cvz-chart .ln.value { stroke: var(--cv-value); }
.cvz-chart .end { fill: var(--cvz-text); font-size: 12px; font-weight: 700; }
.cvz-chart .xh { stroke: var(--cvz-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.cvz-chart .dot { stroke: var(--cvz-surface); stroke-width: 2; }
.cvz-chart .dot.spent { fill: var(--cv-spent); }
.cvz-chart .dot.value { fill: var(--cv-value); }
.cvz-chart .hit { fill: transparent; cursor: crosshair; }
.cvz-chart-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--cvz-muted); margin-bottom: 6px; }
.cvz-chart .sw, .cvz-chart-tip .sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sw.spent { background: var(--cv-spent); } .sw.value { background: var(--cv-value); }
.cvz-chart-tip { position: absolute; z-index: 3; min-width: 170px; padding: 8px 10px; border-radius: 10px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border);
    box-shadow: var(--cvz-shadow); font-size: .82rem; pointer-events: none; margin-top: 14px; }
.cvz-chart-tip b { display: block; margin-bottom: 4px; }
.cvz-chart-tip .r { display: flex; align-items: center; }
.cvz-chart-tip em { margin-left: auto; padding-left: 12px; font-style: normal; font-weight: 700; color: var(--cvz-text); }
.cvz-coll-bycat { display: grid; gap: 10px; }
.cvz-coll-bycat .row1 { display: grid; grid-template-columns: 200px 1fr 190px; gap: 12px; align-items: center; }
.cvz-coll-bycat .bars { display: grid; gap: 3px; }
.cvz-coll-bycat .b { display: block; height: 8px; min-width: 2px; border-radius: 0 4px 4px 0; }
.cvz-coll-bycat .b.spent { background: var(--cv-spent); } .cvz-coll-bycat .b.value { background: var(--cv-value); }
.cvz-coll-bycat .nums { text-align: right; font-size: .88rem; }
@media (max-width: 767.98px) { .cvz-coll-bycat .row1 { grid-template-columns: 1fr; gap: 4px; } .cvz-coll-bycat .nums { text-align: left; } }
.cvz-coll-rank { padding-left: 1.4rem; }
.cvz-coll-rank li { padding: 4px 0; border-bottom: 1px dashed var(--cvz-border); }
.cvz-coll-rank li b { float: right; }
.cvz-coll-rank .up { color: #3bb54a; } .cvz-coll-rank .down { color: #e8352e; }

/* Hunt card: a printable checklist */
.cvz-hunt { margin-top: 16px; padding: 24px; border-radius: var(--radius); background: #fff; color: #111; }
.cvz-hunt header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-bottom: 3px solid #111; padding-bottom: 8px; margin-bottom: 12px; }
.cvz-hunt h1 { font-size: 1.6rem; margin: 0; color: #111; }
.cvz-hunt header p { margin: 0; color: #444; }
.cvz-hunt .key { font-size: .8rem; align-self: end; }
.cvz-hunt h2 { font-size: 1.1rem; margin: 18px 0 6px; color: #111; break-after: avoid; }
.cvz-hunt ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 28px; }
.cvz-hunt li { display: grid; grid-template-columns: 16px 1fr auto; column-gap: 8px; padding: 3px 0; border-bottom: 1px solid #ddd; break-inside: avoid; font-size: .86rem; }
.cvz-hunt .box { grid-row: span 2; width: 13px; height: 13px; margin-top: 3px; border: 1.5px solid #111; border-radius: 2px; }
.cvz-hunt .t { font-weight: 700; }
.cvz-hunt .r { font-weight: 700; text-align: right; }
.cvz-hunt .d { color: #555; font-size: .76rem; }
.cvz-hunt .m { color: #111; font-size: .76rem; text-align: right; }
@media (max-width: 767.98px) { .cvz-hunt ol { columns: 1; } }
@media print {
    .no-print, .cvz-coll-nav, .cvz-coll-listbar, .cvz-filters, .cvz-pad, .cvz-coll-msg { display: none !important; }
    .cvz-hunt { padding: 0; margin: 0; border-radius: 0; }
    .cvz-hunt ol { columns: 2; }
    .cvz-coll-tablewrap { border: 0; }
}

/* Collection Manager pictures: always the whole box, never cut off (the picture fills its square and is scaled to fit) */
.cvz-coll-card .pic, .cvz-coll-item .gallery .main { position: relative; }
.cvz-coll-card .pic img, .cvz-coll-item .gallery .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cvz-coll-card .region, .cvz-coll-card .have-badge { z-index: 1; }

/* Messages from the "I own it" buttons (site.js) */
.cvz-toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h, 64px) + 16px); z-index: 1080; max-width: min(92vw, 520px); padding: 12px 16px;
    border-radius: 14px; background: var(--cvz-surface-2); color: var(--cvz-text); border: 1px solid var(--cvz-border); box-shadow: var(--cvz-shadow);
    font-size: .92rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.cvz-toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.cvz-toast a { color: var(--accent-text); font-weight: 700; }
@media (min-width: 992px) { .cvz-toast { bottom: 24px; } }
/* (Update 186) the toast is in the page from the start now: smooth edge on 1x screens like the other rounded boxes */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) { .cvz-toast { border-width: 2px; background-clip: padding-box; } }

/* ---- One place to browse and collect (Games list, game pages, /hardware, /memorabilia) ---- */
/* Wishlist star beside the L / B / N buttons */
.cvz-cond.cvz-wishbtn::before { display: none; }
.cvz-cond.cvz-wishbtn.on { background: rgba(246, 166, 35, .2); border-color: var(--accent); color: var(--cvz-text); }
.cvz-gtile .cvz-cond.cvz-wishbtn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #10131a); }   /* (Update 186) the accent's own ink: white on the light theme's dark gold */
.cvz-ownset.compact .cvz-wishbtn { font-size: .8rem; line-height: 1; }
/* "Versions to collect" on a game page */
.cvz-versions { scroll-margin-top: 80px; }
.cvz-vgrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.cvz-version { scroll-margin-top: 90px; }
.cvz-version:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(246, 166, 35, .35); }
.cvz-version .pic { aspect-ratio: 4 / 3; }
.cvz-version .title { font-weight: 700; line-height: 1.25; }
.cvz-version .vnote { font-size: .78rem; color: var(--cvz-muted); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cvz-version .vmine { margin: 6px 0 0; padding: 6px 8px; border-radius: 10px; background: rgba(59, 181, 74, .12); font-size: .8rem; display: grid; gap: 4px; }
.cvz-version .vmine li { display: flex; align-items: center; gap: 6px; }
.cvz-version .vmine li span { flex: 1; }
.cvz-version .vmine .mine-photo { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; }
.cvz-version .vacts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 8px; }
.cvz-version .vacts .btn { padding: 2px 8px; font-size: .78rem; }
@media (max-width: 575.98px) { .cvz-vgrid { grid-template-columns: 1fr; } }
/* Collectible carts with no game page, under the Games list */
.cvz-extras > summary { cursor: pointer; list-style: none; }
.cvz-extras > summary::-webkit-details-marker { display: none; }
.cvz-extras > summary .h5::before { content: "▸ "; color: var(--accent-text); }
.cvz-extras[open] > summary .h5::before { content: "▾ "; }
/* "My Collection" row under the Games tabs (Views/Shared/_CollectionTabs.cshtml) */
.cvz-coll-nav .lbl { flex: 0 0 auto; padding: 0 8px 0 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.cvz-panel .cvz-coll-nav { margin: 10px 0 0; }
@media print { .cvz-coll .cvz-typebar { display: none !important; } }

/* ---- Account at the top right: "Sign in", or the member's avatar and menu (Views/Shared/Components/Account) ---- */
.cvz-avatar { --av: 34px; width: var(--av); height: var(--av); flex: none; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden;
    color: #fff; font-weight: 800; font-size: calc(var(--av) * .4); line-height: 1; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.cvz-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cvz-avatar svg { width: 64%; height: 64%; }
.cvz-signin { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cvz-border);
    background: var(--cvz-surface); color: var(--cvz-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cvz-signin:hover { border-color: var(--accent); color: var(--cvz-text); }
.cvz-signin svg { width: 18px; height: 18px; }
.cvz-acct { position: relative; }
.cvz-acct > summary { list-style: none; cursor: pointer; position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.cvz-acct > summary::-webkit-details-marker { display: none; }
.cvz-acct > summary:hover .cvz-avatar, .cvz-acct[open] > summary .cvz-avatar { box-shadow: 0 0 0 2px var(--accent); }
.cvz-acct-dot { position: absolute; right: 2px; bottom: 3px; width: 11px; height: 11px; border-radius: 50%; background: #3bb54a; border: 2px solid var(--cvz-bg); }
.cvz-acct-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1050; width: 250px; padding: 8px; border-radius: 14px;
    background: var(--cvz-surface); border: 1px solid var(--cvz-border); box-shadow: var(--cvz-shadow); }
.cvz-acct-menu .who { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; border-bottom: 1px solid var(--cvz-border); margin-bottom: 6px; }
.cvz-acct-menu .who strong { display: block; line-height: 1.2; }
.cvz-acct-menu .who small { display: block; color: var(--cvz-muted); font-size: .78rem; word-break: break-all; }
.cvz-acct-menu a, .cvz-acct-menu button { display: block; width: 100%; text-align: left; padding: 7px 10px; border-radius: 8px; border: 0; background: none;
    color: var(--cvz-text); text-decoration: none; font-size: .93rem; }
.cvz-acct-menu a:hover, .cvz-acct-menu button:hover { background: var(--cvz-surface-2); color: var(--accent-text); }
.cvz-acct-menu hr { margin: 6px 0; opacity: .3; }
@media (max-width: 575.98px) { .cvz-signin span { display: none; } .cvz-signin { width: 42px; padding: 0; justify-content: center; } }
/* Avatar choices on the profile page */
.cvz-avpick .choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.cvz-avpick label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 12px;
    border: 2px solid transparent; cursor: pointer; font-size: .72rem; color: var(--cvz-muted); text-align: center; }
.cvz-avpick label:hover { background: var(--cvz-surface-2); }
.cvz-avpick input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-avpick label:has(input:checked) { border-color: var(--accent); color: var(--cvz-text); background: var(--cvz-surface-2); }
.cvz-avpick label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---- Sign-in, join and "Manage your account" pages (Areas/Identity/Pages/_Layout.cshtml) ---- */
.cvz-identity { max-width: 1100px; }
.cvz-identity .cvz-panel { margin-top: 24px; }
.cvz-identity h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cvz-identity h2 { font-size: 1.15rem; color: var(--cvz-muted); }
.cvz-identity hr { opacity: .2; }
.cvz-identity form, .cvz-identity p:has(> .btn) { margin-bottom: 14px; }
.cvz-identity .btn + .btn { margin-left: 8px; }
.cvz-identity .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #10131a); font-weight: 700; }
.cvz-identity .btn-primary:hover { filter: brightness(1.08); }
.cvz-identity .form-floating > label { color: var(--cvz-muted); }
/* sign-in and join pages: the built-in "Use another service to log in" column is not used on this site */
.cvz-identity .row > .col-md-6.col-md-offset-2, .cvz-identity .row > .col-lg-4.col-lg-offset-2 { display: none; }
.cvz-identity #account button[type="submit"], .cvz-identity #registerForm button[type="submit"] { margin-bottom: 18px; }
.cvz-identity #account p, .cvz-identity #account > div > p { margin: 0 0 10px; }
/* two-step sign-in page: room between the buttons and the headings */
.cvz-identity h4, .cvz-identity h3 { margin-top: 22px; }
.cvz-identity .btn { margin-bottom: 8px; }
.cvz-2fa-status { margin: 4px 0 16px; padding: 10px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, var(--cvz-surface)); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.cvz-manage-nav .nav-link { color: var(--cvz-text); border-radius: 10px; }
.cvz-manage-nav .nav-link:hover { background: var(--cvz-surface-2); }
.cvz-manage-nav .nav-link.active { background: var(--accent); color: var(--accent-ink, #10131a); font-weight: 700; }
/* "Upload my own" avatar tile */
.cvz-avpick .cvz-avup { background: var(--cvz-surface-2); color: var(--cvz-text); border: 2px dashed var(--cvz-border); box-shadow: none; }
.cvz-avpick .cvz-avup svg { width: 50%; height: 50%; }
.cvz-avpick label.upload:hover .cvz-avup { border-color: var(--accent); color: var(--accent-text); }
.cvz-avpick .cvz-avfile { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---- Box art looks like a real cardboard box: square corners, nothing cut off ----
   (game of the day, game page header, game lists, the shelf, search suggestions and table thumbnails) */
.cvz-gotd .boxart, .cvz-ghero-box, .cvz-gbox, .cvz-thumb, .cvz-suggest img, .cvz-sbox .face { border-radius: 2px; }
/* the game of the day and the game page show the whole box at its own shape, not cropped to 3:4 */
.cvz-gotd .boxart:has(img), .cvz-ghero-box:has(img:not(.still):not(.fit)) { aspect-ratio: auto; background: none; }
.cvz-gotd .boxart img, .cvz-ghero-box img:not(.still):not(.fit) { width: 100%; height: auto; aspect-ratio: auto 3 / 4; object-fit: contain; display: block; }   /* 3:4 until the picture loads, then its own shape */
/* (Update 194) CVZ-0535: a gameplay still standing in for box art is shown whole (dark bars), not cut to a 3:4 slice;
   CVZ-0536: a landscape picture in the hero (e.g. a box photographed lying down) gets the box's width at its own shape */
.cvz-gbox img.still, .cvz-ghero-box img.still { object-fit: contain; background: #000; }
.cvz-ghero-box:has(img.wide) { aspect-ratio: auto; background: none; }
.cvz-ghero-box img.wide { height: auto; aspect-ratio: auto; padding: 0; }
/* (Update 194) CVZ-0538: YouTube frames kept at the old site's fixed 425x350 become 16:9 and full width, like the others */
.cvz-legacy iframe[src*="youtube.com"], .cvz-legacy iframe[src*="youtube-nocookie.com"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ---- "My collection" progress on the game lists: big percentage, bar by best copy, and a button ---- */
.cvz-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; padding: 16px 18px;
    border-radius: 16px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); }
.cvz-prog-main { flex: 1 1 320px; min-width: 0; }
.cvz-prog-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cvz-prog-head .pct { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--accent-text); }
.cvz-prog-head .txt { font-weight: 700; font-size: 1rem; color: var(--cvz-text); }
.cvz-prog-bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: var(--cvz-bg-2, rgba(0,0,0,.25));
    box-shadow: inset 0 1px 3px rgba(0,0,0,.45); border: 1px solid var(--cvz-border); }
.cvz-prog-bar .seg { display: block; height: 100%; width: 0; transition: width .6s ease; }
.cvz-prog-bar .seg + .seg { box-shadow: inset 1px 0 0 rgba(0,0,0,.35); }
.cvz-progress .nib { background: linear-gradient(180deg, #ffd56a, #e0a412); }
.cvz-progress .cib { background: linear-gradient(180deg, #5fd17a, #2e9a48); }
.cvz-progress .loose { background: linear-gradient(180deg, #64a8ef, #2d6fc0); }
.cvz-prog-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: .82rem; color: var(--cvz-muted); }
.cvz-prog-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cvz-prog-legend b { color: var(--cvz-text); margin-left: 3px; }
.cvz-progress .cvz-colltools { gap: 8px; }
.cvz-prog-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.cvz-prog-btn svg { width: 18px; height: 18px; }
.cvz-progress .cvz-collmsg { flex-basis: 100%; }
/* signed out: no numbers, just the invitation and the buttons */
.cvz-progress.signed-out .cvz-prog-bar, .cvz-progress.signed-out .cvz-prog-legend, .cvz-progress.signed-out .pct { display: none; }


/* =====================================================================
   Shelf view (/collection/mine?view=shelf): a bookcase with each item standing on a plank.
   wwwroot/js/shelf.js groups, sorts and sizes the items and breaks them into shelves, each shelf
   as tall as its tallest item (or all even). Settings are in the bar above the shelves.
   ===================================================================== */
.cvz-shelf-row { margin-top: 22px; }
.cvz-shelf-row h2 .dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; background: var(--spine); vertical-align: middle; }

/* wood finishes */
.cvz-shelf { --wall1: #4a2e18; --wall2: #2a180b; --frame1: #7a5230; --frame2: #4f3119; --plank1: #c8935c; --plank2: #b07a45; --plank3: #8b5a2e; --plank4: #6e4522; --plank5: #3c2410;
    --bh: 124px; --depth: 16px; --plank: 18px; --gap: 22px; --top: 16px; }
.cvz-shelf.wood-oak { --wall1: #c79f6c; --wall2: #9c7445; --frame1: #e2c08e; --frame2: #b48a55; --plank1: #f3dcb2; --plank2: #e4c48f; --plank3: #cfa66c; --plank4: #b88c52; --plank5: #8a6538; }
.cvz-shelf.wood-black { --wall1: #2a2b2e; --wall2: #121314; --frame1: #3a3b3f; --frame2: #1c1d20; --plank1: #5a5c61; --plank2: #3d3f43; --plank3: #2b2c30; --plank4: #202124; --plank5: #0b0b0c; }
.cvz-shelf.wood-white { --wall1: #f4f3ef; --wall2: #d9d7d0; --frame1: #ffffff; --frame2: #dcdad3; --plank1: #ffffff; --plank2: #f2f1ec; --plank3: #e3e1da; --plank4: #d1cfc7; --plank5: #a8a69f; }
.cvz-shelf.size-s { --bh: 92px; }
.cvz-shelf.size-l { --bh: 160px; }
.cvz-shelf.size-xl { --bh: 200px; }
/* spacing between items (the "Spacing" setting); spine-out packs closer, like books */
.cvz-shelf.gap-tight { --gap: 8px; } .cvz-shelf.gap-normal { --gap: 22px; } .cvz-shelf.gap-roomy { --gap: 38px; } .cvz-shelf.gap-wide { --gap: 60px; }
.cvz-shelf.spines.gap-tight { --gap: 0px; } .cvz-shelf.spines.gap-normal { --gap: 3px; } .cvz-shelf.spines.gap-roomy { --gap: 12px; } .cvz-shelf.spines.gap-wide { --gap: 24px; }
.cvz-shelf.labels { --plank: 30px; }

/* the bookcase: a frame around the shelves */
.cvz-shelf { border: 14px solid var(--frame2); border-image: linear-gradient(180deg, var(--frame1), var(--frame2)) 1; border-bottom-width: 10px;
    background: radial-gradient(ellipse at 50% 40%, var(--wall1), var(--wall2) 78%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.35); }
/* before the script runs: a simple wrapping row */
.cvz-shelf:not(.ready) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--top) var(--gap); padding: var(--top) 22px var(--plank); }
/* one shelf: back wall shaded by the shelf above, items standing on the plank */
.cvz-shelf-line { box-sizing: border-box; position: relative; display: flex; align-items: flex-end; gap: var(--gap); padding: var(--top) 22px var(--plank); min-height: var(--line-h, auto);
    background:
        linear-gradient(180deg, transparent calc(100% - var(--plank)), var(--plank1) calc(100% - var(--plank)), var(--plank2) calc(100% - var(--plank) + 3px),
            var(--plank3) calc(100% - var(--plank) + 4px), var(--plank4) calc(100% - 4px), var(--plank5) calc(100% - 4px)),
        linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 26px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px, rgba(0,0,0,.06) 9px 10px, transparent 10px 23px); }
.cvz-shelf-line:first-child { background:
        linear-gradient(180deg, transparent calc(100% - var(--plank)), var(--plank1) calc(100% - var(--plank)), var(--plank2) calc(100% - var(--plank) + 3px),
            var(--plank3) calc(100% - var(--plank) + 4px), var(--plank4) calc(100% - 4px), var(--plank5) calc(100% - 4px)),
        linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 18px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px, rgba(0,0,0,.06) 9px 10px, transparent 10px 23px); }

/* an item: as tall as its room on the shelf (--h), as wide as its picture */
.cvz-sbox { --h: var(--bh); --depth: calc(var(--h) * .2); --bw: calc(var(--h) * .73); position: relative; flex: none; display: block; height: var(--h); text-decoration: none; transition: transform .2s ease; }
.cvz-sbox .face { position: relative; display: block; height: 100%; border-radius: 2px; box-sizing: border-box; }
.cvz-sbox .face img { display: block; height: 100%; width: auto; max-width: calc(var(--h) * 1.6); aspect-ratio: auto 3 / 4; object-fit: contain; }
.cvz-sbox:hover, .cvz-sbox:focus-visible { transform: translateY(-6px); z-index: 2; }
.cvz-sbox:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.cvz-sbox .spn, .cvz-sbox .lbl { display: none; }
/* shadows: on the back wall and where the item meets the plank */
.cvz-sbox::after { content: ""; position: absolute; left: 4%; right: -6%; bottom: -3px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.55); filter: blur(4px); z-index: -1; }
.cvz-sbox:not(.d3) .face img, .cvz-sbox:not(.d3).noart .face { filter: drop-shadow(6px 4px 6px rgba(0,0,0,.5)); }

/* face-out boxes: a real 3D box (front, side and top in 3D space), turned so the side and top show.
   The box is about as deep as a real ColecoVision box (17% of its height); the art wraps round onto the side
   and top, the side is in shade and the top catches the light, with a lit edge where the faces meet. */
.cvz-sbox.d3 { transform-style: preserve-3d; transform: perspective(800px) rotateX(-14deg) rotateY(-30deg); transform-origin: 50% 100%; margin-right: calc(var(--depth) * .85); }
.cvz-sbox.d3:hover, .cvz-sbox.d3:focus-visible { transform: perspective(800px) translateY(-8px) rotateX(-10deg) rotateY(-16deg); }
.cvz-sbox.d3 .face { overflow: hidden; background: #111; box-shadow: 14px 8px 18px rgba(0,0,0,.5); }
.cvz-sbox.d3 .face img { max-width: none; }
.cvz-sbox.d3 .face::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(115deg, rgba(255,255,255,.25) 0, rgba(255,255,255,.07) 24%, transparent 42%, transparent 78%, rgba(0,0,0,.22));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset -1px 0 0 rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.cvz-sbox .side, .cvz-sbox .top { display: none; }
.cvz-sbox.d3 .side, .cvz-sbox.d3 .top { position: absolute; display: block; pointer-events: none; backface-visibility: hidden; }
.cvz-sbox.d3 .side { top: 0; left: 100%; width: var(--depth); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg);
    background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(0,0,0,.5) 85%, rgba(0,0,0,.65)), var(--art, none) right center / auto 100% no-repeat, var(--spc, #1a1b1f);
    box-shadow: inset 1px 0 0 rgba(255,255,255,.18); }
.cvz-sbox.d3 .top { left: 0; bottom: 100%; width: 100%; height: var(--depth); transform-origin: 50% 100%; transform: rotateX(90deg);
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.28)), var(--art, none) center top / 100% auto no-repeat, var(--spc, #3a3b40);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.35); }

/* no picture: a plain dark box with the rainbow stripe and the title */
.cvz-sbox.noart .face { width: calc(var(--h) * .73); display: flex; flex-direction: column; justify-content: center; padding: 8px 6px; overflow: hidden; background: linear-gradient(160deg, #23262d, #0d0f12); }
.cvz-sbox .stripes { position: absolute; left: 0; right: 0; top: 8%; height: 8%; background: var(--rainbow); opacity: .9; }
.cvz-sbox .t { color: #f2f2f2; font-family: var(--font-display); font-size: calc(var(--h) * .06 + 2px); line-height: 1.15; text-align: center; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; text-shadow: 0 1px 2px #000; }

/* missing: a faded ghost in its slot */
.cvz-sbox.gap { transform: none; margin-right: 0; }
.cvz-sbox.gap::after { display: none; }
.cvz-sbox.gap .face { background: rgba(255,255,255,.03); outline: 2px dashed rgba(255,255,255,.25); outline-offset: -2px; box-shadow: none; }
.cvz-sbox.gap .face img { opacity: .22; filter: grayscale(1); }
.cvz-sbox.gap .face::after, .cvz-sbox.gap .side, .cvz-sbox.gap .top { display: none; }
.cvz-sbox.gap .t { color: rgba(255,255,255,.45); text-shadow: none; }
.cvz-sbox .miss { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 1px 7px; border-radius: 999px; white-space: nowrap;
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); background: rgba(0,0,0,.6); }
.cvz-sbox .x { position: absolute; z-index: 3; top: -12px; right: -12px; padding: 1px 6px; border-radius: 999px; font-size: .68rem; font-weight: 800;
    background: #f28c28; color: #1a0d00; box-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* title tags on the plank's front edge */
.cvz-shelf.labels .cvz-sbox .lbl { display: block; position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); max-width: calc(100% + var(--gap) - 4px);
    padding: 1px 6px; border-radius: 2px; background: #f6f1e4; color: #222; font-size: .6rem; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    box-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* spine-out: each box stands with its spine facing out, as a 3D box turned a little so a sliver of the
   front cover shows beside the spine. The spine is the box's own edge color (sampled from the box art by
   shelf.js) with the catalog number, title and publisher printed on it, like a real box spine. */
.cvz-shelf.spines .cvz-sbox.bx { transform-style: preserve-3d; transform: perspective(800px) rotateX(-10deg) rotateY(-16deg); transform-origin: 50% 100%; margin-right: 0; }
.cvz-shelf.spines .cvz-sbox.bx:hover, .cvz-shelf.spines .cvz-sbox.bx:focus-visible { transform: perspective(800px) translateY(-10px) rotateX(-10deg) rotateY(-30deg); z-index: 3; }
.cvz-shelf.spines .cvz-sbox.bx::after { left: -2px; right: -40%; }
.cvz-shelf.spines .cvz-sbox.bx .face { display: none; }
.cvz-shelf.spines .cvz-sbox.bx .spn { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; width: var(--depth); min-width: 16px;
    box-sizing: border-box; padding: 5px 0 6px; overflow: hidden; border-radius: 1px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 18%, transparent 40%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.42)),
        var(--spc, #1a1b1f);
    color: var(--spt, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.35); }
.cvz-sbox .spn .num { font-size: max(7px, calc(var(--depth) * .3)); font-weight: 700; line-height: 1; opacity: .85; letter-spacing: -.02em; white-space: nowrap; }
.cvz-sbox .spn .ttl { flex: 1; min-height: 0; margin: 4px 0; writing-mode: vertical-rl; font-family: var(--font-display); text-transform: uppercase; font-weight: 800;
    font-size: max(8px, calc(var(--depth) * .55)); line-height: 1.05; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-align: center; max-width: 100%; text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.cvz-sbox .spn .pub { flex: none; writing-mode: vertical-rl; font-size: max(6px, calc(var(--depth) * .3)); font-weight: 700; line-height: 1; opacity: .8; white-space: nowrap; }
/* Coleco and CBS boxes: the ColecoVision rainbow stripe across the top of the spine */
.cvz-shelf.spines .cvz-sbox.bx.coleco .spn { padding-top: calc(var(--depth) * .9 + 6px); }
.cvz-shelf.spines .cvz-sbox.bx.coleco .spn::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: calc(var(--depth) * .9);
    background: linear-gradient(180deg, var(--r1) 0 20%, var(--r2) 20% 40%, var(--r3) 40% 60%, var(--r4) 60% 80%, var(--r5) 80% 100%); }
/* the front cover, seen edge-on beside the spine, and the top of the box */
.cvz-shelf.spines .cvz-sbox.bx .side, .cvz-shelf.spines .cvz-sbox.bx .top { position: absolute; display: block; pointer-events: none; backface-visibility: hidden; }
.cvz-shelf.spines .cvz-sbox.bx .side { top: 0; left: 100%; width: var(--bw); height: 100%; transform-origin: 0 50%; transform: rotateY(90deg);
    background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.6)), var(--art, none) left center / cover no-repeat, var(--spc, #1a1b1f); }
.cvz-shelf.spines .cvz-sbox.bx .top { left: 0; bottom: 100%; width: 100%; height: var(--bw); transform-origin: 50% 100%; transform: rotateX(90deg);
    background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(255,255,255,.18)), var(--spc, #3a3b40); }
/* missing boxes: an empty, dashed slot the width of a spine */
.cvz-shelf.spines .cvz-sbox.bx.gap { transform: none; }
.cvz-shelf.spines .cvz-sbox.bx.gap .spn { background: rgba(255,255,255,.04); color: rgba(255,255,255,.45); outline: 2px dashed rgba(255,255,255,.25); outline-offset: -2px; box-shadow: none; }
.cvz-shelf.spines .cvz-sbox.bx.gap .spn::before { opacity: .25; }
.cvz-shelf.spines .cvz-sbox.bx.gap .side, .cvz-shelf.spines .cvz-sbox.bx.gap .top { display: none; }
.cvz-shelf.spines .cvz-sbox.bx .miss, .cvz-shelf.spines .cvz-sbox.bx .lbl { display: none; }
.cvz-shelf.spines .cvz-sbox.bx .x { top: -14px; right: -10px; }

/* hardware and memorabilia stand as photos */
.cvz-sbox[data-kind="hw"] .face img, .cvz-sbox[data-kind="memo"] .face img { object-position: 50% 100%; }

/* the settings bar */
.cvz-shelfbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px;
    background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-shelfbar label { display: flex; flex-direction: column; gap: 3px; font-size: .72rem; font-weight: 700; color: var(--cvz-muted); text-transform: uppercase; letter-spacing: .04em; }
.cvz-shelfbar select { font-size: .85rem; padding: 4px 28px 4px 8px; border-radius: 8px; border: 1px solid var(--cvz-border); background-color: var(--cvz-surface-2); color: var(--cvz-text); text-transform: none; letter-spacing: 0; font-weight: 500; }
.cvz-shelfbar label.chk { flex-direction: row; align-items: center; gap: 6px; text-transform: none; font-size: .85rem; font-weight: 600; color: var(--cvz-text); padding-bottom: 6px; }
@media (max-width: 575.98px) {
    .cvz-shelf { border-width: 10px; }
    .cvz-shelf-line { padding-left: 12px; padding-right: 12px; }
    .cvz-shelf.size-m { --bh: 100px; }
    .cvz-shelf.size-l { --bh: 124px; }
    .cvz-shelf.size-xl { --bh: 150px; }
}
@media print { .cvz-sbox.d3 { transform: none; } .cvz-sbox.d3 .side, .cvz-sbox.d3 .top { display: none; } }

/* Face-out boxes stand square on the plank, facing straight out, with their depth shown going back:
   the top and right side are drawn receding up and to the right (as seen from slightly above and right),
   so the box sits flat on the shelf instead of looking turned. */
.cvz-shelf:not(.spines) .cvz-sbox.d3 { --ob: calc(var(--depth) * .6); transform: none; transform-style: flat; margin-right: calc(var(--ob) + 2px); margin-top: var(--ob); }
.cvz-shelf:not(.spines) .cvz-sbox.d3:hover, .cvz-shelf:not(.spines) .cvz-sbox.d3:focus-visible { transform: translateY(-6px); }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .face { box-shadow: none; z-index: 1; }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .side { top: 0; left: 100%; width: var(--ob); height: 100%; transform-origin: 0 0; transform: skewY(-45deg); backface-visibility: visible;
    background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.55)), var(--art, none) right center / auto 100% no-repeat, var(--spc, #1a1b1f);
    box-shadow: inset 1px 0 0 rgba(255,255,255,.25); }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .top { left: 0; bottom: 100%; width: 100%; height: var(--ob); transform-origin: 0 100%; transform: skewX(-45deg); backface-visibility: visible;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.3)), var(--art, none) center top / 100% auto no-repeat, var(--spc, #3a3b40);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.4); }
/* shadow cast on the back wall and the plank */
.cvz-shelf:not(.spines) .cvz-sbox.d3::after { left: 6%; right: calc(var(--ob) * -1 - 10px); bottom: -2px; height: 10px; }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .face { filter: drop-shadow(calc(var(--ob) + 4px) calc(var(--ob) * -.4) 8px rgba(0,0,0,.45)); }
/* thinner, true-to-scale depth (a real box is about 1/8 as deep as it is tall, drawn at half depth going back),
   and plain cardboard edges in the box's own edge color instead of stretched copies of the art */
.cvz-shelf:not(.spines) .cvz-sbox.d3 { --ob: calc(var(--h) * .04); }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .side {
    background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.42)), var(--spc, #1a1b1f); box-shadow: inset 1px 0 0 rgba(255,255,255,.22); }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .top {
    background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.26)), var(--spc, #3a3b40); box-shadow: inset 0 -1px 0 rgba(255,255,255,.35); }

/* The shelf the items stand on: a visible wooden top surface going back (lit at the front, in shadow at the
   back wall), then the plank's front edge with a bright lip and a dark underside. Items stand on the top
   surface, a little back from the front edge, with their shadow on the wood. */
.cvz-shelf { --deck: 16px; --plank: 16px; --base: calc(var(--plank) + var(--deck) * .45); }
.cvz-shelf.size-s { --deck: 12px; --plank: 13px; }
.cvz-shelf.size-l { --deck: 20px; --plank: 18px; }
.cvz-shelf.size-xl { --deck: 24px; --plank: 20px; }
.cvz-shelf.labels { --plank: 28px; }
.cvz-shelf-line, .cvz-shelf-line:first-child { padding-bottom: var(--base);
    background:
        /* front edge of the plank */
        linear-gradient(180deg, transparent calc(100% - var(--plank)),
            #fff3 calc(100% - var(--plank)), #fff3 calc(100% - var(--plank) + 1px),
            var(--plank1) calc(100% - var(--plank) + 1px), var(--plank2) calc(100% - var(--plank) + 4px),
            var(--plank3) calc(100% - var(--plank) + 5px), var(--plank4) calc(100% - 5px), var(--plank5) calc(100% - 5px), #0009 100%),
        /* the top of the plank, seen from a little above: darker at the back, lit toward the front */
        linear-gradient(180deg, transparent calc(100% - var(--plank) - var(--deck)),
            color-mix(in srgb, var(--plank4) 70%, #000) calc(100% - var(--plank) - var(--deck)),
            var(--plank3) calc(100% - var(--plank) - var(--deck) * .5),
            var(--plank2) calc(100% - var(--plank) - 1px), transparent calc(100% - var(--plank) - 1px)),
        /* grain along the top */
        repeating-linear-gradient(90deg, transparent 0 37px, rgba(0,0,0,.07) 37px 39px, transparent 39px 91px, rgba(255,255,255,.05) 91px 92px) 0 100% / 100% calc(var(--plank) + var(--deck)) no-repeat,
        /* shadow from the shelf above on the back wall */
        linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 26px),
        repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px, rgba(0,0,0,.06) 9px 10px, transparent 10px 23px); }
/* the item's shadow falls on the top of the plank */
.cvz-sbox::after { bottom: -4px; height: 9px; background: rgba(0,0,0,.6); }
.cvz-shelf.labels .cvz-sbox .lbl { top: calc(100% + var(--deck) * .45 + 5px); }
/* items rest on the shelf: they stand just behind the front lip, with a dark contact shadow where they touch */
.cvz-shelf { --base: calc(var(--plank) + var(--deck) * .2); }
.cvz-shelf.labels .cvz-sbox .lbl { top: calc(100% + var(--deck) * .2 + 5px); }
.cvz-sbox::after { left: -5%; right: -5%; bottom: -5px; height: 10px; border-radius: 50%; filter: none;
    background: radial-gradient(closest-side, rgba(0,0,0,.8), rgba(0,0,0,.45) 60%, transparent); }
.cvz-shelf:not(.spines) .cvz-sbox.d3::after { right: calc(var(--ob) * -1 - 6%); }
.cvz-shelf.spines .cvz-sbox.bx::after { left: -15%; right: -55%; }
.cvz-shelf.spines .cvz-sbox.bx { transform: perspective(800px) rotateY(-16deg); }
.cvz-shelf.spines .cvz-sbox.bx:hover, .cvz-shelf.spines .cvz-sbox.bx:focus-visible { transform: perspective(800px) translateY(-10px) rotateY(-30deg); }
.cvz-shelf.spines .cvz-sbox.bx .spn { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(0,0,0,.35), 0 3px 3px -1px rgba(0,0,0,.65); }
/* stand items a little further back on the shelf, so they don't overhang the front edge */
.cvz-shelf { --base: calc(var(--plank) + var(--deck) * .4); }
.cvz-shelf.labels .cvz-sbox .lbl { top: calc(100% + var(--deck) * .4 + 5px); }
/* Shelf base, simplified: a thin top surface and a thick, clearly visible front plank; items stand right on top */
.cvz-shelf { --deck: 7px; --plank: 20px; --base: calc(var(--plank) + 3px); }
.cvz-shelf.size-s { --deck: 6px; --plank: 16px; }
.cvz-shelf.size-l { --deck: 8px; --plank: 22px; }
.cvz-shelf.size-xl { --deck: 9px; --plank: 26px; }
.cvz-shelf.labels { --plank: 30px; }
.cvz-shelf.labels .cvz-sbox .lbl { top: calc(100% + 8px); }
/* spines: black, like the original boxes (or the box's own edge color, if chosen in the settings) */
.cvz-shelf.spines:not(.spine-match) .cvz-sbox.bx .spn { --spc: #121214; --spt: #f4f4f4; color: #f4f4f4; }
.cvz-shelf.spines:not(.spine-match) .cvz-sbox.bx .side, .cvz-shelf.spines:not(.spine-match) .cvz-sbox.bx .top { --spc: #121214; }
/* the first item starts right at the left side of the bookcase */
.cvz-shelf-line, .cvz-shelf:not(.ready) { padding-left: 2px; }
@media (max-width: 575.98px) { .cvz-shelf-line { padding-left: 2px; } }
.cvz-shelfbar label.off { opacity: .4; cursor: not-allowed; }

/* Face-out boxes: seen straight on at shelf height, so only the right side shows (no top, which made the box
   look like it was leaning forward). The side is black like the original boxes, or the box's own edge color
   when "Match the box" is chosen. */
.cvz-shelf:not(.spines) .cvz-sbox.d3 { margin-top: 0; }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .top { display: none; }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .side { transform: none; clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%); }   /* the side narrows toward the back, seen at shelf height */
.cvz-shelf:not(.spines):not(.spine-match) .cvz-sbox.d3 .side, .cvz-shelf:not(.spines):not(.spine-match) .cvz-sbox.d3 .top { --spc: #121214; }
.cvz-shelf:not(.spines) .cvz-sbox.d3 .face { filter: drop-shadow(calc(var(--ob) + 3px) 0 6px rgba(0,0,0,.45)); }

/* Spine-out boxes stand square to the shelf (90°), spine facing straight out, like books on a shelf.
   Only a thin edge of the box shows on the right, narrowing toward the back, as in face-out view. */
.cvz-shelf.spines .cvz-sbox.bx, .cvz-shelf.spines .cvz-sbox.bx:not(.gap) { transform: none; transform-style: flat; }
.cvz-shelf.spines .cvz-sbox.bx:hover, .cvz-shelf.spines .cvz-sbox.bx:focus-visible { transform: translateY(-8px); }
.cvz-shelf.spines .cvz-sbox.bx { --ob: calc(var(--h) * .03); margin-right: var(--ob); }
.cvz-shelf.spines .cvz-sbox.bx .top { display: none; }
.cvz-shelf.spines .cvz-sbox.bx .side { top: 0; left: 100%; width: var(--ob); height: 100%; transform: none; backface-visibility: visible;
    clip-path: polygon(0 0, 100% 5%, 100% 95%, 0 100%);
    background: linear-gradient(90deg, rgba(0,0,0,.2), rgba(0,0,0,.5)), var(--art, none) left center / auto 100% no-repeat, #121214; }
.cvz-shelf.spines .cvz-sbox.bx::after { left: -10%; right: -30%; }

/* ---- Spines "like the real box" (the default) ----
   Modeled on photos of real boxes (the Boxes page): an original Coleco box has a silver-gray spine with the
   game's logo running down it, "ColecoVision", and the red COLECO block with the catalog number at the foot.
   Other publishers' boxes get a black spine with their logo and name. The logo is the title band from the
   top of the box's own front art, turned to run down the spine. */
.cvz-sbox .spn .logo, .cvz-sbox .spn .cv, .cvz-sbox .spn .co, .cvz-sbox .spn .num2 { display: none; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn { --spc: #121214; color: #f2f2f2; padding-top: 4px; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn .logo { position: relative; display: block; flex: none; width: 100%; height: 40%; overflow: hidden; margin-bottom: 2px; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn .logo i { position: absolute; left: 50%; top: 50%; width: calc(var(--h) * .4); height: var(--depth);
    transform: translate(-50%, -50%) rotate(90deg); background: var(--art, none) 50% 4% / 112% auto no-repeat; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn .ttl { font-size: max(7px, calc(var(--depth) * .42)); }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn > .num { display: none; }
/* Coleco and CBS: silver spine, red logo text, ColecoVision, red COLECO block and number */
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn { --spc: #cfcfcb; color: #b5121b; padding-top: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.1) 25%, transparent 50%, rgba(0,0,0,.08) 75%, rgba(0,0,0,.28)), linear-gradient(180deg, #dcdcd8, #bdbdb8); }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn::before { display: none; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn .ttl { color: #b5121b; text-shadow: none; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn .pub { display: none; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn .cv { display: block; flex: none; writing-mode: vertical-rl; font-size: max(5px, calc(var(--depth) * .26)); font-weight: 800;
    letter-spacing: .04em; text-transform: uppercase; color: #222; margin: 2px 0; white-space: nowrap; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn .co { display: block; flex: none; writing-mode: vertical-rl; width: 78%; text-align: center; padding: 3px 0; margin-top: 2px;
    background: #d2161e; color: #fff; font-size: max(5px, calc(var(--depth) * .22)); font-weight: 900; letter-spacing: .06em; line-height: 1; border-radius: 1px; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .spn .num2 { display: block; flex: none; writing-mode: vertical-rl; margin-top: 2px; font-size: max(5px, calc(var(--depth) * .24)); color: #333; font-weight: 700; }
/* the box's edge beside the spine and the face-out side match */
.cvz-shelf.spines.spine-real .cvz-sbox.bx.coleco .side { background: linear-gradient(90deg, rgba(0,0,0,.15), rgba(0,0,0,.35)), #c7c7c3; }
.cvz-shelf:not(.spines).spine-real .cvz-sbox.d3.coleco .side { --spc: #c4c4c0; }
/* missing boxes stay dashed outlines */
.cvz-shelf.spines.spine-real .cvz-sbox.bx.gap .spn { background: rgba(255,255,255,.04); color: rgba(255,255,255,.45); }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.gap .spn .logo, .cvz-shelf.spines.spine-real .cvz-sbox.bx.gap .spn .co { opacity: .25; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx.gap .spn .ttl { color: rgba(255,255,255,.5); }
/* the art strip on spines read poorly (most box art has no title band at the top), so spines carry the
   title as lettering instead, as on the real silver Coleco spines */
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn .logo { display: none !important; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn { padding-top: 6px; }
.cvz-shelf.spines.spine-real .cvz-sbox.bx .spn .ttl { font-size: max(8px, calc(var(--depth) * .5)); }
.cvz-shelf.spines.spine-real .cvz-sbox.bx:not(.coleco) .spn > .num { display: block; }

/* =====================================================================
   3D shelf (wwwroot/js/shelf3d.js): each bookcase is a picture drawn with three.js
   ===================================================================== */
.cvz-shelf-a11y { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
#cvzShelves3d .cvz-shelf-row { margin-top: 22px; }
.cvz-bookcase { position: relative; margin-top: 8px; border-radius: 4px; overflow: hidden; background: #1a120b; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.cvz-bookcase + .cvz-bookcase { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.cvz-bookcase canvas { display: block; }
.cvz-bookcase-over { position: absolute; inset: 0; pointer-events: none; }
.cvz-3d-x { position: absolute; transform: translate(-60%, -50%); padding: 1px 7px; border-radius: 999px; font-size: .7rem; font-weight: 800;
    background: #f28c28; color: #1a0d00; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.cvz-3d-miss { position: absolute; transform: translate(-50%, -50%); padding: 1px 7px; border-radius: 999px; white-space: nowrap;
    font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(0,0,0,.55); }
/* (Update 148) title tags: shelf-edge labels, as on a store or collector's shelf. A cream card in a clear plastic
   sleeve, with a stripe in the shelf's colour, hanging from the front of the plank. Two lines of title; the whole title
   and the item's details open in a note card (.cvz-notecard) on hover, focus or tap. */
.cvz-3d-tag { position: absolute; transform: translateX(-50%); box-sizing: border-box; display: block; margin: 0; padding: 5px 6px 4px;
    min-height: 30px; border: 0; border-radius: 2px; cursor: pointer; pointer-events: auto; text-align: center; color: #241d10;
    background:
        linear-gradient(160deg, rgba(255,255,255,.55) 0 18%, rgba(255,255,255,0) 30% 100%),   /* the sleeve's shine */
        linear-gradient(180deg, var(--tag-band, var(--r2)) 0 3px, transparent 3px),          /* the shelf's colour stripe */
        repeating-linear-gradient(0deg, rgba(120,95,50,.035) 0 1px, transparent 1px 3px),     /* card grain */
        linear-gradient(180deg, #fffcf2, #efe6cf);
    box-shadow: 0 0 0 1px rgba(40,25,5,.45), 0 2px 3px rgba(0,0,0,.55), inset 0 -1px 0 rgba(0,0,0,.08);
    transition: transform .12s ease, box-shadow .12s ease; }
.cvz-3d-tag .t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
    font: 700 11px/1.15 "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; overflow-wrap: anywhere; }
.cvz-3d-tag:hover, .cvz-3d-tag[aria-expanded="true"] { transform: translateX(-50%) translateY(1px) rotate(-1deg);
    box-shadow: 0 0 0 1px rgba(40,25,5,.55), 0 4px 8px rgba(0,0,0,.6); }
.cvz-3d-tag:focus-visible { outline: 3px solid var(--r3); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cvz-3d-tag, .cvz-3d-tag:hover, .cvz-3d-tag[aria-expanded="true"] { transition: none; transform: translateX(-50%); } }

/* =====================================================================
   Note card (Update 148): the site's pop-up information card (wwwroot/js/site.js, cvzNote). A cream index card with
   a colour band, a title, short facts and a link. Opens on hover, focus or tap; pinned cards have a × button.
   ===================================================================== */
.cvz-notecard { position: fixed; z-index: 1080; left: 0; top: 0; width: min(300px, calc(100vw - 16px)); box-sizing: border-box;
    padding: 16px 16px 14px; border-radius: 6px; color: #241d10; text-align: left;
    background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(45,127,211,.13) 23px 24px) 0 52px / 100% calc(100% - 52px) no-repeat,
                linear-gradient(180deg, #fffdf5, #f5eedb);
    box-shadow: 0 0 0 1px rgba(40,25,5,.35), 0 14px 34px rgba(0,0,0,.55); font-family: var(--font-body); }
.cvz-notecard[hidden] { display: none; }
.cvz-notecard.in { animation: cvz-notecard-in .14s ease-out; }
@keyframes cvz-notecard-in { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
.cvz-notecard-band { position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px 6px 0 0; background: var(--note-band, var(--rainbow)); }
.cvz-notecard::before { content: ""; position: absolute; top: 6px; bottom: 0; left: 22px; width: 1px; background: rgba(232,53,46,.28); }   /* index-card margin line */
.cvz-notecard-kicker { margin: 0 34px 2px 14px; font: 400 .62rem/1.3 var(--font-pixel); letter-spacing: .04em; color: #7a6a48; text-transform: uppercase; }
.cvz-notecard-title { margin: 0 34px 8px 14px; font: 400 1.05rem/1.25 var(--font-display); color: #1c1609; overflow-wrap: anywhere; }
.cvz-notecard-facts { display: grid; gap: 1px; margin: 0 0 10px 14px; font-size: .82rem; line-height: 23px; }
.cvz-notecard-facts > div { display: flex; gap: 8px; }
.cvz-notecard-facts dt { flex: none; min-width: 84px; font-weight: 600; color: #6f6247; }
.cvz-notecard-facts dd { margin: 0; color: #241d10; overflow-wrap: anywhere; }
.cvz-notecard-go { display: inline-flex; align-items: center; min-height: 36px; margin-left: 14px; padding: 4px 12px; border-radius: 999px;
    background: #1c1609; color: #fff6dc !important; font-weight: 700; font-size: .82rem; text-decoration: none; }
.cvz-notecard-go:hover { background: #3a2d12; }
.cvz-notecard-go:focus-visible, .cvz-notecard-x:focus-visible { outline: 3px solid var(--r5); outline-offset: 2px; }
.cvz-notecard-x { position: absolute; top: 10px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent;
    color: #6f6247; font-size: 1.3rem; line-height: 1; cursor: pointer; display: none; }
.cvz-notecard.pinned .cvz-notecard-x { display: block; }
.cvz-notecard-x:hover { background: rgba(0,0,0,.07); color: #241d10; }
.cvz-notecard-arrow { position: absolute; left: var(--arrow-x, 50%); bottom: -7px; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg);
    background: #f5eedb; box-shadow: 1px 1px 0 rgba(40,25,5,.35); }
.cvz-notecard.below .cvz-notecard-arrow { bottom: auto; top: -7px; background: var(--note-band, var(--r2)); box-shadow: -1px -1px 0 rgba(40,25,5,.35); }
@media (prefers-reduced-motion: reduce) { .cvz-notecard.in { animation: none; } }

/* =====================================================================
   Messages between collectors (/messages)
   ===================================================================== */
.cvz-badge { display: inline-block; min-width: 18px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #e8352e; color: #fff;
    font-size: .7rem; font-weight: 800; line-height: 1.35; text-align: center; vertical-align: 1px; }
.cvz-acct-count { position: absolute; right: -4px; top: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e8352e; color: #fff;
    font-size: .68rem; font-weight: 800; line-height: 18px; text-align: center; border: 2px solid var(--cvz-bg); box-sizing: content-box; }
/* inbox */
.cvz-inbox { margin: 16px 0 0; border: 1px solid var(--cvz-border); border-radius: 14px; overflow: hidden; background: var(--cvz-surface); }
.cvz-inbox li + li { border-top: 1px solid var(--cvz-border); }
.cvz-inbox a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: var(--cvz-text); text-decoration: none; }
.cvz-inbox a:hover { background: var(--cvz-surface-2); }
.cvz-inbox .txt { flex: 1; min-width: 0; }
.cvz-inbox .top { display: flex; justify-content: space-between; gap: 8px; }
.cvz-inbox .when { color: var(--cvz-muted); font-size: .78rem; white-space: nowrap; }
.cvz-inbox .snip { display: block; color: var(--cvz-muted); font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvz-inbox li.unread .snip { color: var(--cvz-text); font-weight: 600; }
/* a conversation */
.cvz-chat { margin-top: 16px; border: 1px solid var(--cvz-border); border-radius: 16px; background: var(--cvz-surface); overflow: visible; }
.cvz-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--cvz-border); position: relative; }
.cvz-chat-head .back { font-size: 1.3rem; text-decoration: none; color: var(--cvz-text); padding: 0 4px; }
.cvz-chat-head .who { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.cvz-chat-more > summary { list-style: none; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 2px 10px; border-radius: 8px; }
.cvz-chat-more > summary::-webkit-details-marker { display: none; }
.cvz-chat-more > summary:hover { background: var(--cvz-surface-2); }
.cvz-chat-more .menu { position: absolute; right: 10px; top: calc(100% - 4px); z-index: 20; width: 280px; padding: 10px; border-radius: 12px;
    background: var(--cvz-surface); border: 1px solid var(--cvz-border); box-shadow: var(--cvz-shadow); display: grid; gap: 10px; }
.cvz-chat-more .menu button { width: 100%; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-align: left; }
.cvz-chat-more .menu button:hover { border-color: var(--accent); }
.cvz-chat-more .report { display: grid; gap: 6px; }
.cvz-chat-more textarea { width: 100%; border-radius: 8px; border: 1px solid var(--cvz-border); background: var(--cvz-bg); color: var(--cvz-text); padding: 6px 8px; font-size: .85rem; }
.cvz-chat-log { max-height: 60vh; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; }
.cvz-chat .msg { max-width: min(560px, 82%); display: flex; flex-direction: column; gap: 4px; }
.cvz-chat .msg.mine { align-self: flex-end; align-items: flex-end; }
.cvz-chat .msg.theirs { align-self: flex-start; }
.cvz-chat .bubble { padding: 9px 13px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.cvz-chat .msg.theirs .bubble { background: var(--cvz-surface-2); border-bottom-left-radius: 4px; }
.cvz-chat .msg.mine .bubble { background: var(--accent); color: var(--accent-ink, #10131a); border-bottom-right-radius: 4px; }
.cvz-chat .msg .meta { font-size: .72rem; color: var(--cvz-muted); }
.cvz-chat .msg .item { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; border: 1px solid var(--cvz-border);
    background: var(--cvz-bg-2, rgba(0,0,0,.15)); color: var(--cvz-text); text-decoration: none; max-width: 100%; }
.cvz-chat .msg .item img { width: 44px; height: 56px; object-fit: contain; }
.cvz-chat .msg .item span { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.cvz-chat .msg .item small { color: var(--cvz-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvz-chat-form { display: grid; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--cvz-border); }
.cvz-chat-cant { margin: 0; padding: 14px; border-top: 1px solid var(--cvz-border); color: var(--cvz-muted); text-align: center; }
.cvz-coll-wantlist li .ms-auto { flex: none; }
/* "Back to Games" above the tabs on the My Collection pages */
.cvz-backbar { display: flex; margin: 14px 0 -4px; }
.cvz-back-games { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; font-weight: 600; padding: 5px 14px 5px 10px; }
@media print { .cvz-backbar { display: none; } }
/* "Back to Games" at the end of the My Collection row (hidden on the game lists themselves, where it isn't needed) */
.cvz-coll-nav .cvz-back-games { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 10px; border-radius: 999px;
    border: 1px solid var(--accent); color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.cvz-coll-nav .cvz-back-games:hover { background: var(--accent); color: var(--accent-ink, #10131a); }
.cvz-games .cvz-coll-nav .cvz-back-games { display: none; }
/* Home page photos crossfading (site.js) */
.cvz-hero-slides { position: absolute; inset: 0; }
.cvz-hero-slides .cvz-hero-img { opacity: 0; transition: opacity 1.8s ease; }
.cvz-hero-slides .cvz-hero-img.on { opacity: 1; }
/* Kiosk photo (cpic56) was widened with the room extended; keep the kiosk itself in view on narrow screens */
.cvz-hero-slides .cvz-hero-img[src*="cpic56"] { object-position: 77% 50%; transform-origin: 77% 50% !important; }
/* 4:3 video in a 16:9 YouTube frame (e.g. the ADAM commercial): show only the middle 4:3 part, cropping the blurred side bars */
.cvz-video-43 { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.cvz-video-43 iframe { position: absolute; top: 0; left: -16.667%; width: 133.334% !important; max-width: none !important; height: 100% !important; border: 0; }
/* Our own controls for .cvz-video-43 (site.js): the iframe sits in a 4:3 stage that crops YouTube's blurred side bars */
.cvz-video-43 { outline: none; }
.cvz-video-43 .cvz-v-stage { position: absolute; inset: 0; overflow: hidden; }
/* (Update 194) one rule per pseudo-class: Firefox drops a whole rule that also names :-webkit-full-screen. "pseudo-full"
   fills the window where a <div> cannot go full screen (iPhone Safari), as the TV player does. */
.cvz-video-43:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
.cvz-video-43:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; }
.cvz-video-43.pseudo-full { position: fixed; inset: 0; z-index: 3000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
.cvz-video-43.pseudo-full .cvz-v-stage { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(100vw, calc(100vh * 4 / 3)); aspect-ratio: 4 / 3; }
.cvz-video-43:fullscreen .cvz-v-stage { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(100vw, calc(100vh * 4 / 3)); aspect-ratio: 4 / 3; }
.cvz-video-43:-webkit-full-screen .cvz-v-stage { inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(100vw, calc(100vh * 4 / 3)); aspect-ratio: 4 / 3; }
.cvz-v-hit { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: transparent; cursor: pointer; }
.cvz-video-43 .cvz-v-stage > iframe, .cvz-video-43 .cvz-v-stage > div { position: absolute; top: 0; left: -16.667%; width: 133.334% !important; max-width: none !important; height: 100% !important; border: 0; }
.cvz-v-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 26px 12px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: #fff; font-size: .85rem; opacity: 0; transition: opacity .25s; }
.cvz-video-43:hover .cvz-v-bar, .cvz-video-43:focus-within .cvz-v-bar, .cvz-video-43.paused .cvz-v-bar { opacity: 1; }
@media (hover: none) { .cvz-v-bar { opacity: 1; } }
.cvz-v-btn { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; padding: 0; }
.cvz-v-btn svg { width: 24px; height: 24px; fill: currentColor; }
.cvz-v-btn:hover, .cvz-v-btn:focus-visible { background: rgba(255, 255, 255, .16); }
.cvz-v-btn.on { background: rgba(255, 255, 255, .28); box-shadow: inset 0 -2px 0 #fff; }   /* (Update 194) captions on */
.cvz-v-time { flex: none; font-variant-numeric: tabular-nums; min-width: 84px; text-shadow: 0 1px 2px #000; }
.cvz-v-seek, .cvz-v-vol { -webkit-appearance: none; appearance: none; height: 5px; border-radius: 99px; cursor: pointer; margin: 0;
    background: linear-gradient(90deg, var(--accent, #e8352e) var(--p, 0%), rgba(255, 255, 255, .3) var(--p, 0%)); }
.cvz-v-seek { flex: 1 1 auto; min-width: 60px; }
.cvz-v-vol { flex: 0 0 80px; --p: 100%; }
.cvz-v-seek::-webkit-slider-thumb, .cvz-v-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.cvz-v-seek::-moz-range-thumb, .cvz-v-vol::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
/* (Update 194) Firefox draws its own track over the input's gradient: keep it see-through so the progress fill shows */
.cvz-v-seek::-moz-range-track, .cvz-v-vol::-moz-range-track { background: transparent; border: 0; height: 5px; }
.cvz-v-seek::-moz-range-progress, .cvz-v-vol::-moz-range-progress { background: transparent; }
@media (max-width: 520px) { .cvz-v-vol { display: none; } .cvz-v-time { min-width: 0; font-size: .78rem; } .cvz-v-bar { gap: 6px; } }
/* Thumbnail over YouTube's own start screen (with its red play button) until the video is actually playing */
.cvz-v-poster { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; z-index: 1; pointer-events: none; transition: opacity .4s; border-radius: 0 !important; }
.cvz-video-43.started .cvz-v-poster { opacity: 0; }

/* ---- Explore menu, two panes (Views/Shared/Components/Menu/Mega.cshtml, site.js) ---- */
[data-section="Consoles & Add-ons"] { --accent: var(--r2); }
[data-section="ADAM"]               { --accent: var(--r1); --accent-ink: #000; }   /* (Update 194) as Coleco: black ink on the red accent passes AA */
[data-section="Packaging & Print"]  { --accent: #2bb6b0; }
[data-section="Memorabilia"]        { --accent: #b065e0; }
[data-section="TV Commercials"]     { --accent: var(--r5); }
[data-section="Community"]          { --accent: var(--r4); }
.cvz-mega2 { max-width: 1080px; margin: 0 auto; padding: 22px 16px 26px; display: grid; grid-template-columns: 250px 1fr; gap: 28px; }
.cvz-mega-rail { display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--cvz-border); padding-right: 18px; }
.cvz-mega-rail button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border: 0; border-radius: 10px;
    background: transparent; color: var(--cvz-text); font-weight: 600; font-size: .95rem; cursor: pointer; }
.cvz-mega-rail button .lbl { flex: 1; }
.cvz-mega-rail button svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; color: var(--accent-text); }
.cvz-mega-rail .cvz-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); flex: none; }
.cvz-mega-rail button:hover { background: var(--cvz-surface-2); }
.cvz-mega-rail button[aria-selected="true"] { background: var(--cvz-surface-2); color: var(--accent-text); }
.cvz-mega-rail button[aria-selected="true"] svg { opacity: 1; transform: none; }
.cvz-mega-rail button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cvz-mega-panels section { animation: cvz-fade .15s ease-out; }
@keyframes cvz-fade { from { opacity: 0; } to { opacity: 1; } }
.cvz-mega-panels h3 { font-size: 1.15rem; margin: 4px 0 4px; color: var(--accent-text); }
.cvz-mega-blurb { color: var(--cvz-muted); font-size: .9rem; margin: 0 0 14px; max-width: 60ch; }
.cvz-mega-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.cvz-mega-links li { break-inside: avoid; margin-bottom: 2px; }
.cvz-mega-links a { display: block; padding: 7px 10px; margin-left: -10px; border-radius: 8px; color: var(--cvz-text); text-decoration: none; font-size: .95rem; }
.cvz-mega-links a:hover, .cvz-mega-links a:focus-visible { background: var(--cvz-surface-2); color: var(--accent-text); }
@media (min-width: 1300px) { .cvz-mega-links { columns: 3; } }

/* Explore button: same highlight as the other tabs while its menu is open (and while you're on a page from it) */
.cvz-nav > button[aria-expanded="true"] { background: var(--cvz-surface-2); box-shadow: inset 0 -3px 0 var(--accent); }
/* while the menu is open, only Explore is underlined */
.cvz-nav:has(> button[aria-expanded="true"]) > a.active { box-shadow: none; }
/* no extra outline ring after a mouse click (keyboard focus still shows one) */
.cvz-nav > button:focus:not(:focus-visible) { outline: none; }

/* ---------- /hardware: grouped by era and system ---------- */
.cvz-hw-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.cvz-hw-note { color: var(--cvz-muted); margin: 6px 0 4px; }
.cvz-chip.cvz-chip-both { color: #4fc3f7; border-color: color-mix(in srgb, #4fc3f7 55%, transparent); background: color-mix(in srgb, #4fc3f7 10%, var(--cvz-surface-2)); font-weight: 600; }
.cvz-hw-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.cvz-hw-jump a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; font-size: .85rem; font-weight: 600; }
.cvz-hw-jump a span { color: var(--cvz-muted); font-weight: 500; margin-left: 4px; }
.cvz-hw-jump a:hover { border-color: var(--accent, #e63946); }
.cvz-hw-era { margin: 26px 0 10px; }
.cvz-hw-era-title { font-size: 1.5rem; font-weight: 800; padding-bottom: 8px; border-bottom: 3px solid var(--accent, #e63946); margin-bottom: 4px; scroll-margin-top: 90px; }
.cvz-hw-sys { margin: 18px 0 8px; scroll-margin-top: 90px; }
.cvz-hw-sys-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.cvz-hw-sys-title .count { font-size: .8rem; font-weight: 600; color: var(--cvz-muted); background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); border-radius: 999px; padding: 1px 9px; }

/* ---------- Row numbers in table views (CSS counters, so rows hidden by the Owned/Missing filters are skipped) ---------- */
.cvz-gametable tbody { counter-reset: cvzrow; }
.cvz-gametable tbody tr, .cvz-coll-table tbody tr { counter-increment: cvzrow; }
td.cvz-rownum::before { content: counter(cvzrow); }
.cvz-rownum { width: 1%; white-space: nowrap; text-align: right; color: var(--cvz-muted); font-variant-numeric: tabular-nums; font-size: .85rem; padding-right: .4rem !important; }

/* ---------- /you: the Christmas morning photo album ---------- */
.cvz-album { display: grid; gap: 28px; margin: 8px 0 28px; }
.cvz-album-page {
    --paper: #f3ead8; --ink: #3b2f22;
    background: var(--paper) radial-gradient(circle at 20% 10%, rgba(255,255,255,.55), transparent 60%);
    color: var(--ink); border-radius: 6px; padding: 26px 26px 34px;
    box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 0 0 1px rgba(0,0,0,.06), inset 14px 0 18px -14px rgba(0,0,0,.35);
    position: relative;
}
.cvz-album-year {
    font-family: "Segoe Print", "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
    font-size: 2rem; font-weight: 700; color: #b3261e; margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.cvz-album-year small { font-size: 1rem; color: var(--ink); opacity: .75; font-weight: 400; }
.cvz-album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 26px; align-items: start; }
.cvz-album-photo { margin: 0; transform: rotate(var(--tilt, 0deg)); transition: transform .25s ease, box-shadow .25s ease; position: relative; justify-self: center; max-width: 100%; }
.cvz-album-photo img {
    display: block; width: 100%; height: auto; background: #fff; padding: 9px 9px 9px;
    box-shadow: 0 6px 14px rgba(0,0,0,.28); cursor: zoom-in; border-radius: 1px;
    filter: saturate(.92) contrast(1.02);
}
/* black paper photo corners */
.cvz-album-photo::before, .cvz-album-photo::after {
    content: ""; position: absolute; width: 26px; height: 26px; z-index: 1; pointer-events: none;
    background: linear-gradient(135deg, #1d1d1d 50%, transparent 50%);
    top: -5px; left: -5px;
}
.cvz-album-photo::after { left: auto; right: -5px; transform: rotate(90deg); }
.cvz-album-photo figcaption {
    font-family: "Segoe Print", "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
    color: var(--ink); text-align: center; font-size: 1.02rem; margin-top: 6px; line-height: 1.2;
}
.cvz-album-photo:hover, .cvz-album-photo:focus-within { transform: rotate(0deg) scale(1.04); z-index: 2; }
.cvz-album-photo:hover img { box-shadow: 0 14px 28px rgba(0,0,0,.4); }
@media (prefers-reduced-motion: reduce) { .cvz-album-photo { transition: none; } }
@media (max-width: 576px) {
    .cvz-album-page { padding: 18px 16px 26px; }
    .cvz-album-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
    .cvz-album-year { font-size: 1.6rem; }
    .cvz-album-photo figcaption { font-size: .9rem; }
}
.cvz-album-share {
    text-align: center; padding: 26px 22px; margin: 0 0 30px; border-radius: 10px;
    background: var(--cvz-surface); border: 1px dashed var(--cvz-border);
}
.cvz-album-share h3 { font-weight: 800; margin-bottom: 8px; }
.cvz-album-share p { color: var(--cvz-muted); max-width: 640px; margin: 0 auto 16px; }

/* ---------- /canada: then-and-now year slider, timeline, Coleco corner ---------- */
.cvz-timeslide { margin-top: 22px; }
.cvz-timeslide-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0b0c0f; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.cvz-timeslide-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.cvz-timeslide-frame img.on { opacity: 1; }
.cvz-timeslide-year { position: absolute; left: 14px; bottom: 12px; font-weight: 800; font-size: 2.2rem; line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.8); letter-spacing: .02em; }
.cvz-timeslide-controls { margin-top: 12px; }
.cvz-timeslide-controls input[type=range] { width: 100%; accent-color: var(--accent, #e63946); cursor: pointer; }
.cvz-timeslide-stops { display: flex; justify-content: space-between; margin-top: 2px; }
.cvz-timeslide-stops button { background: none; border: 0; color: var(--cvz-muted); font-weight: 700; padding: 4px 6px; border-radius: 6px; min-width: 44px; }
.cvz-timeslide-stops button[aria-pressed=true] { color: var(--cvz-text); background: var(--cvz-surface-2); }
.cvz-timeslide-hint { color: var(--cvz-muted); font-size: .88rem; margin: 6px 0 0; }
@media (prefers-reduced-motion: reduce) { .cvz-timeslide-frame img { transition: none; } }

.cvz-tl { position: relative; margin: 10px 0 30px; padding-left: 0; }
.cvz-tl-stage { display: grid; grid-template-columns: 150px 1fr; gap: 0 26px; position: relative; padding: 0 0 30px; }
.cvz-tl-stage::before { content: ""; position: absolute; left: 150px; margin-left: 12px; top: 6px; bottom: 0; width: 3px; background: linear-gradient(var(--accent, #e63946), var(--cvz-border)); border-radius: 2px; }
.cvz-tl-stage::after { content: ""; position: absolute; left: 150px; margin-left: 6px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent, #e63946); box-shadow: 0 0 0 4px var(--cvz-bg); }
.cvz-tl-when { text-align: right; font-weight: 800; color: var(--accent-text); font-size: 1.05rem; padding-top: 0; line-height: 1.3; }
.cvz-tl-body { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 12px; padding: 20px 22px; margin-left: 14px; }
.cvz-tl-body h3 { font-weight: 800; margin: 0 0 6px; }
.cvz-tl-body > p { color: var(--cvz-muted); margin-bottom: 14px; }
.cvz-tl-coleco .cvz-tl-body { border-color: color-mix(in srgb, var(--accent, #e63946) 55%, transparent); background: color-mix(in srgb, var(--accent, #e63946) 7%, var(--cvz-surface)); }
.cvz-tl-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cvz-tl-photo { margin: 0; }
.cvz-tl-photo.wide { grid-column: span 2; }
.cvz-tl-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; cursor: zoom-in; display: block; box-shadow: 0 4px 12px rgba(0,0,0,.3); transition: transform .2s ease; }
.cvz-tl-photo.wide img { aspect-ratio: 16 / 9; }
.cvz-tl-photo img:hover { transform: scale(1.03); }
.cvz-tl-photo figcaption { font-size: .8rem; color: var(--cvz-muted); margin-top: 6px; line-height: 1.3; }
@media (max-width: 700px) {
    .cvz-tl-stage { grid-template-columns: 1fr; padding-left: 26px; }
    .cvz-tl-stage::before { left: 0; margin-left: 6px; }
    .cvz-tl-stage::after { left: 0; margin-left: 0; }
    .cvz-tl-when { text-align: left; margin-bottom: 6px; }
    .cvz-tl-body { margin-left: 0; padding: 16px; }
    .cvz-tl-photos { grid-template-columns: 1fr 1fr; }
}

.cvz-coleco-corner { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; background: var(--cvz-surface); border: 2px solid var(--accent, #e63946); border-radius: 14px; padding: 24px; margin: 0 0 34px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent, #e63946) 12%, transparent); }
.cvz-coleco-corner h3 { font-weight: 800; margin: 4px 0 8px; }
.cvz-coleco-corner p { color: var(--cvz-muted); }
.cvz-cc-addr { color: var(--cvz-text) !important; }
.cvz-coleco-corner .cvz-tl-photos { grid-template-columns: 1fr 1fr 1fr; grid-column: 1 / -1; }
.cvz-coleco-corner .cvz-cc-text { grid-column: 1 / -1; max-width: 760px; }
.cvz-cc-map { grid-column: 1 / -1; width: 100%; height: 300px; border: 0; border-radius: 10px; }
.cvz-cc-maplink { grid-column: 1 / -1; font-size: .88rem; margin-top: -10px; }
@media (max-width: 800px) { .cvz-coleco-corner { grid-template-columns: 1fr; padding: 18px; } }

/* ---------- Click-to-play YouTube cards (.cvz-yt) ---------- */
.cvz-yt { margin: 0; }
.cvz-yt-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.cvz-yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, filter .3s ease; filter: brightness(.85); }
.cvz-yt-btn:hover img, .cvz-yt-btn:focus-visible img { transform: scale(1.03); filter: brightness(1); }
.cvz-yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: rgba(230, 33, 23, .92); box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.cvz-yt-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.cvz-yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; display: block; }
.cvz-yt figcaption { font-size: .88rem; margin-top: 8px; color: var(--cvz-text); }
.cvz-yt figcaption span { color: var(--cvz-muted); }
.cvz-yt.lead { margin-top: 18px; }
.cvz-yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 16px; }

/* ---------- /coleco_usa ---------- */
.cvz-section-title { font-weight: 800; margin: 0 0 14px; }
.cvz-numbers { background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #e63946) 16%, var(--cvz-surface)), var(--cvz-surface)); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 22px 24px; margin: 0 0 28px; }
.cvz-numbers h3 { font-weight: 800; margin: 0 0 14px; }
.cvz-numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cvz-num b { display: block; font-size: 2.1rem; font-weight: 900; line-height: 1.05; color: var(--cvz-text); font-variant-numeric: tabular-nums; }
.cvz-num span { display: block; color: var(--cvz-muted); font-size: .86rem; margin-top: 6px; line-height: 1.35; }
.cvz-numbers-note { color: var(--cvz-muted); font-size: .88rem; margin: 16px 0 0; }
@media (max-width: 800px) { .cvz-numbers-grid { grid-template-columns: 1fr 1fr; } .cvz-num b { font-size: 1.7rem; } }
.cvz-company, .cvz-plant, .cvz-related { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 24px; margin: 0 0 28px; }
.cvz-ms-list { list-style: none; margin: 0 0 22px; padding: 0 0 0 4px; position: relative; }
.cvz-ms-list::before { content: ""; position: absolute; left: 96px; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: linear-gradient(var(--accent, #e63946), var(--cvz-border)); }
.cvz-ms { display: grid; grid-template-columns: 80px 1fr; gap: 0 36px; padding: 0 0 16px; position: relative; }
.cvz-ms::before { content: ""; position: absolute; left: 84px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--cvz-surface); border: 3px solid var(--accent, #e63946); }
.cvz-ms.hot::before { background: var(--accent, #e63946); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent, #e63946) 25%, transparent); }
.cvz-ms.end::before { border-color: var(--cvz-muted); }
.cvz-ms-year { text-align: right; font-weight: 800; color: var(--accent-text); font-size: .95rem; line-height: 1.5; }
.cvz-ms h4 { font-size: 1.02rem; font-weight: 700; margin: 0 0 2px; }
.cvz-ms h3 { font-family: var(--font-body); letter-spacing: 0; font-size: 1.02rem; font-weight: 700; margin: 0 0 2px; }   /* (Update 186) What's new milestones are h3 now, same look */
.cvz-ms p { color: var(--cvz-muted); margin: 0; font-size: .93rem; }
.cvz-ms.hot h4 { color: var(--accent-text); }
@media (max-width: 576px) {
    .cvz-ms-list::before { left: 6px; }
    .cvz-ms { grid-template-columns: 1fr; padding-left: 28px; }
    .cvz-ms::before { left: 0; }
    .cvz-ms-year { text-align: left; }
}
.cvz-plant p { color: var(--cvz-muted); }
.cvz-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.cvz-related-grid a { display: block; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); text-decoration: none; color: var(--cvz-text); transition: border-color .2s ease, transform .2s ease; }
.cvz-related-grid a:hover { border-color: var(--accent, #e63946); transform: translateY(-2px); }
.cvz-related-grid b { display: block; }
.cvz-related-grid span { display: block; color: var(--cvz-muted); font-size: .85rem; margin-top: 2px; }

/* ---------- /history: chapters, sticky chapter list, pull quotes, finance chart ---------- */
.cvz-hist { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 30px; }
.cvz-toc { position: sticky; top: 90px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 12px; padding: 16px 14px; }
/* (Update 186) on short landscape screens (1024x600) the stuck chapter list ran below the window and its last chapter
   could not be reached: it is never taller than the window and scrolls on its own */
@media (min-width: 992px) { .cvz-toc { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; } }
.cvz-toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.cvz-toc a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--cvz-muted); text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.25; border-left: 3px solid transparent; }
.cvz-toc a span { display: block; font-size: .74rem; font-weight: 700; color: var(--accent-text); opacity: .8; }
.cvz-toc a:hover { color: var(--cvz-text); background: var(--cvz-surface-2); }
.cvz-toc a.on { color: var(--cvz-text); background: var(--cvz-surface-2); border-left-color: var(--accent, #e63946); }
.cvz-hist-body { min-width: 0; }
.cvz-hist-ch { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 26px 28px; margin-bottom: 22px; scroll-margin-top: 90px; overflow: hidden; }
.cvz-hist-ch::after { content: ""; display: block; clear: both; }
.cvz-hist-yrs { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .04em; color: var(--accent-text); }
.cvz-hist-ch h3 { font-weight: 800; margin: 2px 0 14px; }
.cvz-hist-ch p { font-size: 1.04rem; line-height: 1.7; color: var(--cvz-text); }
.cvz-hist-fig { margin: 6px 0 18px; }
.cvz-hist-fig img { width: 100%; border-radius: 10px; display: block; cursor: zoom-in; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.cvz-hist-fig figcaption { font-size: .82rem; color: var(--cvz-muted); margin-top: 6px; }
.cvz-hist-fig.side { float: right; width: 38%; margin: 4px 0 14px 22px; }
.cvz-hist-fig.wide img { max-height: 380px; object-fit: cover; }
@media (max-width: 700px) { .cvz-hist-fig.side { float: none; width: 100%; margin: 6px 0 16px; } }
.cvz-pull { margin: 22px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent, #e63946); clear: both; }
.cvz-pull p { font-size: 1.45rem !important; font-weight: 800; line-height: 1.3 !important; margin: 0; }
.cvz-pull cite { display: block; font-style: normal; color: var(--cvz-muted); font-size: .85rem; margin-top: 6px; }
.cvz-hist-note { font-size: .85rem !important; color: var(--cvz-muted) !important; }
@media (max-width: 991px) {
    .cvz-hist { grid-template-columns: 1fr; }
    .cvz-toc { position: static; }
    .cvz-toc ol { display: flex; flex-wrap: wrap; gap: 6px; }
    .cvz-toc a { border-left: 0; background: var(--cvz-surface-2); padding: 6px 10px; }
    .cvz-toc a span { display: inline; margin-right: 6px; }
}
.cvz-finchart-wrap { --fin-pos: #3987e5; --fin-neg: #e66767; margin: 8px 0 6px; }
[data-bs-theme="light"] .cvz-finchart-wrap { --fin-pos: #2a78d6; --fin-neg: #e34948; }
.cvz-finchart { width: 100%; height: auto; display: block; overflow: visible; }
.cvz-finchart .ttl { font-weight: 700; font-size: 14px; fill: var(--cvz-text); }
.cvz-finchart .ax { font-size: 11px; fill: var(--cvz-muted); font-variant-numeric: tabular-nums; }
.cvz-finchart .ax.yr { font-size: 12px; font-weight: 600; fill: var(--cvz-text); }
.cvz-finchart .lbl { font-size: 11.5px; font-weight: 700; fill: var(--cvz-text); }
.cvz-finchart .grid { stroke: var(--cvz-border); stroke-width: 1; }
.cvz-finchart .grid.zero { stroke: var(--cvz-muted); stroke-width: 1.5; }
.cvz-finchart .hit { fill: transparent; }
.cvz-finchart .sales path, .cvz-finchart .gain path { fill: var(--fin-pos); }
.cvz-finchart .loss path { fill: var(--fin-neg); }
.cvz-finchart .cvz-bar { outline: none; cursor: default; }
.cvz-finchart .cvz-bar:hover path, .cvz-finchart .cvz-bar:focus path { filter: brightness(1.18); }
.cvz-finchart .cvz-bar:focus .hit { fill: color-mix(in srgb, var(--cvz-text) 6%, transparent); }
/* (Update 194) a clear keyboard focus mark on the bars (the outline is off, and a 6% tint alone was barely visible) */
.cvz-finchart .cvz-bar:focus-visible path { stroke: var(--r3, #f6c61b); stroke-width: 3px; paint-order: stroke; }
.cvz-finchart .cvz-bar:focus-visible .hit { stroke: var(--cvz-text); stroke-width: 2px; stroke-dasharray: 4 3; }
[data-bs-theme="light"] .cvz-finchart .cvz-bar:focus-visible path { stroke: #1d63ba; }
.cvz-fin-tip { position: fixed; z-index: 50; pointer-events: none; background: var(--cvz-surface-2); color: var(--cvz-text); border: 1px solid var(--cvz-border); border-radius: 8px; padding: 6px 10px; font-size: .85rem; font-weight: 600; box-shadow: 0 6px 18px rgba(0,0,0,.35); white-space: nowrap; }
.cvz-fin-table summary { cursor: pointer; color: var(--cvz-muted); font-size: .88rem; margin-top: 6px; }
.cvz-fin-table table { max-width: 420px; margin-top: 8px; font-size: .9rem; }
.cvz-more { margin: -6px 0 20px; font-weight: 700; }

/* ---------- /greenberg: the letter, family cards, Arnold through the years ---------- */
.cvz-letter-wrap, .cvz-family, .cvz-arnold { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 24px; margin: 0 0 26px; }
.cvz-letter-head h3 { font-weight: 800; margin: 4px 0 6px; }
.cvz-letter-head p { color: var(--cvz-muted); margin-bottom: 18px; }
.cvz-letter { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.cvz-letter-scan { margin: 0; background: #fbfaf6; padding: 14px; border-radius: 4px; box-shadow: 0 14px 30px rgba(0,0,0,.4); transform: rotate(-1.2deg); }
.cvz-letter-scan img { width: 100%; display: block; cursor: zoom-in; }
.cvz-letter-scan figcaption { color: #6b6658; font-size: .78rem; margin-top: 6px; }
.cvz-letter-text { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; line-height: 1.65; border-left: 3px solid var(--accent, #e63946); padding-left: 20px; }
.cvz-letter-text p { margin: 0 0 12px; }
.cvz-letter-from { font-family: inherit; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--cvz-muted); }
.cvz-letter-sig { font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-size: 1.6rem; color: var(--cvz-text); }
@media (max-width: 760px) { .cvz-letter { grid-template-columns: 1fr; } .cvz-letter-scan { transform: none; } }
.cvz-family-photo { margin: 0 0 20px; }
.cvz-family-photo img { width: 100%; max-height: 460px; object-fit: cover; object-position: center 30%; border-radius: 10px; display: block; cursor: zoom-in; filter: sepia(.15); }
.cvz-family-photo figcaption, .cvz-person-pic figcaption { font-size: .82rem; color: var(--cvz-muted); margin-top: 6px; }
.cvz-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cvz-person { background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); border-radius: 12px; padding: 18px; }
.cvz-person-pic { margin: -4px 0 12px; }
.cvz-person-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; border-radius: 8px; display: block; cursor: zoom-in; }
.cvz-person-role { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.cvz-person h4 { font-weight: 800; font-size: 1.15rem; margin: 2px 0 4px; }
.cvz-person-dates { font-size: .84rem; color: var(--cvz-muted); margin-bottom: 8px; }
.cvz-person p { font-size: .94rem; line-height: 1.6; }
@media (max-width: 900px) { .cvz-people { grid-template-columns: 1fr; } }
.cvz-years-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.cvz-years-strip figure { margin: 0; }
.cvz-years-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; border-radius: 10px; display: block; cursor: zoom-in; filter: grayscale(.2); }
.cvz-years-strip figcaption { font-size: .84rem; color: var(--cvz-muted); margin-top: 6px; }
.cvz-years-strip figcaption b { display: block; color: var(--accent-text); font-size: 1rem; }
@media (max-width: 576px) { .cvz-years-strip { grid-template-columns: 1fr 1fr; } }
.cvz-memoriam { text-align: center; padding: 18px; margin: 0 0 26px; border-top: 1px solid var(--cvz-border); border-bottom: 1px solid var(--cvz-border); }
.cvz-memoriam p { margin: 6px 0 0; color: var(--cvz-muted); }
.cvz-memoriam b { color: var(--cvz-text); }

/* ---------- /internal: document library cards, troubleshooting table ---------- */
.cvz-docs { display: grid; gap: 18px; margin: 0 0 28px; }
.cvz-doc { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 20px; }
.cvz-doc-cover img { width: 100%; border-radius: 6px; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.35); display: block; transition: transform .2s ease; }
.cvz-doc-cover:hover img { transform: translateY(-3px) rotate(-1deg); }
.cvz-doc-kind { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.cvz-doc h4 { font-weight: 800; margin: 2px 0 4px; }
.cvz-doc-meta { font-size: .85rem; color: var(--cvz-muted); margin-bottom: 8px; }
.cvz-doc-warn { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #fab219; border: 1px solid color-mix(in srgb, #fab219 55%, transparent); }
.cvz-doc-body > p:not(.cvz-doc-meta) { color: var(--cvz-muted); font-size: .95rem; }
.cvz-doc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.cvz-doc-inside summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--cvz-text); }
.cvz-doc-toc { list-style: none; margin: 10px 0 0; padding: 0; columns: 2 260px; column-gap: 24px; }
.cvz-doc-toc li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--cvz-border); break-inside: avoid; font-size: .88rem; }
.cvz-doc-toc li span { color: var(--cvz-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 576px) { .cvz-doc { grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 16px; } }
.cvz-fix, .cvz-elsewhere { background: var(--cvz-surface); border: 1px solid var(--cvz-border); border-radius: 14px; padding: 24px; margin: 0 0 28px; }
.cvz-fix > p { color: var(--cvz-muted); }
.cvz-fix-table { margin: 0; font-size: .92rem; }
.cvz-fix-table thead th { color: var(--cvz-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-bottom-width: 2px; }
.cvz-fix-table tbody th { font-weight: 700; width: 28%; }
.cvz-fix-table td.where { white-space: nowrap; font-size: .85rem; }
@media (max-width: 700px) { .cvz-fix-table td.where { white-space: normal; } }
.cvz-fix-note { font-size: .85rem; margin: 12px 0 0; }
.cvz-elsewhere ul { margin: 0; padding-left: 18px; }
.cvz-elsewhere li { margin: 6px 0; }
.cvz-elsewhere li span { color: var(--cvz-muted); font-size: .9rem; }

/* ===== Home page refresh (2026-10) ===== */
.cvz-vidcard { position: relative; }
.cvz-vidcard .thumb img.boxthumb { object-fit: contain; padding: 6px; background: rgba(0,0,0,.25); }
.cvz-coming { position: absolute; top: 8px; left: 8px; z-index: 2; background: #f5b400; color: #111; font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

.cvz-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cvz-story { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--cvz-surface); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; transition: transform .2s, border-color .2s; }
.cvz-story:hover { transform: translateY(-3px); border-color: var(--accent, #c00); color: var(--cvz-text); }
.cvz-story img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.cvz-story span { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.cvz-story b { font-size: 1.05rem; }
.cvz-story small { color: var(--cvz-muted); }

.cvz-explore.cvz-explore-pics { grid-template-columns: repeat(4, 1fr); }
.cvz-explore-pics .cvz-tile { padding: 0; min-height: 0; display: flex; flex-direction: column; }
.cvz-explore-pics .cvz-tile::after { display: none; }
.cvz-explore-pics .cvz-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-bottom: 3px solid var(--accent); }
.cvz-explore-pics .cvz-tile h3 { margin: 12px 14px 4px; }
.cvz-explore-pics .cvz-tile p { margin: 0 14px 14px; }
/* (Update 186) every row of story cards and Explore tiles is as tall as the tallest card (a wrapped subtitle made one
   row taller than the next); the spare height goes into the text part */
.cvz-stories, .cvz-explore.cvz-explore-pics { grid-auto-rows: 1fr; }
.cvz-story span, .cvz-explore-pics .cvz-tile p { flex: 1 1 auto; }

.cvz-track { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-track ul { padding-left: 1.1rem; color: var(--cvz-muted); }
.cvz-track-pic img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; display: block; }

.cvz-welcome { display: grid; grid-template-columns: minmax(220px, 1fr) 1.6fr; gap: 28px; align-items: start; padding: 24px; border-radius: var(--radius); background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-welcome-pic { margin: 0; position: sticky; top: 90px; }
.cvz-welcome-pic img { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.cvz-welcome-text h2 { margin: 4px 0 12px; }
/* (Update 186) the welcome heading (from the page body in Admin: Pages) looks like the other section headings: same
   size and weight, and the rainbow bar under it */
.cvz-welcome-text h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 800; }
.cvz-welcome-text h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; margin-top: 8px; background: var(--rainbow); }

@media (max-width: 991px) {
  .cvz-explore.cvz-explore-pics { grid-template-columns: repeat(2, 1fr); }
  .cvz-stories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .cvz-track, .cvz-welcome { grid-template-columns: 1fr; }
  .cvz-welcome-pic { position: static; max-width: 360px; }
}
@media (max-width: 520px) {
  .cvz-stories { grid-template-columns: 1fr; }
}

/* ===== Games list refresh (2026-10) ===== */
/* Smaller A–Z keypad */
.cvz-games .cvz-pad { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Quick-filter chips */
.cvz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cvz-chips a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; font-size: .85rem; font-weight: 600; transition: border-color .15s, background .15s; }
.cvz-chips a:hover { border-color: var(--accent, #f5b400); color: var(--cvz-text); }
.cvz-chips a.on { background: #f5b400; border-color: #f5b400; color: #111; }
.cvz-chips a.on::after { content: " ✕"; font-weight: 700; }

/* The view / show / sort bar sticks under the site header */
.cvz-games > .cvz-typebar { position: sticky; top: var(--stick, 64px); z-index: 20; margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.cvz-games > .cvz-typebar.stuck { background: color-mix(in srgb, var(--cvz-bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--cvz-border); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.cvz-stick-probe { height: 1px; margin-bottom: -1px; }
.cvz-sortpick select { min-width: 170px; border-radius: 999px; }
.cvz-count a { white-space: nowrap; }
.cvz-samebar { margin-top: 12px; padding: 12px 16px; }

/* Loading more games */
/* (Update 186) only the games list's loader box (a div), not the home page's "Read the full Coleco story" text link */
.cvz-more[data-more-games] { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 28px 0 10px; }
.cvz-more-spin { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--cvz-border); border-top-color: #f5b400; animation: cvz-spin .8s linear infinite; display: none; }
.cvz-more.loading .cvz-more-spin { display: block; }
.cvz-more.loading a { display: none; }
@keyframes cvz-spin { to { transform: rotate(360deg); } }

/* Cards: "+N versions" chip and "Coming soon" */
.cvz-gtile .cvz-vers { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-text); text-decoration: none; }
.cvz-gtile .cvz-vers:hover { border-color: #f5b400; }
.cvz-gametable .cvz-vers { margin-left: 6px; font-size: .75rem; font-weight: 700; text-decoration: none; }
.cvz-gbox .cvz-coming { top: 8px; left: 8px; }

/* Games without box art: a cartridge with a label in the publisher's color */
.cvz-gbox .ph.cvz-cartph { padding: 0; display: flex; align-items: flex-end; justify-content: center; font-family: inherit;
  background: linear-gradient(180deg, #2b2b2e 0%, #1a1a1c 100%); position: relative; }
.cvz-cartph::before { content: ""; position: absolute; left: 14%; right: 14%; top: 7%; height: 9%;
  background: repeating-linear-gradient(90deg, #121214 0 6px, #2a2a2e 6px 9px); border-radius: 4px; opacity: .9; }
.cvz-cartph .lbl { position: relative; width: 78%; height: 66%; margin-bottom: 10%; border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 100%, #fff 12%) 0%, var(--lc) 55%, color-mix(in srgb, var(--lc) 70%, #000) 100%);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18), 0 2px 0 rgba(0,0,0,.4);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 10px 8px; text-align: center; color: #fff; }
.cvz-cartph .lbl::before { content: "COLECOVISION"; font-size: .55rem; letter-spacing: .18em; font-weight: 800; opacity: .8; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 3px; }
.cvz-cartph .lbl b { font-family: var(--font-display); font-size: 1rem; line-height: 1.1; overflow-wrap: anywhere; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.cvz-cartph .lbl small { font-size: .68rem; opacity: .9; }
/* (Update 186) on narrow cards the label's text was taller than the label and spilled over the cartridge top and off
   its bottom: the text now scales with the label, the title stops after three lines and the rest after one, and nothing
   leaves the label. White text only reached 2.4:1 on the gold and orange labels, so the label colour is darkened
   (every one of the six label colours is now at least 4.6:1 with white). */
.cvz-gbox .ph.cvz-cartph { container-type: inline-size; }
.cvz-cartph .lbl { overflow: hidden; justify-content: safe center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--lc) 68%, #000) 0%, color-mix(in srgb, var(--lc) 66%, #000) 55%, color-mix(in srgb, var(--lc) 52%, #000) 100%); }
.cvz-cartph .lbl > * { max-width: 100%; flex: none; }
.cvz-cartph .lbl b { font-size: clamp(.72rem, 11.5cqi, 1rem); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.cvz-cartph .lbl small, .cvz-cartph .lbl i { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvz-cartph .lbl small { font-size: clamp(.55rem, 7cqi, .68rem); }
@container (max-width: 140px) { .cvz-cartph .lbl > small, .cvz-cartph .lbl > i { display: none; } .cvz-cartph .lbl { padding: 6px 5px; gap: 4px; }
  .cvz-cartph .lbl::before { font-size: clamp(.36rem, 5.2cqi, .55rem); letter-spacing: .06em; max-width: 100%; } }

@media (max-width: 575.98px) {
  .cvz-games > .cvz-typebar { padding: 8px 10px; }
  .cvz-sortpick select { min-width: 0; }
}

/* The controller's cord runs all the way to the panel's left edge, however far the (centered) controller sits from it.
   site.js measures the gap into --cord-w; the long cord picture (cvz-cord-long-side.webp: the same coils repeated,
   ending in the original strain relief) is anchored at the controller and cut off at the panel edge. */
@media (min-width: 768px) {
    .cvz-panel .cvz-pad::before { width: var(--cord-w, calc(8% + clamp(18px, 3vw, 28px)));
        background-image: url("/images/controller/cvz-cord-long-side-top.webp"); }
}
/* The controller slides in through the panel's left edge: anything outside the panel (the controller at the start of
   the slide, the stretched cord) is hidden, so it looks like it comes out of the panel's side, not the browser's. */
@media (min-width: 768px) {
    .cvz-panel:has(.cvz-pad) { overflow: clip; overflow-clip-margin: 0px; }
}

/* ===== Console page (2026-10) ===== */
.cvz-hist-fig.right { float: right; width: 36%; margin: 4px 0 12px 20px; }
@media (max-width: 640px) { .cvz-hist-fig.right { float: none; width: 70%; margin: 6px auto 16px; } }

/* Box tour: radio buttons pick the view (works without JavaScript) */
.cvz-tour { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-tour > input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-tour > label { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); font-size: .85rem; font-weight: 600; cursor: pointer; }
.cvz-tour > label:hover { border-color: #f5b400; }
.cvz-tour > input:focus-visible + label { outline: 3px solid #f6a623; outline-offset: 2px; }
.cvz-tour > input:checked + label { background: #f5b400; border-color: #f5b400; color: #111; }
.cvz-tour-views { flex-basis: 100%; margin-top: 10px; }
.cvz-tour-views figure { display: none; margin: 0; }
.cvz-tour-views img { width: 100%; max-height: 520px; object-fit: contain; background: #0c0c0e; border-radius: 12px; display: block; cursor: zoom-in; }
.cvz-tour-views figcaption { margin-top: 8px; color: var(--cvz-muted); font-size: .92rem; }
#cvt1:checked ~ .cvz-tour-views figure:nth-child(1), #cvt2:checked ~ .cvz-tour-views figure:nth-child(2),
#cvt3:checked ~ .cvz-tour-views figure:nth-child(3), #cvt4:checked ~ .cvz-tour-views figure:nth-child(4),
#cvt5:checked ~ .cvz-tour-views figure:nth-child(5), #cvt6:checked ~ .cvz-tour-views figure:nth-child(6),
#cvt7:checked ~ .cvz-tour-views figure:nth-child(7), #cvt8:checked ~ .cvz-tour-views figure:nth-child(8) { display: block; animation: cvzFade .25s ease; }
@keyframes cvzFade { from { opacity: 0; } to { opacity: 1; } }

/* Numbered hotspots on a photo; site.js shows the matching note */
.cvz-hotmap { position: relative; border-radius: 12px; overflow: hidden; }
.cvz-hotmap > img { width: 100%; display: block; }
.cvz-hot { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; background: #f5b400; color: #111; font-weight: 800; font-size: .85rem; line-height: 1; padding: 0; box-shadow: 0 0 0 4px rgba(245,180,0,.35), 0 3px 8px rgba(0,0,0,.5); cursor: pointer; animation: cvzPulse 2.4s ease-in-out infinite; }
.cvz-hot:hover, .cvz-hot:focus-visible, .cvz-hot.on { background: #fff; animation: none; outline: none; z-index: 2; }
@keyframes cvzPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(245,180,0,.35), 0 3px 8px rgba(0,0,0,.5); } 50% { box-shadow: 0 0 0 9px rgba(245,180,0,.12), 0 3px 8px rgba(0,0,0,.5); } }
.cvz-hottip { position: absolute; z-index: 3; max-width: min(320px, 80%); background: rgba(10,10,12,.94); color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 10px 12px; font-size: .88rem; pointer-events: none; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.cvz-hottip a { color: #ffd07a; }
.cvz-hotlist { margin: 14px 0 6px; padding-left: 1.4rem; columns: 2 280px; column-gap: 28px; }
.cvz-hotlist li { break-inside: avoid; margin-bottom: 8px; padding: 2px 6px; border-radius: 6px; transition: background .2s; }
.cvz-hotlist li.on { background: color-mix(in srgb, #f5b400 22%, transparent); }

/* Spec comparison */
.cvz-spec { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 14px; }
.cvz-spec th, .cvz-spec td { padding: 9px 12px; border-bottom: 1px solid var(--cvz-border); text-align: left; vertical-align: top; }
.cvz-spec thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cvz-muted); }
.cvz-spec tbody th { font-weight: 700; white-space: nowrap; color: var(--cvz-muted); }
.cvz-spec .me { background: color-mix(in srgb, var(--accent, #e63946) 10%, transparent); font-weight: 600; }
.cvz-spec thead .me { color: var(--cvz-text); }

/* Manual download cards */
.cvz-manuals { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 10px; }
.cvz-manual { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-manual:hover { border-color: #f5b400; transform: translateY(-2px); color: var(--cvz-text); }
.cvz-manual img, .cvz-manual-ph { width: 74px; height: 100px; object-fit: cover; border-radius: 6px; flex: none; box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.cvz-manual-ph { display: grid; place-items: center; background: linear-gradient(160deg, #2f7fc1, #1b3d66); color: #fff; font-weight: 800; letter-spacing: .1em; font-size: .8rem; }
.cvz-manual > span { display: flex; flex-direction: column; gap: 3px; }
.cvz-manual small { color: var(--cvz-muted); }
.cvz-manual em { font-style: normal; font-weight: 700; color: #f5b400; font-size: .85rem; }

/* "Own one?" call to action */
.cvz-track-cta { display: flex; gap: 22px; align-items: center; padding: 20px 24px; margin: 0 0 28px; border-radius: 14px; border: 1px solid var(--cvz-border); background: linear-gradient(135deg, color-mix(in srgb, #f5b400 14%, var(--cvz-surface)), var(--cvz-surface)); }
.cvz-track-cta img { width: 180px; max-width: 35%; border-radius: 10px; flex: none; }
.cvz-track-cta h3 { margin: 4px 0 6px; }
@media (max-width: 560px) { .cvz-track-cta { flex-direction: column; text-align: center; } .cvz-track-cta img { max-width: 70%; } }

/* ===== Dina page (2026-10): generic box tour, compatibility lists, version cards ===== */
.cvz-tour > input:nth-of-type(1):checked ~ .cvz-tour-views figure:nth-child(1),
.cvz-tour > input:nth-of-type(2):checked ~ .cvz-tour-views figure:nth-child(2),
.cvz-tour > input:nth-of-type(3):checked ~ .cvz-tour-views figure:nth-child(3),
.cvz-tour > input:nth-of-type(4):checked ~ .cvz-tour-views figure:nth-child(4),
.cvz-tour > input:nth-of-type(5):checked ~ .cvz-tour-views figure:nth-child(5),
.cvz-tour > input:nth-of-type(6):checked ~ .cvz-tour-views figure:nth-child(6),
.cvz-tour > input:nth-of-type(7):checked ~ .cvz-tour-views figure:nth-child(7),
.cvz-tour > input:nth-of-type(8):checked ~ .cvz-tour-views figure:nth-child(8),
.cvz-tour > input:nth-of-type(9):checked ~ .cvz-tour-views figure:nth-child(9),
.cvz-tour > input:nth-of-type(10):checked ~ .cvz-tour-views figure:nth-child(10) { display: block; animation: cvzFade .25s ease; }
.cvz-compat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cvz-compat > div { border-radius: 12px; padding: 14px 18px; border: 1px solid var(--cvz-border); }
.cvz-compat h4 { font-size: 1rem; margin: 0 0 8px; }
.cvz-compat ul { margin: 0; padding-left: 1.2rem; }
.cvz-compat li { margin-bottom: 6px; }
.cvz-compat .yes { background: color-mix(in srgb, #3b9a5a 14%, transparent); }
.cvz-compat .yes h4::before { content: "✓ "; color: #3b9a5a; }
.cvz-compat .no { background: color-mix(in srgb, #d64545 14%, transparent); }
.cvz-compat .no h4::before { content: "✕ "; color: #d64545; }
@media (max-width: 640px) { .cvz-compat { grid-template-columns: 1fr; } }
.cvz-versions { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.cvz-versions a { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-versions a:hover { border-color: #f5b400; transform: translateY(-2px); color: var(--cvz-text); }
.cvz-versions img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #0c0c0e; border-radius: 8px; margin-bottom: 6px; }
.cvz-versions span { font-size: .82rem; color: var(--cvz-muted); }
.cvz-versions em { font-style: normal; font-weight: 700; font-size: .82rem; color: #f5b400; }
.cvz-yt-more { max-width: 720px; margin: 0 auto 28px; }

/* ===== Clones page (2026-10) ===== */
.cvz-clones { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cvz-clone { display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); overflow: hidden; }
.cvz-clone .pic { position: relative; background: #0c0c0e; aspect-ratio: 4/3; }
.cvz-clone .pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cvz-clone .txt { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cvz-clone h4 { font-size: 1.05rem; margin: 0; }
.cvz-clone .meta { font-size: .78rem; color: var(--accent-text); font-weight: 700; margin: 0; }
.cvz-clone p { margin: 0; font-size: .9rem; color: var(--cvz-muted); }
.cvz-clone-track { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .85rem; color: #f5b400; text-decoration: none; }
.cvz-tag { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.cvz-tag.rel { background: #3b9a5a; }
.cvz-tag.never { background: #d64545; }
.cvz-tag.mod { background: #2f7fc1; }
/* (Update 186) darker badge colours, so the small white capitals reach 4.5:1 (green was 3.5:1, red and blue about 4.3:1) */
.cvz-tag.rel { background: #2a7a44; }
.cvz-tag.never { background: #c03a3a; }
.cvz-tag.mod { background: #2a6aa6; }
.cvz-spec-wide { font-size: .85rem; }
.cvz-spec-wide tbody th { white-space: normal; color: var(--cvz-text); }
.cvz-rename td:first-child a { font-weight: 700; }
.cvz-onyx { display: grid; grid-template-columns: minmax(200px, 1fr) 1.6fr; gap: 22px; align-items: start; }
.cvz-onyx > figure { margin: 0; }
.cvz-onyx > figure img { width: 100%; border-radius: 10px; cursor: zoom-in; }
.cvz-onyx figcaption { font-size: .82rem; color: var(--cvz-muted); margin-top: 6px; }
@media (max-width: 640px) { .cvz-onyx { grid-template-columns: 1fr; } }

/* ===== Gemini page (2026-10) ===== */
.cvz-hero-photo { margin: 6px 0 18px; }
.cvz-hero-photo img { width: 100%; border-radius: 12px; background: #fff; cursor: zoom-in; }
.cvz-hotmap-sm { max-width: 520px; margin: 0 auto; }
.cvz-bundles { padding-left: 1.2rem; }
.cvz-bundles li { margin-bottom: 6px; }

/* ===== Hardware pages (2026-10): pager, feature list, pairs, prototypes ===== */
.cvz-hwpager { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.cvz-hwpager a { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); text-decoration: none; max-width: 48%; }
.cvz-hwpager a:hover { border-color: #f5b400; color: var(--cvz-text); }
.cvz-hwpager a.next { text-align: right; margin-left: auto; }
.cvz-hwpager span { font-size: .78rem; color: var(--cvz-muted); }
.cvz-related-grid a.here { border-color: #f5b400; background: color-mix(in srgb, #f5b400 12%, var(--cvz-surface)); }
.cvz-featlist { padding-left: 1.2rem; }
.cvz-featlist li { margin-bottom: 6px; }
.cvz-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; margin: 10px auto 0; }
.cvz-pair figure { margin: 0; text-align: center; }
.cvz-pair img { max-height: 320px; max-width: 100%; border-radius: 10px; cursor: zoom-in; }
.cvz-pair figcaption { font-size: .82rem; color: var(--cvz-muted); margin-top: 6px; }
.cvz-ver-ph { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 8px; background: #0c0c0e; color: #f5b400; font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.cvz-protos { display: grid; gap: 14px; }
.cvz-proto { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); }
.cvz-proto figure { margin: 0; }
.cvz-proto img { max-width: 100%; max-height: 260px; border-radius: 8px; display: block; cursor: zoom-in; }
.cvz-proto figcaption { font-size: .85rem; margin-top: 6px; display: flex; flex-direction: column; }
.cvz-proto figcaption span { color: var(--cvz-muted); }
.cvz-proto .final { width: 180px; padding-left: 14px; border-left: 2px dashed var(--cvz-border); }
.cvz-proto .final img { max-height: 140px; }
.cvz-proto .final figcaption { color: #f5b400; font-weight: 700; }
@media (max-width: 640px) { .cvz-proto { grid-template-columns: 1fr; } .cvz-proto .final { width: auto; border-left: 0; padding-left: 0; border-top: 2px dashed var(--cvz-border); padding-top: 10px; } }
.cvz-hotmap-tall { max-width: 280px; margin: 0 auto; }

/* ===== ADAM pages (2026-10): status labels, tabs, table filters, quick picks, thumbnails ===== */
.cvz-stock { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; vertical-align: 1px; border: 1px solid transparent; }
.cvz-stock-in { background: color-mix(in srgb, #2fbf71 18%, transparent); color: #2fbf71; border-color: color-mix(in srgb, #2fbf71 45%, transparent); }
.cvz-stock-ask { background: color-mix(in srgb, #4ea8de 16%, transparent); color: #4ea8de; border-color: color-mix(in srgb, #4ea8de 40%, transparent); }
.cvz-stock-out { background: color-mix(in srgb, #e63946 16%, transparent); color: #ff6b75; border-color: color-mix(in srgb, #e63946 40%, transparent); }
.cvz-stock-final { background: color-mix(in srgb, #f5b400 18%, transparent); color: #f5b400; border-color: color-mix(in srgb, #f5b400 45%, transparent); }
.cvz-stock-disc { background: var(--cvz-surface-2); color: var(--cvz-muted); border-color: var(--cvz-border); text-decoration: line-through; text-decoration-thickness: 1px; }
.cvz-stock-vault { background: color-mix(in srgb, #b07cff 16%, transparent); color: #b07cff; border-color: color-mix(in srgb, #b07cff 40%, transparent); }
.cvz-stock-proto { background: transparent; color: var(--cvz-muted); border-color: var(--cvz-border); border-style: dashed; }
.cvz-stock-free { background: transparent; color: #2fbf71; border-color: color-mix(in srgb, #2fbf71 45%, transparent); border-style: dashed; }
td .cvz-stock { margin: 0 4px 4px 0; }
[data-bs-theme="light"] .cvz-stock-in, [data-bs-theme="light"] .cvz-stock-free { color: #19804a; }
[data-bs-theme="light"] .cvz-stock-final { color: #946c00; }
[data-bs-theme="light"] .cvz-stock-ask { color: #1f6fa3; }
[data-bs-theme="light"] .cvz-stock-out { color: #c01f2c; }
[data-bs-theme="light"] .cvz-stock-vault { color: #7a3fd6; }

/* Small photo inside a table's first column */
.cvz-spec th[scope=row]:has(.cvz-tthumb) { display: flex; align-items: center; gap: 10px; white-space: normal; }
.cvz-tthumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; background: #fff; cursor: zoom-in; }
.cvz-nhtable tbody th, .cvz-swtable tbody th { white-space: normal; color: var(--cvz-text); min-width: 170px; }

/* Radio tabs that switch whole panels */
.cvz-tabset { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-tabset > input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-tabset > label { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); font-size: .85rem; font-weight: 600; cursor: pointer; }
.cvz-tabset > label:hover { border-color: #f5b400; }
.cvz-tabset > input:focus-visible + label { outline: 3px solid #f6a623; outline-offset: 2px; }
.cvz-tabset > input:checked + label { background: #f5b400; border-color: #f5b400; color: #111; }
.cvz-tabpanels { flex-basis: 100%; margin-top: 10px; }
.cvz-tabpanel { display: none; }
.cvz-tabset > input:nth-of-type(1):checked ~ .cvz-tabpanels .cvz-tabpanel:nth-child(1),
.cvz-tabset > input:nth-of-type(2):checked ~ .cvz-tabpanels .cvz-tabpanel:nth-child(2),
.cvz-tabset > input:nth-of-type(3):checked ~ .cvz-tabpanels .cvz-tabpanel:nth-child(3),
.cvz-tabset > input:nth-of-type(4):checked ~ .cvz-tabpanels .cvz-tabpanel:nth-child(4),
.cvz-tabset > input:nth-of-type(5):checked ~ .cvz-tabpanels .cvz-tabpanel:nth-child(5) { display: block; animation: cvzFade .25s ease; }

/* Filter buttons for a table (rows carry data-k) */
.cvz-tblfilter { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-tblfilter > input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-tblfilter > label { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); font-size: .82rem; font-weight: 600; cursor: pointer; }
.cvz-tblfilter > label:hover { border-color: #f5b400; }
.cvz-tblfilter > input:focus-visible + label { outline: 3px solid #f6a623; outline-offset: 2px; }
.cvz-tblfilter > input:checked + label { background: #f5b400; border-color: #f5b400; color: #111; }
.cvz-tblfilter > .table-responsive { flex-basis: 100%; margin-top: 8px; }
#swf-game:checked ~ .table-responsive tbody tr:not([data-k=game]),
#swf-prod:checked ~ .table-responsive tbody tr:not([data-k=prod]),
#swf-prog:checked ~ .table-responsive tbody tr:not([data-k=prog]),
#swf-os:checked ~ .table-responsive tbody tr:not([data-k=os]),
#swf-edu:checked ~ .table-responsive tbody tr:not([data-k=edu]) { display: none; }

/* Quick-pick cards */
.cvz-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin: 6px 0 10px; }
.cvz-picks > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--cvz-border); background: linear-gradient(160deg, color-mix(in srgb, #f5b400 10%, var(--cvz-surface-2)), var(--cvz-surface-2)); }
.cvz-picks h4 { font-size: 1.05rem; margin: 2px 0; }
.cvz-picks p { margin: 0; font-size: .9rem; color: var(--cvz-muted); flex: 1; }
.cvz-picks a { margin-top: 6px; font-weight: 700; font-size: .88rem; }
.cvz-picks a::after { content: " →"; }

/* Box-art cards (Super Games) */
.cvz-sgcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 10px 0 6px; }
.cvz-sgcards a { display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-sgcards a:hover { border-color: #f5b400; transform: translateY(-2px); color: var(--cvz-text); }
.cvz-sgcards img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; margin-bottom: 6px; background: #111; }
.cvz-sgcards b { font-size: .9rem; }
.cvz-sgcards span { font-size: .78rem; color: var(--cvz-muted); }

/* A single photo inside a section */
.cvz-inline-photo { margin: 12px 0; max-width: 360px; }
.cvz-inline-photo img { width: 100%; border-radius: 12px; background: #fff; cursor: zoom-in; }
.cvz-inline-photo figcaption { margin-top: 6px; font-size: .88rem; color: var(--cvz-muted); }

/* Smaller hero photo for square or tall pictures */
.cvz-hero-photo.cvz-hero-sm img { max-height: 380px; object-fit: contain; background: #0c0c0e; }
.cvz-nhtable { font-size: .86rem; }
.cvz-hero-photo figcaption { margin-top: 6px; font-size: .85rem; color: var(--cvz-muted); }

/* ===== Packaging & Print pages (2026-10): photo grids, cover cards, yes/no marks, guide-code flow, download card ===== */
.cvz-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 12px 0 6px; align-items: start; }
.cvz-figs.cvz-figs-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cvz-figs.cvz-figs-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cvz-figs figure { margin: 0; padding: 10px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); display: flex; flex-direction: column; }
.cvz-figs img { width: 100%; height: auto; max-height: 340px; object-fit: contain; border-radius: 8px; cursor: zoom-in; }
.cvz-figs figcaption { margin-top: 8px; font-size: .86rem; color: var(--cvz-muted); }
.cvz-figs figcaption b { color: var(--cvz-text); }
.cvz-figs figcaption a { font-weight: 600; }

.cvz-litcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 14px; margin: 10px 0 6px; }
.cvz-litcards.cvz-litcards-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cvz-litcards > a, .cvz-litcards > div { display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-litcards > a:hover { border-color: #f5b400; transform: translateY(-2px); color: var(--cvz-text); }
.cvz-litcards img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 6px; background: #111; }
.cvz-litcards.cvz-litcards-wide img { aspect-ratio: 16 / 10; object-position: center; }
.cvz-litcards b { font-size: .95rem; }
.cvz-litcards span { font-size: .8rem; color: var(--cvz-muted); }
.cvz-litcards p { margin: 4px 0 0; font-size: .86rem; color: var(--cvz-muted); flex: 1; }
.cvz-litcards em { margin-top: 6px; font-style: normal; font-weight: 700; font-size: .84rem; color: #f5b400; }
.cvz-litcards em::after { content: " →"; }
[data-bs-theme="light"] .cvz-litcards em { color: #946c00; }
.cvz-litgroup { margin: 18px 0 4px; font-size: 1rem; }

.cvz-yn { display: inline-block; min-width: 1.6em; text-align: center; font-weight: 800; }
.cvz-yn-y { color: #2fbf71; }
.cvz-yn-n { color: var(--cvz-muted); font-weight: 400; }
.cvz-yn-p { color: #f5b400; }
.cvz-yn-m { color: #4ea8de; }
[data-bs-theme="light"] .cvz-yn-y { color: #19804a; }
[data-bs-theme="light"] .cvz-yn-p { color: #946c00; }
[data-bs-theme="light"] .cvz-yn-m { color: #1f6fa3; }
.cvz-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; color: var(--cvz-muted); margin: 6px 0 4px; }
.cvz-spec td.cvz-c { text-align: center; }
.cvz-spec .cvz-alllink { font-size: .78rem; font-weight: 600; margin-left: 6px; white-space: nowrap; }
/* (Update 186) the same small, spaced link in picture captions (/labels read "Donkey KongAll versions") */
figcaption .cvz-alllink { font-size: .78rem; font-weight: 600; margin-left: 6px; white-space: nowrap; }

.cvz-codeflow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 12px 0; }
.cvz-codeflow > div { flex: 1 1 160px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); }
.cvz-codeflow > div b { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.25rem; color: #f5b400; }
[data-bs-theme="light"] .cvz-codeflow > div b { color: #946c00; }
.cvz-codeflow > div span { font-size: .85rem; color: var(--cvz-muted); }
.cvz-codeflow > i { align-self: center; font-style: normal; font-size: 1.3rem; color: var(--cvz-muted); }

.cvz-dlcard { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 14px; margin: 12px 0; border-radius: 14px; border: 1px solid var(--cvz-border); background: linear-gradient(160deg, color-mix(in srgb, #f5b400 10%, var(--cvz-surface-2)), var(--cvz-surface-2)); }
.cvz-dlcard img { width: 120px; border-radius: 8px; cursor: zoom-in; }
.cvz-dlcard div { flex: 1 1 220px; }
.cvz-dlcard h4 { margin: 0 0 4px; font-size: 1.05rem; }
.cvz-dlcard p { margin: 0 0 8px; font-size: .9rem; color: var(--cvz-muted); }
.cvz-btn-pdf { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #f5b400; color: #111 !important; font-weight: 700; font-size: .86rem; text-decoration: none; }
.cvz-btn-pdf:hover { background: #ffc933; }
.cvz-note { padding: 10px 14px; border-left: 4px solid #f5b400; border-radius: 8px; background: var(--cvz-surface-2); font-size: .92rem; margin: 10px 0; }

/* ===== Memorabilia list (2026-10): story cards, groups, photo wanted ===== */
.cvz-memo-stories { margin: 18px 0 8px; }
.cvz-memo-group { margin-top: 22px; }
.cvz-memo-group .cvz-hw-era-title .count { font-size: .8rem; color: var(--cvz-muted); margin-left: 6px; }
/* (Update 186) the same small grey count in the library's "Magazines and newsletters" heading */
.cvz-lib-series .cvz-hw-era-title .count { font-size: .8rem; color: var(--cvz-muted); margin-left: 6px; }
.cvz-photo-wanted { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 700; color: #f5b400; text-decoration: none; }
.cvz-photo-wanted::before { content: "📷 "; }
.cvz-photo-wanted:hover { text-decoration: underline; }
[data-bs-theme="light"] .cvz-photo-wanted { color: #946c00; }

/* ===== Memorabilia story pages (2026-10): kiosk map size, letters, collector showcase ===== */
#k-what .cvz-hotmap-tall { max-width: 380px; }
.cvz-letter { margin: 10px 0 0; padding: 12px 14px; border-left: 4px solid #f5b400; border-radius: 8px; background: var(--cvz-surface); font-size: .86rem; line-height: 1.5; text-align: left; }
.cvz-letter p { margin: 0 0 8px; }
.cvz-letter p:last-child { margin-bottom: 0; }
/* (Update 203) the letter transcripts (blockquote.cvz-letter) shared their class with the two-column letter layout above
   (.cvz-letter: display grid), so each paragraph became its own narrow column. Each now reads as one letter
   under its scan. */
blockquote.cvz-letter { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.65; color: var(--cvz-text); padding: 16px 20px; max-width: 70ch; }
blockquote.cvz-letter p { margin: 0 0 .85em; }
blockquote.cvz-letter p.small { font-family: var(--bs-body-font-family, system-ui, sans-serif); font-size: .8rem; color: var(--cvz-muted); }
.cvz-figs.cvz-figs-2:has(blockquote.cvz-letter) { grid-template-columns: 1fr; gap: 22px; }
.cvz-figs figure:has(> blockquote.cvz-letter) { display: block; padding: 16px; }
.cvz-figs figure:has(> blockquote.cvz-letter) > img { display: block; width: 100%; max-width: 420px; max-height: none; margin: 0 auto; }
.cvz-figs figure:has(> blockquote.cvz-letter) > figcaption { text-align: center; }
.cvz-figs figure:has(> blockquote.cvz-letter) > blockquote { margin: 14px auto 0; }
.cvz-showcase > summary { cursor: pointer; font-weight: 700; margin: 6px 0; }
.cvz-figs.cvz-figs-show { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.cvz-figs.cvz-figs-show figure { padding: 4px; }
.cvz-figs.cvz-figs-show img { aspect-ratio: 4 / 3; object-fit: cover; max-height: none; }
.cvz-yt-short .cvz-yt-btn, .cvz-yt-short iframe { aspect-ratio: 9 / 16; max-width: 280px; margin: 0 auto; }
.cvz-yt-short figcaption { text-align: center; }

/* ===== TV commercial pages (2026-10) ===== */
.cvz-ytnote { display: inline-block; margin-top: 3px; font-size: .8rem; color: var(--cvz-muted); }

/* ===== Collectors list (2026-10) ===== */
.cvz-collectors-bar { margin: 14px 0; align-items: center; }
.cvz-collector-badge { margin: 4px 0 0; }
.cvz-collectors-invite { margin-top: 18px; }
.cvz-collectors-invite ol { margin: 8px 0 12px; padding-left: 1.2rem; }

/* ===== Community pages (2026-10): device cards, fault checker, keypad map, legends, link directory ===== */
.cvz-devcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; margin: 10px 0; }
.cvz-devcards a { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-devcards a:hover { border-color: #f5b400; transform: translateY(-2px); color: var(--cvz-text); }
.cvz-devcards img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 4px; }
.cvz-devcards b { font-size: .95rem; }
.cvz-devcards span { font-size: .8rem; color: var(--cvz-muted); }
.cvz-devcards .cvz-stock { align-self: flex-start; }
.cvz-devcards p { margin: 2px 0 0; font-size: .86rem; color: var(--cvz-muted); flex: 1; }
.cvz-devcards em { font-style: normal; font-weight: 700; font-size: .84rem; color: #f5b400; }
.cvz-devcards em::after { content: " →"; }
[data-bs-theme="light"] .cvz-devcards em { color: #946c00; }

.cvz-checker details { border: 1px solid var(--cvz-border); border-radius: 10px; background: var(--cvz-surface-2); margin: 0 0 8px; }
.cvz-checker summary { cursor: pointer; padding: 10px 14px; font-weight: 600; }
.cvz-checker summary::marker { color: #f5b400; }
.cvz-checker details[open] summary { border-bottom: 1px solid var(--cvz-border); }
.cvz-checker details > div { padding: 10px 14px; }
.cvz-checker details p { margin: 0 0 6px; }
.cvz-printlist ul { list-style: none; padding: 0; columns: 2 260px; }
.cvz-printlist li { margin: 0 0 6px; }
.cvz-printlist input { margin-right: 6px; }
/* (Update 73) only on a page that has a .cvz-printlist: this rule used to hide every page when printed, so the
   checklist (and any other page) printed blank */
@media print { body:has(.cvz-printlist) * { visibility: hidden; } body:has(.cvz-printlist) .cvz-printlist, body:has(.cvz-printlist) .cvz-printlist * { visibility: visible; } .cvz-printlist { position: absolute; left: 0; top: 0; } .cvz-printlist button { display: none; } }
/* sections that fade in as you scroll are fully shown when printed, even if you never scrolled to them */
@media print { .cvz-js .cvz-reveal { opacity: 1 !important; transform: none !important; } }

.cvz-limits { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cvz-keymap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cvz-keymap > div:last-child { flex: 1 1 260px; }
.cvz-keypad { display: grid; grid-template-columns: repeat(3, 48px); gap: 8px; padding: 14px; border-radius: 14px; background: #1b1b1f; border: 1px solid var(--cvz-border); }
.cvz-keypad span { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px; background: #2c2c33; color: #ddd; font-weight: 800; font-size: 1.1rem; }
.cvz-keypad span.hot { background: #f5b400; color: #111; }

.cvz-cardfilter { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-cardfilter > input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-cardfilter > label { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); font-size: .82rem; font-weight: 600; cursor: pointer; }
.cvz-cardfilter > label:hover { border-color: #f5b400; }
.cvz-cardfilter > input:focus-visible + label { outline: 3px solid #f6a623; outline-offset: 2px; }
/* (Update 186) these pills draw the focus ring on the label next to the (hidden) radio, which the light theme's dark-blue
   focus rule never reached: the orange ring was 1.8:1 on the light page */
[data-bs-theme="light"] .cvz-tour > input:focus-visible + label, [data-bs-theme="light"] .cvz-tabset > input:focus-visible + label,
[data-bs-theme="light"] .cvz-tblfilter > input:focus-visible + label, [data-bs-theme="light"] .cvz-cardfilter > input:focus-visible + label,
[data-bs-theme="light"] .cvz-avpick label:has(input:focus-visible), [data-bs-theme="light"] .cvz-pv-chks input:focus-visible + span { outline-color: #1d4f99; }
.cvz-cardfilter > input:checked + label { background: #f5b400; border-color: #f5b400; color: #111; }
.cvz-cardfilter > div { flex-basis: 100%; margin-top: 10px; min-width: 0; }   /* (Update 186) min-width: lets the card grid shrink to the panel on 320px phones */
#lgf-coleco:checked ~ .cvz-legend-grid > div:not([data-k=coleco]),
#lgf-community:checked ~ .cvz-legend-grid > div:not([data-k=community]),
#lgf-makers:checked ~ .cvz-legend-grid > div:not([data-k=makers]),
#lgf-companies:checked ~ .cvz-legend-grid > div:not([data-k=companies]) { display: none; }
#lkf-colecovision:checked ~ .cvz-linkgrid > a:not([data-k=colecovision]),
#lkf-games:checked ~ .cvz-linkgrid > a:not([data-k=games]),
#lkf-homebrew:checked ~ .cvz-linkgrid > a:not([data-k=homebrew]),
#lkf-reviews:checked ~ .cvz-linkgrid > a:not([data-k=reviews]),
#lkf-technical:checked ~ .cvz-linkgrid > a:not([data-k=technical]),
#lkf-adam:checked ~ .cvz-linkgrid > a:not([data-k=adam]),
#lkf-archives:checked ~ .cvz-linkgrid > a:not([data-k=archives]),
#lkf-forums:checked ~ .cvz-linkgrid > a:not([data-k=forums]) { display: none; }
.cvz-legend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.cvz-legend-card { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); }
.cvz-legend-card b { display: block; }
.cvz-legend-card span { font-size: .8rem; color: var(--cvz-muted); }
.cvz-legend-card p { margin: 4px 0 0; font-size: .85rem; color: var(--cvz-muted); }
.cvz-legend-card .cvz-aa { display: block; margin-top: 6px; font-size: .78rem; color: var(--cvz-muted); }
.cvz-legend-card .cvz-aa a { font-weight: 600; }
.cvz-memoriam { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; list-style: none; padding: 0; }
.cvz-memoriam li { padding: 10px 12px; border-radius: 10px; border-left: 4px solid #b07cff; background: var(--cvz-surface-2); }
.cvz-memoriam span { display: block; font-size: .82rem; color: var(--cvz-muted); }

.cvz-linksearch { max-width: 420px; }
.cvz-linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.cvz-linkcard { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; }
.cvz-linkcard:hover { border-color: #f5b400; color: var(--cvz-text); }
.cvz-linkcard small { color: var(--cvz-muted); }
.cvz-linkicon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; background: linear-gradient(135deg, #e8352e, #f5b400, #3bb54a, #2d7fd3); color: #fff; }
.cvz-thanks { columns: 2 300px; }
.cvz-thanks li { margin: 0 0 6px; }
.cvz-thanks-h { font-size: 1rem; margin: 16px 0 6px; color: #f5b400; }
[data-bs-theme="light"] .cvz-thanks-h { color: #946c00; }
.cvz-hero-photo a img { cursor: pointer; }

/* ===== NIAD's Collector List (/niad_list, 2026-10): the searchable, sortable, printable list (wwwroot/js/niad.js) ===== */
.cvz-niad { max-width: 1280px; margin: 8px auto 28px; padding: 18px 16px; border: 1px solid var(--cvz-border); border-radius: 16px; background: var(--cvz-surface); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.cvz-niad-head { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: end; justify-content: space-between; margin-bottom: 12px; }
.cvz-niad-head h2 { margin: 2px 0 0; font-size: 1.5rem; }
.cvz-niad-mine { font-size: .92rem; color: var(--cvz-muted); }
.cvz-niad-mine b { color: var(--cvz-text); }
.cvz-niad-mine .bar { display: inline-block; vertical-align: middle; width: 120px; height: 8px; border-radius: 99px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); overflow: hidden; margin: 0 4px; }
.cvz-niad-mine .bar i { display: block; height: 100%; background: #3bb54a; }
.cvz-niad-groups { margin-bottom: 12px; }
.cvz-niad-groups small { opacity: .7; font-weight: 500; margin-left: 4px; }
.cvz-niad-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; padding: 12px; border-radius: 12px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); position: sticky; top: 0; z-index: 5; }
.cvz-niad-bar label { display: flex; flex-direction: column; gap: 2px; font-size: .78rem; color: var(--cvz-muted); font-weight: 600; }
.cvz-niad-bar .cvz-niad-q { flex: 1 1 260px; }
.cvz-niad-bar select { min-width: 150px; max-width: 280px; }
.cvz-niad-tools { display: flex; gap: 6px; margin-left: auto; }
.cvz-niad-count { margin: 10px 2px 6px; font-size: .9rem; color: var(--cvz-muted); }
.cvz-niad-join { margin: 0 2px 8px; }
.cvz-niad-none { padding: 30px; text-align: center; color: var(--cvz-muted); }
.cvz-niad-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.cvz-niad-t thead th { position: sticky; top: 62px; z-index: 2; background: var(--cvz-surface); text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cvz-muted); padding: 8px 8px; border-bottom: 2px solid var(--cvz-border); }
.cvz-niad-t td { padding: 8px; border-bottom: 1px solid var(--cvz-border); vertical-align: top; }
.cvz-niad-t tr.r:hover td { background: color-mix(in srgb, var(--cvz-surface-2) 70%, transparent); }
.cvz-niad-t tr.owned td.item .t a, .cvz-niad-t tr.owned td.item .t { color: #3bb54a; }
.cvz-niad-t td.pic { width: 76px; }
.cvz-niad-t td.pic a, .cvz-niad-t td.pic > img, .cvz-niad-t td.pic > span { display: block; position: relative; }
.cvz-niad-t td.pic img { width: 68px; height: 68px; object-fit: contain; border-radius: 6px; background: #0d0f13; }
.cvz-niad-t td.pic img.art { opacity: .8; filter: saturate(.7); }
.cvz-niad-artbadge { display: inline-block; font-size: .62rem; font-weight: 700; line-height: 1.2; padding: 1px 5px; border-radius: 4px; background: #f5b400; color: #111; }
td.pic .cvz-niad-artbadge { position: absolute; left: 2px; bottom: 2px; }
.cvz-niad-t .nopic { width: 68px; height: 68px; border-radius: 6px; display: flex !important; align-items: center; justify-content: center; text-align: center; font-size: .64rem; line-height: 1.2; color: rgba(255,255,255,.75); background: repeating-linear-gradient(135deg, #252a34 0 6px, #1d212a 6px 12px); border: 1px dashed var(--cvz-border); }
.cvz-niad-t .nopic.g-adam { background: repeating-linear-gradient(135deg, #3a2f1c 0 6px, #2d2416 6px 12px); }
.cvz-niad-t .nopic.g-hb { background: repeating-linear-gradient(135deg, #1c2c3f 0 6px, #172333 6px 12px); }
.cvz-niad-t td.item { min-width: 240px; }
.cvz-niad-t td.item .t { font-weight: 700; font-size: .98rem; }
.cvz-niad-t td.item .t a { color: var(--cvz-text); text-decoration: none; }
.cvz-niad-t td.item .t a:hover { text-decoration: underline; }
.cvz-niad-t td.item .v { color: var(--cvz-muted); font-size: .84rem; margin-top: 2px; }
.cvz-niad-t td.item .in { font-size: .74rem; color: var(--cvz-muted); margin-top: 3px; font-style: italic; }
.cvz-niad-t .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cvz-niad-t .chips .cvz-chip { font-size: .72rem; }
.cvz-niad-t td.pub { min-width: 120px; color: var(--cvz-muted); }
.cvz-niad-t td.yr, .cvz-niad-t td.no { white-space: nowrap; color: var(--cvz-muted); font-variant-numeric: tabular-nums; }
.cvz-niad-t td.parts abbr { text-decoration: none; font-weight: 700; font-size: .78rem; padding: 0 3px; border-radius: 3px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); cursor: help; }
.cvz-niad-t td.parts .ctl { margin-top: 4px; }
.cvz-niad-t td.parts .ctl abbr { background: none; border-style: dashed; font-weight: 600; color: var(--cvz-muted); }
.cvz-niad-t td.rar { white-space: nowrap; }
.cvz-niad-t .rb, .cvz-niad-rarekey .rb { display: inline-block; font-size: .72rem; font-weight: 800; padding: 1px 6px; border-radius: 99px; margin: 0 3px 3px 0; color: #111; background: #4fbf67; }
.cvz-niad-t .rb.r3, .cvz-niad-t .rb.r4, .cvz-niad-rarekey .rb.r3, .cvz-niad-rarekey .rb.r4 { background: #9ccc4a; }
.cvz-niad-t .rb.r5, .cvz-niad-t .rb.r6, .cvz-niad-rarekey .rb.r5, .cvz-niad-rarekey .rb.r6 { background: #f2c230; }
.cvz-niad-t .rb.r7, .cvz-niad-t .rb.r8, .cvz-niad-rarekey .rb.r7, .cvz-niad-rarekey .rb.r8 { background: #f28c28; }
.cvz-niad-t .rb.r9, .cvz-niad-t .rb.r10, .cvz-niad-rarekey .rb.r9, .cvz-niad-rarekey .rb.r10 { background: #e0b21a; box-shadow: 0 0 0 1px #fff3 inset; }
.cvz-niad-t td.mine { white-space: nowrap; min-width: 150px; }
.cvz-niad-t td.mine .btn { padding: 2px 8px; font-size: .8rem; margin: 0 4px 4px 0; }
.cvz-niad-t td.mine .have-n { display: inline-block; font-weight: 800; color: #3bb54a; margin-right: 6px; }
.cvz-niad-t td.mine.ref .why { font-size: .78rem; color: var(--cvz-muted); font-style: italic; }
.cvz-niad-t td.mine.ref a { font-size: .8rem; }
.cvz-niad-tick { display: none; }
.cvz-niad-t tr.sec th { padding: 18px 8px 8px; border-bottom: 2px solid #f5b400; background: var(--cvz-surface); text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--cvz-text); position: static; }
.cvz-niad-t tr.sec .sec-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.cvz-niad-t tr.sec h3 { margin: 0; font-size: 1.12rem; }
.cvz-niad-t tr.sec .n { font-size: .82rem; color: var(--cvz-muted); font-weight: 500; }
.cvz-niad-t tr.sec .src { font-size: .74rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--cvz-border); text-decoration: none; color: var(--cvz-muted); }
.cvz-niad-t tr.dev th { padding: 10px 8px 4px; font-size: .88rem; background: var(--cvz-surface-2); color: var(--cvz-text); text-transform: none; letter-spacing: 0; position: static; }
.cvz-niad-t tr.dev th span { font-weight: 400; font-size: .8rem; margin-left: 8px; }
.cvz-niad-t tr.dev .dn { font-weight: 400; font-size: .78rem; color: var(--cvz-muted); margin-top: 2px; }
.cvz-niad-noteref, .cvz-niad-secnotes { border: 0; background: none; padding: 0; margin-top: 4px; font-size: .76rem; font-weight: 700; color: #f5b400; text-decoration: underline dotted; cursor: pointer; }
[data-bs-theme="light"] .cvz-niad-noteref, [data-bs-theme="light"] .cvz-niad-secnotes { color: #946c00; }
/* (Update 186) #946c00 was tuned on white, but these sit on the light grey cards and page (4.2-4.4:1): a little darker */
[data-bs-theme="light"] :is(.cvz-stock-final, .cvz-litcards em, .cvz-yn-p, .cvz-codeflow > div b, .cvz-photo-wanted, .cvz-devcards em, .cvz-thanks-h, .cvz-niad-noteref, .cvz-niad-secnotes) { color: #7d5b00; }
.cvz-niad-note { margin-top: 6px; padding: 8px 12px; border-left: 3px solid #f5b400; border-radius: 6px; background: var(--cvz-surface-2); font-size: .84rem; font-weight: 400; max-width: 760px; }
.cvz-niad-note p { margin: 0 0 6px; }
.cvz-niad-more { text-align: center; margin: 14px 0 4px; }
.cvz-niad-legend { margin-top: 18px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); font-size: .9rem; }
.cvz-niad-legend summary { font-weight: 700; cursor: pointer; }
.cvz-niad-legend dl { margin: 10px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; }
.cvz-niad-legend dt { font-weight: 700; }
.cvz-niad-legend dd { margin: 0; color: var(--cvz-muted); }
.cvz-niad-print-head { display: none; }
@media (max-width: 860px) {
    .cvz-niad { padding: 12px 10px; }
    .cvz-niad-bar { position: static; }
    .cvz-niad-t thead { display: none; }
    .cvz-niad-t, .cvz-niad-t tbody { display: block; }
    .cvz-niad-t tr.r { display: grid; grid-template-columns: 76px auto auto 1fr; column-gap: 8px; align-items: start; border-bottom: 1px solid var(--cvz-border); padding: 10px 0; }
    .cvz-niad-t tr.r td { border: 0; padding: 1px 0; min-width: 0; }
    .cvz-niad-t td.pic { grid-column: 1; grid-row: 1 / span 5; }
    .cvz-niad-t td.item, .cvz-niad-t td.pub, .cvz-niad-t td.parts { grid-column: 2 / 5; min-width: 0 !important; }
    .cvz-niad-t td.pub { font-size: .82rem; }
    .cvz-niad-t td.yr { grid-column: 2; font-size: .8rem; } .cvz-niad-t td.no { grid-column: 3; font-size: .8rem; } .cvz-niad-t td.rar { grid-column: 4; }
    .cvz-niad-t td.parts { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; } .cvz-niad-t td.parts .ctl { margin: 0 0 0 6px; }
    .cvz-niad-t td.mine { grid-column: 2 / 5; white-space: normal; min-width: 0; margin-top: 4px; }
    .cvz-niad-t.nopics tr.r { grid-template-columns: auto auto 1fr 0; } .cvz-niad-t.nopics td.item, .cvz-niad-t.nopics td.pub, .cvz-niad-t.nopics td.parts, .cvz-niad-t.nopics td.mine { grid-column: 1 / 4; }
    .cvz-niad-t.nopics td.yr { grid-column: 1; } .cvz-niad-t.nopics td.no { grid-column: 2; } .cvz-niad-t.nopics td.rar { grid-column: 3; }
    .cvz-niad-t tr.sec, .cvz-niad-t tr.dev { display: block; } .cvz-niad-t tr.sec th, .cvz-niad-t tr.dev th { display: block; }
    .cvz-niad-legend dl { grid-template-columns: 1fr; }
}
@media print {
    /* (Update 102) only on NIAD's page: this hid everything else on every other page too, so printed Games and Catalog lists came out blank */
    body:has(.cvz-niad) * { visibility: hidden; }
    body:has(.cvz-niad) .cvz-niad, body:has(.cvz-niad) .cvz-niad * { visibility: visible; }
    .cvz-niad { position: absolute; left: 0; top: 0; width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff; color: #000; }
    .cvz-niad-head, .cvz-niad-groups, .cvz-niad-bar, .cvz-niad-count, .cvz-niad-join, .cvz-niad-more, .cvz-niad-legend, .cvz-niad-noteref, .cvz-niad-secnotes, .cvz-niad-t td.mine .btn, .cvz-niad-t td.mine .have-n, .cvz-niad-t td.mine.ref a, .cvz-niad-artbadge { display: none !important; }
    .cvz-niad-print-head { display: block; font-size: 9pt; margin-bottom: 6pt; border-bottom: 1px solid #000; padding-bottom: 4pt; }
    .cvz-niad-t { font-size: 8pt; color: #000; }
    .cvz-niad-t thead th { position: static; color: #000; background: #fff; border-bottom: 1px solid #000; font-size: 7pt; }
    .cvz-niad-t td { padding: 2pt 4pt; border-bottom: .5pt solid #bbb; color: #000 !important; background: #fff !important; }
    .cvz-niad-t tr { break-inside: avoid; }
    .cvz-niad-t tr.sec th { border-bottom: 1pt solid #000; padding-top: 10pt; break-after: avoid; }
    .cvz-niad-t tr.sec .src { border: 0; padding: 0; color: #000; }
    .cvz-niad-t td.pic img { width: 34pt; height: 34pt; background: #fff; }
    .cvz-niad-t .nopic { width: 34pt; height: 34pt; background: #fff; border: .5pt dashed #999; color: #666 !important; }
    .cvz-niad-t .rb { background: none !important; border: .5pt solid #000; color: #000; }
    .cvz-niad-t td.parts abbr { background: none; border-color: #999; }
    .cvz-niad-t a { color: #000 !important; text-decoration: none; }
    .cvz-niad-t .chips .cvz-chip { border: .5pt solid #aaa; background: none; color: #000; }
    .cvz-niad-tick { display: inline-block; font-size: 12pt; line-height: 1; }
    .cvz-niad-t tr.owned .cvz-niad-tick::after { content: "✓"; margin-left: -10pt; font-weight: 700; }
}

/* ===== Site tools (2026-10): breadcrumbs, tile grids, photos wanted, developers, other editions, checklists ===== */
.cvz-crumbs { font-size: .85rem; color: var(--cvz-muted); margin: 14px 0 10px; overflow-wrap: anywhere; }   /* (Update 194) long one-word titles wrap */
.cvz-crumbs a { color: var(--cvz-muted); text-decoration: none; }
.cvz-crumbs a:hover { color: var(--cvz-text); text-decoration: underline; }
.cvz-crumbs span[aria-current] { color: var(--cvz-text); }
.cvz-n { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); color: var(--cvz-muted); vertical-align: middle; }
.cvz-tilegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; margin-top: 8px; }
.cvz-tilegrid > a { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 10px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; transition: border-color .2s, transform .2s; }
.cvz-tilegrid > a:hover { border-color: #f5b400; transform: translateY(-2px); }
.cvz-tilegrid img, .cvz-tilegrid .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 6px; background: #0d0f13; }
.cvz-tilegrid .ph { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: rgba(255,255,255,.35); }
.cvz-tilegrid b { font-size: .88rem; line-height: 1.25; overflow-wrap: anywhere; }
.cvz-tilegrid span { font-size: .76rem; color: var(--cvz-muted); }
.cvz-pwlist, .cvz-devlist, .cvz-editions { list-style: none; padding: 0; margin: 0; }
.cvz-pwlist { columns: 2 320px; column-gap: 28px; }
.cvz-pwlist li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--cvz-border); font-size: .9rem; }
.cvz-pwlist li > span { color: var(--cvz-muted); font-size: .8rem; margin-left: 4px; }
.cvz-pwlist .send { float: right; font-size: .78rem; font-weight: 700; margin-left: 8px; }
.cvz-devlist { columns: 3 220px; column-gap: 24px; }
.cvz-devlist li { break-inside: avoid; padding: 3px 0; font-size: .92rem; }
.cvz-devlist li span { color: var(--cvz-muted); font-size: .78rem; margin-left: 4px; }
.cvz-editions li { padding: 6px 0; border-bottom: 1px solid var(--cvz-border); }
.cvz-editions .cvz-chip { font-size: .72rem; margin-left: 4px; }
.cvz-editions .sub { color: var(--cvz-muted); font-size: .8rem; margin-left: 4px; }
.cvz-cl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.cvz-cl th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cvz-muted); border-bottom: 2px solid var(--cvz-border); padding: 6px; }
.cvz-cl td { padding: 5px 6px; border-bottom: 1px solid var(--cvz-border); vertical-align: top; }
.cvz-cl td.tick { font-size: 1.05rem; white-space: nowrap; }
.cvz-cl td.tick small { font-size: .72rem; margin-left: 3px; color: var(--cvz-muted); }
.cvz-cl tr.have td.tick { color: #3bb54a; }
.cvz-printonly { display: none; }
@media print {
    .cvz-checklist .cvz-noprint, .cvz-header, .cvz-footer, .cvz-tabbar, .cvz-stripe { display: none !important; }
    .cvz-checklist .cvz-panel { border: 0; box-shadow: none; background: #fff; padding: 0; margin: 0; }
    .cvz-checklist .cvz-printonly { display: block; color: #000; }
    .cvz-checklist .cvz-section-title, .cvz-checklist .cvz-n { color: #000; background: none; border: 0; }
    .cvz-cl { font-size: 8pt; color: #000; }
    .cvz-cl th, .cvz-cl td { color: #000 !important; border-bottom: .5pt solid #999; padding: 2pt 4pt; }
    .cvz-cl a { color: #000 !important; text-decoration: none; }
    .cvz-cl tr { break-inside: avoid; }
    body { background: #fff !important; }
}

/* ---- Animated ZONE in the header logo (2026-10) ----
   Two layers sit on top of the logo, cut to the ZONE letters by a mask
   (brand/cv_Zone_Nav_zone-mask.png, made from the logo itself):
   ::before - arcade colors that flow through the letters
   ::after  - a bright shine that sweeps across every few seconds
   Nothing moves for visitors who ask for reduced motion. */
.cvz-brand { position: relative; }
@media (prefers-reduced-motion: no-preference) {
    .cvz-brand::before, .cvz-brand::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        -webkit-mask: url(/brand/cv_Zone_Nav_zone-mask.png) 0 0 / 100% 100% no-repeat;
                mask: url(/brand/cv_Zone_Nav_zone-mask.png) 0 0 / 100% 100% no-repeat;
    }
    .cvz-brand::before {
        background: repeating-linear-gradient(90deg,
            #f18b55 0px, #ffc93c 18px, #ff5a2b 36px, #ff8a3d 54px, #f18b55 72px);
        animation: cvz-zone-flow 3.2s linear infinite;
        opacity: .92;
    }
    .cvz-brand::after {
        background: linear-gradient(105deg, transparent 0 48.2%,
            rgba(255,255,235,.85) 49.4%, #fff 50%, rgba(255,255,235,.85) 50.6%, transparent 51.8% 100%)
            0 0 / 300% 100% no-repeat;
        animation: cvz-zone-shine 4.8s ease-in-out infinite;
    }
    .cvz-brand:hover::before { animation-duration: 1.2s; }
}
@keyframes cvz-zone-flow { from { background-position: 0 0; } to { background-position: 72px 0; } }
@keyframes cvz-zone-shine {
    0%, 8%   { background-position: 52.5% 0; }
    40%, 100% { background-position: 22.5% 0; }
}
/* (Update 194b) the owner wants the ZONE letters to keep moving: the "play once" rule (Update 186) is gone. They still rest
   when the page is idle (site.js pauses them 8 seconds after the last mouse move, scroll, touch or key press, and while the
   tab is hidden), and never move for visitors who ask for reduced motion. */

/* Play now button on game pages (the in-browser player, /play) */
.cvz-btn-play { display: inline-flex; gap: 6px; align-items: center; }

/* "Play" pill on game cards and rows for games that can be played in the browser (/play) */
.cvz-playpill { position: absolute; left: 8px; top: 40px; z-index: 4; display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent, #f18b55); color: #111 !important; font: 700 .7rem/1 Inter, system-ui, sans-serif; padding: 5px 8px;
  border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.cvz-playpill:hover { filter: brightness(1.1); }
.cvz-playpill.inline { position: static; margin-left: 6px; vertical-align: middle; box-shadow: none; }

/* Home page: "Latest ColecoVision & ADAM news" (Services/NewsFeedService.cs) */
.cvz-news-note { font-size: .8rem; color: var(--cvz-muted); }
.cvz-news { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cvz-news a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  background: var(--cvz-surface); border: 1px solid var(--cvz-border); color: var(--cvz-text); transition: border-color .15s, transform .15s; }
.cvz-news a:hover { border-color: var(--accent); transform: translateY(-2px); }
.cvz-news .src { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.cvz-news strong { font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cvz-news small { margin-top: auto; color: var(--cvz-muted); }

/* "Where to buy it new" (game pages and /buy, Services/StoreWatcher.cs) */
.cvz-buylist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.cvz-buylist li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface); }
.cvz-buylist .store { font-weight: 700; min-width: 120px; }
.cvz-buylist .title { flex: 1 1 200px; color: var(--cvz-muted); }
.cvz-buylist .price { font-weight: 700; }
.cvz-buylist .btn { margin-left: auto; }
.cvz-stock { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.cvz-stock.in { background: rgba(59, 181, 74, .18); color: #3bb54a; }
.cvz-stock.low { background: rgba(242, 140, 40, .2); color: #f28c28; }
.cvz-stock.out { background: rgba(150, 150, 150, .2); color: var(--cvz-muted); }
.cvz-stock.pre { background: rgba(45, 127, 211, .2); color: #4d9be6; }
.cvz-stock.unk { background: rgba(150, 150, 150, .15); color: var(--cvz-muted); }
.cvz-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cvz-chip-link { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); text-decoration: none; color: var(--cvz-text); font-size: .85rem; font-weight: 600; }
.cvz-chip-link.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #10131a); }   /* (Update 186) the accent's own ink (dark #111 on the light theme's dark gold was 3.5:1) */
.cvz-buygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 18px 0 30px; }
.cvz-buycard { display: flex; flex-direction: column; border: 1px solid var(--cvz-border); border-radius: 14px; overflow: hidden; background: var(--cvz-surface); }
.cvz-buycard .img { display: grid; place-items: center; aspect-ratio: 4 / 3; background: rgba(0, 0, 0, .25); }
/* the picture box keeps the same 4:3 size on every card, whatever the size of the store's picture */
.cvz-buycard .img { position: relative; overflow: hidden; min-height: 0; }
.cvz-buycard .img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.cvz-buycard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.cvz-buycard .store { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.cvz-buycard h2 { font-size: 1rem; margin: 4px 0; }
.cvz-buycard .mt-2 { margin-top: auto !important; padding-top: 8px; }

.cvz-vidcard { position: relative; }
.cvz-buychip { position: absolute; top: 8px; right: 8px; z-index: 2; background: #3bb54a; color: #fff; font: 700 .68rem/1 Inter, system-ui, sans-serif; padding: 4px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

/* "Buy new" button on game cards and rows: the game is available from a store (Services/BuyableGames.cs) */
.cvz-buypill { position: absolute; left: 8px; top: 68px; z-index: 4; display: inline-flex; align-items: center; gap: 4px;
  background: #3bb54a; color: #fff !important; font: 700 .7rem/1 Inter, system-ui, sans-serif; padding: 5px 8px;
  border-radius: 999px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.cvz-buypill:hover { filter: brightness(1.1); }
.cvz-buypill.inline { position: static; margin-left: 6px; vertical-align: middle; box-shadow: none; }
.cvz-gtile:not(:has(.cvz-playpill)) .cvz-buypill { top: 40px; }
/* (Update 186) white on this green was 2.7:1 in both themes: dark ink like the buy chip (6.4:1) */
.cvz-buypill { color: #06210b !important; }

/* "Buy it used" (eBay) on game pages (Services/EbayWatcher.cs, Models/EbayPrice.cs) */
.cvz-usedgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.cvz-usedcell { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface); }
.cvz-usedcell .btn { align-self: flex-start; }

/* test site: thin bar under the header linking to /testers, and the testers page */
.cvz-testbar { text-align: center; font-size: .9rem; padding: 6px 12px; background: color-mix(in srgb, var(--accent) 18%, var(--cvz-surface)); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.cvz-testbar a { font-weight: 700; margin-left: 6px; }
.cvz-testers .cvz-panel { margin-bottom: 0; }
.cvz-testers > .cvz-panel { margin-bottom: 20px; }
.cvz-testers li { margin-bottom: 6px; }
.cvz-invite textarea { font-family: var(--bs-font-monospace); font-size: .9rem; }
.cvz-invite-msg { color: var(--accent-text); font-weight: 600; }

/* ---- Members' photo storage line (Views/Collection/_Storage.cshtml) ---- */
.cvz-storage { margin: 10px 0 4px; font-size: .88rem; }
.cvz-storage-text { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.cvz-storage-warn { color: #d9731a; font-weight: 600; }
.cvz-storage-bar { height: 6px; margin-top: 6px; border-radius: 999px; background: var(--cvz-border, rgba(128,128,128,.25)); overflow: hidden; max-width: 420px; }
.cvz-storage-bar span { display: block; height: 100%; background: var(--accent, #f6a623); border-radius: 999px; }
.cvz-storage.near .cvz-storage-bar span { background: #d9731a; }

/* ---- Videos that no longer play (Services/VideoGuard.cs) ---- */
.cvz-video-gone { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 120px; padding: 18px 20px;
    border: 1px dashed var(--cvz-border, rgba(128,128,128,.4)); border-radius: 12px; background: rgba(128,128,128,.08); font-size: .92rem; }
.cvz-video-gone b { font-size: 1rem; }
.cvz-video-backup { width: 100%; height: 100%; background: #000; border-radius: 12px; }
.cvz-yt .cvz-video-backup { aspect-ratio: 16 / 9; height: auto; }

/* ---- Admin media pages (Views/AdminMedia) ---- */
.cvz-adminmedia .cvz-admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cvz-mtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.cvz-mtile { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--cvz-border, rgba(128,128,128,.3)); border-radius: 12px; color: inherit; text-decoration: none; }
.cvz-mtile span { font-size: .8rem; opacity: .75; }
.cvz-mtile b { font-size: 1.4rem; }
.cvz-mtile small { opacity: .7; }
.cvz-mtile.warn { border-color: #d9a21a; }
.cvz-mtile.bad { border-color: #c0392b; }
.cvz-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cvz-mgrid figure { margin: 0; }
.cvz-mgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: rgba(128,128,128,.15); }

/* /testers invite box: each detail on its own line with Copy / Text / Share */
.cvz-invite-parts { display: grid; gap: 8px; }
.cvz-invite-part { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--cvz-border, rgba(128,128,128,.3)); border-radius: 10px; }
.cvz-invite-part .lbl { font-weight: 600; font-size: .85rem; }
.cvz-invite-part .val { font-size: .95rem; word-break: break-all; user-select: all; -webkit-user-select: all; }
.cvz-invite-part .btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 575.98px) { .cvz-invite-part { grid-template-columns: 1fr; } .cvz-invite-part .btns { justify-content: flex-start; } }

/* Help improve the site (/help-improve) and the info form (/info/report) */
.cvz-help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cvz-help-grid .cvz-panel { display: flex; flex-direction: column; margin: 0; }
.cvz-help-grid .cvz-panel .btn { margin-top: auto; align-self: flex-start; }
.cvz-info-form { max-width: 720px; }
.cvz-facts .cvz-ask { font-size: .85em; margin-left: 4px; white-space: nowrap; }
.cvz-wrong { font-size: .85rem; margin: 10px 0 0; }

/* Phones and tablets: the collection buttons on game lists are big enough to tap (review U3) */
@media (pointer: coarse) {
    .cvz-ownset.compact { gap: 6px; }
    .cvz-ownset.compact .cvz-cond { min-width: 40px; min-height: 40px; padding: 6px 8px; font-size: .85rem; }
    .cvz-gtile .cvz-ownset:not(.has) { opacity: 1; }
    .cvz-copy { min-width: 40px; min-height: 40px; }
}
/* Phones: section tabs that scroll sideways fade out at the edge, so it's clear there are more (review U15) */
@media (max-width: 575.98px) {
    .cvz-seg { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 24px; }
}
.cvz-gotd + * h2.cvz-kicker, h2.cvz-kicker { font-size: inherit; font-weight: inherit; margin: 0; }

/* ---- Admin: Statistics (Views/AdminStats, wwwroot/js/stats.js) ----
   Colours: the validated reference palette (categorical slots 1-5, light and dark steps), status colours for
   up/down changes (always with an arrow and words), text in text colours only. */
.cvz-statspage { --st-1: #2a78d6; --st-2: #eb6834; --st-3: #1baf7a; --st-4: #eda100; --st-5: #e87ba4; --st-prev: #8a8984;
    --st-grid: rgba(128,128,128,.18); --st-axis: rgba(128,128,128,.45); --st-good: #0a8a0a; --st-bad: #c23030; --st-gap: var(--cvz-surface, #fff); }
[data-bs-theme="dark"] .cvz-statspage { --st-1: #3987e5; --st-2: #d95926; --st-3: #199e70; --st-4: #c98500; --st-5: #d55181; --st-prev: #9a998f;
    --st-good: #0ca30c; --st-bad: #e66767; }
.cvz-st-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 6px; }
.cvz-st-custom { display: inline-flex; gap: 6px; align-items: center; }
.cvz-st-custom input[type=date] { width: auto; }
.cvz-st-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cvz-st-tile { border: 1px solid var(--cvz-border, rgba(128,128,128,.3)); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.cvz-st-tile .lbl { font-size: .82rem; color: var(--cvz-muted, #888); }
.cvz-st-tile .val { font-size: 1.75rem; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cvz-st-tile .delta { font-size: .8rem; font-weight: 600; }
.cvz-st-tile .delta.up { color: var(--st-good); } .cvz-st-tile .delta.down { color: var(--st-bad); } .cvz-st-tile .delta.flat { color: var(--cvz-muted, #888); font-weight: 400; }
.cvz-st-tile .delta .vs { color: var(--cvz-muted, #888); font-weight: 400; }
.cvz-st-card { border: 1px solid var(--cvz-border, rgba(128,128,128,.3)); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; position: relative; min-width: 0; }
.cvz-st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cvz-st-grid .cvz-st-card { margin-bottom: 0; }
.cvz-st-chart { position: relative; }
.cvz-st-chart svg { display: block; overflow: visible; }
.cvz-st-chart .grid { stroke: var(--st-grid); } .cvz-st-chart .axis { stroke: var(--st-axis); }
.cvz-st-chart .tick { font-size: 11px; fill: var(--cvz-muted, #888); }
.cvz-st-chart .line { stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cvz-st-chart .hair { stroke: var(--st-axis); stroke-width: 1; }
.cvz-statspage .s0 { stroke: var(--st-prev); color: var(--st-prev); } .cvz-statspage .s1 { stroke: var(--st-1); color: var(--st-1); } .cvz-statspage .s2 { stroke: var(--st-2); color: var(--st-2); }
.cvz-statspage .s3 { color: var(--st-3); } .cvz-statspage .s4 { color: var(--st-4); } .cvz-statspage .s5 { color: var(--st-5); }
.cvz-st-chart .dashed { stroke-dasharray: 5 4; }
.cvz-st-chart .dot { fill: currentColor; stroke: var(--st-gap); stroke-width: 2; }
.cvz-st-tip { position: absolute; top: 4px; z-index: 3; pointer-events: none; background: var(--cvz-surface, #fff); border: 1px solid var(--cvz-border, rgba(128,128,128,.3)); border-radius: 8px;
    padding: 6px 10px; font-size: .82rem; box-shadow: 0 4px 14px rgba(0,0,0,.18); white-space: nowrap; }
.cvz-st-tip .h { color: var(--cvz-muted, #888); margin-bottom: 2px; }
.cvz-st-tip b { font-variant-numeric: tabular-nums; }
.cvz-st-tip i.line, .cvz-st-legend.lines i.line { display: inline-block; width: 14px; height: 0; border-top: 2px solid currentColor; vertical-align: middle; margin-right: 6px; }
.cvz-st-tip i.dashed, .cvz-st-legend.lines i.dashed { border-top-style: dashed; }
.cvz-st-legend { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; }
.cvz-st-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cvz-st-legend li > i:not(.line) { width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.cvz-st-legend span { color: var(--cvz-muted, #888); font-variant-numeric: tabular-nums; }
.cvz-st-split { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; }
.cvz-st-split i { background: currentColor; min-width: 2px; }
.cvz-st-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cvz-st-bars li { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(60px, 1fr) auto; gap: 10px; align-items: center; font-size: .88rem; }
.cvz-st-bars .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cvz-st-bars .track { height: 8px; }
.cvz-st-bars .track i { display: block; height: 100%; background: var(--st-1); border-radius: 0 4px 4px 0; min-width: 2px; }
.cvz-st-bars li:hover .track i { filter: brightness(1.15); }
.cvz-st-bars b { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; }
.cvz-st-empty { color: var(--cvz-muted, #888); font-size: .88rem; margin: 0; }
.cvz-st-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 0 0 10px; }
.cvz-st-nums div { display: flex; flex-direction: column-reverse; }
.cvz-st-nums dt { font-weight: 400; font-size: .8rem; color: var(--cvz-muted, #888); }
.cvz-st-nums dd { margin: 0; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cvz-st-pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--st-good); margin-left: 6px; vertical-align: middle; animation: cvzStBlink 2s infinite; }
/* (Update 186) its own name: it was also called cvzPulse, and the later one replaced the console tour hotspots' ring pulse
   everywhere, so the hotspots faded to 30% instead */
@keyframes cvzStBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .cvz-st-pulse { animation: none; } }

/* statistics: map, downloads, printing */
.cvz-st-map svg { display: block; margin-bottom: 8px; }
.cvz-st-map .land { fill: rgba(128,128,128,.16); stroke: var(--cvz-surface, #fff); stroke-width: .5; }
.cvz-st-map .land:hover { stroke: var(--cvz-text, #222); stroke-width: 1; }
.cvz-statspage .s100 { fill: #cde2fb; background: #cde2fb; } .cvz-statspage .s250 { fill: #86b6ef; background: #86b6ef; }
.cvz-statspage .s400 { fill: #3987e5; background: #3987e5; } .cvz-statspage .s550 { fill: #1c5cab; background: #1c5cab; } .cvz-statspage .s700 { fill: #0d366b; background: #0d366b; }
[data-bs-theme="dark"] .cvz-statspage .s100 { fill: #184f95; background: #184f95; } [data-bs-theme="dark"] .cvz-statspage .s250 { fill: #256abf; background: #256abf; }
[data-bs-theme="dark"] .cvz-statspage .s400 { fill: #3987e5; background: #3987e5; } [data-bs-theme="dark"] .cvz-statspage .s550 { fill: #6da7ec; background: #6da7ec; } [data-bs-theme="dark"] .cvz-statspage .s700 { fill: #b7d3f6; background: #b7d3f6; }
.cvz-st-mapkey { display: flex; align-items: center; gap: 3px; font-size: .78rem; color: var(--cvz-muted, #888); margin-bottom: 10px; }
.cvz-st-mapkey i { width: 22px; height: 8px; border-radius: 2px; } .cvz-st-mapkey span { margin: 0 6px; }
.cvz-st-downloads { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
@media print {
    .cvz-statspage .cvz-admin-tabs, .cvz-statspage .cvz-st-filters, .cvz-statspage details, header, footer, nav.cvz-tabbar, .cvz-testbar { display: none !important; }
    .cvz-st-card, .cvz-st-tile { break-inside: avoid; }
    .cvz-st-grid { grid-template-columns: 1fr 1fr; }
    .cvz-statspage a { text-decoration: none; color: inherit; }
}

/* ---------- Books & Magazines Library (/library) ---------- */
.cvz-lib-types { margin-top: 12px; flex-wrap: wrap; }
.cvz-coll-card .cvz-lib-nocover, .cvz-coll-item .cvz-lib-nocover {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    width: 66%; height: 88%; padding: 12px; border-radius: 2px 6px 6px 2px; text-align: center; line-height: 1.25;
    color: var(--cvz-text); background: linear-gradient(90deg, rgba(0,0,0,.18) 0 6px, transparent 6px), var(--cvz-surface-2);
    border: 1px solid var(--cvz-border); font-family: var(--font-body); font-size: .8rem; text-shadow: none; box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.cvz-lib-nocover b { font-weight: 700; }
.cvz-coll-card a.pic .cvz-lib-nocover { text-decoration: none; }
.cvz-lib-nocover small { color: var(--cvz-muted); }
.cvz-coll-item .gallery .main.cvz-lib-nocover { width: 100%; aspect-ratio: 3 / 4; font-size: 1.3rem; }
.cvz-chip.cvz-chip-free { color: #2e9e5b; border-color: color-mix(in srgb, #2e9e5b 55%, transparent); background: color-mix(in srgb, #2e9e5b 10%, var(--cvz-surface-2)); font-weight: 600; }
.cvz-lib-series { margin: 18px 0 8px; }
.cvz-lib-serieslist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; }
.cvz-lib-contents { padding-left: 1.2rem; margin-bottom: .75rem; }
.cvz-lib-where { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--cvz-border); border-radius: var(--radius, 10px); background: var(--cvz-surface-2); }
.cvz-library-moved { margin: 4px 0 14px; padding: 10px 14px; border-left: 3px solid var(--cvz-accent, #f6c61b); background: var(--cvz-surface-2); border-radius: 6px; }
.cvz-lib-sugg { padding: 14px 16px; margin: 0 0 14px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface-2); }
.cvz-lib-sugg .cvz-coll-facts { margin-bottom: .5rem; }
.cvz-lib-links li { margin: 6px 0; }
.cvz-lib-stock { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; border: 1px solid var(--cvz-border); color: var(--cvz-muted); }
.cvz-lib-stock.ok { color: #2e9e5b; border-color: color-mix(in srgb, #2e9e5b 55%, transparent); background: color-mix(in srgb, #2e9e5b 10%, transparent); }
.cvz-lib-stock.out { color: #d9822b; border-color: color-mix(in srgb, #d9822b 55%, transparent); }
.cvz-lib-progress { height: 10px; border-radius: 999px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); overflow: hidden; max-width: 420px; }
.cvz-lib-progress span { display: block; height: 100%; background: #2e9e5b; }
.cvz-lib-checklist tr.have td { color: var(--cvz-muted); }

/* ---------- The World During ColecoVision (home page card, /era) ---------- */
.cvz-era-tag { display:inline-block; padding:2px 10px; border-radius:999px; font-size:.72rem; font-weight:700; letter-spacing:.02em; border:1px solid var(--cvz-border); background:var(--cvz-surface-2); color:var(--cvz-text); }
.cvz-era-tag.c-world { border-color:#3b82f6; } .cvz-era-tag.c-reagan { border-color:#e11d48; } .cvz-era-tag.c-tech { border-color:#f59e0b; }
.cvz-era-tag.c-entertainment { border-color:#a855f7; } .cvz-era-tag.c-science { border-color:#10b981; } .cvz-era-tag.c-sports { border-color:#06b6d4; }
.cvz-era-card .story h3, .cvz-era-paper h3 { margin:.4rem 0 .3rem; font-size:1.35rem; line-height:1.2; }
.cvz-era-card h3 a { color:inherit; text-decoration:none; } .cvz-era-card h3 a:hover { text-decoration:underline; }
.cvz-era-card .links a { margin-right:14px; font-weight:600; }
/* (Update 186) TV look: the links and the round buttons wrap as one even row (a wrapped pill touched the one above it
   and started 4px in from the text links) */
.cvz-era-card.tv .story .links { display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.cvz-era-card.tv .story .links a, .cvz-era-card.tv .story .links .cvz-era-share { margin:0; }
.cvz-era-card .side { font-size:.88rem; color:var(--cvz-muted); margin-bottom:.4rem; }
.cvz-era-card .credit { font-size:.72rem; color:var(--cvz-muted); margin:0; }
.cvz-era-card .when { font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color:var(--cvz-muted); margin-bottom:6px; }
/* the TV */
.cvz-era-tv { display:grid; grid-template-columns:minmax(220px, 340px) 1fr; gap:22px; align-items:center; }
.cvz-era-tv .set { display:grid; grid-template-columns:1fr 52px; gap:10px; padding:14px; border-radius:18px; text-decoration:none;
  background:linear-gradient(135deg, #7a4a24, #5b3519 40%, #8a5a2e 70%, #5e3a1c); box-shadow:inset 0 0 0 2px rgba(0,0,0,.35), 0 10px 24px rgba(0,0,0,.35); }
.cvz-era-tv .screen { position:relative; display:block; aspect-ratio:4/3; border-radius:22px / 18px; overflow:hidden; background:#111; box-shadow:inset 0 0 0 3px #222, inset 0 0 26px rgba(0,0,0,.8); }
.cvz-era-tv .screen img { width:100%; height:100%; object-fit:cover; filter:saturate(.85) contrast(1.05); }
.cvz-era-tv .screen::after { content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  background:repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.45)); }
.cvz-era-tv .static { position:absolute; inset:0; display:grid; place-items:center; color:#ddd; font:700 2rem var(--font-display, system-ui); }
.cvz-era-tv .play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:52px; height:52px; border-radius:50%; display:grid; place-items:center; background:rgba(0,0,0,.6); z-index:1; }
.cvz-era-tv .knobs { display:flex; flex-direction:column; align-items:center; gap:12px; padding-top:6px; }
.cvz-era-tv .knobs i { width:32px; height:32px; border-radius:50%; background:radial-gradient(circle at 35% 35%, #ddd, #777 60%, #444); box-shadow:0 2px 3px rgba(0,0,0,.5); }
.cvz-era-tv .knobs b { margin-top:auto; font:600 .7rem system-ui, sans-serif; color:#f3d9b8; letter-spacing:.08em; }
/* the newspaper */
.cvz-era-paper { background:#f4efe3; color:#1d1b16; border-radius:6px; padding:16px 20px; box-shadow:0 8px 22px rgba(0,0,0,.3); font-family:Georgia, 'Times New Roman', serif; }
.cvz-era-paper a { color:#1d1b16; }
.cvz-era-paper .mast { display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:10px; border-bottom:3px double #1d1b16; padding-bottom:6px; margin-bottom:12px; }
.cvz-era-paper .mast .name { font:700 clamp(1.3rem, 3vw, 2rem) 'Old English Text MT', 'UnifrakturMaguntia', Georgia, serif; text-align:center; }
.cvz-era-paper .mast .vol { font:600 .7rem system-ui, sans-serif; text-transform:uppercase; letter-spacing:.06em; }
.cvz-era-paper .mast .vol:last-child { text-align:right; }
.cvz-era-paper .front { display:grid; grid-template-columns:1fr minmax(180px, 300px); gap:18px; }
.cvz-era-paper h3 { font:800 1.7rem/1.15 Georgia, 'Times New Roman', serif; letter-spacing:-.01em; }
.cvz-era-paper .dek { font-size:1rem; line-height:1.45; }
.cvz-era-paper .side { color:#4a463c; }
.cvz-era-paper figure { margin:0; } .cvz-era-paper figure img { width:100%; filter:grayscale(1) contrast(1.1); border:1px solid #1d1b16; }
.cvz-era-paper figcaption { font:italic .72rem Georgia, serif; margin-top:4px; }
.cvz-era-paper .cvz-era-tag { background:transparent; color:#1d1b16; border-color:#1d1b16; font-family:system-ui, sans-serif; }
/* the news crawl */
.cvz-era-crawl { display:flex; align-items:center; gap:10px; margin-top:12px; border-radius:8px; background:var(--cvz-surface-2); border:1px solid var(--cvz-border); overflow:hidden; }
.cvz-era-crawl .lbl { flex:0 0 auto; padding:6px 10px; background:#c8102e; color:#fff; font:700 .72rem system-ui, sans-serif; letter-spacing:.08em; }
.cvz-era-crawl .track { overflow:hidden; flex:1; }
.cvz-era-crawl ul { display:flex; gap:40px; list-style:none; margin:0; padding:6px 0; white-space:nowrap; width:max-content; animation:cvz-crawl 40s linear infinite; }
.cvz-era-crawl:hover ul, .cvz-era-crawl:focus-within ul { animation-play-state:paused; }
.cvz-era-crawl a { color:var(--cvz-text); text-decoration:none; font-size:.85rem; } .cvz-era-crawl a b { color:var(--cvz-muted); margin-right:4px; }
@keyframes cvz-crawl { from { transform:translateX(30%); } to { transform:translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .cvz-era-crawl ul { animation:none; white-space:normal; flex-wrap:wrap; gap:6px 24px; width:auto; padding:6px 10px; } }
@media (max-width: 720px) {
  .cvz-era-tv, .cvz-era-paper .front { grid-template-columns:1fr; }
  .cvz-era-tv .set { max-width:360px; }
  .cvz-era-crawl ul { animation:none; flex-direction:column; white-space:normal; gap:4px; width:auto; padding:6px 10px; }
  .cvz-era-paper .mast { grid-template-columns:1fr; text-align:center; } .cvz-era-paper .mast .vol:last-child { text-align:center; }
}
/* /era archive and event pages */
.cvz-era-month { margin-top:18px; }
.cvz-era-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.cvz-era-item { display:grid; grid-template-columns:64px 72px 1fr; gap:12px; align-items:center; padding:8px 10px; border-radius:10px; border:1px solid var(--cvz-border); background:var(--cvz-surface); color:var(--cvz-text); text-decoration:none; }
.cvz-era-item:hover { border-color:var(--cvz-muted); }
.cvz-era-item .d { font-weight:700; font-size:.85rem; color:var(--cvz-muted); }
.cvz-era-item img, .cvz-era-item .nopic { width:72px; height:54px; object-fit:cover; border-radius:6px; background:var(--cvz-surface-2); display:block; }
.cvz-era-item .t { display:flex; flex-direction:column; gap:3px; } .cvz-era-item .t .cvz-era-tag { align-self:flex-start; }
.cvz-era-body { display:grid; grid-template-columns:1fr minmax(240px, 420px); gap:22px; align-items:start; }
.cvz-era-media { margin:0; } .cvz-era-media img { width:100%; border-radius:10px; }
.cvz-era-mini { list-style:none; padding:0; margin:0; } .cvz-era-mini li { padding:4px 0; border-bottom:1px solid var(--cvz-border); } .cvz-era-mini b { margin-right:6px; }
.cvz-era-games a { display:inline-block; margin:0 10px 6px 0; }
@media (max-width: 720px) { .cvz-era-body { grid-template-columns:1fr; } .cvz-era-item { grid-template-columns:52px 60px 1fr; } }
.cvz-hist-cover { display:grid; grid-template-columns:2fr 1fr; gap:24px; margin:10px 0 6px; }
.cvz-hist-bars { display:flex; align-items:flex-end; gap:2px; height:90px; border-bottom:1px solid var(--cvz-border); }
.cvz-hist-bars a { flex:1; height:var(--h); min-height:2px; background:var(--cvz-accent, #3b82f6); border-radius:2px 2px 0 0; }
.cvz-hist-bars a.zero { background:#d9822b; height:4px; }
.cvz-hist-axis { display:flex; justify-content:space-between; }
@media (max-width: 720px) { .cvz-hist-cover { grid-template-columns:1fr; } }
.cvz-era-share { margin-left:4px; padding:3px 12px; border-radius:999px; border:1px solid var(--cvz-border); background:var(--cvz-surface-2); color:var(--cvz-text); font-size:.82rem; font-weight:600; }
.cvz-era-paper .cvz-era-share { background:transparent; color:#1d1b16; border-color:#1d1b16; font-family:system-ui, sans-serif; }
.cvz-era-tag.c-coleco { border-color:#f6c61b; }
.cvz-era-count { font:500 .85rem system-ui, sans-serif; color:var(--cvz-muted); margin-left:8px; letter-spacing:0; }

/* Admin: Library > Covers (cover pictures waiting for review) */
.cvz-covq { border-top: 1px solid var(--cvz-border); padding: 14px 0; }
.cvz-covq-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cvz-covq-card { width: 210px; margin: 0; border: 1px solid var(--cvz-border); border-radius: 10px; padding: 8px; background: var(--cvz-surface, transparent); }
.cvz-covq-card.conf-high { border-color: color-mix(in srgb, #2e9e5b 60%, var(--cvz-border)); }
.cvz-covq-card img { width: 100%; height: 240px; object-fit: contain; background: #8881; border-radius: 6px; }
.cvz-covq-card figcaption > div { margin-top: 3px; overflow-wrap: anywhere; }
.cvz-covq-conf { font-weight: 700; text-transform: capitalize; }
.cvz-covq-rights { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: .78rem; }
.cvz-covq-rights.r-ok { background: #2e9e5b2e; color: #7fd6a2; }
.cvz-covq-rights.r-ask { background: #d993002e; color: #f0c36a; }
.cvz-covq-rights.r-no { background: #c837372e; color: #f19a9a; }
[data-bs-theme="light"] .cvz-covq-rights.r-ok { color: #1d7a43; }
[data-bs-theme="light"] .cvz-covq-rights.r-ask { color: #8a5c06; }
[data-bs-theme="light"] .cvz-covq-rights.r-no { color: #a12a2a; }

/* Catalog tabs: the kinds of game sit in a second, smaller row on the Games pages */
.cvz-gamebar { margin-top: 14px; }
.cvz-fullcat { white-space: nowrap; border-radius: 999px; margin-left: auto; font-weight: 600; padding: 6px 16px; border: 1px solid var(--accent); color: var(--cvz-text); background: transparent; }
.cvz-fullcat:hover, .cvz-fullcat:focus-visible { background: var(--accent); color: var(--accent-ink, #10131a); border-color: var(--accent); }

/* The World During ColecoVision: a video plays on the TV screen */
.cvz-era-tv button.screen { border:0; padding:0; width:100%; cursor:pointer; }
.cvz-era-tv button.screen:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.cvz-era-tv .screen iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.cvz-era-tv .screen.on::after { display:none; }
.cvz-era-tv button.screen:hover .play { background:rgba(200,0,0,.85); }

/* Catalog versions: a picture used for several entries, and entries with no recorded difference */
.cvz-version .pic { position: relative; }
.cvz-repphoto { position: absolute; left: 6px; bottom: 6px; font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; }
.cvz-chip.cvz-chip-warn { background: #d993002e; color: #f0c36a; border-color: #d9930066; }
[data-bs-theme="light"] .cvz-chip.cvz-chip-warn { color: #8a5c06; }

/* ===== The World During ColecoVision: an early-1980s portable colour TV (October 2026) ===== */
.cvz-era-tv { grid-template-columns:minmax(260px, 400px) 1fr; }



/* the dark plastic frame around the picture tube */

/* the CRT: bulged glass, rounded corners, glare and scan lines */








/* brushed-aluminium control panel */












@media (max-width: 760px) { .cvz-era-tv { grid-template-columns:1fr; } }

/* ===== The ColecoVision Courier: an early-1980s broadsheet front page ===== */
.cvz-era-paper { --ink:#1b1a17; position:relative; color:var(--ink); padding:18px 22px 20px; border-radius:2px;
  font-family:"Libre Caslon Text", Georgia, "Times New Roman", serif;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 40%, #f1ead7 0%, #e9e0c8 70%, #ddd1b2 100%);
  box-shadow:0 1px 0 #cdbf9c, 0 10px 24px rgba(0,0,0,.4); }
.cvz-era-paper a { color:var(--ink); text-decoration:none; }
.cvz-era-paper a:hover { text-decoration:underline; }
.cvz-era-paper .np-ears { display:flex; justify-content:space-between; gap:10px; font:700 .62rem/1.25 "Libre Franklin", Arial, sans-serif; text-transform:uppercase; letter-spacing:.06em; }
.cvz-era-paper .ear { border:1px solid var(--ink); padding:4px 6px; max-width:13rem; }
.cvz-era-paper .ear.r { text-align:right; }
.cvz-era-paper .np-name { text-align:center; font:400 clamp(1.9rem, 5.4vw, 3.6rem)/1.05 "UnifrakturMaguntia", "Old English Text MT", Georgia, serif; margin:4px 0 6px; letter-spacing:.01em; }
.cvz-era-paper .np-folio { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; border-top:3px solid var(--ink); border-bottom:1px solid var(--ink);
  padding:3px 0; font:700 .66rem/1.3 "Libre Franklin", Arial, sans-serif; text-transform:uppercase; letter-spacing:.05em; box-shadow:0 2px 0 -1px var(--cvz-paper, #e9e0c8), 0 3px 0 -1px var(--ink); }
.cvz-era-paper .np-banner { font:900 clamp(1.5rem, 3.6vw, 2.5rem)/1.04 "Libre Franklin", "Franklin Gothic Medium", Arial, sans-serif; letter-spacing:-.015em; margin:12px 0 8px; text-wrap:balance; }
.cvz-era-paper .np-body { display:grid; grid-template-columns:2fr 1fr; gap:0; border-top:1px solid var(--ink); padding-top:8px; }
.cvz-era-paper .np-lead { padding-right:16px; border-right:1px solid var(--ink); column-gap:16px; }
.cvz-era-paper .np-deck { font:italic 1.02rem/1.35 "Libre Caslon Text", Georgia, serif; margin:0 0 8px; }
.cvz-era-paper .np-photo { float:right; width:52%; margin:2px 0 8px 14px; }
.cvz-era-paper .np-photo img { position:relative; display:block; width:100%; filter:grayscale(1) contrast(1.25) brightness(1.02); border:1px solid var(--ink); mix-blend-mode:multiply; }
.cvz-era-paper .np-photo a { position:relative; display:block; }
.cvz-era-paper .np-photo a::after { content:""; position:absolute; inset:0; pointer-events:none; mix-blend-mode:multiply; opacity:.35;
  background:radial-gradient(circle, rgba(0,0,0,.55) 30%, rgba(0,0,0,0) 32%) 0 0 / 3px 3px; }
.cvz-era-paper figcaption { font:700 .7rem/1.3 "Libre Franklin", Arial, sans-serif; margin-top:4px; }
.cvz-era-paper .np-credit { display:block; font-weight:400; font-size:.62rem; text-transform:uppercase; letter-spacing:.04em; opacity:.8; }
.cvz-era-paper .np-text { font-size:.9rem; line-height:1.42; text-align:justify; hyphens:auto; margin:0 0 8px; }
.cvz-era-paper .np-more { clear:both; font:700 .72rem/1.4 "Libre Franklin", Arial, sans-serif; margin:6px 0 0; }
.cvz-era-paper .np-side { padding-left:14px; }
.cvz-era-paper .np-box { border-bottom:1px solid var(--ink); padding:2px 0 8px; margin-bottom:8px; }
.cvz-era-paper .np-box h4 { font:900 .8rem/1.2 "Libre Franklin", Arial, sans-serif; text-transform:uppercase; letter-spacing:.04em; margin:0 0 4px; border-bottom:2px solid var(--ink); padding-bottom:2px; }
.cvz-era-paper .np-box p { font-size:.8rem; line-height:1.35; margin:0 0 5px; }
.cvz-era-paper .cvz-era-share { background:transparent; color:var(--ink); border:0; padding:0; font:inherit; text-decoration:underline; cursor:pointer; }
@media (max-width: 760px) {
  .cvz-era-paper { padding:14px; }
  .cvz-era-paper .np-body { grid-template-columns:1fr; }
  .cvz-era-paper .np-lead { border-right:0; padding-right:0; }
  .cvz-era-paper .np-side { padding-left:0; border-top:1px solid var(--ink); padding-top:8px; }
  .cvz-era-paper .np-photo { float:none; width:100%; margin:0 0 8px; }
  .cvz-era-paper .np-ears .ear.r { display:none; }
}

/* Game page: "Editions & versions" as compact rows (October 2026) */
.cvz-vlist { display: grid; gap: 8px; }
.cvz-vrow { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface-2); scroll-margin-top: 90px; }
.cvz-vrow.owned { border-color: rgba(59, 181, 74, .55); }
.cvz-vrow .thumb { position: relative; display: block; width: 64px; height: 80px; border-radius: 6px; overflow: hidden; background: #0d0f14; }
.cvz-vrow .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cvz-vrow .thumb .rep { position: absolute; left: 0; right: 0; bottom: 0; font-size: .55rem; font-weight: 700; text-align: center; background: rgba(0,0,0,.72); color: #fff; padding: 1px 0; }
.cvz-vrow .thumb.none { display: grid; place-items: center; text-align: center; font-size: .62rem; line-height: 1.2; color: var(--cvz-muted); border: 1px dashed var(--cvz-border); background: transparent; padding: 4px; }
.cvz-vrow .title { font-size: .98rem; font-weight: 700; margin: 0 0 2px; font-family: var(--font-body); }
.cvz-vrow .have { font-size: .75rem; color: #3bb54a; margin-left: 4px; }
.cvz-vrow .meta { font-size: .8rem; color: var(--cvz-muted); }
.cvz-vrow .chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cvz-vrow .vnote { font-size: .8rem; color: var(--cvz-muted); margin: 4px 0 0; }
.cvz-vrow .vmine { margin: 6px 0 0; padding: 6px 8px; border-radius: 10px; background: rgba(59, 181, 74, .12); font-size: .8rem; display: grid; gap: 4px; }
.cvz-vrow .vmine li { display: flex; align-items: center; gap: 6px; }
.cvz-vrow .vmine .mine-photo { width: 28px; height: 28px; object-fit: cover; border-radius: 4px; }
.cvz-vrow .vacts { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; max-width: 300px; }
.cvz-cnotes { border: 1px solid var(--cvz-border); border-left: 4px solid var(--accent); border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; background: var(--cvz-surface-2); font-size: .9rem; }
.cvz-cnotes summary { cursor: pointer; }
.cvz-cnotes p { margin: 8px 0; }
.cvz-cnotes table { font-size: .82rem; margin: 6px 0; }
.cvz-cnotes table th[scope="row"] { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .cvz-vrow { grid-template-columns: 56px minmax(0, 1fr); }   /* (Update 158) no sideways scroll at 320 px */
  .cvz-vrow .thumb { width: 56px; height: 70px; }
  .cvz-vrow .vacts { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
}

/* ZoneVision TV in ColecoVision console dress: black ribbed cabinet with a silver trim line, and the controls laid out
   like a ColecoVision hand controller (joystick knob, side fire buttons, twelve-key keypad) */







/* the joystick: a black disc with a short stick and a round top */


/* the orange-red fire buttons on the controller's sides */

 
/* the keypad: 1-9, *, 0, # */





.cvz-edver { scroll-margin-top: 80px; }

/* ZoneVision Model ZV-1982 (Update 42): the TV as if Coleco had built one to match the console. Square black cabinet
   seen slightly from the right, the console's ribbed vents and silver front band with the rainbow name, a 4:3 tube in
   a silver double trim, and a photo of a real ColecoVision controller seated in a socket; the day's channel key glows.
   Two controllers (Player 1 left with the lit key, Player 2 right), a cartridge in the top slot and a covered expansion
   module interface centered on the front. Drawn on a 994-unit grid that scales with the TV's width (--u). */
.cvz-era-tv:has(.tv82) { grid-template-columns:minmax(300px, 560px) 1fr; }
.tv82 { container-type:inline-size; position:relative; width:100%; max-width:560px; --u:calc(100cqw / 994); padding-top:calc(var(--u)*86); }
.tv82 .z-box { position:relative; padding:calc(var(--u)*26) calc(var(--u)*34) 0 0; filter:drop-shadow(calc(var(--u)*10) calc(var(--u)*22) calc(var(--u)*18) rgba(0,0,0,.45)); }
.tv82 .z-top { position:absolute; left:0; top:0; right:0; height:calc(var(--u)*26);
  clip-path:polygon(0 100%, calc(var(--u)*34) 0, 100% 0, calc(100% - var(--u)*34) 100%);
  background:linear-gradient(180deg, #0c0c0c, #262626 85%, #3a3a3a); }
.tv82 .z-top::after { content:""; position:absolute; left:calc(var(--u)*160); right:calc(var(--u)*240); top:calc(var(--u)*6); height:calc(var(--u)*12);
  background:repeating-linear-gradient(90deg, #050505 0 calc(var(--u)*3), #2a2a2a calc(var(--u)*3) calc(var(--u)*5)); transform:skewX(-52deg); }
.tv82 .z-rside { position:absolute; right:0; top:0; bottom:0; width:calc(var(--u)*34);
  clip-path:polygon(0 calc(var(--u)*26), 100% 0, 100% calc(100% - var(--u)*26), 0 100%); background:linear-gradient(90deg, #0a0a0a, #060606); }
.tv82 .z-rside::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.06), transparent 30%); }
.tv82 .z-set { position:relative; border-top:1px solid #555; background:linear-gradient(180deg, #1d1d1d, #121212 30%, #0e0e0e);
  box-shadow:inset 0 1px 0 #4a4a4a, inset 1px 0 0 #2a2a2a, inset -1px 0 0 #050505; }
.tv82 .z-deck { height:calc(var(--u)*26); border-bottom:1px solid #000;
  background:linear-gradient(180deg, rgba(255,255,255,.06), transparent), repeating-linear-gradient(90deg, #060606 0 calc(var(--u)*3), #2b2b2b calc(var(--u)*3) calc(var(--u)*4), #141414 calc(var(--u)*4) calc(var(--u)*7)); }
.tv82 .z-face { display:grid; grid-template-columns:calc(var(--u)*176) 1fr calc(var(--u)*176); gap:calc(var(--u)*18); padding:calc(var(--u)*18) calc(var(--u)*20) calc(var(--u)*16); }
.tv82 .z-bezel { background:#090909; padding:calc(var(--u)*13);
  box-shadow:inset 0 calc(var(--u)*5) calc(var(--u)*10) #000, inset calc(var(--u)*4) 0 calc(var(--u)*8) rgba(0,0,0,.8), inset 0 -1px 0 #333, inset -1px 0 0 #2a2a2a, 0 0 0 1px #000; }
.tv82 .z-trim { padding:calc(var(--u)*6); border:1px solid; border-color:#fbfbfb #8d9094 #6a6d71 #e9eaeb;
  background:linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 28%, rgba(0,0,0,.16) 72%, rgba(255,255,255,.3)), repeating-linear-gradient(90deg, #c6c8cb 0 1px, #e0e2e4 1px 2px, #d0d2d5 2px 4px); }
.tv82 .z-trim > i { display:block; padding:calc(var(--u)*2); background:#0b0b0b; font-style:normal; }
.tv82 .z-trim > i > i { display:block; padding:calc(var(--u)*4); border:1px solid; border-color:#75787c #edeef0 #f6f7f8 #8a8d91;
  background:linear-gradient(180deg, rgba(255,255,255,.4), transparent 45%, rgba(0,0,0,.18)), repeating-linear-gradient(90deg, #c0c2c5 0 1px, #dadcde 1px 3px); }
.tv82 .z-tube { position:relative; aspect-ratio:4/3; overflow:hidden; background:#0d0d0d; }
.tv82 .z-tube::after { content:""; position:absolute; inset:0; z-index:3; pointer-events:none; box-shadow:inset 0 0 0 2px #000, inset 0 0 calc(var(--u)*30) rgba(0,0,0,.6);
  background:linear-gradient(115deg, rgba(255,255,255,.16) 0, rgba(255,255,255,.04) 22%, transparent 23%), radial-gradient(130% 120% at 50% 50%, transparent 55%, rgba(0,0,0,.55)),
    repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); }
.tv82 .z-tube:has(.screen.on)::after { display:none; }
.cvz-era-tv .tv82 .screen { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border-radius:0; border:0; padding:0; margin:0; box-shadow:none; background:#111; cursor:pointer; display:block; }
.cvz-era-tv .tv82 .screen::after { display:none; }
.tv82 .screen img { width:100%; height:100%; object-fit:cover; filter:saturate(.85) contrast(1.06); }
.tv82 .screen iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.tv82 .screen .static { position:absolute; inset:0; display:grid; place-items:center; color:#cfe3d6; font:700 2rem/1 "Russo One", system-ui; text-shadow:0 0 12px rgba(160,255,200,.45);
  background:repeating-linear-gradient(0deg, #1a1a1a 0 2px, #2a2a2a 2px 4px); }
.tv82 button.screen:hover .play { background:rgba(200,0,0,.85); }
.tv82 .z-side { position:relative; }
.tv82 .z-sock { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.tv82 .z-ctl { position:relative; height:calc(100% - var(--u)*54); isolation:isolate; filter:drop-shadow(1px 2px 2px rgba(0,0,0,.9)); }
.tv82 .z-ctl::before { content:""; position:absolute; inset:calc(var(--u)*-4); z-index:-1; background:#131313;
  box-shadow:0 0 0 1px #000, inset 0 calc(var(--u)*3) calc(var(--u)*6) #000, inset calc(var(--u)*2) 0 calc(var(--u)*4) #000, 0 1px 0 1px #2c2c2c; }
.tv82 .z-ctl img { display:block; height:100%; width:auto; }
.tv82 .z-lit { position:absolute; border-radius:6%; mix-blend-mode:multiply; box-shadow:0 0 calc(var(--u)*8) calc(var(--u)*2) rgba(255,200,60,.35);
  background:radial-gradient(circle at 50% 45%, rgba(255,214,90,.75), rgba(255,190,40,.45) 70%, rgba(255,170,0,.25)); }
.tv82 .z-band { margin:0 calc(var(--u)*20); padding:calc(var(--u)*6) 0; box-shadow:0 0 0 1px #000, inset 0 1px 0 #fff; background:linear-gradient(180deg, #f5f6f7, #c9cbce 40%, #dfe1e3 55%, #a3a6aa); }
.tv82 .z-band > div { display:flex; align-items:center; gap:calc(var(--u)*16); margin:0 calc(var(--u)*8); height:calc(var(--u)*28); padding:0 calc(var(--u)*14); background:#0b0b0b; box-shadow:inset 0 1px 2px #000; }
.tv82 .z-logo { font:900 calc(var(--u)*20)/1 "Arial Black", Arial, sans-serif; letter-spacing:-.01em; color:transparent; -webkit-background-clip:text; background-clip:text;
  background-image:linear-gradient(90deg, #e2372c, #f0871f 18%, #f4d12b 34%, #57bd3c 52%, #22a5d8 70%, #5c56c8 86%, #c4449e); }
.tv82 .z-band small { font:600 calc(var(--u)*8)/1 Arial, sans-serif; letter-spacing:.24em; color:#c8c8c8; }
.tv82 .z-sp { flex:1; }
.tv82 .z-tag { font:600 calc(var(--u)*7)/1 Arial, sans-serif; letter-spacing:.2em; color:#9a9a9a; }
.tv82 .z-btn { width:calc(var(--u)*30); height:calc(var(--u)*12); background:linear-gradient(180deg, #3a3a3a, #111); border:1px solid #000; box-shadow:inset 0 1px 0 #555; }
.tv82 .z-btn.pw { background:linear-gradient(180deg, #d9dbdd, #8f9296); box-shadow:inset 0 1px 0 #fff; }
.tv82 .z-led { width:calc(var(--u)*6); height:calc(var(--u)*6); border-radius:50%; background:radial-gradient(circle at 35% 35%, #ff9a8a, #d81e10 60%, #6a0700); box-shadow:0 0 calc(var(--u)*6) #ff3b2b; }
.tv82 .z-base { position:relative; display:flex; align-items:center; gap:calc(var(--u)*14); min-height:calc(var(--u)*64); padding:calc(var(--u)*8) calc(var(--u)*20); }
.tv82 .z-rib { flex:1; height:calc(var(--u)*16); background:repeating-linear-gradient(90deg, #050505 0 calc(var(--u)*3), #2a2a2a calc(var(--u)*3) calc(var(--u)*4), #141414 calc(var(--u)*4) calc(var(--u)*7)); }
.tv82 .z-plate { font:700 calc(var(--u)*8)/1 Arial, sans-serif; letter-spacing:.22em; color:#a8a8a8; border:1px solid #555; padding:calc(var(--u)*3) calc(var(--u)*7); background:#101010; white-space:nowrap; }
.tv82 .z-feet { display:flex; justify-content:space-between; padding:0 calc(var(--u)*124) 0 calc(var(--u)*80); }
.tv82 .z-feet i { width:calc(var(--u)*90); height:calc(var(--u)*9); background:linear-gradient(#1a1a1a, #000); }
@media (max-width: 1000px) { .cvz-era-tv:has(.tv82) { grid-template-columns:1fr; } .tv82 { margin:0 auto; } }
.tv82 .play { z-index:4; }
/* cartridge slot on the top deck, with a cartridge standing in it */
.tv82 .z-cart { position:absolute; right:calc(var(--u)*150); top:calc(var(--u)*-86); width:calc(var(--u)*190); height:calc(var(--u)*112); z-index:2; }
.tv82 .z-slot { position:absolute; left:calc(var(--u)*-8); right:calc(var(--u)*-8); bottom:calc(var(--u)*6); height:calc(var(--u)*14); background:#020202;
  clip-path:polygon(0 100%, calc(var(--u)*12) 0, 100% 0, calc(100% - var(--u)*12) 100%); }
.tv82 .z-slot::after { content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:#4a4a4a; }
.tv82 .z-cartridge { position:absolute; left:0; right:0; top:0; bottom:calc(var(--u)*13); background:linear-gradient(90deg, #0d0d0d, #252525 12%, #1a1a1a 60%, #0b0b0b);
  box-shadow:inset 0 1px 0 #555, inset 1px 0 0 #333, inset -1px 0 0 #000; }
.tv82 .z-cartridge::before { content:""; position:absolute; left:calc(var(--u)*8); right:calc(var(--u)*8); top:calc(var(--u)*5); height:calc(var(--u)*12);
  background:repeating-linear-gradient(90deg, #070707 0 calc(var(--u)*3), #303030 calc(var(--u)*3) calc(var(--u)*5)); }
.tv82 .z-label { position:absolute; left:calc(var(--u)*14); right:calc(var(--u)*14); top:calc(var(--u)*24); bottom:calc(var(--u)*6); background:#111; border:1px solid #444;
  display:flex; flex-direction:column; justify-content:center; align-items:center; gap:calc(var(--u)*4); font:700 calc(var(--u)*9)/1 Arial, sans-serif; letter-spacing:.2em; color:#ddd; }
.tv82 .z-label i { display:block; width:80%; height:calc(var(--u)*5); background:linear-gradient(90deg, #e2372c 0 20%, #f0871f 20% 40%, #f4d12b 40% 60%, #57bd3c 60% 80%, #22a5d8 80%); }
.tv82 .z-label em { font-style:normal; font-size:calc(var(--u)*7); color:#9a9a9a; }
/* expansion module interface, cover closed, centered between the controllers like on the console's front */
.tv82 .z-exp { position:absolute; left:calc(var(--u)*480); top:50%; transform:translate(-50%, -50%); display:flex; flex-direction:column; align-items:center;
  gap:calc(var(--u)*9); padding:0 calc(var(--u)*16); background:#0f0f0f; text-align:center; }
.tv82 .z-exp i { position:relative; display:block; width:calc(var(--u)*260); height:calc(var(--u)*30); background:linear-gradient(180deg, #000, #141414);
  box-shadow:inset 0 calc(var(--u)*3) calc(var(--u)*4) #000, 0 1px 0 #3a3a3a; }
.tv82 .z-exp i::before { content:""; position:absolute; inset:calc(var(--u)*2);
  background:linear-gradient(180deg, #2a2a2a, #161616 35%, #0f0f0f), repeating-linear-gradient(90deg, transparent 0 calc(var(--u)*4), rgba(255,255,255,.03) calc(var(--u)*4) calc(var(--u)*5));
  box-shadow:inset 0 1px 0 #4a4a4a, inset 0 -1px 0 #000, 0 1px 2px #000; }
.tv82 .z-exp b { position:absolute; left:50%; bottom:calc(var(--u)*5); transform:translateX(-50%); width:calc(var(--u)*46); height:calc(var(--u)*5); border-radius:calc(var(--u)*3);
  background:linear-gradient(180deg, #000, #2a2a2a); box-shadow:inset 0 1px 1px #000; }
.tv82 .z-exp small { display:block; width:100%; font:700 calc(var(--u)*9)/1 Arial, sans-serif; letter-spacing:.2em; color:#8a8a8a; white-space:nowrap; }
/* Full screen: the band's FULL SCREEN button starts the video and fills the screen with the tube (site.js) */







/* Update 43: tidier list pages (Games and Catalog) */
/* the intro's first sentence stays; the rest opens on request */
.cvz-about { margin-top: 6px; font-size: .92rem; color: var(--cvz-muted); }
.cvz-about summary { cursor: pointer; display: inline-block; font-weight: 600; color: var(--cvz-muted); }
.cvz-about summary:hover { color: var(--cvz-text); }
.cvz-about p { margin: 6px 0 0; max-width: 80ch; }
/* "My Collection" folded into one menu on the lists */
.cvz-collbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.cvz-collbar > a { padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.cvz-collbar > a.join { background: var(--accent); color: var(--accent-ink, #10131a); }
.cvz-collbar > a.signin { border: 1px solid var(--cvz-border); color: var(--cvz-text); }
.cvz-collmenu { position: relative; }
.cvz-collmenu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-weight: 600; font-size: .9rem; }
.cvz-collmenu > summary::-webkit-details-marker { display: none; }
.cvz-collmenu > summary::after { content: "▾"; font-size: .75rem; opacity: .7; }
.cvz-collmenu[open] > summary { border-color: var(--accent); }
.cvz-collmenu > nav { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; min-width: 210px; display: flex; flex-direction: column; padding: 6px;
  border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.cvz-collmenu > nav a { padding: 8px 12px; border-radius: 8px; color: var(--cvz-text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.cvz-collmenu > nav a:hover, .cvz-collmenu > nav a:focus-visible { background: var(--cvz-surface-2); }
.cvz-collmenu > nav .sep { height: 1px; margin: 4px 6px; background: var(--cvz-border); }
/* the keypad now sits right under the search, before the quick filters */
.cvz-games .cvz-filters + .cvz-pad, .cvz-coll .cvz-filters + .cvz-pad { margin-top: 14px; }
/* rarity explained on request, not as a paragraph at the bottom */
details.cvz-legend { margin-top: 18px; }
details.cvz-legend summary { cursor: pointer; font-weight: 600; color: var(--cvz-muted); }
details.cvz-legend p { margin-top: 8px; }
/* one photo request per list */
.cvz-photo-ask { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--cvz-border); color: var(--cvz-muted); }

/* Update 44: Games | Full Catalog switch, shared filter bar, active filters, tidier cards */
.cvz-libswitch { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 14px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); }
.cvz-libswitch a { display: flex; flex-direction: column; padding: 6px 18px; border-radius: 10px; text-decoration: none; color: var(--cvz-muted); line-height: 1.15; }
.cvz-libswitch a b { font-size: 1rem; color: inherit; }
.cvz-libswitch a small { font-size: .72rem; opacity: .8; }
.cvz-libswitch a:hover { color: var(--cvz-text); }
.cvz-libswitch a.on { background: var(--accent); color: var(--accent-ink, #10131a); }
.cvz-gamebar, .cvz-catbar { margin-top: 10px; }

.cvz-fbar { position: relative; margin-top: 14px; }
.cvz-fbar-row { display: flex; gap: 8px; align-items: stretch; }
.cvz-fbar-row > input[type=search] { flex: 1 1 auto; min-width: 0; }
.cvz-fpanel { position: static; }
.cvz-fbtn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 100%; min-height: 40px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-weight: 700; white-space: nowrap; -webkit-user-select: none; user-select: none; }
.cvz-fbtn::-webkit-details-marker { display: none; }
.cvz-fbtn .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink, #10131a); font-size: .75rem; }
.cvz-fpanel[open] > .cvz-fbtn { border-color: var(--accent); }
.cvz-fpanel-body { position: absolute; z-index: 45; left: 0; right: 0; top: calc(100% + 8px); padding: 16px; border-radius: 14px; border: 1px solid var(--cvz-border);
  background: var(--cvz-surface); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.cvz-fpanel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cvz-fclose { border: 0; background: none; color: var(--cvz-muted); font-size: 1.1rem; width: 36px; height: 36px; border-radius: 999px; }
.cvz-fclose:hover { background: var(--cvz-surface-2); color: var(--cvz-text); }
.cvz-fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cvz-fgrid label { display: flex; flex-direction: column; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--cvz-muted); }
.cvz-fsub { display: block; margin-top: 14px; font-size: .8rem; font-weight: 700; color: var(--cvz-muted); }
.cvz-fpanel .cvz-chips { margin-top: 6px; }
.cvz-fnote { margin: 8px 0 0; font-size: .78rem; color: var(--cvz-muted); }
.cvz-fpanel-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 14px; }
@media (max-width: 640px) {
  /* phones: the filters open as a sheet from the bottom of the screen */
  .cvz-fpanel[open]::before { content: ""; position: fixed; inset: 0; z-index: 1040; background: rgba(0,0,0,.55); }
  .cvz-fpanel-body { position: fixed; z-index: 1050; left: 0; right: 0; top: auto; bottom: 0; max-height: 85vh; overflow: auto; border-radius: 18px 18px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .cvz-fgrid { grid-template-columns: 1fr; }
  .cvz-fbar-row > .btn { padding-left: 14px !important; padding-right: 14px !important; }
  .cvz-fbtn { padding: 0 12px; }
}
.cvz-active { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cvz-active a { padding: 4px 10px; border-radius: 999px; background: #f5b400; color: #111; font-weight: 700; font-size: .82rem; text-decoration: none; }
.cvz-active a span { margin-left: 4px; }
.cvz-active a.clear { background: none; color: var(--cvz-muted); text-decoration: underline; }
.cvz-games .cvz-fbar + .cvz-pad, .cvz-coll .cvz-fbar ~ .cvz-pad, .cvz-active + .cvz-pad { margin-top: 14px; }
.cvz-coll-listbar .cvz-tools { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cvz-coll-card .variant { font-size: .75rem; color: var(--cvz-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the progress panel on one compact row */
.cvz-games .cvz-progress { padding: 10px 16px; margin-top: 14px; gap: 8px 18px; }
.cvz-games .cvz-prog-head { margin-bottom: 4px; }
.cvz-games .cvz-prog-head .pct { font-size: 1.4rem; }
.cvz-games .cvz-prog-bar { height: 10px; }
.cvz-games .cvz-prog-legend { margin-top: 4px; }
.cvz-games .cvz-progress .cvz-collmsg:empty { display: none; }
.cvz-games .cvz-prog-btn { padding: 8px 14px; }
@media print { .cvz-fbar, .cvz-active, .cvz-libswitch { display: none !important; } }
.cvz-era-full { display: inline-flex; align-items: center; gap: 6px; }
/* Full screen: the whole ZoneVision TV, centred on a dark room, with the video playing in it (Update 44) */
.tv82-stage { position: relative; }
.tv82-exit { display: none; }
.tv82-stage:fullscreen, .tv82-stage.pseudo-full { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 40%, #2b2723 0%, #121110 60%, #070707 100%); }
.tv82-stage:-webkit-full-screen { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 40%, #2b2723 0%, #121110 60%, #070707 100%); }
.tv82-stage.pseudo-full { position: fixed; inset: 0; z-index: 3000; }
.tv82-stage:fullscreen .tv82, .tv82-stage.pseudo-full .tv82 { width: min(94vw, calc(90vh * var(--tvr, 1.35))); max-width: none; margin: 0; }
.tv82-stage:-webkit-full-screen .tv82 { width: min(94vw, calc(90vh * var(--tvr, 1.35))); max-width: none; margin: 0; }
.tv82-stage:fullscreen .tv82-exit, .tv82-stage.pseudo-full .tv82-exit { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.5); color: #fff; font-size: 1.1rem; }
.cvz-noscroll, .cvz-noscroll body { overflow: hidden; }

/* Update 45: search as you type on the lists */
.cvz-fbar-row { position: relative; }
.cvz-livelist { position: absolute; z-index: 44; left: 0; right: 0; top: calc(100% + 6px); max-height: 70vh; overflow: auto; padding: 6px; border-radius: 14px;
  border: 1px solid var(--cvz-border); background: var(--cvz-surface); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.cvz-livelist a { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; color: var(--cvz-text); text-decoration: none; }
.cvz-livelist a:hover, .cvz-livelist a.sel { background: var(--cvz-surface-2); }
.cvz-livelist img, .cvz-livelist .ph { flex: 0 0 auto; width: 40px; height: 52px; object-fit: contain; border-radius: 4px; background: var(--cvz-surface-2); }
.cvz-livelist strong { display: block; font-size: .95rem; }
.cvz-livelist small { display: block; color: var(--cvz-muted); font-size: .78rem; }
.cvz-livelist .all { display: block; width: 100%; margin-top: 4px; padding: 10px; border: 0; border-radius: 10px; background: none; color: var(--accent-text); font-weight: 700; text-align: left; }
.cvz-livelist .all:hover { background: var(--cvz-surface-2); }
.cvz-livelist .empty { padding: 10px; color: var(--cvz-muted); font-size: .9rem; }

/* Games | Collector's Catalog: two description cards (Update 46) */
.cvz-libswitch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 760px; padding: 0; background: none; border: 0; border-radius: 0; }
.cvz-libswitch a { flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--cvz-border);
  background: var(--cvz-surface-2); color: var(--cvz-text); line-height: 1.3; transition: border-color .15s, background .15s; }
.cvz-libswitch a:hover { border-color: var(--accent); color: var(--cvz-text); }
.cvz-libswitch a svg { flex: 0 0 auto; width: 30px; height: 30px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.cvz-libswitch a span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cvz-libswitch a b { font-size: 1.02rem; }
.cvz-libswitch a small { font-size: .82rem; opacity: 1; color: var(--cvz-muted); }
.cvz-libswitch a.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink, #10131a); }
.cvz-libswitch a.on small { color: inherit; opacity: .8; }
@media (max-width: 575.98px) {
  .cvz-libswitch { gap: 8px; }
  .cvz-libswitch a { padding: 10px; gap: 8px; }
  .cvz-libswitch a svg { width: 22px; height: 22px; }
  .cvz-libswitch a b { font-size: .92rem; }
  .cvz-libswitch a small { font-size: .74rem; }
}
@media (max-width: 575.98px) {
  /* phones: the cards keep just their icon and name, and the search box gets its own full-width row */
  .cvz-libswitch a { align-items: center; }
  .cvz-libswitch a small { display: none; }
  .cvz-fbar-row { flex-wrap: wrap; }
  .cvz-fbar-row > input[type=search] { flex: 1 1 100%; }
  .cvz-fbar-row > .cvz-fpanel, .cvz-fbar-row > .btn { flex: 1 1 0; }
  .cvz-fbar-row > .cvz-fpanel > .cvz-fbtn { width: 100%; justify-content: center; }
}
/* the controller's cord runs up behind the search bar, not over its buttons */
.cvz-fbar { z-index: 5; }
.cvz-active { position: relative; z-index: 5; }

/* Phones (Update 47): the upright controller is a little smaller in portrait (keys stay about 36 px, easy to tap),
   and phones held sideways get the sideways controller, which fits their short screen. */
@media (max-width: 767.98px) and (orientation: portrait) {
    .cvz-pad { max-width: 230px; margin-top: 52px; }
}
/* the A–Z controller on NIAD's list (Update 47) */
.cvz-niad .cvz-niad-pad { width: min(93.6%, 760px); margin-top: 14px; margin-bottom: 10px; }
@media (max-width: 767.98px) and (orientation: portrait) { .cvz-niad .cvz-niad-pad { width: 100%; max-width: 230px; margin: 52px auto 10px; } }

/* Games | Collector's Catalog cards, refined (Update 48): full width, icon tile, one-line text, a "you're here" tag
   and the ColecoVision rainbow along the top of the card you're on */
.cvz-libswitch { max-width: none; gap: 12px; }
.cvz-libswitch a { position: relative; overflow: hidden; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); transition: transform .15s, border-color .15s, box-shadow .15s; }
.cvz-libswitch a:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.28); border-color: var(--accent); }
.cvz-libswitch a .ic { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); }
.cvz-libswitch a .ic svg { width: 26px; height: 26px; margin: 0; opacity: 1; stroke-width: 1.8; }
.cvz-libswitch a .txt { flex: 1 1 auto; gap: 2px; }
.cvz-libswitch a b { font-size: 1.08rem; letter-spacing: .01em; }
.cvz-libswitch a small { font-size: .84rem; line-height: 1.35; }
.cvz-libswitch a .go { flex: 0 0 auto; align-self: center; font-size: .75rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--cvz-border); color: var(--cvz-muted); }
.cvz-libswitch a.on { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, var(--cvz-surface-2)), var(--cvz-surface-2));
  border-color: var(--accent); color: var(--cvz-text); }
.cvz-libswitch a.on::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #e2372c 0 20%, #f0871f 20% 40%, #f4d12b 40% 60%, #57bd3c 60% 80%, #22a5d8 80%); }
.cvz-libswitch a.on small { color: var(--cvz-muted); opacity: 1; }
.cvz-libswitch a.on .ic { background: var(--accent); color: var(--accent-ink, #10131a); }
.cvz-libswitch a.on .go { border-color: var(--accent); color: var(--accent-text); }
.cvz-libswitch a.on:hover { transform: none; box-shadow: none; }
@media (max-width: 991.98px) { .cvz-libswitch a .go { display: none; } }
@media (max-width: 575.98px) {
  .cvz-libswitch a { padding: 10px; gap: 10px; border-radius: 14px; }
  .cvz-libswitch a .ic { width: 36px; height: 36px; border-radius: 10px; }
  .cvz-libswitch a .ic svg { width: 21px; height: 21px; }
}

/* NIAD's list (Update 49): its controller's cord runs to the edge of the list box and springs like on Games and
   Catalog: the same long cord measured by site.js, and the box hides what is outside it while the controller slides in */
.cvz-niad .cvz-pad::before { width: calc(8% + 18px); }
@media (min-width: 768px) {
    .cvz-niad .cvz-pad::before { width: var(--cord-w, calc(8% + 18px)); background-image: url("/images/controller/cvz-cord-long-side-top.webp"); }
    .cvz-niad:has(.cvz-pad) { overflow: clip; overflow-clip-margin: 0px; }
}
@media (max-width: 767.98px) and (orientation: portrait) { .cvz-niad .cvz-pad::before { width: 100.16%; } }

/* Games | Collector's Catalog cards (Update 50): no rainbow stripe and no outlined pill. The card you're on is "switched on":
   it powers up with a soft glow and a lit LED beside "You're here"; the other card sits switched off with a dark LED */
.cvz-libswitch a.on::before { content: none; }
.cvz-libswitch a .go { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 0; background: none; }
.cvz-libswitch a .go::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #5a5f68, #23262c 70%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.5); transition: background .2s, box-shadow .2s; }
.cvz-libswitch a:not(.on) { filter: saturate(.75); }
.cvz-libswitch a:not(.on) .ic { opacity: .75; transition: opacity .15s; }
.cvz-libswitch a:not(.on):hover { filter: none; }
.cvz-libswitch a:not(.on):hover .ic { opacity: 1; }
.cvz-libswitch a:not(.on):hover .go::before { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 60%, #fff), color-mix(in srgb, var(--accent) 45%, #000) 70%); }
.cvz-libswitch a.on { border-color: color-mix(in srgb, var(--accent) 85%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 38%, transparent),
              inset 0 0 26px color-mix(in srgb, var(--accent) 16%, transparent);
  animation: cvzSwitchOn .9s ease-out both; }
.cvz-libswitch a.on:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 38%, transparent),
              inset 0 0 26px color-mix(in srgb, var(--accent) 16%, transparent); }
.cvz-libswitch a.on .ic { box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent); }
.cvz-libswitch a.on .go { color: var(--accent-text); text-shadow: 0 0 8px color-mix(in srgb, var(--accent) 55%, transparent); }
.cvz-libswitch a.on .go::before { background: radial-gradient(circle at 35% 30%, #fff8d8, var(--accent) 55%, color-mix(in srgb, var(--accent) 60%, #000));
  box-shadow: 0 0 6px var(--accent), 0 0 12px color-mix(in srgb, var(--accent) 60%, transparent); }
@keyframes cvzSwitchOn {
  0%   { box-shadow: none; border-color: var(--cvz-border); filter: brightness(.85); }
  18%  { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 50%, transparent); filter: brightness(1.15); }
  30%  { box-shadow: none; filter: brightness(.9); }
  45%  { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 38%, transparent); filter: brightness(1.05); }
  100% { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .cvz-libswitch a.on { animation: none; } }

/* (Update 50) no hard outline: a 1px line on a rounded card looks stair-stepped, so edges are soft light instead */
.cvz-libswitch a, .cvz-libswitch a:hover, .cvz-libswitch a.on { border: 0; padding: 15px 17px; }
.cvz-libswitch a:not(.on) { box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 1px 3px rgba(0,0,0,.35); }
.cvz-libswitch a:not(.on):hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 14px color-mix(in srgb, var(--accent) 22%, transparent), 0 8px 18px rgba(0,0,0,.28); }
.cvz-libswitch a.on, .cvz-libswitch a.on:hover {
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 4px color-mix(in srgb, var(--accent) 45%, transparent),
              inset 0 0 22px color-mix(in srgb, var(--accent) 18%, transparent), inset 0 1px 0 color-mix(in srgb, var(--accent) 35%, transparent); }
@keyframes cvzSwitchOn {
  0%   { box-shadow: none; filter: brightness(.85); }
  18%  { box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 50%, transparent); filter: brightness(1.15); }
  30%  { box-shadow: none; filter: brightness(.9); }
  100% { filter: none; }
}
@media (max-width: 575.98px) { .cvz-libswitch a, .cvz-libswitch a:hover, .cvz-libswitch a.on { padding: 11px; } }
.cvz-libswitch a .go { flex-direction: row; gap: 8px; }

/* Update 51: line the text up with the picture beside it.
   Welcome: the box photo sits centred against the welcome text instead of hanging at the top.
   ZoneVision TV: the story lines up with the TV's screen (site.js sets the gap from the screen's position) */
@media (min-width: 992px) {
  .cvz-welcome { align-items: center; }
  .cvz-welcome-pic { position: static; }
}
.cvz-era-tv:has(.tv82) > .story.tv-aligned { align-self: start; }

/* Admin page switcher (Update 52): one labelled row per group, roomy pill buttons instead of one cramped run */
.cvz-admin-tabs.cvz-admin-nav, .cvz-adminmedia .cvz-admin-tabs.cvz-admin-nav { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); }
.cvz-admin-nav .an-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 12px; }
.cvz-admin-nav .an-home { display: flex; padding-bottom: 10px; border-bottom: 1px solid var(--cvz-border); }
.cvz-admin-nav .an-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cvz-muted); }
.cvz-admin-nav .an-btns { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.cvz-admin-nav .an-btn { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; color: var(--cvz-text); background: color-mix(in srgb, var(--cvz-text) 6%, transparent); transition: background .15s, color .15s; }
.cvz-admin-nav .an-btn:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--cvz-text); }
.cvz-admin-nav .an-btn.on { background: var(--accent); color: var(--accent-ink, #10131a); font-weight: 700; }
.cvz-admin-nav .an-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 575.98px) {
  .cvz-admin-nav .an-row { grid-template-columns: 1fr; gap: 6px; }
  .cvz-admin-nav .an-btn { padding: 6px 12px; font-size: .84rem; }
}
/* (Update 52) keep the "You're here / Open" tag hidden on narrow screens, as before Update 50 — it overlapped the titles on phones */
@media (max-width: 991.98px) { .cvz-libswitch a .go { display: none; } }

/* Update 52 — fixes from the AI test run */
/* Phone filter sheet: lift the whole filter bar above the bottom tab bar while the sheet is open, so "Show games" can be tapped */
@media (max-width: 640px) {
  .cvz-fbar:has(.cvz-fpanel[open]) { z-index: 1060; }
  .cvz-fpanel-body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.cvz-rar-lbl { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cvz-rar-lbl small { color: var(--cvz-muted); font-size: .8rem; }

/* Home stats: six cards (with "games to play in your browser") in tidy rows: 6 across, 3+3 on tablets, 2+2+2 on phones */
.cvz-stats { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1099.98px) { .cvz-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px)  { .cvz-stats { grid-template-columns: repeat(2, 1fr); } }

/* Light mode: the Games gold is darker so white button text and small gold text are easy to read (about 5:1) */
[data-bs-theme="light"] [data-section="Games"], [data-bs-theme="light"][data-section="Games"] { --accent: #8a6500; --accent-ink: #fff; }
/* green "Buy new / Pre-order" chips: dark text on the green reads clearly in both themes */
.cvz-buychip { color: #06210b; }

/* Phones: only the compact list toolbar stays pinned while scrolling (it took a third of the screen) */
@media (max-width: 640px) {
  .cvz-games > .cvz-typebar { position: static; }
}

/* Keyboard focus is visible on the phone/tablet Menu's section buttons too */
.cvz-offcanvas .accordion-button:focus-visible, .offcanvas .accordion-button:focus-visible { outline: 3px solid var(--r3); outline-offset: -3px; box-shadow: none; }
[data-bs-theme="light"] .cvz-offcanvas .accordion-button:focus-visible, [data-bs-theme="light"] .offcanvas .accordion-button:focus-visible { outline-color: #1d4f99; }   /* (Update 186) yellow on the light menu was 1.6:1 */
@media (max-width: 640px) { .cvz-games > .cvz-typebar.stuck { background: none; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* History timeline rows without a picture: a faint globe instead of an empty grey box that looked like a failed image */
.cvz-era-item .nopic { background: transparent; border: 1px dashed var(--cvz-border); position: relative; }
.cvz-era-item .nopic::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; opacity: .45; background: var(--cvz-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.2 3 14.8 0 18M12 3c-3 3.2-3 14.8 0 18'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3.2 3 14.8 0 18M12 3c-3 3.2-3 14.8 0 18'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Update 53: homebrew cards on the home page get more room around the title and maker */
.cvz-vidcard .meta { display: block; padding: 14px 16px 16px; }   /* a <span>: without display:block its padding never reached the lines inside */
.cvz-vidcard .meta small { margin-top: 2px; }

/* Update 53: the ZoneVision TV's feet stand out from the cabinet (they disappeared into the black base, especially in dark mode):
   a little taller, satin grey-black with a lit top edge, rounded at the floor, and a soft shadow under each */
.tv82 .z-feet i { height: calc(var(--u)*16); border-radius: 0 0 calc(var(--u)*5) calc(var(--u)*5);
  background: linear-gradient(180deg, #4a4a4a 0, #2b2b2b calc(var(--u)*3), #1b1b1b 55%, #0e0e0e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset calc(var(--u)*2) 0 0 rgba(255,255,255,.06), 0 calc(var(--u)*4) calc(var(--u)*8) rgba(0,0,0,.45); }
[data-bs-theme="dark"] .tv82 .z-feet i { background: linear-gradient(180deg, #5c5c5c 0, #3a3a3a calc(var(--u)*3), #262626 55%, #161616);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 calc(var(--u)*4) calc(var(--u)*10) rgba(0,0,0,.7); }
/* dark mode: a faint silver rim so the feet read against the dark page as well as the black cabinet */
[data-bs-theme="dark"] .tv82 .z-feet i { box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 0 0 1px rgba(255,255,255,.14), 0 calc(var(--u)*4) calc(var(--u)*10) rgba(0,0,0,.7); }

/* Update 56: the start-up COLECOVISION always stays on one line (on phones it wrapped): sized to the screen width */
.cvz-boot-logo { white-space: nowrap; font-size: clamp(1rem, calc((100vw - 40px) / 12.5), 5rem); }
/* Update 59: the Rock and music category on The World During ColecoVision */
/* (Update 186) each of the 8 categories has its own colour: Music was a second red next to President Reagan, and Tech a
   second amber next to Coleco's yellow */
.cvz-era-tag.c-music { border-color: #84cc16; }
.cvz-era-tag.c-tech { border-color: #f97316; }

/* Update 60: NIAD's controller sits and sizes exactly like the Games list's (centred, up to 620px; upright on phones) */
.cvz-niad .cvz-niad-pad { width: min(93.6%, 900px); max-width: 620px; margin: 14px auto 10px; }
@media (max-width: 767.98px) and (orientation: portrait) { .cvz-niad .cvz-niad-pad { width: 100%; max-width: 230px; margin: 52px auto 10px; } }
/* (Update 60) the cord: the same length rule as the Games list's at every width */
.cvz-niad .cvz-pad::before { width: calc(8% + clamp(18px, 3vw, 28px)); }
@media (min-width: 768px) { .cvz-niad .cvz-pad::before { width: var(--cord-w, calc(8% + clamp(18px, 3vw, 28px))); } }
@media (max-width: 767.98px) and (orientation: portrait) { .cvz-niad .cvz-pad::before { width: 100.16%; } }

/* Update 69: "+ Have it" / "☆ Want it" under every game tile, like the Catalog cards and NIAD's list */
.cvz-gacts { display: flex; gap: 6px; margin-top: 6px; }
.cvz-gacts .btn { flex: 1; padding: 3px 6px; font-size: .78rem; white-space: nowrap; }
.cvz-gacts .btn-have[aria-pressed="true"], .cvz-gacts .btn-have.owned { background: color-mix(in srgb, #3bb54a 30%, var(--cvz-surface-2)); }
.cvz-gtile .cvz-ownset .cvz-wishbtn { display: none; }   /* the star now sits under the tile as "Want it" */
@media (max-width: 575.98px) { .cvz-gacts { flex-direction: column; gap: 4px; } }
/* Update 69: Games | NIAD Collector List | Collector's Catalog */
.cvz-libswitch.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvz-niad-libswitch { max-width: 1320px; margin: 18px auto 0; padding: 0 16px; }
.cvz-niad-libswitch .cvz-libswitch { margin-top: 0; }
@media (max-width: 767.98px) { .cvz-libswitch.three a .go { display: none; } }
/* Update 70: when the three cards are squeezed (narrow windows, or inside NIAD's top panel) they show just their names;
   the lit card still marks where you are */
.cvz-libswitch.three { container-type: inline-size; }
@container (max-width: 980px) { .cvz-libswitch.three a small, .cvz-libswitch.three a .go { display: none; } }

/* Update 73: phones. The three cards stack their icon above a short name (Games / NIAD List / Catalog) in a smaller font */
.cvz-libswitch .short { display: none; }
@container (max-width: 560px) {
  .cvz-libswitch.three a { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 10px 6px; }
  .cvz-libswitch.three a .ic { width: 36px; height: 36px; border-radius: 10px; }
  .cvz-libswitch.three a .ic svg { width: 20px; height: 20px; }
  .cvz-libswitch.three a .txt { align-items: center; }
  .cvz-libswitch.three a b { font-size: .86rem; line-height: 1.15; white-space: nowrap; }
  .cvz-libswitch.three .full { display: none; }
  .cvz-libswitch.three .short { display: inline; }
}
/* Update 73: phones. The game-kind and catalog-section rows use a smaller font so more of each fits before it scrolls sideways */
@media (max-width: 575.98px) {
  .cvz-typebar .cvz-seg a, .cvz-typebar .cvz-seg button { font-size: .78rem; padding: 5px 10px; min-height: 34px; }
}
/* Update 73: phones held upright. The Games and Catalog A–Z controller is the same small upright size as NIAD's
   (".cvz-games .cvz-pad { max-width: 620px }" was beating the phone size) */
@media (max-width: 767.98px) and (orientation: portrait) {
  .cvz-games .cvz-pad, .cvz-coll .cvz-pad { width: 100%; max-width: 230px; margin-top: 52px; margin-left: auto; margin-right: auto; }
}

/* Update 73: L / B / N. The buttons light up in the colour of their kind of copy, the same colours as the collection bar
   (New in box gold, Complete in box green, Loose blue), and the bar's legend shows the letters */
.cvz-prog-legend .sw.key { width: 18px; height: 18px; border-radius: 5px; font: 800 .68rem/18px system-ui, sans-serif; text-align: center; color: #10131a; font-style: normal; vertical-align: -4px; }
.cvz-cond[data-cond="nib"].owned { background: rgba(224, 164, 18, .2); border-color: #e0a412; }
.cvz-cond[data-cond="cib"].owned { background: rgba(46, 154, 72, .2); border-color: #2e9a48; }
.cvz-cond[data-cond="loose"].owned { background: rgba(45, 111, 192, .22); border-color: #2d6fc0; }
.cvz-cond[data-cond="nib"].owned::before { background-color: #e0a412; border-color: #e0a412; }
.cvz-cond[data-cond="loose"].owned::before { background-color: #2d6fc0; border-color: #2d6fc0; }
.cvz-gtile .cvz-cond[data-cond="nib"].owned { background: #e0a412; border-color: #e0a412; color: #10131a; }
.cvz-gtile .cvz-cond[data-cond="cib"].owned { background: #2e9a48; border-color: #2e9a48; color: #fff; }
.cvz-gtile .cvz-cond[data-cond="loose"].owned { background: #2d6fc0; border-color: #2d6fc0; color: #fff; }
/* Update 73: every A–Z controller (Games, Hardware, Memorabilia, Library, ADAM, Catalog, NIAD) is the small upright size on
   phones held upright, whatever page-specific size rule comes earlier */
@media (max-width: 767.98px) and (orientation: portrait) {
  .cvz-wrap .cvz-pad, .cvz-niad .cvz-pad { width: 100% !important; max-width: 230px !important; margin-left: auto !important; margin-right: auto !important; }
}
/* Update 73: tabbed sections (e.g. Box Variations) no longer grow wider than a phone screen because of a wide table inside */
.cvz-tabpanels { min-width: 0; max-width: 100%; }
/* Update 73: catalog and literature covers (e.g. ColecoVision Catalogs) show the whole cover instead of a cropped top,
   and phones get two covers side by side instead of one huge one */
.cvz-litcards img { object-fit: contain; object-position: center; }
@media (max-width: 575.98px) {
  .cvz-litcards, .cvz-litcards.cvz-litcards-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cvz-litcards > a, .cvz-litcards > div { padding: 8px; }
}

/* Update 73: NIAD rarity key above the list */
.cvz-niad-rarekey { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 8px 0 4px; font-size: .85rem; color: var(--cvz-muted); }
.cvz-niad-rarekey .lbl { font-weight: 700; color: var(--cvz-text); margin-right: 2px; }
.cvz-niad-rarekey .rb { margin: 0; }
.cvz-niad-rarekey .ends { flex-basis: 100%; font-size: .8rem; }
.cvz-niad .cvz-niad-legend { margin: 6px 0 14px; }
@media print { .cvz-niad-rarekey { display: none !important; } }

/* Update 73: the shared rarity key (Views/Shared/_RarityKey.cshtml) */
.cvz-rarkey { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: .82rem; color: var(--cvz-muted); }
.cvz-rarkey .k { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cvz-rarkey .cvz-rar { min-width: 0; padding: 4px 6px; }
.cvz-niad-rarekey .cvz-rarkey { flex-basis: 100%; }
.cvz-gbox .cvz-rar { padding: 5px 6px; }

/* Update 73: NIAD codes explained: a key above the list, labelled groups on each entry, tap a code for its meaning */
.cvz-niad-codes { margin: 10px 0 4px; padding: 10px 12px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface-2); font-size: .82rem; color: var(--cvz-muted); display: grid; gap: 6px; }
.cvz-niad-codes .lbl { font-weight: 700; color: var(--cvz-text); }
.cvz-niad-codes .c { white-space: nowrap; margin-right: 8px; display: inline-block; }
.cvz-niad-codes abbr { text-decoration: none; font-weight: 700; font-size: .76rem; padding: 0 4px; border-radius: 3px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); margin-right: 3px; }
.cvz-niad-codes abbr.d { border-style: dashed; background: none; color: var(--cvz-muted); }
.cvz-niad-t td.parts .grp { font-size: .7rem; color: var(--cvz-muted); margin-right: 2px; white-space: nowrap; }
.cvz-niad-t td.parts abbr { cursor: pointer; }
.cvz-niad-abbrtip { position: absolute; z-index: 1000; max-width: 280px; padding: 6px 10px; border-radius: 8px; background: #10131a; color: #fff; font-size: .82rem; box-shadow: 0 6px 18px rgba(0,0,0,.4); border: 1px solid var(--cvz-border); }
@media print { .cvz-niad-codes { display: none !important; } .cvz-niad-t td.parts .grp { display: none; } }

/* ===== Update 74: one rarity pill everywhere (Games, NIAD's list, the Catalog, game pages, keys) ===== */
.cvz-rpills { display: inline-flex; flex-wrap: wrap; gap: 4px; vertical-align: middle; }
.cvz-rp { display: inline-flex; align-items: center; white-space: nowrap; font: 800 .72rem/1 system-ui, -apple-system, sans-serif; padding: 4px 8px; border-radius: 999px; color: #10131a; background: #9aa3b2; }
.cvz-rp.r1, .cvz-rp.r2 { background: #4fbf67; }
.cvz-rp.r3, .cvz-rp.r4 { background: #9ccc4a; }
.cvz-rp.r5, .cvz-rp.r6 { background: #f2c230; }
.cvz-rp.r7, .cvz-rp.r8 { background: #f28c28; }
.cvz-rp.r9, .cvz-rp.r10 { background: linear-gradient(135deg, #ffe680, #d4a20f 60%, #fff3b0); box-shadow: 0 0 8px rgba(246, 198, 27, .4); }
.cvz-gbox .cvz-rp.onpic { position: absolute; left: 8px; bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.cvz-rarkey .cvz-rp { padding: 3px 7px; }
@media print { .cvz-rp { background: none !important; border: .5pt solid #000; color: #000; box-shadow: none; } }

/* Update 74: the Have it chooser (site.js): Loose · CIB · NIB */
.cvz-havemenu { position: absolute; z-index: 1060; width: 270px; padding: 10px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.cvz-havemenu .t { font-weight: 700; font-size: .9rem; margin: 0 2px 8px; color: var(--cvz-text); }
.cvz-havemenu .opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cvz-havemenu .opts button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; min-height: 58px; border-radius: 10px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); cursor: pointer; }
.cvz-havemenu .opts button::before { display: none !important; }
.cvz-havemenu .opts b { font-size: .95rem; }
.cvz-havemenu .opts small { font-size: .66rem; color: var(--cvz-muted); line-height: 1.15; text-align: center; }
.cvz-havemenu .opts button.owned small { color: inherit; opacity: .85; }
.cvz-havemenu .opts [data-cond="loose"].owned, .cvz-havemenu .opts .cvz-hm-add[data-completeness="Loose"].owned { background: #2d6fc0; border-color: #2d6fc0; color: #fff; }
.cvz-havemenu .opts [data-cond="cib"].owned, .cvz-havemenu .opts .cvz-hm-add[data-completeness="CompleteInBox"].owned { background: #2e9a48; border-color: #2e9a48; color: #fff; }
.cvz-havemenu .opts [data-cond="nib"].owned, .cvz-havemenu .opts .cvz-hm-add[data-completeness="Sealed"].owned { background: #e0a412; border-color: #e0a412; color: #10131a; }
.cvz-havemenu .foot { margin: 8px 2px 0; font-size: .74rem; color: var(--cvz-muted); }
.cvz-havemenu .foot a { color: var(--accent-text); }
.btn-have.owned { background: color-mix(in srgb, #3bb54a 34%, var(--cvz-surface-2)); }
.cvz-gacts.in-row { display: inline-flex; gap: 6px; margin: 0; }
.cvz-gacts.in-row .btn { flex: none; }
/* (Update 186) the in-row pair stays side by side on phones too (the list tiles' phone rule stacked it into a column), and
   in the game page header it is the same size as the btn-sm buttons beside it */
.cvz-gacts.in-row { flex-direction: row; }
.cvz-ghero .cvz-gacts.in-row .btn { padding: .25rem .5rem; font-size: .875rem; }
/* ===== Update 74: NIAD's list Grid view (cards like the Games list); Table stays one line each ===== */
.cvz-ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; font-size: .9rem; }
.cvz-ngrid-head { grid-column: 1 / -1; }
.cvz-ngrid-head .sec { padding: 18px 2px 8px; border-bottom: 2px solid #f5b400; }
.cvz-ngrid-head .sec-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.cvz-ngrid-head h3 { margin: 0; font-size: 1.12rem; }
.cvz-ngrid-head .n { font-size: .82rem; color: var(--cvz-muted); }
.cvz-ngrid-head .src { font-size: .74rem; font-weight: 600; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--cvz-border); text-decoration: none; color: var(--cvz-muted); }
.cvz-ngrid-head .dev { padding: 10px 10px 6px; border-radius: 10px; background: var(--cvz-surface-2); font-size: .88rem; }
.cvz-ngrid-head .dev span { font-weight: 400; font-size: .8rem; margin-left: 8px; } .cvz-ngrid-head .dev .dn { font-size: .78rem; color: var(--cvz-muted); margin-top: 2px; }
.cvz-ncard { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); overflow: hidden; }
.cvz-ncard.owned { border-color: #3bb54a; }
.cvz-ncard .pic { position: relative; aspect-ratio: 4 / 5; background: #0d0f13; }
.cvz-ncard .pic a, .cvz-ncard .pic img { display: block; width: 100%; height: 100%; }
.cvz-ncard .pic img { object-fit: contain; }
.cvz-ncard .pic img.art { opacity: .8; filter: saturate(.7); }
.cvz-ncard .pic .cvz-niad-artbadge { position: absolute; left: 8px; bottom: 8px; }
.cvz-ncard .nopic { width: 100% !important; height: 100% !important; border: 0 !important; border-radius: 0 !important; font-size: .8rem !important; padding: 10px; }
.cvz-ncard .body { display: flex; flex-direction: column; gap: 4px; padding: 10px; flex: 1; }
.cvz-ncard .t { font-weight: 700; line-height: 1.25; } .cvz-ncard .t a { color: var(--cvz-text); text-decoration: none; }
.cvz-ncard.owned .t a, .cvz-ncard.owned .t { color: #3bb54a; }
.cvz-ncard .v, .cvz-ncard .meta, .cvz-ncard .in { font-size: .8rem; color: var(--cvz-muted); }
.cvz-ncard .codes abbr { text-decoration: none; font-weight: 700; font-size: .74rem; padding: 0 3px; border-radius: 3px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); cursor: pointer; }
.cvz-ncard .codes .ctl abbr { background: none; border-style: dashed; color: var(--cvz-muted); }
.cvz-ncard .codes .grp { font-size: .68rem; color: var(--cvz-muted); margin-right: 2px; }
.cvz-ncard .mine { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cvz-ncard .mine .cvz-niad-tick { display: none; }
.cvz-ncard .mine .btn { flex: 1; padding: 3px 6px; font-size: .78rem; }
.cvz-ncard .mine.ref { font-size: .8rem; color: var(--cvz-muted); }
@media (max-width: 575.98px) { .cvz-ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cvz-ncard .mine { flex-direction: column; align-items: stretch; } }
@media print { .cvz-ngrid { display: block; } .cvz-ncard { break-inside: avoid; margin-bottom: 6pt; } .cvz-ncard .pic { display: none; } }

/* Update 74: the rarity key above every list (Games, NIAD's list, the Catalog) */
.cvz-listkey { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 8px 0 6px; font-size: .82rem; color: var(--cvz-muted); flex-basis: 100%; }
.cvz-listkey .lbl, .cvz-niad-rarekey .lbl { font-weight: 700; color: var(--cvz-text); }
@media print { .cvz-listkey { display: none !important; } }

/* Update 74: the "Games & Collecting" menu tab stays on one line */
.cvz-nav > a { white-space: nowrap; }
/* Update 75: spacing in the list cards and rows: rarity pills, codes and notes get room to breathe */
.cvz-ncard .body { gap: 6px; padding: 12px; }
.cvz-ncard .rar, .cvz-niad-t td.rar { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.cvz-niad-t td.rar .cvz-rp { margin: 0; }
.cvz-ncard .codes { display: grid; gap: 5px; }
.cvz-ncard .codes .pa, .cvz-ncard .codes .ctl, .cvz-niad-t td.parts .pa, .cvz-niad-t td.parts .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cvz-ncard .codes .grp, .cvz-niad-t td.parts .grp { flex-basis: 100%; margin: 0; letter-spacing: .02em; }
.cvz-ncard .codes abbr, .cvz-niad-t td.parts abbr { min-width: 22px; text-align: center; padding: 1px 5px; line-height: 1.4; }
.cvz-ncard .cvz-niad-noteref { align-self: flex-start; margin: 0; padding: 0; text-align: left; }
.cvz-ncard .meta { line-height: 1.35; }
.cvz-ncard .mine { gap: 8px; padding-top: 10px; }
.cvz-rpills { gap: 5px; }
.cvz-gtile .cvz-gacts { margin-top: 8px; gap: 8px; }
@media print { .cvz-niad-fbar, .cvz-niad-typebar, .cvz-niad-codes { display: none !important; } }
/* Update 75: a pressed button in a segmented control (Grid/Table, Show) lights up like the selected link ones */
.cvz-seg button[aria-pressed="true"] { background: var(--cvz-surface); color: var(--cvz-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .25), inset 0 -2px 0 var(--accent); }
/* Update 75: Catalog card buttons stay on one line ("+ Have it" was wrapping), with room between them */
.cvz-coll-card .acts { gap: 8px; padding-top: 10px; }
.cvz-coll-card .acts > .btn, .cvz-coll-card .acts > form { flex: 1 1 0; min-width: 0; }
.cvz-coll-card .acts .btn { white-space: nowrap; padding: 4px 6px; font-size: .8rem; }
/* (Update 186) at 4- and 5-column widths '☆ Want it' was squeezed below its text and ran into its right edge: a button
   is never narrower than its text, and the pair wraps onto two rows when they don't fit side by side */
.cvz-coll-card .acts { flex-wrap: wrap; }
.cvz-coll-card .acts > .btn, .cvz-coll-card .acts > form { min-width: max-content; }
.cvz-coll-card .rarity { margin-top: 4px; }
/* the sticky tools row on the Catalog has the same backing as on the Games list once it sticks */
.cvz-coll > .cvz-typebar { position: sticky; top: var(--stick, 64px); z-index: 20; margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; border: 1px solid transparent; }
.cvz-coll > .cvz-typebar.stuck { background: color-mix(in srgb, var(--cvz-bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: var(--cvz-border); }
@media (max-width: 640px) { .cvz-coll > .cvz-typebar { position: static; } }

/* Update 77: CSV / Print on every list; printed lists are a plain one-line-per-entry checklist */
.cvz-list-extra { display: inline-flex; gap: 6px; }
@media print {
  .cvz-games .cvz-panel, .cvz-coll .cvz-panel, .cvz-pad, .cvz-typebar, .cvz-listkey, .cvz-active, .cvz-fbar, .cvz-gacts, .cvz-playpill, .cvz-buypill,
  .cvz-games [data-view="grid"], .cvz-coll .cvz-coll-grid, .cvz-photo-ask, .cvz-legend, .cvz-pager, nav.pagination, .cvz-samebar { display: none !important; }
  .cvz-games [data-view="table"] { display: block !important; }
  .cvz-games table, .cvz-coll table { font-size: 8pt; color: #000; }
  .cvz-games table td, .cvz-coll table td, .cvz-games table th, .cvz-coll table th { color: #000 !important; background: #fff !important; padding: 2pt 4pt; border-bottom: .5pt solid #999; }
  .cvz-games table tr, .cvz-coll table tr { break-inside: avoid; }
  .cvz-games table img, .cvz-coll table img { display: none; }
  .cvz-games table a, .cvz-coll table a { color: #000 !important; text-decoration: none; }
}
@media print { .cvz-games table .btn, .cvz-coll table .btn, .cvz-games table .cvz-gacts, .cvz-coll table form { display: none !important; } }
/* Update 77: NIAD's Grid uses the Catalog card (.cvz-coll-card); its extra parts: codes, notes and reference entries */
.cvz-ngrid .cvz-coll-card .codes { display: grid; gap: 5px; margin-top: 2px; }
.cvz-ngrid .cvz-coll-card .codes .pa, .cvz-ngrid .cvz-coll-card .codes .ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.cvz-ngrid .cvz-coll-card .codes .grp { flex-basis: 100%; font-size: .68rem; color: var(--cvz-muted); }
.cvz-ngrid .cvz-coll-card .codes abbr { text-decoration: none; font-weight: 700; font-size: .72rem; min-width: 22px; text-align: center; padding: 1px 5px; line-height: 1.4; border-radius: 3px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); cursor: pointer; }
.cvz-ngrid .cvz-coll-card .codes .ctl abbr { background: none; border-style: dashed; color: var(--cvz-muted); }
.cvz-ngrid .cvz-coll-card .cvz-niad-noteref { align-self: flex-start; margin: 0; }
.cvz-ngrid .cvz-coll-card .cvz-niad-tick, .cvz-ngrid .cvz-coll-card .have-n { display: none; }
.cvz-ngrid .cvz-coll-card .acts.ref { font-size: .8rem; color: var(--cvz-muted); align-items: center; }
.cvz-ngrid .cvz-coll-card .pic .cvz-niad-artbadge { position: absolute; left: 8px; bottom: 8px; z-index: 1; }
.cvz-ngrid .cvz-coll-card .pic img.art { opacity: .8; filter: saturate(.7); }
.cvz-ngrid .cvz-coll-card.owned .title { color: #3bb54a; }
@media print { .cvz-ngrid { display: block; } .cvz-ngrid .cvz-coll-card { break-inside: avoid; margin-bottom: 6pt; } .cvz-ngrid .cvz-coll-card .pic { display: none; } }
/* Update 77: the game page header's blurred backdrop no longer shows past its rounded corners (Safari) */
.cvz-ghero { clip-path: inset(0 round 22px); isolation: isolate; }
/* Update 77: "Back to the list" on game and item pages */
.cvz-backtolist { display: inline-flex; align-items: center; gap: 6px; margin: 18px 0 -6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-weight: 600; font-size: .88rem; text-decoration: none; }
.cvz-backtolist:hover { border-color: var(--accent); color: var(--cvz-text); }
/* Update 79: game page header. The blurred box-art glow was painting over the panel's own border (the faint coloured
   line round the edge); the border is now drawn on top of everything instead */
.cvz-ghero { border-color: transparent; }
.cvz-ghero::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid var(--cvz-border); z-index: 2; pointer-events: none; }
.cvz-backtolist { box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.cvz-backtolist .arr { color: var(--accent-text); font-weight: 800; }
/* Update 80: the back button's ring is drawn with an inset shadow instead of a 1px border, so the rounded ends stay
   smooth when the colour changes on hover (a hairline border on a pill shape looked jagged on some screens) */
.cvz-backtolist { border: 0; padding: 7px 15px; box-shadow: inset 0 0 0 1px var(--cvz-border), 0 1px 3px rgba(0,0,0,.25); transition: box-shadow .15s ease, background-color .15s ease; }
.cvz-backtolist:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 1px 3px rgba(0,0,0,.25); }

/* Update 80: the version you opened from a list (NIAD's list, the Catalog) is picked out in "Versions to collect" */
.cvz-vrow.cvz-vpick { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(246, 166, 35, .35); }
/* Update 80: previous / next / "All …" pill links get the same smooth ring as the back button (inset shadow instead of a
   1px border, which looked jagged on the rounded ends when it turned gold on hover) */
.cvz-pager a { border: 0; padding: 9px 15px; box-shadow: inset 0 0 0 1px var(--cvz-border); transition: box-shadow .15s ease; }
.cvz-pager a:hover { box-shadow: inset 0 0 0 2px var(--accent); }

/* Update 81: "Per page" chooser beside CSV / Print on the Catalog lists */
.cvz-per { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-size: .82rem; color: var(--cvz-muted, #9aa3b2); white-space: nowrap; }
.cvz-per select { background: var(--cvz-surface-2); color: var(--cvz-text); border: 1px solid var(--cvz-border); border-radius: 8px; padding: 3px 6px; font-size: .82rem; }
/* (Update 194) the touch-screen 16px rule above lost to this one, so iPhone and iPad Safari zoomed in when it was tapped */
@media (pointer: coarse) { .cvz-per select { font-size: 16px; } }

/* Update 82: wide tables that scroll sideways (e.g. the Clones "Side by side" table): room for the scrollbar, so it no
   longer sits on top of the note under the table */
.table-responsive { padding-bottom: 14px; }
.table-responsive > table { margin-bottom: 0; }
.table-responsive + p, .table-responsive + .small { margin-top: 10px; }

/* Update 98: a fourth card, Play Games, beside Games | NIAD Collector List | Collector's Catalog */
.cvz-libswitch.three.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (max-width: 1180px) { .cvz-libswitch.three.four a small, .cvz-libswitch.three.four a .go { display: none; } }
@container (max-width: 560px) { .cvz-libswitch.three.four { gap: 6px; } .cvz-libswitch.three.four a { padding: 9px 4px; } }

/* Update 101: the "About …" section under the Games, Play, NIAD and Catalog lists, folded under one button (closed until clicked) */
.cvz-aboutfold { max-width: 1320px; margin: 28px auto 8px; padding: 0 16px; }
.cvz-aboutfold > summary { list-style: none; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto;
  padding: 10px 18px 10px 12px; border-radius: 999px; cursor: pointer; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border);
  color: var(--cvz-text); transition: border-color .15s, box-shadow .15s; }
.cvz-aboutfold > summary::-webkit-details-marker { display: none; }
.cvz-aboutfold > summary:hover, .cvz-aboutfold > summary:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); outline: none; }
.cvz-aboutfold > summary .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--accent-ink, #10131a); font: 700 .95rem/1 Georgia, serif; font-style: italic; }
.cvz-aboutfold > summary .t { font-weight: 700; }
.cvz-aboutfold > summary .hint { font-size: .82rem; color: var(--cvz-muted, #9aa3b2); }
.cvz-aboutfold > summary .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; margin-left: 2px; }
.cvz-aboutfold[open] > summary .chev { transform: rotate(-135deg) translateY(-2px); }
.cvz-aboutfold[open] > summary { margin-bottom: 8px; }
.cvz-aboutfold-body { animation: cvz-aboutfold-in .25s ease-out; }
@keyframes cvz-aboutfold-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cvz-aboutfold-body { animation: none; } .cvz-aboutfold > summary .chev { transition: none; } }
@media (max-width: 575.98px) { .cvz-aboutfold > summary .hint { display: none; } }
/* (Update 194b) two About buttons in a row (the Catalog: "About the catalog" and "About the games list") are the same width and
   sit close together, so they line up instead of being two centered pills of different lengths */
.cvz-aboutpair .cvz-aboutfold > summary { width: min(100%, 470px); }
.cvz-aboutpair .cvz-aboutfold > summary .chev { margin-left: auto; }
.cvz-aboutpair .cvz-aboutfold + h2 + .cvz-aboutfold, .cvz-aboutpair .cvz-aboutfold + .cvz-aboutfold { margin-top: 10px; }
@media print { .cvz-aboutfold:not([open]) { display: none; } .cvz-aboutfold > summary { display: none; } }

/* Update 105: the footer picture's width is set on Admin › Footer */
.cvz-footer-brand svg { width: var(--brand-w, 64px); }
.cvz-footer-brand .cvz-footer-pic { width: var(--brand-w, 64px); max-width: 100%; height: auto; max-height: 160px; object-fit: contain; flex: none; }

/* Update 108: phones held upright. The A–Z controller's cord hangs above the controller; on Play and Library the
   controller sat only 14px under the search row, so the cord was drawn over the "All kinds" / sort dropdowns.
   Every A–Z controller now leaves room for its cord, and the row above it always stays on top. */
@media (max-width: 767.98px) and (orientation: portrait) {
  .cvz-pad, .cvz-games .cvz-filters + .cvz-pad, .cvz-coll .cvz-filters + .cvz-pad, .cvz-games .cvz-fbar + .cvz-pad,
  .cvz-coll .cvz-fbar ~ .cvz-pad, .cvz-active + .cvz-pad { margin-top: 56px !important; }
  :has(+ .cvz-pad) { position: relative; z-index: 2; }
}

/* Update 108: light mode readability. Bright yellow and section-coloured small text was too faint on white
   (as low as 1.7:1); in light mode these keep their colour but in a darker shade. Dark mode is unchanged. */
[data-bs-theme="light"] .cvz-manual em, [data-bs-theme="light"] .cvz-versions em, [data-bs-theme="light"] .cvz-clone-track { color: #8a6300; }
/* (Update 186) the same dark gold in light mode for the prototypes' "Became: …" captions and the "Large file" badge
   (the bright gold was 1.7:1 on the light card) */
[data-bs-theme="light"] .cvz-proto .final figcaption, [data-bs-theme="light"] .cvz-doc-warn { color: #8a6300; }
[data-bs-theme="light"] .cvz-doc-warn { border-color: color-mix(in srgb, #8a6300 55%, transparent); }
[data-bs-theme="light"] .cvz-kicker, [data-bs-theme="light"] .cvz-hist-yrs { color: color-mix(in srgb, var(--accent, #e63946) 62%, #000); }
[data-bs-theme="light"] .cvz-chip.cvz-chip-both { color: #0b6a94; }

/* Update 109: Contributors. The new "1980s developers" filter, and a card linked from elsewhere
   (e.g. /recognition#c-ikrananka from an About section) is outlined so it's easy to spot. */
#lgf-dev80:checked ~ .cvz-legend-grid > div:not([data-k=dev80]) { display: none; }
.cvz-legend-card { scroll-margin-top: 90px; }
.cvz-legend-card:target { outline: 3px solid var(--accent, #f5b400); outline-offset: 2px; }

/* Update 110: pictures cut out of their photo background (listed in /opt/cutouts.json; site.js adds .cvz-cut) stand on a
   1980s neon-grid backdrop. The backdrop is its own layer (this background), so it can be changed here without
   touching the pictures. */
img.cvz-cut { background: #12042a url("/images/backdrop-neon.webp") center 62% / cover no-repeat !important; padding: var(--cut-pad, 3px) !important; box-sizing: border-box; object-fit: contain; }
/* (Update 211) --cut-pad is set by site.js from the picture's own size (6%, 4% in the big viewer): a % padding here counted
   from the surrounding area and hid small pictures completely */
@media print { img.cvz-cut { background: none !important; padding: 0 !important; } }

/* Update 111: the Catalog's views (Everything | ColecoVision | ADAM | NIAD's List), above the kind tabs */
.cvz-cattabs { margin-top: 14px; }
.cvz-cattabs .on { background: var(--accent); color: var(--accent-ink, #10131a); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }

/* (Update 112) rarity pills sit just above Have it / Want it on every card, so they line up across a row */
.cvz-coll-card .body > .rarity { margin-top: auto; padding-top: 6px; }
.cvz-coll-card .body > .rarity + .acts { margin-top: 0; }
/* (Update 113, design preview) the one-database Collector List: /catalog/preview */
.cvz-pv-banner { margin: 0 0 12px; padding: 8px 14px; border-radius: 10px; border: 1px dashed var(--accent, #f5b400); background: var(--cvz-surface-2); font-size: .9rem; }
.cvz-pv-plat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.cvz-pv-plat a { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; }
.cvz-pv-plat a b { font-family: inherit; font-size: 1.15rem; }
.cvz-pv-plat a span { font-size: .85rem; color: var(--cvz-muted); }
.cvz-pv-plat a.on { background: var(--accent, #f5b400); border-color: var(--accent, #f5b400); color: var(--accent-ink, #10131a); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.cvz-pv-plat a.on span { color: inherit; opacity: .8; }
.cvz-pv-secs, .cvz-pv-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cvz-pv-secs a, .cvz-pv-subs a, .cvz-pv-seg a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; cursor: pointer; }
.cvz-pv-secs a span, .cvz-pv-subs a span, .cvz-pv-seg a span { font-weight: 500; opacity: .65; margin-left: 2px; font-size: .8em; }
.cvz-pv-secs a.on, .cvz-pv-subs a.on, .cvz-pv-seg a.on { background: var(--accent, #f5b400); border-color: var(--accent, #f5b400); color: var(--accent-ink, #10131a); }
.cvz-pv-subs { padding-top: 10px; border-top: 1px dashed var(--cvz-border); }
.cvz-pv-subs a { font-size: .82rem; padding: 4px 10px; }
.cvz-pv-subs .lbl, .cvz-pv-seg .lbl { align-self: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cvz-muted); margin-right: 4px; }
.cvz-pv-toggles { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 10px; }
.cvz-pv-seg { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.cvz-pv-seg a { font-size: .82rem; padding: 4px 10px; }
/* (Update 186) the wide filter panel is for larger screens only: on phones it is a full-width sheet from the bottom (this
   rule made it 92vw wide and pinned to the left there, with a gap on the right) */
@media (min-width: 641px) { .cvz-pv-fbody { width: min(760px, 92vw); } }
.cvz-pv-fgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; max-height: 60vh; overflow: auto; padding: 2px; }
.cvz-pv-fgroups fieldset { border: 1px solid var(--cvz-border); border-radius: 12px; padding: 8px 12px 12px; min-width: 0; }
.cvz-pv-fgroups legend { float: none; width: auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cvz-muted); padding: 0 6px; margin: 0; }
.cvz-pv-fgroups .cvz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-pv-fgroups .cvz-chips a { font-size: .8rem; padding: 4px 10px; cursor: pointer; }
.cvz-pv-range { display: flex; flex-wrap: wrap; gap: 8px; }
.cvz-pv-range label { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.cvz-pv-range select { width: auto; }
.cvz-pv-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 14px; }
.cvz-pv-sort { display: flex; align-items: center; gap: 6px; font-size: .85rem; }
.cvz-pv-sort select { width: auto; }
.cvz-pv-count { font-size: .9rem; color: var(--cvz-muted); }
@media (max-width: 575.98px) {
  .cvz-pv-fgroups { grid-template-columns: 1fr; max-height: none; }
  .cvz-pv-secs, .cvz-pv-subs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .cvz-pv-tools .ms-auto { margin-left: 0 !important; }
}
/* (Update 113) copy as text / copy link on every catalog card, and the credits and export row of the Collector List */
.cvz-card-name { margin-top: 0; }
.cvz-card-name .title { flex: 1 1 auto; min-width: 0; }
/* (Update 186) on phones a long title word ran out of its column and under the copy buttons: let it break */
.cvz-gtile .name { overflow-wrap: anywhere; }
/* on a catalog card the copy buttons move under the title when the two don't fit side by side (narrow phone cards) */
.cvz-card-name { flex-wrap: wrap; }
.cvz-card-name .title { flex: 1 1 5em; overflow-wrap: anywhere; }
.cvz-copies { display: inline-flex; flex: none; gap: 0; }
.cvz-pv-credit summary { color: var(--accent-text); }
.cvz-pv-credit-body { margin-top: 8px; padding: 12px 16px; border-left: 3px solid var(--accent, #f5b400); background: var(--cvz-surface-2); border-radius: 0 10px 10px 0; color: var(--cvz-text); }
.cvz-pv-credit-body p { margin: 0 0 8px; max-width: 90ch; }
.cvz-pv-credit-body p:last-child { margin-bottom: 0; }
.cvz-pv-export { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cvz-pv-export .lbl { font-size: .82rem; color: var(--cvz-muted); }
@media (max-width: 575.98px) { .cvz-pv-export { margin-left: 0 !important; } }
/* (Update 114) Collector List: page size and pages */
.cvz-pv-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 18px 0 6px; }
.cvz-pv-pager a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); text-decoration: none; font-weight: 600; }
.cvz-pv-pager span { color: var(--cvz-muted); }
/* (Update 194) First / Last and nearby page numbers */
.cvz-pv-pager { flex-wrap: wrap; gap: 8px 10px; }
.cvz-pv-pager a.cvz-pv-pnum, .cvz-pv-pager b.cvz-pv-pnum { min-width: 2.4em; padding: 6px 10px; text-align: center; }
/* (Update 194b) the page numbers are true circles with a smooth ring: a 1px border on a rounded shape drew jagged edges on some
   screens (the same fix as the back and pill buttons, Update 80), and min-width + padding made 2-digit numbers ovals */
.cvz-pv-pager a, .cvz-pv-pager b.cvz-pv-pnum { border: 0; box-shadow: inset 0 0 0 1px var(--cvz-border); }
.cvz-pv-pager a:hover { box-shadow: inset 0 0 0 2px var(--accent, currentColor); }
.cvz-pv-pager a.cvz-pv-pnum, .cvz-pv-pager b.cvz-pv-pnum { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    width: 2.5em; height: 2.5em; min-width: 2.5em; padding: 0; border-radius: 50%; line-height: 1; font-variant-numeric: tabular-nums; background: var(--cvz-surface-2); }
.cvz-pv-pager b.cvz-pv-pnum { box-shadow: inset 0 0 0 2px var(--accent, var(--cvz-text)); color: var(--cvz-text); }
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) { .cvz-pv-pager a, .cvz-pv-pager b.cvz-pv-pnum { will-change: transform; } }
/* (Update 114) the Collector List's filter chips (checkboxes and radios that look like chips), hints and "narrowed by" row */
.cvz-pv-chks { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-pv-chks label { position: relative; cursor: pointer; }
.cvz-pv-chks input { position: absolute; opacity: 0; pointer-events: none; }
.cvz-pv-chks span { display: inline-block; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-size: .8rem; font-weight: 600; }
.cvz-pv-chks input:checked + span { background: var(--accent, #f5b400); border-color: var(--accent, #f5b400); color: var(--accent-ink, #10131a); }
.cvz-pv-chks input:focus-visible + span { outline: 2px solid var(--accent, #f5b400); outline-offset: 2px; }
.cvz-pv-hint { margin: 6px 0 0; font-size: .78rem; color: var(--cvz-muted); }
.cvz-pv-pub { max-width: 16em; }
.cvz-pv-active { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cvz-pv-active a { padding: 3px 10px; border-radius: 999px; background: var(--cvz-surface-2); border: 1px solid var(--accent, #f5b400); color: var(--cvz-text); text-decoration: none; font-size: .8rem; font-weight: 600; }
.cvz-pv-active a.clear { border-color: var(--cvz-border); color: var(--cvz-muted); }
.cvz-pv-group { margin-bottom: 18px; }
.cvz-pv .cvz-libswitch, .cvz-pv nav.cvz-lib { margin-top: 14px; }
/* (Update 114) an open Filters panel may reach below the top panel: don't clip it there */
@media (min-width: 768px) { .cvz-panel:has(.cvz-pad):has(.cvz-fpanel[open]) { overflow: visible; } }
/* (Update 114) the Collector List's acknowledgements, opened from a button */
.cvz-pv-credit { margin-top: 12px; }
.cvz-pv-credit-btn { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent, #f5b400); background: var(--cvz-surface-2); color: var(--cvz-text); font-weight: 700; font-size: .92rem; }
.cvz-pv-credit-btn::-webkit-details-marker { display: none; }
.cvz-pv-credit-btn::after { content: "▾"; color: var(--accent-text); transition: transform .15s; }
.cvz-pv-credit[open] > .cvz-pv-credit-btn::after { transform: rotate(180deg); }
.cvz-pv-credit-btn:hover, .cvz-pv-credit[open] > .cvz-pv-credit-btn { background: var(--accent, #f5b400); color: var(--accent-ink, #10131a); }
.cvz-pv-credit[open] > .cvz-pv-credit-btn::after { color: inherit; }
.cvz-pv-credit-h { font-size: 1.05rem; margin: 14px 0 6px; }
/* (Update 114) three lists to choose from, the chosen one says "You are here" */
.cvz-pv-plat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvz-pv-plat a { position: relative; }
.cvz-pv-plat .here { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: 2px 8px; border-radius: 999px; background: var(--accent-ink, #10131a); color: var(--accent-text); }
@media (max-width: 767.98px) { .cvz-pv-plat { grid-template-columns: 1fr; gap: 6px; } .cvz-pv-plat a { flex-direction: row; align-items: baseline; gap: 8px; padding: 10px 14px; } }
.cvz-pv-plat .here { position: static; align-self: flex-start; margin-top: 6px; }
@media (max-width: 767.98px) { .cvz-pv-plat a { flex-wrap: wrap; } .cvz-pv-plat .here { margin: 0 0 0 auto; align-self: center; } }
/* (Update 115) the A–Z controller's side buttons and the fly-by characters (site.js) */
.cvz-pad-side { position: absolute; z-index: 3; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 6px; -webkit-tap-highlight-color: transparent; }
.cvz-pad-side::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: background .15s, box-shadow .15s; }
.cvz-pad-side:hover::after, .cvz-pad-side:focus-visible::after { background: rgba(255, 215, 80, .22); box-shadow: 0 0 10px rgba(255, 200, 40, .45); }
.cvz-pad-side:focus-visible { outline: 2px solid var(--accent, #f5b400); outline-offset: 2px; }
.cvz-pad-side.press::after { animation: cvz-side-press .25s ease-out; }
@keyframes cvz-side-press { 0% { background: rgba(255, 215, 80, .55); transform: scale(.94); } 100% { background: transparent; transform: none; } }
.cvz-pad-side-a { left: 24.8%; top: 0.5%; width: 10.4%; height: 9%; }
.cvz-pad-side-b { left: 24.2%; top: 86.5%; width: 11%; height: 8.8%; }
@media (max-width: 767.98px) and (orientation: portrait) {
    .cvz-pad-side-a { left: 1.7%; top: 23.3%; width: 8.9%; height: 11%; }
    .cvz-pad-side-b { left: 87.7%; top: 24%; width: 8.8%; height: 10.4%; }
}
/* (Update 164) no drop-shadow filter: it was redrawn on every frame of the animated picture, which made the run stutter */
.cvz-flyby { position: fixed; z-index: 2000; pointer-events: none; image-rendering: pixelated; will-change: transform; backface-visibility: hidden; }
.cvz-fly-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 16px; align-items: end; max-width: 900px; }
.cvz-fly-list { display: grid; gap: 10px; max-width: 900px; }
.cvz-fly-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface-2); }
.cvz-fly-row.off { opacity: .6; }
.cvz-fly-row .pic { width: 110px; display: grid; place-items: center; }
.cvz-fly-row .pic img { max-width: 110px; image-rendering: pixelated; }
.cvz-fly-row .fields { flex: 1 1 260px; display: grid; gap: 6px; }
.cvz-fly-row .acts { display: flex; gap: 6px; flex-wrap: wrap; }
/* (Update 116) The ColecoVision Courier: a photo with no story text to wrap round it spans the lead column; video stills lose their black bars */
.cvz-era-paper .np-photo.np-photo-wide { float: none; width: 100%; margin: 6px 0 10px; }
.cvz-era-paper .np-photo.np-still a { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--ink); }
.cvz-era-paper .np-photo.np-still img { height: 100%; object-fit: cover; border: 0; }
/* (Update 117) game pages matching a search, above the Collector List's results */
.cvz-pv-gamehits { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--cvz-border); border-radius: 12px; background: var(--cvz-surface-2); font-size: .88rem; }
.cvz-pv-gamehits a { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); text-decoration: none; font-weight: 600; }
.cvz-pv-gamehits a:hover { border-color: var(--accent, #f5b400); }
/* (Update 117) the controller's knob steers the fly-by characters (site.js) */
.cvz-pad-knob { position: absolute; z-index: 3; left: 5.6%; top: 29.6%; width: 15.4%; height: 36.2%; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.cvz-pad-knob:active { cursor: grabbing; }
.cvz-pad-knob i { position: absolute; inset: 18%; border-radius: 50%; transition: transform .08s, box-shadow .15s; pointer-events: none; }
.cvz-pad-knob:hover i, .cvz-pad-knob:focus-visible i, .cvz-pad-knob.on i { box-shadow: 0 0 0 3px rgba(255, 210, 70, .55), 0 0 18px rgba(255, 200, 40, .45); }
.cvz-pad-knob:focus-visible { outline: none; }
@media (max-width: 767.98px) and (orientation: portrait) { .cvz-pad-knob { left: 29.2%; top: 4.1%; width: 40%; height: 17%; } }
.cvz-flyby { left: 0; top: 0; }
/* (Update 117) the acknowledgements button: smoother text on Macs and a drawn arrow instead of a text one */
.cvz-pv-credit-btn { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-weight: 600; letter-spacing: .005em; }
.cvz-pv-credit-btn::after { content: ""; width: 10px; height: 10px; flex: none; background: currentColor; transform: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.cvz-pv-credit-btn { color: var(--accent-text); }
.cvz-pv-credit-btn:hover, .cvz-pv-credit[open] > .cvz-pv-credit-btn { color: var(--accent-ink, #10131a); }
.cvz-pv-credit[open] > .cvz-pv-credit-btn::after { transform: rotate(180deg); }
/* (Update 117) the three list cards: an icon, the count, a line on what's in it, a rainbow edge like the console's stripe */
.cvz-pv-plat { gap: 12px; }
.cvz-pv-plat a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px 14px 18px; overflow: hidden; isolation: isolate;
    background: linear-gradient(135deg, var(--cvz-surface-2), var(--cvz-surface)); transition: transform .15s, border-color .15s, box-shadow .15s; }
.cvz-pv-plat a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(180deg, #e8352b 0 20%, #f39222 20% 40%, #f7cd1c 40% 60%, #3aac4a 60% 80%, #2c7fd3 80%); opacity: .85; }
.cvz-pv-plat a:hover { transform: translateY(-2px); border-color: var(--accent, #f5b400); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cvz-pv-plat .ico { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--cvz-border); }
.cvz-pv-plat .ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cvz-pv-plat .ico svg .f { fill: currentColor; stroke: none; }
.cvz-pv-plat .ico svg .s { fill: rgba(80,170,255,.25); }
.cvz-pv-plat .txt { display: flex; flex-direction: column; min-width: 0; }
.cvz-pv-plat .txt b { font-size: 1.15rem; line-height: 1.2; }
.cvz-pv-plat .txt .n { font-size: .9rem; font-weight: 700; color: var(--accent-text); }
.cvz-pv-plat .txt small { font-size: .78rem; color: var(--cvz-muted); line-height: 1.3; }
.cvz-pv-plat a.on { background: linear-gradient(135deg, #ffd23f, #f5b400 60%, #e09b00); border-color: #f5b400; color: #14161c; box-shadow: 0 6px 22px rgba(245,180,0,.35); }
.cvz-pv-plat a.on .ico { background: rgba(0,0,0,.12); border-color: rgba(0,0,0,.18); }
.cvz-pv-plat a.on .txt .n { color: #14161c; }
.cvz-pv-plat a.on .txt small { color: rgba(20,22,28,.75); }
.cvz-pv-plat .here { position: absolute; top: 10px; right: 12px; margin: 0; }
.cvz-pv-plat a.on .txt { padding-right: 0; }
@media (max-width: 1100px) { .cvz-pv-plat .here { position: static; align-self: flex-start; margin-left: auto; } }
@media (max-width: 767.98px) {
  .cvz-pv-plat a { padding: 10px 12px 10px 14px; gap: 10px; flex-wrap: nowrap; }
  .cvz-pv-plat .ico { width: 42px; height: 42px; border-radius: 11px; }
  .cvz-pv-plat .ico svg { width: 30px; height: 30px; }
  .cvz-pv-plat .txt small { display: none; }
  .cvz-pv-plat .here { position: static; margin: 0 0 0 auto; align-self: center; }
}
[data-bs-theme="light"] .cvz-pv-plat .ico { background: rgba(0,0,0,.04); }
.cvz-pv-plat a:not(.on) { color: var(--cvz-text); }
.cvz-pv-plat a:not(.on) .ico { color: var(--accent-text); }
.cvz-pv-plat a .txt, .cvz-pv-plat a .ico { color: inherit; font-size: inherit; }
.cvz-pv-plat a:not(.on) .ico { color: var(--accent-text); }

/* (Update 118) four cards: ColecoVision, ADAM, both together, and Play Games */
.cvz-pv-plat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cvz-pv-plat a.cvz-plat-play .ico { color: #3aac4a; }
.cvz-pv-plat a.cvz-plat-play .txt .n { color: #3aac4a; }
@media (max-width: 1200px) { .cvz-pv-plat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .cvz-pv-plat { grid-template-columns: 1fr; } }
.cvz-pv-plat .txt .here { position: static; align-self: flex-start; margin: 6px 0 0; }
/* (Update 118) the acknowledgements button as a solid gold pill (crisp on every screen: no thin outline, dark text on gold) */
.cvz-pv-credit-btn { border: 0; background: var(--accent, #f5b400); color: #14161c !important; font-size: .95rem; font-weight: 700; padding: 9px 18px;
    box-shadow: 0 2px 8px rgba(245, 180, 0, .25); -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }
.cvz-pv-credit-btn:hover, .cvz-pv-credit[open] > .cvz-pv-credit-btn { background: #ffcc33; color: #14161c !important; box-shadow: 0 3px 12px rgba(245, 180, 0, .4); }
/* "Show from my collection" */
.cvz-pv-minelbl { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 700; color: var(--cvz-text); }
.cvz-pv-minehint { font-size: .78rem; color: var(--cvz-muted); margin-left: 4px; }
.cvz-pv-seg .lbl.cvz-pv-minelbl { text-transform: none; letter-spacing: 0; font-size: .85rem; font-weight: 700; color: var(--cvz-text); }
.cvz-pv-seg .cvz-pv-minehint a { padding: 0; border: 0; background: none; color: var(--bs-link-color, #6ea8fe); text-decoration: underline; font-weight: 600; }
.cvz-pv-credit-btn::after { background: #14161c !important; display: inline-block; }
/* (Update 119) "One per game": the versions badge on a card, and the toggle */
.cvz-vers { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; padding: 5px 9px; border-radius: 10px; border: 1px dashed var(--accent, #f5b400); background: rgba(245, 180, 0, .08); color: var(--cvz-text); text-decoration: none; font-size: .78rem; }
.cvz-vers b { color: var(--accent-text); }
.cvz-vers span { color: var(--cvz-muted); }
.cvz-vers em { font-style: normal; margin-left: auto; font-weight: 700; }
.cvz-vers:hover { background: rgba(245, 180, 0, .16); }
.cvz-vers-sm { margin-left: 8px; font-size: .75rem; padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--accent, #f5b400); text-decoration: none; color: var(--accent-text); white-space: nowrap; }
.cvz-pv-versions a.on { box-shadow: 0 0 0 2px rgba(245, 180, 0, .35); }
/* (Update 119) the "My collection" filter: a sign-in invitation for visitors, counted buttons for members */
.cvz-pv-minebox { flex-basis: 100%; font-size: .85rem; color: var(--cvz-muted); padding: 8px 12px; border: 1px dashed var(--cvz-border); border-radius: 10px; }
.cvz-pv-minebox b { color: var(--cvz-text); }
.cvz-pv-mine a span { margin-left: 4px; }
.cvz-noentry { display: block; margin-top: auto; font-size: .75rem; color: var(--cvz-muted); font-style: italic; }

/* (Update 119) phone fixes: item pictures, the back button, the TV video */
.cvz-coll-item .thumbs a { display: block; border-radius: 12px; }
.cvz-coll-item .thumbs a.on img { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.cvz-coll-item .gallery .main[data-item-main] { cursor: zoom-in; }
.cvz-pager a.prev-all:only-child { max-width: 100%; white-space: normal; text-overflow: clip; line-height: 1.25; }
/* (Update 186) library detail and series pages: the back and "All issues of …" pills wrap their words instead of being cut
   off mid-word on phones (an ellipsis can't show on the bare text of a flex link) */
.cvz-library .cvz-pager { flex-wrap: wrap; }
.cvz-library .cvz-pager a { max-width: 100%; white-space: normal; line-height: 1.25; }
.cvz-library .cvz-pager a.ms-3 { margin-left: 0 !important; }
.cvz-backtolist { max-width: 100%; white-space: normal; line-height: 1.25; }
.tv82 .screen iframe { width: 1px; min-width: 100%; height: 1px; min-height: 100%; }

/* (Update 120) Catalog: My Collection card, the Collectors line, the "only mine" switch */
.cvz-pv-plat .cvz-plat-mine { border-color: #3bb54a; }
.cvz-pv-plat .cvz-plat-mine .ico svg { stroke: #3bb54a; }
.cvz-pv-plat .cvz-plat-mine .ico svg .f { fill: #3bb54a; }
.cvz-pv-collectors { margin: 6px 0 0; font-size: .85rem; color: var(--cvz-muted); }
.cvz-pv-onlymine { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; min-height: 40px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); font-weight: 600; font-size: .88rem; text-decoration: none; }
.cvz-pv-onlymine:hover { border-color: #3bb54a; color: var(--cvz-text); }
.cvz-pv-onlymine .sw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--cvz-surface-2); border: 1px solid var(--cvz-border); flex: 0 0 auto; }
.cvz-pv-onlymine .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--cvz-muted); transition: left .15s; }
.cvz-pv-onlymine.on { border-color: #3bb54a; background: rgba(59,181,74,.12); }
.cvz-pv-onlymine.on .sw { background: #3bb54a; border-color: #3bb54a; }
.cvz-pv-onlymine.on .sw::after { left: 16px; background: #fff; }
.cvz-pv-onlymine .n { font-weight: 800; color: #3bb54a; }
/* (Update 186) the collection's 'owned' green (#3bb54a) used as TEXT was 2.7:1 on the light theme's white: a darker green
   there (5.6:1 or better, also on the green-tinted owned rows); the dark theme keeps the bright one */
[data-bs-theme="light"] :is(.cvz-pv-onlymine .n, .cvz-coll-stats .up b, .cvz-coll-table tr.done td, .cvz-coll-table .have-count, .cvz-coll-rank .up,
  .cvz-niad-t tr.owned td.item .t a, .cvz-niad-t tr.owned td.item .t, .cvz-niad-t td.mine .have-n, .cvz-cl tr.have td.tick, .cvz-vrow .have,
  .cvz-ncard.owned .t a, .cvz-ncard.owned .t, .cvz-ngrid .cvz-coll-card.owned .title, .cvz-bulkbar .now.ok, .cvz-bulkbar .picked .pk i) { color: #1a6b2c; }
[data-bs-theme="light"] .cvz-chip-ok { color: #1a6b2c !important; }
.cvz-coll-card .have-badge .n { font-weight: 800; }
.cvz-tabbar { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }   /* (Update 120) 4 or 5 tabs (members get Collection) */

/* (Update 121) collection manager: duplicates, parts, bulk add, compare, report */
.cvz-dupbtn { margin-left: 8px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); font-size: .78rem; font-weight: 700; }
.cvz-dupbtn:hover { border-color: var(--accent); }
tr.cvz-dup td { background: color-mix(in srgb, var(--cvz-surface-2) 60%, transparent); }
tr.cvz-dup td:nth-child(2) { padding-left: 28px; }
.cvz-parts { display: grid; gap: 8px; }
.cvz-part { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 10px; margin: 0; }
.cvz-part .nm { font-weight: 700; }
.cvz-part-ov { margin-top: 2px; }
.cvz-parts-sum { margin-top: 10px; }
@media (max-width: 480px) { .cvz-part { grid-template-columns: 1fr; gap: 4px; } }
.cvz-bulkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; min-height: 40px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); font-weight: 700; font-size: .88rem; }
.cvz-bulkbtn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--accent-ink, #10131a); }
body.cvz-selecting article.cvz-coll-card { cursor: pointer; position: relative; }
body.cvz-selecting article.cvz-coll-card::after { content: ""; position: absolute; top: 10px; left: 10px; z-index: 3; width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--cvz-border); background: var(--cvz-surface); box-shadow: 0 1px 4px rgba(0,0,0,.35); }
body.cvz-selecting article.cvz-coll-card.cvz-sel { outline: 3px solid #3bb54a; outline-offset: -1px; }
body.cvz-selecting article.cvz-coll-card.cvz-sel::after { content: "✓"; display: grid; place-items: center; background: #3bb54a; border-color: #3bb54a; color: #fff; font-weight: 900; }
body.cvz-selecting article.cvz-coll-card.cvz-nosel { opacity: .45; cursor: not-allowed; }
body.cvz-selecting article.cvz-coll-card.cvz-nosel::after { display: none; }
.cvz-bulkbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--tabbar-h, 0px) + env(safe-area-inset-bottom)); z-index: 1050; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: calc(100vw - 24px); padding: 10px 14px; border-radius: 16px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.cvz-bulkbar .n { font-weight: 800; margin-right: 6px; }
.cvz-bulkbar .lbl { color: var(--cvz-muted); font-size: .85rem; }
@media (min-width: 900px) { .cvz-bulkbar { bottom: 20px; } }
.cvz-report-form { display: grid; gap: 12px; max-width: 640px; margin-bottom: 18px; }
.cvz-report-form > label { display: grid; gap: 4px; font-weight: 600; }
.cvz-report-incl { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cvz-report-incl legend { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.cvz-report-table { font-size: .85rem; }
@media print { .cvz-report .cvz-noprint, .cvz-report-form { display: none !important; } .cvz-report { border: 0 !important; box-shadow: none !important; } }
@media print { .cvz-report-scroll { overflow: visible !important; } }   /* (Update 186) the phone scroll box never cuts the printed table */
/* (Update 122) the toggle row: every button has the same crisp outline; versions boxes line up across a row; Select several bar */
.cvz-pv-toggles .cvz-pv-seg a, .cvz-pv-toggles .cvz-bulkbtn, .cvz-pv-toggles .cvz-pv-onlymine {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; font-size: .85rem; font-weight: 600; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--cvz-text) 30%, transparent); background: var(--cvz-surface); color: var(--cvz-text); box-shadow: none; }
.cvz-pv-toggles .cvz-pv-seg a:hover, .cvz-pv-toggles .cvz-bulkbtn:hover { border-color: var(--accent); }
.cvz-pv-toggles .cvz-pv-seg a.on, .cvz-pv-toggles .cvz-bulkbtn[aria-pressed="true"] { background: var(--accent, #f5b400); border-color: var(--accent, #f5b400); color: var(--accent-ink, #10131a); }
.cvz-pv-toggles .cvz-pv-seg { gap: 6px; }
.cvz-pv-toggles .cvz-pv-seg .lbl { margin-right: 2px; }
.cvz-coll-card .body > .cvz-vers { margin-top: auto; }
.cvz-coll-card .body > .cvz-vers + .rarity { margin-top: 0; }
.cvz-bulkbar { flex-direction: column; align-items: stretch; gap: 8px; width: min(640px, calc(100vw - 24px)); }
.cvz-bulkbar .hint { font-weight: 700; }
.cvz-bulkbar .now { font-size: .95rem; }
.cvz-bulkbar .now .lbl { color: var(--cvz-muted); }
.cvz-bulkbar .choices { display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-bulkbar .cvz-choice { padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cvz-text) 30%, transparent); background: var(--cvz-surface); color: var(--cvz-text); font-weight: 600; font-size: .85rem; }
.cvz-bulkbar .cvz-choice.on { background: #3bb54a; border-color: #3bb54a; color: #fff; }
.cvz-bulkbar .cvz-untick { margin-left: auto; color: var(--cvz-muted); }
.cvz-bulkbar .go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--cvz-border); padding-top: 8px; }
.cvz-bulkbar .go .n { font-weight: 800; margin-right: auto; }
body.cvz-selecting article.cvz-coll-card.cvz-cur { outline: 3px solid var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
/* (Update 123) Select several: the bar asks for each game, lists what's chosen, Done saves */
.cvz-bulkbar .now.ok { color: #3bb54a; }
.cvz-bulkbar .now.ok b { color: var(--cvz-text); }
.cvz-bulkbar .picked { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; max-height: 96px; overflow: auto; }
.cvz-bulkbar .picked li { display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid #3bb54a; background: rgba(59,181,74,.12); }
.cvz-bulkbar .picked .pk { border: 0; background: none; color: var(--cvz-text); font-size: .8rem; padding: 3px 4px 3px 10px; }
.cvz-bulkbar .picked .pk i { font-style: normal; color: #3bb54a; font-weight: 700; }
.cvz-bulkbar .picked .rm { border: 0; background: none; color: var(--cvz-muted); padding: 3px 9px 3px 4px; font-size: .8rem; }
.cvz-bulkbar .picked .rm:hover { color: #e5484d; }
.cvz-bulkdone { border-color: #3bb54a !important; }
.cvz-bulkdone i { font-style: normal; color: var(--cvz-muted); }
body.cvz-selecting main, body.cvz-selecting #main { padding-bottom: 300px; }   /* the last cards can scroll up above the bar */
.cvz-bulkbar .go.confirm { border-top: 0; padding-top: 0; }
@media (max-width: 600px) { .cvz-bulkbar { padding: 8px 10px; gap: 6px; } .cvz-bulkbar .picked { max-height: 58px; } .cvz-bulkbar .cvz-choice { padding: 5px 10px; } }
.cvz-bulktoast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + var(--tabbar-h, 0px) + env(safe-area-inset-bottom)); z-index: 1060; width: min(640px, calc(100vw - 24px)); display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; border: 2px solid #3bb54a; background: var(--cvz-surface); box-shadow: 0 10px 30px rgba(0,0,0,.45); font-size: .9rem; }
.cvz-bulktoast i { font-style: normal; color: var(--cvz-muted); }
.cvz-bulktoast .acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) { .cvz-bulktoast { bottom: 20px; } }
/* (Update 124) Your copy: how do you have it, and the item's own parts */
.cvz-yc legend { font-size: 1.05rem; font-weight: 700; }
.cvz-own-format { display: grid; gap: 4px; font-weight: 600; margin-bottom: 10px; max-width: 420px; }
.cvz-own-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 12px; }
.cvz-own-choice { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--cvz-text) 25%, transparent); background: var(--cvz-surface); cursor: pointer; margin: 0; }
.cvz-own-choice input { margin-top: 4px; accent-color: var(--accent); }
/* (Update 186) the radio is the same size as the part tick boxes below it (18px), not a small native 13px one */
.cvz-own-choice input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.cvz-own-choice b { display: block; font-size: .92rem; }
.cvz-own-choice small { display: block; color: var(--cvz-muted); font-size: .78rem; line-height: 1.3; margin-top: 2px; }
.cvz-own-choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent); }
.cvz-own-sealed, .cvz-own-parts { padding: 12px; border-radius: 12px; background: var(--cvz-surface-2); margin-bottom: 10px; }
.cvz-ppart { display: grid; grid-template-columns: 1fr 200px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--cvz-border); }
.cvz-ppart:last-child { border-bottom: 0; }
.cvz-ppart .have { display: flex; gap: 10px; align-items: flex-start; margin: 0; cursor: pointer; }
.cvz-ppart .have input { margin-top: 4px; width: 18px; height: 18px; accent-color: #3bb54a; flex: 0 0 auto; }
.cvz-ppart .q { color: var(--cvz-muted); font-weight: 600; }
.cvz-ppart.off .have b { color: var(--cvz-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
@media (max-width: 520px) { .cvz-ppart { grid-template-columns: 1fr; gap: 4px; } }
.cvz-chip-ok { border-color: #3bb54a !important; color: #3bb54a !important; }
.cvz-contents-status a { margin-left: 6px; }
.cvz-contents-list { padding-left: 1.2em; } .cvz-contents-list li { margin: 4px 0; }

/* (Update 125) Admin › Catalog clean-up */
.cvz-cl-kinds { display:flex; flex-wrap:wrap; gap:.4rem; }
.cvz-cl-twin { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; margin:.25rem 0; padding:.35rem .5rem; background:var(--bs-tertiary-bg, #f4f4f4); border-radius:.4rem; }
.cvz-cl-twin > span { flex:1 1 280px; }
.cvz-cleanup .cvz-cl-item { border:1px solid var(--bs-border-color, #ccc) !important; border-radius:.6rem; padding:.75rem .9rem !important; margin-bottom:.8rem; background:var(--bs-body-bg, #fff); }
.cvz-cleanup .cvz-cl-item .form-control-sm { min-height:0; height:auto; padding:.25rem .5rem; font-size:.875rem; }
.cvz-cleanup .cvz-cl-item > p { margin:.35rem 0 .5rem; }
.cvz-cl-kinds .btn { padding:.3rem .7rem; border-radius:999px; }
@media (max-width:576px) { .cvz-cl-kinds { gap:.3rem; } .cvz-cl-kinds .btn { font-size:.8rem; padding:.25rem .55rem; } }

/* (Update 129) what "US Legacy Releases" means, under the section buttons */
.cvz-pv-secnote { margin: 8px 0 4px; padding: 10px 14px; font-size: .92rem; line-height: 1.5; border-left: 3px solid var(--cvz-accent, #2a7bd6); background: var(--bs-tertiary-bg, rgba(127,127,127,.08)); border-radius: 0 8px 8px 0; }
/* (Update 129) combining lists on the Catalog */
.cvz-pv-secs a.cvz-pv-combine { border-style: dashed; font-weight: 700; }
.cvz-pv-secs a.cvz-pv-sec-pick .box { font-size: 1.05em; margin-right: 2px; }
.cvz-pv-combinenote { margin: 6px 0 0; font-size: .88rem; color: var(--cvz-muted); }

/* (Update 135) seven numbers on the front page: one row on wide screens */
@media (min-width: 1200px) { .cvz-stats { grid-template-columns: repeat(7, 1fr); } }
@media (min-width: 576px) and (max-width: 1199.98px) { .cvz-stats { grid-template-columns: repeat(4, 1fr); } }
/* (Update 186) on tablets the 7 (or 6) tiles don't divide into rows of 4: the last row is centred instead of leaving a hole */
@media (min-width: 576px) and (max-width: 1199.98px) {
  .cvz-stats { display: flex; flex-wrap: wrap; justify-content: center; }
  .cvz-stats > .cvz-stat { flex: 0 1 calc((100% - 36px) / 4); }
}
@media (max-width: 575.98px) { .cvz-stats > .cvz-stat:last-child:nth-child(odd) { grid-column: span 2; } }
.cvz-stat .yrs { font-style: normal; white-space: nowrap; }

/* (Update 136) Catalog header: the acknowledgements as a small "?" at the top right; cleaner system cards in a symmetrical grid */
.cvz-pv > .cvz-panel { position: relative; }
.cvz-pv-credit-q { margin: 0; }
.cvz-pv-credit-q > .cvz-pv-credit-q-btn { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    list-style: none; cursor: pointer; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-muted); font-weight: 800; font-size: 1rem; line-height: 1; }
.cvz-pv-credit-q > .cvz-pv-credit-q-btn::-webkit-details-marker { display: none; }
.cvz-pv-credit-q > .cvz-pv-credit-q-btn::after { content: none !important; }
.cvz-pv-credit-q > .cvz-pv-credit-q-btn:hover, .cvz-pv-credit-q[open] > .cvz-pv-credit-q-btn { border-color: var(--accent, #f5b400); color: var(--accent-text); }
.cvz-pv-credit-q > .cvz-pv-credit-q-btn:focus-visible { outline: 2px solid var(--accent, #f5b400); outline-offset: 2px; }
.cvz-pv-credit-q[open] > .cvz-pv-credit-body { margin-top: 14px; }
.cvz-pv-credit-title { font-size: 1.1rem; margin: 0 0 10px; }
.cvz-pv .cvz-games-title { padding-right: 44px; }

.cvz-pv-plat { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cvz-pv-plat > a, .cvz-pv-plat > .cvz-plat-cell { grid-column: span 2; }
.cvz-pv-plat > a.cvz-plat-play { grid-column: 3 / span 2; }
.cvz-pv-plat.has-mine > a.cvz-plat-mine, .cvz-pv-plat.has-mine > .cvz-plat-cell-mine { grid-column: 3 / span 2; }
.cvz-pv-plat.has-mine > a.cvz-plat-play { grid-column: 4 / span 2; }
.cvz-pv-plat a::before { content: none !important; display: none !important; }
.cvz-pv-plat a { padding: 14px 18px; border: 1px solid var(--cvz-border); background: var(--cvz-surface-2); border-radius: 14px; }
.cvz-pv-plat a.on { background: linear-gradient(135deg, #ffd23f, #f5b400 60%, #e09b00); border-color: #f5b400; }
.cvz-pv-plat .cvz-plat-mine { border-color: var(--cvz-border); }
.cvz-pv-plat .cvz-plat-mine:hover, .cvz-pv-plat a.cvz-plat-play:hover { border-color: var(--accent, #f5b400); }
.cvz-pv-plat a .ico { width: 56px; height: 56px; }
.cvz-pv-plat a .ico svg { width: 42px; height: 42px; stroke-width: 2; }
.cvz-pv-plat a:not(.on) .ico { color: var(--accent-text); }
.cvz-pv-plat a.cvz-plat-play .ico, .cvz-pv-plat a.cvz-plat-mine .ico { color: #3aac4a; }
@media (max-width: 767.98px) {
  .cvz-pv-plat { grid-template-columns: 1fr; }
  .cvz-pv-plat > a, .cvz-pv-plat > .cvz-plat-cell, .cvz-pv-plat > a.cvz-plat-play, .cvz-pv-plat.has-mine > a.cvz-plat-mine, .cvz-pv-plat.has-mine > .cvz-plat-cell-mine, .cvz-pv-plat.has-mine > a.cvz-plat-play { grid-column: auto; }
  .cvz-pv-plat a .ico { width: 44px; height: 44px; }
  .cvz-pv-plat a .ico svg { width: 32px; height: 32px; }
  .cvz-pv-credit-q > .cvz-pv-credit-q-btn { top: 12px; right: 12px; }
}

/* (Update 137) the system cards show real photos: the ColecoVision, the ADAM, and both */
.cvz-pv-plat a .ico.photo { width: 104px; height: 70px; padding: 0; overflow: hidden; border-radius: 10px; background: #000; border: 1px solid rgba(255,255,255,.12); }
.cvz-pv-plat a .ico.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cvz-pv-plat a.on .ico.photo { border-color: rgba(0,0,0,.35); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
@media (max-width: 767.98px) { .cvz-pv-plat a .ico.photo { width: 78px; height: 52px; } }

/* (Update 138) glyph icons on the system cards (replacing the photos) */
.cvz-pv-plat a .ico.glyph { width: 72px; height: 56px; padding: 0 6px; }
.cvz-pv-plat a .ico.glyph.wide { width: 96px; }
.cvz-pv-plat a .ico.glyph svg { width: 100%; height: auto; stroke: none; fill: currentColor; }
.cvz-pv-plat a.on .ico.glyph { color: #14161c; }
@media (max-width: 767.98px) { .cvz-pv-plat a .ico.glyph { width: 56px; height: 44px; } .cvz-pv-plat a .ico.glyph.wide { width: 76px; } }

/* (Update 139) the Play button on catalog cards */
.cvz-coll-card { position: relative; }
.cvz-coll-card > .cvz-playpill { left: 8px; top: 8px; }
.cvz-coll-card:has(> .cvz-playpill) .pic .region { top: 40px; }

/* (Update 148) small desktops and landscape tablets (992–1279px): with a member's picture in the header there was not
   enough room, and the page scrolled sideways. The search button becomes a round icon, as on phones, and the logo and
   menu tighten a little. */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .cvz-brand-logo { width: 210px; }
    .cvz-nav { margin-left: 4px; }
    .cvz-nav > a, .cvz-nav > button { padding: 8px 10px; }
    .cvz-searchbtn { min-width: 0; width: 42px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
    .cvz-searchbtn kbd { display: none; }
}
/* (Update 148) the shelf settings never push the page sideways on a narrow phone (a long choice such as
   "True to life (carts small, hardware big)" made the box wider than a 320px screen) */
.cvz-shelfbar label { min-width: 0; max-width: 100%; }
.cvz-shelfbar select { max-width: 100%; text-overflow: ellipsis; }

/* =====================================================================
   (Update 149) Accessibility and phone-layout pass, from the 29 Oct 2026 audit (_research/AUDIT-2026-10-29.md)
   ===================================================================== */
/* focus: the yellow ring was only 1.4:1 on the light theme's pale backgrounds */
[data-bs-theme="light"] :focus-visible { outline-color: #1d4f99; }
[data-bs-theme="light"] .cvz-hero .cvz-kicker { color: #fff; }
/* phones and zoomed pages: the fixed bottom tab bar never covers what has keyboard focus */
@media (max-width: 991.98px) { html { scroll-padding-bottom: calc(var(--tabbar-h) + 16px + env(safe-area-inset-bottom)); } }
/* (Update 186) a phone held sideways is only about 340-390px tall, and the fixed header, the bottom tab bar and the sticky
   list bars took a third to a half of it: there the header and list bars scroll away with the page and the tab bar is
   a slimmer one-line bar (icon beside its label) */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 520px) {
    :root { --tabbar-h: 44px; }
    html { scroll-padding-top: 16px; }
    .cvz-header { position: relative; }
    .cvz-games > .cvz-typebar, .cvz-coll > .cvz-typebar, .cvz-reader-bar { position: relative; top: auto; }
    .cvz-tabbar a, .cvz-tabbar button { flex-direction: row; gap: 6px; min-height: 40px; }
    .cvz-tabbar svg { width: 20px; height: 20px; }
}
html:has(body.cvz-selecting) { scroll-padding-bottom: 200px; }
/* text on the section colours and status chips: AA contrast in both themes */
.cvz-coll-card .nopic, .cvz-coll-item .nopic { background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 30%), linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)), var(--spine); }
.cvz-toc a span { opacity: 1; }
[data-bs-theme="light"] .cvz-chip.trade { color: #854d16; }
[data-bs-theme="light"] .cvz-chip.cond-sealed { color: #6d5600; }
[data-bs-theme="light"] .cvz-chip.cond-completeinbox { color: #206429; }
[data-bs-theme="light"] .cvz-chip.cvz-chip-free { color: #1d6b3d; }
/* secondary buttons: Bootstrap's grey outline (3.4:1) becomes the site's own quiet button */
.btn-outline-secondary { --bs-btn-color: var(--cvz-text); --bs-btn-border-color: color-mix(in srgb, var(--cvz-text) 38%, transparent);
    --bs-btn-hover-color: var(--cvz-text); --bs-btn-hover-bg: var(--cvz-surface-2); --bs-btn-hover-border-color: var(--cvz-muted);
    --bs-btn-active-color: var(--cvz-text); --bs-btn-active-bg: var(--cvz-surface-2); --bs-btn-active-border-color: var(--cvz-muted);
    --bs-btn-disabled-color: var(--cvz-muted); --bs-btn-disabled-border-color: var(--cvz-border); }
/* form fields: a border you can see (was 1.3:1) */
.form-control, .form-select { border-color: color-mix(in srgb, var(--cvz-text) 42%, transparent); }
/* (Update 186) unticked check boxes, radios and switches get the same visible outline (they used the card-divider colour,
   1.3:1), and an off switch's knob is darker (light) or lighter (dark) so it can be seen */
.form-check-input:not(:checked) { border-color: color-mix(in srgb, var(--cvz-text) 50%, transparent); }
[data-bs-theme="light"] .form-switch .form-check-input:not(:checked):not(:focus) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.55%29'/%3e%3c/svg%3e"); }
[data-bs-theme="dark"] .form-switch .form-check-input:not(:checked):not(:focus) { --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.6%29'/%3e%3c/svg%3e"); }
/* tables never push the page sideways: hidden header labels stay inside their scroll box, and the wide spec tables on
   the memorabilia pages scroll on their own on phones instead of hiding their last columns */
.table-responsive { position: relative; }
@media (max-width: 767.98px) {
    .cvz-spec { display: block; max-width: 100%; overflow-x: auto; }
    .cvz-spec tbody th { white-space: normal; min-width: 7.5em; }
    /* (Update 186) a soft shadow on the side that has more columns, so a phone visitor can see the table scrolls (the
       covers move with the table and hide the shadow once the end is reached) */
    .cvz-spec {
        background:
            linear-gradient(to right, var(--cvz-surface) 30%, transparent) left center / 40px 100% no-repeat local,
            linear-gradient(to left, var(--cvz-surface) 30%, transparent) right center / 40px 100% no-repeat local,
            radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--cvz-text) 50%, transparent), transparent) left center / 16px 100% no-repeat scroll,
            radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--cvz-text) 50%, transparent), transparent) right center / 16px 100% no-repeat scroll;
    }
}
/* the "Show only items in my collection" switch and "Add several" button wrap on narrow phones */
.cvz-pv-seg a.cvz-pv-onlymine, .cvz-pv-seg .cvz-bulkbtn { white-space: normal; max-width: 100%; text-align: left; }
/* touch targets: at least 24px everywhere, 44px where they sit close together */
.cvz-havemenu .foot a { display: inline-block; padding: 6px 2px; min-height: 28px; }
.cvz-playpill { min-height: 26px; }
@media (max-width: 991.98px) { .cvz-footer a, footer a { display: inline-block; padding-block: 4px; } }
/* the controller knob shows keyboard focus like everything else */
.cvz-pad-knob:focus-visible, .cvz-pad-side:focus-visible { outline: 3px solid var(--r3); outline-offset: 3px; }
[data-bs-theme="light"] .cvz-pad-knob:focus-visible, [data-bs-theme="light"] .cvz-pad-side:focus-visible { outline-color: #1d4f99; }
.cvz-bulkbar .cvz-bulkbody { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
[data-bs-theme="light"] .cvz-bulkbar .now.ok, [data-bs-theme="light"] .cvz-bulkbar .picked .pk i { color: #206429; }
/* (Update 149) keyboard focus on a shelf item: a frame drawn round its box */
.cvz-3d-focus { position: absolute; pointer-events: none; border: 3px solid var(--r3); border-radius: 6px; box-shadow: 0 0 0 2px rgba(0,0,0,.6); }

/* =====================================================================
   (Update 150) Navigation: "you are here" on every page, breadcrumbs on content and item pages
   ===================================================================== */
.cvz-nav > button.active { background: var(--cvz-surface-2); box-shadow: inset 0 -3px 0 var(--accent); }
.cvz-offcanvas a[aria-current="page"] { font-weight: 800; color: var(--accent-text); }
/* content pages: breadcrumb above, "More in this section" below (same look as the memorabilia pages' pager and links) */
.cvz-pagecrumbs { padding-top: 16px; }
.cvz-pagecrumbs .cvz-crumbs { margin: 0; }
.cvz-sectionmore { margin-top: 8px; margin-bottom: 36px; }
.cvz-sectionmore-pager { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.cvz-sectionmore-pager a { display: flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); text-decoration: none; max-width: 48%; min-height: 44px; }
.cvz-sectionmore-pager a:hover { border-color: var(--accent); color: var(--cvz-text); }
.cvz-sectionmore-pager a.next { text-align: right; margin-left: auto; }
.cvz-sectionmore-pager span { font-size: .78rem; color: var(--cvz-muted); }
.cvz-sectionmore-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cvz-sectionmore-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cvz-border); background: var(--cvz-surface); color: var(--cvz-text); text-decoration: none; font-weight: 600; font-size: .9rem; }
.cvz-sectionmore-list a:hover { border-color: var(--accent); }
.cvz-sectionmore-list a.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* the breadcrumb and "More in" line up with the page's own column (the content pages' card is 11/12 then 9/12 wide) */
.cvz-pagecrumbs.cvz-wrap, .cvz-sectionmore.cvz-wrap { max-width: none; }
@media (min-width: 768px) { .cvz-pagecrumbs.cvz-wrap, .cvz-sectionmore.cvz-wrap { width: calc((100% - 32px) * .9167); padding: 0; } }
@media (min-width: 1200px) { .cvz-pagecrumbs.cvz-wrap, .cvz-sectionmore.cvz-wrap { width: calc((100% - 32px) * .75); } }
.cvz-pagecrumbs.in-col, .cvz-sectionmore.in-col { width: auto !important; padding: 0 !important; margin-left: 0; margin-right: 0; }
.cvz-pagecrumbs.in-col { padding-top: 6px !important; }

/* =====================================================================
   (Update 151) One design system: sign-in and join pages, the shared "no picture yet" cartridge, counts with units
   ===================================================================== */
.cvz-auth { max-width: 460px; margin: 8px auto 4px; }
.cvz-auth h1 { margin: 6px 0 6px; }
.cvz-auth-lead { color: var(--cvz-muted); margin-bottom: 18px; }
.cvz-auth-form { display: grid; gap: 14px; }
.cvz-field { display: grid; gap: 5px; }
.cvz-field label { font-weight: 700; font-size: .9rem; }
.cvz-field .form-control { min-height: 46px; font-size: 1rem; }
.cvz-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.cvz-check .form-check-input { margin: 0; width: 20px; height: 20px; }
.cvz-auth-form .btn-cvz { min-height: 46px; font-size: 1rem; }
.cvz-auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 0; font-size: .9rem; }
.cvz-auth-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cvz-border); text-align: center; }
.cvz-auth-alt a { font-weight: 700; }
.cvz-auth-ext { margin-top: 16px; text-align: center; }
.cvz-identity .cvz-panel:has(.cvz-auth) { max-width: 560px; margin-left: auto; margin-right: auto; }
/* the shared "no photo yet" cartridge (Views/Shared/_NoPhoto.cshtml), the same drawing as on the game lists */
.cvz-nophoto { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 100%; min-height: 0;
    background: linear-gradient(180deg, #2b2b2e 0%, #1a1a1c 100%); border-radius: 8px; overflow: hidden; container-type: size; }
.cvz-nophoto .lbl i { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .04em; opacity: .9; margin-top: 2px; }
.cvz-nophoto .lbl b { font-size: clamp(.7rem, 9cqw, 1.5rem); }
.cvz-nophoto.sm .lbl { width: 84%; height: 62%; padding: 4px 3px; gap: 2px; border-radius: 4px; }
.cvz-nophoto.sm .lbl::before { font-size: .38rem; letter-spacing: .08em; padding-bottom: 1px; }
.cvz-nophoto.sm .lbl i { font-size: .5rem; line-height: 1.1; margin: 0; }
.cvz-coll-card .pic .cvz-nophoto { width: 66%; height: 86%; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
/* (Update 186) the picture link around a drawn placeholder or a no-cover tile: no link underline or link colour on the drawn
   text (an underline set on a link can't be removed on the text inside it, only on the link itself) */
.cvz-coll-card a.pic { text-decoration: none; color: inherit; }
/* (Update 186) a long title stays inside the label: the label clips, the title stops after a few lines with "…", the
   publisher keeps to one line, and "No photo yet" always shows */
.cvz-nophoto .lbl { overflow: hidden; min-height: 0; }
.cvz-nophoto .lbl::before, .cvz-nophoto .lbl i { flex: none; }
.cvz-nophoto .lbl b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; flex: 0 1 auto; min-height: 0; max-width: 100%; }
.cvz-coll-card .pic .cvz-nophoto .lbl b { -webkit-line-clamp: 3; line-clamp: 3; }
.cvz-nophoto .lbl small { flex: none; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* (Update 186) not a ColecoVision cartridge (GameArt.NoPhotoHead): a plain label, no cartridge grip, headed "ADAM" or nothing */
.cvz-cartph .lbl[data-head]::before { content: attr(data-head); }
.cvz-cartph .lbl[data-head=""]::before { display: none; }
.cvz-nophoto.plain { align-items: center; }
.cvz-nophoto.plain::before { display: none; }
.cvz-nophoto.plain .lbl { width: 84%; height: 84%; margin-bottom: 0; }
.cvz-coll-item .gallery .main.nopic-cart { padding: 10% 16%; }
.cvz-vrow .thumb.none { padding: 0; }
.cvz-ghero-box .cvz-nophoto { border-radius: 0; }
.cvz-vrow .thumb.none { border: 0; }
/* My Collection's tab bar: on wider screens the tabs wrap onto a second line instead of cutting off "Back to the Catalog" */
@media (min-width: 992px) {
    .cvz-coll-nav { flex-wrap: wrap; overflow: visible; row-gap: 4px; }
    .cvz-coll-nav .cvz-back-games { margin-left: auto; }
}
.cvz-pv-countnote { margin: 4px 0 0; font-size: .78rem; color: var(--cvz-muted); }
/* the Courier's real links look like links (they had no underline, while "Share this day" did) */
.cvz-era-paper .np-more a { text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   (Update 152) Calmer and faster
   ===================================================================== */
.cvz-boot-skip { display: block; margin-top: 22px; font-size: .8rem; color: #9aa3b2; opacity: 0; animation: cvz-pop .3s .9s forwards; }
/* My Collection: badges fold away (open them from the summary line) */
.cvz-badgefold { margin: 4px 0 8px; padding: 12px 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-badgefold > summary { cursor: pointer; font-weight: 700; }
.cvz-badgefold[open] > summary { margin-bottom: 10px; }
.cvz-yearfold { border-top: 1px solid var(--cvz-border); padding: 10px 0; }
.cvz-yearfold > summary { cursor: pointer; display: flex; align-items: baseline; gap: 8px; min-height: 36px; }
/* (Update 186) a flex summary loses its open/closed triangle: the same ▸ that turns as on the other folds */
.cvz-yearfold > summary { list-style: none; }
.cvz-yearfold > summary::-webkit-details-marker { display: none; }
.cvz-yearfold > summary::before { content: "\25B8"; color: var(--accent-text); transition: transform .15s; align-self: center; }
.cvz-yearfold[open] > summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .cvz-yearfold > summary::before { transition: none; } }
.cvz-yearfold > summary .h5 { margin: 0; }
.cvz-yearfold > summary .hint { color: var(--cvz-muted); font-size: .85rem; }
.cvz-yearfold[open] > summary { margin-bottom: 8px; }
/* picture tiles (What's new, developers, photos wanted): two across on phones instead of one, half the scrolling */
@media (max-width: 575.98px) { .cvz-tilegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.cvz-tilegrid .ph.nophoto-wrap { display: block; padding: 0; background: none; }

/* =====================================================================
   (Update 154) Smooth round edges on outlined buttons, pills and chips. By default a button's background is painted
   under its border too, so on a round edge the anti-aliased border mixes with the fill and looks rough or jagged
   (most visible in Safari and on dark backgrounds). The fill now stops inside the border.
   ===================================================================== */
.cvz-aboutfold > summary,
.cvz-backtolist,
.cvz-bulkbar .cvz-choice,
.cvz-bulkbar .picked li,
.cvz-bulkbtn,
.cvz-cardfilter > label,
.cvz-chip,
.cvz-chip-link,
.cvz-chips a,
.cvz-coll-checks label,
.cvz-coll-kinds a,
.cvz-coll-nav .cvz-back-games,
.cvz-coll-pages a,
.cvz-coll-pages span,
.cvz-coll-radios label,
.cvz-collmenu > summary,
.cvz-cond,
.cvz-doc-warn,
.cvz-dupbtn,
.cvz-era-share,
.cvz-era-tag,
.cvz-fullcat,
.cvz-gtile .cvz-vers,
.cvz-help,
.cvz-hw-jump a,
.cvz-hw-sys-title .count,
.cvz-iconbtn,
.cvz-lb-btn,
.cvz-lib-progress,
.cvz-lib-stock,
.cvz-libswitch a .go,
.cvz-mini,
.cvz-own,
.cvz-pager a,
.cvz-prog-bar,
.cvz-progress .track,
.cvz-pv-active a,
.cvz-pv-chks span,
.cvz-pv-credit-btn,
.cvz-pv-credit-q > .cvz-pv-credit-q-btn,
.cvz-pv-gamehits a,
.cvz-pv-onlymine,
.cvz-pv-onlymine .sw,
.cvz-pv-pager a,
.cvz-pv-secs a,
.cvz-pv-seg a,
.cvz-pv-subs a,
.cvz-pv-toggles .cvz-bulkbtn,
.cvz-pv-toggles .cvz-pv-onlymine,
.cvz-pv-toggles .cvz-pv-seg a,
.cvz-searchbtn,
.cvz-sectionmore-list a,
.cvz-seg,
.cvz-signin,
.cvz-stock,
.cvz-tabset > label,
.cvz-tblfilter > label,
.cvz-tour > label,
.tv82-stage.pseudo-full .tv82-exit,
.tv82-stage:fullscreen .tv82-exit { background-clip: padding-box; }
/* the round icon buttons: (Update 161) a real 2px border in the ring colour, with the fill stopping inside it.
   The earlier 1.5px inset shadow still showed steps and a dark rim on some screens: browsers don't smooth the edge
   of an inset shadow on a circle the way they smooth a border. */
.cvz-iconbtn, .cvz-help, .cvz-lb-btn, .cvz-pv-credit-q > .cvz-pv-credit-q-btn {
    --ring: var(--cvz-border); border: 2px solid var(--ring) !important; background-clip: padding-box; box-shadow: none !important; }
.cvz-lb-btn { --ring: rgba(255, 255, 255, .3); }
.cvz-iconbtn:hover, .cvz-help:hover, .cvz-pv-credit-q > .cvz-pv-credit-q-btn:hover, .cvz-pv-credit-q[open] > .cvz-pv-credit-q-btn { --ring: var(--accent); }
.cvz-lb-btn:hover { --ring: rgba(255, 255, 255, .55); }


/* =====================================================================
   (Update 155) The item card (site.js, cvzCard): a parchment display card with a brass edge, opened from a shelf label
   ===================================================================== */
.cvz-icard-wrap { position: fixed; inset: 0; z-index: 1090; display: grid; place-items: center; padding: 24px; background: rgba(5, 6, 9, .55); }
.cvz-icard-wrap[hidden] { display: none; }
.cvz-icard-wrap.in .cvz-icard { animation: cvz-icard-in .18s ease-out; }
@keyframes cvz-icard-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
html.cvz-icard-open { overflow: hidden; }
.cvz-icard { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; outline: none;
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0;
    color: #2a2112; border-radius: 14px;
    background:
        radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.35), transparent 60%),
        repeating-linear-gradient(0deg, rgba(120,90,40,.035) 0 2px, transparent 2px 5px),
        linear-gradient(180deg, #f4e8cc, #e8d7b0);
    box-shadow: 0 0 0 2px #6b4b1c, 0 0 0 5px #c79a3c, 0 0 0 6px #4a3210, 0 30px 70px rgba(0,0,0,.6), inset 0 0 40px rgba(120,80,20,.25); }
.cvz-icard-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: radial-gradient(circle at 35% 30%, #4a3a20, #1c150a); color: #f1d48a; font-size: 1.15rem; line-height: 1;
    box-shadow: inset 0 0 0 2px #c79a3c, 0 3px 8px rgba(0,0,0,.45); }
.cvz-icard-x:hover { box-shadow: inset 0 0 0 2px #f1c75a, 0 3px 10px rgba(0,0,0,.5); color: #fff3cf; }
.cvz-icard-x:focus-visible, .cvz-icard-btn:focus-visible, .cvz-icard .rel a:focus-visible { outline: 3px solid #1d4f99; outline-offset: 2px; }
.cvz-icard-loading { padding: 60px 24px; text-align: center; grid-column: 1 / -1; margin: 0; font-weight: 600; }
.cvz-icard-main { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 14px 22px; padding: 26px 26px 22px; align-content: start; }
.cvz-icard .box { align-self: start; }
.cvz-icard .box img { display: block; width: 100%; height: auto; border-radius: 3px; transform: rotate(-1.5deg); box-shadow: 0 10px 22px rgba(60,35,5,.45), 0 0 0 1px rgba(0,0,0,.15); }
.cvz-icard .nobox, .cvz-icard .noshot { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 6px; background: rgba(90,60,20,.12); color: #7a6440; font-weight: 600; font-size: .85rem; }
.cvz-icard .noshot { aspect-ratio: 4 / 3; background: #101114; color: #8d8a80; }
.cvz-icard .kicker { margin: 0 52px 2px 0; font: 400 .6rem/1.4 var(--font-pixel); letter-spacing: .04em; text-transform: uppercase; color: #8a6a2a; }
.cvz-icard h2 { margin: 0 52px 10px 0; font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--font-display); color: #1c150a; overflow-wrap: anywhere; }
.cvz-icard dl { margin: 0; display: grid; }
.cvz-icard dl > div { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr); gap: 10px; padding: 5px 0; border-bottom: 1px solid rgba(110,80,30,.22); font-size: .92rem; }
.cvz-icard dt { font-weight: 500; color: #6a5530; }
.cvz-icard dd { margin: 0; font-weight: 600; color: #2a2112; overflow-wrap: anywhere; }
.cvz-icard .desc { grid-column: 1 / -1; margin: 4px 0 0; font-size: 1.02rem; line-height: 1.55; color: #33281a; }
.cvz-icard .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cvz-icard-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border-radius: 8px; cursor: pointer;
    font-weight: 700; font-size: .95rem; text-decoration: none; color: #2a2112 !important; border: 0;
    background: linear-gradient(180deg, #fbf3de, #eadbb5); box-shadow: inset 0 0 0 1.5px #8a6a2a, 0 2px 4px rgba(60,35,5,.25); }
.cvz-icard-btn svg { width: 20px; height: 20px; flex: none; }
.cvz-icard-btn:hover { background: linear-gradient(180deg, #fff8e6, #f1e2bd); }
.cvz-icard-btn.primary { background: linear-gradient(180deg, #ffd95a, #f2b917); box-shadow: inset 0 0 0 1.5px #9c6f00, 0 2px 6px rgba(120,80,0,.35); }
.cvz-icard-btn[disabled] { opacity: .6; cursor: default; }
.cvz-icard-side { padding: 26px 26px 22px 6px; display: flex; flex-direction: column; gap: 12px; }
.cvz-icard .shot { border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px #1a1408, 0 0 0 5px #c79a3c, 0 8px 18px rgba(0,0,0,.35); aspect-ratio: 4 / 3; }
.cvz-icard .shot img { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.cvz-icard .shot iframe { display: block; width: 100%; height: 100%; border: 0; }
.cvz-icard h3 { margin: 6px 0 0; font: 400 1rem/1.2 var(--font-display); color: #3a2c12; }
.cvz-icard .rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cvz-icard .rel a { display: grid; gap: 4px; text-decoration: none; color: #2a2112; font-size: .78rem; font-weight: 600; line-height: 1.2; text-align: center; }
.cvz-icard .rel img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; box-shadow: 0 4px 10px rgba(60,35,5,.35); }
.cvz-icard .rel a:hover span { text-decoration: underline; }
@media (max-width: 860px) {
    .cvz-icard-wrap { padding: 0; place-items: end stretch; }
    .cvz-icard { width: 100%; max-height: 92vh; grid-template-columns: 1fr; border-radius: 16px 16px 0 0; }
    /* (Update 186) iPhone Safari counts vh from the screen without its toolbars, so 92vh could be taller than what shows
       and push the top of the sheet (with its Close button) off the screen: measure the visible height instead */
    .cvz-icard { max-height: 92dvh; }
    .cvz-icard-wrap.in .cvz-icard { animation: cvz-icard-up .22s ease-out; }
    @keyframes cvz-icard-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
    .cvz-icard-main { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); padding: 20px 16px 6px; gap: 12px 14px; }
    .cvz-icard-side { padding: 6px 16px calc(20px + env(safe-area-inset-bottom)); }
    .cvz-icard dl > div { grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr); font-size: .86rem; }
    .cvz-icard-btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cvz-icard-wrap.in .cvz-icard { animation: none; } }

/* (Update 155) shelf labels as brass-framed plaques with rivets, as on a museum or collector's display case; they glow
   gold when pointed at, and open the item card when clicked */
.cvz-3d-tag { padding: 6px 18px 5px; min-height: 36px; border-radius: 6px; color: #2a1d08;
    background:
        radial-gradient(circle at 9px 50%, #fff3c4 0 1.5px, #b88a2c 2px, #6e4f15 3.4px, transparent 4px),
        radial-gradient(circle at calc(100% - 9px) 50%, #fff3c4 0 1.5px, #b88a2c 2px, #6e4f15 3.4px, transparent 4px),
        linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
        linear-gradient(180deg, #f6e7c0, #e3c98d);
    box-shadow: inset 0 0 0 1.5px #8a6420, inset 0 0 0 3px rgba(255,236,180,.7), inset 0 -2px 3px rgba(90,60,10,.35), 0 3px 6px rgba(0,0,0,.6); }
.cvz-3d-tag .t { font: 700 11.5px/1.15 "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; color: #2a1d08; text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.cvz-3d-tag:hover, .cvz-3d-tag[aria-expanded="true"], .cvz-3d-tag:focus-visible {
    transform: translateX(-50%) translateY(-1px);
    background:
        radial-gradient(circle at 9px 50%, #fffbe6 0 1.5px, #d9a83a 2px, #7a5612 3.4px, transparent 4px),
        radial-gradient(circle at calc(100% - 9px) 50%, #fffbe6 0 1.5px, #d9a83a 2px, #7a5612 3.4px, transparent 4px),
        linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0) 45%),
        linear-gradient(180deg, #ffe58a, #f2bf2e);
    box-shadow: inset 0 0 0 1.5px #8a5e00, inset 0 0 0 3px rgba(255,246,200,.75), 0 0 14px rgba(255,200,60,.65), 0 3px 8px rgba(0,0,0,.6); }
.cvz-icard .rel .noimg { display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 3px; background: linear-gradient(180deg, #2b2b2e, #1a1a1c); }
.cvz-3d-tag { min-height: 40px; }
.cvz-3d-tag .t { font-size: 12.5px; }
/* plaque titles break between words, never inside one; narrow plaques (phones) use smaller rivets and padding */
.cvz-3d-tag .t { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (max-width: 575.98px) {
    .cvz-3d-tag { padding: 5px 11px 4px;
        background:
            radial-gradient(circle at 5.5px 50%, #fff3c4 0 1px, #b88a2c 1.5px, #6e4f15 2.5px, transparent 3px),
            radial-gradient(circle at calc(100% - 5.5px) 50%, #fff3c4 0 1px, #b88a2c 1.5px, #6e4f15 2.5px, transparent 3px),
            linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%), linear-gradient(180deg, #f6e7c0, #e3c98d); }
    .cvz-3d-tag .t { font-size: 11px; }
}

/* =====================================================================
   (Update 156) Members' photos for the catalog: the Add a photo page, offering a copy photo, credits, admin review
   ===================================================================== */
.cvz-offer-grid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 12px; }
.cvz-offer-grid .now img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.cvz-offer-grid .now .cvz-nophoto { aspect-ratio: 3 / 4; height: auto; }
.cvz-offer-mine { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.cvz-offer-mine li { display: flex; align-items: center; gap: 12px; }
.cvz-offer-mine img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
@media (max-width: 767.98px) { .cvz-offer-grid { grid-template-columns: 1fr; } .cvz-offer-grid .now { max-width: 220px; } }
.cvz-offer-copy { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--cvz-surface); border: 1px solid var(--cvz-border); }
.cvz-offer-copy .row1 { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--cvz-border); }
.cvz-offer-copy .row1 img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.cvz-offer-copy form { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.cvz-offer-copy form .form-select { width: auto; }
/* (Update 186) the serial registry form (same panel) is a Bootstrap row: its gutters space it, without the offer form's
   extra gap (Serial, Year and Month didn't fit on one row), and its Month drop-down fills its column */
.cvz-serial-form form.row { gap: 0; }
.cvz-serial-form form .form-select { width: 100%; }
.cvz-photo-credit { margin: 6px 0 0; min-height: 1.2em; }
.cvz-photo-more { display: inline-block; margin-top: 8px; }
.cvz-vrow a.thumb.none { position: relative; text-decoration: none; }
.cvz-vrow a.thumb.none .add { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; font-size: .6rem; font-weight: 800; text-align: center; color: #fff; background: rgba(0,0,0,.7); }
.cvz-offer-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; }
.cvz-offer-row .pics { display: flex; gap: 8px; }
.cvz-offer-row figure { margin: 0; width: 130px; text-align: center; font-size: .75rem; color: var(--cvz-muted); }
.cvz-offer-row img, .cvz-offer-row .none { display: grid; place-items: center; width: 130px; height: 130px; object-fit: contain; border-radius: 6px; background: var(--cvz-surface-2); }
@media (max-width: 575.98px) { .cvz-offer-row { grid-template-columns: 1fr; } }

/* (Update 157) Coming soon: release reminders and add to calendar */
.cvz-release { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.cvz-release .when { display: grid; place-items: center; width: 74px; border-radius: 10px; overflow: hidden; text-align: center; background: var(--cvz-surface-2); box-shadow: inset 0 0 0 1.5px var(--cvz-border); }
.cvz-release .when .m { display: block; width: 100%; padding: 3px 0; background: var(--r1); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.cvz-release .when .d { display: block; padding: 6px 4px 8px; font: 400 1.4rem/1 var(--font-display); }
.cvz-release .when.soft .d { padding: 9px 4px 10px; font-size: 1.05rem; }   /* (Update 158) month or year only */
.cvz-release-src a { color: inherit; }
.cvz-outnow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--r4) 14%, var(--cvz-surface)); border: 1px solid color-mix(in srgb, var(--r4) 45%, transparent); }
.cvz-outnow ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cvz-outnow form { margin-left: auto; }

/* (Update 158) publisher pages */
.cvz-publist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.cvz-publist a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 10px 12px; border-radius: 10px; background: var(--cvz-surface-2); box-shadow: inset 0 0 0 1px var(--cvz-border); color: inherit; text-decoration: none; }
.cvz-publist a:hover, .cvz-publist a:focus-visible { box-shadow: inset 0 0 0 2px var(--r3); }
.cvz-publist b { font-weight: 700; }
.cvz-publist span { font-size: .85rem; color: var(--cvz-muted); }
.cvz-publist .cvz-publist-tag { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; color: var(--cvz-text); background: color-mix(in srgb, var(--r4) 22%, transparent); }
.cvz-pub-facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 12px; }
.cvz-pub-facts div { display: flex; gap: 6px; }
.cvz-pub-facts dt { font-weight: 600; color: var(--cvz-muted); }
.cvz-pub-facts dd { margin: 0; }
.cvz-pub-list { margin: 0 0 8px; padding-left: 1.2em; }
.cvz-pub-sale { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 24px; }
.cvz-pub-sale li { break-inside: avoid; padding: 4px 0; }
.cvz-pub-sale span { display: block; font-size: .85rem; color: var(--cvz-muted); }

/* (Update 159) serial registry */
.cvz-srchart { width: 100%; max-width: 760px; height: auto; display: block; }
.cvz-srchart .g { stroke: var(--cvz-border); stroke-width: 1; }
.cvz-srchart .a { stroke: var(--cvz-muted); stroke-width: 1; }
.cvz-srchart .t { fill: var(--cvz-muted); font-size: 12px; font-family: var(--font-body); }
.cvz-srchart .d { fill: var(--r5); stroke: var(--cvz-surface); stroke-width: 2; }
.cvz-srchart .d:hover { r: 7; }
.cvz-srpic { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; }
.cvz-serial-pic { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.cvz-serial-pic img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }

/* (Update 159) members' ratings and reviews */
.cvz-rating-hero { display: flex; align-items: baseline; gap: 4px; }
.cvz-rating-hero b { font: 400 2.2rem/1 var(--font-display); }
.cvz-rating-hero span { color: var(--cvz-muted); font-weight: 600; }
.cvz-rating-hero small { margin-left: 8px; color: var(--cvz-muted); }
.cvz-rating-bars { width: 100%; max-width: 320px; height: auto; display: block; margin: 4px 0 10px; }
.cvz-rating-bars .bar { fill: var(--r5); }
.cvz-rating-bars .hit { fill: transparent; }
.cvz-rating-bars g:hover .bar { fill: color-mix(in srgb, var(--r5) 80%, var(--cvz-text)); }
.cvz-rating-bars .base { stroke: var(--cvz-border); stroke-width: 1; }
.cvz-rating-bars .lbl { fill: var(--cvz-muted); font-size: 10px; font-family: var(--font-body); }
.cvz-rate-form fieldset { border: 0; padding: 0; margin: 0 0 6px; }
.cvz-rate-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.cvz-rate-scale label { display: grid; place-items: center; min-height: 34px; border-radius: 8px; font-weight: 700; font-size: .9rem; cursor: pointer;
    background: var(--cvz-surface-2); box-shadow: inset 0 0 0 1.5px var(--cvz-border); }
.cvz-rate-scale .btn-check:checked + label { background: color-mix(in srgb, var(--r5) 72%, #000); color: #fff; box-shadow: none; }
.cvz-rate-scale .btn-check:focus-visible + label { outline: 3px solid var(--r3); outline-offset: 1px; }
.cvz-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cvz-reviews li { padding: 10px 12px; border-radius: 10px; background: var(--cvz-surface-2); }
.cvz-reviews .meta { font-size: .8rem; color: var(--cvz-muted); margin: 0 0 4px; }
.cvz-review-text { white-space: pre-line; overflow-wrap: anywhere; }
.cvz-favlist { margin: 0; padding-left: 1.6em; display: grid; gap: 6px; }
.cvz-favlist li span { color: var(--cvz-muted); font-size: .88rem; margin-left: 6px; white-space: nowrap; }
.cvz-srchart.narrow { display: none; }
@media (max-width: 575.98px) { .cvz-srchart.wide { display: none; } .cvz-srchart.narrow { display: block; } }
.cvz-srtable td:first-child { white-space: nowrap; }

/* (Update 160) the public update log */
.cvz-uplist { margin: 0 0 6px; padding-left: 1.2em; display: grid; gap: 4px; }
.cvz-upday { scroll-margin-top: 90px; }

/* (Update 161) label and overlay galleries */
.cvz-gallerygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.cvz-gallerygrid figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cvz-gallerygrid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: var(--cvz-surface-2); border-radius: 10px; cursor: zoom-in; }
.cvz-gallerygrid.overlays img { aspect-ratio: 3 / 4; }
.cvz-gallerygrid figcaption { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; }
.cvz-gallerygrid figcaption a { font-weight: 600; }
.cvz-gallerygrid figcaption small { color: var(--cvz-muted); }
.cvz-galadmin { display: flex; flex-wrap: wrap; gap: 12px; }
.cvz-galadmin > div { width: 170px; padding: 6px; border-radius: 8px; border: 2px solid transparent; }
.cvz-galadmin > div.on { border-color: var(--r4); }
.cvz-galadmin > div.off { opacity: .5; }
.cvz-galadmin img { width: 100%; height: 130px; object-fit: contain; background: var(--cvz-surface-2); border-radius: 6px; }

/* (Update 163) one picture slot per view on a catalog entry */
.cvz-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 10px; }
.cvz-slots figure, .cvz-slots .want { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .74rem; text-align: center; }
.cvz-slots img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 8px; background: var(--cvz-surface-2); cursor: zoom-in; }
.cvz-slots figcaption { color: var(--cvz-muted); }
.cvz-slots .want { justify-content: center; aspect-ratio: 1 / 1; border-radius: 8px; border: 2px dashed var(--cvz-border); color: var(--cvz-muted); text-decoration: none; padding: 4px; }
.cvz-slots .want span { font-size: 1.2rem; line-height: 1; }
.cvz-slots .want b { color: var(--cvz-text); font-weight: 600; }
.cvz-slots .want:hover, .cvz-slots .want:focus-visible { border-color: var(--accent); color: var(--cvz-text); }
.cvz-pvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cvz-pvgrid img { width: 100%; height: 160px; object-fit: contain; background: var(--cvz-surface-2); border-radius: 6px; }
.cvz-pvgrid article.done { opacity: .35; pointer-events: none; }


/* =====================================================================
   (Update 163) Smooth round edges everywhere, on every screen. A 1px border round a pill or a circle can't be drawn
   smoothly on a standard (not Retina) screen: the curve breaks into steps. On those screens every round button, pill,
   chip, tab and switch gets a 2px border instead (on Retina screens 1px is already 2 screen pixels and stays as it is).
   New round components: add them to this list (Design standards, component registry).
   ===================================================================== */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  .cvz-aboutfold > summary,
  .cvz-backtolist,
  .cvz-bulkbar .cvz-choice,
  .cvz-bulkbar .picked li,
  .cvz-bulkbtn,
  .cvz-cardfilter > label,
  .cvz-chip,
  .cvz-chip-link,
  .cvz-chips a,
  .cvz-coll-checks label,
  .cvz-coll-kinds a,
  .cvz-coll-nav .cvz-back-games,
  .cvz-coll-pages a,
  .cvz-coll-pages span,
  .cvz-coll-radios label,
  .cvz-collmenu > summary,
  .cvz-cond,
  .cvz-doc-warn,
  .cvz-dupbtn,
  .cvz-era-share,
  .cvz-era-tag,
  .cvz-fullcat,
  .cvz-gtile .cvz-vers,
  .cvz-help,
  .cvz-hw-jump a,
  .cvz-hw-sys-title .count,
  .cvz-iconbtn,
  .cvz-lb-btn,
  .cvz-lib-progress,
  .cvz-lib-stock,
  .cvz-libswitch a .go,
  .cvz-mini,
  .cvz-own,
  .cvz-pager a,
  .cvz-prog-bar,
  .cvz-progress .track,
  .cvz-pv-active a,
  .cvz-pv-chks span,
  .cvz-pv-credit-btn,
  .cvz-pv-credit-q > .cvz-pv-credit-q-btn,
  .cvz-pv-gamehits a,
  .cvz-pv-onlymine,
  .cvz-pv-onlymine .sw,
  .cvz-pv-pager a,
  .cvz-pv-secs a,
  .cvz-pv-seg a,
  .cvz-pv-subs a,
  .cvz-pv-toggles .cvz-bulkbtn,
  .cvz-pv-toggles .cvz-pv-onlymine,
  .cvz-pv-toggles .cvz-pv-seg a,
  .cvz-searchbtn,
  .cvz-sectionmore-list a,
  .cvz-seg,
  .cvz-signin,
  .cvz-stock,
  .cvz-tabset > label,
  .cvz-tblfilter > label,
  .cvz-tour > label,
  .tv82-stage.pseudo-full .tv82-exit,
  .tv82-stage:fullscreen .tv82-exit,
  .btn,
  .cvz-seg a,
  .cvz-cta,
  .cvz-cta.ghost,
  .cvz-pv-combine,
  .cvz-back-games,
  .cvz-admin-bar,
  .cvz-n,
  .form-switch .form-check-input,
  .cvz-cl-kinds a,
  .cvz-coll-progress .bar { border-width: 2px; background-clip: padding-box; }
}
.cvz-vslots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cvz-vslots img, .cvz-vslots a { width: 44px; height: 44px; border-radius: 6px; }
.cvz-vslots img { object-fit: contain; background: var(--cvz-surface); cursor: zoom-in; }
.cvz-vslots a { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--cvz-border); color: var(--cvz-muted); text-decoration: none; font-size: .9rem; line-height: 1; }
.cvz-vslots a span { font-size: .5rem; line-height: 1.05; text-align: center; margin-top: 2px; }
.cvz-vslots a:hover, .cvz-vslots a:focus-visible { border-color: var(--accent); color: var(--cvz-text); }

/* (Update 163) Play Games is a chip at the end of the catalog's lists (it was a big card on its own row) */
.cvz-pv-secs a.cvz-pv-play { font-weight: 700; }
.cvz-pv-secs a.cvz-pv-play .tri { color: #3aac4a; font-size: .8em; margin-right: 2px; }
.cvz-pv-secs a.cvz-pv-play:hover { border-color: var(--accent, #f5b400); }
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  .cvz-pv-secs a.cvz-pv-play { border-width: 2px; background-clip: padding-box; }
}

/* (Update 166) "Which version do I have?" (/identify) */
.cvz-id-search { display: flex; gap: 8px; max-width: 560px; }
.cvz-id-games, .cvz-id-opts, .cvz-id-results { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.cvz-id-games, .cvz-id-opts { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }
.cvz-id-results { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.cvz-id-games a, .cvz-id-opts a, .cvz-id-results a { display: flex; gap: 12px; align-items: center; padding: 10px; border: 2px solid var(--cvz-border); border-radius: 12px;
  background: var(--cvz-surface-2); color: inherit; text-decoration: none; height: 100%; background-clip: padding-box; }
.cvz-id-games a:hover, .cvz-id-opts a:hover, .cvz-id-results a:hover, .cvz-id-games a:focus-visible, .cvz-id-opts a:focus-visible, .cvz-id-results a:focus-visible { border-color: var(--accent, #f5b400); }
.cvz-id img, .cvz-id .ph, .cvz-id-results .cvz-cartph { width: 72px; height: 72px; flex: 0 0 72px; object-fit: contain; border-radius: 8px; background: #0c0c0e; }
.cvz-id .ph { display: grid; place-items: center; color: var(--cvz-muted); font-weight: 800; font-size: 1.4rem; }
.cvz-id-results img, .cvz-id-results .cvz-cartph { width: 96px; height: 96px; flex-basis: 96px; }
.cvz-id-games b, .cvz-id-opts b, .cvz-id-results b { display: block; line-height: 1.25; overflow-wrap: anywhere; }
.cvz-id-games small, .cvz-id-opts small, .cvz-id-results small { display: block; color: var(--cvz-muted); font-size: .82rem; margin-top: 2px; }
.cvz-id-results em { display: block; font-style: normal; font-size: .8rem; color: var(--accent-text, #b88600); margin-top: 4px; }
.cvz-id-results li.maybe a { border-style: dashed; }
.cvz-id-opts li.skip a { border-style: dashed; min-height: 96px; justify-content: center; text-align: center; }
.cvz-id-answers { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-id-answers li { font-size: .85rem; padding: 4px 12px; border-radius: 999px; border: 2px solid var(--cvz-border); background: var(--cvz-surface-2); background-clip: padding-box; }
.cvz-id-answers li span { color: var(--cvz-muted); }
.cvz-id-answers li.skipped i { color: var(--cvz-muted); }
.cvz-id-answers a { margin-left: 4px; font-size: .8rem; }
.cvz-id-link { font-weight: 600; }
@media (max-width: 575.98px) { .cvz-id-search { flex-direction: column; } .cvz-id-results { grid-template-columns: 1fr; } }

/* (Update 166) the Latest homebrew rail drifts on its own (site.js): no snapping while it moves, and its Pause button */
.cvz-rail.auto { scroll-snap-type: none; }
.cvz-rail-pause { margin-right: 14px; padding: 2px 12px; font-size: .82rem; font-weight: 700; border-radius: 999px; border: 2px solid var(--cvz-border);
  background: var(--cvz-surface-2); color: inherit; background-clip: padding-box; vertical-align: middle; }
.cvz-rail-pause:hover { border-color: var(--accent, #f5b400); }
.cvz-rail-pause:focus-visible { outline: 2px solid var(--accent, #f5b400); outline-offset: 2px; }

/* (Update 166) eBay sold prices in "Buy it used" */
.cvz-usedcell .cvz-sold { display: block; font-size: .85rem; margin-top: 2px; }

/* (Update 166) Library: the in-page reader and search inside the documents */
.cvz-lib-inside { display: flex; gap: 8px; max-width: 560px; }
.cvz-lib-readhere .cvz-lib-inside { max-width: 380px; }
.cvz-reader { padding: 12px; }
.cvz-reader-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; position: sticky; top: 0; z-index: 3;
  background: var(--cvz-surface, #fff); padding: 6px 0; }
.cvz-reader-bar .disabled { opacity: .45; pointer-events: none; }
.cvz-reader-num { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; margin: 0; }
.cvz-reader-num input { width: 4.5em; padding: 2px 6px; border: 2px solid var(--cvz-border); border-radius: 8px; background: var(--cvz-surface-2); color: inherit; background-clip: padding-box; }
.cvz-reader-zoom { margin-left: auto; display: inline-flex; gap: 6px; }
.cvz-reader-stage { position: relative; overflow: auto; background: #2a2b30; border-radius: 10px; min-height: 320px; padding: 8px; text-align: center; touch-action: pan-y pinch-zoom; }
.cvz-reader-stage.is-wide { touch-action: pan-x pan-y pinch-zoom; } /* (Update 185) zoomed in: a finger can move the page sideways too */
.cvz-reader-stage:focus-visible { outline: 3px solid var(--accent, #f5b400); outline-offset: 2px; }
.cvz-reader-stage canvas { display: inline-block; max-width: none; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.45); }
.cvz-reader-msg { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #ddd; font-size: .95rem; padding: 20px; }
.cvz-reader-msg[hidden] { display: none; }
.cvz-reader-msg a { color: #ffd07a; }
.cvz-reader-text { margin-top: 12px; }
.cvz-reader-text summary { cursor: pointer; font-weight: 600; }
.cvz-reader-ocr { white-space: pre-wrap; font-size: .88rem; line-height: 1.5; max-height: 420px; overflow: auto; padding: 10px 12px; margin-top: 8px;
  border: 2px solid var(--cvz-border); border-radius: 10px; background: var(--cvz-surface-2); background-clip: padding-box; }
.cvz-reader-pagechips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cvz-reader-pagechips a { display: inline-block; padding: 3px 12px; font-size: .85rem; border-radius: 999px; border: 2px solid var(--cvz-border);
  background: var(--cvz-surface-2); background-clip: padding-box; text-decoration: none; color: inherit; }
.cvz-reader-pagechips a:hover { border-color: var(--accent, #f5b400); }
.cvz-reader-pagechips a.on { background: var(--accent, #f5b400); border-color: var(--accent, #f5b400); color: #111; }
.cvz-search-hits { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cvz-search-hits a { display: block; padding: 8px 12px; border: 2px solid var(--cvz-border); border-radius: 10px; color: inherit; text-decoration: none; background-clip: padding-box; }
.cvz-search-hits a:hover { border-color: var(--accent, #f5b400); }
.cvz-search-hits b { margin-right: 6px; }
.cvz-search-hits span { color: var(--cvz-muted); font-size: .9rem; }
.cvz-search-hits mark, .cvz-reader-hits mark { background: color-mix(in srgb, var(--accent, #f5b400) 45%, transparent); color: inherit; padding: 0 2px; border-radius: 3px; }
.cvz-lib-doclist { columns: 2 300px; padding-left: 1.2rem; }
@media (max-width: 575.98px) { .cvz-lib-inside { flex-direction: column; } .cvz-reader { padding: 8px; } .cvz-reader-zoom { margin-left: 0; } }
.cvz-id-games > li, .cvz-id-opts > li, .cvz-id-results > li, .cvz-id-games a > span, .cvz-id-opts a > span, .cvz-id-results a > span { min-width: 0; }

/* (Update 167) /identify: the search button keeps its words on one line; no-photo cartridges in the pickers */
.cvz-id-search .btn { white-space: nowrap; flex: 0 0 auto; }
.cvz-id-games .cvz-cartph, .cvz-id-opts .cvz-cartph { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 8px; }

/* (Update 168) Smooth edges, part 2: text boxes, drop-downs and every rounded box you can click (link cards, filter
   buttons, page links) also get a 2px outline on ordinary (1x) screens, where a 1px rounded outline looks jagged. Large
   page panels keep their fine 1px edge. _research/checks/round-edges.mjs checks for any that are missed.
   (Update 171) the page links are named by their component, not bare a.prev / a.next / a.here / a.main. */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  .form-control, .form-select, textarea, select, label > select, summary.cvz-fbtn,
  .cvz-pv-plat a, .cvz-pv-plat .ico, a.cvz-vers, .cvz-tilegrid > a, .cvz-related-grid > a, .cvz-litcards > a, .cvz-pager a.prev, .cvz-pager a.next, .cvz-pager a.prev-all, .cvz-sectionmore-pager a.prev, .cvz-sectionmore-pager a.next, .cvz-hwpager a.prev, .cvz-hwpager a.next,
  .cvz-coll-stats > a, .cvz-id-games a, .cvz-id-opts a, .cvz-id-results a, .cvz-search-hits a, .cvz-reader-num input,
  details.cvz-cnotes, details.cvz-badgefold, details.cvz-coll-progress, .cvz-acct-menu, .hub-tile,
  a.cvz-vidcard, a.cvz-stat {
    border-width: 2px !important; background-clip: padding-box;
  }
}
/* (Update 186) the clickable rounded cards this list missed: home-page story and Explore cards, the table view's
   "N versions" pill, content-page link cards, the "How do you have it?" choice cards, and the item page's photo frame,
   thumbnails and facts box */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  a.cvz-story, .cvz-explore a.cvz-tile, a.cvz-vers-sm, .cvz-versions a, .cvz-manuals > a, a.cvz-linkcard, .cvz-sgcards a, .cvz-devcards a,
  .cvz-own-choice, .cvz-coll-item .thumbs img, .cvz-coll-item .gallery .main, .cvz-coll-facts {
    border-width: 2px !important; background-clip: padding-box;
  }
}

/* (Update 168) My Collection on the catalog: a slim bar across the full width under the three list cards, not a card
   sitting alone in the middle of a second row. Phones: the same bar under the stacked cards. */
.cvz-pv-plat.has-mine > .cvz-plat-cell-mine { grid-column: 1 / -1; }
.cvz-pv-plat .cvz-plat-cell-mine > a.cvz-plat-mine { padding: 10px 18px; align-items: center; }
.cvz-pv-plat a.cvz-plat-mine .ico { width: 40px; height: 40px; }
.cvz-pv-plat a.cvz-plat-mine .ico svg { width: 30px; height: 30px; }
.cvz-pv-plat a.cvz-plat-mine .txt { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.cvz-pv-plat a.cvz-plat-mine .txt small { margin: 0; }
.cvz-pv-plat a.cvz-plat-mine::after { content: "→"; margin-left: auto; padding-left: 12px; font-weight: 800; color: var(--accent-text, #b88600); }
@media (max-width: 767.98px) { .cvz-pv-plat.has-mine > .cvz-plat-cell-mine { grid-column: auto; } }

/* (Update 168) a tick box right under a text box, drop-down or another tick box gets breathing room (it sat touching
   the review box on game pages) */
.form-control + .cvz-check, .form-select + .cvz-check, textarea + .cvz-check, select + .cvz-check, .cvz-check + .cvz-check { margin-top: 10px; }
.cvz-check + .form-label, .cvz-check + label.form-label { margin-top: 10px !important; }
/* (Update 168, form spacing review) in a row the gap already spaces things: no extra top margin for a tick box there;
   a tick box after a group of buttons (fieldset) gets the same room as after a text box; the photo "Remove" tick box
   and the trade tick box use the site's 20px boxes; the photo-offer drop-down never runs past its card */
.d-flex > .cvz-check, .d-inline-flex > .cvz-check, .cvz-offer-copy form > .cvz-check { margin-top: 0; }
fieldset + .cvz-check { margin-top: 10px; }
.cvz-coll-photos figcaption { margin-top: 6px; }
.cvz-coll-trade > .form-check-input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; float: none; }
.cvz-offer-copy form .form-select { max-width: 100%; }

/* (Update 168) the small "?" on a card or button and the card it opens (Views/Shared/_InfoQ.cshtml, site.js data-infoq).
   The "?" matches the site's other round "?" buttons (.cvz-help): 28px, 2px outline. */
.cvz-plat-cell { position: relative; display: flex; min-width: 0; }
.cvz-plat-cell > a { flex: 1 1 auto; min-width: 0; padding-right: 48px !important; }
.cvz-infoq { position: absolute; top: 10px; right: 10px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; padding: 0;
  display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; line-height: 1;
  border: 2px solid var(--cvz-border); background: var(--cvz-surface-2); color: var(--cvz-text); background-clip: padding-box; cursor: pointer; }
.cvz-infoq:hover, .cvz-infoq:focus-visible { border-color: var(--accent, #f5b400); }
.cvz-infoq:focus-visible { outline: 2px solid var(--accent, #f5b400); outline-offset: 2px; }
.cvz-plat-cell > a.on ~ .cvz-infoq { background: rgba(255, 255, 255, .55); border-color: rgba(20, 22, 28, .35); color: #14161c; }
.cvz-plat-cell-mine .cvz-infoq { top: 50%; right: 44px; transform: translateY(-50%); }
@media (max-width: 767.98px) { .cvz-infoq { top: 50%; transform: translateY(-50%); } }
/* (Update 168) the list cards line up: every picture tile is the same size with its drawing the same height and centred,
   and the words start at the same place in every card (also My Collection's, and when the cards are stacked on phones);
   the title, count and line of text sit at the top of each card so they line up across the row */
.cvz-pv-plat .cvz-plat-cell > a { align-items: flex-start; }
.cvz-pv-plat a .ico.glyph, .cvz-pv-plat a .ico.glyph.wide, .cvz-pv-plat .cvz-plat-cell-mine > a .ico { width: 96px; height: 56px; padding: 0 8px; }
.cvz-pv-plat a .ico.glyph svg { width: auto; height: 34px; max-width: 100%; }
.cvz-pv-plat .cvz-plat-cell-mine > a .ico { height: 40px; }
.cvz-pv-plat .cvz-plat-cell-mine > a { align-items: center; }
@media (max-width: 767.98px) {
  .cvz-pv-plat .cvz-plat-cell > a { align-items: center; }
  .cvz-pv-plat a .ico.glyph, .cvz-pv-plat a .ico.glyph.wide, .cvz-pv-plat .cvz-plat-cell-mine > a .ico { width: 76px; height: 44px; padding: 0 6px; }
  .cvz-pv-plat a .ico.glyph svg { height: 26px; }
}

/* ===================== (Update 168) fixes from the 30-agent review ===================== */
/* tab bars that wrap onto several lines (Collection summary, Library kinds): a rounded box, not a clipped pill, and on
   phones no sideways-scroll fade (they wrap instead) */
.cvz-seg.cvz-seg-wrap, .cvz-seg.cvz-lib-types { border-radius: 18px; }
@media (max-width: 575.98px) {
  .cvz-seg.cvz-seg-wrap, .cvz-seg.cvz-lib-types { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 3px; }
}
/* the reader's toolbar sticks under the site header, like the other sticky bars */
.cvz-reader-bar { top: var(--stick, 64px); z-index: 20; }
/* search results: long words and long searches wrap instead of widening the page; highlighted words are readable */
.cvz-search-hits > li { min-width: 0; }
.cvz-search-hits a, .cvz-search-hits span, .cvz-reader-hits p, .cvz-lib-insidehits h2, .cvz-coll-count { overflow-wrap: anywhere; }
.cvz-search-hits mark, .cvz-reader-hits mark { color: var(--cvz-text); font-weight: 600; }
.cvz-reader-pagechips a.on { color: var(--accent-ink, #10131a); }
/* keyboard focus is always visible on the site's main buttons and the reader's buttons */
.btn-cvz:focus-visible, .cvz-reader-bar .btn:focus-visible, .cvz-lib-inside .btn:focus-visible { outline: 3px solid var(--r3, #2d7fd3); outline-offset: 2px; box-shadow: none; }
/* empty photo slots: a stronger dashed outline and readable labels */
.cvz-slots .want, .cvz-vslots a { border-color: color-mix(in srgb, var(--cvz-muted) 75%, transparent); }
.cvz-vslots a { width: auto; min-width: 64px; height: 44px; padding: 2px 6px; }
.cvz-vslots a span { font-size: .68rem; }
.cvz-slots figure img { aspect-ratio: 1 / 1; }
/* the list cards on the catalog stay stacked until there is room for all three names */
@media (min-width: 768px) and (max-width: 991.98px) {
  .cvz-pv-plat { grid-template-columns: 1fr; }
  .cvz-pv-plat > a, .cvz-pv-plat > .cvz-plat-cell, .cvz-pv-plat.has-mine > .cvz-plat-cell-mine { grid-column: auto; }
}
/* light theme: readable play pills, chip counts, free-to-read chips and the green play triangle */
[data-bs-theme="light"] .cvz-playpill { color: #fff !important; }
[data-bs-theme="light"] .cvz-seg .on .opacity-75, .cvz-seg[aria-label="Catalog sections"] .on span { opacity: 1 !important; }
.cvz-lib-types a .opacity-75 { opacity: .9 !important; }
[data-bs-theme="dark"] .cvz-chip.cvz-chip-free { color: #5fd08d; }
[data-bs-theme="light"] .cvz-pv-secs a.cvz-pv-play .tri { color: #1f7a33; }
/* the collector-notes box keeps its 4px coloured edge on 1x screens */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  details.cvz-cnotes { border-left-width: 4px !important; }
  /* rings drawn with a shadow (pager, back to list, rating scale, publisher cards) and the browse pages' Sign in pill */
  .cvz-pager a { box-shadow: inset 0 0 0 2px var(--cvz-border); }
  .cvz-pager a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
  .cvz-backtolist { box-shadow: inset 0 0 0 2px var(--cvz-border), 0 1px 3px rgba(0,0,0,.25); }
  .cvz-publist a { box-shadow: inset 0 0 0 2px var(--cvz-border); }
  .cvz-publist a:hover, .cvz-publist a:focus-visible { box-shadow: inset 0 0 0 2px var(--r3); }
  .cvz-collbar > a.signin, .input-group-text { border-width: 2px; background-clip: padding-box; }
  .cvz-rate-scale label { box-shadow: inset 0 0 0 2px var(--cvz-border); }
}
/* (Update 186) round edges on 1x screens for the clickable rounded boxes and radios added after the Update 163 list:
   the era timeline rows, the link cards, the copy editor's ownership choices and photo radios, the admin media tiles */
@media (max-resolution: 1.49dppx), (-webkit-max-device-pixel-ratio: 1.49) {
  .cvz-era-item, .cvz-linkcard, .cvz-own-choice, .cvz-mtile, .form-check-input[type=radio] { border-width: 2px; background-clip: padding-box; }
}
/* Collection summary on phones: long publisher names wrap and the table fits */
.cvz-coll-summary td:first-child a { overflow-wrap: anywhere; }
@media (max-width: 575.98px) { .cvz-coll-summary th, .cvz-coll-summary td { padding: 8px 6px; font-size: .88rem; } }

/* (Update 168) /identify: answer-chip links big enough to tap, long names wrap */
.cvz-id-answers a { display: inline-block; padding: 4px 4px; margin: -4px 0; }
.cvz-id-opts b, .cvz-id-results b { white-space: normal; }
/* section headings with links on the right (home page): the links keep their words together and wrap as a group */
.cvz-block-head > span { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; }
.cvz-block-head > span a { white-space: nowrap; margin: 0 !important; }
.cvz-block-head > span .cvz-rail-pause { margin: 0; }
@media (max-width: 575.98px) { .cvz-block-head { flex-wrap: wrap; align-items: center; } .cvz-block-head > span { justify-content: flex-start; } }
/* the dark "#" key stays readable when no titles start with a number (dimmed light text, not black on black) */
.cvz-key.dark.off { color: rgba(244, 244, 244, .4) !important; }
.cvz-lib-insidelink { overflow-wrap: anywhere; }
/* My Collection bar: its arrow sits at the far right, the "?" just left of it */
.cvz-pv-plat .cvz-plat-cell-mine > a { padding-right: 84px !important; }
.cvz-pv-plat .cvz-plat-cell-mine > a.cvz-plat-mine::after { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); margin: 0; padding: 0; }
@media (max-width: 767.98px) { .cvz-pv-plat .cvz-plat-cell-mine > a { padding-right: 70px !important; } .cvz-pv-plat .cvz-plat-cell-mine .cvz-infoq { right: 38px; } .cvz-pv-plat .cvz-plat-cell-mine .txt b { white-space: nowrap; } }

/* (Update 168) Playable games on phones: under the sideways-scrolling lists (and not also at their far end) */
.cvz-pv-play-phone { display: none; }
@media (max-width: 575.98px) {
  .cvz-pv-secs > a.cvz-pv-play { display: none; }
  .cvz-pv-play-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 8px 0 0; }
  .cvz-pv-play-phone a.cvz-pv-play { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--cvz-border);
    background: var(--cvz-surface); background-clip: padding-box; color: var(--cvz-text); text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
  .cvz-pv-play-phone a.cvz-pv-play .tri { color: #3aac4a; font-size: .8em; }
  .cvz-pv-play-phone a.cvz-pv-play > span:last-child { color: var(--cvz-muted); font-weight: 600; font-size: .8rem; }
}
[data-bs-theme="light"] .cvz-pv-play-phone a.cvz-pv-play .tri { color: #1f7a33; }

/* (Update 168, polish) */
.cvz-reader-numform { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.cvz-reader-num input { min-height: 31px; padding: 4px 8px; box-sizing: border-box; }
@media (max-width: 575.98px) { .cvz-reader-zoom { flex-basis: 100%; justify-content: flex-start; } .cvz-reader-num { font-size: .85rem; } }
/* (Update 186) on touch screens the reader's buttons (‹ Prev, Next ›, −, Fit, +) and page box were 27-31px tap targets:
   44px, as the site's other touch controls */
@media (pointer: coarse) { .cvz-reader-bar .btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } .cvz-reader-num input { min-height: 44px; } }
.cvz-cnt { color: var(--cvz-muted); font-weight: 600; }
.cvz-seg .on .cvz-cnt { color: inherit; }
.cvz-lib-doc-h { font-size: 1rem; font-weight: 700; }
.cvz-search-dialog input[type=search]::-webkit-search-cancel-button, #cvzSearchInput::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.cvz-help-grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cvz-panel p a[href^="mailto:"], .card-text, .card-text code, .cvz-panel code { overflow-wrap: anywhere; }
@media (max-width: 360px) { .cvz-pv-plat .cvz-plat-cell-mine > a .ico { width: 56px; } }
/* the small "no photo yet" cartridge: its tiny label text was unreadable, so it shows only the cartridge shape */
.cvz-cartph.sm .lbl i { display: none; }
/* filled and empty photo slots line up: empty ones stretch to the row's height */
.cvz-slots .want { aspect-ratio: auto; min-height: 78px; }
.cvz-notecard-text { margin: 0 0 10px 14px; font-size: .86rem; line-height: 1.5; color: #241d10; }
.cvz-notecard-text[hidden] { display: none; }

/* (Update 168) several lists combined: their descriptions in one fold-out note */
.cvz-pv-secnotes { margin: 8px 0 4px; }
.cvz-pv-secnotes > summary { cursor: pointer; font-size: .92rem; font-weight: 600; padding: 8px 14px; border-left: 3px solid var(--cvz-accent, #2a7bd6); background: var(--bs-tertiary-bg, rgba(127,127,127,.08)); border-radius: 0 8px 8px 0; }
.cvz-pv-secnotes[open] > summary { margin-bottom: 4px; }

/* (Update 168) phone full screen (filled window): size the TV by the visible height, which excludes Safari's bars */
.tv82-stage.pseudo-full .tv82 { width: min(94vw, calc(90dvh * var(--tvr, 1.35))); }
@media (orientation: landscape) and (max-height: 520px) {
  .tv82-stage.pseudo-full .tv82 { width: min(98vw, calc(97dvh * var(--tvr, 1.35))); }
  .tv82-stage.pseudo-full .tv82-exit { top: 8px; right: 8px; }
}

/* (Update 168) eBay stock status, on the right of each condition */
.cvz-usedhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cvz-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; white-space: nowrap; padding: 3px 10px; border-radius: 999px; border: 2px solid currentColor; line-height: 1.3; }
.cvz-stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.cvz-stock.in { color: #4cc26a; }
.cvz-stock.out { color: var(--bs-secondary-color, #9aa3ad); }
.cvz-stock.out i { background: transparent; border: 2px solid currentColor; }
.cvz-stock.unk { color: var(--bs-secondary-color, #9aa3ad); border-style: dashed; }
.cvz-stock.unk i { display: none; }
[data-bs-theme="light"] .cvz-stock.in { color: #1f7a33; }
/* (Update 186) 'Pre-order' / 'Made to order' and 'Low stock' were bright dark-theme colours on a pale tint (2.1-2.3:1) */
[data-bs-theme="light"] .cvz-stock.pre { color: #1f5f9e; }
[data-bs-theme="light"] .cvz-stock.low { color: #8a4500; }

/* (Update 168) /hardware: "Show all" under a group's first cards */
.cvz-hw-more { margin: 12px 0 0; text-align: center; }

/* ---- (Update 189, 190) The A–Z box (Views/Shared/_PadBoxStart + _PadBoxEnd, site.js "A–Z box") ----
   (Update 191) The controller slides in from the left every time the page is shown (its own slide-in, .cvz-pad.slide-in:
   past its place with the cord stretching, then pulled back; on phones it drops in from above), with no change to the
   page around it. One small button under it, on the right, closes it: the controller folds away, the page moves up,
   and the button (now "Open A–Z letters") is all that is left; it springs the controller open again. */
.cvz-padbox { display: flex; flex-direction: column; margin: 10px 0 6px; }
.cvz-padbox-body { position: relative; }
.cvz-padbox .cvz-pad { margin-bottom: 0; }
@media (min-width: 768px), (orientation: landscape) { .cvz-padbox .cvz-pad { margin-top: 0; } }   /* phones keep the room above for the cord */
.cvz-padbox-btn { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; min-height: 32px; padding: 4px 12px;
    border: 2px solid rgba(246, 198, 27, .55); background-clip: padding-box; border-radius: 999px; cursor: pointer;
    background-color: #17181d; color: #ffd166; font: 700 .72rem/1 var(--bs-font-sans-serif, system-ui, sans-serif); letter-spacing: .12em; text-transform: uppercase;
    transition: border-color .15s, color .15s, box-shadow .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.cvz-padbox-btn:hover { border-color: #f6c61b; color: #ffe08a; box-shadow: 0 0 10px rgba(246, 198, 27, .35); }
.cvz-padbox-btn:active { transform: scale(.96); }
.cvz-padbox-btn:focus-visible { outline: 3px solid var(--r3, #f6c61b); outline-offset: 2px; }
.cvz-padbox-chev { flex: none; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }   /* up: fold away; down: open */
.cvz-padbox.is-closed .cvz-padbox-chev { transform: rotate(180deg); }
.cvz-padbox.is-closed .cvz-padbox-body { display: none; }
.cvz-padbox.is-closed .cvz-padbox-btn { margin-top: 0; }
.cvz-padbox-body.moving { overflow: hidden; }
/* with scripts on, the controller waits (invisible, its space kept) until it springs open on screen; a safety net
   shows it after 8 seconds if the script never gets to it */
.cvz-js .cvz-padbox:not(.is-ready) .cvz-padbox-inner { opacity: 0; animation: cvzPadReveal 0s 8s forwards; }
@keyframes cvzPadReveal { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .cvz-js .cvz-padbox:not(.is-ready) .cvz-padbox-inner { opacity: 1; animation: none; }
    .cvz-padbox-chev { transition: none; }
}
[data-bs-theme="light"] .cvz-padbox-btn { background-color: #fff8e1; color: #6b4a00; border-color: rgba(176, 124, 0, .55); }
[data-bs-theme="light"] .cvz-padbox-btn:hover { border-color: #b07c00; color: #3d2a00; box-shadow: 0 0 10px rgba(176, 124, 0, .3); }
[data-bs-theme="light"] .cvz-padbox-btn:focus-visible { outline-color: #1d4f99; }

/* (Rebuild, Nov 2026) Pictures & documents from the archived sites (ViewComponents/ArchiveMediaViewComponent.cs) */
.cvz-arc { margin-top: 1rem; }
.cvz-arc-kind { font-size: 1rem; font-weight: 600; margin: 1rem 0 .5rem; }
.cvz-arc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.cvz-arc-pic { margin: 0; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
    background: var(--bs-tertiary-bg, #f3f3f3); border: 2px solid var(--bs-border-color, #ddd); border-radius: 6px;
    background-clip: padding-box; padding: 4px; overflow: hidden; }
.cvz-arc-pic img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; }
/* (Update 194) CVZ-0185: a one-line caption under each archive picture (what the file name says it shows) */
.cvz-arc-pic:has(figcaption) { flex-direction: column; gap: 2px; }
.cvz-arc-pic:has(figcaption) img { max-height: calc(100% - 1.3em); }
.cvz-arc-pic figcaption { font-size: .7rem; line-height: 1.2; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--bs-secondary-color, #666); }
.cvz-arc-docs { columns: 2 260px; padding-left: 1.2rem; margin: 0; }
.cvz-arc-docs li { break-inside: avoid; margin-bottom: .25rem; word-break: break-word; }
.cvz-arc-folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.cvz-arc-folder { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.cvz-arc-folder:hover .cvz-arc-fname { text-decoration: underline; }
.cvz-arc-fname { font-weight: 600; font-size: .9rem; }

/* ---- (Update 194) Phones, tablets and accessibility ---- */
/* Windows Contrast themes (forced colors): Bootstrap and the site show focus on buttons and fields with a box-shadow only,
   which those themes remove, so focus was invisible. A system-colored outline instead (the A–Z controller keeps its own). */
@media (forced-colors: active) {
    .btn:focus-visible, .form-control:focus, .form-select:focus, .form-check-input:focus-visible,
    .cvz-searchinput input:focus, .cvz-searchinput:focus-within, .cvz-hot:focus-visible, .cvz-aboutfold > summary:focus-visible,
    .cvz-finchart .cvz-bar:focus-visible, .cvz-video-43:focus-visible, .cvz-icard:focus-visible, .cvz-nav > button:focus-visible {
        outline: 2px solid CanvasText !important; outline-offset: 2px;
    }
    .cvz-searchinput input:focus { outline-offset: -2px; }
}
/* Touch targets of at least 24 px (WCAG 2.2, 2.5.8): card titles, the Play list names, "I know this" / "Send a photo" links */
.cvz-card-name a.title, .cvz-gname a.name, .cvz-pwlist a.send { display: inline-block; min-height: 24px; padding-block: 3px; margin-block: -3px; }
.cvz-gname a.name { display: block; }
@media (pointer: coarse) {
    main ul:not([class]) > li > a:only-child { display: inline-block; min-height: 24px; padding-block: 2px; }
}
/* Landscape tablets get the desktop header: roomier Explore links on touch, and no "/" keyboard hint without a keyboard */
@media (pointer: coarse) {
    .cvz-mega li a { padding-block: 10px; }
    .cvz-searchbtn kbd { display: none; }
}
/* The Explore panel never shows under the phone header (after a tablet is turned from landscape to portrait) */
@media (max-width: 991.98px) { .cvz-mega { display: none !important; } }
/* Small labels (chips, badges, era tags, rarity) are at least 12 px on phones */
@media (max-width: 575.98px) {
    .cvz-chip, .cvz-era-tag, .cvz-rp, .cvz-niad-t .chips .cvz-chip, .cvz-editions .cvz-chip, .cvz-gtile .cvz-own, .cvz-playpill { font-size: .75rem; }
}
/* The note for browsers older than the site supports (Views/Shared/_Layout.cshtml): shown only where color-mix() or :has() is
   missing (Safari before 16.2, Chrome/Edge before 111, Firefox before 121, Edge 18) */
.cvz-oldbrowser { display: none; }
@supports not ((color: color-mix(in srgb, red, blue)) and selector(:has(a))) {
    .cvz-oldbrowser { display: block; margin: 0; padding: 8px 16px; text-align: center; font-size: .9rem; background: #fff3c4; color: #10131a; border-bottom: 1px solid #d9b100; }
}

/* (Update 208) Combine lists: the how-to panel and the tick-box state, shown without a page reload */
.cvz-combine-help { margin: 10px 0 4px; padding: 14px 16px; border: 1px dashed var(--accent, #f5b400); border-radius: 12px; background: var(--cvz-surface); color: var(--cvz-text); font-size: .92rem; }
.cvz-combine-help .h { margin: 0 0 6px; font-size: 1rem; }
.cvz-combine-help ol { margin: 0 0 8px; padding-left: 1.3em; }
.cvz-combine-help ol li { margin: 2px 0; }
.cvz-combine-help .why { margin: 0 0 4px; }
.cvz-combine-help ul.ex { margin: 0 0 10px; padding-left: 1.3em; }
.cvz-combine-help ul.ex li { margin: 2px 0; }
.cvz-combine-help .act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.cvz-combine-help .act .cnt { color: var(--cvz-muted); font-size: .88rem; }
.cvz-pv-secs.cvz-combining > a:not([data-sec]):not([data-cvz-combine]) { display: none; }
.cvz-pv-secs.cvz-combining a[data-cvz-combine] { border-style: solid; }
.cvz-pv-secs a .box { margin-right: 2px; }
.cvz-pv-secs.cvz-combining { flex-wrap: wrap; overflow-x: visible; }   /* on phones the lists wrap while ticking, so every tick box can be seen */
/* (Update 211) search results: "Only games you can play here" and each result's Play link */
.cvz-search-play { font-size: .95rem; }
.cvz-search-play .form-check-input { cursor: pointer; }
.cvz-results a.cvz-chip-play { background: var(--accent, #f5b400); color: var(--accent-ink, #10131a); text-decoration: none; font-weight: 700; }

/* (Update 219) an event's own page plays its video on the ZoneVision TV: the TV alone (no story beside it, that's the
   page), a wider column for it, and "Watch full screen" under it */
.cvz-era-tv.cvz-era-tv-solo { display: block; }
.cvz-era-tv.cvz-era-tv-solo .tv82 { margin: 0 auto; }
.cvz-era-tv-actions { margin: 10px 0 4px; text-align: center; }
.cvz-era-body.has-tv { grid-template-columns: 1fr minmax(300px, 560px); }
@media (max-width: 720px) { .cvz-era-body.has-tv { grid-template-columns: 1fr; } }

/* (Update 220) an event's own page as The ColecoVision Courier (Views/Era/Details.cshtml): the home page's newspaper
   (.cvz-era-paper) at page size, centred nameplate, section label, headline and standfirst, a ruled two-column body
   (story with the ZoneVision TV or photo | the day's other news) and that year's releases along the foot */
.cvz-era-edition { max-width: 1120px; margin: 0 auto; padding: 22px 34px 26px; }
.cvz-era-edition .np-name { font-size: clamp(2.2rem, 6vw, 4.2rem); margin: 6px 0 8px; }
.cvz-era-edition .np-section { display: flex; align-items: center; gap: 14px; margin: 16px 0 4px; font: 800 .74rem/1 "Libre Franklin", Arial, sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.cvz-era-edition .np-section::before, .cvz-era-edition .np-section::after { content: ""; flex: 1; border-top: 1px solid var(--ink); }
.cvz-era-edition .np-banner { text-align: center; font-size: clamp(1.8rem, 4.4vw, 3.1rem); margin: 6px auto 10px; max-width: 26ch; }
.cvz-era-edition .np-deck { text-align: center; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.45; max-width: 62ch; margin: 0 auto 16px; }
.cvz-era-edition .np-body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-top: 16px; border-top: 3px double var(--ink); }
.cvz-era-edition .np-lead { padding-right: 24px; }
.cvz-era-edition .np-side { padding-left: 24px; }
.cvz-era-edition .np-text { font-size: 1rem; line-height: 1.55; margin: 0 0 12px; }
.cvz-era-edition .np-text.np-cols { column-count: 2; column-gap: 24px; column-rule: 1px solid rgba(27,26,23,.35); }
.cvz-era-edition .np-ears { align-items: stretch; }
.cvz-era-edition .ear { width: 13rem; max-width: 40%; display: flex; align-items: center; }
.cvz-era-edition .ear.r { justify-content: flex-end; }
.cvz-era-edition .np-text::first-letter { float: left; font: 900 3.1em/.8 "Libre Franklin", Arial, sans-serif; margin: .06em .08em 0 0; }
.cvz-era-edition .np-note { font-size: .86rem; font-style: italic; border-left: 3px solid var(--ink); padding: 2px 0 2px 10px; margin: 0 0 12px; }
.cvz-era-edition .np-more { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--ink); }
.cvz-era-edition .np-more a { text-decoration: underline; text-underline-offset: 2px; }
.cvz-era-edition .np-tv { margin: 4px 0 16px; padding: 18px 12px 12px; background: #141311; border: 1px solid var(--ink); }
/* (Update 221) no max-width here: it outranked the full-screen size, so "Watch full screen" left the TV small (.tv82 already stops at 560px on the page) */
.cvz-era-edition .np-cap { margin: 10px 0 0; text-align: center; color: #e9e0c8; font: 700 .74rem/1.35 "Libre Franklin", Arial, sans-serif; }
.cvz-era-edition .np-cap .np-credit { margin-top: 2px; }
.cvz-era-edition .np-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #e9e0c8; border-radius: 2px; background: transparent; color: #e9e0c8; cursor: pointer;
  font: 800 .7rem/1 "Libre Franklin", Arial, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.cvz-era-edition .np-btn:hover, .cvz-era-edition .np-btn:focus-visible { background: #e9e0c8; color: #141311; }
.cvz-era-edition .cvz-era-tv-actions { margin: 12px 0 0; }
.cvz-era-edition .np-photo.np-photo-wide { margin: 4px 0 16px; }
.cvz-era-edition .np-box { padding: 0 0 12px; margin-bottom: 14px; }
.cvz-era-edition .np-box:last-child { border-bottom: 0; margin-bottom: 0; }
.cvz-era-edition .np-h { font: 900 .82rem/1.2 "Libre Franklin", Arial, sans-serif; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; padding-bottom: 4px; border-bottom: 2px solid var(--ink); }
.cvz-era-edition .np-box p, .cvz-era-edition .np-list li { font-size: .86rem; line-height: 1.42; margin: 0 0 7px; }
.cvz-era-edition .np-box a, .cvz-era-edition .np-list a, .cvz-era-edition .np-games a { text-decoration: underline; text-decoration-color: rgba(27,26,23,.4); text-underline-offset: 2px; }
.cvz-era-edition .np-src { font: 700 .62rem/1.3 "Libre Franklin", Arial, sans-serif; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.cvz-era-edition .np-list { list-style: none; padding: 0; margin: 0; }
.cvz-era-edition .np-list li { padding-left: 12px; position: relative; }
.cvz-era-edition .np-list li::before { content: "▪"; position: absolute; left: 0; font-size: .7em; top: .2em; }
.cvz-era-edition .np-strip { margin-top: 18px; padding-top: 14px; border-top: 3px double var(--ink); text-align: center; }
.cvz-era-edition .np-strip .np-h { display: inline-block; border-bottom: 0; margin-bottom: 4px; }
.cvz-era-edition .np-strip-lede { font-style: italic; font-size: .9rem; margin: 0 0 8px; }
.cvz-era-edition .np-games { font-size: .88rem; line-height: 1.8; margin: 0 auto; max-width: 90ch; }
.cvz-era-edition .np-strip .np-more { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .cvz-era-edition .np-text.np-cols { column-count: 1; } }
@media (max-width: 760px) {
  .cvz-era-edition { padding: 16px 16px 20px; }
  .cvz-era-edition .np-body { grid-template-columns: 1fr; }
  .cvz-era-edition .np-lead { padding-right: 0; border-right: 0; }
  .cvz-era-edition .np-text { text-align: left; hyphens: manual; }
  .cvz-era-edition .ear { width: auto; max-width: none; }
  .cvz-era-edition .np-side { padding-left: 0; margin-top: 16px; padding-top: 14px; border-top: 3px double var(--ink); }
  .cvz-era-edition .np-tv { padding: 12px 6px 10px; }
}
