/* accounts, locked previews, dashboard */
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 72px 20px 96px; }
.auth-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.auth-card h1 { font-size: clamp(30px, 6vw, 40px); margin: 0 0 8px; }
.auth-card .lead { margin: 0 0 22px; color: var(--muted); }
.auth-form { display: grid; gap: 14px; }
.auth-form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.auth-form input { font: inherit; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: #0d0c0b; color: var(--text); }
.auth-form input:focus { outline: none; border-color: var(--gold); }
.auth-form .btn { justify-content: center; margin-top: 6px; }
.auth-msg { min-height: 1.4em; font-size: 14.5px; margin: 4px 0 0; }
.auth-msg.err { color: #E58C7A; } .auth-msg.ok { color: var(--gold-hi); }
.auth-alt { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--gold-hi); }
.auth-off { padding: 14px 16px; border: 1px dashed var(--gold); border-radius: 12px; color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
/* locked preview */
.rv-lockbox { margin: 40px 0; padding: 28px 26px; border: 1px solid rgba(201,168,76,.4); border-radius: 18px; background: linear-gradient(160deg, rgba(201,168,76,.10), rgba(201,168,76,0) 60%), var(--surface); text-align: center; }
.rv-lockbox h3 { margin: 10px 0 8px; font-size: 26px; }
.rv-lockbox p { color: var(--muted); max-width: 560px; margin: 0 auto 16px; }
.rv-lockbox .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rv-lock-ico { display: inline-block; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold); position: relative; }
.rv-lock-ico::before { content: ""; position: absolute; left: 11px; top: 14px; width: 12px; height: 10px; border-radius: 2px; background: var(--gold); }
.rv-lock-ico::after { content: ""; position: absolute; left: 13px; top: 7px; width: 8px; height: 8px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 6px 6px 0 0; }
.rv-fade { position: relative; max-height: 420px; overflow: hidden; }
.rv-fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(to bottom, rgba(13,12,11,0), var(--bg, #0D0C0B)); }
.csx-video.rv-locked-video { position: relative; }
.csx-video.rv-locked-video video, .csx-video.rv-locked-video .csx-play { pointer-events: none; filter: brightness(.45); }
.rv-vlock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--text); text-decoration: none; z-index: 3; }
.rv-vlock b { font-size: 16px; } .rv-vlock small { color: var(--muted); font-size: 13.5px; }
/* dashboard */
.dash { padding: 56px 0 90px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.dash-head h1 { margin: 0; font-size: clamp(32px, 6vw, 48px); }
.dash-badge { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-hi); font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.dash-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.dash-card h2 { font-size: 24px; margin: 0 0 6px; }
.dash-card p { color: var(--muted); margin: 0 0 14px; }
.dash-card.hl { border-color: rgba(201,168,76,.5); background: linear-gradient(160deg, rgba(201,168,76,.10), rgba(201,168,76,0) 60%), var(--surface); }
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dash-list a { display: flex; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.dash-list a:hover { border-color: var(--gold); }
.dash-list a span { color: var(--gold-hi); min-width: 26px; }
.dash-list .locked a { opacity: .55; }
.dash-sec { margin-top: 34px; }
.dash-sec > h2 { font-size: 28px; margin: 0 0 14px; }
.plan-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dash-small { font-size: 13.5px; color: var(--muted); }
.coming { opacity: .8; }
.csx-video { position: relative; }
.rv-vfree { position: absolute; top: 10px; left: 10px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(13,12,11,.75); border: 1px solid var(--gold); color: var(--gold-hi); font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }

/* masterclasses */
.mc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.mc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .25s; }
.mc-card:hover { border-color: var(--gold); }
.mc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mc-card > div { padding: 16px 18px 18px; }
.mc-card small { color: var(--gold-hi); font: 600 11.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.mc-card h3 { margin: 6px 0 6px; font-size: 24px; }
.mc-card p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }
.mc-card .mc-price { color: var(--text); font-size: 18px; margin: 0; }
.mc-card .mc-price span { color: var(--muted); font-size: 14px; }
.mc-card.planned { opacity: .6; pointer-events: none; }
.mc-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 30px; }
@media (min-width: 760px) { .mc-strip .mc-card { flex-direction: row; } .mc-strip .mc-card img { width: 42%; aspect-ratio: auto; } }
.mc-hero { padding-top: 40px; }
.mc-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .mc-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.mc-hero-img img { width: 100%; border-radius: 16px; border: 1px solid var(--line); display: block; }
.mc-price-big { font-family: var(--serif); font-size: 48px; color: var(--gold-hi); margin: 10px 0 4px; }
.mc-price-big small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 10px; }
.mc-buy .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.mc-owned { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--gold); border-radius: 12px; }
.mc-lessons { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.mc-lesson { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.mc-num { font-family: var(--serif); font-size: 30px; color: var(--gold-hi); line-height: 1; }
.article .mc-lesson h3 { margin: 0 0 4px; font-size: 20px; }
.mc-lesson p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.mc-soon { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.mc-soon .rv-lock-ico { transform: scale(.75); }
