:root{color-scheme:dark;
  --bg:#1a0709;--bg2:#2a0d11;--card:#3a1318;--line:#6b2a31;
  --text:#f8ecec;--muted:#cfaeb1;
  --violet:#c0303a;--cyan:#ff6b81;--pink:#f43f8e;--lime:#a3e635;
  --grad:linear-gradient(135deg,#c0303a,#ff6b81);
  --font-h:'Orbitron',sans-serif;--font-b:'Rubik',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-b);line-height:1.6;
  background-image:radial-gradient(circle at 15% 0%,rgba(192,48,58,.28),transparent 40%),radial-gradient(circle at 90% 20%,rgba(255,107,129,.12),transparent 35%);
  background-attachment:fixed}
img,video,iframe{max-width:100%;height:auto}
h1,h2,h3{font-family:var(--font-h);line-height:1.2;margin:0 0 .6em;overflow-wrap:anywhere}
h1{font-size:clamp(1.8rem,6vw,3.4rem)}
h2{font-size:clamp(1.4rem,4.5vw,2.2rem)}
h3{font-size:1.1rem}
p{margin:0 0 1em;color:var(--muted)}
a{color:var(--cyan)}
.wrap{width:min(1120px,100% - 32px);margin-inline:auto}
section{padding:clamp(40px,7vw,80px) 0}

/* header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(26,7,9,.88);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;padding:10px max(16px,calc((100% - 1120px)/2))}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--font-h);font-weight:900;letter-spacing:.12em;color:#fff;text-decoration:none;font-size:1.2rem;min-height:44px}
.logo svg{width:34px;height:34px}
.site-nav{display:flex;gap:6px}
.site-nav a{color:var(--muted);text-decoration:none;padding:10px 14px;border-radius:10px;font-weight:500;min-height:44px;display:inline-flex;align-items:center}
.site-nav a:hover{color:#fff;background:var(--card)}
.site-nav a.active{color:#fff;background:var(--card);box-shadow:inset 0 -2px 0 var(--cyan)}
.menu-toggle{display:none;background:var(--card);color:#fff;border:1px solid var(--line);border-radius:10px;font-size:1.4rem;cursor:pointer}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:12px;border:0;
  background:var(--grad);color:#fff;font:600 1rem var(--font-b);text-decoration:none;cursor:pointer;box-shadow:0 8px 30px rgba(192,48,58,.35);transition:transform .15s}
.btn:hover{transform:translateY(-2px)}
.btn.ghost{background:transparent;border:1px solid var(--line);box-shadow:none;color:#fff}
.btn.play{background:#fff;color:#0b0b18;box-shadow:none}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}

/* hero */
.hero{padding:clamp(50px,10vw,120px) 0 clamp(40px,7vw,80px)}
.hero .tag{display:inline-block;border:1px solid var(--line);background:var(--card);color:var(--cyan);padding:4px 14px;border-radius:99px;font-size:.85rem;margin-bottom:18px}
.hero h1 span{background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{font-size:1.15rem;max-width:620px}
.hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}

/* cards */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px;transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-4px);border-color:var(--violet)}
.icon{width:52px;height:52px;border-radius:14px;background:var(--grad);display:grid;place-items:center;margin-bottom:16px}
.icon svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sec-head{max-width:640px;margin-bottom:36px}
.eyebrow{font-family:var(--font-h);font-size:.8rem;letter-spacing:.2em;color:var(--cyan);text-transform:uppercase;margin-bottom:10px;display:block}
.band{background:var(--bg2);border-block:1px solid var(--line)}
.page-title{padding:clamp(96px,11vw,130px) 0 10px}

/* phone */
.phone{position:relative;flex:0 0 auto;width:170px;aspect-ratio:9/19;border:7px solid #23233f;border-radius:30px;overflow:hidden;background:#000;box-shadow:0 20px 50px rgba(0,0,0,.5),0 0 0 1px var(--line)}
.phone::before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:38%;height:14px;border-radius:99px;background:#000;z-index:2}
.phone .scr{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px;color:#fff;font-family:var(--font-h);font-size:.75rem}
.phone .scr small{font-family:var(--font-b);opacity:.8}
.phone img{width:100%;height:100%;object-fit:cover;display:block}
.hero-phones{display:flex;justify-content:center;gap:16px}
.hero-phones .phone:nth-child(2){margin-top:40px}

/* games */
.game-card{padding:0;overflow:hidden;cursor:pointer;text-align:left;color:inherit;font:inherit;width:100%}
.cover{aspect-ratio:16/10;display:grid;place-items:center;font-family:var(--font-h);font-weight:900;font-size:2.4rem;color:rgba(255,255,255,.92);letter-spacing:.05em;position:relative;overflow:hidden}
.cover::after{display:none}
.cover img{width:100%;height:100%;object-fit:cover}
.game-card .body{padding:16px 20px 20px}
.game-card h3{margin:0 0 6px}
.game-card .more{color:var(--cyan);font-size:.9rem;font-weight:500}
.game-card,.game-card:hover,.game-card:focus,.game-card:focus-visible{border-color:rgba(255,255,255,.14);box-shadow:none;outline:none}
.game-card:hover{transform:none;border-color:rgba(255,255,255,.3)}

dialog{border:1px solid var(--line);border-radius:22px;background:var(--bg2);color:var(--text);padding:0;width:min(900px,calc(100% - 24px));max-height:92vh;overflow:auto}
dialog::backdrop{background:rgba(15,3,5,.82);backdrop-filter:blur(4px)}
.dlg-head{position:relative;padding:28px 28px 20px}
.dlg-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:#fff;font-size:1.3rem;cursor:pointer}
.dlg-body{padding:0 28px 30px}
.shots{display:flex;gap:18px;overflow-x:auto;padding:10px 4px 20px;scroll-snap-type:x mandatory}
.shots .phone{scroll-snap-align:center}
.note{font-size:.85rem;color:var(--muted);border:1px dashed var(--line);border-radius:10px;padding:8px 12px;display:inline-block}
.example{display:inline-block;font-size:.75rem;color:#0b0b18;background:var(--lime);border-radius:99px;padding:2px 10px;font-weight:600;margin-bottom:12px}

/* forms */
form{display:grid;gap:14px;max-width:560px}
label{display:grid;gap:6px;font-weight:500}
input[type=text],input[type=email],input[type=tel],select,textarea{width:100%;background:var(--card);border:1px solid var(--line);border-radius:12px;color:var(--text);font:16px var(--font-b);padding:0 1rem}
input[type=text],input[type=email],input[type=tel],select{height:3rem}
textarea{padding:.8rem 1rem;min-height:140px}
input:focus,textarea:focus,select:focus{outline:2px solid var(--cyan);border-color:transparent}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:36px 0;margin-top:40px;color:var(--muted)}
.foot{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 16px}
.foot nav a{color:var(--muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}

@media (max-width:768px){
  .menu-toggle{display:block;min-width:44px;min-height:44px}
  .site-nav{display:none}
  .menu-open .site-nav{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--bg2);padding:10px 16px 16px;border-bottom:1px solid var(--line)}
  .hero-grid{grid-template-columns:1fr}
  .hero-phones .phone{width:120px}
  .dlg-head{padding:24px 18px 16px}.dlg-body{padding:0 18px 24px}
  .phone{width:150px}
}

.logo img{height:26px;width:auto;display:block;filter:invert(1) hue-rotate(180deg) ;mix-blend-mode:screen}

.lang-toggle{min-width:44px;min-height:40px;margin-left:12px;padding:0 12px;border-radius:10px;border:1px solid rgba(255,107,129,.6);background:transparent;color:#ff6b81;font:600 .85rem 'Orbitron',sans-serif;letter-spacing:.05em;cursor:pointer}
.lang-toggle:hover{background:rgba(255,107,129,.12)}
@media (max-width:768px){.lang-toggle{order:2;margin-left:auto;margin-right:8px}.menu-toggle{order:3}}

body{padding-top:64px}
.lang-toggle{padding:0!important;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
.lang-toggle svg{width:26px;height:18px;border-radius:3px;display:block;box-shadow:0 0 0 1px rgba(255,255,255,.3)}

/* game cards: no red glow */
.card.game-card,.card.game-card:hover,.card.game-card:focus,.card.game-card:focus-visible{border:1px solid rgba(255,255,255,.14)!important;box-shadow:none!important;outline:none;transform:none!important;background-image:none!important}
.card.game-card:hover{border-color:rgba(255,255,255,.3)!important}
.card.game-card::before,.card.game-card::after{display:none!important}

/* game card text area: dark */
.card.game-card{background:#1c1618!important}
.game-card .body{background:#1c1618}
.game-card .more{color:#dc143c!important}

/* app icon in title row */
.game-card .title-row{display:flex;align-items:center;gap:.7rem}
.game-card .title-row h3{margin:0;min-width:0;overflow-wrap:anywhere}
.game-card .app-icon{flex:0 0 40px;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-family:'Orbitron',sans-serif;font-weight:700;font-size:.8rem;color:#fff;overflow:hidden}
.game-card .app-icon img{width:100%;height:100%;object-fit:cover}

/* credits */
.credits{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:12px;margin:0 0 20px}
.credits dt{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--cyan,#ff6b81);margin-bottom:2px}
.credits dd{margin:0;font-weight:500;overflow-wrap:anywhere}
.credits dd.tba{opacity:.55;font-weight:400;font-style:italic}

/* dialog header icon + thumbnail */
.dlg-cover{height:150px;display:flex;align-items:center;justify-content:center;font-family:Orbitron,sans-serif;font-weight:900;font-size:2.6rem;color:rgba(255,255,255,.9);overflow:hidden;border-radius:14px;margin-bottom:14px}
.dlg-cover img{width:100%;height:100%;object-fit:cover}
.dlg-titlerow{display:flex;align-items:center;gap:14px}
.dlg-titlerow h2{margin:0}
.dlg-titlerow .app-icon{width:56px;height:56px;flex:none;font-size:1rem}

/* socials */
.foot-left{display:flex;flex-direction:column;gap:14px}
.socials{display:flex;gap:10px}
.socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);color:#fff;transition:background .2s,color .2s}
.socials a:hover{background:#dc143c;border-color:#dc143c}
.socials svg{width:20px;height:20px;fill:currentColor}

/* studio logos */
.credits dd.tba{opacity:1;font-style:normal}
.credits dd{display:flex;flex-direction:column;gap:8px}
.studio{display:flex;align-items:center;gap:10px}
.studio-logo{flex:0 0 auto;width:44px;height:44px;border-radius:10px;background:#1c1618;border:1px solid rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center;overflow:hidden;font-family:Orbitron,sans-serif;font-size:.8rem;font-weight:700;color:#fff}
.studio-logo img{width:100%;height:100%;object-fit:contain;padding:5px;box-sizing:border-box}
.studio-logo.empty{border-style:dashed;color:rgba(255,255,255,.45);font-size:1.2rem}
.tba .studio-name{opacity:.55;font-style:italic;font-weight:400}

/* platforms + homebrew */
.chip{display:inline-block;padding:4px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.25);font-size:.85rem;margin:0 6px 6px 0}
.game-card{position:relative}
.hb-badge{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.hb-badge-dlg{width:30px;height:30px;border-radius:50%;margin-left:8px}
.studio-note{display:block;font-size:.75rem;opacity:.7;font-weight:400}

/* search + filters */
.game-card[hidden]{display:none!important}
.filterbar{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;margin-bottom:10px}
.filterbar input[type=search]{flex:1 1 260px;min-width:0;height:48px;padding:0 16px;font-size:16px;color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:12px;box-sizing:border-box}
.filterbar input[type=search]:focus{outline:none;border-color:#dc143c}
.filterbar input::placeholder{color:rgba(255,255,255,.5)}
.fgroup{display:flex;flex-wrap:wrap;gap:8px}
.fchip{min-height:44px;padding:0 16px;font:inherit;font-size:.9rem;color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:999px;cursor:pointer}
.fchip:hover{border-color:rgba(255,255,255,.4)}
.fchip.on{background:#dc143c;border-color:#dc143c}
.fcount{margin:0 0 18px;font-size:.85rem;opacity:.65}
.fempty{text-align:center;padding:30px 0;opacity:.8}

.fselect{appearance:none;height:44px;padding:0 2.5rem 0 1rem;border-radius:999px;border:1px solid rgba(255,255,255,.14);background-color:#1c1618;color:#fff;font:inherit;font-size:16px;cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);background-size:.375rem .375rem;background-position:right 1.375rem center,right 1rem center;background-repeat:no-repeat}
.fselect:focus-visible{outline:2px solid #dc143c;outline-offset:2px}
@media(max-width:768px){.fselect{width:100%}}

/* card platform labels */
.card-plats{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 14px;background:#1c1618;margin-top:-2px}
.card-plats .chip{font-size:.72rem;padding:3px 9px}
#dlg .credits div[hidden]{display:none}

/* game dialog: actions, tagline, video, lightbox */
.dlg-tagline{margin:6px 0 0;color:var(--muted,#c9b8bc);font-size:1.02rem}
.dl-row{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.dl-row .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.dl-row .btn.disabled{opacity:.45;pointer-events:none}
.dl-row .btn.share{background:transparent;border:1px solid rgba(255,255,255,.25);color:inherit;cursor:pointer;font:inherit;padding:0 18px;border-radius:999px}
.dlg-socials{margin:0 0 18px}
.dlg-socials[hidden],#dlg-video-wrap[hidden],.lb[hidden]{display:none}
.video{position:relative;aspect-ratio:16/9;margin:0 0 22px;border-radius:12px;overflow:hidden;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#dlg-shots{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:10px}
#dlg-shots .phone{flex:0 0 auto;scroll-snap-align:start;cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.92);display:flex;align-items:center;justify-content:center}
.lb-stage{display:flex;align-items:center;justify-content:center;max-height:90vh}
.lb-stage .phone{width:min(74vw,320px);max-height:88vh;cursor:default}
.lb-x,.lb-nav{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:1.6rem;cursor:pointer}
.lb-x{top:14px;right:14px}.lb-prev{left:10px}.lb-next{right:10px}
.lb-x:hover,.lb-nav:hover{background:#dc143c}

/* store icons */
.btn.play{display:inline-flex;align-items:center;gap:10px}
.store-ico{width:22px;height:22px;fill:currentColor;flex:none}

/* thumbnails: fixed card size, image fits inside */
.cover{aspect-ratio:16/10!important}
.cover:has(img){background:#0e0a0b!important;display:grid!important}
.cover img{width:100%!important;height:100%!important;object-fit:contain!important;display:block}
.dlg-cover:has(img){height:260px!important;background:#0e0a0b!important;display:flex!important}
.dlg-cover img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}

/* thumbnail on card only; show logo area */
.cover img{object-fit:cover!important;object-position:50% 50%!important}
#dlg-cover{display:none!important}

/* landscape screenshots: phone turns 90 degrees */
.phone.rot{width:auto;height:170px;aspect-ratio:19/9;border-radius:30px}
.phone.rot::before{top:50%;left:6px;transform:translateY(-50%);width:14px;height:38%}
.phone.rot img{width:100%;height:100%;object-fit:cover;position:static;transform:none}
.lb-stage .phone.rot{width:min(88vw,640px);height:auto;max-height:80vh}
@media(max-width:768px){.phone.rot{height:150px}}

/* lighter red for Modoka publisher icon */
img[src$="b005d22a.png"]{filter:brightness(2.4) saturate(1.6) contrast(1.1)}

.store-ico{width:26px;height:26px}

.card-year{margin-left:auto;font-size:.78rem;color:var(--muted,#b9a9ad);align-self:center}

/* release date above download buttons */
.dlg-release{margin:0 0 14px;color:var(--muted,#b9a9ad);font-size:.95rem}
.dlg-release strong{color:#fff;font-weight:500}
/* filters in one row */
.filterbar{gap:10px}
.filterbar input[type=search]{flex:1 1 200px}
.filterbar .fselect{width:auto;flex:0 1 180px;min-width:0}
@media(max-width:768px){.filterbar .fselect{flex:1 1 calc(50% - 10px)}}
/* no dark strip above cover */
.card.game-card{padding:0!important;display:flex;flex-direction:column;gap:0}
.card.game-card .cover{margin:0!important;border-radius:0}

.store-region{opacity:.8;font-weight:400}

/* region badge (corner of card) */
.region-badge{position:absolute;top:10px;right:10px;padding:5px 11px;border-radius:999px;background:#1c1618;border:1.5px solid #dc143c;color:#fff;font-size:.72rem;font-weight:600;letter-spacing:.02em;box-shadow:0 2px 8px rgba(0,0,0,.5)}
.hb-badge~.region-badge{right:52px}
.region-note{flex-basis:100%;margin:4px 0 0;padding:8px 12px;border-left:3px solid #dc143c;background:rgba(220,20,60,.12);border-radius:6px;font-size:.88rem}

.store-img{border-radius:6px;object-fit:cover;fill:none}

/* delisted banner at very top of game dialog */
.dlg-banner{background:#dc143c;color:#fff;font-weight:600;font-size:.9rem;text-align:center;padding:10px 48px 10px 16px;letter-spacing:.01em}
.dlg-banner[hidden]{display:none}

/* credits */
.crew{display:grid;grid-template-columns:minmax(0,max-content) 1fr;gap:8px 20px;margin:0 0 8px}
.crew div{display:contents}
.crew dt{color:var(--muted,#b9a9ad);font-size:.9rem}
.crew dd{margin:0;color:#fff;overflow-wrap:anywhere}

/* Saddies icon: crop away white edge */
img[src$="2fbb4315.png"]{transform:scale(1.14);transform-origin:center}

.itch-img{filter:brightness(0) invert(1);border-radius:0;object-fit:contain}

/* plain (PC) screenshots: no phone frame */
.plainshot{flex:none;width:min(340px,78vw);aspect-ratio:16/9;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.18);background:#000;cursor:pointer;scroll-snap-align:start}
.plainshot img{width:100%;height:100%;object-fit:cover;display:block}
#lb-stage .plainshot{width:min(92vw,900px);cursor:default}

/* year: fixed bottom-right corner of every card */
.game-card{position:relative;padding-bottom:0}
.game-card .card-plats{padding-bottom:34px}
.game-card .card-year{position:absolute;right:16px;bottom:12px;margin:0;font-size:.78rem;color:var(--muted,#b9a9ad)}

/* compact game cards */
.game-card .cover{aspect-ratio:16/9!important}
.game-card .body{padding:12px 14px 8px!important}
.game-card .card-plats{padding:0 14px 30px!important;gap:5px;margin-top:0}
.game-card .card-plats .chip{font-size:.7rem;padding:2px 8px}
.game-card .card-year{right:14px;bottom:9px}
.game-card:not(:has(.card-plats)){padding-bottom:30px}

/* Imperia JSC logo: drop black background */
img[src$="0601e71e.png"]{mix-blend-mode:screen;background:transparent}

/* platform labels: one line, scroll sideways */
.game-card .card-plats{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:34px}
.game-card .card-plats::-webkit-scrollbar{display:none}
.game-card .card-plats .chip{flex:none;white-space:nowrap}

/* Lost Knight: wide title logo, show whole image on light background */
.cover:has(img[src$="0bffce2a.png"]){background:#f4efe6!important}
.cover img[src$="0bffce2a.png"]{object-fit:contain!important;padding:0 8px}

.dlg-orig{display:block;margin-top:4px;font-size:.78rem;color:var(--muted,#b9a9ad);opacity:.85}

/* ATRcade logo: black on white -> white on transparent */
img[src$="c919641a.png"]{filter:invert(1);mix-blend-mode:screen;background:transparent;object-fit:contain;transform:scale(1.35)}

/* BDef icon: white tile, logo fills the square */
.app-icon:has(img[src$="fa395228.png"]){background:#fff!important}
.app-icon img[src$="fa395228.png"]{object-fit:contain!important;transform:scale(1.18);transform-origin:50% 48%}

/* Project Sonymon icon: round logo, no white corners */
.app-icon:has(img[src$="d686a460.png"]){background:transparent!important}
.app-icon img[src$="d686a460.png"]{border-radius:50%;object-fit:contain!important;transform:scale(1.08)}

.hb-pre{font-size:.72em;font-weight:500;opacity:.75;letter-spacing:.01em}

/* homebrew prefix: smaller, one line */
.hb-pre{display:inline-block;white-space:nowrap;font-size:.6em!important;letter-spacing:0}
.game-card h3 .hb-pre{font-size:.62em!important}

/* Internet Archive logo: black on white -> white on transparent */
.ia-img{filter:invert(1);mix-blend-mode:screen;border-radius:0;object-fit:contain;background:transparent}

/* PSP frame for Homebrew screenshots */
.pspshot{position:relative;flex:none;width:min(360px,84vw);aspect-ratio:543/221;cursor:pointer;scroll-snap-align:start}
.pspshot img{position:absolute;left:21.7%;top:8.1%;width:56.5%;height:79.6%;object-fit:cover;display:block;background:#000}
.pspshot .psp-bezel{position:absolute;inset:0;background:url(psp-frame.svg) center/100% 100% no-repeat;pointer-events:none}
#lb-stage .pspshot{width:min(92vw,820px);cursor:default}

/* FJM Homebrew logo: black-on-white -> transparent, coral tint */
img[src$="be07b06d.png"]{filter:invert(1);mix-blend-mode:screen;background:transparent;object-fit:contain}

.gb-img{border-radius:4px;object-fit:contain;width:28px;height:28px}

/* Homebrew showcase: own section */
.hb-section{margin-top:56px;padding-top:32px;border-top:1px solid rgba(255,255,255,.12)}
.hb-section[hidden]{display:none}
.hb-heading{font-family:'Orbitron',sans-serif;font-size:clamp(1.3rem,4vw,1.9rem);margin:0 0 22px;color:#fff}

/* download buttons are white: show store logos dark */
.btn .ia-img{filter:none;mix-blend-mode:multiply}
.btn .itch-img{filter:brightness(0);mix-blend-mode:normal}

/* IndieDB logo: black on transparent, wide */
.btn .idb-img{width:46px;height:auto;max-height:26px;border-radius:0;object-fit:contain;filter:none;mix-blend-mode:multiply}

/* round developer logos (Kosmicsoft) */
img[src$="6f688f4b.png"]{border-radius:50%;object-fit:cover}

/* tiny pixel-art icon: keep it crisp */
img[src$="e168d6dd.png"]{image-rendering:pixelated}

/* Sonymon thumbnail: white background, show whole image */
.cover:has(img[src$="8985ec78.png"]){background:#fff!important}
.cover img[src$="8985ec78.png"]{object-fit:contain!important}

/* Team Unsilenced logo: black text on white */
img[src$="b7a174a8.png"]{object-fit:contain;background:transparent;filter:invert(1);mix-blend-mode:screen}

#mainsec[hidden]{display:none}
#mainsec .hb-heading{margin-bottom:22px}

.sec-intro{max-width:70ch;margin:-8px 0 24px;color:var(--muted,#b9a9ad);font-size:.98rem;line-height:1.6}

/* brand icons after section titles */
.brand-ico{height:1.05em;width:auto;vertical-align:-.12em;margin-left:.35em;object-fit:contain}
.brand-fjm{filter:invert(1);mix-blend-mode:screen;background:transparent}

.sec-intro{max-width:none!important;width:100%}

/* MK PSP flame icon: transparent, show whole flame */
.app-icon:has(img[src$="2d1e64c2.png"]){background:#1c1618!important}
.app-icon img[src$="2d1e64c2.png"]{object-fit:contain!important;padding:4px}

/* Sonymon icon: crisp pixels at higher resolution */
img[src$="sonymon-icon-hq.webp"]{image-rendering:pixelated}

/* DH PSP icon: crop thin white edge */
.app-icon img[src$="dhpsp-icon-hq2.png"]{transform:scale(1.08)}

/* Slender Portable icon: crop the red glow around the tile */
.app-icon:has(img[src$="slender-icon-hq.webp"]){background:#191a1a!important}
.app-icon img[src$="slender-icon-hq.webp"]{transform:scale(1.24);object-fit:cover}

/* GamersGate logo: round, full colour */
.gg-img{border-radius:50%;object-fit:cover;filter:none;mix-blend-mode:normal}

/* homebrew disclaimer at the bottom of the game dialog */
.hb-disclaimer{margin:28px 0 4px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);font-size:.8rem;line-height:1.55;color:var(--muted,#b9a9ad)}
.hb-disclaimer strong{color:#fff;font-weight:600}
.hb-disclaimer[hidden]{display:none}

/* Divisions: full-width banners */
.division-list{display:flex;flex-direction:column;gap:18px}
.division-banner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:24px 28px;border-radius:18px;background:linear-gradient(100deg,rgba(220,20,60,.16),rgba(30,12,14,.85) 55%);border:1px solid rgba(255,255,255,.12)}
.db-logo{width:88px;height:88px;border-radius:20px;background:linear-gradient(145deg,#d93a52,#7a1426);display:flex;align-items:center;justify-content:center;overflow:hidden}
.db-logo svg{width:44px;height:44px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.db-logo img{width:100%;height:100%;object-fit:cover}
.db-body h3{margin:6px 0 6px;font-size:clamp(1.15rem,3vw,1.6rem)}
.db-body p{margin:0;color:var(--muted,#b9a9ad);max-width:62ch}
.db-link{white-space:nowrap;font-weight:500;color:#ff6b81;text-decoration:none;padding:10px 4px}
.db-link:hover{text-decoration:underline}
@media (max-width:640px){.division-banner{grid-template-columns:auto 1fr;gap:16px;padding:18px}.db-logo{width:64px;height:64px;border-radius:16px}.db-logo svg{width:32px;height:32px}.db-link{grid-column:1 / -1}}

/* FJM Homebrew banner */
.db-fjm .db-logo{background:#1c1618;border:1px solid rgba(255,255,255,.14)}
.db-fjm .db-logo img{width:70%;height:70%;object-fit:contain}
.db-status{display:inline-block;margin-bottom:6px;padding:2px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.28);color:var(--muted,#b9a9ad);font-size:.72rem;font-weight:500;letter-spacing:.02em}

/* former / defunct divisions */
.former-section{margin-top:56px;padding-top:32px;border-top:1px solid rgba(255,255,255,.12)}
.former-heading{font-family:'Orbitron',sans-serif;font-size:clamp(1.3rem,4vw,1.9rem);margin:0 0 8px;color:#fff}
.former-intro{margin:0 0 22px;color:var(--muted,#b9a9ad)}
.former-section .division-banner{opacity:.92}

.db-years{display:inline-block;margin-left:8px;font-size:.78rem;color:var(--muted,#b9a9ad);letter-spacing:.02em;vertical-align:middle}

/* Modoka Publishing: wide logo on white tile */
.db-logo.db-wide{width:170px!important;max-width:34vw;background:#fff!important;padding:10px 12px;display:flex;align-items:center;justify-content:center}
.db-logo.db-wide img{width:100%;height:auto;max-height:100%;object-fit:contain;filter:none!important;mix-blend-mode:normal!important}

/* Division logos: same wide frame, centred, dark tile */
.db-fjm .db-logo,.db-mpub .db-logo{width:170px!important;height:88px;max-width:34vw;background:#1c1618!important;border:1px solid rgba(255,255,255,.14);padding:10px 14px;display:flex;align-items:center;justify-content:center}
.db-fjm .db-logo img{width:auto!important;height:100%!important;max-width:100%;object-fit:contain!important}
/* Modoka Publishing: white background removed (transparent look), letters lightened for the dark tile */
.db-mpub .db-logo img{width:100%!important;height:auto!important;max-height:100%;object-fit:contain!important;filter:invert(1) hue-rotate(180deg)!important;mix-blend-mode:screen!important}
@media (max-width:640px){.db-fjm .db-logo,.db-mpub .db-logo{width:120px!important;height:64px;padding:8px 10px}}

/* PSVita-Media.nl: wide banner logo on a light tile, same frame size */
.db-psv .db-logo{width:170px!important;height:88px;max-width:34vw;background:#e9eef0!important;border:1px solid rgba(255,255,255,.14);padding:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.db-psv .db-logo img{width:100%!important;height:auto!important;object-fit:contain!important}
@media (max-width:640px){.db-psv .db-logo{width:120px!important;height:64px}}

/* division banners: text uses the full banner width */
.db-body{min-width:0}
.db-body p{max-width:none!important}
.former-section .division-banner{grid-template-columns:auto minmax(0,1fr)}
@media (max-width:640px){.former-section .division-banner{grid-template-columns:auto minmax(0,1fr)}}

/* PSVita-Media logo: transparent, dark text lifted with a soft light glow */
.db-psv .db-logo{background:#1c1618!important}
.db-psv .db-logo img{object-fit:contain;filter:drop-shadow(0 0 1px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(255,255,255,.35))}

/* FouStats: cream logo on the same dark frame, green 'Current' tag */
.db-fou .db-logo img{object-fit:contain;padding:10px;background:transparent}
.db-current{background:rgba(120,220,140,.14);border-color:rgba(120,220,140,.5);color:#9be7ac}

/* FouStats: same wide frame as the former divisions */
.db-fou .db-logo{width:170px!important;height:88px;max-width:34vw;background:#1c1618!important;border:1px solid rgba(255,255,255,.14);padding:10px 14px;display:flex;align-items:center;justify-content:center}
.db-fou .db-logo img{width:100%!important;height:auto!important;max-height:100%;object-fit:contain!important;padding:0}
@media (max-width:640px){.db-fou .db-logo{width:120px!important;height:64px}}

/* Lumodokate logo: black-on-white original -> white letters on dark frame */
.db-lumo .db-logo img{object-fit:contain;padding:12px 10px;background:transparent;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}

/* Lumodokate: same wide frame as the other former divisions */
.db-lumo .db-logo{width:170px!important;height:88px;max-width:34vw;background:#1c1618!important;border:1px solid rgba(255,255,255,.14);padding:10px 14px;display:flex;align-items:center;justify-content:center}
.db-lumo .db-logo img{width:100%!important;height:auto!important;max-height:100%;object-fit:contain!important;padding:0}
@media (max-width:640px){.db-lumo .db-logo{width:120px!important;height:64px}}

/* red banner background only for active divisions; former/defunct are neutral */
.former-section .division-banner{background:linear-gradient(100deg,rgba(255,255,255,.06),rgba(30,26,27,.88) 55%);border-color:rgba(255,255,255,.12)}

/* Modoka eSports logo: same frame as the others */
.db-esp .db-logo img{object-fit:contain;padding:12px 10px;background:transparent}

/* Modoka eSports: original logo on its own green field, fills the frame */
.db-esp .db-logo{background:#2f9e4a}
.db-esp .db-logo img{object-fit:cover;padding:0;background:transparent}

.db-years-solo{margin-left:0;display:inline-block;font-size:.8rem}

/* VIGADIS: wide teal banner shown whole, frame in matching teal */
.db-vig .db-logo{background:#19191b!important}
.db-vig .db-logo img{object-fit:contain!important;padding:0!important;background:transparent}

/* ONE logo frame size for every division banner (active, example and former) */
.division-banner .db-logo{width:170px!important;min-width:170px;max-width:170px!important;height:88px!important;border-radius:16px;padding:0!important;display:flex;align-items:center;justify-content:center;overflow:hidden;box-sizing:border-box}
.division-banner .db-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:8px 12px!important;box-sizing:border-box}
.division-banner .db-logo svg{width:40px;height:40px}
.db-vig .db-logo img{object-fit:cover!important;padding:0!important;transform:scale(1)}
.db-esp .db-logo img{object-fit:cover!important;padding:0!important}
@media (max-width:640px){.division-banner .db-logo{width:120px!important;min-width:120px;max-width:120px!important;height:64px!important}.division-banner .db-logo img{padding:6px 8px!important}}

/* Modoka Studios Entertainment: black logo shown light on the dark frame, same size as the rest */
.db-main .db-logo{background:#19191b!important}
.db-main .db-logo img{object-fit:contain;padding:16px 12px;background:transparent;filter:invert(1) hue-rotate(180deg) brightness(1.15);mix-blend-mode:screen}

/* Sonymon (homebrew) icon: figure sits in the top-left of a tiny image; zoom in, grey tile */
/* Sonymon (homebrew) icon: yellow blob on transparent background, shown whole on the dark tile */
.app-icon:has(img[src$="f3c18f9f.png"]){background:#2a1d20!important}
.app-icon img[src$="f3c18f9f.png"]{object-fit:contain!important;padding:3px}

/* contact map */
.map-section{padding:48px 0 24px}
.map-section h2{font-family:var(--font-h,'Orbitron',sans-serif);font-size:clamp(1.3rem,4vw,1.8rem);margin:0 0 6px}
.map-sub{margin:0 0 18px;color:var(--muted,#b9a9ad)}
.map-frame{border:1px solid rgba(255,255,255,.14);border-radius:14px;overflow:hidden;background:#1c1618;aspect-ratio:16/7;min-height:260px}
.map-frame iframe{display:block;width:100%;height:100%;border:0;filter:invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95)}
.map-link{margin:10px 0 0;font-size:.9rem}

/* contact: form left, map right */
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.contact-map-col.map-section{padding:0}
.contact-map-col .map-frame{aspect-ratio:auto;height:440px;min-height:320px}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;gap:32px}.contact-map-col .map-frame{height:320px}}

/* services page */
.svc-list{display:grid;gap:22px;padding-bottom:24px}
.svc{display:grid;grid-template-columns:72px 1fr;gap:6px 26px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:30px;scroll-margin-top:100px}
.svc .icon{width:60px;height:60px;margin:0}
.svc h2{margin:0 0 10px;font-size:clamp(1.3rem,3.4vw,1.8rem)}
.svc .lead{margin:0 0 20px;color:var(--muted,#b9a9ad);line-height:1.65}
.svc h3{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;margin:0 0 12px;color:var(--cyan)}
.svc ul{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px 28px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.svc li{position:relative;padding-left:26px;line-height:1.5}
.svc li::before{content:"";position:absolute;left:0;top:.5em;width:11px;height:6px;border-left:2px solid var(--cyan);border-bottom:2px solid var(--cyan);transform:rotate(-45deg)}
.svc-links{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center}
.svc-links a{font-weight:500}
@media(max-width:640px){.svc{grid-template-columns:1fr;padding:22px}.svc .icon{margin-bottom:6px}}

/* About Us page */
.timeline{list-style:none;margin:24px 0 0;padding:0 0 0 24px;border-left:2px solid rgba(255,107,129,.4);display:grid;gap:24px}
.timeline li{position:relative}
.timeline li::before{content:"";position:absolute;left:-31px;top:6px;width:12px;height:12px;border-radius:50%;background:#ff6b81}
.timeline .tl-year{font-family:'Orbitron',sans-serif;font-size:.85rem;color:#ff6b81;display:block;margin-bottom:4px}
.timeline p{margin:0;max-width:70ch}
.about-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:20px;margin-top:20px}
.about-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:24px}
.about-card h3{margin:0 0 10px}
.about-card p{margin:0 0 14px;color:var(--muted,#b9a9ad)}
.about-card a{color:#ff6b81;font-weight:500}

/* About: dashboard */
.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:16px;margin:24px 0 32px}
.kpi{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:20px 20px 18px}
.kpi b{display:block;font-family:var(--font-h);font-size:clamp(1.8rem,5vw,2.5rem);line-height:1.1;color:#fff;margin-bottom:6px}
.kpi span{color:var(--muted,#b9a9ad);font-size:.95rem}
.kpi.empty b{color:rgba(255,255,255,.35)}
.tbd{display:inline-block;margin-top:10px;font-style:normal;font-size:.72rem;padding:3px 9px;border:1px dashed rgba(255,255,255,.3);border-radius:99px;color:var(--muted,#b9a9ad)}
.charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:20px;margin-bottom:12px}
.chart{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px}
.chart h3{margin:0 0 12px;font-size:1.05rem}
.bar-row{display:grid;grid-template-columns:84px 1fr 28px;gap:10px;align-items:center;margin:9px 0}
.bar-label{font-size:.88rem;color:#fff;overflow-wrap:anywhere}
.bar-track{height:10px;background:rgba(255,255,255,.08);border-radius:99px;overflow:hidden;display:block}
.bar-fill{display:block;height:100%;background:linear-gradient(90deg,#c0303a,#ff6b81);border-radius:99px}
.bar-val{font-size:.85rem;color:var(--muted,#b9a9ad);text-align:right}
.chart-note{margin:12px 0 0;font-size:.82rem;color:var(--muted,#b9a9ad)}
.chart-note b{color:#fff}
.draft-tag{display:inline-block;margin:0 0 18px;font-size:.75rem;padding:3px 10px;border:1px dashed rgba(255,255,255,.35);border-radius:99px;color:var(--muted,#b9a9ad)}

/* card buttons: same style everywhere, always at the bottom-left of the card */
.about-card,.card{display:flex;flex-direction:column}
.about-card p,.card p{flex:1 1 auto}
.card-btn{align-self:stretch;display:flex;align-items:center;justify-content:center;text-align:center;margin-top:auto;min-height:44px;padding:0 20px;font-size:.95rem;color:#fff!important;font-weight:600!important;text-decoration:none!important}
.about-card a.card-btn,.card a.card-btn{color:#fff}
.svc-links{margin-top:18px}

/* timeline: use the full width */
.timeline{max-width:none}
.timeline p{max-width:none}

/* About intro: lead paragraph a little larger, full width */
.about-lead{font-size:1.15rem;color:#fff;line-height:1.6}
.page-title p{max-width:none}

/* About hero: text left, circle-cross mark right */
.about-hero{display:block}
.about-titlerow{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.about-titlerow h1{margin:0}
.about-mark{width:clamp(26px,3vw,34px);height:auto;display:block;flex:none;filter:invert(1) hue-rotate(180deg) brightness(1.5) saturate(1.4);mix-blend-mode:screen;opacity:.95}

/* timeline: logos beside the text */
.timeline li{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center}
.timeline li .tl-year{grid-column:1}
.timeline li p{grid-column:1}
.timeline li .tl-logos{grid-column:2;grid-row:1 / span 2;display:flex;gap:10px;align-items:center}
.tl-logo{height:44px;width:auto;max-width:96px;object-fit:contain;border-radius:10px;display:block}
.tl-logo.app{width:44px;object-fit:cover}
.tl-logo.gg{width:44px;border-radius:50%;object-fit:cover}
.tl-logo.lumo{height:34px;max-width:120px;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}
.tl-logo.fjm{filter:invert(1);mix-blend-mode:screen;background:transparent}
.tl-logo.modoka{background:#fff;padding:2px}
@media (max-width:640px){.timeline li{grid-template-columns:1fr}.timeline li .tl-logos{grid-column:1;grid-row:auto;margin-top:10px}}

/* timeline v2: round badge on the left, text always starts at the same place */
.timeline{padding-left:0;margin-left:0}
.timeline::before{display:none}
.timeline li{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:20px;align-items:start;padding-bottom:26px;position:relative}
.timeline li::before{display:none}
.timeline li::after{content:'';position:absolute;left:31px;top:64px;bottom:0;width:2px;background:rgba(255,107,129,.28)}
.timeline li:last-child::after{display:none}
.timeline li .tl-text{grid-column:2;padding-top:6px}
.timeline li .tl-year{grid-column:auto}
.timeline li p{grid-column:auto;max-width:none}
.tl-badge{grid-column:1;width:64px;height:64px;border-radius:50%;background:#1c1618;border:2px solid #ff6b81;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
.tl-badge.empty{background:transparent;border:2px dashed rgba(255,107,129,.45)}
.tl-badge .tl-logo{height:auto;width:auto;max-width:40px;max-height:40px;border-radius:0;object-fit:contain}
.tl-badge .tl-logo.lumo{max-width:48px;max-height:20px;filter:invert(1) hue-rotate(180deg);mix-blend-mode:screen}
.tl-badge .tl-logo.modoka{background:#fff;padding:0;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:cover;border-radius:50%}
.tl-badge .tl-logo.app,.tl-badge .tl-logo.bdef{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:50%}
.tl-badge .tl-logo.bdef{background:#fff;object-fit:contain;padding:6px}
@media (max-width:640px){.timeline li{grid-template-columns:48px minmax(0,1fr);column-gap:14px}.tl-badge{width:48px;height:48px}.timeline li::after{left:23px;top:48px}}

/* Lumodokate round emblem: fill the badge, crop the white ring */
.tl-badge .tl-logo.lumo{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:cover!important;border-radius:50%!important;filter:none!important;mix-blend-mode:normal!important;transform:scale(1.14)}

/* timeline v3: one continuous line from badge to badge, no gaps */
.timeline{display:block;gap:0;border-left:0;padding:0;margin:24px 0 0}
.timeline li{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:20px;align-items:start;padding-bottom:0;margin:0;position:relative}
.timeline li::after{content:'';position:absolute;left:31px;top:64px;bottom:0;width:2px;background:rgba(255,107,129,.35);height:auto}
.timeline li:last-child::after{display:none}
.timeline li .tl-text{grid-column:2;padding:6px 0 34px}
.tl-badge{position:relative;z-index:1}
@media (max-width:640px){.timeline li{grid-template-columns:48px minmax(0,1fr);column-gap:14px}.timeline li::after{left:23px;top:48px}.timeline li .tl-text{padding-bottom:28px}}

.tl-badge.tl-ico svg{width:30px;height:30px;fill:none;stroke:#ff6b81;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:640px){.tl-badge.tl-ico svg{width:24px;height:24px}}

/* timeline v4: compact */
.timeline li{grid-template-columns:44px minmax(0,1fr);column-gap:14px}
.tl-badge{width:44px;height:44px;border-width:2px}
.timeline li::after{left:21px;top:44px;bottom:0}
.timeline li .tl-text{padding:2px 0 16px}
.timeline li .tl-year{font-size:.76rem;margin-bottom:1px}
.timeline li p{font-size:.92rem;line-height:1.5}
.tl-badge.tl-ico svg{width:22px;height:22px}
.tl-badge .tl-logo.bdef{padding:4px}
@media (max-width:640px){
  .timeline li{grid-template-columns:40px minmax(0,1fr);column-gap:12px}
  .tl-badge{width:40px;height:40px}
  .timeline li::after{left:19px;top:40px}
  .timeline li .tl-text{padding-bottom:14px}
  .tl-badge.tl-ico svg{width:20px;height:20px}
}

/* timeline: no white backgrounds behind the Modoka and BDEF logos */
.tl-badge .tl-logo.modoka{
  background:transparent!important;
  object-fit:contain!important;
  padding:8px!important;
  border-radius:0!important;
  filter:invert(1) hue-rotate(180deg) brightness(1.6) saturate(1.4)!important;
  mix-blend-mode:screen!important;
}
.tl-badge .tl-logo.bdef{
  background:transparent!important;
  object-fit:contain!important;
  padding:0!important;
  border-radius:0!important;
  filter:invert(1)!important;
  mix-blend-mode:screen!important;
  transform:scale(1.1);
}

/* About: charts */
.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:20px;margin-top:28px}
.chart-card{margin:0;padding:22px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.chart-card figcaption{font-family:"Orbitron",sans-serif;font-size:.95rem;margin:0 0 16px;color:#fff}
.bars{display:flex;flex-direction:column;gap:10px}
.bar-row{display:grid;grid-template-columns:84px 1fr 28px;align-items:center;gap:10px;font-size:.88rem}
.bar-label{color:var(--muted,#b9a9ad);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bar-track{height:12px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}
.bar-fill{display:block;height:100%;border-radius:99px;transform-origin:left;animation:barin .8s ease-out both}
.bar-num{text-align:right;color:#fff}
@keyframes barin{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.donut-wrap{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.donut{width:150px;height:150px;border-radius:50%;flex:none;display:grid;place-items:center}
.donut-hole{width:92px;height:92px;border-radius:50%;background:#2a1519;display:grid;place-items:center}
.donut-hole b{font-family:"Orbitron",sans-serif;font-size:1.6rem;color:#fff}
.legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:.9rem;flex:1;min-width:150px}
.legend li{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:10px;color:var(--muted,#b9a9ad)}
.legend b{color:#fff}
.legend .dot{width:12px;height:12px;border-radius:50%}
.chart-note{margin:14px 0 0;font-size:.82rem;color:var(--muted,#b9a9ad)}
@media (max-width:480px){.bar-row{grid-template-columns:70px 1fr 24px}.donut{width:128px;height:128px}.donut-hole{width:78px;height:78px}}

/* genre chart: full width under the two bar charts */
.chart-wide{grid-column:1/-1}
.chart-wide .donut-wrap{justify-content:center;gap:clamp(24px,6vw,72px)}

/* charts: all three on one row (desktop), stacked on tablet/phone */
.chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.chart-wide{grid-column:auto}
.chart-wide .donut-wrap{justify-content:flex-start;gap:20px;flex-wrap:wrap}
.chart-grid .chart-card{min-width:0}
.chart-grid .donut-wrap{flex-direction:column;align-items:center;text-align:left}
.chart-grid .legend{width:100%}
@media (max-width:960px){.chart-grid{grid-template-columns:1fr}.chart-grid .donut-wrap{flex-direction:row;justify-content:center}}

/* charts: more compact */
.chart-grid{gap:14px;margin-top:20px}
.chart-grid .chart-card{padding:14px 16px;border-radius:14px}
.chart-grid .chart-card figcaption{font-size:.85rem;margin:0 0 10px}
.chart-grid .bars{gap:6px}
.chart-grid .bar-row{font-size:.8rem;gap:8px;grid-template-columns:72px 1fr 22px}
.chart-grid .bar-track{height:8px}
.chart-grid .donut{width:104px;height:104px}
.chart-grid .donut-hole{width:62px;height:62px}
.chart-grid .legend{font-size:.78rem;gap:4px}
.chart-grid .donut-wrap{gap:10px}

/* legal pages */
.legal{padding-bottom:72px}
.legal section{margin:0 0 30px}
.legal h2{font-size:1.2rem;margin:0 0 10px;color:#fff}
.legal p,.legal li{color:var(--muted,#b9a9ad);line-height:1.7;max-width:84ch}
.legal p{margin:0 0 10px}
.legal ul{margin:0 0 10px;padding-left:20px}
.legal li{margin-bottom:8px}
.legal-contact{margin-top:8px}

.legal-date{margin:14px 0 0;font-size:.85rem;color:var(--muted,#b9a9ad)}
.legal-date time{color:#fff;font-weight:500}

/* legal pages: compact */
.legal section{padding:0;margin:0 0 18px}
.legal h2{font-size:1.08rem;margin:0 0 4px}
.legal p{margin:0 0 6px;line-height:1.6;max-width:none}
.legal li{margin-bottom:4px;max-width:none;line-height:1.6}
.legal ul{margin:0 0 6px}
.legal{padding-bottom:40px}
.legal-contact{margin-top:14px}

/* ===== homepage: compact and flatter ===== */
.home .hero{padding:clamp(28px,5vw,56px) 0 clamp(24px,4vw,44px)}
.home .hero-grid{grid-template-columns:1.5fr 1fr;gap:32px}
.home .hero .tag{background:none;border:0;border-left:3px solid #d8344d;border-radius:0;padding:0 0 0 10px;margin-bottom:12px;color:#c9b8bc;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.home .hero h1{font-size:clamp(1.8rem,4.2vw,2.8rem);line-height:1.1;margin:0 0 12px}
.home .hero h1 span{background:none;-webkit-background-clip:initial;background-clip:initial;color:#e8566b}
.home .hero p{font-size:1rem;max-width:520px;margin:0 0 18px}
.home .btn{border-radius:6px;box-shadow:none;min-height:42px;padding:0 18px;font-size:.95rem;background:#c0303a}
.home .btn:hover{background:#d8344d;transform:none}
.home .btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.3)}
.home .btn.ghost:hover{background:rgba(255,255,255,.06)}
.home .hero-phones{gap:12px}
.home .hero-phones .phone{width:132px}
.home .hero-phones .phone:nth-child(2){margin-top:24px}

.home #diensten{padding:28px 0}
.home .sec-head{max-width:none;margin-bottom:16px}
.home .sec-head .eyebrow{margin-bottom:4px;font-size:.72rem}
.home .sec-head h2{font-size:1.4rem;margin:0 0 4px}
.home .sec-head p{margin:0}
.home .grid{gap:12px}
.home .card{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:2px;align-items:center;padding:14px 16px;border-radius:8px;border-left:3px solid #d8344d}
.home .card:hover{transform:none;border-color:#d8344d}
.home .icon{width:34px;height:34px;border-radius:6px;background:none;border:1px solid rgba(255,255,255,.2);margin:0;grid-row:1/3}
.home .icon svg{width:18px;height:18px;stroke:#e8566b}
.home .card h3{margin:0;font-size:1.05rem}
.home .card p{margin:0;font-size:.9rem;flex:none}
.home .card .card-btn{grid-column:1/-1;margin-top:10px;min-height:36px;font-size:.9rem}

.home main>section:nth-of-type(3){padding:22px 0}
.home main>section:nth-of-type(3) .sec-head{display:grid;grid-template-columns:1fr auto;column-gap:24px;align-items:center;margin:0}
.home main>section:nth-of-type(3) .sec-head>*:not(.btn){grid-column:1}
.home main>section:nth-of-type(3) .sec-head .btn{grid-column:2;grid-row:1/4}
.home main>section:nth-of-type(4){padding:22px 0}
.home main>section:nth-of-type(4) .wrap{display:grid!important;grid-template-columns:1fr auto;column-gap:24px;align-items:center;text-align:left!important}
.home main>section:nth-of-type(4) .wrap>*:not(.btn){grid-column:1;margin:0}
.home main>section:nth-of-type(4) .wrap .btn{grid-column:2;grid-row:1/3}
.home main>section:nth-of-type(4) h2{font-size:1.3rem;margin:0 0 2px}

@media (max-width:768px){
  .home .hero-grid{grid-template-columns:1fr}
  .home .hero-phones .phone{width:100px}
  .home main>section:nth-of-type(3) .sec-head,.home main>section:nth-of-type(4) .wrap{grid-template-columns:1fr}
  .home main>section:nth-of-type(3) .sec-head .btn,.home main>section:nth-of-type(4) .wrap .btn{grid-column:1;grid-row:auto;margin-top:12px;justify-self:start}
}

/* ===== services page: compact and flatter ===== */
.svcpage .page-title{padding:clamp(84px,9vw,104px) 0 4px}
.svcpage .page-title h1{font-size:clamp(1.7rem,4vw,2.4rem);margin:0 0 8px}
.svcpage .page-title .eyebrow{margin-bottom:4px;font-size:.72rem}
.svcpage .page-title p{font-size:.98rem;margin:0 0 6px}
.svcpage section{padding:18px 0}
.svcpage .svc-list{gap:12px;padding-bottom:6px}
.svcpage .svc{grid-template-columns:44px 1fr;gap:2px 16px;padding:16px 20px;border-radius:8px;border-left:3px solid #d8344d}
.svcpage .svc .icon{width:34px;height:34px;border-radius:6px;background:none;border:1px solid rgba(255,255,255,.2);margin:0}
.svcpage .svc .icon svg{width:18px;height:18px;stroke:#e8566b}
.svcpage .svc h2{font-size:1.2rem;margin:0 0 4px}
.svcpage .svc .lead{margin:0 0 10px;font-size:.93rem;line-height:1.55}
.svcpage .svc h3{font-size:.7rem;margin:0 0 6px}
.svcpage .svc ul{margin:0 0 12px;gap:4px 24px;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.svcpage .svc li{font-size:.9rem;line-height:1.4;padding-left:20px}
.svcpage .svc li::before{width:9px;height:5px;top:.5em}
.svcpage .svc-links{margin-top:0}
.svcpage .svc-links .btn{border-radius:6px;box-shadow:none;min-height:38px;padding:0 18px;font-size:.9rem;background:#c0303a;align-self:flex-start;width:auto}
.svcpage .svc-links .btn:hover{background:#d8344d;transform:none}
.svcpage .band{padding:20px 0}
.svcpage .band .wrap{display:grid!important;grid-template-columns:1fr auto;column-gap:24px;align-items:center;text-align:left!important}
.svcpage .band .wrap>*:not(.btn){grid-column:1;margin:0}
.svcpage .band h2{font-size:1.25rem;margin:0 0 2px}
.svcpage .band .btn{grid-column:2;grid-row:1/3;border-radius:6px;box-shadow:none;min-height:42px;padding:0 20px;background:#c0303a}
.svcpage .band .btn:hover{background:#d8344d;transform:none}
@media(max-width:640px){
  .svcpage .svc{grid-template-columns:1fr;padding:14px 16px}
  .svcpage .band .wrap{grid-template-columns:1fr}
  .svcpage .band .btn{grid-column:1;grid-row:auto;margin-top:12px;justify-self:start}
}

/* services: 'Interested?' button bottom-right in each block */
.svc-links{display:flex;justify-content:flex-end;margin-top:12px}
.svc-links .card-btn{align-self:auto;width:auto;margin-top:0}

/* services: each list item gets its own icon instead of a check mark */
.svc li::before,.svcpage .svc li::before{display:none!important}
.svc li .li-ic{position:absolute;left:0;top:.2em;width:15px;height:15px;fill:none;stroke:#ff6b81;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svcpage .svc ul{margin-bottom:2px}

.form-note{margin:12px 0 0;color:var(--text)}
