.tutorials-page { background: #0a0a14; color: #fff; font-family: Inter, sans-serif; }
.tutorials-main { max-width: 1200px; margin: 0 auto; padding: 10rem 1.5rem 5rem; }
.tutorials-heading { max-width: 760px; margin-bottom: 2.5rem; }
.tutorials-heading h1 { display: flex; align-items: center; gap: .35em; font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.1; letter-spacing: -.025em; margin: .75rem 0 1.25rem; }
.tutorials-heading > p { color: #d1d5db; line-height: 1.7; }
.tutorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tutorial-card { display: flex; flex-direction: column; min-width: 0; background: #121220; border: 1px solid #24243a; border-radius: 1rem; overflow: hidden; }
.tutorial-watch { display: block; color: #fff; text-decoration: none; }
.tutorial-watch[hidden] { display: none; }
.tutorial-poster { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0a0a14; }
.tutorial-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tutorial-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; background: #0008; color: #fff; font-size: .875rem; font-weight: 600; }
.tutorial-play svg { width: 3rem; height: 3rem; }
.tutorial-watch:hover .tutorial-play { background: #0005; }
.tutorial-video-title { display: block; margin: 0; padding: 1.25rem 1.25rem 0; font-weight: 700; font-size: 1.125rem; line-height: 1.4; }
.tutorial-card > p { margin: .625rem 1.25rem 1rem; color: #9ca3af; line-height: 1.6; }
.tutorial-guide { display: block; margin: auto 1.25rem 1.25rem; color: #599aff; font-size: .875rem; }
.tutorial-notice { color: #9ca3af; font-size: .875rem; line-height: 1.6; margin-top: 1rem; }
.tutorial-notice a, .tutorials-playlist a { color: #599aff; text-decoration: underline; text-underline-offset: .2em; }
.tutorials-heading .tutorial-notice { color: #9ca3af; }
.tutorials-playlist { margin-top: 2rem; }
.tutorial-inline { margin: 2rem 0; }
.tutorial-inline .tutorial-video-title { padding: .75rem 0 0; }
.tutorial-inline-player iframe, .tutorial-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; }
.tutorial-lightbox { width: min(960px, calc(100vw - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 1.25rem; color: #fff; background: var(--ps-lightbox-surface); border: 1px solid var(--ps-lightbox-border); border-radius: var(--ps-lightbox-radius); box-shadow: var(--ps-lightbox-shadow); z-index: var(--ps-lightbox-z-index); overflow: auto; }
.tutorial-lightbox::backdrop { background: var(--ps-lightbox-backdrop); }
.tutorial-lightbox-open { overflow: hidden; }
.tutorial-lightbox-header { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tutorial-lightbox-header h2 { font-size: 1.125rem; font-weight: 700; line-height: 1.5; margin: 0; }
.tutorial-close { flex: 0 0 44px; width: 44px; height: 44px; margin-top: -.5rem; margin-right: -.5rem; border: 1px solid transparent; border-radius: .5rem; background: transparent; color: #d1d5db; font-size: 2rem; line-height: 1; cursor: pointer; }
.tutorial-close:hover { background: #ffffff12; color: #fff; }
.tutorial-watch:focus-visible, .tutorial-guide:focus-visible, .tutorial-close:focus-visible { outline: 2px solid #599aff; outline-offset: 3px; }
@media (max-width: 960px) { .tutorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tutorial-grid { grid-template-columns: minmax(0, 1fr); } .tutorials-main { padding-top: 8rem; } .tutorial-lightbox { padding: 1rem; } }
@media (max-height: 500px) and (orientation: landscape) { .tutorial-player iframe { max-height: 60dvh; } }

.tutorials-heading h1 > svg { width: .85em; height: .85em; flex: 0 0 auto; color: #599aff; }
