/* Instagram block on the homepage. Pictures are ours. The player stays on this page. */
.ig-rows{display:flex;flex-direction:column;gap:22px}
.ig-profile{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:0 0 18px}
.ig-profile-sm{gap:10px 14px;margin:0 0 8px}
.ig-profile-sm .ig-avatar{width:40px;height:40px}
.ig-profile-sm .ig-name{font-size:16px}
.ig-profile-sm .ig-follow{font-size:13px;padding:6px 12px}
.ig-strip{display:flex;gap:8px;overflow-x:auto;padding:0 0 8px;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.ig-strip .ig-tile{flex:0 0 130px;width:130px;scroll-snap-align:start}
@media (min-width:800px){.ig-strip .ig-tile{flex:0 0 166px;width:166px}}
.ig-avatar{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#e9ecee}
.ig-name{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:20px;text-decoration:none}
.ig-mark{width:24px;height:24px;flex:0 0 auto;display:block}
.ig-profile-sm .ig-mark{width:24px;height:24px}
.ig-stat{min-width:64px}
.ig-stat b{display:block;font-size:20px;line-height:1.1}
.ig-stat span{display:block;color:#64748b;font-size:14px;font-weight:600}
.ig-follow{display:inline-block;background:#0095f6;color:#fff;text-decoration:none;font-weight:700;font-size:15px;padding:8px 18px;border-radius:8px}
.ig-follow:hover{filter:brightness(1.08)}
.ig-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
@media (min-width:800px){.ig-grid{grid-template-columns:repeat(4,1fr);gap:8px}}
.ig-tile{position:relative;display:block;padding:0;border:0;background:#111;cursor:pointer;overflow:hidden;aspect-ratio:9/16}
.ig-tile[hidden]{display:none}
.ig-tile img{width:100%;height:100%;object-fit:cover;object-position:center}
a.ig-tile{text-decoration:none;color:#fff}
.ig-offsite-label{position:absolute;left:0;right:0;bottom:0;padding:7px 4px;background:rgba(0,0,0,.62);color:#fff;font:700 11px/1.15 Inter,system-ui,sans-serif;text-align:center}
.ig-more-row{text-align:center;margin:18px 0 0}
.ig-more{background:#fff;color:#000;border:3px solid #000;font:800 18px/1 Inter,system-ui,sans-serif;padding:14px 28px;cursor:pointer}
.ig-more[hidden]{display:none}
.ig-badge{position:absolute;top:8px;right:8px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);border-radius:6px}
.ig-hover{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;padding:14px;background:rgba(0,0,0,.55);color:#fff;text-align:left;opacity:0}
.ig-counts{display:flex;gap:14px;font-weight:800;font-size:16px}
.ig-hover-cap{font-size:14px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media (hover:hover){
  .ig-tile:hover .ig-hover,.ig-tile:focus-visible .ig-hover{opacity:1}
}
.ig-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ig-book{text-align:center;margin:28px 0 0}
.ig-empty{margin:0}
.ig-modal{position:fixed;inset:0;z-index:400;background:rgba(0,0,0,.94);display:flex;align-items:flex-start;justify-content:center;padding:64px 12px 28px;overflow:auto}
.ig-modal[hidden]{display:none}
.ig-panel{position:relative;max-width:100%}
.ig-stage video,.ig-stage img{display:block;max-width:min(92vw,420px);max-height:min(82vh,860px);width:auto;height:auto;margin:0 auto;background:#000;object-fit:contain}
.ig-offsite-view{display:none;position:relative;max-width:min(92vw,420px);margin:0 auto}
.ig-offsite-view img{display:block;width:100%;max-height:min(82vh,860px);object-fit:contain;background:#000}
.ig-out{position:absolute;left:0;right:0;bottom:0;display:block;padding:14px 10px;background:rgba(0,0,0,.62);color:#fff;text-align:center;text-decoration:none;font:800 16px/1.2 Inter,system-ui,sans-serif}
.ig-embed{display:none;margin:0 auto;overflow:hidden;background:#111}
.ig-embed iframe{display:block;border:0;background:#111}
.ig-cap{max-width:min(96vw,640px);margin:12px auto 0;color:#fff;font-size:16px;line-height:1.4;white-space:pre-wrap}
.ig-close,.ig-prev,.ig-next{position:absolute;z-index:2;background:#fff;color:#000;border:3px solid #000;border-radius:10px;font:800 16px/1 Inter,system-ui,sans-serif;cursor:pointer}
.ig-close{top:12px;right:12px;position:fixed;min-width:72px;min-height:44px}
.ig-prev,.ig-next{top:50%;transform:translateY(-50%);min-width:64px;min-height:48px}
.ig-prev{left:12px;position:fixed}
.ig-next{right:12px;position:fixed}
body.ig-open .book-bar,body.ig-open .ig-book{visibility:hidden}
@media (max-width:700px){
  .ig-prev{left:8px}
  .ig-next{right:8px}
}
