/* Perfiles premium (disenos/perfiles 6-10). */
.lwg-avatar { display: inline-flex; align-items: flex-end; justify-content: center; overflow: hidden; flex: none; vertical-align: middle; }
.lwg-avatar svg { width: 100%; height: 100%; display: block; }

.lwpf { position: fixed; inset: 0; z-index: 9000; display: none; color: #fff; font-family: Inter, -apple-system, "Segoe UI", sans-serif; }
.lwpf.open { display: block; }
.lwpf-bg { position: absolute; inset: 0; background: radial-gradient(1100px 700px at 50% 0%, rgba(229, 9, 20, .16), transparent 60%), #0a0a0a; }
.lwpf-logo { position: absolute; left: 60px; top: 36px; color: #e50914; font-weight: 900; font-size: 28px; }
.lwpf-main { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; padding: 24px; overflow-y: auto; }
.lwpf h1, .lwpf-h { font-family: "Bebas Neue", Inter, sans-serif; font-weight: 400; letter-spacing: .5px; line-height: .95; margin: 0; }
.lwpf h1 { font-size: 84px; text-align: center; }
.lwpf-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px; max-width: 1200px; }
.lwpf-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: pointer; outline: none; opacity: .85; transition: transform .15s, opacity .15s; }
.lwpf-tile b { font-size: 20px; font-weight: 600; color: #c9ccd4; }
.lwpf-tile:hover, .lwpf-tile:focus { opacity: 1; transform: scale(1.06); }
.lwpf-tile:hover b, .lwpf-tile:focus b { color: #fff; font-weight: 800; }
.lwpf-tile:hover .lwg-avatar, .lwpf-tile:focus .lwg-avatar { box-shadow: 0 0 0 4px #fff, 0 0 0 9px rgba(229, 9, 20, .55); }
.lwpf-av { position: relative; }
.lwpf-lock { position: absolute; right: -8px; bottom: -8px; width: 38px; height: 38px; border-radius: 50%; background: #111; border: 2px solid #333; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.lwpf-edit { position: absolute; inset: 0; border-radius: 22px; background: rgba(0, 0, 0, .5); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.lwpf-kid { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #FDE047; color: #111; font-weight: 900; font-size: 12px; }
.lwpf-add .lwpf-av { width: 160px; height: 160px; border-radius: 22px; border: 3px dashed #4b4f5a; display: flex; align-items: center; justify-content: center; }
.lwpf-plus { font-size: 64px; color: #8d92a0; }
.lwpf-btn { height: 50px; padding: 0 26px; border-radius: 12px; border: 0; font: 800 16px Inter, sans-serif; cursor: pointer; color: #fff; }
.lwpf-btn.w { background: #fff; color: #0a0a0a; }
.lwpf-btn.g { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.lwpf-btn.r { background: #E50914; }
.lwpf-btn:disabled { opacity: .5; cursor: default; }
.lwpf-btn:focus-visible, .lwpf-pick:focus-visible, .lwpf-col:focus-visible, .lwpf-tog:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lwpf-close { position: absolute; right: 30px; top: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 28px; cursor: pointer; }

.lwpf-modal-back { position: fixed; inset: 0; z-index: 9100; background: rgba(0, 0, 0, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.lwpf-modal { background: #131417; border: 1px solid #26272b; border-radius: 18px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); padding: 30px 32px; max-height: calc(100vh - 32px); overflow-y: auto; color: #fff; }
.lwpf-modal.small { width: 520px; max-width: 100%; }
.lwpf-modal.center { text-align: center; }
.lwpf-modal.big { width: 1180px; max-width: 100%; }
.lwpf-modal h2 { font-size: 22px; margin: 0 0 14px; }
.lwpf-modal h2.lwpf-h { font-size: 46px; }
.lwpf-ico { font-size: 48px; }
.lwpf-txt { color: #c9ccd4; font-size: 17px; line-height: 1.5; margin: 10px 0 0; }
.lwpf-txt b { color: #fff; }
.lwpf-err { color: #ff6b6b; font-size: 14px; min-height: 18px; margin: 10px 0 0; }
.lwpf-row2 { display: flex; gap: 12px; margin-top: 14px; }
.lwpf-modal.center .lwpf-row2 { justify-content: center; }
.lwpf-row2 .lwpf-btn.w { flex: 1; }
.lwpf-pin { width: 100%; height: 56px; border-radius: 12px; border: 1px solid #2c2d31; background: #0f1013; color: #fff; font-size: 28px; letter-spacing: 18px; text-align: center; }

.lwpf-ed { display: flex; gap: 38px; }
.lwpf-ed-l { width: 380px; flex: none; }
.lwpf-ed-r { flex: 1; border-left: 1px solid #26272b; padding-left: 38px; min-width: 0; }
.lwpf-ed-rh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.lwpf-ed-rh .lwpf-h { font-size: 38px; }
.lwpf-ed-rh span { color: #8d92a0; font-size: 13px; }
.lwpf-eb { font-size: 12px; letter-spacing: .3em; color: #F20D25; font-weight: 800; text-transform: uppercase; }
.lwpf-ed-l .lwpf-h { font-size: 52px; margin-top: 6px; }
.lwpf-prev { display: flex; justify-content: center; margin: 22px 0 18px; }
.lwpf-lab { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #c9ccd4; }
.lwpf-name, .lwpf-newpin { height: 48px; border-radius: 12px; border: 1px solid #2c2d31; background: #0f1013; color: #fff; font: 16px Inter, sans-serif; padding: 0 14px; width: 100%; }
.lwpf-name:focus, .lwpf-newpin:focus { border-color: #fff; outline: none; }
.lwpf-newpin { margin-top: 8px; letter-spacing: 8px; }
.lwpf-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #141518; border: 1px solid #232428; margin-top: 10px; font-size: 15px; }
.lwpf-sel { background: transparent; color: #c9ccd4; border: 0; font: 600 15px Inter, sans-serif; text-align: right; cursor: pointer; }
.lwpf-sel option { color: #000; }
.lwpf-tog { width: 52px; height: 30px; border-radius: 999px; background: #2c2d31; border: 0; position: relative; cursor: pointer; flex: none; }
.lwpf-tog.on { background: #1FA463; }
.lwpf-tog i { position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: left .15s; }
.lwpf-tog.on i { left: 26px; }
.lwpf-del { background: none; border: 0; color: #ff6b6b; font: 700 15px Inter, sans-serif; margin-top: 16px; cursor: pointer; width: 100%; }
.lwpf-th { font-size: 12px; font-weight: 800; color: #8d92a0; letter-spacing: .15em; text-transform: uppercase; margin: 16px 0 8px; }
.lwpf-avs { display: flex; flex-wrap: wrap; gap: 10px; }
.lwpf-pick { padding: 0; border: 0; background: none; border-radius: 12px; cursor: pointer; line-height: 0; }
.lwpf-pick.on .lwg-avatar { box-shadow: 0 0 0 3px #fff, 0 0 0 7px rgba(229, 9, 20, .55); }
.lwpf-cols { display: flex; flex-wrap: wrap; gap: 12px; }
.lwpf-col { width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; }
.lwpf-col.on { box-shadow: 0 0 0 3px #131417, 0 0 0 5px #fff; }

/* Barra de arriba: avatar y cambio rápido */
.lwgp-avatar.has-art { background: none !important; padding: 0; overflow: visible; }
.lwgp-avatar.has-art .lwg-avatar { border-radius: 8px !important; }
.lwpf-menu { padding: 4px 0 8px; border-bottom: 1px solid #26272b; margin-bottom: 6px; }
.lwpf-menu-h { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #8d92a0; padding: 6px 12px; }
.lwpf-mi { display: flex !important; align-items: center; gap: 10px; width: 100%; text-align: left; }
.lwpf-mi span { font-weight: 700; }
.lwpf-mi em { font-style: normal; padding: 2px 8px; border-radius: 999px; background: #FDE047; color: #111; font-weight: 900; font-size: 10px; }
.lwpf-mi i { margin-left: auto; color: #1FA463; font-style: normal; }
.lwpf-mi.on { background: #232326 !important; }
.lwpf-mi-man { color: #c9ccd4; }

/* Perfil de niños: logo LWG KIDS y acento amarillo */
body.lwgp-kids .lwgp-logo { color: #FDE047 !important; }
body.lwgp-kids .lwgp-logo span { color: #fff; }
body.lwgp-kids .lwgp-link.on { background: #FDE047 !important; color: #111 !important; }

@media (max-width: 760px) {
  .lwpf-logo { left: 20px; top: 20px; font-size: 20px; }
  .lwpf h1 { font-size: 46px; }
  .lwpf-main { justify-content: flex-start; padding-top: 90px; gap: 30px; }
  .lwpf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .lwpf-tile .lwg-avatar, .lwpf-add .lwpf-av { width: 130px !important; height: 130px !important; }
  .lwpf-tile b { font-size: 17px; }
  .lwpf-ed { flex-direction: column; gap: 18px; }
  .lwpf-ed-l { width: auto; }
  .lwpf-ed-r { border-left: 0; padding-left: 0; }
  .lwpf-ed-l .lwpf-h { font-size: 38px; }
  .lwpf-pick .lwg-avatar { width: 56px !important; height: 56px !important; }
  .lwpf-modal { padding: 22px 18px; }
}

/* Controles para padres en el editor */
.lwpf-kbox { margin-top: 12px; padding: 14px; border-radius: 14px; background: rgba(253, 224, 71, .06); border: 1px solid rgba(253, 224, 71, .35); }
.lwpf-kh { font-weight: 800; color: #FDE047; font-size: 15px; }
.lwpf-kbox .lwpf-opt { background: #10131a; }
.lwpf-opt small { display: block; color: #8d92a0; font-size: 12px; font-weight: 500; margin-top: 2px; }
.lwpf-seg { display: flex; gap: 4px; background: #0b0d12; border-radius: 999px; padding: 3px; }
.lwpf-seg button { border: 0; background: none; color: #c9ccd4; font: 700 12px Inter, sans-serif; padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lwpf-seg button.on { background: #FDE047; color: #1e1b4b; }
.lwpf-link { background: none; border: 0; color: #FDE047; font: 800 14px Inter, sans-serif; cursor: pointer; }
.lwpf-chpick { margin-top: 8px; }
.lwpf-chres, .lwpf-chsel { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lwpf-chres button, .lwpf-chsel button { border: 1px solid #2c2d31; background: #141518; color: #fff; border-radius: 999px; padding: 6px 10px; font: 600 12px Inter, sans-serif; cursor: pointer; }
.lwpf-chsel button { border-color: rgba(253, 224, 71, .5); }

/* ============ LWG KIDS (disenos/kids) ============ */
body.lwgp-kids { background: linear-gradient(160deg, #1e1b4b, #0c4a6e 55%, #064e3b) fixed !important; }
body.lwgp-kids #main-content, body.lwgp-kids .main-content, body.lwgp-kids #app { background: transparent !important; }
body.lwgp-kids .lwgp-nav { background: rgba(15, 23, 42, .65) !important; border-color: rgba(255, 255, 255, .12) !important; border-radius: 999px !important; }
body.lwgp-kids .lwgp-logo { font-family: Fredoka, Inter, sans-serif; }
body.lwgp-kids .lwgp-row-title, body.lwgp-kids .lwgp-hero-title { font-family: Fredoka, Inter, sans-serif !important; letter-spacing: 0 !important; }
body.lwgp-kids .lwgp-card, body.lwgp-kids .lwgp-card img { border-radius: 22px !important; }
body.lwgp-kids .lwgp-card:focus, body.lwgp-kids .lwgp-card:hover { box-shadow: 0 0 0 5px #FDE047 !important; }
body.lwgp-kids .lwgp-btn-play { background: #FDE047 !important; color: #1e1b4b !important; border-radius: 999px !important; }
body.lwgp-kids .lwgp-btn-info { border-radius: 999px !important; }
body.lwgp-kids .lwgp-eyebrow { color: #FDE047 !important; }
body.lwgp-kids .lwgp-rank, body.lwgp-kids .lwgp-badge-rank { display: none !important; }
.lwgk-hello { position: relative; z-index: 3; padding: 96px 64px 0; }
.lwgk-hello h1 { font-family: Fredoka, Inter, sans-serif; font-weight: 700; font-size: 64px; color: #FDE047; margin: 0; line-height: 1; text-shadow: 0 3px 14px rgba(0, 0, 0, .4); }
.lwgk-hello p { color: #e0f2fe; font-size: 22px; margin: 8px 0 0; }
body.lwgp-kids .lwgp-hero { margin-top: -40px; }
.lwgk-chtrack { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 14px; scrollbar-width: none; }
.lwgk-ch { flex: none; width: 200px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; padding: 0; position: relative; }
.lwgk-ch img { width: 200px; height: 124px; object-fit: contain; background: #fff; border-radius: 22px; padding: 18px 26px; box-sizing: border-box; display: block; }
.lwgk-ch:hover img, .lwgk-ch:focus img { box-shadow: 0 0 0 5px #FDE047; }
.lwgk-ch b { display: block; margin-top: 8px; font-size: 16px; }
.lwgk-live { position: absolute; left: 10px; top: 10px; background: #ef4444; color: #fff; font-weight: 900; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.lwgk-sports { padding: 96px 64px 60px; color: #fff; }
.lwgk-sports h1 { font-family: Fredoka, Inter, sans-serif; font-size: 60px; margin: 0; }
.lwgk-sub { color: #e0f2fe; font-size: 20px; margin: 6px 0 0; }
.lwgk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px; margin-top: 26px; }
.lwgk-poster { border: 0; background: none; color: #fff; text-align: left; cursor: pointer; padding: 0; }
.lwgk-poster img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 22px; display: block; background: #1e293b; }
.lwgk-poster:hover img, .lwgk-poster:focus img { box-shadow: 0 0 0 5px #FDE047; }
.lwgk-poster b { display: block; margin-top: 8px; font-size: 15px; }
.lwgk-livebox { margin-top: 34px; display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-radius: 26px; background: rgba(15, 23, 42, .72); border: 1px solid rgba(255, 255, 255, .14); }
.lwgk-live-ico { font-size: 54px; }
.lwgk-live-txt { flex: 1; }
.lwgk-live-txt h2 { font-family: Fredoka, Inter, sans-serif; font-size: 30px; margin: 0; }
.lwgk-live-txt p { color: #e0f2fe; margin: 6px 0 0; font-size: 17px; }
.lwgk-btn { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 900; font-size: 17px; border: 0; cursor: pointer; }
.lwgk-btn.y { background: #FDE047; color: #1e1b4b; }
.lwgk-btn.g { background: rgba(255, 255, 255, .14); border: 2px solid rgba(255, 255, 255, .25); color: #fff; }
@media (max-width: 760px) {
  .lwgk-hello { padding: 124px 16px 0; }
  .lwgk-hello h1 { font-size: 38px; }
  .lwgk-sports { padding: 80px 16px 40px; }
  .lwgk-sports h1 { font-size: 36px; }
  .lwgk-livebox { flex-direction: column; text-align: center; }
  .lwgk-ch, .lwgk-ch img { width: 150px; }
  .lwgk-ch img { height: 92px; }
}

/* LWG KIDS · Series (disenos/kids 13-15) */
.lwgk-series { color: #fff; padding-bottom: 60px; }
.lwgk-shero { position: relative; height: 470px; overflow: hidden; }
.lwgk-shero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); opacity: .85; }
.lwgk-shero > div { position: absolute; left: 64px; top: 140px; max-width: 760px; }
.lwgk-shero h1 { font-family: Fredoka, Inter, sans-serif; font-size: 62px; line-height: 1.05; margin: 10px 0 18px; text-shadow: 0 3px 14px rgba(0, 0, 0, .6); }
.lwgk-shead { padding: 110px 64px 0; }
.lwgk-shead.over { padding-top: 0; margin-top: -40px; position: relative; }
.lwgk-shead h1 { font-family: Fredoka, Inter, sans-serif; font-size: 52px; margin: 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lwgk-tag { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 800; font-size: 16px; color: #e0f2fe; font-family: Nunito, Inter, sans-serif; }
.lwgk-tag.y { background: #FDE047; color: #1e1b4b; }
.lwgk-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.lwgk-chip { border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #e0f2fe; font-weight: 800; font-size: 16px; }
.lwgk-chip.on { background: #FDE047; color: #1e1b4b; }
.lwgk-rowt { font-family: Fredoka, Inter, sans-serif; font-size: 28px; margin: 30px 64px 12px; }
.lwgk-track { display: flex; gap: 18px; overflow-x: auto; padding: 6px 64px 10px; scrollbar-width: none; }
.lwgk-track .lwgk-poster { flex: none; width: 170px; }
.lwgk-series.one .lwgk-track { flex-wrap: wrap; overflow: visible; }
.lwgk-sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 24px 22px; padding: 26px 64px 0; }
.lwgk-cont { flex: none; width: 260px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; padding: 0; }
.lwgk-cimg { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #1e293b; }
.lwgk-cimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lwgk-cont:hover .lwgk-cimg, .lwgk-cont:focus .lwgk-cimg { box-shadow: 0 0 0 5px #FDE047; }
.lwgk-cont b { display: block; margin-top: 8px; font-size: 16px; }
.lwgk-ep { position: absolute; left: 10px; top: 10px; background: rgba(15, 23, 42, .85); font-weight: 900; font-size: 13px; font-style: normal; padding: 4px 10px; border-radius: 999px; }
.lwgk-bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 7px; border-radius: 9px; background: rgba(0, 0, 0, .55); }
.lwgk-bar i { display: block; height: 100%; border-radius: 9px; background: #FDE047; }
.lwgk-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 4px; }
.lwgk-tags span { padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.lwgk-tags .y { background: #FDE047; color: #1e1b4b; }
.lwgk-tags .g { background: #22c55e; color: #052e16; }
.lwgk-next { position: absolute; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: rgba(15, 23, 42, .94); border: 1px solid rgba(255, 255, 255, .18); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.lwgk-next small { display: block; font-size: 12px; font-weight: 900; letter-spacing: .1em; color: #FDE047; }
.lwgk-next b { display: block; font-size: 16px; margin-top: 2px; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lwgk-next button { border: 0; cursor: pointer; border-radius: 999px; padding: 10px 16px; font-weight: 900; background: rgba(255, 255, 255, .14); color: #fff; }
.lwgk-next button.y { background: #FDE047; color: #1e1b4b; }
@media (max-width: 720px) {
  .lwgk-shero { height: 360px; }
  .lwgk-shero > div { left: 16px; top: 130px; right: 16px; }
  .lwgk-shero h1 { font-size: 34px; }
  .lwgk-shead { padding: 124px 16px 0; }
  .lwgk-shead.over { padding-top: 0; }
  .lwgk-shead h1 { font-size: 30px; }
  .lwgk-rowt { margin: 24px 16px 10px; font-size: 22px; }
  .lwgk-track { padding: 6px 16px 10px; }
  .lwgk-track .lwgk-poster { width: 120px; }
  .lwgk-sgrid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); padding: 20px 16px 0; gap: 16px 12px; }
  .lwgk-cont { width: 200px; }
  .lwgk-next { left: 10px; right: 10px; bottom: 10px; flex-wrap: wrap; }
}

/* Idioma de la app en el menú del perfil */
.lwpf-lang { padding: 6px 12px 10px; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 4px; }
.lwpf-lang-b { display: flex; gap: 6px; margin-top: 6px; }
.lwpf-lang-b button { flex: 1; border: 0; cursor: pointer; padding: 8px 0; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 13px Inter, sans-serif; }
.lwpf-lang-b button.on { background: #fff; color: #111; }
