/* ---------- Borne ---------- */
.kiosk { background: #f3f5f9; user-select: none; touch-action: manipulation; }
.kiosk-btn {
    position: relative; border: 0; border-radius: 1.25rem; padding: 2.2rem 1.2rem; min-height: 10rem;
    color: #fff; background: var(--svc, #0d6efd); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12); transition: transform .1s;
}
.kiosk-btn:active { transform: scale(.97); }
.kiosk-prefix {
    position: absolute; top: .6rem; left: .8rem; font-weight: 800; font-size: 1.1rem;
    background: rgba(255, 255, 255, .25); border-radius: .5rem; padding: 0 .5rem;
}
.ticket-card { max-width: 22rem; background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .15); }
.ticket-code { font-size: 5rem; font-weight: 900; line-height: 1.1; letter-spacing: .05em; }

@media print {
    @page { size: 80mm auto; margin: 2mm; }
    body * { visibility: hidden; }
    #ticket-print, #ticket-print * { visibility: visible; }
    #ticket-print { position: absolute; left: 0; top: 0; width: 76mm; box-shadow: none; }
    .no-print { display: none !important; }
}

/* ---------- Écran TV ---------- */
.tv { background: #0b1d3a; color: #fff; overflow: hidden; height: 100vh; }
.tv-main { background: linear-gradient(135deg, #123a74, #0b1d3a); border-radius: 1.5rem; }
.tv-code { font-size: clamp(5rem, 16vw, 16rem); font-weight: 900; line-height: 1; letter-spacing: .04em; }
.tv-counter { font-size: clamp(2rem, 5vw, 5rem); font-weight: 700; }
.tv-flash { animation: flash 1s ease-in-out 4; }
@keyframes flash { 50% { background: #f5b301; color: #0b1d3a; } }
.tv-history li { font-size: clamp(1.2rem, 2.4vw, 2.4rem); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.tv-ticker { background: #f5b301; color: #0b1d3a; white-space: nowrap; overflow: hidden; font-size: clamp(1.2rem, 2.2vw, 2.2rem); font-weight: 600; }
.tv-ticker span { display: inline-block; padding-left: 100%; animation: ticker linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- Guichet ---------- */
.counter-code { font-size: clamp(3.5rem, 12vw, 7rem); font-weight: 900; line-height: 1; }
.btn-action { min-height: 4.5rem; font-size: 1.25rem; font-weight: 600; }
.priority-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: #dc3545; }

/* ---------- Administration ---------- */
.col-prefix { width: 5.5rem; }
.audio-mini { height: 2rem; max-width: 12rem; }
