/**
 * Pozdrower – E-Bike Tetris
 */
.pzd-tet {
    max-width: 520px; margin: 0 auto; padding: 0;
    box-sizing: border-box; overflow: hidden;
    background: #0f172a; border-radius: 14px;
    -webkit-user-select: none; user-select: none;
    touch-action: manipulation; position: relative;
}
.pzd-tet__topbar {
    position: absolute; top: 8px; right: 8px; z-index: 10;
}
.pzd-tet__fs-btn {
    width: 36px; height: 36px; border: none; border-radius: 8px;
    background: rgba(0,0,0,0.45); color: #fff; font-size: 20px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; backdrop-filter: blur(4px);
    -webkit-tap-highlight-color: transparent;
}
.pzd-tet__fs-btn:hover { background: rgba(0,0,0,0.7); }
.pzd-tet__canvas {
    display: block; width: 100%; height: auto;
    border-radius: 14px 14px 0 0; cursor: pointer;
}
.pzd-tet__mobile {
    display: none; flex-direction: column; gap: 8px;
    padding: 10px 16px 14px; background: rgba(0,0,0,0.7);
    border-radius: 0 0 14px 14px;
}
.pzd-tet__mobile-row { display: flex; justify-content: center; gap: 10px; }
.pzd-tet__mbtn {
    width: 60px; height: 52px; border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px; background: rgba(255,255,255,0.06); color: #fff;
    font-size: 1.3em; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent; transition: all 0.1s;
}
.pzd-tet__mbtn:active { background: rgba(255,255,255,0.15); transform: scale(0.93); }
.pzd-tet__mbtn--wide { width: 140px; font-size: 1em; }

/* Fullscreen — standard */
.pzd-tet:fullscreen {
    max-width: 100%; border-radius: 0; background: #000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pzd-tet:fullscreen .pzd-tet__canvas {
    border-radius: 0; max-height: 85vh; object-fit: contain;
}
.pzd-tet:fullscreen .pzd-tet__mobile {
    border-radius: 0; display: flex;
}
.pzd-tet:fullscreen .pzd-tet__topbar {
    top: 12px; right: 12px;
}
/* Fullscreen — webkit (Safari) */
.pzd-tet:-webkit-full-screen {
    max-width: 100%; border-radius: 0; background: #000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pzd-tet:-webkit-full-screen .pzd-tet__canvas {
    border-radius: 0; max-height: 85vh; object-fit: contain;
}
.pzd-tet:-webkit-full-screen .pzd-tet__mobile {
    border-radius: 0; display: flex;
}
.pzd-tet:-webkit-full-screen .pzd-tet__topbar {
    top: 12px; right: 12px;
}

@media (max-width: 600px) {
    .pzd-tet__mobile { display: flex; }
    .pzd-tet { max-width: 100%; }
}
