.lph-root,.lph-root *{box-sizing:border-box}
.lph-root{--r:#e4141c;--r2:#c40f16;--b:#0b3a9e;--b2:#0a2a7a;--bl:#3a86ff;--bg:#eef3ff;--tx:#14213d;--mu:#5b6b8c;--ln:#d9e2f7;
 font-family:"Nunito","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;color:var(--tx);line-height:1.35;margin:0;padding:12px;background:linear-gradient(135deg,#0b3a9e 0%,#0b3a9e 55%,#e4141c 55%,#e4141c 100%);border-radius:28px}
.lph-root.lph-full{width:100%;max-width:none;position:relative;border-radius:0;padding:12px;margin:0}
.lph-full .lph-shell{max-width:none;border-radius:18px}
.lph-full .lph-gg{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}

.lph-root h1,.lph-root h2,.lph-root h3,.lph-root h4,.lph-root p,.lph-root ul{margin:0;padding:0;font-family:inherit;color:inherit;line-height:1.25}
.lph-root button,.lph-root input,.lph-root select,.lph-root textarea{font-family:inherit;font-size:15px;color:var(--tx);margin:0}
.lph-root button{cursor:pointer;border:0;background:none}
.lph-root a{text-decoration:none;color:inherit}
.lph-shell{display:grid;grid-template-columns:230px 1fr;min-height:640px;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 10px 40px rgba(5,20,70,.35);max-width:1500px;margin:0 auto}
.lph-side{background:linear-gradient(180deg,var(--b),var(--b2));padding:18px 12px;color:#fff;display:flex;flex-direction:column;gap:6px}
.lph-brand{display:flex;align-items:center;gap:10px;padding:6px 8px 16px;font-weight:900;letter-spacing:.5px;line-height:1}
.lph-brand img{max-height:52px;max-width:100%}
.lph-brand b{display:block;font-size:20px}.lph-logo{display:inline-flex;width:42px;height:42px;border-radius:12px;background:var(--r);align-items:center;justify-content:center;font-size:24px}
.lph-nav{display:flex;flex-direction:column;gap:6px}
.lph-nav button{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:#fff;font-weight:800;text-align:left;transition:.15s}
.lph-nav button span{font-size:19px;width:24px;text-align:center}
.lph-nav button:hover{background:rgba(255,255,255,.14)}
.lph-nav button.on{background:var(--r);box-shadow:0 4px 12px rgba(0,0,0,.25)}
.lph-user{margin-top:auto;font-size:13px;opacity:.9;padding:10px;border-top:1px solid rgba(255,255,255,.2)}
.lph-main{background:var(--bg);padding:22px;min-width:0;overflow:hidden}
.lph-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.lph-h h2{font-size:26px;font-weight:900;display:flex;align-items:center;gap:10px}
.lph-ico{display:inline-flex;width:42px;height:42px;border-radius:12px;background:var(--r);color:#fff;align-items:center;justify-content:center;font-size:22px}
.lph-sp{flex:1}
.lph-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px;font-weight:800;background:#fff;border:2px solid var(--bl);color:var(--b)!important;transition:.15s}
.lph-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(11,58,158,.2)}
.lph-btn.pri{background:var(--bl);color:#fff!important;border-color:var(--bl)}
.lph-btn.red{background:var(--r);border-color:var(--r);color:#fff!important}
.lph-btn.red:hover{background:var(--r2)}
.lph-btn.sm{padding:6px 10px;font-size:13px;border-radius:9px}
.lph-btn.big{padding:15px 24px;font-size:18px;border-radius:14px}
.lph-input,.lph-sel,.lph-ta{width:100%;padding:11px 13px;border:2px solid var(--ln);border-radius:12px;background:#fff;outline:0}
.lph-input:focus,.lph-sel:focus,.lph-ta:focus{border-color:var(--bl);box-shadow:0 0 0 3px rgba(58,134,255,.2)}
.lph-lab{display:block;font-weight:800;color:var(--b);margin:14px 0 6px;font-size:14px}
.lph-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.lph-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px 8px;min-height:112px;border-radius:16px;background:#dfe9ff;border:2px solid transparent;font-weight:800;text-align:center;color:var(--b);transition:.15s;position:relative;cursor:pointer}
.lph-tile:nth-child(3n){background:#ffe3e5;color:#a30c12}
.lph-tile:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(11,58,158,.2);border-color:var(--bl)}
.lph-tile .e{font-size:40px;line-height:1}
.lph-tile .n{font-size:14px}
.lph-tile .m{font-size:12px;font-weight:700;color:var(--mu)}
.lph-tile .x{display:flex;gap:6px;margin-top:4px}
.lph-card{background:#fff;border-radius:16px;padding:14px;border:2px solid var(--ln);display:flex;flex-direction:column;gap:6px;position:relative;transition:.15s;cursor:pointer;min-height:130px}
.lph-card:hover{border-color:var(--bl);transform:translateY(-2px);box-shadow:0 8px 18px rgba(11,58,158,.18)}
.lph-card .e{font-size:34px}.lph-card h4{font-size:16px;font-weight:900;word-break:break-word}
.lph-card small{color:var(--mu);font-weight:700}
.lph-card .menu{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:.0;transition:.15s}
.lph-card:hover .menu,.lph-card:focus-within .menu{opacity:1}
@media(hover:none){.lph-card .menu{opacity:1}}
.lph-card .menu button{background:#eef3ff;border-radius:8px;padding:4px 7px;font-size:14px}
.lph-card.fold{background:linear-gradient(180deg,#ffe9a8,#ffd466);border-color:#f0b429;min-height:96px;color:#6b4a00}
.lph-card.fold .e{font-size:38px}
.lph-card.over,.lph-tree button.over{outline:3px dashed var(--r);background:#fff1f1}
.lph-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}
.lph-stat{background:#fff;border-radius:16px;padding:16px;border:2px solid var(--ln)}
.lph-stat b{font-size:30px;color:var(--r);display:block}.lph-stat span{color:var(--mu);font-weight:700}
.lph-hero{background:linear-gradient(120deg,var(--b),var(--bl));color:#fff;border-radius:20px;padding:22px;margin-bottom:18px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.lph-hero h3{font-size:24px;font-weight:900}.lph-hero p{opacity:.92}
.lph-sec{font-size:18px;font-weight:900;margin:20px 0 10px;color:var(--b2)}
.lph-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.lph-panel{background:#fff;border-radius:18px;padding:18px;border:2px solid var(--ln)}
.lph-tabs{display:flex;gap:8px;flex-wrap:wrap}
.lph-tabs .lph-btn.on{background:var(--bl);color:#fff!important}
.lph-rows{display:flex;flex-direction:column;gap:8px;margin-top:10px;max-height:340px;overflow:auto;padding-right:4px}
.lph-row{display:grid;grid-template-columns:1fr 1fr 34px;gap:6px;align-items:center}
.lph-row .lph-input{padding:8px 10px}
.lph-row .del{background:#ffe3e5;border-radius:9px;height:34px;color:var(--r)}
.lph-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}
.lph-tree{background:#fff;border-radius:16px;padding:10px;border:2px solid var(--ln);align-self:start;max-height:560px;overflow:auto}
.lph-tree button{display:flex;align-items:center;gap:6px;width:100%;padding:8px 8px;border-radius:10px;font-weight:700;text-align:left;font-size:14px}
.lph-tree button:hover{background:#eef3ff}.lph-tree button.on{background:var(--bl);color:#fff}
.lph-crumb{display:flex;gap:6px;flex-wrap:wrap;font-weight:800;color:var(--mu);margin-bottom:12px;align-items:center}
.lph-crumb button{color:var(--b);font-weight:800}
.lph-empty{text-align:center;padding:40px 12px;color:var(--mu);font-weight:700}
.lph-empty .e{font-size:54px;display:block}
/* tarjetas gamificadas */
.lph-gg{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;padding-bottom:8px}
.lph-gc{position:relative;border-radius:22px;padding:14px;color:#fff;background:linear-gradient(150deg,var(--h1,#3a86ff),var(--h2,#0b3a9e));box-shadow:0 6px 0 var(--sh,#0a2a7a),0 12px 20px rgba(10,30,90,.25);cursor:pointer;overflow:hidden;transition:transform .18s,box-shadow .18s;display:flex;flex-direction:column;gap:7px;min-height:190px;user-select:none;-webkit-tap-highlight-color:transparent}
.lph-gc::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% -10%,rgba(255,255,255,.35),transparent 55%);pointer-events:none}
.lph-gc::after{content:"";position:absolute;top:0;left:-70%;width:45%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.4),transparent);transform:skewX(-20deg);transition:left .6s;pointer-events:none}
.lph-gc:hover{transform:translateY(-7px) rotate(-1deg);box-shadow:0 12px 0 var(--sh,#0a2a7a),0 20px 28px rgba(10,30,90,.35)}
.lph-gc:hover::after{left:130%}
.lph-gc:active,.lph-gc.pop{transform:translateY(3px) scale(.98);box-shadow:0 2px 0 var(--sh,#0a2a7a)}
.lph-gc .ic{width:60px;height:60px;border-radius:18px;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;font-size:36px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.15);animation:lphfloat 3.2s ease-in-out infinite}
.lph-gc:hover .ic{animation:lphwob .5s ease}
.lph-gc .ty{font-size:11px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;opacity:.85}
.lph-gc h4{font-size:17px;font-weight:900;line-height:1.15;word-break:break-word;text-shadow:0 2px 0 rgba(0,0,0,.2);flex:1}
.lph-gc .chips{display:flex;gap:6px;flex-wrap:wrap}.lph-gc .chips span{background:rgba(0,0,0,.25);border-radius:20px;padding:3px 9px;font-size:12px;font-weight:800}
.lph-gc .stars{color:#ffd43b;letter-spacing:1px}.lph-gc .stars i{font-style:normal;color:rgba(255,255,255,.35)}
.lph-gc .ft{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:2px}
.lph-gc .dt{font-size:12px;font-weight:700;opacity:.9;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lph-gc .go{background:#fff;color:var(--sh,#0a2a7a);border-radius:12px;padding:7px 12px;font-weight:900;font-size:13px;box-shadow:0 3px 0 rgba(0,0,0,.25);white-space:nowrap;animation:lphpulse 2.4s ease-in-out infinite}
.lph-gc:hover .go{background:#ffd43b;color:#5a3d00}
.lph-gc .rb{position:absolute;top:14px;right:-34px;transform:rotate(35deg);background:#ffd43b;color:#7a4a00;font-weight:900;font-size:11px;padding:3px 38px;box-shadow:0 2px 6px rgba(0,0,0,.3);z-index:2}
.lph-gc .menu{position:absolute;top:8px;left:8px;display:flex;gap:4px;z-index:3;opacity:0;transition:.15s}
.lph-gc:hover .menu,.lph-gc:focus-within .menu{opacity:1}
@media(hover:none){.lph-gc .menu{opacity:1}}
.lph-gc .menu button{background:rgba(255,255,255,.9);border-radius:9px;padding:3px 7px;font-size:14px}
.lph-gc.sm{min-height:160px}
.lph-gc.fold{--h1:#ffd966;--h2:#f0a30a;--sh:#9a6200;color:#4a2f00}
.lph-gc.fold .chips span{background:rgba(255,255,255,.55);color:#5a3a00}.lph-gc.fold h4{text-shadow:none}
.lph-gc.over{outline:4px dashed #fff;transform:scale(1.04)}
@keyframes lphfloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes lphwob{0%,100%{transform:rotate(0)}25%{transform:rotate(-12deg) scale(1.1)}75%{transform:rotate(12deg) scale(1.1)}}
@keyframes lphpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@media(prefers-reduced-motion:reduce){.lph-gc,.lph-gc *{animation:none!important;transition:none!important}}
.lph-modal{position:fixed;inset:0;background:rgba(5,15,50,.6);z-index:99999;display:flex;align-items:center;justify-content:center;padding:14px}
.lph-md{background:#fff;border-radius:20px;padding:22px;width:min(460px,100%);max-height:90vh;overflow:auto;color:var(--tx);font-family:"Nunito","Segoe UI",system-ui,sans-serif}
.lph-md h3{font-size:20px;font-weight:900;margin-bottom:10px}.lph-md .ac{display:flex;gap:8px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}
.lph-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--b2);color:#fff;padding:12px 20px;border-radius:30px;font-weight:800;z-index:100000;box-shadow:0 6px 20px rgba(0,0,0,.3)}
.lph-login{max-width:480px;margin:40px auto;background:#fff;border-radius:22px;padding:30px;text-align:center}
.lph-tbl{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}.lph-tbl th,.lph-tbl td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--ln)}.lph-tbl th{background:var(--b);color:#fff}
.lph-bar{height:10px;background:#dfe9ff;border-radius:6px;overflow:hidden}.lph-bar i{display:block;height:100%;background:var(--r)}
@media(max-width:900px){
 .lph-two{grid-template-columns:1fr}.lph-win{position:static}
 .lph-layout{grid-template-columns:1fr}.lph-tree{max-height:200px}
}
@media(max-width:720px){
 .lph-root,.lph-root.lph-full{padding:6px;border-radius:0}
 .lph-shell{grid-template-columns:1fr;border-radius:16px}
 .lph-side{flex-direction:row;align-items:center;padding:8px;overflow-x:auto;gap:4px}
 .lph-brand{padding:0 8px 0 4px}.lph-brand b{font-size:15px}.lph-brand img{max-height:34px}
 .lph-nav{flex-direction:row}.lph-nav button{padding:8px 10px;flex-direction:column;gap:2px;font-size:11px;min-width:62px;text-align:center}
 .lph-user{display:none}
 .lph-main{padding:14px 10px}.lph-h h2{font-size:21px}
 .lph-gg{grid-template-columns:repeat(2,1fr);gap:12px}.lph-gc{min-height:170px;padding:11px}.lph-gc h4{font-size:15px}.lph-gc .ic{width:50px;height:50px;font-size:30px}
 .lph-row{grid-template-columns:1fr 1fr 34px}
}
/* ===== Acabado realista: profundidad, brillo y materiales ===== */
.lph-root{background:radial-gradient(1200px 500px at 12% -10%,rgba(80,140,255,.55),transparent 60%),radial-gradient(900px 500px at 100% 110%,rgba(255,60,70,.6),transparent 60%),linear-gradient(135deg,#071f5c,#0b3a9e 50%,#a30c14)}
.lph-shell{background:#fff;border:1px solid rgba(255,255,255,.55);box-shadow:0 30px 60px -12px rgba(2,10,45,.65),0 12px 24px rgba(2,10,45,.35),inset 0 1px 0 rgba(255,255,255,.9)}
.lph-side{background:linear-gradient(180deg,rgba(255,255,255,.12),transparent 30%),linear-gradient(180deg,#0f46b8,#08226b 70%,#061a54);box-shadow:inset -1px 0 0 rgba(255,255,255,.12),6px 0 18px rgba(0,0,0,.25);position:relative;z-index:1}
.lph-brand b{text-shadow:0 2px 4px rgba(0,0,0,.45);letter-spacing:1px}
.lph-logo{background:linear-gradient(160deg,#ff5a62,#c40f16)!important;box-shadow:0 4px 0 #7c070c,0 8px 14px rgba(0,0,0,.4),inset 0 2px 0 rgba(255,255,255,.55);width:46px!important;height:46px!important}
.lph-nav button{box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.lph-nav button:hover{background:rgba(255,255,255,.16);transform:translateX(3px)}
.lph-nav button.on{background:linear-gradient(180deg,#ff4850,#d3121b);box-shadow:0 4px 0 #8c0a10,0 8px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.5);transform:translateY(-1px)}
.lph-nav button span{filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}
.lph-main{background:radial-gradient(circle at 1px 1px,rgba(11,58,158,.07) 1px,transparent 1.5px) 0 0/22px 22px,linear-gradient(180deg,#f3f7ff,#e6eeff)}
.lph-h h2{text-shadow:0 1px 0 #fff}
.lph-ico{background:linear-gradient(160deg,#ff5a62,#c40f16);box-shadow:0 4px 0 #7c070c,0 8px 14px rgba(196,15,22,.4),inset 0 2px 0 rgba(255,255,255,.5)}
.lph-btn{border:0;background:linear-gradient(180deg,#fff,#e4ecff);box-shadow:0 4px 0 #a9bde8,0 8px 14px rgba(11,58,158,.2),inset 0 1px 0 #fff;transition:transform .12s,box-shadow .12s}
.lph-btn:hover{transform:translateY(-2px);box-shadow:0 6px 0 #a9bde8,0 12px 18px rgba(11,58,158,.28),inset 0 1px 0 #fff}
.lph-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #a9bde8,inset 0 2px 4px rgba(0,0,0,.15)}
.lph-btn.pri{background:linear-gradient(180deg,#5aa0ff,#2a6fe0);box-shadow:0 4px 0 #1747a0,0 8px 14px rgba(42,111,224,.4),inset 0 1px 0 rgba(255,255,255,.5)}
.lph-btn.red{background:linear-gradient(180deg,#ff4850,#d3121b);box-shadow:0 4px 0 #8c0a10,0 8px 14px rgba(211,18,27,.4),inset 0 1px 0 rgba(255,255,255,.5)}
.lph-btn.pri:active,.lph-btn.red:active{box-shadow:0 1px 0 #1747a0,inset 0 2px 4px rgba(0,0,0,.25)}
.lph-input,.lph-sel,.lph-ta{border:2px solid #cfdcf7;background:linear-gradient(180deg,#f4f7ff,#fff);box-shadow:inset 0 2px 4px rgba(11,58,158,.1)}
.lph-hero{background:radial-gradient(500px 200px at 90% 0,rgba(255,255,255,.28),transparent 60%),linear-gradient(120deg,#0b3a9e,#2a6fe0);box-shadow:0 8px 0 #082a78,0 16px 26px rgba(8,42,120,.4),inset 0 1px 0 rgba(255,255,255,.4);margin-bottom:24px}
.lph-stat{background:linear-gradient(180deg,#fff,#eef3ff);border:0;box-shadow:0 4px 0 #c5d4f5,0 10px 18px rgba(11,58,158,.14),inset 0 1px 0 #fff}
.lph-stat b{background:linear-gradient(180deg,#ff4850,#b30d14);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-size:34px;font-weight:900}
.lph-panel,.lph-tree{border:0;box-shadow:0 4px 0 #c5d4f5,0 12px 22px rgba(11,58,158,.13);background:linear-gradient(180deg,#fff,#f6f9ff)}
.lph-tree button.on{background:linear-gradient(180deg,#5aa0ff,#2a6fe0);box-shadow:0 3px 0 #1747a0}
.lph-sec{font-size:19px;text-shadow:0 1px 0 #fff;display:flex;align-items:center;gap:8px}
.lph-gc{background:linear-gradient(160deg,rgba(255,255,255,.28) 0,rgba(255,255,255,0) 38%),linear-gradient(150deg,var(--h1,#3a86ff),var(--h2,#0b3a9e));border:1px solid rgba(255,255,255,.35);box-shadow:0 7px 0 var(--sh,#0a2a7a),0 16px 24px -4px rgba(8,25,80,.45),inset 0 1px 0 rgba(255,255,255,.65),inset 0 -10px 18px rgba(0,0,0,.14)}
.lph-gc:hover{box-shadow:0 13px 0 var(--sh,#0a2a7a),0 28px 34px -6px rgba(8,25,80,.5),inset 0 1px 0 rgba(255,255,255,.65),inset 0 -10px 18px rgba(0,0,0,.14)}
.lph-gc:active,.lph-gc.pop{box-shadow:0 2px 0 var(--sh,#0a2a7a),inset 0 3px 8px rgba(0,0,0,.3)}
.lph-gc .ic{background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.75),rgba(255,255,255,.18) 55%,rgba(0,0,0,.12));box-shadow:0 5px 10px rgba(0,0,0,.3),inset 0 -5px 8px rgba(0,0,0,.18),inset 0 2px 0 rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.4);filter:drop-shadow(0 3px 2px rgba(0,0,0,.25))}
.lph-gc .chips span{background:rgba(0,0,0,.28);box-shadow:inset 0 1px 2px rgba(0,0,0,.35),0 1px 0 rgba(255,255,255,.2)}
.lph-gc .go{background:linear-gradient(180deg,#fff,#dfe8ff);box-shadow:0 4px 0 rgba(0,0,0,.3),inset 0 1px 0 #fff}
.lph-gc:hover .go{background:linear-gradient(180deg,#ffe066,#ffc107);box-shadow:0 4px 0 #a87400}
.lph-gc.fold{background:linear-gradient(160deg,rgba(255,255,255,.45),rgba(255,255,255,0) 40%),linear-gradient(150deg,var(--h1),var(--h2));border-radius:8px 22px 22px 22px}
.lph-gc.fold::before{background:none;content:"";position:absolute;top:0;left:0;width:46%;height:12px;border-radius:0 0 10px 0;background:rgba(255,255,255,.4)}
.lph-empty{background:rgba(255,255,255,.6);border:2px dashed #b8c9ee;border-radius:20px}
.lph-md{box-shadow:0 30px 60px rgba(0,0,0,.5),inset 0 1px 0 #fff;border:1px solid #dfe8ff}
.lph-toast{background:linear-gradient(180deg,#14307a,#071f5c);box-shadow:0 8px 0 rgba(0,0,0,.2),0 14px 26px rgba(0,0,0,.4)}
.lph-crumb{background:#fff;border-radius:12px;padding:8px 12px;box-shadow:inset 0 2px 4px rgba(11,58,158,.1)}

.lph-sw{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
.lph-sw button{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #c5d4f5,0 3px 0 rgba(0,0,0,.25);transition:transform .12s}
.lph-sw button:hover{transform:scale(1.15)}.lph-sw button.on{box-shadow:0 0 0 3px #14213d,0 3px 0 rgba(0,0,0,.25);transform:scale(1.12)}
.lph-tree .dot{display:inline-block;width:14px;height:14px;border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 2px 0 rgba(0,0,0,.25);flex:none}
.lph-gc.fold .chips span{background:rgba(0,0,0,.22);color:inherit}

/* selectores e inputs: texto completo, altura cómoda y flecha propia (Astra ya no los recorta) */
.lph-root select,.lph-root .lph-sel,.lph-md select{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;height:48px!important;min-height:48px!important;line-height:1.3!important;padding:0 42px 0 14px!important;font-size:15px!important;font-weight:700;color:#14213d!important;border:2px solid #cfdcf7!important;border-radius:14px!important;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;
 background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%230b3a9e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center/16px!important;box-shadow:inset 0 2px 4px rgba(11,58,158,.1),0 3px 0 #c5d4f5!important;transition:border-color .15s,box-shadow .15s}
.lph-root select:hover,.lph-md select:hover{border-color:#8fb0f0!important}
.lph-root select:focus,.lph-md select:focus{border-color:#3a86ff!important;box-shadow:0 0 0 3px rgba(58,134,255,.25),0 3px 0 #9ab8f0!important;outline:0}
.lph-root input.lph-input,.lph-md input.lph-input{height:48px!important;line-height:1.3!important;padding:0 14px!important;border-radius:14px!important;font-weight:700;color:#14213d!important}
.lph-h select.lph-sel{min-width:210px;flex:0 1 260px}
.lph-md .ac .lph-btn{min-width:110px;justify-content:center;padding:12px 20px;font-size:16px}
.lph-md h3{color:#0b3a9e}
/* favoritos */
.lph-gc .fv{position:absolute;top:10px;right:10px;z-index:4;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.28);color:#fff;font-size:20px;line-height:34px;text-align:center;padding:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.4);transition:transform .15s,background .15s}
.lph-gc .fv:hover{transform:scale(1.2) rotate(12deg);background:rgba(0,0,0,.45)}
.lph-gc .fv.on{background:linear-gradient(180deg,#ffe066,#ffb300);color:#fff;text-shadow:0 1px 2px rgba(120,70,0,.6);box-shadow:0 0 14px #ffd43b,inset 0 1px 0 rgba(255,255,255,.7);animation:lphpulse 2.4s ease-in-out infinite}
.lph-gc .rb{top:12px;right:52px;transform:none;padding:3px 10px;border-radius:20px;left:auto}
.lph-nav button{position:relative}.lph-nav .bd{margin-left:auto;font-style:normal;background:#ffd43b;color:#5a3d00;border-radius:12px;padding:1px 8px;font-size:12px;font-weight:900}
.lph-crumb .lph-sp{flex:1}

/* carpetas: aspecto de carpeta real, distinto de las tarjetas de juego */
.lph-sec2{display:flex;align-items:center;gap:8px;font-weight:900;font-size:16px;color:#0a2a7a;margin:6px 0 12px;text-transform:uppercase;letter-spacing:.6px}
.lph-sec2 em{font-style:normal;background:#0b3a9e;color:#fff;border-radius:12px;padding:1px 9px;font-size:12px}
.lph-sec2:not(:first-child){margin-top:22px}
.lph-fg{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px 18px}
.lph-fd{position:relative;height:158px;margin-top:6px;cursor:pointer;transition:transform .18s;-webkit-tap-highlight-color:transparent;color:#fff}
.lph-fd.lt{color:#3d2800}
.lph-fd::before{content:"";position:absolute;left:0;right:0;top:20px;bottom:0;background:var(--fc2);border-radius:0 18px 18px 18px;box-shadow:0 10px 18px -4px rgba(8,25,80,.4),0 3px 0 var(--fs)}
.lph-fd .tb{position:absolute;left:0;top:0;height:26px;min-width:46%;max-width:70%;padding:0 18px 0 12px;background:var(--fc2);border-radius:12px 18px 0 0;display:flex;align-items:center;font-size:11px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;color:inherit;opacity:.95;clip-path:polygon(0 0,86% 0,100% 100%,0 100%)}
.lph-fd .tb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lph-fd .pp{position:absolute;left:12px;right:12px;top:24px;height:40px}
.lph-fd .pp i{position:absolute;left:0;right:0;top:0;height:40px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.lph-fd .pp i:nth-child(1){transform:rotate(-1.6deg);top:2px;background:#f1f4ff}.lph-fd .pp i:nth-child(2){transform:rotate(1.2deg);top:6px;background:#fff}.lph-fd .pp i:nth-child(3){top:10px;background:#e8eeff}
.lph-fd .fr{position:absolute;left:0;right:0;top:42px;bottom:0;border-radius:6px 18px 18px 18px;background:linear-gradient(170deg,rgba(255,255,255,.35),rgba(255,255,255,0) 40%),linear-gradient(180deg,var(--fc3),var(--fc));box-shadow:0 -3px 8px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.7);padding:11px 14px;display:flex;flex-direction:column;gap:5px;overflow:hidden}
.lph-fd h4{font-size:18px;font-weight:900;line-height:1.1;word-break:break-word;max-height:2.2em;overflow:hidden;text-shadow:0 1px 0 rgba(0,0,0,.2)}
.lph-fd.lt h4{text-shadow:0 1px 0 rgba(255,255,255,.4)}
.lph-fd .mini{display:flex;gap:4px;align-items:center;min-height:26px}
.lph-fd .mini span{width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;font-size:15px;box-shadow:0 2px 0 rgba(0,0,0,.18)}
.lph-fd .mini em{font-style:normal;font-size:12px;font-weight:700;opacity:.85}
.lph-fd .meta{margin-top:auto;font-size:12px;font-weight:700;opacity:.95}.lph-fd .meta b{font-size:15px}
.lph-fd .menu{position:absolute;top:6px;right:8px;display:flex;gap:4px;opacity:0;transition:.15s;z-index:3}
.lph-fd:hover .menu,.lph-fd:focus-within .menu{opacity:1}
@media(hover:none){.lph-fd .menu{opacity:1}}
.lph-fd .menu button{background:rgba(255,255,255,.92);border-radius:8px;padding:3px 7px;font-size:14px;box-shadow:0 2px 0 rgba(0,0,0,.2)}
.lph-fd:hover{transform:translateY(-5px)}
.lph-fd:hover .fr{top:34px}.lph-fd .fr{transition:top .18s}
.lph-fd.over{outline:4px dashed #0b3a9e;outline-offset:3px;transform:scale(1.04)}
@media(max-width:720px){.lph-fg{grid-template-columns:repeat(2,1fr);gap:16px 12px}.lph-fd{height:150px}.lph-fd h4{font-size:15px}}

.lph-gc .ds{font-size:13px;line-height:1.35;font-weight:600;opacity:.96;text-shadow:0 1px 0 rgba(0,0,0,.18);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:1;margin:0}
.lph-gal.lph-gg{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.lph-gc.sm{min-height:200px}
.lph-gc.sm h4{flex:none}
.lph-gc .ds{flex:1 0 auto;min-height:3.9em}
.lph-gc.sm{min-height:220px}

/* cuenta */
.lph-prof{text-align:center}.lph-prof .av{width:84px;height:84px;margin:0 auto 10px;border-radius:50%;background:linear-gradient(160deg,#ff5a62,#c40f16);color:#fff;font-size:40px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 0 #7c070c,0 10px 18px rgba(196,15,22,.4),inset 0 2px 0 rgba(255,255,255,.5)}
.lph-prof .rl{display:inline-block;background:#e6eeff;color:#0b3a9e;border-radius:20px;padding:3px 12px;font-weight:800;font-size:13px;margin:6px 0 12px}
.lph-ar{display:flex;justify-content:space-between;gap:12px;padding:9px 4px;border-bottom:1px solid #e1e9fb;text-align:left}.lph-ar span{color:#5b6b8c;font-weight:700}.lph-ar b{text-align:right;word-break:break-word}
/* acceso / registro */
.lph-acc-wrap{max-width:600px;margin:20px auto;padding:22px 14px;border-radius:28px}
.lph-acc{background:linear-gradient(180deg,#fff,#f3f7ff);border-radius:22px;padding:26px 24px;box-shadow:0 24px 50px rgba(2,10,45,.5),inset 0 1px 0 #fff;text-align:center}
.lph-acc h2{font-size:26px;font-weight:900;color:#0a2a7a;margin:4px 0 14px}.lph-acc-ico{font-size:52px;line-height:1}
.lph-acc-tabs{display:flex;background:#e3ebff;border-radius:16px;padding:5px;gap:5px;margin-bottom:16px;box-shadow:inset 0 2px 4px rgba(11,58,158,.15)}
.lph-acc-tabs button{flex:1;padding:11px;border-radius:12px;font-weight:900;font-size:15px;color:#0b3a9e;transition:.15s}
.lph-acc-tabs button.on{background:linear-gradient(180deg,#ff4850,#d3121b);color:#fff;box-shadow:0 3px 0 #8c0a10,0 6px 12px rgba(211,18,27,.35)}
.lph-acc-f{display:flex;flex-direction:column;gap:12px;text-align:left}.lph-acc-f[hidden]{display:none}
.lph-acc-f label{font-weight:800;color:#0b3a9e;font-size:14px;display:flex;flex-direction:column;gap:5px}
.lph-acc-f input:not([type=checkbox]){height:48px;border:2px solid #cfdcf7;border-radius:14px;padding:0 14px;font-size:16px;color:#14213d;background:#fff;box-shadow:inset 0 2px 4px rgba(11,58,158,.1);width:100%;font-family:inherit}
.lph-acc-f input:focus{border-color:#3a86ff;outline:0;box-shadow:0 0 0 3px rgba(58,134,255,.25)}
.lph-acc-f .chk{flex-direction:row;align-items:center;gap:8px;font-weight:700}
.lph-acc-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lph-acc-f .lph-btn{justify-content:center;width:100%}
.lph-acc-lnk{text-align:center;color:#0b3a9e;font-weight:700;font-size:14px}
.lph-acc-note{font-size:13px;color:#5b6b8c;text-align:center;margin:0}
.lph-acc-msg{border-radius:14px;padding:12px 14px;font-weight:700;margin-bottom:14px;text-align:left;line-height:1.4}
.lph-acc-msg.ok{background:#dcf8e3;color:#146c2e;border:2px solid #8fdca4}.lph-acc-msg.warn{background:#fff3cd;color:#7a5200;border:2px solid #ffd966}.lph-acc-msg.err{background:#ffe3e5;color:#a30c12;border:2px solid #ffadb3}
.lph-hp{position:absolute!important;left:-9999px!important;opacity:0;height:0!important;width:0!important}
@media(max-width:560px){.lph-acc-2{grid-template-columns:1fr}.lph-acc{padding:20px 14px}}

/* galería: tarjetas oscuras con ilustración */
.lph-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;padding:4px 2px 12px}
.lph-gx{--c1:#f5821f;--c2:#e4141c;--c3:#7a0c30;position:relative;background:#110c2e;border:2px solid var(--c2);border-radius:24px;overflow:hidden;cursor:pointer;color:#fff;transition:transform .2s,box-shadow .2s;box-shadow:0 10px 24px rgba(8,5,30,.45),0 0 0 0 var(--c1);-webkit-tap-highlight-color:transparent;display:flex;flex-direction:column}
.lph-gx:hover{transform:translateY(-8px);box-shadow:0 22px 34px rgba(8,5,30,.55),0 0 22px -2px var(--c1)}
.lph-gx:active{transform:translateY(-2px) scale(.98)}
.lph-gx .art{position:relative;height:178px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.14) 0 2px,transparent 2px 14px),radial-gradient(circle at 25% 15%,rgba(255,255,255,.35),transparent 55%),linear-gradient(135deg,var(--c1),var(--c2) 60%,var(--c3));overflow:hidden}
.lph-gx .art::after{content:"";position:absolute;left:6%;right:6%;bottom:-38px;height:76px;background:#110c2e;border-radius:50% 50% 0 0/100% 100% 0 0}
.lph-gx .orb{position:absolute;left:50%;top:46%;width:150px;height:150px;margin:-75px 0 0 -75px;border:2px dashed rgba(255,255,255,.4);border-radius:50%;animation:lphspin 24s linear infinite}
.lph-gx .big{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);font-size:84px;line-height:1;filter:drop-shadow(0 10px 8px rgba(0,0,0,.4));transition:transform .25s;z-index:2}
.lph-gx:hover .big{transform:translate(-50%,-56%) scale(1.14) rotate(-6deg)}
.lph-gx .no{position:absolute;top:12px;left:12px;z-index:3;background:rgba(17,12,46,.78);border-radius:20px;padding:4px 11px;font-size:12px;font-weight:900;letter-spacing:.5px}
.lph-gx .ct{position:absolute;top:12px;right:12px;z-index:3;background:rgba(255,255,255,.92);color:#2a1456;border-radius:20px;padding:4px 12px;font-size:11px;font-weight:900;letter-spacing:.8px}
.lph-gx .fl{position:absolute;z-index:2;font-size:22px;filter:drop-shadow(0 3px 2px rgba(0,0,0,.35));animation:lphfloat 3.4s ease-in-out infinite}
.lph-gx .f1{left:11%;top:46%;animation-delay:-.4s}.lph-gx .f2{right:12%;top:30%;animation-delay:-1.2s;font-size:26px}.lph-gx .f3{left:20%;top:72%;animation-delay:-2s;font-size:19px}.lph-gx .f4{right:18%;top:66%;animation-delay:-2.6s;font-size:20px}
.lph-gx .bd2{padding:2px 16px 16px;display:flex;flex-direction:column;gap:7px;flex:1;position:relative;z-index:3}
.lph-gx h4{font-size:21px;font-weight:900;line-height:1.1;color:#fff;text-shadow:none}
.lph-gx p{font-size:13.5px;line-height:1.4;color:#c9c3e6;font-weight:600;margin:0;flex:1}
.lph-gx .cr{align-self:flex-start;background:rgba(255,255,255,.12);border-radius:20px;padding:3px 11px;font-size:12px;font-weight:800;color:#fff}.lph-gx .cr.off{opacity:.6}
.lph-gx .pl{display:flex;align-items:center;justify-content:space-between;margin-top:4px;padding:6px 8px 6px 16px;border-radius:16px;background:linear-gradient(90deg,var(--c1),var(--c2));font-weight:900;font-size:15px;box-shadow:0 4px 0 rgba(0,0,0,.35),0 8px 16px rgba(0,0,0,.3);transition:transform .15s}
.lph-gx .pl b{width:36px;height:36px;border-radius:50%;background:#fff;color:#14213d;display:flex;align-items:center;justify-content:center;font-size:14px;padding-left:3px;transition:transform .2s}
.lph-gx:hover .pl b{transform:scale(1.18)}
@keyframes lphspin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.lph-gx *{animation:none!important}}
@media(max-width:560px){.lph-gal{grid-template-columns:1fr 1fr;gap:12px}.lph-gx .art{height:130px}.lph-gx .big{font-size:60px}.lph-gx .orb{width:110px;height:110px;margin:-55px 0 0 -55px}.lph-gx h4{font-size:16px}.lph-gx p{font-size:12px}.lph-gx .fl{font-size:16px}.lph-gx .f2{font-size:18px}.lph-gx .pl{font-size:12px;padding-left:10px}.lph-gx .pl b{width:28px;height:28px}.lph-gx .bd2{padding:2px 10px 12px}}

/* página del espacio docente: sin franjas blancas ni títulos, sin tocar header ni footer */
body.lph-page article,body.lph-page .ast-article-single,body.lph-page .ast-article-post{padding:0!important;margin:0!important;background:transparent!important;box-shadow:none!important}
body.lph-page .entry-header,body.lph-page .ast-single-post-order .entry-header{display:none!important}
body.lph-page .entry-content{margin:0!important;padding:0!important}
body.lph-page .entry-content>*{margin-top:0!important;margin-bottom:0!important}
body.lph-page #secondary{display:none!important}
.lph-root.lph-full{display:flex;flex-direction:column}
.lph-root.lph-full>#lph-app{flex:1;display:flex;flex-direction:column;width:100%}
.lph-root.lph-full .lph-shell{flex:1;width:100%}
.lph-root.lph-full .lph-login{margin:auto;width:min(480px,100%)}
/* acceso: tarjeta compacta y botones a su tamaño */
.lph-acc-wrap{width:min(100%,500px)!important;max-width:500px!important;margin:28px auto!important;padding:16px!important;box-sizing:border-box!important;float:none!important;display:block!important}
.lph-acc{padding:22px 22px 20px!important}
.lph-acc h2{font-size:22px!important;margin:2px 0 12px!important}.lph-acc-ico{font-size:40px!important}
.lph-acc-tabs{max-width:330px;margin:0 auto 14px!important;padding:4px!important}
.lph-acc-tabs button{padding:9px 14px!important;font-size:14px!important}
.lph-acc-f{gap:10px!important}
.lph-acc-f label{font-size:13px!important}
.lph-acc-f input:not([type=checkbox]){height:42px!important;font-size:15px!important;border-radius:12px!important}
.lph-acc-f .lph-btn,.lph-acc .lph-btn.big{width:auto!important;min-width:170px;align-self:center;padding:10px 26px!important;font-size:15px!important;border-radius:12px!important;margin-top:4px}
.lph-acc-note{font-size:12px!important}
.lph-btn.big{padding:11px 22px;font-size:16px}
.lph-login .lph-btn.big{padding:11px 24px}

.lph-err{background:#ffe3e5;color:#a30c12;border:2px solid #ffadb3;border-radius:12px;padding:9px 12px;font-weight:700;font-size:14px;margin-top:12px}
.lph-md .lph-btn[disabled]{opacity:.6;pointer-events:none}

.lph-gf{display:flex;flex-direction:column;gap:10px;text-align:left}
.lph-gf .lph-input{height:44px!important}
.lph-gf .lph-btn{align-self:center;min-width:170px;justify-content:center;margin-top:4px}
.lph-ck{display:flex;align-items:center;gap:8px;font-weight:700;color:#0b3a9e;font-size:14px}

.lph-sk{min-height:190px;border-radius:22px;background:linear-gradient(100deg,#dfe7fb 30%,#f3f6ff 50%,#dfe7fb 70%);background-size:200% 100%;animation:lphsk 1.2s linear infinite}
@keyframes lphsk{to{background-position:-200% 0}}
.lph-nav button[disabled]{opacity:.6;cursor:default}


.lph-gf[hidden],.lph-login form[hidden]{display:none!important}

.lph-spin{width:46px;height:46px;border-radius:50%;border:5px solid rgba(255,255,255,.35);border-top-color:#fff;margin:auto;animation:lphspin2 .8s linear infinite}
@keyframes lphspin2{to{transform:rotate(360deg)}}

.lph-tree .chev{display:inline-block;width:18px;flex:none;text-align:center;font-style:normal;font-size:12px;opacity:.75;transition:transform .15s;border-radius:6px;cursor:pointer}
.lph-tree .chev:not(.no):hover{background:rgba(11,58,158,.15);opacity:1}
.lph-tree button.open>.chev{transform:rotate(90deg)}
.lph-tree button.on>.chev:not(.no):hover{background:rgba(255,255,255,.3)}
