/* Marina Soul – Learn. Same tokens as marinasoul.online:
   bg #0B0B0C, surface #111112/#161616, line #262626, text #F5F5F5,
   green #60FF00 (hover #B6FF8A), pink #FF2163, fonts Unbounded + Inter. */
*{box-sizing:border-box}
html,body{margin:0;background:#0B0B0C;color:#F5F5F5;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#60FF00}a:hover{color:#B6FF8A}
img{max-width:100%}
.page{min-height:100vh;display:flex;flex-direction:column}
.strip{background:#FF2163;color:#0B0B0C;text-align:center;font-size:13px;font-weight:700;letter-spacing:.08em;padding:10px 16px;text-transform:uppercase}
.hdr{border-bottom:1px solid #262626;background:#0B0B0C}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.hdr .wrap{padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#F5F5F5}
.brand img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:2px solid #60FF00}
.brand span{font-family:Unbounded,Inter,sans-serif;font-weight:700;font-size:18px;letter-spacing:.02em}
.nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pill{color:#F5F5F5;text-decoration:none;font-weight:600;font-size:15px;padding:12px 18px;border-radius:999px;border:1px solid #333;background:none;font-family:inherit;cursor:pointer}
.pill.on,.pill:hover{border-color:#60FF00;color:#F5F5F5}
.icon-btn{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#F5F5F5;border-radius:50%;border:0;background:none;cursor:pointer}
main{flex:1}
.section{max-width:1200px;margin:0 auto;padding:56px 24px 80px}
.eyebrow{align-self:flex-start;display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#60FF00;border:1px solid #60FF00;border-radius:999px;padding:8px 14px}
h1,h2,h3{font-family:Unbounded,Inter,sans-serif;margin:0;letter-spacing:-.01em}
h1{font-weight:800;font-size:clamp(26px,3.3vw,42px);line-height:1.12}
h2{font-weight:700;font-size:clamp(20px,2.2vw,28px);line-height:1.2}
h3{font-weight:700;font-size:17px;line-height:1.3}
.g{color:#60FF00}.p{color:#FF2163}
.muted{color:#B8B8B8}.small{font-size:14px}.tiny{font-size:13px;color:#9A9A9A}
.lead{font-size:17px;line-height:1.65;color:#D6D6D6;margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#60FF00;color:#0B0B0C;text-decoration:none;font-weight:700;font-size:16px;padding:16px 28px;border-radius:999px;border:0;cursor:pointer;font-family:inherit}
.btn:hover{background:#B6FF8A;color:#0B0B0C}
.btn.ghost{background:none;color:#F5F5F5;border:1px solid #F5F5F5}
.btn.ghost:hover{border-color:#60FF00;color:#60FF00}
.btn.sm{padding:10px 18px;font-size:14px}
.btn.danger{background:#FF2163;color:#0B0B0C}
.btn[disabled]{opacity:.5;cursor:default}
.card{border:1px solid #262626;border-radius:22px;padding:28px;background:#111112}
.auth{max-width:480px;margin:0 auto;display:flex;flex-direction:column;gap:22px}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:600;color:#D6D6D6}
.input,select.input,textarea.input{height:50px;padding:0 16px;border-radius:12px;border:1px solid #333;background:#0B0B0C;color:#F5F5F5;font-size:15px;font-family:inherit;width:100%}
textarea.input{height:auto;min-height:80px;padding:12px 16px}
.input:focus{outline:2px solid #60FF00;outline-offset:1px;border-color:#60FF00}
.stack{display:flex;flex-direction:column;gap:18px}
.row{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
.flash{border-radius:14px;padding:14px 18px;font-size:15px;font-weight:600;margin-bottom:24px}
.flash.ok{background:rgba(96,255,0,.1);border:1px solid #60FF00;color:#D9FFC2}
.flash.err{background:rgba(255,33,99,.1);border:1px solid #FF2163;color:#FFC4D5}
.divider{display:flex;align-items:center;gap:12px;color:#9A9A9A;font-size:13px}
.divider:before,.divider:after{content:"";flex:1;height:1px;background:#262626}

/* My courses */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:32px}
.course{display:flex;flex-direction:column;border:1px solid #262626;border-radius:22px;overflow:hidden;background:#111112;text-decoration:none;color:#F5F5F5;transition:border-color .15s}
.course:hover{border-color:#60FF00;color:#F5F5F5}
.course img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.course .body{padding:22px;display:flex;flex-direction:column;gap:12px;flex:1}
.bar{height:8px;border-radius:999px;background:#262626;overflow:hidden}
.bar>i{display:block;height:100%;background:#60FF00;border-radius:999px}
.empty{border:1px dashed #333;border-radius:22px;padding:40px;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;margin-top:32px}

/* Lesson page */
.lesson-wrap{max-width:1400px;margin:0 auto;padding:32px 24px 80px;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}
@media (max-width:980px){.lesson-wrap{grid-template-columns:1fr}}
.player{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#161616;border:1px solid #262626}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.player .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#9A9A9A;font-size:15px;text-align:center;padding:24px}
.crumbs{font-size:14px;color:#9A9A9A;display:flex;gap:8px;flex-wrap:wrap}
.crumbs a{color:#D6D6D6;text-decoration:none}.crumbs a:hover{color:#60FF00}
.lesson-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}
.done-btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:15px;padding:12px 20px;border-radius:999px;cursor:pointer;font-family:inherit;border:1px solid #60FF00;background:none;color:#60FF00}
.done-btn.is-done{background:#60FF00;color:#0B0B0C}
.side{border:1px solid #262626;border-radius:22px;background:#111112;overflow:hidden;position:sticky;top:16px;max-height:calc(100vh - 32px);display:flex;flex-direction:column}
.side .head{padding:20px 22px;border-bottom:1px solid #262626;display:flex;flex-direction:column;gap:10px}
.side .list{overflow:auto;padding:8px 0 16px}
.mod{padding:14px 22px 6px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#FF2163}
.les{display:flex;gap:12px;align-items:flex-start;padding:10px 22px;text-decoration:none;color:#D6D6D6;font-size:14px;line-height:1.45}
.les:hover{background:#161616;color:#F5F5F5}
.les.cur{background:#161616;color:#F5F5F5;box-shadow:inset 3px 0 0 #60FF00}
.chk{flex:0 0 20px;height:20px;border-radius:50%;border:1.5px solid #444;display:flex;align-items:center;justify-content:center;margin-top:1px}
.les.done .chk{background:#60FF00;border-color:#60FF00}
.les.done .chk:after{content:"";width:6px;height:10px;border:solid #0B0B0C;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-1px,-1px)}

/* Footer */
.ftr{border-top:1px solid #262626;background:#070707}
.ftr .wrap{padding-top:48px;padding-bottom:32px;display:flex;flex-direction:column;gap:32px}
.ftr .top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;align-items:flex-start}
.ftr .about{display:flex;flex-direction:column;gap:12px;max-width:360px}
.ftr .about img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.ftr nav{display:flex;flex-direction:column;gap:10px;font-size:14px}
.ftr nav a{color:#D6D6D6;text-decoration:none}.ftr nav a:hover{color:#60FF00}
.ftr .bottom{border-top:1px solid #262626;padding-top:24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:#9A9A9A}

/* Admin */
.tbl{width:100%;border-collapse:collapse;font-size:14px}
.tbl th{text-align:left;font-weight:700;color:#9A9A9A;font-size:12px;letter-spacing:.08em;text-transform:uppercase;padding:10px 12px;border-bottom:1px solid #262626}
.tbl td{padding:12px;border-bottom:1px solid #1d1d1d;vertical-align:top}
.tbl tr:hover td{background:#141415}
.tag{display:inline-block;font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;border:1px solid #333;color:#D6D6D6}
.tag.ok{border-color:#60FF00;color:#60FF00}.tag.no{border-color:#FF2163;color:#FF2163}
.scroll{overflow:auto}
details.box{border:1px solid #262626;border-radius:16px;background:#111112;padding:16px 20px;margin-top:12px}
details.box summary{cursor:pointer;font-weight:700}
.inline{display:inline}
.mono{font-family:ui-monospace,Menlo,monospace;font-size:13px;color:#B8B8B8}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
