/* ===== 機台開獎紀錄 popup 共用樣式（playslot 與 slotroom 同用） ===== */

.info-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #1a1f3a 0%, #0a0e24 100%);
    color: #fff;
    border-radius: 6px;
    font-size: .92rem;
}
.info-banner-max {
    font-weight: 700;
    color: #ffd24a;
    font-family: 'Consolas', 'Menlo', monospace;
    letter-spacing: 1px;
}
.info-banner-range {
    color: #ddd;
    font-size: .82rem;
}

.info-board-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.info-board {
    display: flex;
    gap: 1px;
    padding: 6px;
    background: #0a0a18;
    border: 1px solid #444;
    border-radius: 6px;
    overflow-x: auto;
    max-width: 100%;
}
.info-col {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
    align-items: stretch;
}
/* 每欄頂部小 label：顯示該欄當下最大轉速（current_round） */
.info-col-round {
    font-size: .62rem;
    line-height: 1.2;
    color: #ffd24a;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 215, 0, .35);
    border-radius: 3px;
    text-align: center;
    padding: 1px 2px;
    margin-bottom: 3px;
    font-family: 'Consolas', 'Menlo', monospace;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    min-width: 0;
}
.info-cell {
    width: 18px;
    height: 14px;
    background: #2a2a44;
    box-sizing: border-box;
    cursor: help;
}
.info-cell.white { background: #fff; }
.info-cell.bb    { background: #d33; }
.info-cell.rb    { background: #2a72d3; }
.info-cell.green { background: #2f9e44; }

.info-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 14px;
}
.info-nav-btn {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #ced4da;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 600;
    color: #333;
    transition: background .15s, opacity .15s;
}
.info-nav-btn:hover:not(:disabled) {
    background: #e9ecef;
}
.info-nav-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.info-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: .95rem;
}
.info-stat-item {
    padding: 4px 12px;
    border-radius: 12px;
    background: #f1f3f5;
    color: #333;
    white-space: nowrap;
}
.info-stat-item.bb { background: #ffe0e0; color: #c92a2a; font-weight: 600; }
.info-stat-item.rb { background: #d0ebff; color: #1864ab; font-weight: 600; }
.info-stat-item.gn { background: #d3f9d8; color: #2b8a3e; font-weight: 600; }

.info-empty {
    text-align: center;
    padding: 24px 12px;
    color: #888;
}

/* 手機版：cell 略大一點點，方便手指 hover/long-press 出 tooltip */
@media (max-width: 991px) {
    .info-cell { width: 22px; height: 16px; }
}
