:root{--dy-count-space:0px}
body{padding-bottom:var(--dy-count-space)}
.dy-count-card{position:fixed;z-index:10000;bottom:0;left:0;right:0;max-height:45dvh;overflow:auto;box-sizing:border-box;background:#fbfbf8;color:#1c1c1a;border-top:1px solid #ccc9c0;padding:14px max(16px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));font:16px/1.45 system-ui,sans-serif;text-align:left}
.dy-count-card>div{max-width:760px;margin:0 auto}.dy-count-card h2{font:700 18px/1.3 system-ui,sans-serif;margin:0 0 6px}.dy-count-card p{margin:0 0 10px}.dy-count-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dy-count-actions button,[data-count-toggle]{font:600 16px/1.3 system-ui,sans-serif;color:#1c1c1a;background:#fff;border:1px solid #555;border-radius:5px;min-height:44px;padding:9px 16px;cursor:pointer}.dy-count-actions button{min-width:110px}.dy-count-actions a,.dy-count-link{color:inherit;text-decoration:underline}.dy-count-card :focus-visible,[data-count-toggle]:focus-visible{outline:3px solid #3f60b7;outline-offset:3px}.dy-count-link{display:block;text-align:center;font-size:14px;margin:14px auto;pointer-events:auto}.fidget-wall .nav{bottom:calc(20px + var(--dy-count-space))}.fidget-wall .nogl{bottom:calc(70px + var(--dy-count-space))}
body:has(#scene) main{min-height:calc(100svh - 130px - var(--dy-count-space))}#logVeil{bottom:var(--dy-count-space)}
@media(min-width:700px){.dy-count-card{left:16px;right:auto;bottom:16px;width:min(560px,calc(100% - 32px));border:1px solid #ccc9c0;border-radius:10px}}

/* Plane consent stays below the scene instead of shrinking or covering the controls. */
.paper-plane-launcher .dy-count-card{position:relative;inset:auto;width:auto;max-width:680px;max-height:none;margin:0 auto;border:1px solid #ccc9c0;border-radius:0;z-index:auto}
@media print{.dy-count-card{display:none}}
