:root {
  --bg: #050505;
  --panel: #0d0d0f;
  --panel-2: #151518;
  --panel-3: #202024;
  --line: rgba(255,255,255,.11);
  --muted: #98989f;
  --text: #f7f7f5;
  --cream: #f4f4f0;
  --red: #f11725;
  --red-dark: #78040d;
  --green: #8fd3a8;
  --yellow: #f0c87b;
  --radius: 18px;
  --shadow: 0 20px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: "Archivo", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 252px; z-index: 20;
  display: flex; flex-direction: column; padding: 26px 18px 18px;
  background: #0e0e0f; border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; padding: 0 8px 28px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55);
  font-family: "DM Serif Display", serif; font-size: 24px; transform: rotate(-3deg);
}
.brand-copy { display: grid; line-height: 1; gap: 4px; }
.brand-copy strong { font-size: 14px; letter-spacing: .18em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .28em; }
.side-nav { display: grid; gap: 5px; overflow-y:auto; scrollbar-width:none; }
.side-nav::-webkit-scrollbar { display:none; }
.nav-item {
  appearance: none; border: 0; background: transparent; width: 100%; padding: 13px 14px; border-radius: 11px;
  display: flex; align-items: center; gap: 13px; text-align: left; color: #aaaab0; cursor: pointer; transition: .2s ease;
}
.nav-item span { width: 18px; text-align: center; font-size: 17px; }
.nav-item:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav-item.active { background: var(--cream); color: #111; font-weight: 600; }
.lesson-subnav { display:grid; gap:3px; margin:-1px 0 4px 31px; padding-left:12px; border-left:1px solid var(--line); }
.lesson-subnav button { border:0; background:transparent; color:#77777e; padding:6px 4px; text-align:left; font-size:9px; cursor:pointer; }
.lesson-subnav button:hover,.lesson-subnav button.active { color:var(--text); }
.admin-link { margin-top:8px; color:#c69a9a; border-top:1px solid var(--line); border-radius:0 0 11px 11px; }
.sidebar-bottom { margin-top: auto; display: grid; gap: 15px; }
.weekly-goal { padding: 15px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; }
.goal-head { display: flex; justify-content: space-between; font-size: 12px; }
.goal-head b { color: var(--yellow); }
.progress-track { height: 5px; margin: 12px 0; background: #29292d; border-radius: 99px; overflow: hidden; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--red),#ff8570); transition: width .4s; }
.weekly-goal small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.profile-mini { border: 0; background: transparent; cursor: pointer; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 8px; }
.avatar, .avatar-button { display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg,#552125,#b53a3d); font-weight: 700; }
.avatar { width: 38px; height: 38px; font-size: 11px; }
.profile-mini strong, .profile-mini small { display: block; }
.profile-mini strong { font-size: 11px; }
.profile-mini small { margin-top: 4px; font-size: 9px; color: var(--muted); }

.topbar {
  position: fixed; left: 252px; right: 0; top: 0; height: 76px; z-index: 15; padding: 0 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(11,11,12,.84); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
.search { width: min(520px,58vw); height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: #111113; color: var(--muted); }
.search input { width: 100%; border: 0; outline: none; color: var(--text); background: transparent; font-size: 12px; }
.search kbd { border: 1px solid var(--line); background: #1c1c1f; border-radius: 5px; padding: 3px 6px; font-size: 9px; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .avatar-button, .mobile-menu { border: 0; cursor: pointer; }
.icon-button { width: 38px; height: 38px; border-radius: 50%; position: relative; background: var(--panel-2); font-size: 21px; }
.icon-button i { position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.avatar-button { width: 36px; height: 36px; font-size: 10px; }
.mobile-menu { display: none; background: transparent; font-size: 20px; }

.main-content { min-height: 100vh; margin-left: 252px; padding: 108px 34px 70px; outline: none; }
.page { width: min(1280px,100%); margin: 0 auto; animation: fade .28s ease; }
@keyframes fade { from { opacity:0; transform: translateY(5px); } }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; font-weight: 700; }
.page-title { margin: 7px 0 5px; font: 400 clamp(30px,3.2vw,48px)/1.05 "DM Serif Display", serif; letter-spacing: -.025em; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.section-head { margin: 34px 0 16px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-head h2 { margin: 0; font: 400 24px/1.1 "DM Serif Display",serif; }
.section-head button, .text-link { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; }
.section-head button:hover,.text-link:hover { color: var(--text); }

.hero-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(290px,.75fr); gap: 18px; }
.hero-course {
  min-height: 390px; overflow: hidden; position: relative; display: flex; align-items: end; padding: 36px;
  border-radius: 22px; background:
    radial-gradient(circle at 74% 23%, rgba(231,217,196,.16), transparent 28%),
    linear-gradient(118deg, rgba(0,0,0,.2), rgba(0,0,0,.78)),
    linear-gradient(135deg,#451216 0%,#1b1818 48%,#070708 100%);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
}
.hero-course::before { content:""; position:absolute; width:310px; height:470px; right:8%; top:-54px; border:1px solid rgba(255,255,255,.16); border-radius:50%; transform:rotate(20deg); box-shadow: inset 0 0 70px rgba(255,255,255,.05); }
.hero-course::after { content:"PORTRAIT"; position:absolute; right:-25px; top:48px; font: 400 70px/1 "DM Serif Display"; letter-spacing:.04em; color:rgba(255,255,255,.035); transform:rotate(90deg); }
.hero-copy { position:relative; z-index:2; max-width:590px; }
.hero-copy .pill { display:inline-flex; padding:6px 9px; border-radius:99px; border:1px solid rgba(255,255,255,.25); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.hero-copy h1 { margin: 14px 0 9px; font: 400 clamp(35px,4.3vw,58px)/.98 "DM Serif Display",serif; max-width:520px; }
.hero-copy p { color:#c6c1ba; max-width:520px; font-size:12px; line-height:1.65; }
.hero-actions { display:flex; align-items:center; gap:13px; margin-top:20px; }
.primary,.secondary { border:0; border-radius:10px; padding:12px 16px; cursor:pointer; font-weight:600; font-size:11px; transition:.2s; }
.primary { background:var(--cream); color:#111; }
.primary:hover { background:#fff; transform:translateY(-1px); }
.secondary { background:rgba(255,255,255,.09); color:var(--text); border:1px solid rgba(255,255,255,.11); }
.secondary:hover { background:rgba(255,255,255,.14); }
.hero-progress { margin-top:20px; max-width:400px; display:flex; align-items:center; gap:12px; font-size:10px; color:#ccc; }
.hero-progress .progress-track { margin:0; flex:1; background:rgba(255,255,255,.16); }
.metric-stack { display:grid; gap:14px; }
.metric-card { min-height:118px; padding:19px; border-radius:18px; background:var(--panel); border:1px solid var(--line); }
.metric-card.accent { background:var(--cream); color:#171718; }
.metric-top { display:flex; justify-content:space-between; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.11em; }
.accent .metric-top { color:#5c5954; }
.metric-card strong { display:block; margin-top:13px; font:400 34px/1 "DM Serif Display",serif; }
.metric-card small { display:block; margin-top:8px; font-size:10px; color:var(--muted); }
.accent small { color:#625e58; }
.streak { display:flex; gap:5px; margin-top:15px; }
.streak i { width:23px; height:5px; border-radius:20px; background:#323238; }
.streak i.on { background:var(--red); }

.course-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.course-card { overflow:hidden; border-radius:16px; background:var(--panel); border:1px solid var(--line); cursor:pointer; transition:.22s ease; }
.course-card:hover { transform:translateY(-4px); border-color:rgba(255,255,255,.18); box-shadow:0 14px 35px rgba(0,0,0,.28); }
.course-art { height:155px; position:relative; overflow:hidden; padding:14px; display:flex; align-items:end; }
.course-art::before { content:""; position:absolute; inset:18px -30px auto auto; width:135px; height:135px; border-radius:50%; border:1px solid rgba(255,255,255,.2); box-shadow:0 0 50px rgba(255,255,255,.04); }
.course-art b { position:relative; font:400 34px/1 "DM Serif Display"; color:rgba(255,255,255,.9); }
.course-art.red { background:linear-gradient(135deg,#6d1921,#171516 70%); }
.course-art.ink { background:linear-gradient(135deg,#1f3439,#101113 70%); }
.course-art.gold { background:linear-gradient(135deg,#6d4b21,#151414 70%); }
.course-art.blue { background:linear-gradient(135deg,#26355a,#121316 70%); }
.course-art.green { background:linear-gradient(135deg,#244c3d,#101312 70%); }
.course-art.violet { background:linear-gradient(135deg,#493064,#121113 70%); }
.course-art .tag { position:absolute; left:12px; top:12px; font:600 8px/1 "Archivo"; letter-spacing:.12em; padding:6px 8px; background:rgba(0,0,0,.42); border-radius:99px; }
.course-body { padding:15px; }
.course-body h3 { margin:0 0 8px; font-size:13px; line-height:1.35; }
.course-meta { display:flex; justify-content:space-between; color:var(--muted); font-size:9px; }
.course-progress { height:3px; margin-top:14px; background:#29292d; border-radius:20px; overflow:hidden; }
.course-progress span { display:block; height:100%; background:var(--red); }

.split-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); gap:18px; }
.panel { background:var(--panel); border:1px solid var(--line); border-radius:18px; padding:20px; }
.event-list { display:grid; gap:12px; }
.event { display:grid; grid-template-columns:48px 1fr auto; align-items:center; gap:13px; padding:12px; border-radius:13px; background:var(--panel-2); }
.event-date { text-align:center; border-right:1px solid var(--line); }
.event-date b,.event-date small { display:block; }
.event-date b { color:var(--red); font-size:18px; }
.event-date small { color:var(--muted); font-size:8px; text-transform:uppercase; }
.event h4 { margin:0 0 5px; font-size:11px; }
.event p { margin:0; color:var(--muted); font-size:9px; }
.event .status { font-size:8px; padding:6px 8px; border-radius:99px; background:rgba(143,211,168,.12); color:var(--green); }
.community-peek { display:grid; gap:13px; }
.member-row { display:flex; align-items:center; gap:10px; }
.member-row .avatar { flex:0 0 auto; }
.member-row p { margin:0; font-size:10px; line-height:1.5; }
.member-row small { color:var(--muted); }

.filter-row { margin:25px 0 20px; display:flex; flex-wrap:wrap; gap:8px; }
.filter { border:1px solid var(--line); background:transparent; color:var(--muted); border-radius:99px; padding:9px 13px; font-size:10px; cursor:pointer; }
.filter.active,.filter:hover { background:var(--cream); color:#111; }
.library-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.library-grid .course-art { height:190px; }
.empty { grid-column:1/-1; padding:60px; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:16px; }

.player-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:18px; }
.video-shell { aspect-ratio:16/9; position:relative; display:grid; place-items:center; overflow:hidden; border-radius:18px; background:radial-gradient(circle at center,#3c191c,#09090a 66%); border:1px solid var(--line); }
.video-shell::before { content:""; position:absolute; width:52%; aspect-ratio:1; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.video-shell .big-letter { font:400 clamp(80px,15vw,180px)/1 "DM Serif Display"; opacity:.09; }
.play-button { position:absolute; width:68px; height:68px; border:1px solid rgba(255,255,255,.5); border-radius:50%; background:rgba(0,0,0,.34); backdrop-filter:blur(5px); cursor:pointer; font-size:22px; }
.lesson-info { margin-top:20px; }
.lesson-info h1 { margin:8px 0; font:400 32px/1.1 "DM Serif Display"; }
.lesson-info p { color:var(--muted); font-size:12px; line-height:1.65; }
.lesson-actions { display:flex; gap:9px; margin-top:15px; }
.curriculum { padding:0; overflow:hidden; }
.curriculum-head { padding:18px; border-bottom:1px solid var(--line); }
.curriculum-head h2 { margin:0 0 6px; font:400 20px/1 "DM Serif Display"; }
.curriculum-head small { color:var(--muted); }
.lesson-list { max-height:610px; overflow:auto; }
.lesson-row { width:100%; border:0; border-bottom:1px solid var(--line); background:transparent; cursor:pointer; display:grid; grid-template-columns:24px 1fr auto; align-items:center; gap:10px; padding:14px 16px; text-align:left; }
.lesson-row:hover,.lesson-row.active { background:var(--panel-2); }
.lesson-row .check { width:20px; height:20px; display:grid; place-items:center; border:1px solid #3b3b40; border-radius:50%; font-size:9px; }
.lesson-row.done .check { background:var(--green); color:#102018; border-color:var(--green); }
.lesson-row strong { display:block; font-size:10px; line-height:1.4; }
.lesson-row small { color:var(--muted); font-size:8px; }

.community-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; }
.composer { margin-bottom:16px; }
.composer textarea { width:100%; min-height:92px; resize:vertical; padding:14px; background:var(--panel-2); border:1px solid var(--line); border-radius:12px; color:var(--text); outline:none; }
.composer-foot { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.composer-foot small { color:var(--muted); }
.feed { display:grid; gap:14px; }
.post { padding:19px; background:var(--panel); border:1px solid var(--line); border-radius:16px; }
.post-head { display:flex; justify-content:space-between; align-items:center; }
.post-author { display:flex; gap:10px; align-items:center; }
.post-author strong,.post-author small { display:block; }
.post-author strong { font-size:11px; }
.post-author small { color:var(--muted); font-size:9px; margin-top:3px; }
.post p { color:#c8c6c2; font-size:12px; line-height:1.65; }
.post-art { min-height:180px; border-radius:12px; display:grid; place-items:center; background:radial-gradient(circle at 60% 35%,#553237,#111 60%); font:400 46px/1 "DM Serif Display"; color:rgba(255,255,255,.22); }
.post-actions { display:flex; gap:16px; margin-top:13px; }
.post-actions button { border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:10px; }
.post-actions button.liked { color:var(--red); }
.rank-list { display:grid; gap:13px; margin-top:15px; }
.rank { display:grid; grid-template-columns:20px 32px 1fr auto; align-items:center; gap:9px; }
.rank .avatar { width:32px; height:32px; font-size:9px; }
.rank strong { font-size:9px; }
.rank small { color:var(--muted); font-size:8px; }
.rank b { color:var(--yellow); font-size:9px; }

.profile-card { max-width:900px; display:grid; grid-template-columns:220px 1fr; overflow:hidden; padding:0; }
.profile-cover { padding:32px; min-height:360px; background:linear-gradient(155deg,#6d1d24,#171416 65%); display:flex; flex-direction:column; justify-content:end; }
.profile-cover .avatar { width:80px; height:80px; font-size:20px; margin-bottom:15px; }
.profile-cover h2 { margin:0; font:400 25px/1 "DM Serif Display"; }
.profile-cover p { color:#c9c1bc; font-size:10px; }
.profile-details { padding:32px; }
.stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:20px 0; }
.stat { padding:15px; background:var(--panel-2); border-radius:12px; }
.stat b,.stat small { display:block; }
.stat b { font:400 25px/1 "DM Serif Display"; }
.stat small { color:var(--muted); margin-top:6px; font-size:8px; }
.settings-list { display:grid; gap:8px; }
.setting { display:flex; justify-content:space-between; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); font-size:11px; }
.setting small { color:var(--muted); }

.toast { position:fixed; right:24px; bottom:24px; z-index:60; max-width:310px; padding:13px 16px; background:var(--cream); color:#111; border-radius:11px; box-shadow:var(--shadow); font-size:11px; opacity:0; transform:translateY(12px); pointer-events:none; transition:.25s; }
.toast.show { opacity:1; transform:none; }
.mobile-nav { display:none; }

.announcement-banner { margin-bottom:18px; display:grid; grid-template-columns:auto 1fr auto; gap:13px; align-items:center; padding:14px 16px; border:1px solid rgba(239,63,63,.32); background:linear-gradient(90deg,rgba(112,25,31,.32),rgba(24,24,27,.72)); border-radius:14px; }
.announcement-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; background:var(--red); font-size:15px; }
.announcement-banner strong,.announcement-banner small { display:block; }
.announcement-banner strong { font-size:11px; }
.announcement-banner small { margin-top:4px; color:#b9b5b0; font-size:9px; line-height:1.45; }
.announcement-banner button { border:0; background:transparent; color:#c8c3bd; font-size:10px; cursor:pointer; }
.category-doors { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.category-door { min-height:145px; display:flex; flex-direction:column; justify-content:space-between; padding:19px; border:1px solid var(--line); border-radius:16px; cursor:pointer; background:var(--panel); text-align:left; transition:.2s; }
.category-door:hover { transform:translateY(-3px); border-color:rgba(255,255,255,.18); }
.category-door span { color:var(--red); font-size:9px; letter-spacing:.13em; }
.category-door strong { font:400 24px/1.05 "DM Serif Display"; }
.category-door small { color:var(--muted); font-size:9px; }

.avatar.has-photo,.avatar-button.has-photo { color:transparent; background-size:cover; background-position:center; }
.profile-editor { margin-top:24px; display:grid; grid-template-columns:270px 1fr; overflow:hidden; padding:0; }
.profile-identity { padding:30px; background:linear-gradient(155deg,#6d1d24,#171416 70%); }
.profile-photo { position:relative; width:116px; height:116px; margin-bottom:18px; }
.profile-photo .avatar { width:116px; height:116px; font-size:26px; border:3px solid rgba(255,255,255,.16); }
.photo-action { position:absolute; right:0; bottom:0; width:36px; height:36px; display:grid; place-items:center; border:0; border-radius:50%; background:var(--cream); color:#111; cursor:pointer; }
.profile-identity h2 { margin:0; font:400 27px/1 "DM Serif Display"; }
.profile-identity p { color:#c7bfba; font-size:10px; line-height:1.55; }
.profile-form { padding:30px; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.1em; }
.field input,.field textarea,.admin-form input,.admin-form textarea,.admin-form select { width:100%; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); color:var(--text); padding:12px; outline:none; font-size:11px; }
.field textarea,.admin-form textarea { min-height:100px; resize:vertical; }
.field input:focus,.field textarea:focus,.admin-form input:focus,.admin-form textarea:focus { border-color:rgba(239,63,63,.6); }

.composer-tools { display:flex; gap:7px; margin-bottom:10px; }
.tool-button { border:1px solid var(--line); background:var(--panel-2); color:var(--muted); padding:8px 10px; border-radius:8px; font-size:9px; cursor:pointer; }
.tool-button:hover,.tool-button.active { color:var(--text); border-color:rgba(255,255,255,.2); }
.poll-builder { display:none; margin-top:10px; padding:14px; border:1px solid var(--line); border-radius:12px; background:var(--panel-2); }
.poll-builder.open { display:grid; gap:8px; }
.poll-builder input { border:1px solid var(--line); background:#111113; color:var(--text); padding:10px; border-radius:8px; font-size:10px; }
.poll-card { padding:20px; border:1px solid rgba(239,63,63,.25); background:linear-gradient(145deg,rgba(91,27,32,.23),var(--panel)); border-radius:16px; }
.poll-card h3 { margin:9px 0 15px; font:400 21px/1.2 "DM Serif Display"; }
.poll-options { display:grid; gap:8px; }
.poll-option { position:relative; overflow:hidden; width:100%; border:1px solid var(--line); background:var(--panel-2); border-radius:10px; padding:11px 12px; text-align:left; cursor:pointer; }
.poll-option i { position:absolute; inset:0 auto 0 0; background:rgba(239,63,63,.16); z-index:0; }
.poll-option span,.poll-option b { position:relative; z-index:1; font-size:10px; }
.poll-option b { float:right; }
.poll-meta { margin-top:12px; color:var(--muted); font-size:9px; }

.live-hero { position:relative; overflow:hidden; min-height:420px; display:flex; align-items:end; padding:34px; border:1px solid var(--line); border-radius:22px; background:radial-gradient(circle at 67% 32%,#702228,#171416 38%,#09090a 74%); }
.live-hero::after { content:"AO VIVO"; position:absolute; right:-20px; top:85px; font:400 80px/1 "DM Serif Display"; color:rgba(255,255,255,.035); transform:rotate(90deg); }
.live-copy { position:relative; z-index:1; max-width:590px; }
.live-indicator { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; background:var(--red); border-radius:99px; font-size:9px; font-weight:700; }
.live-indicator i { width:6px; height:6px; background:white; border-radius:50%; box-shadow:0 0 0 5px rgba(255,255,255,.14); }
.live-copy h1 { margin:15px 0 9px; font:400 clamp(35px,4vw,56px)/1 "DM Serif Display"; }
.live-copy p { color:#c5bfba; font-size:12px; line-height:1.6; }
.live-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:18px; }
.chat-panel { padding:0; overflow:hidden; }
.chat-head { padding:17px; border-bottom:1px solid var(--line); }
.chat-messages { height:320px; overflow:auto; padding:15px; display:grid; align-content:start; gap:13px; }
.chat-msg { display:grid; grid-template-columns:30px 1fr; gap:9px; }
.chat-msg .avatar { width:30px; height:30px; font-size:8px; }
.chat-msg p { margin:0; font-size:10px; line-height:1.45; }
.chat-msg small { color:var(--muted); }
.chat-input { display:flex; gap:8px; padding:13px; border-top:1px solid var(--line); }
.chat-input input { flex:1; border:1px solid var(--line); background:var(--panel-2); color:var(--text); border-radius:9px; padding:10px; font-size:10px; }

.partner-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin-top:25px; }
.partner-card { min-height:185px; display:flex; flex-direction:column; justify-content:space-between; padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--panel); }
.partner-logo { width:54px; height:54px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:14px; font:400 23px "DM Serif Display"; }
.partner-card h3 { margin:16px 0 6px; font-size:13px; }
.partner-card p { margin:0; color:var(--muted); font-size:9px; line-height:1.55; }
.partner-card a { margin-top:14px; color:var(--cream); font-size:9px; text-decoration:none; }

.store-hero { display:grid; grid-template-columns:1.2fr .8fr; min-height:250px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:linear-gradient(135deg,#27211d,#101011); }
.store-copy { padding:32px; display:flex; flex-direction:column; justify-content:center; }
.store-copy h1 { margin:8px 0; font:400 40px/1 "DM Serif Display"; }
.store-art { position:relative; background:radial-gradient(circle,#7a252d,#171416 58%); display:grid; place-items:center; font:400 58px "DM Serif Display"; color:rgba(255,255,255,.13); }
.cart-pill { display:flex; align-items:center; gap:8px; border:1px solid var(--line); background:var(--panel); border-radius:99px; padding:9px 13px; font-size:10px; cursor:pointer; }
.section-head .cart-pill { border:1px solid var(--line); background:var(--panel); color:var(--text); padding:9px 13px; }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.product-card { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:var(--panel); }
.product-image { height:165px; display:grid; place-items:center; background:radial-gradient(circle at 45% 40%,#3d3d42,#151517 62%); font:400 38px "DM Serif Display"; color:rgba(255,255,255,.22); }
.product-body { padding:15px; }
.product-body h3 { margin:0; font-size:11px; }
.product-body p { color:var(--muted); font-size:9px; min-height:28px; line-height:1.45; }
.product-price { display:flex; justify-content:space-between; align-items:center; margin-top:13px; }
.product-price b { font:400 18px "DM Serif Display"; }
.add-cart { width:32px; height:32px; border:0; border-radius:9px; background:var(--cream); color:#111; cursor:pointer; font-weight:700; }

.admin-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:24px; }
.admin-card { padding:21px; border:1px solid var(--line); border-radius:16px; background:var(--panel); }
.admin-card-wide { grid-column:1/-1; }
.admin-card h2 { margin:6px 0 7px; font:400 23px/1 "DM Serif Display"; }
.admin-form { display:grid; gap:9px; margin-top:15px; }
.admin-form label { color:var(--muted); font-size:9px; }
.admin-form-grid { display:grid; grid-template-columns:1.25fr 1fr .7fr; gap:10px; }
.admin-form label > input,.admin-form label > select,.admin-form label > textarea { margin-top:7px; }
.video-drop { position:relative; display:grid!important; grid-template-columns:auto 1fr; align-items:center; gap:3px 12px; padding:18px; margin-bottom:4px; border:1px dashed rgba(239,63,63,.48); border-radius:12px; background:linear-gradient(135deg,rgba(239,63,63,.09),rgba(255,255,255,.02)); cursor:pointer; }
.video-drop > span { grid-row:1/3; display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:var(--red); color:white; font-size:20px; }
.video-drop strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:white; font-size:11px; }
.video-drop small { color:var(--muted); font-size:8px; }
.video-drop input { position:absolute; width:1px!important; height:1px; opacity:0; pointer-events:none; }
.admin-checks { display:flex; flex-wrap:wrap; gap:14px; padding:5px 0; }
.admin-checks label { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:9px; }
.admin-checks input { width:15px!important; height:15px; margin:0!important; accent-color:var(--red); }
.upload-progress { position:relative; overflow:hidden; display:flex; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--panel-2); }
.upload-progress[hidden] { display:none!important; }
.upload-progress::before { content:""; position:absolute; inset:auto 0 0; width:var(--upload-progress,0%); height:3px; background:linear-gradient(90deg,var(--red),#ff8d73); transition:width .25s; }
.upload-progress span,.upload-progress b { position:relative; font-size:9px; }
.admin-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:6px; }
.admin-list { display:grid; gap:9px; margin-top:14px; }
.admin-item { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:11px; background:var(--panel-2); border-radius:10px; }
.admin-item strong,.admin-item small { display:block; }
.admin-item strong { font-size:10px; }
.admin-item small { color:var(--muted); font-size:8px; margin-top:3px; }
.admin-badge { padding:5px 7px; border-radius:99px; color:var(--green); background:rgba(143,211,168,.1); font-size:8px; }

/* Morbene Control Center */
.admin-mode .sidebar,.admin-mode .topbar,.admin-mode .mobile-nav { display:none!important; }
.admin-mode .main-content { margin:0; padding:0; }
.admin-console { min-height:100vh; display:grid; grid-template-columns:238px minmax(0,1fr); background:#080809; }
.admin-console-nav { position:sticky; top:0; height:100vh; display:flex; flex-direction:column; padding:22px 14px 16px; background:#0d0d0f; border-right:1px solid rgba(255,255,255,.08); }
.admin-console-brand { display:flex; align-items:center; gap:11px; padding:4px 8px 24px; border-bottom:1px solid var(--line); }
.admin-console-brand > span { width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.6); font:400 15px "DM Serif Display"; transform:rotate(-3deg); }
.admin-console-brand div { display:grid; gap:3px; }
.admin-console-brand b { font-size:12px; letter-spacing:.18em; }
.admin-console-brand small { color:var(--red); font-size:7px; letter-spacing:.2em; }
.admin-console-nav nav { display:grid; gap:4px; margin-top:20px; }
.admin-console-nav nav button { width:100%; min-height:42px; display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:9px; padding:0 11px; border:0; border-radius:7px; background:transparent; color:#85858b; text-align:left; cursor:pointer; font-size:10px; }
.admin-console-nav nav button:hover { color:#fff; background:rgba(255,255,255,.04); }
.admin-console-nav nav button.active { color:#fff; background:linear-gradient(90deg,rgba(241,23,37,.2),rgba(241,23,37,.04)); box-shadow:inset 2px 0 var(--red); }
.admin-console-nav nav button > span { font-size:14px; text-align:center; }
.admin-console-nav nav button > em { min-width:20px; padding:3px 5px; border-radius:99px; background:rgba(255,255,255,.07); color:#b7b7bc; font:normal 7px Archivo; text-align:center; }
.admin-console-user { margin-top:auto; display:grid; grid-template-columns:34px 1fr; gap:9px; align-items:center; padding:13px 8px 3px; border-top:1px solid var(--line); }
.admin-console-user .avatar { width:34px; height:34px; }
.admin-console-user b,.admin-console-user small { display:block; }
.admin-console-user b { font-size:9px; }
.admin-console-user small { margin-top:3px; color:var(--red); font-size:7px; text-transform:uppercase; }
.admin-console-main { min-width:0; padding:34px clamp(22px,4vw,58px) 60px; }
.admin-section-head { display:flex; justify-content:space-between; align-items:flex-end; gap:18px; margin-bottom:22px; }
.admin-section-head h2 { margin:6px 0 5px; font:400 clamp(28px,3vw,42px)/1 "DM Serif Display"; text-transform:uppercase; }
.admin-section-head p { margin:0; color:var(--muted); font-size:10px; }
.admin-panel { padding:20px; margin-bottom:15px; border:1px solid var(--line); border-radius:7px; background:#101012; box-shadow:0 15px 50px rgba(0,0,0,.15); }
.admin-panel h3 { margin:6px 0 12px; font:400 20px/1.1 "DM Serif Display"; text-transform:uppercase; }
.admin-panel > p { color:var(--muted); font-size:10px; line-height:1.55; }
.admin-panel-head { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:10px; }
.admin-panel-head h3 { margin-bottom:0; }
.admin-panel-head > button { border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:9px; }
.admin-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:15px; }
.admin-metrics article { min-height:125px; display:grid; align-content:space-between; padding:17px; border:1px solid var(--line); border-radius:7px; background:linear-gradient(145deg,#131316,#0d0d0f); }
.admin-metrics article > span { color:var(--red); font-size:18px; }
.admin-metrics b { font:400 34px "DM Serif Display"; }
.admin-metrics small { color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.09em; }
.admin-dashboard-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(270px,.75fr); gap:15px; }
.admin-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.admin-quick-grid button { min-height:110px; display:grid; align-content:center; gap:5px; padding:13px; border:1px solid var(--line); border-radius:6px; background:#151518; color:var(--text); text-align:left; cursor:pointer; }
.admin-quick-grid button:hover { border-color:rgba(241,23,37,.5); }
.admin-quick-grid span { color:var(--red); font-size:17px; }
.admin-quick-grid b { font-size:9px; }
.admin-quick-grid small { color:var(--muted); font-size:7px; }
.admin-table { display:grid; gap:1px; overflow:hidden; border:1px solid rgba(255,255,255,.06); border-radius:6px; background:rgba(255,255,255,.06); }
.admin-table-row { min-height:62px; display:flex; align-items:center; gap:11px; padding:10px 12px; background:#141416; }
.admin-table-row:hover { background:#18181b; }
.admin-cell-grow { min-width:120px; flex:1; }
.admin-cell-grow strong,.admin-cell-grow small { display:block; }
.admin-cell-grow strong { overflow:hidden; color:#eee; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.admin-cell-grow small { margin-top:4px; color:#77777d; font-size:7px; }
.admin-thumb,.admin-post-kind { flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; border-radius:5px; background:#222226; color:var(--red); font-size:9px; }
.admin-post-kind { border-radius:50%; background:rgba(241,23,37,.12); font-weight:700; }
.admin-action,.admin-icon,.danger { border:1px solid var(--line); background:#1b1b1e; color:#b8b8bd; cursor:pointer; }
.admin-action { padding:7px 9px; border-radius:5px; font-size:8px; }
.admin-icon { width:29px; height:29px; border-radius:5px; }
.admin-action:hover,.admin-icon:hover { color:#fff; border-color:rgba(255,255,255,.3); }
.danger { padding:11px 14px; border-color:rgba(241,23,37,.35); border-radius:7px; color:#ff7a82; font-size:9px; }
.danger:hover,.danger-icon:hover { color:#fff; background:var(--red); border-color:var(--red); }
.admin-status { flex:0 0 auto; display:flex; align-items:center; gap:5px; padding:5px 7px; border-radius:99px; font-size:7px; font-weight:700; letter-spacing:.05em; }
.admin-status i { width:5px; height:5px; border-radius:50%; }
.admin-status.on { color:#8fd3a8; background:rgba(143,211,168,.08); }
.admin-status.on i { background:#8fd3a8; box-shadow:0 0 8px #8fd3a8; }
.admin-status.off { color:#8b8b91; background:rgba(255,255,255,.05); }
.admin-status.off i { background:#696970; }
.admin-safe { color:var(--green); font-size:7px; letter-spacing:.08em; }
.admin-editor { border-color:rgba(241,23,37,.3); box-shadow:inset 3px 0 var(--red); }
.admin-two-col { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.admin-empty { padding:34px; background:#141416; color:var(--muted); text-align:center; font-size:9px; }
.admin-integration-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.integration-logo { width:38px; height:38px; display:grid; place-items:center; border-radius:7px; background:#1c1c20; color:var(--red); font-weight:800; }
.admin-security { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:15px; }
.admin-security p { max-width:700px; }
.admin-shield { width:58px; height:58px; display:grid; place-items:center; border:1px solid rgba(143,211,168,.35); border-radius:50%; color:var(--green); font-size:23px; }
.admin-loading,.admin-denied { min-height:70vh; display:grid; place-items:center; align-content:center; gap:12px; text-align:center; }
.admin-loading i { width:28px; height:28px; border:2px solid rgba(255,255,255,.12); border-top-color:var(--red); border-radius:50%; animation:adminSpin .75s linear infinite; }
.admin-loading p,.admin-denied p { color:var(--muted); font-size:10px; }
.admin-denied > span { color:var(--red); font-size:40px; }
@keyframes adminSpin { to { transform:rotate(360deg); } }

@media (max-width: 1100px) {
  .course-grid { grid-template-columns:repeat(2,1fr); }
  .library-grid { grid-template-columns:repeat(2,1fr); }
  .hero-grid,.split-layout { grid-template-columns:1fr; }
  .player-layout,.community-layout { grid-template-columns:1fr; }
  .live-layout { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:repeat(2,1fr); }
  .metric-stack { grid-template-columns:repeat(3,1fr); }
  .metric-card { min-height:110px; }
  .admin-dashboard-grid { grid-template-columns:1fr; }
  .admin-metrics { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 800px) {
  .admin-form-grid { grid-template-columns:1fr; }
  .sidebar { transform:translateX(-100%); transition:.25s; box-shadow:20px 0 80px rgba(0,0,0,.6); }
  .sidebar.open { transform:none; }
  .topbar { left:0; padding:0 18px; height:66px; }
  .mobile-menu { display:block; }
  .search { flex:1; width:auto; }
  .search kbd { display:none; }
  .main-content { margin-left:0; padding:90px 18px 90px; }
  .mobile-nav { position:fixed; display:grid; grid-template-columns:repeat(5,1fr); left:12px; right:12px; bottom:10px; z-index:30; padding:7px; background:rgba(20,20,22,.94); backdrop-filter:blur(15px); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .mobile-nav button { border:0; background:transparent; color:var(--muted); display:grid; gap:3px; place-items:center; font-size:8px; }
  .mobile-nav span { font-size:16px; }
  .mobile-nav button.active { color:var(--text); }
  .player-layout,.community-layout { grid-template-columns:1fr; }
  .profile-card { grid-template-columns:1fr; }
  .profile-cover { min-height:260px; }
  .profile-editor,.store-hero { grid-template-columns:1fr; }
  .store-art { min-height:180px; }
  .partner-grid,.admin-grid { grid-template-columns:1fr; }
  .admin-console { grid-template-columns:1fr; }
  .admin-console-nav { position:sticky; z-index:10; height:auto; padding:10px 12px; border-right:0; border-bottom:1px solid var(--line); }
  .admin-console-brand,.admin-console-user { display:none; }
  .admin-console-nav nav { display:flex; gap:5px; margin:0; overflow-x:auto; scrollbar-width:none; }
  .admin-console-nav nav button { flex:0 0 auto; width:auto; grid-template-columns:18px auto auto; min-height:38px; padding:0 10px; }
  .admin-console-nav nav button.active { box-shadow:inset 0 -2px var(--red); }
  .admin-console-main { padding:24px 15px 90px; }
  .admin-two-col,.admin-integration-grid { grid-template-columns:1fr; }
}
@media (max-width: 580px) {
  .top-actions .icon-button { display:none; }
  .hero-course { min-height:420px; padding:25px; }
  .hero-course::after { display:none; }
  .metric-stack,.course-grid,.library-grid { grid-template-columns:1fr; }
  .category-doors,.product-grid { grid-template-columns:1fr; }
  .course-art,.library-grid .course-art { height:175px; }
  .section-head { align-items:center; }
  .event { grid-template-columns:45px 1fr; }
  .event .status { display:none; }
  .stats { grid-template-columns:1fr; }
  .field-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .announcement-banner { grid-template-columns:auto 1fr; }
  .announcement-banner button { display:none; }
  .admin-metrics { grid-template-columns:1fr 1fr; }
  .admin-metrics article { min-height:100px; }
  .admin-section-head { align-items:flex-start; flex-direction:column; }
  .admin-section-head > button { width:100%; }
  .admin-table-row { flex-wrap:wrap; }
  .admin-cell-grow { min-width:calc(100% - 50px); }
  .admin-status { margin-left:45px; }
  .admin-quick-grid { grid-template-columns:1fr; }
}

/* Morbene visual identity */
body {
  background:
    radial-gradient(circle at 78% -10%, rgba(241,23,37,.10), transparent 28rem),
    linear-gradient(180deg, #080809 0%, var(--bg) 34rem);
}
.sidebar {
  background: linear-gradient(180deg,#09090a 0%,#050505 100%);
  border-right-color: rgba(241,23,37,.22);
  box-shadow: 18px 0 60px rgba(0,0,0,.24);
}
.brand { position:relative; }
.brand::after {
  content:""; position:absolute; left:8px; right:8px; bottom:13px; height:1px;
  background:linear-gradient(90deg,var(--red),rgba(241,23,37,0));
}
.brand-mark {
  width:42px; height:42px; padding:6px; border:1px solid rgba(241,23,37,.66);
  background:radial-gradient(circle,rgba(241,23,37,.14),transparent 68%);
  transform:none; box-shadow:0 0 24px rgba(241,23,37,.12);
}
.brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.brand-copy strong { font-family:"Barlow Condensed",sans-serif; font-size:18px; font-weight:800; letter-spacing:.18em; }
.brand-copy small { color:#b9b9bd; font-weight:600; }
.nav-item { border-radius:4px; border-left:2px solid transparent; }
.nav-item:hover { border-left-color:rgba(241,23,37,.55); }
.nav-item.active { background:linear-gradient(90deg,var(--red),#a30712); color:#fff; border-left-color:#fff; box-shadow:0 8px 24px rgba(241,23,37,.17); }
.topbar { background:rgba(5,5,5,.88); border-bottom-color:rgba(241,23,37,.15); }
.search { border-radius:4px; background:#0b0b0d; }
.page-title,
.section-head h2,
.hero-copy h1,
.metric-card strong,
.course-art b,
.lesson-info h1,
.curriculum-head h2,
.poll-card h3,
.profile-cover h2,
.stat b,
.category-door strong,
.profile-identity h2,
.live-copy h1,
.partner-logo,
.store-copy h1,
.store-art,
.product-image,
.product-price b,
.admin-card h2,
.post-art,
.panel h2,
.post h3,
.profile-form h2 {
  font-family:"Barlow Condensed",sans-serif !important;
  font-weight:800 !important;
  letter-spacing:-.015em;
}
.page-title,.section-head h2,.hero-copy h1,.live-copy h1,.store-copy h1,.admin-card h2 { text-transform:uppercase; }
.eyebrow { font-family:"Barlow Condensed",sans-serif; font-size:12px; font-weight:800; letter-spacing:.18em; }
.panel,.metric-card,.course-card,.category-door,.post,.poll-card,.partner-card,.product-card,.admin-card { border-radius:6px; }
.primary,.secondary,.filter,.cart-pill { border-radius:3px; text-transform:uppercase; letter-spacing:.06em; }
.primary { background:var(--red); color:#fff; box-shadow:0 8px 24px rgba(241,23,37,.16); }
.primary:hover { background:#ff2835; }
.metric-card.accent { background:linear-gradient(135deg,#fff 0%,#d9d9d5 100%); }
.filter.active,.filter:hover { background:var(--red); color:#fff; border-color:var(--red); }
.hero-course {
  min-height:430px; border-radius:7px; border-color:rgba(241,23,37,.38);
  background:
    linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.76) 42%,rgba(0,0,0,.22) 72%,rgba(0,0,0,.55) 100%),
    linear-gradient(0deg,rgba(241,23,37,.13),transparent 50%),
    url('./assets/brand/hero-portfolio.png') center/cover no-repeat;
  box-shadow:var(--shadow),inset 0 -3px 0 var(--red);
}
.hero-course::before {
  content:""; position:absolute; width:60%; height:1px; left:36px; top:34px; border:0; border-radius:0;
  background:linear-gradient(90deg,var(--red),transparent); transform:none; box-shadow:0 0 18px rgba(241,23,37,.7);
}
.hero-course::after { font-family:"Barlow Condensed",sans-serif; font-weight:900; color:rgba(255,255,255,.055); }
.hero-copy h1 { font-size:clamp(44px,5.1vw,72px); line-height:.86; letter-spacing:-.035em; max-width:450px; }
.hero-copy p { color:#d6d6d3; max-width:475px; }
.hero-copy .pill,.live-indicator { border-radius:2px; background:var(--red); border-color:var(--red); font-weight:800; }
.course-card:hover,.category-door:hover { border-color:rgba(241,23,37,.48); box-shadow:0 16px 38px rgba(0,0,0,.42); }
.course-art::before { border-radius:0; transform:rotate(45deg); border-color:rgba(241,23,37,.38); }
.course-art.red,.course-art.ink,.course-art.gold,.course-art.blue,.course-art.green,.course-art.violet {
  background:
    linear-gradient(135deg,rgba(241,23,37,.68),rgba(72,0,7,.22) 38%,transparent 39%),
    radial-gradient(circle at 72% 26%,#303034,#080809 64%);
}
.course-art .tag { border-radius:2px; background:rgba(0,0,0,.72); border-left:2px solid var(--red); }
.announcement-banner { border-radius:4px; border-left:3px solid var(--red); background:linear-gradient(90deg,rgba(130,4,14,.36),rgba(18,18,20,.88)); }
.announcement-icon { border-radius:2px; }
.progress-track span { background:linear-gradient(90deg,var(--red),#ff525d); }
.profile-identity,.profile-cover { position:relative; background:linear-gradient(145deg,#7b050f 0%,#18090b 48%,#09090a 100%); }
.profile-identity::after,.profile-cover::after { content:"M"; position:absolute; right:15px; bottom:-12px; color:rgba(255,255,255,.045); font:900 150px/.8 "Barlow Condensed",sans-serif; pointer-events:none; }
.photo-action,.add-cart { background:var(--red); color:#fff; }
.live-hero {
  min-height:480px; border-radius:7px; border-color:rgba(241,23,37,.35);
  background:
    linear-gradient(90deg,rgba(0,0,0,.96) 0%,rgba(0,0,0,.72) 46%,rgba(0,0,0,.08) 76%),
    linear-gradient(0deg,rgba(241,23,37,.16),transparent 58%),
    url('./assets/brand/chico-portrait.jpg') 78% 28%/cover no-repeat;
  box-shadow:inset 0 -3px 0 var(--red);
}
.live-hero::after { font-family:"Barlow Condensed",sans-serif; font-weight:900; }
.live-copy h1 { font-size:clamp(46px,5vw,70px); line-height:.88; }
.partner-logo { border-radius:2px; border-color:rgba(241,23,37,.52); color:#fff; background:linear-gradient(135deg,#a20712,#290307); }
.store-hero { border-radius:7px; background:linear-gradient(135deg,#18181a,#080809); box-shadow:inset 0 -3px 0 var(--red); }
.store-art { background:radial-gradient(circle,#8d0712,#170406 52%,#080809 72%); }
.product-image { background:linear-gradient(145deg,#242427,#09090a); }
.toast { border-radius:3px; background:var(--red); color:#fff; }

@media (max-width: 800px) {
  .mobile-nav { border-radius:7px; border-color:rgba(241,23,37,.25); background:rgba(7,7,8,.95); }
  .mobile-nav button.active { color:var(--red); }
  .live-hero { background-position:64% 22%; }
}
@media (max-width: 580px) {
  .hero-course { min-height:470px; background-position:62% center; }
  .hero-copy h1 { font-size:48px; }
  .live-hero { min-height:500px; padding:25px; background-position:62% 20%; }
  .live-copy h1 { font-size:48px; }
}

/* Experience upgrade */
.nav-label { margin:18px 14px 6px; color:#5e5e64; font:700 9px/1 "Archivo"; letter-spacing:.18em; text-transform:uppercase; }
.welcome-line { display:flex; justify-content:space-between; align-items:end; gap:18px; margin:2px 0 20px; }
.welcome-line h1 { margin:5px 0 0; font:800 clamp(26px,3vw,42px)/.95 "Barlow Condensed",sans-serif; text-transform:uppercase; }
.online-proof { display:grid; grid-template-columns:auto auto; gap:2px 9px; align-items:center; text-align:right; }
.online-proof small { grid-column:2; color:var(--muted); font-size:9px; }
.online-proof b { font:700 13px "Barlow Condensed"; text-transform:uppercase; }
.online-dots { display:flex; align-items:center; }
.online-dots i { width:24px; height:24px; margin-left:-7px; border:2px solid #09090a; border-radius:50%; background-size:cover; background-position:center; }
.online-dots i:first-child { margin-left:0; background-image:url('./assets/experience/course-marketing.jpg'); }
.online-dots i:nth-child(2) { background-image:url('./assets/experience/course-ai-web.jpg'); }
.online-dots i:nth-child(3) { background-image:url('./assets/brand/hero-portfolio.png'); }
.hero-instructor { position:absolute; z-index:3; right:22px; top:22px; display:flex; align-items:center; gap:8px; padding:7px 10px 7px 7px; border:1px solid rgba(255,255,255,.15); background:rgba(0,0,0,.55); backdrop-filter:blur(10px); border-radius:4px; }
.hero-instructor img { width:35px; height:35px; object-fit:cover; object-position:center 20%; border-radius:50%; }
.hero-instructor b,.hero-instructor small { display:block; }
.hero-instructor b { font-size:9px; }
.hero-instructor small { margin-top:3px; color:#a9a9ad; font-size:7px; }
.proof-strip { margin-top:18px; display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); background:linear-gradient(90deg,#0d0d0f,#111114); }
.proof-strip>span { padding:17px 20px; border-right:1px solid var(--line); }
.proof-strip>span:last-child { border-right:0; }
.proof-strip b,.proof-strip small { display:block; }
.proof-strip b { color:#fff; font:800 25px/1 "Barlow Condensed"; }
.proof-strip small { margin-top:5px; color:var(--muted); font-size:8px; text-transform:uppercase; letter-spacing:.08em; }
.category-door { position:relative; overflow:hidden; min-height:170px; background-size:cover; background-position:center; }
.category-door:nth-child(1) { background-image:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.35)),url('./assets/experience/course-marketing.jpg'); }
.category-door:nth-child(2) { background-image:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.35)),url('./assets/experience/course-sales.jpg'); }
.category-door:nth-child(3) { background-image:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.35)),url('./assets/experience/course-ai-web.jpg'); }
.category-door::after { content:""; position:absolute; left:0; bottom:0; width:0; height:3px; background:var(--red); transition:.3s; }
.category-door:hover::after { width:100%; }
.course-card { position:relative; animation:cardReveal .5s both; }
.course-card:nth-child(2) { animation-delay:.06s; }.course-card:nth-child(3) { animation-delay:.12s; }.course-card:nth-child(4) { animation-delay:.18s; }
@keyframes cardReveal { from { opacity:0; transform:translateY(14px); } }
.course-art { height:185px; background-size:cover; background-position:center; transition:transform .35s ease,filter .35s; }
.course-card:hover .course-art { transform:scale(1.025); filter:saturate(1.12); }
.course-art::before { display:none; }
.course-art-copy { position:relative; z-index:2; display:grid; gap:3px; }
.course-art-copy small { color:#d4d4d7; font-size:8px; text-transform:uppercase; letter-spacing:.09em; }
.course-art-copy b { display:none; }
.course-play { position:absolute; z-index:3; left:50%; top:50%; display:grid; place-items:center; width:46px; height:46px; border:1px solid rgba(255,255,255,.48); border-radius:50%; background:rgba(0,0,0,.54); opacity:0; transform:translate(-50%,-42%); transition:.25s; }
.course-card:hover .course-play { opacity:1; transform:translate(-50%,-50%); }
.save-course { position:absolute; z-index:5; right:12px; top:12px; width:30px; height:30px; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(0,0,0,.55); cursor:pointer; }
.save-course.saved { color:var(--red); border-color:rgba(241,23,37,.55); }
.course-body p { min-height:30px; margin:0 0 10px; color:var(--muted); font-size:9px; line-height:1.5; }
.transformation { margin-top:32px; display:grid; grid-template-columns:.8fr 1.2fr; overflow:hidden; min-height:340px; border:1px solid rgba(241,23,37,.28); background:#0c0c0e; box-shadow:inset 0 -3px 0 var(--red); }
.transformation-copy { padding:36px; display:flex; flex-direction:column; justify-content:center; }
.transformation-copy h2 { margin:8px 0; font:800 40px/.92 "Barlow Condensed"; text-transform:uppercase; }
.transformation-copy p { color:#c2c2c4; font-size:12px; line-height:1.7; }
.student-proof { display:flex; align-items:center; gap:9px; margin:8px 0 18px; }
.student-proof b,.student-proof small { display:block; }.student-proof small { margin-top:3px; color:var(--muted); font-size:8px; }
.transformation-art { display:grid; grid-template-columns:1fr auto 1fr; align-items:end; gap:12px; padding:24px; background:linear-gradient(90deg,rgba(0,0,0,.35),transparent),url('./assets/brand/hero-portfolio.png') center/cover; }
.transformation-art span { padding:6px 8px; background:rgba(0,0,0,.7); border-left:2px solid var(--red); font-size:8px; letter-spacing:.14em; }.transformation-art b { align-self:center; font-size:24px; }
.live-teaser { min-height:290px; display:grid; grid-template-columns:.75fr 1.25fr; overflow:hidden; border:1px solid var(--line); background:#0c0c0e; }
.live-teaser>img { width:100%; height:100%; object-fit:cover; object-position:center 22%; filter:saturate(.8) contrast(1.08); }
.live-teaser>div { padding:28px; display:flex; flex-direction:column; justify-content:center; }
.live-teaser h2 { margin:11px 0 5px; font:800 34px/.95 "Barlow Condensed"; text-transform:uppercase; }.live-teaser p { color:var(--muted); font-size:10px; }
.countdown { display:flex; gap:7px; margin:14px 0; }.countdown>span { min-width:58px; padding:9px; border:1px solid var(--line); background:rgba(0,0,0,.34); text-align:center; }.countdown b,.countdown small { display:block; }.countdown b { font:800 23px/1 "Barlow Condensed"; }.countdown small { margin-top:4px; color:var(--muted); font-size:7px; text-transform:uppercase; }
.member-row { position:relative; }.member-photo { background-size:cover; background-position:center; }.member-online { margin-left:auto; width:7px; height:7px; border-radius:50%; background:#3ee183; box-shadow:0 0 0 4px rgba(62,225,131,.08); }
.video-shell { background-size:cover; background-position:center; }
.video-shell.is-playing { background:#000; }
.video-shell.is-playing::before { display:none; }
.video-shell iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-shell::before { inset:0; width:auto; aspect-ratio:auto; border:0; border-radius:0; background:linear-gradient(90deg,rgba(0,0,0,.25),transparent); }
.video-badge { position:absolute; left:18px; top:18px; padding:6px 8px; border-left:2px solid var(--red); background:rgba(0,0,0,.6); font-size:8px; letter-spacing:.12em; }
.video-resume { position:absolute; left:18px; bottom:18px; color:#d0d0d2; font-size:9px; }.instructor-row { display:flex; align-items:center; gap:9px; margin:14px 0; }.instructor-row img { width:40px; height:40px; object-fit:cover; object-position:center 20%; border-radius:50%; }.instructor-row b,.instructor-row small { display:block; }.instructor-row small { color:var(--muted); font-size:8px; margin-top:4px; }
.community-stories { display:grid; grid-template-columns:repeat(4,1fr); gap:9px; margin-bottom:14px; }.community-stories button { border:1px solid var(--line); background:var(--panel); color:var(--text); padding:8px; text-align:left; cursor:pointer; }.community-stories button>span { display:block; aspect-ratio:1.2; margin-bottom:8px; background-size:cover; background-position:center; border-bottom:2px solid var(--red); }.community-stories b,.community-stories small { display:block; }.community-stories b { font-size:9px; }.community-stories small { margin-top:3px; color:var(--muted); font-size:7px; }
.composer.compact { padding:14px; }.composer-start { display:flex; align-items:center; gap:9px; }.composer-start>.avatar { flex:0 0 auto; }.composer-start>button:not(.tool-button) { flex:1; min-height:40px; border:1px solid var(--line); background:var(--panel-2); color:var(--muted); text-align:left; padding:0 13px; cursor:pointer; }.composer-expanded { display:none; margin-top:12px; }.composer-expanded.open { display:block; }.post-art { min-height:320px; background-size:cover; background-position:center; align-items:end; justify-items:start; padding:16px; }.post-art span { padding:7px 9px; background:rgba(0,0,0,.67); border-left:2px solid var(--red); color:#fff; font:700 8px "Archivo"; letter-spacing:.12em; }
.live-countdown { margin:17px 0 5px; }.confirmed-row { display:flex; align-items:center; gap:9px; margin-top:18px; }.confirmed-row b { font-size:9px; color:#c4c4c7; }
.member-benefit { display:inline-flex; margin-top:14px; padding:7px 9px; border-left:2px solid var(--red); background:rgba(241,23,37,.1); color:#fff; font-size:8px; letter-spacing:.08em; }
.store-art { min-height:320px; background-image:linear-gradient(90deg,rgba(0,0,0,.25),transparent),url('./assets/experience/supply-pro.jpg'); background-size:cover; background-position:center; }
.product-image { position:relative; height:205px; background-size:360%; background-repeat:no-repeat; transition:.3s; }.product-card:hover .product-image { background-size:380%; }.product-image>span { position:absolute; left:11px; bottom:11px; padding:5px 7px; background:rgba(0,0,0,.7); border-left:2px solid var(--red); color:#fff; font:800 11px "Barlow Condensed"; }.product-image>b { position:absolute; left:11px; top:11px; color:#fff; font:700 7px "Archivo"; letter-spacing:.1em; }.rating { margin-top:8px; color:#ff5a64; font-size:8px; letter-spacing:.06em; }.rating span { color:var(--muted); }
.profile-badges { display:flex; flex-wrap:wrap; gap:7px; margin:18px 0; }.profile-badges span { padding:7px 9px; border:1px solid rgba(241,23,37,.28); background:rgba(241,23,37,.06); color:#d4d4d6; font-size:8px; letter-spacing:.07em; }.membership-card { margin-top:18px; display:grid; grid-template-columns:1fr 250px; gap:26px; padding:28px; border:1px solid rgba(241,23,37,.36); background:linear-gradient(135deg,#1d080a,#0b0b0d 58%); box-shadow:inset 0 -3px 0 var(--red); }.membership-card h2 { margin:6px 0; font:800 36px/.95 "Barlow Condensed"; text-transform:uppercase; }.membership-card p { max-width:680px; color:#bcbcc0; font-size:10px; line-height:1.6; }.membership-value { display:flex; flex-wrap:wrap; gap:22px; margin-top:20px; }.membership-value b,.membership-value small { display:block; }.membership-value b { font:800 20px "Barlow Condensed"; }.membership-value small { margin-top:4px; color:var(--muted); font-size:7px; text-transform:uppercase; }.membership-status { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding-left:25px; border-left:1px solid var(--line); }.membership-status>span { padding:5px 7px; background:rgba(62,225,131,.1); color:#58e690; font-size:8px; }.membership-status>b { margin-top:12px; font:800 25px "Barlow Condensed"; }.membership-status>small { margin:4px 0 15px; color:var(--muted); font-size:8px; }.certificate-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.certificate-grid article { min-height:140px; padding:19px; border:1px solid var(--line); background:linear-gradient(145deg,#17171a,#0c0c0e); }.certificate-grid article>span { color:var(--red); font-size:20px; }.certificate-grid b,.certificate-grid small { display:block; }.certificate-grid b { margin-top:20px; font:800 17px "Barlow Condensed"; text-transform:uppercase; }.certificate-grid small { margin-top:6px; color:var(--muted); font-size:8px; }.certificate-grid .locked { opacity:.5; }
.membership-card:has(.choose-plan) { grid-template-columns:minmax(0,.85fr) minmax(330px,1.15fr); }.choose-plan { padding-left:28px; }.billing-options { width:100%; display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }.billing-options button { position:relative; min-height:128px; padding:17px 14px; border:1px solid var(--line); background:rgba(255,255,255,.025); color:var(--white); text-align:left; transition:.2s ease; }.billing-options button:hover { transform:translateY(-2px); border-color:rgba(241,23,37,.6); background:rgba(241,23,37,.08); }.billing-options button:disabled { opacity:.65; cursor:wait; }.billing-options button small,.billing-options button b,.billing-options button em { display:block; }.billing-options button small { color:#b7b7ba; font-size:8px; letter-spacing:.12em; text-transform:uppercase; }.billing-options button b { margin-top:15px; font:800 27px "Barlow Condensed"; }.billing-options button em { color:var(--muted); font-size:8px; font-style:normal; }.billing-options .recommended { border-color:rgba(241,23,37,.65); background:linear-gradient(145deg,rgba(241,23,37,.14),rgba(255,255,255,.02)); }.billing-options button i { position:absolute; top:-8px; right:8px; padding:4px 6px; background:var(--red); color:#fff; font-size:6px; font-style:normal; letter-spacing:.08em; }.membership-status .billing-safe { margin:10px 0 0; }.payment-due>span { background:rgba(241,23,37,.12); color:#ff7a83; }.team-access>span { background:rgba(255,188,69,.12); color:#ffc75f; }.payment-pending>span { background:rgba(255,188,69,.12); color:#ffc75f; }.payment-pending button:disabled { opacity:.6; cursor:not-allowed; }
.experience-modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; opacity:0; pointer-events:none; transition:.22s; }.experience-modal.show { opacity:1; pointer-events:auto; }.experience-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.84); backdrop-filter:blur(9px); }.experience-dialog { position:relative; width:min(760px,calc(100vw - 32px)); max-height:90vh; overflow:auto; padding:34px; border:1px solid rgba(241,23,37,.42); background:linear-gradient(145deg,#151517,#080809); box-shadow:0 35px 110px rgba(0,0,0,.75),inset 0 -3px 0 var(--red); transform:translateY(18px) scale(.98); transition:.22s; }.experience-modal.show .experience-dialog { transform:none; }.experience-dialog h2 { margin:9px 0; font:800 clamp(34px,5vw,55px)/.9 "Barlow Condensed"; text-transform:uppercase; }.experience-dialog>p { color:var(--muted); font-size:11px; line-height:1.6; }.modal-close { position:absolute; z-index:2; right:14px; top:14px; width:34px; height:34px; border:1px solid var(--line); background:rgba(0,0,0,.55); color:#fff; cursor:pointer; }.goal-options { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin:24px 0; }.goal-option { display:grid; grid-template-columns:34px 1fr; gap:2px 8px; padding:15px; border:1px solid var(--line); background:#111114; color:var(--text); text-align:left; cursor:pointer; }.goal-option>span { grid-row:1/3; display:grid; place-items:center; color:var(--red); font-size:18px; }.goal-option b { font-size:11px; }.goal-option small { color:var(--muted); font-size:8px; line-height:1.4; }.goal-option.selected { border-color:var(--red); background:rgba(241,23,37,.09); }.modal-cta { width:100%; }.trailer-dialog { width:min(900px,calc(100vw - 32px)); }.trailer-visual { position:relative; aspect-ratio:16/8; overflow:hidden; margin:-34px -34px 28px; }.trailer-visual img { width:100%; height:100%; object-fit:cover; }.trailer-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#151517,transparent 65%); }.trailer-play { position:absolute; z-index:2; left:50%; top:50%; width:68px; height:68px; border:1px solid rgba(255,255,255,.55); border-radius:50%; background:rgba(0,0,0,.52); color:#fff; transform:translate(-50%,-50%); }

@media (max-width:1100px) {
  .proof-strip { grid-template-columns:repeat(2,1fr); }.proof-strip>span:nth-child(2) { border-right:0; }.proof-strip>span:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .transformation { grid-template-columns:1fr; }.transformation-art { min-height:280px; }.membership-card,.membership-card:has(.choose-plan) { grid-template-columns:1fr; }.membership-status,.choose-plan { padding:20px 0 0; border-left:0; border-top:1px solid var(--line); }
}
@media (max-width:800px) {
  .welcome-line { align-items:flex-start; }.online-proof { display:none; }.hero-instructor { display:none; }.proof-strip { margin-top:12px; }.community-stories { overflow:auto; grid-template-columns:repeat(4,125px); }.certificate-grid { grid-template-columns:1fr; }.live-teaser { grid-template-columns:1fr; }.live-teaser>img { height:240px; }.goal-options { grid-template-columns:1fr; }
}
@media (max-width:580px) {
  .proof-strip { grid-template-columns:1fr 1fr; }.proof-strip>span { padding:14px; }.category-door { min-height:145px; }.transformation-copy { padding:25px; }.transformation-copy h2 { font-size:34px; }.transformation-art { min-height:230px; }.countdown>span { min-width:52px; }.profile-badges { display:grid; }.membership-card { padding:22px; }.membership-value { gap:14px; }.billing-options { grid-template-columns:1fr; }.experience-dialog { padding:24px; }.trailer-visual { margin:-24px -24px 22px; }.product-grid { grid-template-columns:1fr; }
}

/* Authentication */
.auth-locked,.membership-locked { overflow:hidden; }
.entry-gate { position:fixed; inset:0; z-index:1001; display:grid; grid-template-columns:1.08fr .92fr; overflow:auto; background:#060607; }
.entry-gate[hidden],.membership-gate[hidden] { display:none; }
.entry-visual { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:100vh; padding:48px; overflow:hidden; background:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.88)),linear-gradient(0deg,rgba(241,23,37,.34),transparent 58%),url('./assets/brand/hero-portfolio.png') center/cover; }
.entry-visual::after { content:"M"; position:absolute; right:-28px; bottom:-86px; color:rgba(255,255,255,.05); font:900 430px/.8 "Barlow Condensed"; }
.entry-proof { position:relative; z-index:2; max-width:720px; }
.entry-proof h1 { max-width:700px; margin:14px 0; font:900 clamp(54px,6.4vw,100px)/.82 "Barlow Condensed"; letter-spacing:-.045em; text-transform:uppercase; }
.entry-proof>p { max-width:570px; color:#dedee1; font-size:13px; line-height:1.7; }
.entry-proof>div { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.entry-proof>div span { min-width:155px; padding:13px 16px; border:1px solid rgba(255,255,255,.15); background:rgba(5,5,6,.54); backdrop-filter:blur(10px); }
.entry-proof>div b,.entry-proof>div small { display:block; }.entry-proof>div b { font-size:10px; }.entry-proof>div small { margin-top:4px; color:#aaaab0; font-size:8px; }
.entry-panel { position:relative; display:flex; align-items:center; justify-content:center; min-height:100vh; padding:54px 42px 90px; background:radial-gradient(circle at 0 42%,rgba(241,23,37,.11),transparent 35%),#0b0b0d; }
.entry-panel-inner { width:min(480px,100%); }
.entry-panel h2 { margin:10px 0 8px; font:900 50px/.88 "Barlow Condensed"; letter-spacing:-.025em; text-transform:uppercase; }
.entry-panel-inner>p { margin:0 0 22px; color:var(--muted); font-size:10px; line-height:1.65; }
.funnel-steps { display:flex; align-items:center; margin-bottom:34px; color:#6f6f75; font-size:8px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.funnel-steps span { display:flex; align-items:center; gap:6px; white-space:nowrap; }.funnel-steps span b { display:grid; place-items:center; width:22px; height:22px; border:1px solid #35353a; border-radius:50%; color:#85858b; font-size:8px; }.funnel-steps span.active { color:#fff; }.funnel-steps span.active b { border-color:var(--red); background:var(--red); color:#fff; box-shadow:0 0 20px rgba(241,23,37,.28); }.funnel-steps i { flex:1; height:1px; margin:0 7px; background:#29292d; }
.entry-plans { display:grid; gap:10px; }
.entry-plans button { position:relative; display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:96px; padding:17px 20px; border:1px solid #2c2c31; background:linear-gradient(135deg,#151518,#0e0e10); color:#fff; text-align:left; cursor:pointer; transition:.2s ease; }
.entry-plans button:hover { transform:translateY(-2px); border-color:#777; box-shadow:0 18px 45px rgba(0,0,0,.3); }.entry-plans button.recommended { border-color:rgba(241,23,37,.72); background:linear-gradient(135deg,rgba(241,23,37,.14),#111114 56%); }.entry-plans button>i { position:absolute; top:-1px; right:16px; padding:5px 8px; background:var(--red); color:#fff; font:800 7px "Archivo"; font-style:normal; letter-spacing:.08em; }.entry-plans span small,.entry-plans span b { display:block; }.entry-plans span small { margin-bottom:5px; color:#a9a9ae; font-size:8px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.entry-plans span b { font:900 31px/1 "Barlow Condensed"; }.entry-plans span em { color:#99999f; font:600 10px "Archivo"; font-style:normal; }.entry-plans strong { color:#e6e6e8; font-size:9px; white-space:nowrap; }
.entry-benefits { display:flex; flex-wrap:wrap; gap:10px 16px; margin:16px 0; color:#a8a8ad; font-size:8px; }.entry-benefits span::first-letter { color:#65d99a; }
.entry-login { width:100%; padding:11px; border:0; background:transparent; color:#d5d5d8; font:700 9px "Archivo"; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.entry-legal { right:42px; left:42px; justify-content:center; max-width:none; }
.auth-gate { position:fixed; inset:0; z-index:1000; display:grid; grid-template-columns:1.1fr .9fr; background:#060607; }
.auth-gate[hidden] { display:none; }
.auth-visual { position:relative; display:flex; flex-direction:column; justify-content:space-between; min-height:100vh; padding:48px; overflow:hidden; background:linear-gradient(90deg,rgba(0,0,0,.36),rgba(0,0,0,.9)),linear-gradient(0deg,rgba(241,23,37,.24),transparent 60%),url('./assets/brand/hero-portfolio.png') center/cover; }
.auth-visual::after { content:"M"; position:absolute; right:-30px; bottom:-85px; color:rgba(255,255,255,.045); font:900 430px/.8 "Barlow Condensed"; }
.auth-brand { position:relative; z-index:2; display:flex; align-items:center; gap:12px; }
.auth-brand img { width:46px; height:46px; object-fit:contain; }
.auth-brand b,.auth-brand small { display:block; }.auth-brand b { font:900 24px/.8 "Barlow Condensed"; }.auth-brand small { margin-top:5px; color:#b4b4b8; font-size:9px; letter-spacing:.28em; }
.auth-visual>div:last-child { position:relative; z-index:2; max-width:680px; }
.auth-visual h1 { max-width:660px; margin:12px 0; font:900 clamp(58px,7vw,108px)/.82 "Barlow Condensed"; letter-spacing:-.04em; text-transform:uppercase; }
.auth-visual p { max-width:520px; color:#d0d0d3; font-size:13px; line-height:1.7; }
.auth-panel { display:flex; align-items:center; justify-content:flex-start; flex-direction:column; min-height:100vh; padding:100px 40px 34px; overflow-y:auto; background:radial-gradient(circle at 0 50%,rgba(241,23,37,.08),transparent 38%),#0b0b0d; }
.auth-panel>div,.auth-form { width:min(420px,100%); }
.auth-back { position:absolute; top:42px; left:calc(55% + 48px); border:0; background:transparent; color:#aaaab0; font:700 9px "Archivo"; cursor:pointer; }.auth-back[hidden] { display:none; }
.auth-funnel { margin-bottom:28px; }
.auth-tabs { position:absolute; top:42px; right:48px; display:flex; gap:5px; }
.auth-tabs[hidden] { display:none; }
.auth-tabs button { padding:9px 12px; border:1px solid var(--line); background:transparent; color:var(--muted); font:700 9px "Archivo"; letter-spacing:.08em; text-transform:uppercase; cursor:pointer; }
.auth-tabs button.active { border-color:var(--red); background:var(--red); color:#fff; }
.auth-form h2 { margin:10px 0 5px; font:900 48px/.9 "Barlow Condensed"; text-transform:uppercase; }
.auth-form>p { margin:0 0 28px; color:var(--muted); font-size:10px; }
.auth-form label { display:grid; gap:7px; margin:14px 0; color:#bdbdc1; font-size:8px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.auth-form label[hidden] { display:none !important; }
.auth-form input { width:100%; height:48px; padding:0 14px; border:1px solid var(--line); border-radius:2px; outline:0; background:#111114; color:#fff; font:500 11px "Archivo"; }
.auth-form input:focus { border-color:var(--red); box-shadow:0 0 0 3px rgba(241,23,37,.08); }
.auth-link,.auth-secondary-link { display:block; margin:4px 0 10px auto; padding:0; border:0; background:transparent; color:#c8c8cc; font:700 8px "Archivo"; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.auth-link:hover,.auth-secondary-link:hover { color:#fff; }
.auth-link[hidden],.auth-secondary-link[hidden] { display:none; }
.auth-secondary-link { margin:14px auto 0; }
.auth-form .primary { width:100%; min-height:48px; margin-top:8px; }
.auth-form .primary:disabled { opacity:.55; cursor:wait; }
.auth-message { min-height:20px; margin:8px 0; color:var(--muted); font-size:9px; line-height:1.5; }.auth-message.error { color:#ff6974; }.auth-message.success { color:#5de696; }
.auth-legal { position:absolute; right:48px; bottom:28px; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; max-width:430px; color:var(--muted); font-size:8px; }
.auth-panel .auth-legal { position:static; margin-top:24px; justify-content:center; }
.auth-legal a { color:#d8d8da; text-decoration:none; border-bottom:1px solid #555; }
.legal-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:46px 0 8px; padding:20px 0; border-top:1px solid var(--line); color:var(--muted); font-size:8px; }
.legal-footer nav { display:flex; gap:18px; }
.legal-footer a { color:#c9c9cc; text-decoration:none; }
.legal-footer a:hover { color:#fff; }
.legal-page { max-width:980px; margin-inline:auto; }
.legal-updated { color:var(--muted); font-size:9px; }
.legal-document { margin-top:28px; padding:clamp(24px,4vw,48px); border:1px solid var(--line); background:linear-gradient(145deg,#141416,#09090a); }
.legal-document h2 { margin:28px 0 8px; color:#fff; font:800 24px/1 "Barlow Condensed"; text-transform:uppercase; }
.legal-document h2:first-child { margin-top:0; }
.legal-document p { color:#c3c3c6; font-size:11px; line-height:1.8; }
.legal-document .legal-note { margin-top:30px; padding:16px; border-left:3px solid var(--red); background:rgba(241,23,37,.07); color:#ededee; }
.membership-gate { position:fixed; inset:0; z-index:1100; display:grid; place-items:center; overflow:auto; padding:30px 18px; background:radial-gradient(circle at 50% 10%,rgba(241,23,37,.18),transparent 35%),rgba(3,3,4,.96); backdrop-filter:blur(14px); }
.membership-gate-card { width:min(560px,100%); padding:38px; border:1px solid #2d2d32; background:linear-gradient(145deg,#151518,#09090b 72%); text-align:center; box-shadow:0 40px 100px rgba(0,0,0,.56); }.membership-gate-card>.funnel-steps { margin-bottom:28px; }.membership-gate-card>img { width:48px; height:48px; margin-bottom:15px; object-fit:contain; }.membership-gate-card h2 { margin:8px auto; max-width:450px; font:900 46px/.9 "Barlow Condensed"; text-transform:uppercase; }.membership-gate-card>p { max-width:440px; margin:0 auto 22px; color:#aaaab0; font-size:10px; line-height:1.65; }.membership-gate-card>small { display:block; margin-top:16px; color:#6f6f75; font-size:8px; }
.membership-gate-plans { display:grid; grid-template-columns:1fr 1fr; gap:10px; }.membership-gate-plans[hidden] { display:none; }.membership-gate-plans button { position:relative; display:grid; gap:5px; min-height:122px; padding:20px; border:1px solid #343439; background:#111114; color:#fff; cursor:pointer; }.membership-gate-plans button:hover { border-color:#888; }.membership-gate-plans button.recommended { border-color:var(--red); background:linear-gradient(150deg,rgba(241,23,37,.14),#101012); }.membership-gate-plans button i { position:absolute; top:0; right:10px; padding:5px 7px; background:var(--red); font:800 7px "Archivo"; font-style:normal; }.membership-gate-plans button small { color:#aaaab0; font-size:8px; text-transform:uppercase; }.membership-gate-plans button b { font:900 36px "Barlow Condensed"; }.membership-gate-plans button em { color:#77777d; font-size:8px; font-style:normal; }
.membership-gate-progress { display:grid; justify-items:center; gap:14px; padding:24px; color:#d9d9dc; font-size:10px; }.membership-gate-progress[hidden] { display:none; }.membership-gate-progress i { width:34px; height:34px; border:3px solid #303035; border-top-color:var(--red); border-radius:50%; animation:spin .8s linear infinite; }.membership-refresh { margin:3px auto 0; }.membership-refresh[hidden] { display:none; }.membership-signout { display:block; margin:16px auto 0; border:0; background:transparent; color:#aaaab0; font:700 8px "Archivo"; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
@media (max-width:900px) { .entry-gate,.auth-gate { grid-template-columns:1fr; }.entry-visual,.auth-visual { display:none; }.entry-panel { min-height:100vh; padding:78px 22px 92px; }.auth-panel { padding:92px 22px 30px; }.auth-tabs { top:24px; right:22px; }.auth-back { top:30px; left:22px; }.auth-form h2,.entry-panel h2 { font-size:42px; }.entry-legal { right:22px; bottom:20px; left:22px; justify-content:center; } }
@media (max-width:900px) { .legal-footer { align-items:flex-start; flex-direction:column; } }
@media (max-width:580px) { .funnel-steps { font-size:0; }.funnel-steps span { gap:0; }.funnel-steps span b { font-size:8px; }.entry-panel { align-items:flex-start; }.entry-plans button { min-height:88px; }.membership-gate-card { padding:28px 20px; }.membership-gate-card h2 { font-size:38px; }.membership-gate-plans { grid-template-columns:1fr; }.membership-gate-plans button { min-height:92px; } }

/* Complete signup, discussions and administration intelligence */
.auth-panel { overflow:auto; }
.auth-profile-fields { display:grid; grid-template-columns:1fr 1fr; gap:0 12px; }
.auth-profile-fields[hidden] { display:none; }
.auth-profile-fields label:nth-child(1),.auth-profile-fields label:nth-child(2) { grid-column:1/-1; }
.lesson-discussion { margin-top:22px; }
.lesson-comment-panel { padding:22px; }
#lessonCommentForm { display:grid; grid-template-columns:auto 1fr auto; align-items:start; gap:10px; }
#lessonCommentForm textarea { min-height:86px; resize:vertical; padding:13px; border:1px solid var(--line); background:#111114; color:#fff; font:500 11px/1.55 "Archivo"; outline:0; }
#lessonCommentForm textarea:focus { border-color:var(--red); }
.lesson-comment-list { display:grid; gap:0; margin-top:18px; border-top:1px solid var(--line); }
.lesson-comment-list article { display:grid; grid-template-columns:auto 1fr; gap:10px; padding:15px 0; border-bottom:1px solid var(--line); }
.lesson-comment-list strong,.lesson-comment-list small { display:block; }
.lesson-comment-list small { margin-top:3px; color:var(--muted); font-size:8px; }
.lesson-comment-list p { margin:8px 0 0; color:#d1d1d4; font-size:10px; line-height:1.65; }
.lesson-comment-list em { display:block; margin-top:8px; color:#ffc75f; font-size:8px; font-style:normal; }
.moderation-note { margin:0 16px 14px; padding:9px 11px; border-left:2px solid #ffbc45; background:rgba(255,188,69,.07); color:#ffc75f; font-size:8px; }
.comments-dialog { width:min(720px,calc(100vw - 32px)); }
.comments-dialog h2 { margin-bottom:16px; }
.comments-dialog .lesson-comment-list { max-height:48vh; overflow:auto; }
.community-comment-form { display:grid; grid-template-columns:1fr auto; gap:9px; margin-top:18px; }
.community-comment-form textarea { min-height:76px; resize:vertical; padding:12px; border:1px solid var(--line); background:#111114; color:#fff; font:500 10px/1.5 "Archivo"; outline:0; }
.community-comment-form textarea:focus { border-color:var(--red); }
.moderation-counter { align-self:center; padding:8px 11px; border:1px solid rgba(255,188,69,.32); background:rgba(255,188,69,.08); color:#ffc75f; font-size:8px; letter-spacing:.08em; text-transform:uppercase; }
.moderation-metrics article:last-child { border-color:rgba(255,188,69,.35); background:linear-gradient(145deg,rgba(255,188,69,.08),transparent); }
.moderation-queue { border-color:rgba(255,188,69,.34); box-shadow:inset 3px 0 0 #ffbc45; }
.moderation-list { display:grid; }
.moderation-row { display:flex; align-items:center; gap:11px; padding:14px 0; border-bottom:1px solid var(--line); }
.moderation-row:last-child { border-bottom:0; }
.moderation-row.pending { background:linear-gradient(90deg,rgba(255,188,69,.05),transparent); }
.moderation-row p { margin:5px 0; color:#d5d5d7; font-size:10px; line-height:1.5; }
.moderation-row small { color:var(--muted); font-size:8px; }
.moderation-actions { display:flex; align-items:center; gap:7px; }
.admin-action.approve { padding:8px 10px; border:1px solid rgba(62,225,131,.35); background:rgba(62,225,131,.08); color:#58e690; font:700 8px "Archivo"; text-transform:uppercase; cursor:pointer; }
.danger-icon { color:#ff6974 !important; border-color:rgba(255,105,116,.3) !important; }
.access-map-panel { overflow:hidden; }
.admin-access-map { position:relative; min-height:330px; overflow:hidden; border:1px solid var(--line); background:radial-gradient(circle at 67% 76%,rgba(241,23,37,.16),transparent 21%),radial-gradient(circle at 48% 34%,rgba(255,255,255,.06),transparent 22%),linear-gradient(145deg,#101014,#08090b); }
.map-grid { position:absolute; inset:0; opacity:.22; background-image:linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px); background-size:42px 42px; transform:perspective(500px) rotateX(18deg) scale(1.1); }
.admin-access-map::before,.admin-access-map::after { content:""; position:absolute; opacity:.22; border:1px solid #a2a2aa; border-radius:45% 55% 60% 40%; }
.admin-access-map::before { left:8%; top:14%; width:29%; height:67%; transform:rotate(-12deg); }
.admin-access-map::after { left:44%; top:12%; width:43%; height:62%; transform:rotate(8deg); }
.map-marker { position:absolute; z-index:3; display:grid; justify-items:center; gap:3px; padding:0; border:0; background:transparent; color:#fff; transform:translate(-50%,-50%); cursor:default; }
.map-marker i { width:10px; height:10px; border:2px solid #fff; border-radius:50%; background:var(--red); box-shadow:0 0 0 7px rgba(241,23,37,.17),0 0 20px rgba(241,23,37,.8); animation:mapPulse 2s infinite; }
.map-marker span { padding:4px 6px; background:rgba(0,0,0,.72); font-size:7px; white-space:nowrap; }
@keyframes mapPulse { 50% { box-shadow:0 0 0 11px rgba(241,23,37,0),0 0 24px rgba(241,23,37,.9); } }
.map-label { position:absolute; z-index:2; color:rgba(255,255,255,.15); font:800 24px "Barlow Condensed"; letter-spacing:.12em; }
.map-label.americas { left:13%; top:45%; transform:rotate(-70deg); }.map-label.europe { left:50%; top:18%; }.map-label.brasil { left:58%; top:70%; }
.location-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:12px; }
.location-summary>span { display:grid; grid-template-columns:auto 1fr; gap:2px 8px; align-items:center; padding:10px; border:1px solid var(--line); background:#111114; }
.location-summary i { grid-row:1/3; width:7px; height:7px; border-radius:50%; background:var(--red); box-shadow:0 0 0 4px rgba(241,23,37,.1); }
.location-summary b,.location-summary small { display:block; }.location-summary b { font-size:9px; }.location-summary small { color:var(--muted); font-size:7px; }
.student-dashboard { align-items:start; }
.admin-ranking { display:grid; }
.admin-ranking>div { display:grid; grid-template-columns:24px auto 1fr auto; align-items:center; gap:9px; padding:10px 0; border-bottom:1px solid var(--line); }
.admin-ranking>div>b { color:var(--red); font:800 15px "Barlow Condensed"; }.admin-ranking small { display:block; margin-top:3px; color:var(--muted); font-size:7px; }.admin-ranking em { color:#ffc75f; font:700 9px "Archivo"; font-style:normal; }
.retention-bars { display:grid; gap:18px; margin-top:24px; }
.retention-bars>span { display:grid; grid-template-columns:1fr auto; gap:7px; }
.retention-bars b,.retention-bars small { font-size:8px; }.retention-bars small { color:var(--muted); }.retention-bars i { grid-column:1/-1; display:block; height:6px; overflow:hidden; background:#252529; }.retention-bars em { display:block; height:100%; background:linear-gradient(90deg,var(--red),#ff6b74); }
.student-table-wrap { overflow:auto; }
.student-table { width:100%; border-collapse:collapse; min-width:900px; }
.student-table th { padding:10px; border-bottom:1px solid var(--line); color:var(--muted); font-size:7px; text-align:left; text-transform:uppercase; letter-spacing:.09em; }
.student-table td { padding:12px 10px; border-bottom:1px solid var(--line); color:#d8d8db; font-size:9px; vertical-align:middle; }
.student-table td strong,.student-table td span,.student-table td small { display:block; }.student-table td small { margin-top:4px; color:var(--muted); font-size:7px; }
@media (max-width:800px) { .location-summary { grid-template-columns:1fr; }.admin-access-map { min-height:270px; }.moderation-row { align-items:flex-start; flex-wrap:wrap; }.moderation-actions { margin-left:auto; } }
@media (max-width:580px) { .auth-profile-fields { grid-template-columns:1fr; }.auth-profile-fields label { grid-column:1 !important; } #lessonCommentForm { grid-template-columns:auto 1fr; } #lessonCommentForm button { grid-column:2; }.map-label { font-size:16px; } }

/* Interactive access map: world > country > state */
.map-panel-head { margin-bottom:12px; }
.map-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:10px; }
.map-toolbar>span { color:var(--muted); font-size:8px; text-align:right; }
.map-toolbar>span b { color:#fff; font-size:11px; }
.map-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.map-breadcrumb button { padding:6px 9px; border:1px solid var(--line); background:#111114; color:var(--muted); font:700 8px "Archivo"; cursor:pointer; transition:.2s; }
.map-breadcrumb button:hover,.map-breadcrumb button.active { border-color:rgba(241,23,37,.55); color:#fff; background:rgba(241,23,37,.08); }
.map-breadcrumb span { color:#59595f; }
.admin-access-map { min-height:410px; isolation:isolate; background:radial-gradient(circle at 50% 50%,rgba(241,23,37,.08),transparent 45%),linear-gradient(145deg,#101014,#07080a); }
.admin-access-map::before,.admin-access-map::after { display:none; }
.world-map-shape,.region-map-shape { position:absolute; z-index:1; inset:7% 4%; width:92%; height:86%; overflow:visible; filter:drop-shadow(0 14px 32px rgba(0,0,0,.42)); animation:mapShapeIn .45s ease both; }
.world-map-shape path,.region-map-shape path { fill:#17191e; stroke:#4a4d54; stroke-width:2; vector-effect:non-scaling-stroke; transition:.25s; }
.world-map-shape path:nth-child(2),.world-map-shape path:nth-child(5) { fill:#191b20; }
.region-map-shape { inset:9% 8%; width:84%; height:82%; }
.region-map-shape path:first-child { fill:#15171b; stroke:#555861; stroke-width:2.4; }
.region-map-shape .region-line { fill:none; stroke:#34373e; stroke-width:1; stroke-dasharray:7 8; }
.map-level-country .region-map-shape { transform:scale(1.02); }
.map-level-state .region-map-shape { transform:scale(1.08); }
.map-region-name { position:absolute; z-index:1; left:50%; top:50%; color:rgba(255,255,255,.045); font:900 clamp(62px,9vw,138px)/.8 "Barlow Condensed"; letter-spacing:.04em; text-transform:uppercase; transform:translate(-50%,-50%); white-space:nowrap; pointer-events:none; }
.map-zoom-level { position:absolute; z-index:4; left:16px; bottom:14px; display:grid; gap:3px; padding:8px 10px; border-left:2px solid var(--red); background:rgba(6,7,9,.78); backdrop-filter:blur(8px); }
.map-zoom-level small { color:var(--muted); font-size:6px; letter-spacing:.15em; }
.map-zoom-level b { font:800 16px "Barlow Condensed"; text-transform:uppercase; }
.map-marker.map-cluster { z-index:5; min-width:56px; cursor:pointer; transition:transform .22s ease,filter .22s; }
.map-marker.map-cluster:hover { transform:translate(-50%,-50%) scale(1.12); filter:brightness(1.2); }
.map-marker.map-cluster i { position:relative; display:grid; place-items:center; width:28px; height:28px; border:2px solid rgba(255,255,255,.9); background:linear-gradient(145deg,#ff4350,#c90717); box-shadow:0 0 0 8px rgba(241,23,37,.12),0 0 28px rgba(241,23,37,.55); }
.map-marker.map-cluster i b { color:#fff; font:800 9px "Archivo"; }
.map-marker.map-cluster span { max-width:105px; overflow:hidden; padding:5px 7px; border:1px solid rgba(255,255,255,.09); background:rgba(5,6,8,.86); text-overflow:ellipsis; }
.map-marker.map-city i { width:23px; height:23px; background:linear-gradient(145deg,#ff5d67,#a90815); }
.map-location-summary { grid-template-columns:repeat(4,1fr); }
.map-location-summary>button { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px; padding:10px; border:1px solid var(--line); background:#111114; color:#fff; text-align:left; cursor:pointer; transition:.2s; }
.map-location-summary>button:hover { border-color:rgba(241,23,37,.52); background:rgba(241,23,37,.07); transform:translateY(-1px); }
.map-location-summary>button>i { width:7px; height:7px; border-radius:50%; background:var(--red); box-shadow:0 0 0 4px rgba(241,23,37,.1); }
.map-location-summary span,.map-location-summary b,.map-location-summary small { display:block; }
.map-location-summary b { font-size:9px; }.map-location-summary small { margin-top:3px; color:var(--muted); font-size:7px; }
.map-location-summary em { color:var(--red); font-size:14px; font-style:normal; }
@keyframes mapShapeIn { from { opacity:0; transform:scale(.94); } }
@media (max-width:900px) { .map-location-summary { grid-template-columns:repeat(2,1fr); }.admin-access-map { min-height:360px; } }
@media (max-width:580px) { .map-toolbar { align-items:flex-start; flex-direction:column; }.map-toolbar>span { text-align:left; }.map-location-summary { grid-template-columns:1fr; }.admin-access-map { min-height:330px; }.map-marker.map-cluster span { max-width:72px; }.map-region-name { font-size:52px; } }

/* Real geographic map */
#studentGeoMap { position:absolute; inset:0; z-index:1; width:100%; height:100%; background:#08090b; }
#studentGeoMap .leaflet-tile-pane { filter:invert(1) hue-rotate(180deg) saturate(.38) contrast(1.14) brightness(.64); }
#studentGeoMap .leaflet-control-zoom { overflow:hidden; border:1px solid rgba(255,255,255,.14); border-radius:0; box-shadow:0 8px 22px rgba(0,0,0,.3); }
#studentGeoMap .leaflet-control-zoom a { border-color:rgba(255,255,255,.1); background:#111318; color:#fff; }
#studentGeoMap .leaflet-control-zoom a:hover { background:#202228; color:var(--red); }
#studentGeoMap .leaflet-control-attribution { padding:3px 6px; background:rgba(5,6,8,.76); color:#777b84; font-size:7px; }
#studentGeoMap .leaflet-control-attribution a { color:#a8abb3; }
.morbene-map-icon { display:grid !important; justify-items:center; gap:3px; width:110px !important; background:transparent; border:0; transform:translateY(-3px); }
.morbene-map-icon.map-compact-icon { width:22px !important; }
.map-compact-icon .real-map-pin { width:18px; height:18px; border-width:1px; box-shadow:0 0 0 3px rgba(241,23,37,.12),0 0 14px rgba(241,23,37,.58); }
.map-compact-icon .real-map-pin b { font-size:6px; }
#studentGeoMap .leaflet-tooltip { border:1px solid rgba(255,255,255,.13); border-radius:0; background:rgba(5,6,8,.94); color:#fff; font:700 8px "Archivo"; box-shadow:0 8px 20px rgba(0,0,0,.4); }
#studentGeoMap .leaflet-tooltip-top::before { border-top-color:rgba(5,6,8,.94); }
.real-map-pin { position:relative; display:grid; place-items:center; width:30px; height:30px; border:2px solid rgba(255,255,255,.92); border-radius:50% 50% 50% 0; background:linear-gradient(145deg,#ff4350,#b70715); box-shadow:0 0 0 8px rgba(241,23,37,.13),0 0 28px rgba(241,23,37,.58); transform:rotate(-45deg); transition:.2s; }
.real-map-pin b { color:#fff; font:800 9px "Archivo"; transform:rotate(45deg); }
.morbene-map-icon strong { display:block; max-width:105px; overflow:hidden; padding:4px 7px; border:1px solid rgba(255,255,255,.13); background:rgba(5,6,8,.9); color:#fff; font:700 8px "Archivo"; text-align:center; text-overflow:ellipsis; white-space:nowrap; box-shadow:0 5px 14px rgba(0,0,0,.32); }
.morbene-map-icon:hover .real-map-pin { filter:brightness(1.18); transform:rotate(-45deg) scale(1.1); }
#studentGeoMap .leaflet-popup-content-wrapper,#studentGeoMap .leaflet-popup-tip { border:1px solid rgba(255,255,255,.1); border-radius:0; background:#101115; color:#fff; box-shadow:0 12px 30px rgba(0,0,0,.45); }
#studentGeoMap .leaflet-popup-content { margin:10px 13px; font:500 9px/1.5 "Archivo"; }
#studentGeoMap .leaflet-popup-content b { color:var(--red); font-size:10px; }
.admin-access-map .map-zoom-level { pointer-events:none; }
@media (max-width:580px) { #studentGeoMap .leaflet-control-attribution { max-width:150px; line-height:1.25; }.morbene-map-icon strong { max-width:78px; } }

/* Member directory and administrative profiles */
.admin-ranking>button { display:grid; grid-template-columns:24px auto 1fr auto; align-items:center; gap:9px; width:100%; padding:10px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:#fff; text-align:left; cursor:pointer; transition:.2s; }
.admin-ranking>button:hover { padding-left:6px; background:rgba(241,23,37,.05); }
.admin-ranking>button>b { color:var(--red); font:800 15px "Barlow Condensed"; }
.student-directory { margin-top:14px; }
.student-search { display:grid; grid-template-columns:auto minmax(180px,280px) auto; align-items:center; gap:8px; padding:7px 9px; border:1px solid var(--line); background:#0d0e11; }
.student-search>span { color:var(--red); font-size:15px; }
.student-search input { min-width:0; border:0; outline:0; background:transparent; color:#fff; font:500 9px "Archivo"; }
.student-search input::placeholder { color:#666a72; }
.student-search kbd { min-width:25px; padding:3px 5px; border:1px solid rgba(255,255,255,.1); background:#18191e; color:#a8abb3; font:700 7px "Archivo"; text-align:center; }
.student-search-empty { padding:22px; border:1px dashed var(--line); color:var(--muted); font-size:9px; text-align:center; }
.student-table .admin-action { white-space:nowrap; }
.admin-status.blocked { border-color:rgba(241,23,37,.4); background:rgba(241,23,37,.1); color:#ff6974; }
.admin-status.blocked i { background:#f11725; box-shadow:0 0 10px rgba(241,23,37,.8); }
.admin-member-modal { position:fixed; z-index:150; inset:0; display:grid; place-items:center; padding:24px; }
.admin-member-backdrop { position:absolute; inset:0; border:0; background:rgba(0,0,0,.8); backdrop-filter:blur(8px); cursor:pointer; }
.admin-member-modal>article { position:relative; z-index:1; width:min(780px,96vw); max-height:90vh; overflow:auto; padding:28px; border:1px solid rgba(255,255,255,.16); background:linear-gradient(145deg,#17181c,#0b0c0f 70%); box-shadow:0 28px 90px rgba(0,0,0,.75); }
.admin-member-modal>article>header { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.admin-member-modal header>.avatar { width:64px; height:64px; font-size:17px; }
.admin-member-modal header h2 { margin:3px 0; font:800 30px/1 "Barlow Condensed"; text-transform:uppercase; }
.admin-member-modal header p { margin:0; color:var(--muted); font-size:8px; }
.member-blocked-badge { padding:7px 9px; border:1px solid rgba(241,23,37,.45); background:rgba(241,23,37,.1); color:#ff6974; font:800 7px "Archivo"; letter-spacing:.1em; }
.member-profile-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:18px 0; background:var(--line); border:1px solid var(--line); }
.member-profile-grid section { min-width:0; padding:14px; background:#111216; }
.member-profile-grid span,.member-profile-grid b,.member-profile-grid small { display:block; }
.member-profile-grid span,.member-profile-bio>span { color:var(--red); font:700 7px "Archivo"; letter-spacing:.1em; text-transform:uppercase; }
.member-profile-grid b { margin-top:7px; overflow:hidden; color:#fff; font:700 10px "Archivo"; text-overflow:ellipsis; white-space:nowrap; }
.member-profile-grid small { margin-top:5px; color:var(--muted); font-size:7px; line-height:1.45; }
.member-profile-bio,.member-blocked-note { margin-top:14px; padding:14px; border:1px solid var(--line); background:#111216; }
.member-profile-bio p,.member-blocked-note p { margin:7px 0 0; color:#c9c9cd; font-size:9px; line-height:1.6; }
.member-blocked-note { border-color:rgba(241,23,37,.28); background:rgba(241,23,37,.06); }
.member-blocked-note b { color:#ff7a82; font-size:9px; }
.admin-member-modal footer { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:20px; }
.admin-member-modal footer small { margin-right:auto; color:var(--muted); font-size:8px; }
@media (max-width:800px) { .member-profile-grid { grid-template-columns:repeat(2,1fr); }.student-directory .admin-panel-head { align-items:stretch; flex-direction:column; }.student-search { width:100%; grid-template-columns:auto 1fr auto; } }
@media (max-width:580px) { .admin-member-modal { padding:8px; }.admin-member-modal>article { width:100%; max-height:96vh; padding:20px 14px; }.admin-member-modal>article>header { grid-template-columns:auto 1fr; }.admin-member-modal header>.admin-status,.member-blocked-badge { grid-column:1/-1; justify-self:start; }.member-profile-grid { grid-template-columns:1fr; }.admin-member-modal footer { align-items:stretch; flex-direction:column; }.admin-member-modal footer small { margin:0; }.admin-member-modal footer button { width:100%; } }
.admin-preview-button{margin:16px 14px 8px;padding:14px;border:1px solid rgba(239,63,63,.42);background:linear-gradient(135deg,rgba(239,63,63,.18),rgba(255,255,255,.03));color:#fff;text-align:left;display:grid;grid-template-columns:24px 1fr;gap:2px 10px;align-items:center;cursor:pointer}.admin-preview-button span{grid-row:1/3;color:var(--red);font-size:20px}.admin-preview-button b{font:700 11px Archivo;letter-spacing:.04em}.admin-preview-button small{color:var(--muted);font-size:9px}.admin-preview-bar{position:sticky;top:70px;z-index:40;margin:-18px 0 22px;padding:12px 24px;background:linear-gradient(90deg,#8f1f27,#d83843);border:1px solid rgba(255,255,255,.18);box-shadow:0 18px 50px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:space-between;gap:20px}.admin-preview-bar>span{display:flex;align-items:center;gap:12px}.admin-preview-bar b{font:800 11px Archivo;letter-spacing:.14em}.admin-preview-bar small{font-size:11px;color:rgba(255,255,255,.75)}.admin-preview-bar button{padding:9px 13px;font-size:10px}.admin-preview-mode .main-content{padding-top:18px}

.support-hero{padding:28px 30px;margin-bottom:20px;border:1px solid var(--line);background:radial-gradient(circle at 90% 0,rgba(239,63,63,.18),transparent 34%),linear-gradient(135deg,#171415,#0b0b0b)}.support-hero h1{font:500 clamp(34px,5vw,58px) 'Barlow Condensed';text-transform:uppercase;margin:6px 0}.support-layout{display:grid;grid-template-columns:minmax(300px,370px) 1fr;gap:18px;align-items:start}.support-page form{display:grid;gap:12px}.support-page label,.support-control label{display:grid;gap:7px;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.support-page input,.support-page select,.support-page textarea,.support-control select{width:100%;border:1px solid var(--line);background:#0c0c0d;color:#fff;padding:12px;font:500 13px Archivo}.support-page textarea{min-height:112px;resize:vertical}.support-history{margin-top:16px;padding:0}.support-history-head{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.support-history-head h3{margin:3px 0 0}.support-history-head>b{color:var(--red)}.support-ticket-list{display:grid;max-height:420px;overflow:auto}.support-ticket-item{border:0;border-bottom:1px solid var(--line);background:transparent;color:#fff;padding:15px 18px;display:flex;justify-content:space-between;gap:12px;text-align:left;cursor:pointer}.support-ticket-item.active{background:rgba(239,63,63,.08);box-shadow:inset 3px 0 var(--red)}.support-ticket-item span{display:grid;gap:5px}.support-ticket-item small{color:var(--muted);font-size:10px}.support-status{display:inline-flex;align-items:center;align-self:flex-start;white-space:nowrap;padding:6px 8px;border:1px solid var(--line);font:700 8px Archivo;letter-spacing:.08em;text-transform:uppercase;color:#c8c8c8}.support-status.open,.support-status.in_progress{color:#ffb45e;border-color:rgba(255,180,94,.35);background:rgba(255,180,94,.08)}.support-status.waiting_user{color:#7ac7ff;border-color:rgba(122,199,255,.32);background:rgba(122,199,255,.08)}.support-status.resolved,.support-status.closed{color:#7ed7a4;border-color:rgba(126,215,164,.32);background:rgba(126,215,164,.08)}.support-conversation{padding:0;min-height:660px;display:flex;flex-direction:column}.support-conversation-head{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.support-conversation-head h2,.support-conversation-head h3{margin:5px 0;font:600 27px 'Barlow Condensed';text-transform:uppercase}.support-conversation-head p{margin:0;color:var(--muted);font-size:11px}.support-messages{padding:22px;display:grid;gap:14px;flex:1;max-height:520px;overflow:auto}.support-message{display:flex;gap:10px;max-width:82%;align-items:flex-start}.support-message.team{justify-self:end;flex-direction:row-reverse}.support-message>div{background:#171719;border:1px solid var(--line);padding:12px 14px}.support-message.team>div{background:rgba(239,63,63,.10);border-color:rgba(239,63,63,.24)}.support-message strong{font-size:11px}.support-message small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.support-message p{white-space:pre-wrap;margin:9px 0 0;color:#e1e1e1;line-height:1.55;font-size:13px}.support-reply{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px 20px;border-top:1px solid var(--line);background:#0a0a0b}.support-reply textarea{min-height:74px!important}.support-reply button{align-self:stretch}.support-closed{margin:16px 20px;padding:14px;border:1px solid var(--line);color:var(--muted);text-align:center}.support-empty-state{margin:auto;text-align:center;max-width:420px;padding:50px}.support-empty-state>span{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 18px;border:1px solid rgba(239,63,63,.4);color:var(--red);font:600 25px 'Barlow Condensed'}.support-empty-state h2{font:500 30px 'Barlow Condensed';text-transform:uppercase}.support-empty-state p{color:var(--muted);line-height:1.6}

.admin-support-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px}.admin-support-list{padding:0}.admin-support-list .admin-panel-head{padding:20px}.support-admin-ticket-list{display:grid;max-height:480px;overflow:auto}.support-admin-ticket{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:14px 18px;background:transparent;color:#fff;border:0;border-top:1px solid var(--line);text-align:left;cursor:pointer}.support-admin-ticket.active{background:rgba(239,63,63,.08);box-shadow:inset 3px 0 var(--red)}.support-admin-ticket>span:nth-child(2){display:grid;gap:3px}.support-admin-ticket strong{font-size:10px;color:var(--muted)}.support-admin-ticket b{font-size:12px}.support-admin-ticket small{font-size:9px;color:var(--muted)}.support-insights h3{margin:7px 0 20px}.support-category-bars{display:grid;gap:16px}.support-category-bars>div{display:grid;gap:7px}.support-category-bars span{display:flex;justify-content:space-between;font-size:10px}.support-category-bars small{color:var(--red)}.support-category-bars i{height:5px;background:#222;overflow:hidden}.support-category-bars u{display:block;height:100%;background:linear-gradient(90deg,#8b2028,var(--red));text-decoration:none}.admin-support-conversation{margin-top:18px;padding:0}.support-admin-workspace{display:grid;grid-template-columns:1fr 250px}.admin-support-messages{min-height:360px}.support-control{padding:20px;border-left:1px solid var(--line);align-content:start}.support-control button{width:100%}

@media(max-width:900px){.support-layout,.admin-support-grid,.support-admin-workspace{grid-template-columns:1fr}.support-control{border-left:0;border-top:1px solid var(--line)}.admin-preview-bar{top:58px;align-items:flex-start;flex-direction:column}.admin-preview-bar>span{flex-wrap:wrap}.support-reply{grid-template-columns:1fr}.support-message{max-width:94%}}
