/* ❓ Οδηγός πρώτης χρήσης (3.85, teacher/guide.js): συννεφάκι-βήμα + δαχτυλίδι γύρω από το κουμπί + μενού του ❓.
   Θέση με transform (το guide.js γράφει translate)· κινήσεις μόνο opacity/transform. Πάνω από τα παράθυρα (.dlg-back z 30, 📊 .ov-back z 35): στα 🔒/🚀/📊 ο οδηγός δείχνει ΜΕΣΑ τους· στα υπόλοιπα κρύβεται (guide.js modal()). */
.tg-bub { position: fixed; left: 0; top: 0; z-index: 41; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 16px 12px;
  border: 2px solid var(--brand-2); box-shadow: 0 14px 36px rgba(49, 27, 146, .28); font-size: 14.5px; line-height: 1.45;
  opacity: 0; pointer-events: none; visibility: hidden; transition: opacity .18s; }
.tg-bub.on { opacity: 1; pointer-events: auto; visibility: visible; }
.tg-bub .tg-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13.5px; color: var(--brand); }
.tg-bub .tg-h .pill { margin: 0 0 0 auto; }
.tg-bub .tg-n { color: var(--muted); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.tg-bub .tg-t { margin: 0 0 12px; }
.tg-bub .tg-mut { color: var(--muted); font-size: 13px; }
.tg-bub .tg-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tg-bub .tg-btns .sp { flex: 1; }
.tg-bub .btn.small { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.tg-bub .tg-skip { border-color: transparent; color: var(--muted); padding-left: 4px; padding-right: 4px; }
.tg-bub .tg-skip:hover { color: var(--brand); background: none; }
/* βελάκι προς το κουμπί (left από το guide.js) */
.tg-bub .tg-arrow { position: absolute; top: -9px; width: 16px; height: 16px; margin-left: -8px; background: #fff; border-left: 2px solid var(--brand-2); border-top: 2px solid var(--brand-2);
  transform: rotate(45deg); border-radius: 3px 0 0 0; }
.tg-bub.up .tg-arrow { top: auto; bottom: -9px; transform: rotate(225deg); }
/* δαχτυλίδι γύρω από το κουμπί του βήματος: αναβοσβήνει απαλά (μόνο opacity) */
.tg-ring { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; border: 3px solid #ffb300; border-radius: 15px; box-shadow: 0 0 0 4px rgba(255, 179, 0, .25);
  opacity: 0; visibility: hidden; }
.tg-ring.on { visibility: visible; animation: tg-pulse 1.4s ease-in-out infinite; }
@keyframes tg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ❓ στην κεφαλίδα + μενού */
#tg-help .tx { white-space: nowrap; }
/* στο κινητό χωρά και το ❓: μόνο το εικονίδιο, χωρίς το κυκλάκι του λογαριασμού, πιο στενά κουμπιά */
@media (max-width: 480px) {
  #tg-help .tx { display: none; }
  .bar .who .avatar { display: none; }
  .bar .who .btn.small { padding-left: 10px; padding-right: 10px; }
}
.tg-menu { position: fixed; z-index: 43; width: min(320px, calc(100vw - 24px)); background: #fff; border-radius: 16px; box-shadow: 0 14px 36px rgba(49, 27, 146, .25);
  border: 1px solid #e3dbf3; padding: 8px; display: grid; gap: 2px; }
.tg-menu .tg-mh { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; }
.tg-menu .tg-mh .pill { margin: 0; }
.tg-menu .tg-ml { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; padding: 8px 8px 2px; }
.tg-menu [data-g] { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; text-align: left; padding: 10px 10px; border-radius: 11px;
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 44px; }
.tg-menu [data-g]:hover, .tg-menu [data-g]:focus-visible { background: var(--brand-soft); outline: none; }
.tg-menu [data-g].here { color: var(--brand); }
.tg-menu [data-g] i { margin-left: auto; font-style: normal; color: var(--ok); font-weight: 700; }
.tg-menu .tg-auto { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); padding: 10px 8px 4px; border-top: 1px solid var(--line); margin-top: 6px; cursor: pointer; }
.tg-menu .tg-auto input { width: 18px; height: 18px; accent-color: var(--brand); }
/* ⓘ (Δ-4): μικρό, διακριτικό κυκλάκι δίπλα στο κουμπί· πάτημα = .tg-tip (ίδιο ύφος με το συννεφάκι, χωρίς κουμπιά) */
.tg-i { flex: none; align-self: center; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: -4px; padding: 0; border-radius: 50%;
  border: 1.5px solid #c9bbe8; background: #fff; color: var(--brand-2); font: italic 700 12px/1 Georgia, 'Times New Roman', serif; cursor: pointer; opacity: .75; transition: opacity .15s; }
.tg-i:hover, .tg-i:focus-visible { opacity: 1; border-color: var(--brand-2); outline: none; }
.tg-tip { z-index: 42; padding: 11px 14px; font-size: 14px; }
.tg-tip .tg-t { margin: 0; }
.tg-menu { overflow-y: auto; }
@media (prefers-reduced-motion: reduce) { .tg-ring.on { animation: none; } }
