.recharge-header-actions { flex-wrap: wrap; justify-content: flex-end; }
.recharge-tutorial-entry {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 12px; border: 1px solid #99dcca; border-radius: 12px;
  color: #087d66; background: #f0fdf8; font-size: 14px; line-height: 20px;
  font-weight: 500; white-space: nowrap; text-decoration: none;
}
.recharge-tutorial-entry:hover { color: #065f4e; background: #e4f9ef; border-color: #62c8ae; }
.recharge-tutorial-entry svg { width: 17px; height: 17px; flex: 0 0 auto; }
.recharge-tutorial-entry:focus-visible,
.recharge-tutorial-dialog button:focus-visible,
.recharge-tutorial-dialog a:focus-visible { outline: 3px solid #5cc9b0; outline-offset: 3px; }
html.recharge-tutorial-open { overflow: hidden; }
.recharge-tutorial-dialog {
  box-sizing: border-box; width: min(960px, calc(100vw - 28px)); max-width: none;
  max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px);
  margin: auto; padding: 0; border: 1px solid #dde7e8; border-radius: 20px;
  color: #10233f; background: #fff; overflow: auto;
  box-shadow: 0 30px 100px #071a3659;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.recharge-tutorial-dialog::backdrop { background: #09182bba; backdrop-filter: blur(4px); }
.recharge-tutorial-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px 17px; }
.recharge-tutorial-heading h2 { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 700; }
.recharge-tutorial-heading p { margin: 5px 0 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.recharge-tutorial-close { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid #e2e8f0; border-radius: 50%; color: #52677e; background: #f8fafc; cursor: pointer; }
.recharge-tutorial-close:hover { background: #edf2f7; color: #10233f; }
.recharge-tutorial-close svg { width: 18px; height: 18px; }
.recharge-tutorial-media { background: #0f172a; line-height: 0; }
.recharge-tutorial-media video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); object-fit: contain; background: #0f172a; }
.recharge-tutorial-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 15px 24px 18px; color: #64748b; font-size: 13px; line-height: 1.6; }
.recharge-tutorial-footer p { margin: 0; }
.recharge-tutorial-footer a { color: #07836b; text-decoration: none; }
.recharge-tutorial-footer a:hover { text-decoration: underline; }
.recharge-tutorial-error { margin: 0; padding: 11px 24px; background: #fff8eb; color: #925e16; font-size: 14px; line-height: 1.6; }
.recharge-tutorial-tools, .recharge-tutorial-tools label { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.recharge-tutorial-tools select { appearance: auto; padding: 6px 10px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: #10233f; font: inherit; min-height: 34px; cursor: pointer; }
.recharge-tutorial-tools button { padding: 6px 12px; border: 1px solid #99dcca; border-radius: 9px; background: #f0fdf8; color: #087d66; font: inherit; cursor: pointer; }
.recharge-tutorial-tools [hidden] { display: none; }
.recharge-tutorial-status { flex-basis: 100%; min-height: 20px; }
.recharge-tutorial-media video { max-height: calc(100vh - 224px); max-height: calc(100dvh - 224px); }
.recharge-tutorial-tools select:focus-visible { outline: 3px solid #5cc9b0; outline-offset: 3px; }
@media (max-width: 480px) {
  .recharge-header-actions { column-gap: 9px; row-gap: 10px; max-width: 100%; }
  .recharge-tutorial-entry { padding: 8px 10px; gap: 5px; }
  .recharge-tutorial-dialog { border-radius: 16px; }
  .recharge-tutorial-heading { padding: 16px; gap: 10px; }
  .recharge-tutorial-heading h2 { font-size: 19px; }
  .recharge-tutorial-heading p { font-size: 12px; }
  .recharge-tutorial-footer { padding: 12px 16px 15px; font-size: 12px; }
}
@media (max-height: 500px) {
  .recharge-tutorial-heading { padding-top: 10px; padding-bottom: 10px; }
  .recharge-tutorial-heading p { display: none; }
  .recharge-tutorial-media video { max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); }
  .recharge-tutorial-footer { padding-top: 8px; padding-bottom: 8px; }
}
