/**
 * The Spin The Wheel — Page Module: yes-no.css
 */

/* Series Scoreboard */
.series-scoreboard {
    background: linear-gradient(135deg, rgba(22, 31, 48, 0.95), rgba(17, 24, 39, 0.95));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scoreboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.scoreboard-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-accent);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.scoreboard-target {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

.scoreboard-scores {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.score-box.yes .score-num {
    color: var(--accent-emerald);
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.score-box.no .score-num {
    color: var(--accent-rose);
    text-shadow: 0 0 12px rgba(244, 63, 94, 0.4);
}

.score-box.maybe .score-num {
    color: var(--accent-amber);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.score-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.score-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

.score-divider {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

.score-reset-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s ease;
    padding: 0.2rem;
}

.score-reset-btn:hover {
    color: var(--text-primary);
}

/* Mode Selection Pills */
.mode-pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.mode-pill {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

.mode-pill:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: var(--bg-card);
}

.mode-pill.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.15));
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.mode-pill-sub {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.75;
}

/* Slice Selector Chips */
.slices-control-group {
    margin-bottom: 1rem;
}

.control-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.control-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.control-hint {
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 500;
}

.slice-chips-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.slice-chip {
    flex: 1;
    min-width: 50px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slice-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.slice-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
}

/* Series Selector Row */
.series-chips-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.series-chip {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.series-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.series-chip.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
    border-color: var(--accent-emerald);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

/* Weighted Slider Container */
.weight-slider-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    margin-bottom: 1rem;
}

.weight-values-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.weight-val-yes {
    color: var(--accent-emerald);
}

.weight-val-no {
    color: var(--accent-rose);
}

.weight-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--accent-emerald), var(--accent-rose));
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.weight-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* Provably Fair SHA-256 Box */
.provably-fair-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.pf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.pf-badge {
    color: var(--accent-emerald);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pf-hash {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    word-break: break-all;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

/* The Gut-Check Filter Card inside Winner Modal */
.gut-check-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    margin-top: 1.25rem;
    text-align: left;
}

.gut-check-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 0.4rem;
}

.gut-check-prompt {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.gut-check-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.gut-check-btn {
    flex: 1;
    min-width: 140px;
    padding: 0.55rem 0.75rem;
    font-size: 0.785rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gut-check-btn.accept {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: var(--accent-emerald);
}

.gut-check-btn.accept:hover {
    background: var(--accent-emerald);
    color: #ffffff;
}

.gut-check-btn.opposite {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.4);
    color: var(--accent-rose);
}

.gut-check-btn.opposite:hover {
    background: var(--accent-rose);
    color: #ffffff;
}

/* Quick Tool Switcher Component */
.tool-switcher-section {
    max-width: 1320px;
    margin: 3.5rem auto 0 auto;
    padding: 0 1.5rem;
}

.switcher-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
}

.switcher-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.switcher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.85rem;
}

.switcher-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.switcher-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.switcher-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.switcher-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.switcher-card-desc {
    font-size: 0.785rem;
    color: var(--text-muted);
    line-height: 1.4;
}


/* ==========================================================================
   INFORMATION GAIN EXTENSIONS: Dilemma, Mystery Mode, Audit & Hotkeys
   ========================================================================== */

/* Dilemma Question Input & Presets Bar */
.dilemma-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dilemma-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.dilemma-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dilemma-icon {
    font-size: 1.1rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.dilemma-input {
    width: 100%;
    height: 42px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    padding: 0 1.75rem 0 0;
}

.dilemma-input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.dilemma-clear-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transition: all 0.15s ease;
}

.dilemma-clear-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
}

/* Dilemma Presets Row */
.dilemma-presets-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-subtle);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dilemma-presets-bar::-webkit-scrollbar {
    display: none;
}

.preset-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.preset-chips-scroll {
    display: flex;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.preset-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.725rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.preset-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

/* Real-Time Session Audit & Monte Carlo Tracker */
.session-audit-bar {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.95));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-top: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.audit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.audit-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.audit-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.audit-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-full);
}

.audit-reset-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.audit-reset-btn:hover {
    color: var(--text-primary);
}

.audit-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    text-align: center;
    margin-bottom: 0.6rem;
}

.audit-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.35rem 0.2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.audit-stat-item .audit-val {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.audit-stat-item.yes .audit-val {
    color: var(--accent-emerald);
}

.audit-stat-item.no .audit-val {
    color: var(--accent-rose);
}

.audit-stat-item.dev .audit-val {
    color: var(--text-accent);
}

.audit-stat-item .audit-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.audit-meter-bar {
    width: 100%;
    height: 6px;
    background: var(--accent-rose);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.audit-meter-fill {
    height: 100%;
    background: var(--accent-emerald);
    transition: width 0.3s ease;
}

/* Winner Dilemma Display & Decision Card */
.winner-dilemma-title {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    word-break: break-word;
    line-height: 1.4;
}

.winner-dilemma-title::before {
    content: "“";
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 0.2rem;
}

.winner-dilemma-title::after {
    content: "”";
    color: var(--primary);
    font-size: 1.2rem;
    margin-left: 0.2rem;
}

/* Mystery Reveal Overlay in Winner Modal */
.mystery-reveal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    padding: 1.5rem;
    text-align: center;
    animation: fadeInModal 0.2s ease;
}

.mystery-box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.mystery-icon-pulse {
    font-size: 3.5rem;
    animation: mysteryFloat 2s ease-in-out infinite;
}

@keyframes mysteryFloat {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6)); }
    50% { transform: translateY(-8px) scale(1.08); filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.9)); }
}

.mystery-reveal-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.mystery-reveal-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all 0.2s ease;
    min-height: 48px;
}

.mystery-reveal-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(139, 92, 246, 0.6);
}

/* Gut-Check Alignment Tally */
.gut-alignment-tally {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gut-alignment-tally strong {
    color: var(--text-accent);
}

/* Keyboard Hints Bar */
.keyboard-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.75rem;
    font-size: 0.725rem;
    color: var(--text-muted);
}

.kbd-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.kbd-hint kbd {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-family: inherit;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .keyboard-hints {
        display: none;
    }
    
    .audit-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Full-Width Dilemma Section */
.dilemma-prompt-section {
    width: 100%;
    margin-bottom: 1.5rem;
}

.dilemma-prompt-section .dilemma-card {
    margin-bottom: 0;
}

/* Controls Column Session Audit Alignment */
.controls-card .session-audit-bar {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
}

/* Enhanced Winner Modal Responsiveness for YesNoWheel */
#winnerModal .winner-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1.5rem;
    scrollbar-width: thin;
    position: relative;
}

.modal-close-x {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    z-index: 10;
}

.modal-close-x:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.winner-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.25rem;
    width: 100%;
}

.modal-spin-again-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.modal-secondary-actions .btn-secondary {
    padding: 0.65rem 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

/* Dilemma Cooldown Bar */
.dilemma-cooldown-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(16, 185, 129, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    margin-top: 0.6rem;
    font-size: 0.8rem;
    animation: fadeInModal 0.2s ease;
}

.cooldown-text {
    color: var(--text-primary);
    font-weight: 600;
    flex: 1;
}

.cooldown-unlock-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.725rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cooldown-unlock-btn:hover {
    background: rgba(244, 63, 94, 0.2);
    border-color: var(--accent-rose);
    color: var(--accent-rose);
}

/* Spin Pacing Chips */
.pacing-chips-row {
    display: flex;
    gap: 0.4rem;
}

.pacing-chip {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pacing-chip:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.pacing-chip.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

/* Session Draw History Box */
.session-history-box {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(30, 41, 59, 0.95));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    width: 100%;
    box-sizing: border-box;
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.history-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.history-count-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
}

.history-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.history-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-color: var(--border-accent);
}

.history-list-container {
    max-height: 160px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.history-empty-state {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 0.5rem 0;
    text-align: center;
}

.history-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.history-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    font-size: 0.75rem;
    transition: background 0.15s ease;
}

.history-item-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.history-row-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.history-num {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.history-badge {
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.history-badge.yes {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-emerald);
}

.history-badge.no {
    background: rgba(244, 63, 94, 0.2);
    color: var(--accent-rose);
}

.history-badge.maybe {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-amber);
}

.history-q {
    color: var(--text-secondary);
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
}

.history-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Post-Decision Commitment Contract in Modal */
.decision-contract-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.15rem;
    margin-top: 1rem;
    text-align: left;
}

.contract-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
}

.contract-icon {
    font-size: 1rem;
}

.contract-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.contract-directive {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.contract-lock-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(16, 185, 129, 0.2));
    border: 1px solid var(--border-accent);
    color: #ffffff;
    font-size: 0.825rem;
    font-weight: 700;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
}

.contract-lock-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent-emerald));
    border-color: transparent;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}
