/* V47 : offres contextuelles, préparation et retours de score. Identité actuelle conservée. */
.v47-like-quota{align-self:flex-start;border:1px solid var(--line);border-radius:22px;padding:10px 14px;min-height:44px;background:var(--surface2);color:var(--fg);font:500 13px system-ui}
.v47-rewind{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;flex:none;min-width:68px;min-height:65px;padding:8px;border:1px solid var(--line);border-radius:19px;background:var(--surface);color:var(--acc);font:12px system-ui;order:0}
.v47-rewind svg{width:22px;height:22px}.v47-rewind small{font-size:10px;border-radius:8px;background:var(--surface2);color:var(--fg);padding:2px 5px}
#p-discover .jx-acts{gap:10px;flex-wrap:wrap}#p-discover .jx-acts .round.like{min-width:110px;flex:1 1 110px}#p-discover .jx-acts .round.pass{flex:none;width:52px}
.v47-me-offers{display:grid;gap:8px;margin-top:20px}.v47-duo-card{padding:20px;border:1px solid var(--line);background:var(--surface2);border-radius:24px;margin:16px 0 24px;color:var(--fg)}
.v47-duo-card p{line-height:1.5;color:var(--muted)}.v47-duo-card h2{margin:8px 0 12px}.v47-duo-card small{display:block;margin-top:10px;text-align:center;font:12px system-ui;color:var(--muted)}
.v47-offer{color:var(--fg)}.v47-offer .jx-sheet-body{display:grid;gap:12px}.v47-offer-card{padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.v47-offer-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.v47-offer-head h3{margin:0;color:var(--fg);font:25px var(--display,Georgia)}.v47-offer-head small{font:12px system-ui;color:var(--acc)}
.v47-offer-card ul{padding:0;list-style:none;display:grid;gap:12px;margin:20px 0}.v47-offer-card li{display:flex;align-items:flex-start;gap:9px;color:var(--fg);font:14px/1.45 system-ui}.v47-offer-card li svg{width:18px;height:18px;flex:none;color:var(--acc2)}
.v47-offer .v47-return-photo{width:76px;height:76px;border-radius:22px;align-self:start}.v47-offer .jx-note{font-size:12px;line-height:1.5}.v47-offer .jx-fullbtn{text-align:center;justify-content:center;min-height:46px;white-space:normal}
.v47-offer .jx-primary:disabled{opacity:.7;cursor:default}.v47-duo{background:var(--surface2)}
.v47-ready{padding:24px!important;text-align:center}.v47-ready h2{margin:8px 0 20px}.v47-ready-players{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0}.v47-ready-players span{border-radius:18px;border:1px solid var(--line);padding:12px;color:var(--fg);background:rgba(var(--ov),.4);font:13px system-ui}.v47-ready-players .is-ready{border-color:#4bca9a;color:#b8f5d9}.v47-countdown{font:30px Georgia;margin:30px 0;color:var(--fg)}
.v47-word-clock{display:block;min-height:36px;padding:6px 12px;margin:6px auto;max-width:100px;border-radius:18px;background:#174d43;color:#fff;font:600 21px system-ui;text-align:center}.v47-word-clock.urgent{background:#a02942}
#v-play .v47-dob-feedback{position:relative;border-radius:18px;padding:10px 16px;margin:8px auto;max-width:100%;font:700 24px/1.2 system-ui;text-align:center;background:#102f25;color:#93f6bf;border:1px solid #49b67c}.v47-dob-feedback.bad{background:#4e1625!important;color:#ffb9c8!important;border-color:#d55b7b!important}
@media(max-width:360px){.v47-rewind{min-width:58px;padding:6px}#p-discover .jx-acts{gap:8px}.v47-offer-card{padding:14px}.v47-offer-head h3{font-size:22px}.v47-ready{padding:17px!important}}

/* Contraste des nouveaux contrôles sur les fiches claires des décors. */
#v-play .wc-ask{color:inherit}.v47-ready h2,.v47-countdown{color:inherit}.v47-ready-players span{background:#f7f0e4;color:#29443c}.v47-ready-players .is-ready{background:#d7f6e7;color:#174d43}
html[data-theme="bougie"] #p-discover .jx-acts #btnUndo.v47-rewind{display:flex!important}

/* Retour bref à la place du bandeau de score, sans pousser les cartes hors écran. */
#v-play .dob{position:relative}#v-play .v47-dob-feedback{position:absolute;z-index:3;top:8px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 24px);margin:0;padding:7px 14px;font-size:21px;pointer-events:none}
