/* MOD-BLINDES (28/10/2026 nuit, DV-0535) : durée d'un niveau au go, plaque + montre à gousset en haut, annonce au centre */

/* 1. fenêtre « Lancer la partie » */
.pkb-go{margin:10px 0 6px}
.pkb-go.hidden{display:none}
.pkb-go-t{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.pkb-chips{display:flex;flex-wrap:wrap;gap:4px;padding:3px;border-radius:11px;background:#3b24161f}
.pkb-chips button{flex:1 1 0;min-width:58px;min-height:44px;padding:6px 8px;border-radius:9px;font-weight:800;font-size:14px;color:var(--encre-2);background:none;font-variant-numeric:tabular-nums}
.pkb-chips button.on{background:var(--encre);color:var(--creme)}
.pkb-chips button.hidden{display:none}
.pkb-chips .pkb-fix{flex:1.2 1 0}
.pkb-prev{margin:7px 0 8px;font-size:13.5px;line-height:1.5;display:flex;flex-wrap:wrap;align-items:center;gap:2px 5px;font-variant-numeric:tabular-nums}
.pkb-prev span{white-space:nowrap;font-weight:800}
.pkb-prev span i{font-style:normal;font-weight:700;font-size:10.5px;margin-right:3px;padding:0 4px;border-radius:5px;background:#3b241626;vertical-align:1px}
.pkb-prev em{font-style:normal;opacity:.5}
.pkb-prev small{flex-basis:100%;font-size:12.5px;opacity:.78;line-height:1.35;margin-top:2px}

/* 2. la plaque du haut : une seule ligne (la montre déborde sans pousser la table) */
.pkb-plate{display:inline-flex;align-items:center;gap:7px;height:22px;padding:0 11px 0 4px;border-radius:999px;
  background:linear-gradient(180deg,#2a1a0fe6,#140b07e6);box-shadow:0 0 0 1.5px #e7ad4599,0 4px 12px #0007;color:var(--creme);white-space:nowrap}
.pkb-watch{width:31px;height:34px;margin:-9px 0 -3px -2px;flex:none;overflow:visible;filter:drop-shadow(0 2px 3px #000a)}
.pkb-bow{fill:none;stroke:#e7ad45;stroke-width:1.6}
.pkb-crown{fill:#c48a2c;stroke:#7a4e10;stroke-width:.6}
.pkb-case{fill:#b97b1f;stroke:#7a4e10;stroke-width:1}
.pkb-rim{fill:none;stroke:#f3cf7a;stroke-width:1.2}
.pkb-dial{fill:#f4e7c9}
.pkb-arc{fill:none;stroke:#c0392b;stroke-width:4.2;opacity:.32;transition:stroke-dasharray .25s linear}
.pkb-ticks line{stroke:#5a4030;stroke-width:.8;stroke-linecap:round}
.pkb-ticks .pkb-tk{stroke:#26150c;stroke-width:1.5}
.pkb-hand{stroke:#26150c;stroke-width:1.7;stroke-linecap:round;transition:transform .25s linear}
.pkb-pin{fill:#7a4e10}
.pkb-txt{display:inline-flex;align-items:baseline;gap:8px}
.pkb-lv{color:var(--gris)}
.pkb-lv b{color:var(--laiton);font-weight:700;font-size:1.12em}
.pkb-lv small{font-size:.86em;color:var(--creme-2);font-weight:700}
.pkb-sub{color:var(--creme-2)}
.pkb-sub b{color:var(--laiton);font-weight:700}
.pkb-cd{display:inline-block;min-width:3.1em;text-align:right;color:var(--creme);font-variant-numeric:tabular-nums}
.pkb-nx{opacity:.85}
.pkb-stop .pkb-cd{color:var(--gris)}
.pkb-stop .pkb-watch{filter:grayscale(.5) drop-shadow(0 2px 3px #000a)}
/* les 10 dernières secondes : la montre bat, le chiffre rougit — discret */
.pkb-hurry .pkb-cd{color:#ffab8f}
.pkb-hurry .pkb-watch{animation:pkbBat 1s ease-in-out infinite;transform-origin:50% 8%}
.pkb-hurry .pkb-arc{opacity:.6}
@keyframes pkbBat{0%,100%{transform:rotate(0)}12%{transform:rotate(-7deg)}30%{transform:rotate(5deg)}48%{transform:rotate(0)}}

/* 3. l'annonce au centre de la table */
.pkb-up{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);z-index:8;pointer-events:none;max-width:94%}
.pkb-up-in{display:flex;align-items:center;gap:12px;padding:8px 22px 8px 12px;border-radius:16px;
  background:linear-gradient(180deg,#2a1a0ff2,#140b07f2);box-shadow:0 0 0 2px #e7ad45cc,0 0 0 6px #140b0766,0 16px 34px #000c;
  animation:pkbUp 3.5s ease-out forwards;opacity:0}
.pkb-up .pkb-big{width:54px;height:60px;margin:-6px 0 -2px;flex:none;filter:drop-shadow(0 3px 5px #000b)}
.pkb-up .pkb-big .pkb-arc{opacity:0}
.pkb-up span{display:flex;flex-direction:column;min-width:0}
.pkb-up b{font-family:"Alfa Slab One",serif;font-weight:400;font-size:clamp(16px,2vw,24px);line-height:1.15;color:#fff;white-space:nowrap}
.pkb-up small{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:clamp(12px,1.2vw,15px);letter-spacing:.05em;text-transform:uppercase;color:var(--laiton)}
.pkb-up .pkb-hand{animation:pkbTour 1.1s cubic-bezier(.3,.7,.3,1) .15s both;transform-origin:20px 24px}
@keyframes pkbUp{0%{opacity:0;transform:scale(.75)}9%{opacity:1;transform:scale(1.06)}16%{transform:scale(1)}84%{opacity:1}100%{opacity:0}}
@keyframes pkbTour{from{transform:rotate(-360deg)}to{transform:rotate(0)}}

/* téléphone (couché ou vertical) : la ligne d'info est plus petite */
@media (max-width:900px),(max-height:500px){
  .pkb-plate{height:17px;gap:5px;padding:0 8px 0 2px}
  .pkb-watch{width:20px;height:22px;margin:-1px 0 -4px -1px} /* jamais au-dessus de la ligne : la puce « Mon saloon » est juste au-dessus */
  .pkb-txt{gap:6px}
  .pkb-up-in{gap:8px;padding:6px 14px 6px 8px;border-radius:12px}
  .pkb-up .pkb-big{width:38px;height:42px}
}
@media (max-width:430px){ .pkb-nx{display:none} }
@media (prefers-reduced-motion:reduce){.pkb-hurry .pkb-watch,.pkb-up .pkb-hand{animation:none}.pkb-up-in{animation:none;opacity:1}}
