/* Junction Jam only — the traffic-light buttons in the side panel.
   Everything else on this page comes from assets/css/game-shell.css. */

.signals {
    display: grid;
    gap: 8px;
}
.sig {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    padding: 10px 12px;
    background: var(--paper);
    transition:
        border-color 0.15s,
        transform 0.1s;
}
.sig:hover {
    border-color: var(--blue);
}
.sig:active {
    transform: translateY(1px);
}
.lamps {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #2a3050;
    padding: 5px;
    border-radius: 7px;
}
.lamps i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: block;
}
.sig[data-state="red"] .lamps i:nth-child(1) {
    background: #ff5a4d;
    box-shadow: 0 0 8px #ff5a4d;
}
.sig[data-state="yellow"] .lamps i:nth-child(2) {
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow);
}
.sig[data-state="green"] .lamps i:nth-child(3) {
    background: #35d07f;
    box-shadow: 0 0 8px #35d07f;
}
.sig .who {
    font-weight: 600;
    font-size: 14.5px;
    line-height: 1.25;
}
.sig .who em {
    display: block;
    font-style: normal;
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 500;
}
.sig kbd {
    margin-left: auto;
    font-family: "DM Mono", monospace;
    font-size: 20px;
    line-height: 1;
    border: 1.5px solid var(--line);
    background: var(--surface);
    border-radius: 9px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--ink);
    box-shadow: 0 1.5px 0 var(--line);
}
.sig .q {
    font-family: "DM Mono", monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    min-width: 22px;
    text-align: right;
}
