/* Insights tabbed shell */
.ins-tabs-panel[hidden] {
  display: none !important;
}

.ins-tabs-panel {
  padding: 28px 0 64px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ins-tabs-panel.is-active {
  opacity: 1;
  transform: translateY(0);
}

.ins-tabs-panel.is-active.is-enter {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ins-tabs-panel {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.ins-tabs-panel--light {
  background: #f5f5f7;
}

.ins-tabs-panel--dark {
  background: #000;
  position: relative;
}

.ins-tabs-panel--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(56, 189, 248, 0.07) 0%, transparent 60%);
}

.ins-head {
  margin-bottom: 28px;
}

.ins-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0071e3;
}

.ins-tabs-panel--dark .ins-head__eyebrow {
  color: #38bdf8;
}

.ins-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1d1d1f;
}

.ins-tabs-panel--dark .ins-head h2 {
  color: #fff;
}

.ins-head p {
  margin: 0;
  font-size: 0.9375rem;
  color: #6e6e73;
}

.ins-tabs-panel--dark .ins-head p {
  color: rgba(255, 255, 255, 0.5);
}

.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ins-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.ins-cats__item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.ins-cats__item:hover {
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
}

.ins-cats__item.is-active {
  color: #fff;
  background: #0071e3;
}

.ins-tag-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 113, 227, 0.06);
  border: 1px solid rgba(0, 113, 227, 0.12);
}

.ins-tag-filter__label {
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.ins-tag-filter__chip {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
}

.ins-tag-filter__clear {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
}

.ins-tag-filter__clear:hover {
  text-decoration: underline;
}

.ins-card {
  border-radius: 16px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.ins-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
}

a.ins-card:hover h3 {
  color: #0071e3;
}

a.ins-card:hover .ins-card__cover img {
  transform: scale(1.05);
}

.ins-card__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f5f5f7;
  overflow: hidden;
}

.ins-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ins-card__cover-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(145deg, #e8e8ed 0%, #f5f5f7 50%, #ececf0 100%);
}

.ins-card__cover-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 1;
}

.ins-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 20px 20px;
}

.ins-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
  min-height: 22px;
}

.ins-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0071e3;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
}

.ins-card__hot {
  margin-left: 0;
  color: #ef4444;
  background: rgba(255, 255, 255, 0.92);
}

.ins-card h3 {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1d1d1f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ins-card p {
  margin: 0 0 16px;
  flex: 1;
  font-size: 12px;
  line-height: 1.65;
  color: #6e6e73;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ins-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #86868b;
}

.ins-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.ins-pager__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
  text-decoration: none;
  transition: background 0.15s ease;
}

.ins-pager__link:hover {
  background: rgba(0, 113, 227, 0.14);
}

.ins-pager__link.is-disabled {
  color: #86868b;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.ins-pager__status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #6e6e73;
  font-variant-numeric: tabular-nums;
}

.ins-pager__input {
  width: 2.75rem;
  min-width: 2.25rem;
  height: 28px;
  padding: 0 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  color: #1d1d1f;
  font: inherit;
  font-size: 13px;
  text-align: center;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ins-pager__input:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.16);
}

.ins-pager__sep,
.ins-pager__total {
  color: #6e6e73;
}

.ins-rank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
}

.ins-rank-boards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ins-rank-board {
  border-radius: 20px;
  padding: 24px;
  background: rgba(14, 28, 54, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.16);
  backdrop-filter: blur(16px) saturate(180%);
}

.ins-rank-board__head {
  margin-bottom: 20px;
}

.ins-rank-board__tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  margin-bottom: 8px;
}

.ins-rank-board__head h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f5f5f7;
}

.ins-rank-board__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ins-rank-figure {
  margin: 0;
}

.ins-rank-figure__link {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  min-height: 240px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(14, 28, 54, 0.35) 100%);
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ins-rank-figure__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(56, 189, 248, 0.12) 45%, transparent 70%);
  background-size: 220% 100%;
  animation: ins-rank-shimmer 1.6s ease-in-out infinite;
  pointer-events: none;
}

.ins-rank-figure__link.is-loaded {
  min-height: 0;
}

.ins-rank-figure__link.is-loaded::before {
  display: none;
}

.ins-rank-figure__link:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ins-rank-figure img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.ins-rank-figure img:not(.is-loaded) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.ins-rank-figure img.is-loaded {
  position: static;
  width: 100%;
  height: auto;
  opacity: 1;
}

@keyframes ins-rank-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}

.ins-rank-toc[hidden] {
  display: none !important;
}

.ins-rank-toc {
  position: fixed;
  top: 50%;
  right: max(12px, calc((100vw - 980px) / 2 - 300px));
  z-index: 36;
  width: 276px;
  transform: translateY(-50%);
  pointer-events: auto;
}

.ins-rank-toc__viewport {
  position: relative;
  height: 320px;
  overflow: hidden;
  overscroll-behavior: contain;
  border-radius: 20px;
  background: rgba(14, 28, 54, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.ins-rank-toc__band {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 64px;
  margin-top: -32px;
  border-radius: 12px;
  border-top: 1px solid rgba(56, 189, 248, 0.28);
  border-bottom: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.04), rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.04));
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
  pointer-events: none;
  z-index: 1;
}

.ins-rank-toc__cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 102px 1fr;
  height: 100%;
}

.ins-rank-toc__col {
  height: 100%;
  overflow: hidden;
}

.ins-rank-toc__col + .ins-rank-toc__col {
  border-left: 1px solid rgba(56, 189, 248, 0.12);
}

.ins-rank-toc__list {
  position: relative;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ins-rank-toc__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: center center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, color 0.28s ease;
}

.ins-rank-toc__item:focus {
  outline: none;
}

.ins-rank-toc__item:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: -8px;
}

.ins-rank-toc__period,
.ins-rank-toc__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
  line-height: 1.3;
  color: inherit;
}

.ins-rank-toc__period {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ins-rank-toc__name {
  font-size: 13px;
  font-weight: 600;
}

.ins-rank-toc__item.is-active {
  color: #f5f5f7;
}

.ins-rank-toc__item.is-active .ins-rank-toc__period {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.ins-rank-toc__item.is-active .ins-rank-toc__name {
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .ins-rank-figure__link::before,
  .ins-rank-figure img,
  .ins-rank-toc__list,
  .ins-rank-toc__item {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .ins-rank-toc {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1440px) {
  .ins-tabs-panel--dark .ds-layout {
    padding-right: 284px;
  }
}

.ins-rank-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.ins-rank-preview[hidden] {
  display: none !important;
}

.ins-rank-preview {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ins-rank-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.ins-rank-preview__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 32px));
  height: min(92vh, 980px);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(14, 28, 54, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.ins-rank-preview__toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding: 12px 16px;
  background: rgba(8, 18, 36, 0.72);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

.ins-rank-preview__title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #f5f5f7;
}

.ins-rank-preview__zoom {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ins-rank-preview__icon-btn,
.ins-rank-preview__close,
.ins-rank-preview__text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  color: #e0f2fe;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ins-rank-preview__icon-btn:hover,
.ins-rank-preview__close:hover,
.ins-rank-preview__text-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #fff;
}

.ins-rank-preview__icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
}

.ins-rank-preview__text-btn {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.ins-rank-preview__close {
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border-radius: 10px;
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.ins-rank-preview__range {
  width: 140px;
  height: 4px;
  accent-color: #38bdf8;
  cursor: pointer;
}

.ins-rank-preview__zoom-label {
  min-width: 48px;
  font-size: 12px;
  font-weight: 700;
  color: #38bdf8;
  font-variant-numeric: tabular-nums;
}

.ins-rank-preview__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56, 189, 248, 0.08), transparent 60%),
    #050b14;
}

.ins-rank-preview__stage.is-dragging {
  cursor: grabbing;
}

.ins-rank-preview__stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  max-width: none;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  will-change: transform;
}

.ins-rank-preview__hint {
  margin: 0;
  flex-shrink: 0;
  padding: 8px 16px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

body.is-rank-preview-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .ins-rank-preview {
    padding: 8px;
  }

  .ins-rank-preview__dialog {
    width: 100%;
    height: 100%;
    border-radius: 12px;
  }

  .ins-rank-preview__toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ins-rank-preview__title {
    flex-basis: calc(100% - 52px);
  }

  .ins-rank-preview__close {
    margin-left: auto;
  }

  .ins-rank-preview__zoom {
    width: 100%;
  }

  .ins-rank-preview__range {
    flex: 1;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ins-rank-preview__stage img {
    transition: none !important;
  }
}

.ins-rank {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(14, 28, 54, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.18);
  backdrop-filter: blur(16px) saturate(180%);
}

.ins-rank__head {
  padding: 20px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
}

.ins-rank__tag {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  margin-bottom: 8px;
}

.ins-rank__head h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #f5f5f7;
}

.ins-rank__head p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.ins-rank__list {
  list-style: none;
  margin: 0;
  padding: 12px;
}

.ins-rank__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.05);
}

.ins-rank__num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  flex-shrink: 0;
}

.ins-rank__list li:first-child .ins-rank__num {
  background: #38bdf8;
  color: #000;
}

.ins-rank__name {
  flex: 1;
  min-width: 0;
}

.ins-rank__name strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #f5f5f7;
}

.ins-rank__name span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.ins-rank__val {
  text-align: right;
  flex-shrink: 0;
}

.ins-rank__val strong {
  display: block;
  font-size: 14px;
  color: #38bdf8;
}

.ins-rank__val span {
  display: block;
  font-size: 12px;
  color: #4ade80;
}

.ins-report-cta {
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.08), rgba(0, 113, 227, 0.03));
  border: 1px solid rgba(0, 113, 227, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ins-report-cta h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #1d1d1f;
}

.ins-report-cta p {
  margin: 0;
  font-size: 14px;
  color: #6e6e73;
  max-width: 520px;
}

.ins-placeholder {
  margin-top: 24px;
  font-size: 13px;
  color: #86868b;
}

.ins-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.ins-empty--dark {
  background: rgba(14, 28, 54, 0.45);
  border-color: rgba(56, 189, 248, 0.18);
}

.ins-empty__text {
  margin: 0;
  font-size: 15px;
  color: #86868b;
  letter-spacing: 0.02em;
}

.ins-empty--dark .ins-empty__text {
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .ins-grid,
  .ins-rank-grid,
  .ins-rank-board__grid {
    grid-template-columns: 1fr;
  }
}

/* Article detail */
.ins-article-page {
  background: #f5f5f7;
}

.ins-article__hero {
  padding: 32px 0 48px;
  background: linear-gradient(145deg, #0a1628 0%, #0f2744 45%, #1a3a5c 100%);
  position: relative;
}

.ins-article__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 30% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 55%);
}

.ins-article__hero .ds-layout {
  position: relative;
  z-index: 1;
}

.ins-article__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.ins-article__crumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ins-article__crumb a:hover {
  color: #fff;
}

.ins-article__crumb-sep {
  opacity: 0.35;
}

.ins-article__hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ins-article__hero-tag {
  display: inline-flex;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ins-article__hero-tag--hot {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.35);
}

.ins-article__title {
  margin: 0 0 16px;
  max-width: 820px;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
}

.ins-article__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.ins-article__meta-dot {
  opacity: 0.4;
}

.ins-article__body-wrap {
  padding: 40px 0 80px;
}

.ins-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

.ins-article__main {
  min-width: 0;
}

.ins-article__content {
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow-wrap: anywhere;
}

.ins-article__content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.85;
  color: #3a3a3c;
}

.ins-article__content p:last-child {
  margin-bottom: 0;
}

.ins-article__content h1,
.ins-article__content h2,
.ins-article__content h3,
.ins-article__content h4 {
  margin: 28px 0 12px;
  color: #1d1d1f;
  line-height: 1.4;
}

.ins-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.ins-article__content ul,
.ins-article__content ol {
  margin: 0 0 20px;
  padding-left: 1.4em;
  color: #3a3a3c;
  line-height: 1.85;
}

.ins-article__content a {
  color: #0071e3;
}

.ins-article__content blockquote {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-left: 3px solid rgba(0, 113, 227, 0.35);
  background: #f5f5f7;
  color: #6e6e73;
}

.ins-article__tags {
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.ins-article__tags-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1d1d1f;
}

.ins-article__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ins-article__tag-chip {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

a.ins-article__tag-chip:hover {
  color: #fff;
  background: #0071e3;
}

.ins-article__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.ins-article__pager-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ins-article__pager-link:hover {
  border-color: rgba(0, 113, 227, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ins-article__pager-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ins-article__pager-dir {
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
}

.ins-article__pager-title {
  font-size: 13px;
  line-height: 1.5;
  color: #1d1d1f;
}

.ins-article__pager-link:hover .ins-article__pager-title {
  color: #0071e3;
}

.ins-article__pager-link--next {
  text-align: right;
}

.ins-article__related {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ins-article__related-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.ins-article__related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ins-article__related-card {
  display: block;
  text-decoration: none;
  min-width: 0;
}

.ins-article__related-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f5f7;
  margin-bottom: 10px;
}

.ins-article__related-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ins-article__related-card:hover .ins-article__related-cover img {
  transform: scale(1.04);
}

.ins-article__related-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #1d1d1f;
}

.ins-article__related-card:hover .ins-article__related-card-title {
  color: #0071e3;
}

.ins-article__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
}

.ins-article__back:hover {
  text-decoration: underline;
}

.ins-article__aside-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ins-article__aside {
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ins-article__aside-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.ins-article__aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ins-article__aside-list li {
  margin-bottom: 4px;
}

.ins-article__aside-list li:last-child {
  margin-bottom: 0;
}

.ins-article__aside-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.ins-article__aside-item:hover {
  background: #f5f5f7;
}

.ins-article__aside-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f5f7;
}

.ins-article__aside-thumb img,
.ins-article__thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ins-article__thumb-placeholder {
  background: linear-gradient(135deg, #eef3fb 0%, #e5e5ea 100%);
}

.ins-article__aside-body {
  min-width: 0;
  flex: 1;
}

.ins-article__aside-body--hot {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ins-article__aside-rank {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #86868b;
}

.ins-article__aside-rank.is-top {
  color: #0071e3;
}

.ins-article__aside-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #1d1d1f;
}

.ins-article__aside-item:hover .ins-article__aside-item-title {
  color: #0071e3;
}

.ins-article__aside-date {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #86868b;
}

@media (max-width: 900px) {
  .ins-article__layout {
    grid-template-columns: 1fr;
  }

  .ins-article__content {
    padding: 24px 20px;
  }

  .ins-article__pager {
    grid-template-columns: 1fr;
  }

  .ins-article__pager-link--next {
    text-align: left;
  }

  .ins-article__related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ins-article__related {
    padding: 20px 16px;
  }
}
