/* Layout: smalle app-kolom; virtuele miners gestippeld omlijnd; amber = accent van de site, groen = jouw aandeel in het rek */
:root{
  --bg:#e6e9e3; --surface:#f4f5f1; --sunk:#e3e7e0; --ink:#16202b; --muted:#56616c; --rule:#d2d8d0;
  --lamp:#e39b12; --lamp-ink:#8f5c00; --lamp-soft:#fdf2db; --mine:#1fa463; --mine-ink:#16814c; --rack:#232a33;
  --dc-bg:#0e1318; --dc-panel:#161d25; --dc-line:#2a3540; --dc-ink:#e8ecf0; --dc-muted:#9aa6b4;
  --display:"Bricolage Grotesque",system-ui,sans-serif; --body:"Inter",system-ui,sans-serif; --mono:"JetBrains Mono",ui-monospace,monospace;
  color-scheme:light;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.55}
/* Lucht: zachte daglucht met langzaam drijvende wolken (ook achter het lab) */
body::before,body::after{content:"";position:fixed;z-index:-1;pointer-events:none}
body::before{inset:0;background:linear-gradient(180deg,#c9dcea 0%,#d6e3ea 28%,#e0e7e6 52%,var(--bg) 78%)}
body::after{top:0;left:0;height:min(420px,60vh);right:0;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='420'><defs><filter id='b' x='-50%' y='-50%' width='200%' height='200%'><feGaussianBlur stdDeviation='14'/></filter></defs><g fill='%23fff' filter='url(%23b)'><g opacity='.75'><ellipse cx='210' cy='120' rx='130' ry='30'/><ellipse cx='170' cy='100' rx='60' ry='34'/><ellipse cx='250' cy='96' rx='70' ry='40'/></g><g opacity='.6'><ellipse cx='760' cy='70' rx='160' ry='26'/><ellipse cx='720' cy='54' rx='70' ry='28'/><ellipse cx='810' cy='50' rx='80' ry='32'/></g><g opacity='.55'><ellipse cx='1240' cy='190' rx='150' ry='28'/><ellipse cx='1200' cy='172' rx='60' ry='28'/><ellipse cx='1280' cy='168' rx='74' ry='34'/></g><g opacity='.4'><ellipse cx='480' cy='300' rx='120' ry='20'/><ellipse cx='500' cy='286' rx='60' ry='22'/></g></g></svg>") repeat-x 0 0/1600px 100%;animation:wolken 220s linear infinite}
@keyframes wolken{to{background-position:-1600px 0}}
@media (prefers-reduced-motion:reduce){body::after{animation:none}}
.wrap{max-width:1040px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
/* Klein zwevend paneel met prototype-info, standaard ingeklapt als compacte pil */
.proto{position:fixed;z-index:20;left:max(10px,env(safe-area-inset-left,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));max-width:min(340px,calc(100vw - 20px))}
.proto-toggle{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid var(--rule);background:rgba(244,245,241,.92);backdrop-filter:blur(8px);box-shadow:0 2px 10px rgba(22,32,43,.07);font:500 14px var(--body);color:var(--muted);cursor:pointer}
.proto-toggle:hover{background:var(--surface);color:var(--ink)}
.proto-body{position:relative;background:rgba(244,245,241,.96);backdrop-filter:blur(8px);border:1px solid var(--rule);border-radius:12px;box-shadow:0 4px 16px rgba(22,32,43,.1);padding:10px 34px 10px 12px;font-size:14px;color:var(--muted);display:flex;flex-direction:column;gap:6px}
.proto .close{position:absolute;top:4px;right:4px;width:26px;height:26px;border:0;background:transparent;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;border-radius:6px}
.proto .close:hover{background:var(--sunk)}
.proto .tarief{display:flex;flex-direction:column;gap:2px;border-top:1px solid var(--rule);padding-top:6px}
.proto .tarief strong{color:var(--ink);font-weight:600}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:16px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:800;font-size:22px;color:var(--ink);text-decoration:none}
.logo svg{width:30px;height:30px}
nav{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
nav a{color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:8px;font-weight:500}
nav a[aria-current="page"]{color:var(--ink);background:var(--surface)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 16px var(--body);padding:12px 18px;border-radius:10px;border:1px solid transparent;cursor:pointer;text-decoration:none}
.btn.primary{background:var(--ink);color:var(--bg)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--rule)}
.btn.small{padding:8px 12px;font-size:15px}
.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--lamp);outline-offset:2px}
:where(main a,.todo a,footer a){color:var(--mine-ink);text-underline-offset:3px;text-decoration-thickness:1.5px}
:where(main a,.todo a,footer a):hover{color:var(--ink)}
main .wrap{display:flex;flex-direction:column;gap:40px;padding-block:24px 84px}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance;line-height:1.1}
h1{font-size:clamp(32px,6vw,52px);font-weight:800;letter-spacing:-.01em}
h2{font-size:26px;font-weight:600}
h3{font-size:19px;font-weight:600}
h1 ~ p{font-size:18px}
p{margin:0;max-width:64ch}
.muted{color:var(--muted)}
.num{font-family:var(--mono);font-variant-numeric:tabular-nums}
.label{font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:20px;min-width:0;font-size:16px}
.stack{display:flex;flex-direction:column;gap:16px}
.pill{display:inline-block;font-size:14px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--lamp-soft);color:var(--lamp-ink)}

/* Virtuele miner (illustratie) */
.ghost-box{border:2px dashed var(--lamp);border-radius:14px;padding:10px;position:relative}
.ghost-box .tag{position:absolute;top:-11px;left:14px;background:var(--surface);color:var(--lamp-ink);font:600 14px var(--mono);letter-spacing:.08em;padding:0 6px}
.box{background:#3a434f;border-radius:10px;padding:14px;display:flex;align-items:center;gap:12px}
.fan{width:56px;height:56px;border-radius:50%;background:#262d36;border:3px solid #4a5361;position:relative;flex:none}
.fan::before{content:"";position:absolute;inset:5px;border-radius:50%;
  background:conic-gradient(from 0deg,#8892a0 0 12%,transparent 12% 25%,#8892a0 25% 37%,transparent 37% 50%,#8892a0 50% 62%,transparent 62% 75%,#8892a0 75% 87%,transparent 87%);
  animation:spin .5s linear infinite}
.fan::after{content:"";position:absolute;inset:40%;border-radius:50%;background:#4a5361}
.vents{flex:1;height:46px;background:repeating-linear-gradient(90deg,rgba(0,0,0,.25) 0 6px,rgba(255,255,255,.06) 6px 10px);border-radius:6px}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes glow{50%{opacity:.7}}
@media (prefers-reduced-motion:reduce){.fan::before,.seg-lit{animation:none}}

/* Start */
.hero{display:flex;flex-direction:column;gap:28px;position:relative}
.hero .copy,.hero .rig-band{position:relative;z-index:1}
.hero-art{position:absolute;right:-10px;top:10px;width:min(430px,40%);height:auto;z-index:0;pointer-events:none}
@media (max-width:860px){.hero-art{position:static;width:100%;max-width:440px;align-self:center}}
.hero .copy{display:flex;flex-direction:column;gap:18px;min-width:0;max-width:600px}
.hero .subtitle{font-family:var(--display);font-weight:600;font-size:clamp(22px,3.5vw,32px);line-height:1.2;color:var(--lamp-ink);margin-top:-6px}
.hero .rig-band{max-width:480px}
.ctas{display:flex;gap:10px;flex-wrap:wrap}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;list-style:none;margin:0;padding:0;counter-reset:s}
.steps li{counter-increment:s;display:flex;flex-direction:column;gap:6px}
.steps li::before{content:counter(s);font-family:var(--mono);color:var(--lamp-ink);font-size:15px}
.faq{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.faq .card{display:flex;flex-direction:column;gap:6px}
.flow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.flow .card{display:flex;flex-direction:column;gap:6px}

/* Merknaam met ondertitel */
.brand{display:flex;flex-direction:column;line-height:1}
.brand small{font:500 14px var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:4px;text-shadow:none}

/* Twee miners op Home */
.showcase-wrap{background:linear-gradient(180deg,var(--surface),var(--sunk));border:1px solid var(--rule);border-radius:16px;overflow:hidden}
#showcase{height:min(34vw,320px);min-height:240px}
#showcase canvas{display:block;width:100%;height:100%}
.showcase-captions{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--rule)}
.showcase-captions a{display:flex;flex-direction:column;gap:2px;padding:14px 12px;text-decoration:none;color:var(--ink);border-left:1px solid var(--rule)}
.showcase-captions a:first-child{border-left:0}
.showcase-captions a:hover{background:var(--surface)}
.showcase-captions strong{font-family:var(--display);font-size:18px}
.showcase-captions span{font-size:14px;color:var(--muted)}
@media (max-width:620px){.showcase-captions{grid-template-columns:1fr}.showcase-captions a{border-left:0;border-top:1px solid var(--rule)}.showcase-captions a:first-child{border-top:0}}

/* Winkel */
.products{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;max-width:780px;margin-inline:auto}
.product{display:flex;flex-direction:column;gap:14px}
.product-img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:linear-gradient(180deg,var(--surface),var(--sunk));border-radius:10px}
.product.selected{border-color:var(--lamp);box-shadow:0 0 0 2px var(--lamp)}
.product header{display:flex;justify-content:space-between;align-items:start;gap:8px}
.product .gen{display:block;font-size:14px;color:var(--muted);margin-top:2px}
.product-desc{font-size:15px;color:var(--muted);line-height:1.45}
.spec{display:grid;grid-template-columns:1fr auto;gap:8px 10px;margin:0;padding:12px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:14.5px}
.spec dt{color:var(--muted)} .spec dd{margin:0;text-align:right;white-space:nowrap;font:500 14.5px var(--mono);font-variant-numeric:tabular-nums}
.product-foot{margin-top:auto;display:flex;flex-direction:column;gap:12px}
.product-actions{display:flex;align-items:center;gap:10px}
.product-actions .btn{flex:1}
.yield{display:flex;flex-direction:column;gap:4px;font-size:15px}
.yield .bar{height:8px;background:var(--sunk);border-radius:4px;overflow:hidden}
.yield .bar i{display:block;height:100%;background:var(--lamp)}
.stepper{display:flex;align-items:center;gap:6px}
.stepper button{width:38px;height:38px;border-radius:8px;border:1px solid var(--rule);background:var(--surface);color:var(--ink);font:600 18px var(--body);cursor:pointer}
.stepper button:hover{background:var(--sunk)}
.stepper output{font:600 15px var(--mono);min-width:46px;text-align:center}
.price{font-family:var(--display);font-weight:800;font-size:26px;line-height:1}
.price small{font:500 15px var(--body);color:var(--muted)}
.slotbar{display:flex;flex-direction:column;gap:5px;font-size:14px;color:var(--muted)}
.slotbar strong{color:var(--ink)}
.slotbar .cells{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}
.slotbar .cells i{height:9px;border-radius:2px;background:var(--sunk);border:1px solid var(--rule)}
.slotbar .cells i.full{background:var(--muted);border-color:var(--muted)}
.slotbar .cells i.new{background:var(--mine);border-color:var(--mine)}
.costs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.costs div{background:var(--sunk);border-radius:10px;padding:10px 10px;display:flex;flex-direction:column;gap:3px;min-width:0}
.costs .label{font-size:11px;letter-spacing:.04em;white-space:nowrap}
.costs .price{font-size:21px;margin-top:2px}
.costs .sub{font-size:12.5px;color:var(--muted);line-height:1.3}
.signup{display:flex;gap:10px;flex-wrap:wrap}
.todo{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
form.reserve{display:grid;grid-template-columns:1fr 1fr;gap:12px}
form.reserve label{display:flex;flex-direction:column;gap:4px;font-size:15px;color:var(--muted)}
form.reserve input,form.reserve select{font:500 16px var(--body);padding:10px;border:1px solid var(--rule);border-radius:8px;background:var(--sunk);color:var(--ink);min-width:0}
form.reserve .full{grid-column:1/-1}
form.reserve .check{flex-direction:row;align-items:flex-start;gap:8px;color:var(--ink)}
.done{border:2px solid var(--mine);background:var(--sunk);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:8px}
.mini-steps{list-style:none;margin:0;padding:0 0 12px;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.mini-steps li{display:inline-flex;align-items:center;gap:6px}
.mini-steps li:not(:last-child)::after{content:"→";color:#aeb6ad;margin-left:4px}
.mini-steps .n{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;font:600 12px var(--mono);background:var(--sunk);color:var(--muted);flex:none}
.mini-steps li.is-now{color:var(--ink);font-weight:600}
.mini-steps li.is-now .n{background:var(--ink);color:var(--bg)}

/* Spel */
.game{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}
#view-mijn .card h2{font-size:19px}
.rack{background:var(--rack);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px}
.rack .hall{display:flex;justify-content:space-between;color:#aab3bf;font:500 14px var(--mono)}
.slot{display:grid;grid-template-columns:150px 1fr;gap:10px;align-items:center;background:#1a2028;border-radius:8px;padding:8px 10px;color:#8b96a4;font:500 14px var(--mono)}
.slot .segs{display:grid;grid-template-columns:repeat(10,1fr);gap:3px}
.slot .segs i{height:14px;border-radius:3px;background:#2c3540}
.slot .segs i.taken{background:#3b4653}
.slot .segs i.seg-lit{background:var(--mine);box-shadow:0 0 8px var(--mine);animation:glow 1.6s ease-in-out infinite}
.slot.you{color:#fff;background:#1c2a22;outline:1px solid var(--mine)}
.legend{display:flex;gap:14px;flex-wrap:wrap;color:#aab3bf;font:500 14px var(--mono)}
.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:4px;vertical-align:-1px}
.reveal{display:flex;flex-direction:column;gap:10px;background:var(--lamp-soft);border-color:var(--lamp)}
.reveal .big{font-family:var(--mono);font-size:34px;color:var(--lamp-ink);line-height:1.1}
.countdown{font-family:var(--mono);font-size:20px}
.badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
.badge-tile{border:1px solid var(--rule);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;background:var(--surface);min-width:0}
.badge-tile svg{width:34px;height:34px}
.badge-tile.locked{background:var(--sunk);color:var(--muted)}
.badge-tile.locked svg{opacity:.35}
.badge-tile strong{font-size:16px}
.badge-tile span{font-size:14px;color:var(--muted)}
.chart svg{width:100%;height:auto;display:block}
.netstats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.netstats .card{display:flex;flex-direction:column;gap:2px}
.netstats .num{font-size:24px}
.netcard{display:flex;flex-direction:column;gap:12px}
.netcard svg{width:100%;height:auto;display:block;max-height:560px}
.controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.controls input[type=range]{flex:1;min-width:160px;accent-color:var(--lamp)}
.controls output{font:600 15px var(--mono);min-width:110px}
.netlegend{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted);align-items:center}
.netcard .netlegend svg{display:inline-block;width:16px;height:16px;vertical-align:-3px;margin-right:4px}
@media (max-width:860px){.netstats{grid-template-columns:1fr 1fr}}
.feed{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.feed li{display:grid;grid-template-columns:64px 1fr;gap:10px;padding:12px 0;border-top:1px solid var(--rule)}
.feed li:first-child{border-top:0}
.feed .when{font-family:var(--mono);font-size:14px;color:var(--muted);padding-top:2px}
.bill{display:grid;grid-template-columns:1fr auto;gap:6px 16px;margin:0}
.bill dt{color:var(--muted)} .bill dd{margin:0;text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}

/* Widget */
.desk{background:linear-gradient(135deg,#2b4a63,#1d2f3f 55%,#3c2f4a);border-radius:16px;padding:28px;display:flex;gap:20px;flex-wrap:wrap;align-items:flex-start}
.widget{background:rgba(250,250,248,.92);color:#18202a;border-radius:20px;padding:14px;display:flex;flex-direction:column;gap:6px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-size:14px}
.widget.s{width:170px;height:170px}
.widget.m{width:360px;max-width:100%;min-height:170px}
.widget .w-head{display:flex;align-items:center;gap:6px;font-weight:600}
.widget .w-head svg{width:16px;height:16px}
.widget .w-big{font:500 24px var(--mono);color:#8a5800;line-height:1.1}
.widget .w-sub{color:#5a6471;font-size:14px}
.widget .w-segs{display:grid;grid-template-columns:repeat(10,1fr);gap:2px}
.widget .w-segs i{height:8px;border-radius:2px;background:#d5d9d1}
.widget .w-segs i.on{background:#22a35a}
.widget.m .w-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;flex:1;min-height:0}
.widget svg.w-chart{width:100%;height:100%}

footer .wrap{padding-block:24px 72px;color:var(--muted);font-size:14px;border-top:1px solid var(--rule)}
footer p{margin:0 0 6px}

/* Lab: de werkplaats vult het hele scherm; de daglucht met wolken schijnt erachter; de HUD zweeft erboven */
body.dc-mode{overflow:hidden}
body.dc-mode > header{position:fixed;top:0;left:0;right:0;z-index:30;padding-top:env(safe-area-inset-top,0px);background:rgba(244,245,241,.82);backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
body.dc-mode > header nav a[aria-current="page"]{background:var(--sunk)}
body.dc-mode > footer{display:none}
body.dc-mode .proto{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.dc{position:fixed;inset:0;z-index:10;background:transparent;color:var(--ink);
  --hud-bg:rgba(244,245,241,.88);--hud-line:var(--rule);--hud-ink:var(--ink);--hud-muted:var(--muted);
  --c-you:var(--mine);--c-hash:var(--lamp);--c-power:#2573ad;--c-taken:#788491;--c-free:#dfe4dd;--c-event:#6f52c9;
  --pad:max(16px,env(safe-area-inset-left,0px))}
#dc-canvas{position:absolute;inset:0}
#dc-canvas canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}
.dc .muted{color:var(--hud-muted)}
.dc svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.plaque{background:var(--hud-bg);border:1px solid var(--hud-line);border-radius:14px;box-shadow:0 8px 24px rgba(22,32,43,.08);backdrop-filter:blur(10px);color:var(--ink)}

/* Gedeelde bouwstenen */
.hud-label{display:block;font:600 12px/1.2 var(--body);letter-spacing:.05em;text-transform:uppercase;color:var(--hud-muted)}
.hud-num{display:block;font:800 24px/1.05 var(--display);color:var(--hud-ink);font-variant-numeric:tabular-nums}
.hud-num small{font-size:.58em;font-weight:600;color:var(--hud-muted);margin-left:2px}
.hud-ico{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:color-mix(in srgb,currentColor 13%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 28%,transparent)}
.hud-ico svg{width:22px;height:22px}
.c-you{color:var(--mine-ink)} .c-hash{color:var(--lamp-ink)} .c-power{color:var(--c-power)} .c-taken{color:var(--c-taken)} .c-time{color:var(--c-event)}
.meter{height:10px;border-radius:5px;background:var(--c-free);overflow:hidden;display:flex}
.meter i{display:block;height:100%;background:var(--c-taken);transition:width .6s ease}
.meter i.you{background:var(--c-you)}

/* Linksboven: klok + netwerk */
.hud-clock{position:absolute;left:var(--pad);top:calc(84px + env(safe-area-inset-top,0px));width:240px;padding:12px;display:flex;flex-direction:column;gap:10px;pointer-events:none}
.hud-clock-top{display:flex;align-items:center;gap:10px}
.hud-clock .hud-num{font-size:23px;white-space:nowrap}
.hud-week{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font:600 12px var(--body);color:var(--hud-muted)}
.hud-week i{display:block;height:8px;border-radius:3px;background:var(--c-free);margin-bottom:3px}
.hud-week .is-done i{background:color-mix(in srgb,var(--c-event) 45%,var(--c-free))}
.hud-week .is-now i{background:var(--c-event);animation:hud-pulse 1.6s ease-in-out infinite}
.hud-week .is-now{color:var(--hud-ink)}
.hud-events{list-style:none;margin:0;padding:8px 0 0;border-top:1px solid var(--hud-line);display:flex;flex-direction:column;gap:6px}
.hud-events li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--hud-muted)}
.hud-events b{display:block;color:var(--hud-ink);font-weight:600}
.ev-ico{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:color-mix(in srgb,var(--c-event) 12%,transparent);color:var(--c-event)}
.ev-ico svg{width:16px;height:16px}

/* Rechts: minerkaart */
.dc-info{position:absolute;right:max(16px,env(safe-area-inset-right,0px));top:calc(84px + env(safe-area-inset-top,0px));width:min(330px,calc(100% - 32px));padding:14px}
.dc-info[hidden]{display:none}
.hud-x{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:var(--hud-muted);display:grid;place-items:center;cursor:pointer}
.hud-x:hover{background:var(--sunk);color:var(--hud-ink)}
.hud-x svg{width:18px;height:18px}
#dc-detail{display:flex;flex-direction:column;gap:12px}
.mc-head{display:flex;align-items:center;gap:10px;padding-right:34px}
.mc-tag{flex:none;font:800 20px/1 var(--display);padding:8px 10px;border-radius:10px;background:var(--sunk);color:var(--hud-ink);border:1px solid var(--rule)}
.mc-tag.is-you{background:var(--mine-ink);color:#fff;border-color:transparent}
.mc-head h3{font:700 17px/1.15 var(--display);color:var(--hud-ink)}
.mc-sub{display:block;font-size:13px;color:var(--hud-muted);margin-top:2px}
.mc-row{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.dc-info .segs{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}
.dc-info .segs i{height:22px;border-radius:4px;background:transparent;box-shadow:inset 0 0 0 1.5px var(--rule)}
.dc-info .segs i.taken{background:var(--c-taken);box-shadow:none}
.dc-info .segs i.mine{background:var(--c-you);box-shadow:none}
.mc-key{display:flex;gap:12px;margin-top:6px;font-size:13px;color:var(--hud-muted)}
.mc-key i{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.mc-key .k-you{background:var(--c-you)} .mc-key .k-taken{background:var(--c-taken)} .mc-key .k-free{box-shadow:inset 0 0 0 1.5px var(--rule)}
.mc-meters{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mc-meter{background:var(--sunk);border:1px solid var(--rule);border-radius:12px;padding:10px;display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.mc-meter .hud-num{font-size:22px}
.gauge{width:100%;max-width:110px;height:auto}
.gauge .track{stroke:var(--c-free);stroke-width:12}
.gauge .fill{stroke:var(--c-hash);stroke-width:12;transition:stroke-dasharray .6s ease}
.gauge .you{stroke:var(--c-you);stroke-width:12}
.power{width:100%;display:flex;align-items:center;gap:8px;margin:12px 0 6px}
.power svg{width:20px;height:20px;color:var(--c-power);flex:none}
.power .meter{flex:1;height:14px;border-radius:7px}
.power .meter i{background:var(--c-power)}
.power .meter i.you{background:var(--c-you)}
.mc-chip{font:500 12px var(--mono);color:var(--hud-muted)}
.mc-you{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--c-you) 10%,var(--surface));border:1px solid color-mix(in srgb,var(--c-you) 35%,transparent)}
.mc-you .hud-num{font-size:21px;color:var(--mine-ink)}
.mc-you .hud-ico{width:36px;height:36px}
.mc-you .hud-ico svg{width:20px;height:20px}
.mc-open{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:var(--hud-muted)}

/* Onder: tellers + knoppen */
.hud-bottom{position:absolute;left:var(--pad);right:max(16px,env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px;pointer-events:none}
.hud-stats{display:flex;gap:8px;flex-wrap:wrap}
.hud-tile{display:flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;min-width:136px}
.hud-tile .meter{margin-top:5px;width:100px}
.hud-sim{pointer-events:auto;margin-left:auto;width:350px;max-width:100%;padding:12px;display:flex;flex-direction:column;gap:10px;border-color:color-mix(in srgb,var(--c-you) 38%,var(--rule))}
.sim-head{display:flex;align-items:center;gap:10px}
.sim-head .hud-ico{width:34px;height:34px}
.sim-head .hud-ico svg{width:20px;height:20px}
.sim-who{display:block;font:700 16px/1.15 var(--display);color:var(--hud-ink)}
.sim-nums{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sim-nums div{background:var(--sunk);border-radius:10px;padding:6px 8px}
.sim-nums .hud-num{font-size:21px;color:var(--mine-ink)}
.sim-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sim-btns .hud-btn{min-height:42px;padding:8px 10px;font-size:14px;line-height:1.2;text-align:center}
.hud-btn{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:10px;border:1px solid transparent;font:600 15px/1.2 var(--body);text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.hud-btn svg{width:20px;height:20px;stroke-width:2.2}
.hud-btn:focus-visible,.hud-x:focus-visible{outline:3px solid var(--lamp);outline-offset:2px}
.hud-btn.is-buy{background:var(--ink);color:var(--bg)}
.hud-btn.is-buy:hover{background:#243242}
.hud-btn.is-login{background:var(--surface);color:var(--ink);border-color:var(--rule)}
.hud-btn.is-login:hover{background:var(--sunk)}
.hud-hint{position:absolute;left:50%;top:calc(88px + env(safe-area-inset-top,0px));transform:translateX(-50%);margin:0;display:flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:rgba(244,245,241,.9);border:1px solid var(--rule);box-shadow:0 4px 14px rgba(22,32,43,.08);backdrop-filter:blur(8px);font:500 14px var(--body);color:var(--hud-ink);pointer-events:none;white-space:nowrap;transition:opacity .4s ease}
.hud-hint svg{width:18px;height:18px;color:var(--lamp-ink)}
.hud-hint.gone{opacity:0}

@keyframes hud-pulse{50%{opacity:.45}}

@media (max-width:1100px){
  .hud-hint{display:none}
  body.dc-mode .proto{display:none}
}
@media (max-width:780px){
  .hud-clock,.dc-info{top:calc(126px + env(safe-area-inset-top,0px))}
}
@media (max-width:700px){
  header .wrap{padding-block:10px;gap:8px}
  .logo{font-size:20px;gap:8px}
  .logo svg{width:26px;height:26px}
  .brand small{font-size:12px;margin-top:2px}
  nav{gap:2px}
  nav a{font-size:14px;padding:6px 8px}
  .hud-clock{top:calc(138px + env(safe-area-inset-top,0px));width:auto;right:auto;padding:8px 10px;flex-direction:row;align-items:center;gap:10px}
  .hud-clock .hud-ico{width:34px;height:34px}
  .hud-clock .hud-num{font-size:20px}
  .hud-clock .hud-label{font-size:12px}
  .hud-week{width:112px;gap:3px;font-size:0}
  .hud-events{display:none}
  .hud-bottom{flex-direction:column;align-items:stretch;gap:8px}
  .hud-sim{width:auto;margin-left:0;padding:10px;gap:8px}
  .sim-head .hud-ico{display:none}
  .sim-head .hud-label{font-size:12px}
  .sim-who{font-size:15px}
  .sim-nums .hud-num{font-size:19px}
  .sim-nums .hud-label{font-size:12px}
  .sim-nums div{padding:6px 8px}
  .sim-btns .hud-btn{min-height:42px;font-size:14px}
  body.dc-mode .proto{bottom:auto;top:calc(182px + env(safe-area-inset-top,0px))}
  .hud-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
  .hud-tile{min-width:0;padding:10px;gap:8px}
  .hud-tile:first-child{display:none}
  .hud-tile .hud-ico{display:none}
  .hud-tile .hud-num{font-size:20px}
  .hud-tile .hud-label{font-size:12px}
  .hud-tile .meter{width:100%}
  .dc-info{top:auto;left:16px;right:16px;width:auto;padding:12px;bottom:calc(270px + env(safe-area-inset-bottom,0px))}
  #dc-detail{gap:10px}
  .mc-tag{font-size:17px}
  .dc-info .segs i{height:18px}
  .mc-meter{flex-direction:row;padding:8px;gap:8px}
  .gauge{max-width:64px}
  .mc-meter .hud-num{font-size:19px}
  .mc-meter .hud-label{font-size:12px}
  .power{margin:0;width:64px;flex:none}
  .power .meter{height:12px}
  .mc-meter .mc-chip{display:none}
}
@media (max-height:800px) and (min-width:701px){
  #dc-detail{gap:10px}
  .gauge{max-width:96px}
}
@media (max-height:560px) and (min-width:701px){
  .hud-clock,.hud-hint{display:none}
  .dc-info{top:80px;max-height:calc(100% - 180px);overflow:auto}
}
@media (prefers-reduced-motion:reduce){
  .dc *{animation:none!important;transition:none!important}
}

@media (max-width:860px){
  .hero,.game,.faq,.steps,.flow,.products{grid-template-columns:1fr}
  form.reserve{grid-template-columns:1fr}
}
