/* Scoped enhancement: only articles with indexed, verified IKEA links load this. */
a.td-ikea-preview-link {
  text-decoration-style: dotted;
  text-underline-offset: .18em;
}
.td-ikea-smart-preview {
  position: fixed;
  z-index: 100000;
  width: min(326px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid #e2e5e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 44px rgb(31 45 55 / 17%), 0 3px 10px rgb(31 45 55 / 8%);
  color: #263238;
  font: 400 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: left;
}
.td-ikea-smart-preview[hidden] { display: none !important; }
.td-ikea-smart-preview * { box-sizing: border-box; }
.td-ikea-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 8px;
  color: #66777c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
}
.td-ikea-preview-close {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f5;
  color: #334147;
  font: 400 22px/1 sans-serif;
  cursor: pointer;
}
.td-ikea-preview-close:hover,
.td-ikea-preview-close:focus-visible { background: #e2e7e9; }
.td-ikea-preview-hero {
  display: block;
  width: calc(100% - 28px);
  height: 145px;
  margin: 0 14px;
  border-radius: 9px;
  background: #f5f5f3;
  object-fit: cover;
}
.td-ikea-preview-body { padding: 11px 15px 15px; }
.td-ikea-smart-preview .td-ikea-preview-title {
  margin: 0 0 3px;
  font: 750 21px/1.2 system-ui, sans-serif;
  letter-spacing: -.025em;
  color: #172a30;
}
.td-ikea-smart-preview .td-ikea-preview-meta {
  margin: 0 0 12px;
  color: #56656b;
  font-size: 12px;
  line-height: 1.4;
}
.td-ikea-preview-strip { display: flex; gap: 7px; margin: -1px 0 12px; }
.td-ikea-preview-thumb {
  display: block;
  width: 55px;
  height: 45px;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #f7f7f7;
  object-fit: cover;
}
.td-ikea-smart-preview .td-ikea-preview-action {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  background: #163e49;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.td-ikea-smart-preview .td-ikea-preview-action:hover,
.td-ikea-smart-preview .td-ikea-preview-action:focus-visible {
  background: #255b69;
  color: #fff;
}
@media (max-width: 480px) {
  .td-ikea-preview-hero { height: 125px; }
  .td-ikea-preview-body { padding-bottom: 12px; }
}
