/* ThaïGuide — adaptive.css */

.tg-adap {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tg-adap-hdr {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px;
}
.tg-adap-title { font-size: .82rem; font-weight: 800; color: #f0f4ff; }
.tg-adap-btn {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px; color: rgba(255,255,255,.7); font-size: .75rem;
  font-weight: 700; padding: 6px 11px; cursor: pointer;
}

/* Résumé chiffres */
.tg-adap-summary { display: flex; gap: 8px; margin-bottom: 14px; }
.tg-adap-stat {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; border-radius: 10px; padding: 10px 6px;
  border: 1px solid rgba(255,255,255,.07);
}
.tg-adap-urgent { background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); }
.tg-adap-warn   { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.25); }
.tg-adap-good   { background: rgba(34,197,94,.08);  border-color: rgba(34,197,94,.22); }
.tg-adap-num { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.tg-adap-urgent .tg-adap-num { color: #f87171; }
.tg-adap-warn   .tg-adap-num { color: #fbbf24; }
.tg-adap-good   .tg-adap-num { color: #4ade80; }
.tg-adap-lbl { font-size: .65rem; color: rgba(255,255,255,.45); margin-top: 3px; text-align: center; }

/* Sections et liste */
.tg-adap-section {
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .07em; margin: 10px 0 6px;
}
.tg-adap-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.tg-adap-word {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 9px; padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.06);
}
.tg-adap-word-urgent { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.2); }
.tg-adap-word-warn   { background: rgba(245,158,11,.07); border-color: rgba(245,158,11,.18); }
.tg-adap-wid     { font-size: .82rem; font-weight: 700; color: #fff; }
.tg-adap-wreason { font-size: .68rem; color: rgba(255,255,255,.4); }

/* Badge sur bouton SRS */
.tg-adap-badge {
  position: absolute; top: -3px; right: -3px;
  background: #ef4444; color: #fff;
  font-size: .58rem; font-weight: 800;
  border-radius: 999px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid #0a1628;
  pointer-events: none;
}
