/* Life Solutions · TAOTU Lesson Player (v9f). Gold on dark, frosted glass. */
.lp-intro{margin:0 0 .6em}
.lp-note{margin:.2em 0 0;color:#EBC65E;font-size:.95rem}
.lp-series{margin:18px 0 0;border:1px solid rgba(184,134,11,.55);border-radius:14px;background:rgba(16,16,19,.45);overflow:hidden}
.lp-series>summary{list-style:none;cursor:pointer;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:Cinzel,Georgia,serif;color:#AD7E0A;font-weight:700;font-size:1.05rem}
.lp-series>summary::-webkit-details-marker{display:none}
.lp-series>summary::after{content:"+";color:#EBC65E;font-size:1.4rem;line-height:1}
.lp-series[open]>summary::after{content:"\2212"}
.lp-series>summary small{font-family:inherit;color:#D3D6DB;font-weight:400;font-size:.8rem;margin-left:auto;margin-right:8px}
.lp-list{list-style:none;margin:0;padding:0 10px 10px;display:grid;gap:8px}
.lp-item{display:grid;grid-template-columns:96px 1fr auto;align-items:center;gap:12px;padding:8px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.lp-item img{width:96px;height:54px;object-fit:cover;border-radius:8px;border:1px solid rgba(184,134,11,.7);display:block}
.lp-item .lp-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.lp-item .lp-n{font-size:.78rem;color:#D3D6DB;letter-spacing:.04em}
.lp-item b{color:#F2F3F5;font-weight:600;line-height:1.25}
.lp-tag{align-self:flex-start;margin-top:3px;font-size:.72rem;padding:2px 9px;border-radius:999px;border:1px solid #B8860B;color:#EBC65E}
.lp-play{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:999px;background:#EBC65E;color:#141414;border:1px solid #EBC65E;font-family:Cinzel,Georgia,serif;font-weight:700;font-size:.85rem;cursor:pointer}
.lp-play:hover,.lp-play:focus-visible{background:#F6DC8E;outline:2px solid #B8860B;outline-offset:2px}
.lp-play svg{width:14px;height:14px}
@media (max-width:560px){.lp-item{grid-template-columns:72px 1fr;grid-template-areas:"img t" "btn btn"}.lp-item img{width:72px;height:41px;grid-area:img}.lp-item .lp-t{grid-area:t}.lp-item .lp-play{grid-area:btn;justify-content:center;width:100%}}
/* the video window */
.lp-view{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(10,9,12,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.lp-view[hidden]{display:none}
.lp-box{position:relative;width:min(1400px,88vw,calc((100vh - 230px)*1.7778));min-width:min(100%,520px);max-height:100%;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;border:1px solid rgba(184,134,11,.85);background:rgba(20,20,24,.86);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);box-shadow:0 20px 60px rgba(0,0,0,.55);color:#F2F3F5}
.lp-top{display:flex;align-items:center;gap:10px}
.lp-head{flex:1;min-width:0}
.lp-head p{margin:0;font-size:.8rem;color:#D3D6DB;letter-spacing:.04em}
.lp-head h2{margin:2px 0 0;font-size:1.05rem;line-height:1.25;color:#EBC65E;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lp-ib{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border-radius:999px;background:transparent;color:#EBC65E;border:1.5px solid #B8860B;font:inherit;font-size:.85rem;cursor:pointer}
.lp-ib:hover,.lp-ib:focus-visible{background:rgba(184,134,11,.2);outline:none}
.lp-ib svg{width:18px;height:18px}
.lp-stage{position:relative;width:100%;aspect-ratio:16/9;border-radius:12px;overflow:hidden;border:1px solid #B8860B;background:#0b0b0d}
.lp-stage video,.lp-stage figure,.lp-stage figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;display:block}
.lp-stage figure .lvc{border-radius:0!important}
.lp-sample{position:absolute;left:10px;top:10px;z-index:3;font-size:.72rem;padding:3px 10px;border-radius:999px;background:rgba(20,20,24,.7);border:1px solid #B8860B;color:#EBC65E}
.lp-big{position:absolute;left:50%;top:50%;z-index:3;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;border:2px solid #EBC65E;background:rgba(20,20,24,.55);color:#EBC65E;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:opacity .3s}
.lp-big svg{width:30px;height:30px}
.lp-view.playing .lp-big{opacity:0;pointer-events:none}
.lp-ctrl{display:flex;align-items:center;gap:12px}
.lp-pp{flex:0 0 auto;width:52px;height:52px;border-radius:50%;background:#EBC65E;color:#141414;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer}
.lp-pp:focus-visible{outline:2px solid #F2F3F5;outline-offset:2px}
.lp-pp svg{width:22px;height:22px}
.lp-bar{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.lp-seek{width:100%;height:28px;margin:0;accent-color:#B8860B;background:transparent;cursor:pointer}
.lp-time{display:flex;justify-content:space-between;font-size:.78rem;color:#D3D6DB;font-variant-numeric:tabular-nums}
.lp-msg{margin:0;font-size:.9rem;color:#F2F3F5}
.lp-msg b{color:#EBC65E;font-weight:600}
/* full screen: the real thing when the device allows it, otherwise the window fills the screen */
.lp-box.lp-fs,.lp-box:fullscreen{width:100%;height:100%;max-width:none;border-radius:0;border:none;padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#0b0b0d}
.lp-box.lp-fs{position:fixed;inset:0;z-index:1200}
.lp-box.lp-fs .lp-stage,.lp-box:fullscreen .lp-stage{flex:1;aspect-ratio:auto;min-height:0;border:none;border-radius:8px}
.lp-box.lp-fs .lp-stage video,.lp-box:fullscreen .lp-stage video{object-fit:cover}
/* v9f-2: bigger window. Desktop/tablet: a large centered window (about 88% of the screen width, up to 1400px, 16:9 video that always fits the height).
   Phones: the window opens nearly full screen, the video edge to edge in width and filling most of the height, the controls below it. */
.lp-view{padding:2vh 2vw}
.lp-box{gap:12px;padding:14px 16px 16px}
.lp-head h2{font-size:clamp(1.05rem,1.6vw,1.45rem)}
.lp-head p{font-size:clamp(.8rem,1vw,.95rem)}
@media (max-width:560px),(max-height:520px) and (orientation:landscape){
 .lp-view{padding:0;background:rgba(10,9,12,.92)}
 .lp-box{width:100%;min-width:0;height:100vh;height:100dvh;max-height:none;border-radius:0;border:none;border-top:0;gap:10px;
  padding:max(10px,env(safe-area-inset-top)) 0 max(12px,env(safe-area-inset-bottom)) 0;background:rgba(14,14,17,.97)}
 .lp-top,.lp-ctrl,.lp-msg{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
 .lp-stage{flex:1 1 auto;aspect-ratio:auto;min-height:0;border-radius:0;border-left:none;border-right:none;border-color:rgba(184,134,11,.85)}
 .lp-ib .lp-lbl{display:none}.lp-ib{padding:0 10px}
 .lp-big{width:84px;height:84px}
 .lp-msg{font-size:.88rem}
 /* phone full screen: art edge to edge, the note hidden so the art gets the most room */
 .lp-box.lp-fs,.lp-box:fullscreen{padding-left:0;padding-right:0}
 .lp-box.lp-fs .lp-stage,.lp-box:fullscreen .lp-stage{border-radius:0}
 .lp-box.lp-fs .lp-msg,.lp-box:fullscreen .lp-msg{display:none}
}
@media (max-height:520px) and (orientation:landscape){.lp-box{gap:6px}.lp-msg{display:none}}
@media (prefers-reduced-motion:reduce){.lp-big{transition:none}}
/* light pages (body.p-light): the list sits on white frosted glass with dark text; the video window stays dark */
.p-light .lp-series{background:rgba(255,255,255,.55);border-color:rgba(184,134,11,.75)}
.p-light .lp-series>summary{color:#AD7E0A}
.p-light .lp-series>summary small{color:#3A3F47}
.p-light .lp-series>summary::after{color:#B8860B}
.p-light .lp-item{background:rgba(255,255,255,.6);border-color:rgba(184,134,11,.35)}
.p-light .lp-item .lp-n{color:#3A3F47}
.p-light .lp-item b{color:#1B1E23}
.p-light .lp-tag{color:#7A5806;border-color:#B8860B}
.p-light .lp-note{color:#3A3F47}
.p-light .lp-view p,.p-light .lp-view .lp-msg{color:#F2F3F5!important;text-shadow:none}
.p-light .lp-view .lp-head p{color:#D3D6DB!important}
.p-light .lp-view .lp-msg b{color:#EBC65E!important}
.p-light .lp-view h2{color:#EBC65E!important;text-shadow:none!important}
