.portal-feat[data-fn-go] {
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.portal-feat[data-fn-go]:hover,
.portal-feat[data-fn-go]:focus-visible {
  transform: translateY(-2px);
  border-color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .16), 0 12px 28px rgba(22, 33, 58, .1);
  outline: none;
}
.fn-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.fn-tabs::-webkit-scrollbar { display: none; }
.fn-tab {
  flex: 0 0 auto;
  border: 1px solid #d9e2f2;
  background: #fff;
  color: #3d4a66;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.fn-tab:hover,
.fn-tab:focus-visible {
  border-color: #2f6fed;
  color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .16);
  outline: none;
}
.fn-tab.is-on {
  background: #2f6fed;
  border-color: #2f6fed;
  color: #fff;
}
.fn-tab.is-on:hover,
.fn-tab.is-on:focus-visible {
  background: #245ed4;
  color: #fff;
}
.fn-stage {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(22, 33, 58, 0.08);
  overflow: hidden;
}
.fn-pane { display: none; }
.fn-pane.is-on {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch;
}
.fn-copy {
  min-width: 0;
  height: 100%;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: auto;
  border-right: 1px solid #eef1f6;
  background: #fff;
}
.fn-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2f6fed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.fn-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #171b33;
}
.fn-copy > p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3d4458;
  word-break: keep-all;
}
.fn-copy .portal-fn-list { margin-bottom: 12px; }
.fn-copy .keb-ai { margin: 0 0 12px; }
.fn-copy .fn-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6fed;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.fn-shot {
  min-width: 0;
  background: #f4f6fb;
  padding: 16px;
  display: flex;
  align-items: stretch;
}
.fn-shot .portal-mock,
.fn-shot .portal-mock-shot {
  width: 100%;
  height: auto;
  margin: 0;
  box-shadow: none;
  border-radius: 12px;
  overflow: hidden;
}
.fn-shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: #fff;
}
.fn-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(22, 33, 58, 0.16);
  color: #171b33;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.fn-nav:hover,
.fn-nav:focus-visible {
  border-color: #2f6fed;
  color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .16), 0 6px 16px rgba(22, 33, 58, 0.16);
  outline: none;
}
.fn-nav--prev { left: 276px; }
.fn-nav--next { right: 16px; }
@media (max-width: 980px) {
  .fn-pane.is-on {
    grid-template-columns: 1fr;
    height: auto;
  }
  .fn-copy {
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #eef1f6;
  }
  .fn-shot {
    height: auto;
    padding: 12px;
  }
  .fn-nav--prev { left: 12px; }
  .fn-nav { display: none; }
}
