:root{--bg: #0f1115;--panel: #171a21;--accent: #6c8cff;--accent-strong: #4f6ef0;--text: #f4f6fb;--muted: #9aa3b5;--error: #ff6b6b;--border: #262b36}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text)}.tutorial{display:flex;height:100vh;width:100%;overflow:hidden}.tutorial__image{flex:1 1 50%;height:100vh;background-size:cover;background-position:center;background-repeat:no-repeat;background-color:#11131a}.tutorial__panel{flex:1 1 50%;display:flex;align-items:center;justify-content:center;padding:2rem 3rem;background:var(--panel)}.tutorial__content{width:100%;max-width:460px}.tutorial__progress{display:flex;gap:8px;margin-bottom:1.75rem}.tutorial__dot{width:28px;height:5px;border-radius:99px;background:var(--border);transition:background .2s}.tutorial__dot.is-done{background:var(--accent-strong)}.tutorial__dot.is-active{background:var(--accent)}.tutorial__step{margin:0 0 .5rem;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.tutorial__question{margin:0 0 1.75rem;font-size:1.7rem;line-height:1.3}.tutorial__form{display:flex;flex-direction:column}.tutorial__input{width:100%;padding:.9rem 1rem;font-size:1rem;border-radius:10px;border:2px solid var(--border);background:#0f1218;color:var(--text);outline:none;transition:border-color .15s}.tutorial__input:focus{border-color:var(--accent)}.tutorial__input.is-error{border-color:var(--error)}.tutorial__error{margin:.6rem 0 0;color:var(--error);font-size:.9rem}.tutorial__actions{display:flex;align-items:center;gap:1rem;margin-top:1.25rem}.tutorial__submit{padding:.8rem 1.4rem;font-size:1rem;font-weight:600;border:none;border-radius:10px;background:var(--accent-strong);color:#fff;cursor:pointer;transition:background .15s,transform .05s}.tutorial__submit:hover{background:var(--accent)}.tutorial__submit:active{transform:translateY(1px)}.tutorial__hint-toggle{background:none;border:none;color:var(--muted);cursor:pointer;font-size:.9rem;text-decoration:underline}.tutorial__hint{margin:1rem 0 0;padding:.75rem 1rem;background:#0f1218;border-left:3px solid var(--accent);border-radius:6px;color:var(--muted);font-size:.9rem}.library{min-height:100vh;padding:1.5rem 2rem 3rem}.library__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.library__title{margin:0;font-size:1.6rem}.library__reset{padding:.55rem 1rem;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}.library__reset:hover{color:var(--text);border-color:var(--accent)}.library__msg,.library__empty{color:var(--muted)}.library__empty-hint code{background:#0f1218;padding:.1rem .35rem;border-radius:4px}.library__body{display:grid;grid-template-columns:1fr 320px;gap:1.5rem;align-items:start}.library__player{background:#000;border-radius:12px;overflow:hidden;border:1px solid var(--border)}.library__video{width:100%;display:block;max-height:70vh;background:#000}.library__now{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;background:var(--panel);font-size:.95rem}.library__now span{color:var(--muted)}.library__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem}.library__item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.8rem 1rem;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--text);cursor:pointer;text-align:left;transition:border-color .15s,background .15s}.library__item:hover{border-color:var(--accent)}.library__item.is-active{border-color:var(--accent);background:#1d2433}.library__item-title{font-weight:600;text-transform:capitalize}.library__item-size{color:var(--muted);font-size:.85rem;white-space:nowrap}@media (max-width: 860px){.tutorial{flex-direction:column;height:auto;min-height:100vh}.tutorial__image{height:38vh;flex:none}.tutorial__panel{padding:2rem 1.5rem}.library__body{grid-template-columns:1fr}}
