/* Demand 420: the master's decision about a photo a player removed (collection and board). */
dialog.pq-withdrawal{border:0;border-radius:16px;padding:0;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);background:#fff;color:#172c48;box-shadow:0 14px 40px #0008}
dialog.pq-withdrawal::backdrop{background:#0b1626b3}
.pq-wd-box{display:grid;gap:12px;padding:16px;font:15px/1.45 system-ui,-apple-system,sans-serif}
.pq-wd-box h2{margin:0;font-size:19px}
.pq-wd-photo{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:#eef2f8;filter:grayscale(.6)}
.pq-wd-facts{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center}
.pq-wd-facts dt{color:#5b6b82}.pq-wd-facts dd{margin:0;font-weight:600}
.pq-wd-who{display:inline-flex;align-items:center;gap:6px;background:#e6effb;color:#172c48;border-radius:999px;padding:2px 10px 2px 3px;font-weight:700}
.pq-wd-who i{font-style:normal;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;font-size:14px}
.pq-wd-note,.pq-wd-tiny{margin:0;color:#5b6b82;font-size:13.5px}.pq-wd-tiny{font-size:12.5px}
.pq-wd-big{display:grid;gap:3px;width:100%;text-align:left;font:800 16px system-ui,-apple-system,sans-serif;border-radius:13px;min-height:56px;padding:11px 14px;cursor:pointer}
.pq-wd-big small{font:500 12.5px/1.35 system-ui,-apple-system,sans-serif}
.pq-wd-delete{background:#b3261e;border:1px solid #b3261e;color:#fff}
.pq-wd-back{background:#235db8;border:1px solid #235db8;color:#fff}
.pq-wd-later{background:#fff;border:1px solid #cad5e5;color:#172c48;border-radius:12px;padding:10px 14px;font:700 15px system-ui,-apple-system,sans-serif;cursor:pointer}
.pq-wd-box button:disabled{opacity:.45;cursor:not-allowed}
.pq-wd-restore{border:2px solid #235db8;border-radius:14px;padding:10px 12px 12px;margin:0;display:grid;gap:10px;min-width:0}
.pq-wd-restore legend{font-weight:900;font-size:16px;color:#235db8;padding:0 6px}
.pq-wd-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:600;border:1px solid #cad5e5;background:#f3f6fb;border-radius:10px;padding:10px}
.pq-wd-check input{width:22px;height:22px;flex:none;margin:0}
.pq-wd-share{background:none;border:0;padding:0;font:700 14px system-ui,-apple-system,sans-serif;color:#235db8;text-decoration:underline;text-underline-offset:3px;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;cursor:pointer;text-align:left}
.pq-wd-editor{display:grid;gap:8px}.pq-wd-editor[hidden]{display:none}
.pq-wd-editor textarea{width:100%;box-sizing:border-box;font:14px/1.4 system-ui,-apple-system,sans-serif;border:1px solid #cad5e5;border-radius:8px;padding:8px}
.pq-wd-editor button{justify-self:start;background:#235db8;color:#fff;border:0;border-radius:10px;padding:8px 14px;font-weight:700}
.pq-wd-progress{display:grid;gap:10px;background:#e3f4ea;border-radius:10px;padding:10px;font-size:13.5px}.pq-wd-progress[hidden]{display:none}.pq-wd-progress p{margin:0}
.pq-wd-bar{height:8px;border-radius:99px;background:#fff;overflow:hidden}.pq-wd-bar span{display:block;height:100%;width:0;background:#1f7a45;transition:width 1.2s ease}
.pq-wd-progress.go .pq-wd-bar span{width:100%}
.pq-wd-message{margin:0;color:#b3261e;font-weight:600}.pq-wd-message:empty{display:none}.pq-wd-message.pq-wd-done{color:#1f7a45;background:#e3f4ea;border-radius:10px;padding:9px 12px}
@media (prefers-reduced-motion:reduce){.pq-wd-bar span{transition:none}}
/* Demand 420: a collection photo removed by a player (greyed, with the link that opens the decision). */
.detail-photo.player-removed img{filter:grayscale(.85) brightness(.85)}
.player-removal-link{display:block;width:100%;box-sizing:border-box;margin-top:6px;font:800 13.5px system-ui,-apple-system,sans-serif;color:#c45114;text-decoration:underline;text-underline-offset:3px;background:#fdeee3;border:1px solid #c45114;border-radius:8px;padding:7px 8px;text-align:left;cursor:pointer}

/* Simple game windows (demands 405, 408, 419): a card over the board. */
.pq-notice{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:16px;background:#0b1626b3}
.pq-notice-box{width:min(420px,100%);box-sizing:border-box;display:grid;gap:12px;padding:18px;border-radius:16px;background:#16274a;color:#e8eef8;border:1px solid #2f4572;box-shadow:0 14px 34px #000a;font:16px/1.45 system-ui,-apple-system,sans-serif;text-align:center}
.pq-notice-box h2{margin:0;font-size:20px}.pq-notice-box p{margin:0}
.pq-notice-box button{justify-self:center;min-width:140px;background:#22375f;color:#e3ebf8;border:1px solid #3a5585;border-radius:12px;padding:10px 16px;font:700 16px system-ui,-apple-system,sans-serif}
.pq-resume-count{font-size:44px;font-weight:900;line-height:1}
.pq-resume-tv .pq-notice-box{width:min(760px,100%);font-size:26px}.pq-resume-tv .pq-resume-count{font-size:110px}
.pq-resume-me{display:flex;gap:8px;align-items:center;justify-content:center;font-weight:800}
/* Demands 423 and 429: the pause shown in the action zone (board kept), with who is back. */
[data-pq=actions]{position:relative}
.pq-pause-panel{position:absolute;top:0;left:0;right:0;min-height:100%;box-sizing:border-box;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px 12px;border-radius:inherit;background:#c45114;color:#fff;text-align:center;font:600 14px/1.3 system-ui,-apple-system,sans-serif;box-shadow:0 6px 16px #0005}
.pq-pause-panel p{margin:0;color:#fff}
.pq-pause-title{display:flex;align-items:center;justify-content:center;gap:6px;font-size:16px}
.pq-pause-title strong{font-weight:900;color:#fff}
.pq-pause-icon{flex:none}
.pq-pause-panel .pq-pause-link{display:inline;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0;min-height:0;color:#fff!important;font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.pq-pause-resume{background:#fff!important;color:#c45114!important;border:0!important;border-radius:999px;padding:7px 26px;min-height:0!important;font:900 17px system-ui,-apple-system,sans-serif;box-shadow:0 3px 10px #0004}
.pq-pause-presence{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center;justify-content:center;font-size:12.5px}
.pq-pause-players{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}
.pq-pause-player{display:inline-flex;align-items:center;gap:3px;border-radius:999px;padding:1px 7px 1px 3px;background:#fff3;color:#fff;opacity:.45;font-size:11.5px;font-weight:700}
.pq-pause-player.here{opacity:1;background:#fff;color:#172c48}
.pq-pause-player i{font-style:normal}
.pq-pause-panel small{color:#fff}
.pq-pause-float{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:2400}
.pq-pause-float .pq-pause-panel{position:relative;inset:auto;border-radius:16px;box-shadow:0 8px 24px #0007}
/* Demand 428: the TV message over its board. */
.pq-tv-pause{position:fixed;left:50%;bottom:5vh;transform:translateX(-50%);z-index:3000;width:min(900px,90vw);display:grid;gap:12px;justify-items:center;padding:24px 32px;border-radius:24px;background:#c45114;color:#fff;text-align:center;font:600 26px/1.35 system-ui,-apple-system,sans-serif;box-shadow:0 12px 40px #0009}
.pq-tv-pause p{margin:0;color:#fff}.pq-tv-pause .pq-pause-title{font-size:34px}
.pq-tv-pause .pq-pause-presence{font-size:20px}.pq-tv-pause .pq-pause-player{font-size:18px;padding:4px 14px 4px 6px}
/* Demand 422: the master's reminder of a planned pause, PhotoQuand orange. */
.pq-pause-planned{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap;margin:6px auto 0;padding:5px 6px 5px 12px;border-radius:999px;background:#c45114;color:#fff;font:800 13px/1.25 system-ui,-apple-system,sans-serif;width:max-content;max-width:100%;box-sizing:border-box}
html body .pq-pause-planned span{color:#fff!important;display:inline!important}
.pq-pause-planned button{flex:none;background:#fff!important;color:#c45114!important;border:0!important;border-radius:999px;padding:5px 12px;min-height:0!important;font:800 12.5px system-ui,-apple-system,sans-serif}
.pq-pause-float .pq-pause-planned{margin:0 auto;box-shadow:0 6px 18px #0006}
/* Demand 408: « Qui peut avancer la partie ? » */
.pq-progression{display:grid;gap:8px}
.pq-progression label{display:flex;gap:8px;align-items:center}
.pq-progression select{max-width:100%}
/* The board hides ordinary paragraphs of the action zone; the pause panel keeps its own. */
html body .pq-pause-panel .pq-pause-title{display:flex!important;color:#fff!important;font-size:16px!important;margin:0!important;visibility:visible!important}
html body .pq-pause-panel .pq-pause-text{display:block!important;color:#fff!important;font-size:14px!important;margin:0!important;visibility:visible!important;max-width:34ch}
html body .pq-pause-panel .pq-pause-title strong{display:inline!important;color:#fff!important}
/* Demand 435: the two buttons of « Cette photo me dérange » have the same size. */
html body .pq-photo-removal .pq-remove-box>button{width:100%;min-height:48px;font-size:16px;font-weight:800;white-space:normal;box-sizing:border-box}
html body .pq-pause-planned svg.pq-pause-icon{width:16px!important;height:16px!important;flex:none}
html body .pq-pause-planned{flex-wrap:nowrap}
.illustrated-context-question .pq-pause-planned{grid-column:1/-1}
html body .pq-photo-removal .pq-remove-box>button{border-radius:12px!important}
html body .illustrated-context-question:has(.pq-pause-planned){flex-wrap:wrap!important;row-gap:4px}
html body .illustrated-context-question .pq-pause-planned{flex:1 0 100%;width:100%;max-width:100%;margin:2px 0 0;justify-content:center}
/* Demand 440: the keyhole icon sits on the text line. */
.pq-keyhole{display:inline-block;vertical-align:-4px;flex:none}
/* Demand 441: the player's exit window, three large buttons. */
html body .pq-player-exit .pq-quit-box{display:grid;gap:8px;text-align:center}
html body .pq-player-exit .pq-exit-big{width:100%;min-height:52px;font-size:17px;font-weight:800;border-radius:12px!important;box-sizing:border-box}
html body .pq-player-exit small{display:block;margin:-2px 0 6px;font-size:13px;opacity:.85}

/* Demand A45: « La partie reprend », the Apple way (phones, tablets, master's device and TV; public/shared/resume-lines.js). */
html body .pq-notice.pq-resume{background:rgba(6,12,24,.45)!important;-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);animation:pq-resume-in .25s ease-out both}
html body .pq-notice.pq-resume.pq-out{animation:pq-resume-out .25s ease-in both}
.pq-resume-card{display:grid;justify-items:center;gap:18px;width:min(340px,calc(100vw - 48px));box-sizing:border-box;padding:28px 24px 24px;border-radius:28px;background:rgba(28,40,64,.62);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(30px) saturate(150%);backdrop-filter:blur(30px) saturate(150%);box-shadow:0 24px 60px #0008;color:#fff;text-align:center;font:500 15px/1.4 -apple-system,BlinkMacSystemFont,system-ui,sans-serif}
.pq-resume-title{margin:0;font:700 22px/1.2 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;color:#fff}
.pq-resume-ring{position:relative;width:150px;height:150px}
.pq-resume-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.pq-resume-ring circle{fill:none;stroke-width:8;stroke-linecap:round}
.pq-resume-track{stroke:rgba(255,255,255,.16)}
.pq-resume-arc{stroke:#ff9f43}
.pq-resume-num{position:absolute;inset:0;display:grid;place-items:center;font:800 64px/1 ui-rounded,-apple-system,system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#fff}
.pq-resume-me{display:inline-flex;align-items:center;gap:8px;margin:0;padding:4px 14px 4px 4px;border-radius:999px;background:#fff;color:#172c48;font-weight:800}
.pq-resume-av{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef2f8}
.pq-resume-lines{list-style:none;margin:0;padding:0;display:grid;gap:8px;color:#ffffffd9}
.pq-resume-tv .pq-resume-card{width:min(760px,90vw);gap:30px;padding:52px 80px;border-radius:40px;font-size:30px}
.pq-resume-tv .pq-resume-title{font-size:54px}
.pq-resume-tv .pq-resume-ring{width:300px;height:300px}
.pq-resume-tv .pq-resume-num{font-size:150px}
@keyframes pq-resume-in{from{opacity:0}}
@keyframes pq-resume-out{to{opacity:0}}
@media(prefers-reduced-motion:reduce){html body .pq-notice.pq-resume,html body .pq-notice.pq-resume.pq-out{animation:none}}
