/* The pool (scripts/pool.js): the tray right of the map where the units and buildings not in play wait. */

.pg-pool-under, .pg-pool-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    font: 600 10px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.pg-pool-under { z-index: 0; }                 /* under the boards (z-index 1) and the pieces */
.pg-pool-over { z-index: 1000001; }            /* over the pieces (z-index up to 1000000) */
.pg-pool-under > *, .pg-pool-over > * { position: absolute; }

.pg-pool-tray {
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    transition: background 0.15s, border-color 0.15s;
}
.pg-pool-tray.pg-pool-hot {
    border-color: rgba(240, 194, 75, 0.85);
    background: rgba(240, 194, 75, 0.10);
}
.pg-pool-label {
    color: #9a9ca5;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pg-pool-bar {
    width: 4px;
    border-radius: 2px;
    pointer-events: auto;
    cursor: help;
}
/* An elder race allied with the empire whose line it is on (in its own colour, a thin ring: not quite the empire's). */
.pg-pool-ally {
    width: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.pg-pool-ghost {
    opacity: 0.16;
    filter: grayscale(1);
    pointer-events: auto;
}
.pg-pool-count {
    min-width: 13px;
    padding: 2px 3px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: #141519;
    color: #e8e6e1;
    font-size: 9px;
    text-align: center;
    box-sizing: border-box;
}
