.tutorial-icon { display: block; width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.claim-header .tutorial-trigger { gap: 6px; min-height: 38px; }
.tutorial-dialog { width: min(580px, calc(100% - 28px)); max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); padding: 0; overflow: auto; color: #192332; background: #fff; border: 1px solid #e2e8ee; border-radius: 18px; box-shadow: 0 22px 72px #14263c30; }
.tutorial-dialog::backdrop { background: #1c2b3d99; }
.tutorial-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid #edf0f4; }
.tutorial-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 18px; line-height: 1.4; }
.tutorial-heading h2 > .tutorial-icon { color: #248dd0; }
.tutorial-close { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; color: #7d8794; background: #f5f7f9; }
.tutorial-close:hover { color: #263950; background: #eaf0f6; }
.tutorial-description { margin: 0; padding: 12px 20px 16px; color: #798491; font-size: 13px; line-height: 1.7; }
.tutorial-description strong { color: #b7822f; font-weight: 650; }
.tutorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 20px 20px; }
.tutorial-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 122px; padding: 18px 10px; color: #253440; background: #f6f9f9; border: 1px solid #e2e8e8; border-radius: 14px; font-weight: 600; line-height: 1.5; }
.tutorial-item:hover { color: #197abd; background: #f0f8ff; border-color: #b6d9ef; }
.tutorial-device-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #238bd1; background: #fff; border: 1px solid #e1e9ee; border-radius: 13px; box-shadow: 0 1px 3px #163b7005; }
.tutorial-device-icon .tutorial-icon { width: 27px; height: 27px; }
.tutorial-tv-dialog { width: min(480px, calc(100% - 40px)); }
.tutorial-tv-dialog::backdrop { background: #14223555; }
.tutorial-player { padding: 0 20px 20px; }
.tutorial-back { display: inline-flex; align-items: center; gap: 3px; margin-bottom: 12px; padding: 6px 10px; color: #627180; background: #f3f6f8; border: 0; border-radius: 7px; font-size: 13px; }
.tutorial-back:hover { color: #215fc4; background: #eaf2fd; }
.tutorial-back .tutorial-icon { width: 14px; height: 14px; }
.tutorial-player h3 { margin: 0 0 12px; font-size: 15px; }
.tutorial-video { display: block; width: 100%; max-height: calc(100vh - 300px); max-height: calc(100dvh - 300px); object-fit: contain; background: #11161b; border-radius: 10px; }
.tutorial-video-link { display: inline-block; margin-top: 12px; font-size: 13px; }
.tutorial-message { padding: 24px 16px; color: #687787; background: #f6f8fb; border: 1px solid #e6ecf3; border-radius: 10px; line-height: 1.7; }
.claim-page:has(.tutorial-dialog[open]) { overflow: hidden; }

@media (max-width: 420px) {
    .tutorial-heading { padding: 14px 16px 12px; }
    .tutorial-description { padding: 10px 16px 14px; }
    .tutorial-grid { padding: 0 16px 16px; gap: 10px; }
    .tutorial-item { min-height: 114px; font-size: 13px; }
    .tutorial-player { padding: 0 16px 16px; }
}

@media (max-width: 360px) {
    .claim-header { flex-wrap: wrap; gap: 10px; }
    .claim-header h1 { flex-basis: calc(100% - 50px); }
    .claim-header .tutorial-trigger { margin-left: auto; }
}
