/* ---------- 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; }

/* ---------- Pages publiques ---------- */
.public-site { background: #f6f8fc; color: #14213d; }
.public-header { background: #0b1d3a; }
.public-brand { color: #fff; font-weight: 800; letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.public-dot { width: .8rem; height: .8rem; border-radius: 50%; background: #f5b301; display: inline-block; }
.public-hero { background: linear-gradient(135deg, #123a74, #0b1d3a); color: #fff; padding: 3.5rem 0; }
.public-hero h1 { font-weight: 800; font-size: clamp(1.8rem, 5vw, 3rem); }
.public-footer { background: #0b1d3a; color: #fff; }
.public-feature { background: #fff; border-radius: 1rem; padding: 1.25rem; height: 100%; box-shadow: 0 .25rem .75rem rgba(11, 29, 58, .08); }
.public-feature .icon { font-size: 1.8rem; line-height: 1; }
.org-card { background: #fff; border-radius: 1rem; padding: 1.25rem; height: 100%; box-shadow: 0 .25rem .75rem rgba(11, 29, 58, .08); text-decoration: none; color: inherit; display: block; transition: transform .1s; }
.org-card:hover { transform: translateY(-2px); color: inherit; }
.hours-table td { padding: .15rem .75rem .15rem 0; }
.qr-box svg { max-width: 100%; height: auto; }
.code-big { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; font-size: 1.6rem; font-weight: 700; }
