/* =========================================================================
   Shine Wave Electra – Instagram-style gallery
   ========================================================================= */
.ig-page {
  --ig-text: #262626;
  --ig-muted: #737373;
  --ig-line: #dbdbdb;
  --ig-soft: #fafafa;
  --ig-like: #ed4956;
  --ig-accent: #007c9c;
  --ig-accent-dark: #00657f;
  --ig-radius: 10px;
  max-width: 935px;
  margin: 0 auto;
  padding: 28px 16px 64px;
  color: var(--ig-text);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
}
.ig-page *, .ig-dialog * { box-sizing: border-box; }
.ig-page, .ig-dialog, .ig-toast { letter-spacing: normal; }
.ig-page a { color: inherit; }
.ig-page p { font-family: inherit; text-align: left; }
.ig-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.ig-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 16px; border-radius: 8px; border: 0;
  font: 600 14px/1 "Roboto", sans-serif; cursor: pointer; text-decoration: none !important;
  transition: background-color .15s, opacity .15s; white-space: nowrap;
}
.ig-btn--primary { background: var(--ig-accent, #007c9c); color: #fff !important; }
.ig-btn--primary:hover { background: var(--ig-accent-dark, #00657f); }
.ig-btn--facebook-follow { background: #1877f2; color: #fff !important; }
.ig-btn--facebook-follow:hover { background: #166fe5; color: #fff !important; }
.ig-btn--linkedin-follow { background: #0a66c2; color: #fff !important; }
.ig-btn--linkedin-follow:hover { background: #095196; color: #fff !important; }
.ig-btn--ghost { background: #efefef; color: #262626 !important; }
.ig-btn--ghost:hover { background: #dbdbdb; }
.ig-btn--block { width: 100%; height: 40px; }
.ig-btn[disabled] { opacity: .5; cursor: default; }
.ig-link { background: none; border: 0; padding: 0; color: #007c9c; font-weight: 600; cursor: pointer; }
.ig-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 8px; margin: 0; border: 0; background: none;
  color: #262626; cursor: pointer; border-radius: 50%;
}
.ig-icon-btn:hover { color: #737373; }
.ig-icon-btn:focus-visible, .ig-btn:focus-visible, .ig-tile:focus-visible, .ig-page a:focus-visible { outline: 2px solid #0092b7; outline-offset: 2px; }
.ig-svg { width: 24px; height: 24px; display: block; }

/* ---------- profile header ---------- */
.ig-profile { display: flex; align-items: center; gap: 28px; padding: 8px 0 28px; border-bottom: 1px solid #dbdbdb; }
.ig-avatar--ring {
  position: relative; display: inline-block; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 210deg, #fcc900, #19a959, #0092b7, #382893, #fcc900);
  flex: 0 0 auto;
}
.ig-avatar--ring img { display: block; border-radius: 50%; border: 3px solid #fff; background: #fff; }
.ig-profile__avatar img { width: 150px; height: 150px; }
.ig-profile__info { flex: 1 1 auto; min-width: 0; }
.ig-profile__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.ig-profile__handle { font: 400 22px/1.2 "Roboto", sans-serif; margin: 0; color: #262626; text-transform: none; letter-spacing: 0; }
.ig-profile__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ig-auth-chip { display: inline-flex; align-items: center; gap: 8px; }
.ig-auth-chip__name { font-weight: 600; }
.ig-profile__stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 16px; }
.ig-profile__stats b { font-weight: 600; }
.ig-profile__name { font-weight: 600; margin: 0 0 4px; font-size: 14px; color: #262626; }
.ig-profile__bio { margin: 0; color: #262626; font-size: 14px; line-height: 20px; max-width: 520px; }

/* ---------- tabs ---------- */
.ig-tabs { display: flex; justify-content: center; gap: 56px; margin-bottom: 18px; }
.ig-tabs button {
  display: inline-flex; align-items: center; gap: 6px; height: 52px; padding: 0 2px;
  border: 0; border-top: 1px solid transparent; margin-top: -1px; background: none; cursor: pointer;
  font: 600 12px/1 "Roboto", sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #737373;
}
.ig-tabs button svg { width: 14px; height: 14px; }
.ig-tabs button[aria-selected="true"] { color: #262626; border-top-color: #262626; }
.ig-tagbar { text-align: center; color: #737373; margin: 0 0 18px; }
.ig-tagbar a { color: #007c9c; font-weight: 600; }

/* ---------- feed ---------- */
.ig-feed { max-width: 470px; margin: 0 auto; }
.ig-feed[hidden], .ig-grid[hidden] { display: none !important; }
.ig-post {
  background: #fff; border: 1px solid #dbdbdb; border-radius: var(--ig-radius, 10px);
  margin: 0 0 24px; overflow: hidden;
}
.ig-post__head { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 12px; }
.ig-post__head .ig-avatar--ring { padding: 2px; }
.ig-post__head .ig-avatar--ring img { width: 32px; height: 32px; border-width: 2px; }
.ig-post__who { display: flex; flex-direction: column; min-width: 0; }
.ig-handle { font-weight: 600; color: #262626 !important; text-decoration: none !important; }
.ig-handle:hover { color: #737373 !important; }
.ig-post__loc { font-size: 12px; color: #262626; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-post__dot { color: #737373; }
.ig-post__time { color: #737373 !important; text-decoration: none !important; }
.ig-post__time:hover { text-decoration: underline !important; }
.ig-post__more { margin-left: auto; }

/* media carousel */
.ig-media { position: relative; background: #000; aspect-ratio: var(--ig-ratio, 1); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.ig-media__track {
  display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
}
.ig-media__track::-webkit-scrollbar { display: none; }
.ig-media__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; background: #000; }
.ig-media__slide img, .ig-media__slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-media__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.85); color: #262626; font: 700 22px/28px Arial, sans-serif;
  display: flex; align-items: center; justify-content: center; padding: 0 0 3px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.25); z-index: 2; opacity: .95;
}
.ig-media__nav[hidden] { display: none; }
.ig-media__nav--prev { left: 10px; }
.ig-media__nav--next { right: 10px; }
.ig-media__count {
  position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 12px; z-index: 2;
  background: rgba(26,26,26,.75); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none;
}
.ig-sound {
  position: absolute; right: 12px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(26,26,26,.75); color: #fff; padding: 6px; cursor: pointer; z-index: 2;
}
.ig-sound .ig-svg { width: 18px; height: 18px; }
.ig-sound .ig-svg + .ig-svg, .ig-sound[aria-pressed="true"] .ig-svg:first-child { display: none; }
.ig-sound[aria-pressed="true"] .ig-svg + .ig-svg { display: block; }
.ig-video-badge { position: absolute; top: 12px; left: 12px; color: #fff; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); pointer-events: none; }
.ig-video-badge .ig-svg { width: 20px; height: 20px; }
.ig-heart-pop {
  position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px;
  color: #fff; pointer-events: none; opacity: 0; transform: scale(0); z-index: 3;
  filter: drop-shadow(0 0 12px rgba(0,0,0,.35));
}
.ig-heart-pop .ig-svg { width: 100px; height: 100px; }
.ig-heart-pop .ig-svg--outline { display: none; }
.ig-heart-pop.is-playing { animation: ig-heart 1s ease-out both; }
@keyframes ig-heart {
  0% { opacity: 0; transform: scale(0); }
  15% { opacity: .95; transform: scale(1.2); }
  30% { transform: scale(.95); }
  45%, 80% { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* actions */
.ig-actions { position: relative; display: flex; align-items: center; padding: 4px 4px 0; }
.ig-like .ig-svg--filled { display: none; color: var(--ig-like, #ed4956); }
.ig-like.is-liked .ig-svg--outline { display: none; }
.ig-like.is-liked .ig-svg--filled { display: block; }
.ig-like.is-animating .ig-svg { animation: ig-like-bounce .45s ease; }
@keyframes ig-like-bounce { 0% { transform: scale(1); } 25% { transform: scale(1.25); } 50% { transform: scale(.92); } 100% { transform: scale(1); } }
.ig-dots { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.ig-dots span { width: 6px; height: 6px; border-radius: 50%; background: #a8a8a8; transition: background-color .2s; }
.ig-dots span.is-active { background: #0092b7; }
.ig-likes { padding: 2px 16px 6px; font-weight: 600; }
.ig-caption { padding: 0 16px; line-height: 20px; word-wrap: break-word; overflow-wrap: anywhere; }
.ig-caption.is-clamped .ig-caption__inner { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-caption.is-clamped .ig-caption__text br { display: none; }
.ig-caption__more { border: 0; background: none; padding: 0; color: #737373; cursor: pointer; font-size: 14px; }
.ig-tag { color: #00376b !important; text-decoration: underline !important; text-decoration-color: rgba(0,55,107,.35) !important; text-underline-offset: 2px; }
.ig-tag:hover { text-decoration-color: currentColor !important; }
.ig-view-comments { display: block; border: 0; background: none; padding: 6px 16px 0; color: #737373; cursor: pointer; font-size: 14px; text-align: left; }
.ig-comments { list-style: none; margin: 0; padding: 4px 16px 0; }
.ig-comment { display: flex; gap: 10px; padding: 4px 0; line-height: 18px; }
.ig-comment__avatar {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: none;
  align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff;
  background: hsl(var(--hue, 200), 55%, 45%);
}
.ig-comment__body { min-width: 0; overflow-wrap: anywhere; }
.ig-comment__name { font-weight: 600; }
.ig-comment__meta { display: none; gap: 12px; font-size: 12px; color: #737373; margin-top: 2px; }
.ig-comment__del { border: 0; background: none; padding: 0; color: #737373; font-size: 12px; font-weight: 600; cursor: pointer; }
.ig-comment__del:hover { color: #ed4956; }
.ig-comment.is-new { animation: ig-fade .4s ease; }
@keyframes ig-fade { from { background: #e8f6fa; } to { background: transparent; } }
/* full comment style (post page + dialog) */
.ig-comments--full .ig-comment, .ig-comments--dialog .ig-comment { padding: 8px 0; }
.ig-comments--full .ig-comment__avatar, .ig-comments--dialog .ig-comment__avatar { display: inline-flex; width: 32px; height: 32px; font-size: 14px; }
.ig-comments--full .ig-comment__meta, .ig-comments--dialog .ig-comment__meta { display: flex; }
.ig-comments-off { padding: 8px 16px 14px; margin: 0; color: #737373; }
.ig-add-comment { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding: 8px 16px 10px; border-top: 1px solid #efefef; }
.ig-add-comment textarea {
  flex: 1 1 auto; border: 0; resize: none; outline: none; background: transparent; padding: 6px 0;
  font: 14px/18px "Roboto", sans-serif; color: #262626; max-height: 90px; min-height: 30px;
}
.ig-add-comment button { border: 0; background: none; color: #007c9c; font-weight: 600; cursor: pointer; padding: 6px 0; }
.ig-add-comment button[disabled] { opacity: .35; cursor: default; }
.ig-add-comment.is-busy { opacity: .6; pointer-events: none; }

/* ---------- grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; background: #efefef; overflow: hidden; }
.ig-tile img, .ig-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tile__badge { position: absolute; top: 8px; right: 8px; color: #fff; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); }
.ig-tile__badge .ig-svg { width: 20px; height: 20px; }
.ig-tile__stats {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 24px;
  background: rgba(0,0,0,.35); color: #fff; font-weight: 700; font-size: 16px; opacity: 0; transition: opacity .15s;
}
.ig-tile__stats span { display: inline-flex; align-items: center; gap: 6px; }
.ig-tile__stats .ig-svg { width: 20px; height: 20px; }
.ig-tile__stats .ig-svg--outline { display: none; }
.ig-tile:hover .ig-tile__stats, .ig-tile:focus-visible .ig-tile__stats { opacity: 1; }

/* ---------- loading / empty / pager ---------- */
.ig-loader { display: flex; justify-content: center; padding: 20px 0; }
.ig-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #dbdbdb; border-top-color: #737373; animation: ig-spin .8s linear infinite; }
@keyframes ig-spin { to { transform: rotate(360deg); } }
.ig-pager { text-align: center; padding: 8px 0 0; }
.ig-pager a { color: #007c9c; font-weight: 600; }
.js-gallery .ig-pager { display: none; }
.ig-end { text-align: center; color: #737373; padding: 16px 0 0; }
.ig-empty { text-align: center; padding: 48px 16px; color: #262626; }
.ig-empty svg { width: 64px; height: 64px; color: #262626; }
.ig-empty h2 { font: 300 28px/1.2 "Roboto", sans-serif; margin: 16px 0 8px; text-transform: none; }
.ig-empty p { color: #737373; margin: 0; }
.ig-empty a { color: #007c9c; }

/* ---------- single post page ---------- */
.ig-page--post { max-width: 700px; }
.ig-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 8px; color: #737373; font-size: 13px; }
.ig-crumbs li + li:before { content: "›"; margin-right: 6px; color: #a8a8a8; }
.ig-crumbs a { color: #007c9c !important; }
.ig-post-title { font: 600 22px/1.3 "Kanit", "Roboto", sans-serif; margin: 0 0 16px; color: #262626; text-transform: none; }
.ig-post--full { max-width: 640px; margin-left: auto; margin-right: auto; }
.ig-more { margin-top: 36px; }
.ig-more h2 { font: 600 16px/1.3 "Roboto", sans-serif; color: #737373; margin: 0 0 14px; text-transform: none; }
.ig-more h2 a { color: #262626 !important; }
.ig-more__all { text-align: center; margin: 20px 0 0; }

/* ---------- dialogs ---------- */
.ig-dialog {
  margin: auto; border: 0; padding: 0; border-radius: 14px; background: #fff; color: #262626;
  max-width: calc(100vw - 32px); max-height: calc(100vh - 48px); box-shadow: 0 10px 40px rgba(0,0,0,.25);
  font-family: "Roboto", -apple-system, "Segoe UI", sans-serif; font-size: 14px; line-height: 18px;
  contain: layout style; will-change: transform, opacity;
}
.ig-dialog::backdrop { background: rgba(0,0,0,.6); }
.ig-dialog[open] { animation: ig-pop .18s ease-out; }
@keyframes ig-pop { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
.ig-dialog__x { border: 0; background: none; font-size: 28px; line-height: 1; width: 40px; height: 40px; cursor: pointer; color: #262626; }
.ig-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1000000; contain: strict; }
.ig-backdrop[hidden] { display: none; }
body.ig-modal-open { overflow: hidden; }
.ig-dialog--auth {
  position: fixed; inset: 0; margin: auto; z-index: 1000010; height: fit-content;
  width: 400px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
}
.ig-dialog--auth > .ig-dialog__x { position: absolute; top: 6px; right: 6px; }
.ig-auth { padding: 30px 32px 24px; text-align: center; }
.ig-auth__logo { width: 180px; height: auto; margin: 0 auto 10px; display: block; }
.ig-auth__title { font: 600 16px/1.35 "Roboto", sans-serif; color: #737373; margin: 0 0 18px; text-transform: none; }
.ig-auth__tabs { display: flex; border-bottom: 1px solid #dbdbdb; margin-bottom: 16px; }
.ig-auth__tabs button { flex: 1; border: 0; background: none; padding: 10px 0; font-weight: 600; color: #737373; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ig-auth__tabs button[aria-selected="true"] { color: #262626; border-bottom-color: #262626; }
.ig-auth__social { margin-bottom: 14px; }
.ig-google-wrap { display: flex; flex-direction: column; align-items: center; }
.ig-google-slot { width: 100%; display: flex; justify-content: center; min-height: 40px; }
.ig-google-slot[hidden] { display: none; }
.ig-google-slot.is-busy { opacity: .6; pointer-events: none; }
.ig-btn--google {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; background: #fff; color: #3c4043; border: 1px solid #dadce0; border-radius: 6px;
  font-weight: 500; transition: background-color .15s ease, border-color .15s ease;
}
.ig-btn--google:hover:not(:disabled) { background: #f8f9fa; border-color: #d2e3fc; }
.ig-btn--google[hidden] { display: none; }
.ig-auth__guest-actions {
  margin-top: 10px;
}
.ig-auth__guest-actions .ig-btn--guest {
  width: 100%; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: #f8f9fa; border: 1px solid #dadce0; border-radius: 6px;
  color: #007c9c !important; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.ig-auth__guest-actions .ig-btn--guest:hover {
  background: #f1f3f4; border-color: #007c9c; color: #005a72 !important;
}
.ig-auth__divider {
  display: flex; align-items: center; gap: 12px; margin: 14px 0;
  color: #8e8e8e; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.ig-auth__divider::before, .ig-auth__divider::after { content: ''; flex: 1; height: 1px; background: #dbdbdb; }
.ig-auth__form { text-align: left; }
.ig-auth__form[hidden] { display: none; }
.ig-field { display: block; margin: 0 0 12px; }
.ig-field span { display: block; font-size: 12px; font-weight: 600; color: #737373; margin-bottom: 4px; }
.ig-field input {
  width: 100%; height: 40px; border: 1px solid #dbdbdb; border-radius: 6px; background: #fafafa;
  padding: 0 10px; font: 14px "Roboto", sans-serif; color: #262626;
}
.ig-field input:focus { outline: none; border-color: #a8a8a8; background: #fff; }
.ig-captcha-wrap { margin: 4px 0 14px; display: flex; flex-direction: column; align-items: center; }
.ig-captcha { min-height: 78px; display: flex; justify-content: center; max-width: 100%; }
.ig-captcha__hint { color: #ed4956; margin: 6px 0 0; font-size: 12px; text-align: center; }
.ig-auth__error { color: #ed4956; margin: 0 0 12px; font-size: 13px; }
.ig-auth__error--social { margin: 10px 0 0; text-align: center; }
.ig-auth__note { color: #737373; font-size: 12px; margin: 12px 0 0; text-align: center; }
.ig-auth__note a { color: #007c9c; text-decoration: underline; }
.ig-auth__switch { text-align: center; margin: 16px 0 0; color: #262626; }

.ig-dialog--sheet { width: 520px; display: none; flex-direction: column; }
.ig-dialog--sheet[open] { display: flex; }
.ig-sheet__head { display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #dbdbdb; min-height: 44px; }
.ig-sheet__head h2 { font: 600 16px/1 "Roboto", sans-serif; margin: 0; color: #262626; text-transform: none; }
.ig-sheet__head .ig-dialog__x { position: absolute; right: 4px; top: 2px; }
.ig-sheet__body { overflow-y: auto; padding: 8px 16px; min-height: 200px; max-height: 60vh; }
.ig-comments--dialog { padding: 0; }
.ig-load-more { display: block; margin: 4px auto 8px; border: 0; background: none; color: #007c9c; font-weight: 600; cursor: pointer; }
.ig-load-more[hidden] { display: none; }
.ig-empty-comments { text-align: center; color: #737373; padding: 40px 0; margin: 0; }
.ig-add-comment--sheet { margin: 0; }
.ig-share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 18px 16px 22px; }
.ig-share-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none;
  color: #262626 !important; text-decoration: none !important; cursor: pointer; border-radius: 10px; font-size: 13px;
}
.ig-share-item:hover { background: #fafafa; }
.ig-share-ic {
  width: 52px; height: 52px; border-radius: 50%; background: var(--c, #0092b7); color: #fff;
  display: flex; align-items: center; justify-content: center; font: 700 20px/1 Arial, sans-serif;
}
.ig-dialog--menu { width: 400px; padding: 0; overflow: hidden; }
.ig-menu__item {
  display: block; width: 100%; padding: 14px 8px; border: 0; border-top: 1px solid #dbdbdb; background: none; text-align: center;
  font-size: 14px; color: #262626 !important; text-decoration: none !important; cursor: pointer;
}
.ig-menu__item:first-child { border-top: 0; }
.ig-menu__item:hover { background: #fafafa; }

.ig-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000020;
  background: #262626; color: #fff; padding: 12px 18px; border-radius: 8px; font: 14px "Roboto", sans-serif;
  box-shadow: 0 6px 24px rgba(0,0,0,.25); max-width: calc(100vw - 32px); text-align: center;
}
.ig-toast[hidden] { display: none; }

/* ---------- small screens: edge-to-edge feed like the Instagram app ---------- */
@media (max-width: 735px) {
  .ig-page { padding: 16px 0 40px; }
  .ig-profile { gap: 18px; padding: 0 16px 20px; align-items: flex-start; }
  .ig-profile__avatar img { width: 86px; height: 86px; }
  .ig-profile__row { margin-bottom: 12px; }
  .ig-profile__handle { font-size: 20px; width: 100%; }
  .ig-profile__stats { gap: 18px; font-size: 14px; margin-bottom: 10px; }
  .ig-tabs { gap: 40px; margin-bottom: 8px; }
  .ig-feed { max-width: none; }
  .ig-post { border-left: 0; border-right: 0; border-radius: 0; margin-bottom: 12px; }
  .ig-grid { gap: 3px; }
  .ig-tagbar, .ig-crumbs, .ig-post-title, .ig-more h2 { padding-left: 16px; padding-right: 16px; }
  .ig-media__nav { display: none; }
  .ig-dialog--sheet { width: 100vw; max-width: 100vw; max-height: 85vh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
  .ig-dialog--menu { width: calc(100vw - 48px); }
  .ig-tile__stats { display: none; }
  .ig-curator-wrap { margin-top: 16px; padding: 0; }
}
@media (max-width: 440px) {
  .ig-dialog--auth { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .ig-auth { padding: 26px 18px 20px; }
}
@media (max-width: 365px) {
  .ig-captcha { transform: scale(.88); transform-origin: center top; margin-bottom: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-media__track { scroll-behavior: auto; }
  .ig-heart-pop.is-playing, .ig-like.is-animating .ig-svg, .ig-dialog[open] { animation: none; }
}
