/* Обучающий тур и подсказки «?» (reels.aksaflow.com). Только фронтенд. */
#tour-block { position: fixed; inset: 0; z-index: 9000; background: transparent; touch-action: none; }
#tour-spot { position: fixed; z-index: 9001; pointer-events: none; border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(6, 7, 10, .78), 0 0 0 3px var(--accent, #ffd400);
  transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; }
#tour-spot.none { box-shadow: 0 0 0 9999px rgba(6, 7, 10, .78); width: 0 !important; height: 0 !important; }
#tour-card { position: fixed; z-index: 9010; box-sizing: border-box; width: min(420px, calc(100vw - 24px));
  background: var(--panel, #14161d); color: var(--text, #e9ebf1); border: 1px solid var(--line, #262a35);
  border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  font: 16px/1.5 -apple-system, "Segoe UI", Roboto, sans-serif; }
#tour-card.sheet { left: 12px !important; right: 12px; top: auto !important; width: auto;
  bottom: max(12px, env(safe-area-inset-bottom)); max-height: 54vh; overflow: auto; overscroll-behavior: contain; }
#tour-card .t-step { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--dim, #8a92a6);
  font-weight: 700; margin-bottom: 4px; }
#tour-card h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.2px; text-wrap: balance; }
#tour-card p { margin: 0 0 8px; font-size: 16px; }
#tour-card .t-dots { display: flex; gap: 5px; margin: 10px 0 12px; flex-wrap: wrap; }
#tour-card .t-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line, #262a35); }
#tour-card .t-dots i.on { background: var(--accent, #ffd400); }
#tour-card .t-dots i.past { background: #4b6a3c; }
#tour-card .t-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; position: sticky; bottom: -14px;
  background: var(--panel, #14161d); padding: 8px 0 2px; }
#tour-card:focus { outline: none; }
#tour-card button { font: inherit; font-size: 16px; min-height: 46px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  background: var(--panel-2, #1b1e27); color: var(--text, #e9ebf1); border: 1px solid var(--line, #262a35); }
#tour-card button.main { background: var(--accent, #ffd400); color: #17181c; border-color: var(--accent, #ffd400);
  font-weight: 800; flex: 1 1 auto; }
#tour-card button.skip { background: none; border: 0; color: var(--dim, #8a92a6); padding: 0 8px; margin-left: auto;
  font-size: 14.5px; }
#tour-card button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* кнопка «Обучение» и значки «?» */
.tour-again { font: inherit; font-size: 13.5px; min-height: 36px; padding: 0 12px; border-radius: 99px; cursor: pointer;
  background: var(--panel-2, #1b1e27); color: var(--text, #e9ebf1); border: 1px solid var(--line, #262a35); white-space: nowrap; }
.tour-again:hover { border-color: var(--accent, #ffd400); }
.tq { display: inline-grid; place-items: center; width: 24px; height: 24px; min-height: 0 !important; padding: 0 !important;
  margin: 0 0 0 8px; border-radius: 50% !important; font: 700 13px/1 -apple-system, "Segoe UI", sans-serif !important;
  background: var(--panel-2, #1b1e27) !important; color: var(--accent, #ffd400) !important;
  border: 1px solid var(--line, #262a35) !important; cursor: pointer; vertical-align: middle; position: relative; }
.tq::after { content: ""; position: absolute; inset: -10px; }   /* зона нажатия ≥44 px */
.tq:hover { border-color: var(--accent, #ffd400) !important; }
@media (prefers-reduced-motion: reduce) { #tour-spot { transition: none; } }
