/* ============================================================
   BLACKLENS — HELP & VIDEOS (round 505, js/tutorials.js): the list of videos and the player, full screen.
   Written for 35–60 year olds on a phone: body 17 px and up, every button 56 px tall or more, light text on dark.
   ============================================================ */
.tut { position: fixed; inset: 0; z-index: 3600; display: flex; flex-direction: column; background: #121212; color: #f2f2f2;
  font-family: Bahnschrift, 'Segoe UI', sans-serif; font-stretch: 87.5%; font-size: 18px; line-height: 1.3; }
html[lang="th"] .tut { font-family: 'Kanit', 'Sarabun', Bahnschrift, sans-serif; font-stretch: 100%; }
.tut[hidden] { display: none; }
body.tut-on { overflow: hidden; }
.tut svg { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.tut-top { flex: 0 0 72px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #0c0c0c; border-bottom: 1px solid #454545; }
.tut-back { flex: 0 0 auto; height: 56px; display: flex; align-items: center; gap: 4px; padding: 0 16px 0 8px; border: 1px solid #454545; border-radius: 14px; background: #262626; color: #f2f2f2; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.tut-title { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 21px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tut-sp { flex: 0 0 110px; }
.tut-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 760px; margin: 0 auto; padding: 16px; box-sizing: border-box; }
.tut-lead { margin: 0; font-size: 18px; color: #dcdcdc; }
.tut-list { display: flex; flex-direction: column; gap: 12px; }
.tut-row { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 10px 12px; border: 1px solid #454545; border-radius: 16px; background: #1c1c1c; color: #f2f2f2; font: inherit; text-align: left; cursor: pointer; }
.tut-row:active { background: #262626; }
.tut-thumb { position: relative; flex: 0 0 64px; width: 64px; height: 114px; border-radius: 10px; overflow: hidden; background: #0c0c0c; }
.tut-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-thumb i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.25); }
.tut-thumb i svg { width: 34px; height: 34px; flex-basis: 34px; fill: #fff; stroke: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.tut-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tut-t b { font-size: 21px; line-height: 1.2; }
.tut-t > span { font-size: 17px; color: #dcdcdc; }
.tut-go { flex: 0 0 auto; color: #a6a6a6; }
.tut-more { min-height: 78px; }
.tut-mi { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #262626; }
/* the player: the video as big as the screen allows, the bar always under it */
.tut-stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 10px; background: #000; }
.tut-v { display: block; max-width: 100%; max-height: 100%; aspect-ratio: 9 / 16; height: 100%; background: #000; border-radius: 10px; }
.tut-bar { flex: 0 0 auto; display: flex; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #0c0c0c; border-top: 1px solid #454545; }
.tut-b { flex: 1 1 0; min-width: 0; height: 60px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #454545; border-radius: 15px; background: #262626; color: #f2f2f2; font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.tut-b.red { border-color: #DC4F4C; background: #DC4F4C; color: #fff; }
/* round 507: the studio's videos are filmed on a computer (16 : 9) */
.tut-g { margin: 6px 2px -2px; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: #d8c89a; }
.tut-thumb.pc { flex: 0 0 124px; width: 124px; height: 70px; }
.tut-v.pc { aspect-ratio: 16 / 9; width: 100%; height: auto; }
@media (min-width: 900px) {
  .tut-bar { justify-content: center; } .tut-b { flex: 0 1 240px; }
}
