/* Cópia isolada — visual aproximado ao webapp/style.css real (tema escuro por defeito, marca Padelada). */
:root {
    --bg: #131416;
    --bg2: #1c1d20;
    --text: #f2f3f5;
    --hint: #8b8f97;
    --btn: #ccff00;
    --btn-text: #131416;
    --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: 14px 0 84px;
}

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px 4px;
}
.topo-titulo { font-size: 20px; font-weight: 800; letter-spacing: -.3px; display: flex; align-items: center; gap: 6px; }
.topo-titulo span.marca { color: var(--btn); }
.topo-user { font-size: 11px; color: var(--hint); }
.status { margin: 0 16px 14px; font-size: 11px; color: var(--hint); }

.mapa-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px 8px;
    gap: 8px;
}
.mapa-nav-btn {
    background: var(--bg2);
    border: none;
    border-radius: 8px;
    width: 36px; height: 36px;
    font-size: 20px;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
}
.mapa-hoje-btn {
    flex: 1;
    background: var(--bg2);
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.mapa-container {
    margin: 0 16px 16px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: var(--bg2);
}
.mapa-header-row {
    display: flex;
    background: var(--bg2);
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    z-index: 2;
}
.mapa-corner { width: 44px; flex-shrink: 0; border-right: 1px solid rgba(255,255,255,.08); }
.mapa-campo-header {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--hint);
    text-transform: uppercase;
    letter-spacing: .03em;
    border-right: 1px solid rgba(255,255,255,.06);
}
.mapa-campo-header:last-child { border-right: none; }
.mapa-body {
    display: flex;
    overflow-y: auto;
    max-height: 420px;
}
.mapa-time-col {
    width: 44px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.mapa-hour-label {
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    font-size: 10px;
    color: var(--hint);
    font-weight: 500;
    box-sizing: border-box;
}
.mapa-courts-body {
    flex: 1;
    display: flex;
    position: relative;
}
.mapa-court-col {
    flex: 1;
    position: relative;
    border-right: 1px solid rgba(255,255,255,.06);
}
.mapa-court-col:last-child { border-right: none; }
.mapa-hour-line {
    position: absolute;
    left: 0; right: 0;
    border-top: 1px solid rgba(255,255,255,.06);
    pointer-events: none;
}
.mapa-block {
    position: absolute;
    left: 3px; right: 3px;
    border-radius: 6px;
    padding: 4px 6px;
    cursor: pointer;
    overflow: hidden;
    transition: opacity .15s;
    z-index: 1;
}
.mapa-block:active { opacity: .75; }
.mapa-block-tipo { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .85; }
.mapa-block-hora { font-size: 11px; font-weight: 600; margin-top: 1px; }
.mapa-block-vagas { font-size: 10px; opacity: .9; margin-top: 1px; }
.mapa-tipo-jogo    { background: #2e7d32; color: #fff; }
.mapa-tipo-aula    { background: #1565c0; color: #fff; }
.mapa-tipo-mix     { background: #e65100; color: #fff; }
.mapa-tipo-torneio { background: #6a1b9a; color: #fff; }
.mapa-tipo-liga    { background: #b8860b; color: #fff; }
.mapa-vazio {
    text-align: center;
    color: var(--hint);
    font-size: 13px;
    padding: 32px 16px;
}

/* ── Barra de tabs inferior — visual igual ao real, só "Jogos" está ligado ── */
.tabs {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg2);
    border-top: 1px solid rgba(255,255,255,.08);
    padding-bottom: env(safe-area-inset-bottom);
}
.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px 10px;
    border: none;
    background: transparent;
    color: var(--hint);
    font-size: 10px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.1;
}
.tab::before {
    content: attr(data-icon);
    font-size: 22px;
    line-height: 1;
    display: block;
}
.tab.active { color: var(--btn); }
