/* La Clase Videíto · same Videíto blue, metallic silver and the cyan > blue > magenta gradient. New layout: banner, welcome, lesson cards, side menu. */
:root {
  --sky1: #2A52D8; --sky2: #1F3FB8; --sky3: #162C8C; --night: #0C1A5A;
  --ink: #FFFFFF; --soft: #EAF0FF; --mist: #C3D0F5;
  --cyan: #4FD6FF; --blue: #4A6FFF; --magenta: #FF2D9B; --pink: #FF7BC2;
  --grad: linear-gradient(90deg, #4FD6FF 0%, #4A6FFF 48%, #FF2D9B 100%);
  --gradtext: linear-gradient(90deg, #9FF0FF 0%, #E6ECFF 48%, #FF7CC6 100%);
  --silver: linear-gradient(135deg, #FFFFFF 0%, #E3E9F4 22%, #A9B7D1 46%, #FFFFFF 62%, #C3CEE2 82%, #F4F7FC 100%);
  --metal: linear-gradient(180deg, #FFFFFF 0%, #F4F7FD 28%, #B4C2DB 49%, #FFFFFF 53%, #DCE4F2 72%, #FFFFFF 100%);
  --glass: rgba(255, 255, 255, 0.10); --glass2: rgba(255, 255, 255, 0.17); --deep: rgba(10, 22, 70, 0.35);
  --line: rgba(255, 255, 255, 0.34); --line2: rgba(255, 255, 255, 0.20);
  --shadow: 0 24px 50px -22px rgba(6, 14, 56, 0.75);
  --glow: drop-shadow(0 2px 0 rgba(16, 34, 110, 0.45)) drop-shadow(0 0 16px rgba(255, 255, 255, 0.45));
  --head: "Outfit", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --r: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--sky2); color: var(--ink); line-height: 1.45; min-height: 100vh; font-weight: 600; font-size: 17px; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(900px 600px at 8% -10%, rgba(79, 214, 255, 0.55), transparent 62%),
  radial-gradient(900px 700px at 100% 105%, rgba(255, 45, 155, 0.42), transparent 62%),
  radial-gradient(700px 500px at 60% 40%, rgba(74, 111, 255, 0.35), transparent 70%),
  linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 55%, var(--sky3) 100%); }
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(79, 214, 255, 0.4); }
.serif { font-family: var(--head); font-weight: 500; }

/* Metallic silver + Videíto gradient text */
@keyframes sheen { 0% { background-position: 0% 0%; } 100% { background-position: 0% 200%; } }
.metal { background: var(--metal); background-size: 100% 200%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: var(--glow); animation: sheen 6s linear infinite; }
.vgrad { background: var(--gradtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) { .metal { animation: none; } }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(12, 26, 90, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line2); }
.top .in { max-width: 1180px; margin: 0 auto; padding: 12px 18px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: baseline; gap: 7px; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; white-space: nowrap; filter: var(--glow); }
.brand .lc { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .v { background: var(--gradtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top .sp { flex: 1; }
.hola { font-size: 16px; color: #fff; white-space: nowrap; }
.burger { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); display: grid; place-items: center; gap: 0; transition: all .2s; }
.burger span { display: block; width: 22px; height: 2.5px; background: #fff; border-radius: 2px; margin: 2.6px 0; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.burger:hover { background: var(--glass2); }

/* ---------- Side menu (drawer) ---------- */
.veil { position: fixed; inset: 0; background: rgba(6, 12, 50, 0.55); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); z-index: 41; background: linear-gradient(180deg, #16308F 0%, #0F2170 100%); border-left: 1px solid var(--line2); box-shadow: -30px 0 60px rgba(4, 10, 40, 0.6); transform: translateX(104%); transition: transform .3s cubic-bezier(.2,.7,.2,1); overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 40px; }
body.menu .veil { opacity: 1; pointer-events: auto; }
body.menu .drawer { transform: none; }
.drawer .dh { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px 20px; position: sticky; top: 0; background: rgba(14, 30, 110, 0.9); backdrop-filter: blur(10px); z-index: 1; border-bottom: 1px solid var(--line2); }
.drawer .dh b { font-family: var(--head); font-size: 18px; }
.drawer .x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); font-size: 22px; line-height: 1; }
.dsec { margin: 14px 12px 0; }
.dsec .dt { display: flex; align-items: center; gap: 10px; background: var(--grad); color: #fff; border-radius: 14px; padding: 12px 16px; font-family: var(--head); font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,0.25); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
.dsec .di { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 12px; margin-top: 4px; font-weight: 600; font-size: 16px; color: #fff; transition: background .2s; }
.dsec .di:hover { background: var(--glass); }
.dsec .di .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--glass2); border: 1px solid var(--line2); display: grid; place-items: center; font-size: 13px; flex: none; }
.dsec .di.off { opacity: 0.55; }
.dsec .di small { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9FEFFF; }
.dsec .di.now { background: linear-gradient(90deg, rgba(79,214,255,0.25), rgba(255,45,155,0.18)); border: 1px solid var(--line2); }
.dsec .sub { padding-left: 54px; font-size: 14px; color: var(--mist); margin-top: -8px; margin-bottom: 6px; }

/* ---------- Page wrap ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 18px 16px 90px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }

/* ---------- Banner (like a course dashboard header) ---------- */
.banner { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.4);
  background: radial-gradient(700px 300px at 85% 110%, rgba(255,45,155,0.45), transparent 60%), radial-gradient(600px 320px at 0% -20%, rgba(79,214,255,0.5), transparent 60%), linear-gradient(135deg, #0F2170 0%, #142A8A 55%, #0C1A5A 100%); }
.banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(159,239,255,0.55) 1.3px, transparent 1.6px); background-size: 18px 18px; opacity: .35;
  -webkit-mask-image: radial-gradient(520px 260px at 70% 50%, #000 0%, transparent 72%); mask-image: radial-gradient(520px 260px at 70% 50%, #000 0%, transparent 72%); }
.banner .bi { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; padding: 22px 20px; }
.banner .ava { width: 150px; height: 150px; border-radius: 75px 75px 26px 26px; object-fit: cover; object-position: center top; border: 2px solid rgba(255,255,255,0.75); box-shadow: 0 20px 40px -14px rgba(0,0,0,0.6), 0 0 0 6px rgba(79,214,255,0.18); justify-self: center; }
.banner .bt { text-align: center; }
.banner .k { font-size: 12px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: #9FEFFF; text-shadow: 0 0 12px rgba(79,214,255,0.8); }
.banner .wm { font-family: var(--head); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.02em; margin-top: 6px; filter: var(--glow); }
.banner .wm .lc { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner .wm .v { background: var(--gradtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner .wm2 { font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; margin-top: 10px; opacity: .95; }
.banner .pill { display: inline-block; margin-top: 12px; background: var(--grad); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,0.45); }
@media (min-width: 720px) {
  .banner .bi { grid-template-columns: auto 1fr; gap: 28px; padding: 30px 34px; }
  .banner .ava { width: 180px; height: 180px; border-radius: 90px 90px 28px 28px; }
  .banner .bt { text-align: left; }
  .banner .wm { font-size: 60px; }
}

/* ---------- Section headings ---------- */
h2.big { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin: 30px 0 14px; text-wrap: balance; }
h2.big .serif { font-size: 17px; font-weight: 500; color: #fff; display: block; margin-top: 6px; -webkit-text-fill-color: #fff; filter: none; }
h2.big.metal .serif { background: none; color: #fff; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #9FEFFF; text-shadow: 0 0 12px rgba(79,214,255,0.8); }

/* ---------- Welcome ---------- */
.welcome { margin-top: 18px; }
.welcome h1 { font-family: var(--head); font-weight: 800; font-size: 32px; line-height: 1.1; letter-spacing: -0.01em; text-align: center; text-wrap: balance; }
.welcome .player-wrap { max-width: 860px; margin: 16px auto 0; }
.welcome .wtext { margin-top: 16px; font-size: 18px; color: #fff; line-height: 1.5; max-width: 760px; margin-left: auto; margin-right: auto; }
.wtext p + p, .body p + p, .body ol + p, .body ul + p, .wtext ol + p, .wtext ul + p { margin-top: 12px; }
.wtext ol, .wtext ul, .body ol, .body ul { margin: 10px 0 0 24px; display: grid; gap: 6px; }
.wtext b, .body b { color: #fff; }
.expect { display: grid; gap: 10px; margin-top: 18px; }
.expect .e { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: start; background: var(--glass); border: 1px solid var(--line2); border-radius: 16px; padding: 14px; }
.expect .e .n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--deep); border: 1px solid var(--line2); }
.expect .e b { font-size: 17px; display: block; }
.expect .e span { font-size: 15px; color: var(--mist); }
@media (min-width: 720px) { .welcome h1 { font-size: 44px; } .expect { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Video players ---------- */
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0A1430; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 90px -30px rgba(79,214,255,0.6); }
.player.vertical { aspect-ratio: 9 / 16; max-width: 420px; margin-left: auto; margin-right: auto; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player .nov { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 20px; background: linear-gradient(180deg, rgba(10,20,48,0.3), rgba(10,20,48,0.85)); }
.player .nov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .55; }
.player .nov b { font-family: var(--head); font-size: 22px; }
.player .nov span { font-size: 15px; color: var(--mist); }

/* ---------- Live card ---------- */
.live { position: relative; border-radius: 26px; padding: 24px 22px; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; overflow: hidden; margin-top: 26px;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08)); border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.live::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(79,214,255,0.45), transparent 62%); pointer-events: none; }
.live .t { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; margin-top: 8px; text-wrap: balance; letter-spacing: -0.01em; }
.live .n { font-size: 17px; margin-top: 10px; color: #fff; max-width: 600px; }
.btn-live { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; border-radius: 999px; padding: 18px 28px; text-shadow: 0 1px 2px rgba(0,0,0,0.25); letter-spacing: 0.01em;
  box-shadow: 0 16px 40px -8px rgba(79, 214, 255, 0.55), 0 16px 40px -14px rgba(255, 45, 155, 0.6), inset 0 1px 0 rgba(255,255,255,0.45); transition: transform .2s, box-shadow .2s; }
.btn-live:hover { transform: translateY(-2px); }
.btn-live .dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.65); } 70% { box-shadow: 0 0 0 11px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (min-width: 720px) { .live { grid-template-columns: 1fr auto; padding: 30px 32px; } .live .t { font-size: 40px; } }

/* ---------- Cards (lessons, modules, replays) ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: 1fr 1fr 1fr; } .cards.two { grid-template-columns: 1fr 1fr; } }
.card { position: relative; display: block; background: var(--glass); border: 1px solid var(--line2); border-radius: var(--r); padding: 10px 10px 16px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s, border-color .25s, background .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--line); background: var(--glass2); }
.card .im { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0A1430; border: 1px solid var(--line2); }
.card .im img { width: 100%; height: 100%; object-fit: cover; }
.card .im .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.card .im .play::after { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #162C8C; margin-left: 4px; }
.card .im .badge { position: absolute; left: 10px; top: 10px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.45); text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.card .im .tag { position: absolute; right: 10px; top: 10px; background: rgba(12,26,90,0.75); border: 1px solid var(--line2); color: #fff; border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.card .im .tag.soon { background: rgba(255,45,155,0.75); }
.card .ct { padding: 12px 8px 0; }
.card .ct .t { font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.card .ct .s { font-size: 15px; color: var(--mist); margin-top: 5px; }
.card.locked { opacity: .72; }
.card.locked .im img { filter: grayscale(.4) brightness(.7); }
.card.locked:hover { transform: none; }
.card .ct .t.metal { display: inline-block; }

/* ---------- Module page ---------- */
.crumb { font-size: 15px; color: #fff; margin: 4px 0 10px; }
.crumb a { font-weight: 700; }
h1.page { font-family: var(--head); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; margin: 6px 0 6px; text-wrap: balance; }
.lead { font-size: 18px; color: #fff; max-width: 760px; margin: 8px 0 18px; }
@media (min-width: 720px) { h1.page { font-size: 46px; } }

/* ---------- Lesson page ---------- */
.lesson-h1 { font-family: var(--head); font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; margin: 6px 0 16px; text-wrap: balance; }
.body { margin-top: 22px; font-size: 18px; max-width: 760px; color: #fff; line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn-o { display: inline-block; border: 1px solid #fff; background: var(--glass); color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 20px; font-size: 16px; transition: all .2s; }
.btn-o:hover { background: var(--glass2); }
.btn-solid { display: inline-block; background: var(--grad); color: #fff; font-weight: 800; border-radius: 999px; padding: 13px 24px; font-size: 16px; border: 0; box-shadow: 0 12px 30px -10px rgba(79,214,255,0.7), inset 0 1px 0 rgba(255,255,255,0.45); transition: transform .2s; }
.btn-dark { display: inline-block; background: var(--silver); color: #162C8C; font-weight: 800; border-radius: 999px; padding: 12px 22px; font-size: 16px; border: 0; box-shadow: 0 10px 22px -10px rgba(6,14,56,0.8); transition: transform .2s; }
.btn-solid:hover, .btn-dark:hover { transform: translateY(-2px); }
.nav2 { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
@media (min-width: 720px) { .lesson-h1 { font-size: 42px; } }

/* ---------- Resources + contact ---------- */
.panel { background: var(--glass); border: 1px solid var(--line2); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.res { display: grid; gap: 8px; }
.res a { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--deep); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; transition: all .2s; }
.res a:hover { border-color: var(--line); background: rgba(10,22,70,0.5); }
.res .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--grad); display: grid; place-items: center; font-size: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
.res .l { font-weight: 800; font-size: 17px; }
.res .d { font-size: 14px; color: var(--mist); font-weight: 600; }
.contact { background: linear-gradient(135deg, rgba(79,214,255,0.28), rgba(255,45,155,0.22)); border: 1px solid var(--line2); border-radius: 16px; padding: 16px; margin-top: 14px; }
.contact .a { font-weight: 800; font-size: 17px; }
.contact .b { font-size: 16px; margin-top: 6px; }
.contact a { text-decoration: underline; text-underline-offset: 3px; }
.two-col { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.empty { font-size: 16px; color: #fff; background: var(--deep); border: 1px dashed var(--line2); border-radius: 16px; padding: 14px; line-height: 1.45; }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login .box { width: 100%; max-width: 440px; background: var(--glass); border: 1px solid var(--line); border-radius: 28px; padding: 26px 22px 28px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: center; }
.login .ava { width: 120px; height: 120px; border-radius: 60px 60px 22px 22px; object-fit: cover; object-position: center top; margin: 0 auto 14px; border: 2px solid rgba(255,255,255,0.75); box-shadow: 0 20px 40px -14px rgba(0,0,0,0.6), 0 0 0 6px rgba(79,214,255,0.18); }
.login h1 { font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -0.02em; filter: var(--glow); }
.login h1 .lc { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login h1 .v { background: var(--gradtext); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login .sub { color: #fff; font-size: 16px; margin-top: 8px; }
.field { margin-top: 16px; text-align: left; }
.field label { display: block; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #9FEFFF; margin-bottom: 6px; }
.field input { width: 100%; background: rgba(255,255,255,0.95); color: #162C8C; border: 0; border-radius: 14px; padding: 15px 16px; font-size: 18px; font-weight: 600; outline: 2px solid transparent; }
.field input:focus { outline-color: var(--cyan); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #162C8C; font-weight: 800; font-size: 14px; padding: 8px; }
.err { margin-top: 14px; background: rgba(255,45,155,0.22); border: 1px solid rgba(255,123,194,0.6); border-radius: 14px; padding: 12px 14px; font-size: 15px; display: none; text-align: left; }
.err.on { display: block; }
.btn-go { width: 100%; margin-top: 18px; background: var(--grad); color: #fff; font-weight: 800; font-size: 19px; border: 0; border-radius: 999px; padding: 17px; box-shadow: 0 16px 40px -8px rgba(79,214,255,0.55), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-go:disabled { opacity: .7; }

/* ---------- Admin ---------- */
.adm { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 6px; }
@media (min-width: 900px) { .adm { grid-template-columns: 1fr 1fr; } .adm .full { grid-column: 1 / -1; } }
.adm h3 { font-family: var(--head); font-size: 22px; font-weight: 800; }
.f { display: grid; gap: 8px; margin-top: 8px; }
.f input, .f textarea, .f select { width: 100%; background: rgba(255,255,255,0.94); color: #162C8C; border: 0; border-radius: 12px; padding: 11px 13px; font-size: 16px; font-weight: 600; }
.f textarea { min-height: 90px; resize: vertical; }
.f .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-sm { background: var(--glass); color: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; transition: all .2s; white-space: nowrap; }
.btn-sm:hover { background: var(--glass2); }
.btn-sm.o { background: var(--grad); border: 0; font-weight: 800; }
.btn-sm.x { padding: 7px 12px; }
.list { display: grid; gap: 6px; margin-top: 8px; }
.it { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: var(--deep); border: 1px solid var(--line2); border-radius: 14px; padding: 10px 12px; }
.it .g { flex: 1; min-width: 160px; }
.it .g b { display: block; font-size: 16px; }
.it .g small { display: block; font-size: 13px; color: var(--mist); word-break: break-all; }
.it.off { opacity: .6; }
.it .th { width: 64px; height: 36px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line2); }
.hint { font-size: 14px; color: var(--mist); }
.pick { display: flex; gap: 6px; flex-wrap: wrap; }
.pick img { width: 64px; height: 36px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: .85; }
.pick img.on { border-color: var(--cyan); opacity: 1; }
.mod { background: var(--glass); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px; margin-top: 10px; }
.mod .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mod .num { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px; }
.mod .title { font-family: var(--head); font-weight: 800; font-size: 20px; }
.mod .sub { font-size: 14px; color: var(--mist); }
.mod.locked { opacity: .8; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #fff; color: #162C8C; padding: 12px 20px; border-radius: 999px; font-weight: 800; display: none; z-index: 60; box-shadow: 0 14px 30px -10px rgba(6,14,56,0.8); max-width: 90vw; text-align: center; }
.toast.on { display: block; }

/* Installed as an app (home screen) */
@media (display-mode: standalone) { .top { padding-top: env(safe-area-inset-top); } }

/* ---------- Comunidad ---------- */
.feed { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.composer { background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08)); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.composer textarea { width: 100%; min-height: 84px; background: rgba(255,255,255,0.95); color: #162C8C; border: 0; border-radius: 14px; padding: 13px 14px; font-size: 17px; font-weight: 600; resize: vertical; }
.composer input { width: 100%; background: rgba(255,255,255,0.95); color: #162C8C; border: 0; border-radius: 14px; padding: 12px 14px; font-size: 16px; font-weight: 600; margin-top: 8px; }
.composer .tools { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.composer .tools .sp { flex: 1; }
.composer .prev { position: relative; margin-top: 10px; display: none; }
.composer .prev img { max-height: 220px; border-radius: 14px; border: 1px solid var(--line2); }
.composer .prev button { position: absolute; top: 8px; left: 8px; }
.composer .hint { margin-top: 8px; }
.btn-post { background: var(--grad); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 800; font-size: 16px; box-shadow: 0 12px 30px -10px rgba(79,214,255,0.7), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-post:disabled { opacity: .6; }

.post { background: var(--glass); border: 1px solid var(--line2); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.post.pinned { border-color: rgba(255,123,194,0.7); background: linear-gradient(135deg, rgba(79,214,255,0.18), rgba(255,45,155,0.14)); }
.post .ph { display: flex; align-items: center; gap: 10px; }
.ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 17px; color: #fff; background: var(--grad); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45); flex: none; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.sm { width: 30px; height: 30px; font-size: 13px; }
.post .who { flex: 1; min-width: 0; }
.post .who b { display: block; font-size: 16px; }
.post .who small { color: var(--mist); font-size: 13px; font-weight: 600; }
.post .ptag { background: var(--grad); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.post .ptag.maria { background: var(--silver); color: #162C8C; }
.post .more { background: none; border: 0; color: var(--mist); font-size: 20px; padding: 4px 8px; }
.post .txt { margin-top: 10px; font-size: 17px; line-height: 1.5; color: #fff; white-space: pre-wrap; word-wrap: break-word; }
.post .txt a { color: #9FEFFF; text-decoration: underline; }
.post .media { margin-top: 10px; }
.post .media img.photo { width: 100%; border-radius: 16px; border: 1px solid var(--line2); max-height: 520px; object-fit: cover; }
.linkcard { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; background: var(--deep); border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; }
.linkcard .th { width: 120px; height: 120px; background: #0A1430 center/cover no-repeat; display: grid; place-items: center; font-size: 34px; }
.linkcard .lb { padding: 10px 12px 10px 0; min-width: 0; }
.linkcard .lb b { display: block; font-size: 15px; }
.linkcard .lb span { display: block; font-size: 13px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkcard .lb .go { display: inline-block; margin-top: 8px; background: var(--grad); color: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 800; }
.post .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.post .acts button { background: var(--deep); border: 1px solid var(--line2); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.post .acts button.on { background: linear-gradient(90deg, rgba(255,45,155,0.5), rgba(255,123,194,0.4)); border-color: rgba(255,123,194,0.8); }
.post .likers { font-size: 13px; color: var(--mist); margin-top: 8px; }
.cmts { margin-top: 12px; display: grid; gap: 8px; }
.cmt { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.cmt .bub { background: var(--deep); border: 1px solid var(--line2); border-radius: 14px; padding: 8px 12px; font-size: 15px; }
.cmt .bub b { font-size: 14px; display: block; }
.cmt .bub small { color: var(--mist); font-size: 12px; margin-left: 6px; font-weight: 600; }
.cmt .bub .x { float: right; background: none; border: 0; color: var(--mist); font-size: 14px; }
.cbox { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.cbox input { width: 100%; background: rgba(255,255,255,0.95); color: #162C8C; border: 0; border-radius: 999px; padding: 11px 14px; font-size: 15px; font-weight: 600; }
.cbox button { background: var(--silver); color: #162C8C; border: 0; border-radius: 999px; padding: 0 16px; font-weight: 800; font-size: 14px; }
.feed .empty { text-align: center; padding: 26px 16px; }
.bell { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(79,214,255,0.25), rgba(255,45,155,0.18)); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; font-size: 15px; }
.bell b { display: block; font-size: 15px; }
.bell span { color: var(--mist); font-size: 13px; }
.bell button { margin-left: auto; white-space: nowrap; }
.menu-pop { position: absolute; right: 0; top: 36px; background: #fff; color: #162C8C; border-radius: 14px; box-shadow: 0 16px 40px -10px rgba(6,14,56,0.8); padding: 6px; display: none; z-index: 5; min-width: 160px; }
.menu-pop button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; font-weight: 700; font-size: 15px; border-radius: 10px; color: #162C8C; }
.menu-pop button:hover { background: #EAF0FF; }
.rel { position: relative; }
/* dashboard preview */
.cpreview { display: grid; gap: 10px; }
.cpreview .row { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; background: var(--deep); border: 1px solid var(--line2); border-radius: 16px; padding: 10px 12px; }
.cpreview .row b { display: block; font-size: 15px; }
.cpreview .row span { display: block; font-size: 14px; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpreview .row > div { min-width: 0; overflow: hidden; }
.cpreview .row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post .who b, .linkcard .lb b { overflow-wrap: anywhere; }

.login .forgot { display: block; margin-top: 16px; font-size: 15px; color: var(--mist); font-weight: 600; }
.login .forgot b { color: #9FEFFF; text-decoration: underline; text-underline-offset: 3px; }
