body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    height: 100vh;
}

#tablero {
    width: 100%;
    height: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/*MENU HAMBURGUESA*/
.toolbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Oculto (sube hacia arriba) */
.toolbar.hidden {
    transform: translate(-50%, -120%);
    opacity: 0;
}

/* Botones estilo icono */

.toolbar button {
    all: unset;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.toolbar button:hover {
    background: rgba(158, 50, 211, 0.1);
}

/* Mini pestañita visible cuando la toolbar está oculta */
.tab-handle {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #aaa;
    border-bottom: none;
    border-radius: 0 0 8px 8px;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2100;
    display: none; /* oculto mientras la toolbar está visible */
}


img {
    width: 24px;   /* tamaño fijo del ícono */
    height: 24px;
    display: block;
}

/* Ajustar tamaño de los botones */
.toolbar button{
    all: unset;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}


.postip {
    overflow:hidden;
    text-overflow: ellipsis;
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
    position: absolute;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><rect width="300" height="300" fill="%23fff59d" stroke="%23fbc02d" stroke-width="4" rx="20" ry="20"/><path d="M260,0 L300,0 L300,40 Z" fill="%23fbc02d"/><path d="M260,0 L300,40 L260,40 Z" fill="%23fff176"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    height: 150px; 
    width: 150px;
    padding: 1rem;
    border-radius: 0.25rem;
    cursor: grab;
    user-select: none;
}

.postit:active {
    cursor: grabbing;
}



.texto {
    position: absolute;
    font-family: "Shadows Into Light", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    color: #333;
    cursor: text;
    background: transparent;
    border: none;
}
