/* 5 Dec 2026 (owner): ways into a running live class (resources/views/partials/live-entry.blade.php).
   Loaded only while a live class of the student's course runs. */
.hlive{display:inline-flex;align-items:center;gap:6px;flex:none;margin-left:8px;padding:5px 11px;border-radius:999px;background:#e11d48;color:#fff!important;font:700 14px/1 system-ui,sans-serif;letter-spacing:.5px;text-decoration:none;cursor:pointer;list-style:none;animation:hlive-glow 1.4s ease-in-out infinite}
.hlive::-webkit-details-marker{display:none}
.hlive i{width:9px;height:9px;border-radius:50%;background:#fff;animation:hlive-dot 1.4s infinite}
.hlive .le-n{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#fff;color:#e11d48;font:700 12px/1 "BB Anek","Anek Bangla",system-ui,sans-serif}
@keyframes hlive-dot{50%{opacity:.2}}
@keyframes hlive-glow{0%,100%{box-shadow:0 0 0 0 rgba(225,29,72,.55)}50%{box-shadow:0 0 0 6px rgba(225,29,72,0)}}
@media (max-width:420px){.hlive{padding:4px 8px;font-size:12px;margin-left:4px}}

.le-fold{position:relative}
.le-fold>summary{list-style:none}
.le-fold>summary::-webkit-details-marker{display:none}
.le-head{flex:none}
.le-sheet{position:fixed;z-index:80;top:62px;left:12px;right:12px;max-width:420px;margin:0 auto;padding:12px;border-radius:16px;background:var(--card,#fff);color:var(--ink,#16181a);border:1px solid var(--line,#e4e0f0);box-shadow:0 18px 40px rgba(20,10,40,.22);display:grid;gap:8px;font-family:"BB Anek","Anek Bangla",system-ui,sans-serif}
.le-sheet-h{margin:0 2px 2px;font-size:14px;color:var(--mu,#5b6160);line-height:1.45}

.le-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#e11d48;box-shadow:0 0 0 0 rgba(225,29,72,.5);animation:le-pulse 1.4s ease-in-out infinite}
@keyframes le-pulse{0%,100%{box-shadow:0 0 0 0 rgba(225,29,72,.5)}50%{box-shadow:0 0 0 6px rgba(225,29,72,0)}}
.le-txt{flex:1;min-width:0;display:grid;line-height:1.35}
.le-txt b{font-weight:700;font-size:15.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.le-txt small{font-size:13px;color:var(--mu,#5b6160);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.le-row{display:flex;align-items:center;gap:10px;min-height:56px;padding:9px 12px;border-radius:12px;border:1px solid #fecdd3;background:#fff1f3;color:var(--ink,#16181a)!important;text-decoration:none}
.le-row em{flex:none;font-style:normal;font-weight:700;font-size:14px;color:#fff;background:#e11d48;border-radius:999px;padding:6px 12px}
.le-row:hover{border-color:#e11d48}

/* the dashboard menu row */
.le-menu{margin:0 0 10px}
.le-menu-row{display:flex;align-items:center;gap:10px;min-height:54px;padding:9px 12px;border-radius:14px;background:#e11d48;color:#fff!important;text-decoration:none;cursor:pointer}
.le-menu-row .le-dot{background:#fff}
.le-menu-row .le-txt small{color:#ffe4e8}
.le-menu-row em{flex:none;font-style:normal;font-weight:700;font-size:13.5px}
a.le-menu-row{margin:0 0 10px}
.le-menu[open] .le-menu-row em{transform:rotate(180deg)}
.le-menu-list{display:grid;gap:6px;margin-top:6px}

/* the card on আমার কোর্স and the banner inside a course */
.le-card{display:grid;gap:8px;margin:0 0 12px;padding:12px;border-radius:16px;background:#fff1f3;border:1.5px solid #fda4af}
.le-card-h{display:flex;align-items:center;gap:8px;margin:0;font-weight:700;color:#be123c;font-size:15px}
.le-card-one{display:flex;align-items:center;gap:10px;flex-wrap:wrap;text-decoration:none;color:var(--ink,#16181a)!important}
.le-go{flex:1 1 100%;display:block;text-align:center;padding:12px;border-radius:12px;background:#e11d48;color:#fff;font-weight:700;font-size:16px}
@media (min-width:640px){.le-go{flex:0 0 auto;padding:10px 18px}}

[data-theme="dark"] .le-sheet{background:#1c1730;color:#f3f0ff;border-color:#3a3156}
[data-theme="dark"] .le-row{background:#3a1622;border-color:#7f1d3a;color:#fde7ec!important}
[data-theme="dark"] .le-card{background:#2a1420;border-color:#7f1d3a}
[data-theme="dark"] .le-card-h{color:#fda4af}
[data-theme="dark"] .le-card-one{color:#fde7ec!important}
[data-theme="dark"] .le-txt small{color:#d7cde8}
[data-theme="dark"] .le-menu-row .le-txt small{color:#ffe4e8}

@media (prefers-reduced-motion:reduce){.hlive,.hlive i,.le-dot{animation:none}}

/* 5 Dec 2026 (owner): header LIVE sheet with groups (partials/live-head.blade.php) */
.hlive--off{background:#4b5563;animation:none}
.le-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.le-sheet-top b{font-size:17px;font-weight:700}
.le-x{display:grid;place-items:center;width:40px;height:40px;border:none;border-radius:10px;background:rgba(127,127,127,.15);color:inherit;cursor:pointer}
.le-grp{margin:4px 2px 0;font-size:13px;font-weight:700;color:var(--mu,#5b6160)}
.le-txt .le-hot{color:#e11d48;font-weight:600}
.le-txt .le-gold{color:#b45309;font-weight:600}
.le-row--free{border-color:#bbf7d0;background:#f0fdf4}
.le-row--free em{background:#15803d}
.le-row--free .le-dot{background:#16a34a;animation:none}
.le-row--free:hover{border-color:#15803d}
.le-row--lock{border-color:#fde68a;border-style:dashed;background:#fffbeb}
.le-row--lock em{background:#facc15;color:#1a1a1a}
.le-row--lock:hover{border-color:#ca8a04}
.le-lock{flex:none;color:#b45309}
.le-next{display:grid;justify-items:center;gap:4px;padding:14px 10px;border-radius:12px;background:rgba(127,127,127,.1);text-align:center}
.le-next small{font-size:13px;color:var(--mu,#5b6160)}
.le-next b{font-size:16px}
.le-cd{font:700 26px/1.2 system-ui,sans-serif;color:#ca8a04;font-variant-numeric:tabular-nums}
.le-next-go{margin-top:4px;padding:9px 18px;border-radius:10px;background:#facc15;color:#1a1a1a!important;font-weight:700;text-decoration:none}
[data-theme="dark"] .le-row--free{background:#12301f;border-color:#166534;color:#dcfce7!important}
[data-theme="dark"] .le-row--lock{background:#2e2510;border-color:#854d0e;color:#fef3c7!important}
[data-theme="dark"] .le-txt .le-hot{color:#fb7185}
[data-theme="dark"] .le-txt .le-gold,[data-theme="dark"] .le-lock{color:#fcd34d}
[data-theme="dark"] .le-grp,[data-theme="dark"] .le-next small{color:#cbbfe0}
/* phones: the list opens as a bottom sheet over a dim backdrop */
@media (max-width:640px){
  .le-head[open]::before{content:"";position:fixed;inset:0;z-index:998;background:rgba(0,0,0,.5)}
  .le-head .le-sheet{z-index:999;top:auto;bottom:0;left:0;right:0;max-width:none;max-height:78vh;overflow:auto;border-radius:20px 20px 0 0;padding:12px 14px calc(18px + env(safe-area-inset-bottom))}
  .le-head .le-row{min-height:60px}
}

/* 5 Dec 2026 (owner): in the dashboard menu the general ".dmenu a { background: none }" rule took the red away. First fix was
   solid red; the owner found it too heavy, so the row is a see-through red with a red edge and red text, in both themes. */
.dmenu a.le-menu-row,.dmenu summary.le-menu-row{background:rgba(225,29,72,.12);border:1.5px solid rgba(225,29,72,.45);color:#be123c!important;justify-content:flex-start}
.dmenu a.le-menu-row:hover,.dmenu summary.le-menu-row:hover{background:rgba(225,29,72,.2)}
.dmenu .le-menu-row b{color:#be123c}
.dmenu .le-menu-row .le-txt small{color:#9f1239}
.dmenu .le-menu-row .le-dot{background:#e11d48}
.dmenu summary.le-menu-row::after{content:none}
[data-theme="dark"] .dmenu a.le-menu-row,[data-theme="dark"] .dmenu summary.le-menu-row{background:rgba(225,29,72,.22);border-color:rgba(251,113,133,.55);color:#fecdd3!important}
[data-theme="dark"] .dmenu .le-menu-row b{color:#fff1f2}
[data-theme="dark"] .dmenu .le-menu-row .le-txt small{color:#fecdd3}
[data-theme="dark"] .dmenu .le-menu-row .le-dot{background:#fb7185}
