/* Pagina de un post de Community · 2026-11-08 (JP, paquete 71). Includes/Community/post-view.php
   A "El tuyo, ordenado": toda la pantalla sin scroll y sin barra de abajo. Noticias: articulo para leer. */
html body .pv{--side:16px;--ink:#111;--ink2:#3d3d44;--mut:#6b6b73;--line:#ececef;--soft:#f1f1f5;--red:#d64541;
  font-family:'Montserrat',sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased;background:#fff;text-align:left;box-sizing:border-box;margin:0 auto;width:100%}
html body .pv *{box-sizing:border-box}
html body .pv a{color:inherit;text-decoration:none !important}
html body .pv h1,html body .pv h2,html body .pv p{margin:0;padding:0;font-family:'Montserrat',sans-serif}
html body .pv button{font-family:inherit;border:0;background:none;padding:0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}
.pv-i{width:22px;height:22px;display:block;flex:none}
.pv-si{width:14px;height:14px;display:block;flex:none;stroke-width:1.6}
.pv-ri{width:18px;height:18px;display:block;flex:none;color:var(--mut)}

/* titulo de arriba: flecha de regreso estandar (28 px, punta en el margen) + categoria 22 px + compartir */
html body .pv-top{display:flex;align-items:center;height:64px;padding:0 var(--side);flex:none;gap:0}
html body .pv-back{width:44px;height:44px;margin-left:-17px;border-radius:50%;display:grid;place-items:center;flex:none}
html body .pv-back .pv-i{width:28px;height:28px;stroke:#111;stroke-width:2}
html body .pv-top h1{flex:1;min-width:0;margin-left:12px !important;padding-top:1.4px !important;font-size:22px !important;font-weight:600 !important;letter-spacing:-.02em !important;line-height:1.2 !important;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .pv-share{width:44px;height:44px;margin-right:-10px;border-radius:50%;display:grid;place-items:center;flex:none}
html body .pv-share .pv-i{width:24px;height:24px}

/* ---------- A: toda la pantalla ---------- */
/* 2026-11-09 (72): pegada a los 4 bordes de lo que se ve (position:fixed) en vez de 100vh/100dvh. En algunos telefonos
   100dvh incluia la zona de la barra de abajo y el boton quedaba escondido; si no cabe, la pagina se puede deslizar. */
html body .pv-full{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;height:auto;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
html body:has(.pv-full){overflow:hidden;height:100%}
html body .pv-full .pv-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:0 var(--side) calc(16px + env(safe-area-inset-bottom))}
html body .pv-media{position:relative;flex:1;min-height:160px;border-radius:8px;overflow:hidden;background:#f4f4f7;-webkit-user-select:none;user-select:none;touch-action:manipulation}
html body .pv-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;-webkit-user-drag:none}
html body .pv-noimg{position:absolute;inset:0;display:grid;place-items:center;color:#c4c4cc}
html body .pv-noimg .pv-i{width:48px;height:48px;stroke-width:1.3}
html body .pv-pop{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;opacity:0;z-index:2}
html body .pv-pop svg{width:96px;height:96px;fill:#fff;filter:drop-shadow(0 4px 18px rgba(0,0,0,.25))}
html body .pv-pop.on{animation:pvpop .75s ease-out}
@keyframes pvpop{0%{opacity:0;transform:scale(.5)}18%{opacity:.95;transform:scale(1.08)}35%{transform:scale(.96)}70%{opacity:.95;transform:scale(1)}100%{opacity:0;transform:scale(1.04)}}
@media (prefers-reduced-motion:reduce){html body .pv-pop.on{animation:pvfade .7s}@keyframes pvfade{0%,70%{opacity:.9}100%{opacity:0}}}
html body .pv-info{flex:none;padding-top:14px}
html body .pv .pv-title{font-size:21px !important;font-weight:550 !important;letter-spacing:-.5px !important;line-height:1.24 !important;      /* 2026-11-09 (JP): 21 px, -0.5 px */
  color:var(--ink);overflow-wrap:anywhere}
html body .pv-full .pv-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .pv .pv-desc{margin-top:4px !important;font-size:14.5px !important;font-weight:450 !important;letter-spacing:-.45px !important;line-height:1.52 !important;color:#323232;      /* JP: la de antes, 14.5 px / 450 */
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
html body .pv .pv-row{display:flex;align-items:center;gap:8px;margin-top:8px !important;font-size:14px !important;font-weight:500 !important;line-height:1.35 !important;color:var(--ink)}
html body .pv .pv-row span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .pv-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
html body .pv-chip{display:flex;align-items:center;gap:10px;min-width:0}
html body .pv-chip img,html body .pv-av{width:32px;height:32px;border-radius:50%;object-fit:cover;flex:none;background:#f1f1f5;display:grid;place-items:center;color:#9a9aa2}
html body .pv-av .pv-i{width:18px;height:18px}
html body .pv-who{min-width:0;display:block;line-height:1.25}
html body .pv-who b{display:block;font-size:14px;font-weight:500;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .pv-who small{display:block;font-size:12px;font-weight:500;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .pv-stats{display:flex;gap:14px;flex:none;color:var(--mut)}
html body .pv-stats span{display:inline-flex;align-items:center;gap:4px}
html body .pv-stats b{font-size:12px;font-weight:500;color:var(--mut);font-variant-numeric:tabular-nums}
html body .pv[data-liked="1"] .pv-st-like{color:var(--red)}
html body .pv[data-liked="1"] .pv-st-like .pv-si{fill:var(--red)}

/* botones: principal negro + ♥ redondo (+ calendario en eventos) */
html body .pv-actions{display:flex;gap:10px;align-items:center;margin-top:14px}
html body .pv .pv-btn{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 18px;border-radius:12px;background:#111;color:#fff !important;font-size:14px;font-weight:600;line-height:1;white-space:nowrap}      /* JP: 14 px, sin icono */
html body .pv .pv-btn .pv-i{width:18px;height:18px}
html body .pv .pv-main{flex:1;min-width:0}
html body .pv .pv-main span{overflow:hidden;text-overflow:ellipsis}
html body .pv .pv-btn2{background:var(--soft);color:var(--ink) !important;border-radius:999px}
html body .pv .pv-btn:active,html body .pv .pv-like:active,html body .pv .pv-round:active{transform:scale(.97)}
html body .pv .pv-like,html body .pv .pv-round{width:46px;height:46px;border-radius:50%;background:var(--soft);display:grid;place-items:center;flex:none;color:var(--ink);transition:background .2s,color .2s}
html body .pv .pv-like[aria-pressed="true"]{background:#fde8e8;color:var(--red)}
html body .pv .pv-like[aria-pressed="true"] .pv-i{fill:var(--red)}
html body .pv .pv-like.bump .pv-i{animation:pvbump .35s ease-out}
@keyframes pvbump{40%{transform:scale(1.25)}}
html body .pv-ic-pause{display:none !important}
html body .pv.playing .pv-ic-play{display:none !important}
html body .pv.playing .pv-ic-pause{display:block !important}

/* cancion: barra de avance */
html body .pv-prog{margin-top:12px}
html body .pv-bar{position:relative;height:4px;border-radius:2px;background:var(--line);cursor:pointer;touch-action:none}
html body .pv-bar:before{content:"";position:absolute;left:0;right:0;top:-10px;bottom:-10px}
html body .pv-bar i{position:absolute;left:0;top:0;bottom:0;width:0;border-radius:2px;background:#111}
html body .pv-times{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;font-weight:500;color:var(--mut);font-variant-numeric:tabular-nums}

/* no existe */
html body .pv-gone{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 32px 80px}
html body .pv-gone-ic{width:72px;height:72px;border-radius:50%;background:#f4f4f7;display:grid;place-items:center;color:#9a9aa2;margin-bottom:16px}
html body .pv-gone-ic .pv-i{width:30px;height:30px}
html body .pv-gone h2{font-size:20px !important;font-weight:600 !important;line-height:1.3 !important}
html body .pv-gone p{margin-top:6px !important;font-size:14px !important;font-weight:500 !important;color:var(--mut);line-height:1.5 !important;max-width:320px}
html body .pv-gone .pv-btn{margin-top:20px;min-width:160px}
html body .pv-missing{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1;display:flex;flex-direction:column;overflow-y:auto}

/* ---------- Noticia: articulo para leer ---------- */
html body .pv-article{padding-bottom:calc(40px + env(safe-area-inset-bottom))}
html body .pv-article .pv-body{padding:0 var(--side)}
html body .pv-article .pv-lbl{margin-top:6px;font-size:12px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:#6a6cc6}
html body .pv-article .pv-title{margin-top:8px !important;font-size:28px !important;letter-spacing:-.03em !important;line-height:1.18 !important}
html body .pv-article .pv-chip{margin-top:14px}
html body .pv-article .pv-media{flex:none;min-height:0;aspect-ratio:16/10;margin-top:18px}
html body .pv-article .pv-text{margin-top:18px;font-size:17px;font-weight:500;line-height:1.65;color:var(--ink);overflow-wrap:anywhere}
html body .pv-article .pv-actions{margin-top:22px}
html body .pv-article .pv-foot{margin-top:22px;border-top:1px solid var(--line);padding-top:14px}

/* ---------- tablet y computadora ---------- */
@media (min-width:551px){html body .pv-top{height:100px}}      /* titulo de pagina centrado a 50 px desde 551 px (regla) */
@media (min-width:768px){
  html body .pv{--side:50px}
  html body .pv-article .pv-body{max-width:720px;margin:0 auto;padding:0}
  html body .pv-article .pv-title{font-size:34px !important}
  html body .pv-full .pv-body{padding-bottom:28px}
}
@media (min-width:992px){
  html body .pv{--side:75px}
  html body .pv-full .pv-body{flex-direction:row;align-items:stretch;gap:40px;padding:0 var(--side) 40px}
  html body .pv-full .pv-media{flex:1 1 auto;min-width:0}
  html body .pv-full .pv-info{flex:0 0 380px;display:flex;flex-direction:column;justify-content:flex-end;padding-top:0}
  html body .pv-full .pv-title{font-size:30px !important;-webkit-line-clamp:3}
  html body .pv-full .pv-desc{-webkit-line-clamp:6}
  html body .pv-full .pv-meta{flex-direction:column;align-items:flex-start;gap:14px;margin-top:18px}
  html body .pv-article .pv-title{font-size:38px !important}
}
@media (hover:hover){html body .pv .pv-like:hover,html body .pv .pv-round:hover,html body .pv-back:hover,html body .pv-share:hover{background:#ececf1}html body .pv .pv-btn:not(.pv-btn2):hover{background:#000}}
