body[data-biker36] {
  --bk-bg:#070b29; --bk-card:#15163e; --bk-glow:#38206b; --bk-accent:#f5cd70; --bk-text:#fff1d4; --bk-ink:#21192e;
  --bk-line:color-mix(in srgb,var(--bk-accent) 50%,var(--bk-card));
  --main:var(--bk-accent); --border:var(--bk-line); --subtle:var(--bk-card); --page:var(--bk-bg); --panel:var(--bk-card); --text:var(--bk-text); --muted:var(--bk-text);
  --accent:var(--bk-accent); --accent-contrast:var(--bk-ink); --r33-line:var(--bk-line);
  background:radial-gradient(ellipse at 90% 7%,var(--bk-glow),transparent 42%),var(--bk-bg);
  color:var(--bk-text);
}
body[data-biker36="midnight"] { --bk-bg:#071827; --bk-card:#102d45; --bk-glow:#095077; --bk-accent:#91e4fd; --bk-text:#e7f7ff; --bk-ink:#071d2b; }
body[data-biker36="emerald"] { --bk-bg:#071d18; --bk-card:#10372c; --bk-glow:#125d44; --bk-accent:#f5ad72; --bk-text:#fff0df; --bk-ink:#271810; }
body[data-biker36="ruby"] { --bk-bg:#27090f; --bk-card:#3d161c; --bk-glow:#7b1e34; --bk-accent:#f4cd8f; --bk-text:#fff3df; --bk-ink:#2b1316; }
body[data-biker36="pearl"] { --bk-bg:#f4eee9; --bk-card:#fffaf5; --bk-glow:#e4d7e8; --bk-accent:#20636b; --bk-text:#142f34; --bk-ink:#fffdf7; }
body[data-biker36] .hp-topbar { background:var(--bk-card); color:var(--bk-text); border-bottom:1px solid var(--bk-line); }
body[data-biker36] .hp-layout { display:block; width:min(100% - 30px, 1210px); margin-inline:auto; }
body[data-biker36] .hp-sidebar { display:none; }
body[data-biker36] .hp-sidebar.is-open { display:block; position:fixed; z-index:31; top:var(--hp-topbar-height,70px); right:16px; max-width:280px; background:var(--bk-card); }
body[data-biker36] .hp-sectionbar { background:var(--bk-card); border-color:var(--bk-line); }
body[data-biker36] .hp-topbar #hp-nav-toggle { display:none; }
body[data-biker36] .hp-topbar .hp-tools { width:auto; justify-self:end; display:flex; align-items:end; gap:9px; }
body[data-biker36] .hp-topbar .hp-tools label { min-width:120px; }
body[data-biker36] .hp-topbar .hp-tools label[for="biker-colour"] { min-width:170px; }
body[data-biker36] .hp-topbar .biker36-software { white-space:nowrap; padding-inline:10px; }
body[data-biker36] .hp-brand.biker36-brand { gap:10px; }
body[data-biker36] .biker36-brand .hp-brand-logo { width:50px; height:54px; }
body[data-biker36] .biker36-brand .hp-brand-title { color:var(--bk-accent); line-height:1.05; font-family:Georgia,serif; font-size:clamp(24px,3.1vw,35px); }
.biker36-brand small { display:block; font-size:14px; margin-top:4px; color:var(--bk-text); }
body[data-biker36] main.hp-content { background:transparent; border-color:transparent; color:var(--bk-text); padding:12px 0 25px; }
body[data-biker36] .hp-main-frame { background:transparent; }
body[data-biker36] .hp-tools select,
body[data-biker36] :is(.biker36-filter,#event-filters) :is(select,input) { color:var(--bk-text); background:var(--bk-bg); border-color:var(--bk-line); }
body[data-biker36] :is(.biker36-hero,.pool-section,.event-card,.featured-event,.pool-gate,.event-filter-panel,.hp-sidebar,.hp-footer,.hp-header-menu,.auth-strip) { color:var(--bk-text); background:var(--bk-card); border-color:var(--bk-line); }
body[data-biker36] :is(.hp-content .button,.hp-tools .button) { border-color:var(--bk-line); min-height:42px; color:var(--bk-text); background:transparent; }
body[data-biker36] :is(.hp-content,.hp-tools) .button.dark,
body[data-biker36] .biker36-views [aria-pressed="true"] { background:var(--bk-accent); color:var(--bk-ink); border-color:var(--bk-accent); }
body[data-biker36] :is(.biker36-hero,.pool-section,.featured-event) h1,
body[data-biker36] :is(.biker36-hero,.pool-section,.featured-event) h2 { color:var(--bk-accent); font-family:Georgia,serif; }
.biker36-hero { display:grid; grid-template-columns:minmax(0,300px) minmax(0,1fr); gap:clamp(20px,5vw,76px); align-items:center; padding:clamp(20px,4vw,58px); border:1px solid; border-radius:18px; text-align:center; }
.biker36-hero figure { margin:0; }
.biker36-hero img { display:block; margin:auto; width:min(100%,235px); height:auto; aspect-ratio:1; object-fit:contain; }
.biker36-hero h1 { font-size:clamp(31px,5vw,61px); line-height:1.1; margin:0 0 14px; }
.biker36-hero .button-row { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.biker36-domain { font:700 clamp(28px,5vw,45px)/1.1 Georgia,serif; color:var(--bk-accent); margin:0 0 8px; }
.biker36-motto { margin:0 0 15px; font-size:15px; }
.biker36-filter, .biker36-controls, .biker36-months, .biker36-views { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.biker36-filter label { flex:1 1 145px; min-width:0; }
.biker36-filter label span { display:block; margin-bottom:3px; font-size:.9rem; }
.biker36-filter :is(input,select) { width:100%; min-height:44px; padding:7px 9px; border:1px solid; border-radius:8px; }
.biker36-controls { justify-content:space-between; margin:12px 0; }
.biker36-months output { min-width:9ch; padding:3px 5px; text-align:center; }
body[data-biker36] .pool-section { border-radius:14px; }
body[data-biker36] .pool-section .section-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
body[data-biker36] .pool-section h2 { margin:0; font-size:clamp(29px,4.2vw,43px); }
body[data-biker36] .events-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
body[data-biker36] .event-card { display:grid; grid-template-columns:74px minmax(0,1fr) minmax(112px,auto); gap:4px 14px; align-items:start; padding:10px 12px; }
body[data-biker36] .event-card h3 { grid-row:1; grid-column:2; margin:0; color:var(--bk-text); font:700 1.3rem Georgia,serif; }
body[data-biker36] .event-card > :is(p,.notice) { grid-column:2; margin:0; }
body[data-biker36] .event-card .event-meta { grid-row:1; grid-column:3; gap:6px; flex-wrap:wrap; }
body[data-biker36] .event-card .card-bottom { grid-column:3; grid-row:2 / span 4; margin:0; border:0; padding:0; display:grid; justify-items:end; }
body[data-biker36] .event-card .card-bottom button { border:1px solid var(--bk-line); border-radius:8px; padding:7px 9px; color:var(--bk-accent); }
.biker36-date { grid-column:1; grid-row:1 / span 6; align-self:stretch; padding:3px 7px 3px 0; border-right:1px solid var(--bk-line); color:var(--bk-accent); text-align:center; font-family:Georgia,serif; }
.biker36-date strong { display:block; font-size:32px; line-height:1; }
.biker36-date span { font-size:14px; text-transform:uppercase; }
.biker36-weekdays,.biker36-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:3px; }
.biker36-weekdays span { text-align:center; font-size:.85rem; }
.biker36-day { min-width:0; min-height:63px; padding:4px; border:1px solid var(--bk-line); border-radius:6px; }
.biker36-day time { display:block; color:var(--bk-accent); }
.biker36-day button { display:block; width:100%; min-height:34px; border:1px solid var(--bk-line); border-radius:5px; color:var(--bk-text); background:var(--bk-bg); overflow-wrap:anywhere; text-align:left; }
body[data-biker36] .hp-footer a,body[data-biker36] .hp-global-nav a { color:var(--bk-text); }
body[data-biker36] .hp-topbar :focus-visible,body[data-biker36] main :focus-visible { outline:3px solid var(--bk-accent); outline-offset:2px; }
@media(max-width:780px) {
  .biker36-hero { grid-template-columns:minmax(0,1fr); gap:12px; }
  .biker36-hero img { max-width:145px; }
  body[data-biker36] .hp-layout { width:calc(100% - 16px); }
  body[data-biker36] .event-card { grid-template-columns:52px minmax(0,1fr); gap:4px 9px; }
  body[data-biker36] .event-card .event-meta,body[data-biker36] .event-card .card-bottom { grid-column:2; grid-row:auto; justify-items:start; }
  .biker36-date strong { font-size:25px; }
}
@media(max-width:460px) {
  .biker36-filter label { flex-basis:100%; }
  .biker36-day { min-height:48px; }
  .biker36-day button { font-size:.72rem; padding:2px; }
  body[data-biker36] .hp-topbar .hp-tools { justify-self:start; flex-wrap:wrap; gap:6px; }
  body[data-biker36] .hp-topbar .hp-tools label { min-width:0; width:auto; flex:1 1 95px; }
  body[data-biker36] .hp-topbar .hp-tools label[for="biker-colour"] { min-width:0; flex:1 1 143px; }
}

body[data-biker36] .hp-header-menu > a[aria-current="page"] { background:var(--bk-accent); color:var(--bk-ink); }
body[data-biker36] .hp-header-menu > a { color:var(--bk-text); }
body[data-biker36] :is(.pool-gate,.biker36-hero,.featured-event) :is(h3,.bh-kicker) { color:var(--bk-accent); }
body[data-biker36] .gate-icon { display:none; }
