/* Only profile content. Shared themes and navigation are left intact. */
html body .gm-profile-grid56 .np-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:6px;overflow:visible;width:100%;box-sizing:border-box}
html body .gm-profile-grid56 .np-tabs button{min-width:0;width:100%;min-height:38px;padding:8px 3px;white-space:normal;font-size:12px;line-height:1.3;border:1px solid #e3e7e4;border-radius:7px}
html body .gm-profile-grid56 .np-tabs button.active{border-bottom:2px solid #0aaa68}
html body .gm-profile-grid56 .np-panel{padding:0;min-height:0;height:auto}
html body .gm-profile-grid56 .np-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;align-items:start}
html body .gm-profile-grid56 .np-tile-wrap{position:relative;aspect-ratio:3/4;padding:0;margin:0;min-width:0;overflow:hidden;border-radius:0;background:transparent}
html body .gm-profile-grid56 .np-tile{position:relative;display:block;width:100%;aspect-ratio:3/4;padding:0;margin:0;overflow:hidden;border-radius:0}
html body .gm-profile-grid56 .np-tile-wrap>.np-tile{position:absolute;inset:0;height:100%;aspect-ratio:auto}
html body .gm-profile-grid56 .np-tile>video,html body .gm-profile-grid56 .np-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html body .gm-profile-grid56 #np-all .np-tile-count,html body .gm-profile-grid56 #np-videos .np-tile-count{display:none!important}
html body .gm-profile-grid56 .np-tile-wrap [aria-label="Nombre de vues"]::after{content:"";font-size:10px}
html body .gm-profile-grid56 .np-tile-wrap :is(a,button):focus-visible{outline:3px solid #20dbaa;outline-offset:-3px}
html body .gm-profile-grid56 .gm-story-cards-section,html body .gm-profile-grid56 .gm-story-cards-stage,html body .gm-profile-grid56 .gm-story-cards-rail{height:auto;min-height:0;padding-bottom:4px}
html body .gm-profile-grid56 .np-body>.gm-story-cards-section{margin-bottom:0}
html body .gm-profile-grid56 .gm-story-portrait{flex:0 0 100px;width:100px;min-width:100px;height:150px;min-height:0}
@media(max-width:600px){html body .gm-profile-grid56 .np-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}html body .gm-profile-grid56 .np-tabs button{grid-column:span 2}html body .gm-profile-grid56 .np-tabs button:nth-child(n+4){grid-column:span 3}html body .gm-profile-grid56 .np-body{padding-bottom:12px}}

/* Simple profile gallery: actions remain in the opened video player. */
html body .gm-profile-grid56 .np-grid .np-tile-wrap :is(.np-delete-media,.gm-media-options-button,.gm-feed-favorite,.gm-video-favorite,[data-post-save],[data-video-favorite]),
html body .gm-profile-grid56 .np-grid :is(.np-tile-type,.np-tile-count){display:none!important}
html body .gm-profile-grid56 .np-tile-wrap [aria-label="Nombre de vues"]::after{content:none!important}
html body .gm-profile-grid56 .np-tile-wrap [aria-label="Nombre de vues"]::before{content:"▷";font-size:16px;line-height:1}
html body .gm-profile-grid56 .np-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1px!important}
html body .gm-profile-grid56 .np-grid .np-empty{grid-column:1/-1}
