/* Cartogether — Retours de jeu, V1. Ne touche pas au chronomètre ni aux scores. */
.daily-playing .daily-feedback {
  border:1px solid transparent;
  box-shadow:0 5px 14px rgba(22,42,68,.07);
  padding:9px 11px;
  border-radius:12px;
  overflow:hidden;
}
.daily-playing .daily-feedback.good {border-color:#86efac;background:#ebfff2;color:#166534}
.daily-playing .daily-feedback.bad {border-color:#fda4af;background:#fff0f1;color:#9f1239}
.daily-playing .daily-feedback.near {border-color:#93c5fd;background:#edf8ff;color:#075985}
.daily-feedback-heading {display:flex;align-items:center;gap:7px;min-width:0;line-height:1.2}
.daily-feedback-heading strong {flex:1;min-width:0;font-size:13px;letter-spacing:-.01em}
.daily-feedback-icon {flex:0 0 23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#22c55e;color:#fff;font-size:16px;font-weight:900;line-height:1}
.daily-feedback.bad .daily-feedback-icon {background:#ef4444}
.daily-feedback.near .daily-feedback-icon {background:#0284c7}
.daily-feedback-points {white-space:nowrap;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.daily-feedback-detail {font-size:11.5px;margin:5px 0 0 30px;line-height:1.32;overflow-wrap:anywhere;font-weight:600;opacity:.9}
.daily-feedback-enter {animation:carto-answer-reveal .22s ease-out both}
.daily-question-enter {animation:carto-question-in .2s ease-out both}
/* SVG indépendant pour que l'effet marche aussi avec les fonds géographiques Canvas. */
path.carto-answer-geometry {stroke-linejoin:round;stroke-dasharray:8 5;animation:carto-geo-answer 1.1s ease-in-out both;pointer-events:none}
path.carto-answer-halo {animation:carto-point-answer 1.2s ease-out both;pointer-events:none}
path.carto-answer-line {animation:carto-line-answer 1.15s linear both;pointer-events:none}
.leaflet-tooltip.daily-tooltip {border-radius:8px;border:1px solid #7dd3a6;background:#f0fdf4;color:#166534;font-weight:800;box-shadow:0 2px 10px #0c38252b}
@keyframes carto-answer-reveal {from {opacity:0;transform:translateY(6px) scale(.985)}to {opacity:1;transform:translateY(0) scale(1)}}
@keyframes carto-question-in {from {opacity:.25;transform:translateY(5px)}to {opacity:1;transform:translateY(0)}}
@keyframes carto-geo-answer {0%,100% {stroke-opacity:1}50% {stroke-opacity:.4}}
@keyframes carto-point-answer {0% {stroke-opacity:.95;stroke-width:7}75%,100% {stroke-opacity:0;stroke-width:1}}
@keyframes carto-line-answer {from {stroke-dashoffset:24}to {stroke-dashoffset:0}}
@media (max-width:650px){
  .daily-playing .daily-feedback{padding:7px 9px;margin-top:6px}
  .daily-feedback-icon{flex-basis:21px;height:21px;font-size:14px}
  .daily-feedback-heading strong,.daily-feedback-points{font-size:12px}
  .daily-feedback-detail{margin:4px 0 0 28px;font-size:10.5px;line-height:1.3}
}
@media (prefers-reduced-motion:reduce){
  .daily-feedback-enter,.daily-question-enter,path.carto-answer-geometry,path.carto-answer-halo,path.carto-answer-line{animation:none!important}
}
