/* =========================
   repo style
========================= */

.kw-repo {
    --bg: #f6f8fa;
    --text: #24292f;
    --muted: #57606a;
    --line: #d0d7de;
    --accent: #0969da;
  
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .kw-repo-header h1 {
    font-size: 22px;
    margin: 0;
    font-weight: 600;
  }
  
  .kw-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
  }
  
  .kw-readme {
    margin-top: 32px;
    border: 1px solid var(--line);
    background: #fff;
  }
  
  .kw-readme pre {
    margin: 0;
    padding: 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
  }
  
  .kw-dir {
    margin-top: 32px;
  }
  
  .kw-dir h2,
  .kw-log h2 {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: lowercase;
  }
  
  .kw-dir ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--line);
    background: #fff;
  }
  
  .kw-dir li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  
  .kw-dir li:last-child {
    border-bottom: none;
  }
  
  .kw-dir a {
    color: var(--accent);
    text-decoration: none;
  }
  
  .kw-dir span {
    color: var(--muted);
  }
  
  .kw-log {
    margin-top: 32px;
  }
  
  .kw-log-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--line);
    background: #fff;
  }
  
  .kw-log-list li {
    display: flex;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  
  .kw-log-list li:last-child {
    border-bottom: none;
  }
  
  .kw-log time {
    color: var(--muted);
    min-width: 90px;
    font-family: ui-monospace, monospace;
  }
  
  .kw-log a {
    color: var(--text);
    text-decoration: none;
  }
  
  .kw-log a:hover {
    color: var(--accent);
  }

/* =========================
   SWELL common header / footer compact
========================= */

/* ヘッダー */
.l-header {
    min-height: 42px !important;
  }
  
  .l-header__inner {
    min-height: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* ロゴを上下中央に戻す */
  .c-headLogo {
    display: flex !important;
    align-items: center !important;
    height: 42px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }
  
  .c-headLogo__link {
    display: flex !important;
    align-items: center !important;
    height: 42px !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 14px !important;
  }
  
  .c-headLogo img {
    max-height: 24px !important;
    width: auto !important;
  }
  
  /* ナビ */
  .c-gnav > li > a {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 13px !important;
  }
  
  .l-header__menuBtn {
    height: 42px !important;
  }
  
  /* フッター：余白を削る */
  .l-footer {
    padding: 0 !important;
  }
  
  .l-footer__inner {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  
  .l-footer__widgetArea {
    display: none !important;
  }
  
  .l-footer__foot,
  .l-footer .copyright {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  /* README + directory 2 column */
.kw-main-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 24px;
    margin-top: 32px;
    align-items: start;
  }
  
  .kw-main-grid .kw-readme {
    margin-top: 0;
  }
  
  .kw-main-grid .kw-dir {
    margin-top: 0;
  }
  
  /* gap込みで60%側がはみ出さないように */
  .kw-main-grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  }
  
  @media (max-width: 768px) {
    .kw-main-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }

  /* =========================
   works
========================= */

.kw-work-list {
    margin-top: 32px;
  }
  
  .kw-work-list h2 {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: lowercase;
  }
  
  .kw-work-item {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 24px;
    padding: 18px 14px;
    border: 1px solid var(--line);
    border-bottom: none;
    background: #fff;
  }
  
  .kw-work-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  
  .kw-work-item h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
  }
  
  .kw-work-item h3 a {
    color: var(--accent);
    text-decoration: none;
  }
  
  .kw-work-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
  }
  
  .kw-work-item span {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    text-align: right;
  }
  
  @media (max-width: 768px) {
    .kw-work-item {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  
    .kw-work-item span {
      text-align: left;
    }
  }

  /* =========================
   notes
========================= */

.kw-notes .kw-readme {
    margin-top: 32px;
  }
  
  .kw-pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 13px;
  }
  
  .kw-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    text-decoration: none;
  }
  
  .kw-pagination .current {
    background: var(--text);
    color: #fff;
  }
  
  .kw-pagination a:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  .kw-contact-page .kw-readme,
.kw-contact-form {
  margin-top: 32px;
}

.kw-contact-form h2 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.kw-contact-form form {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px;
}

.kw-contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--muted);
}

.kw-contact-form input,
.kw-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #f6f8fa;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.kw-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.kw-contact-form input[type="submit"] {
  width: auto;
  cursor: pointer;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 14px;
}

.kw-contact-form input[type="submit"]:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.kw-links-mini {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 11px;
    line-height: 1;
  }
  
  .kw-links-mini img {
    display: none !important;
  }
  
  .kw-links-mini a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 26px;
    padding: 0;
    color: #0969da;
    text-decoration: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    font-kerning: none;
    font-variant-ligatures: none;
    border: 1px solid #d0d7de;
    border-radius: 999px;
    background: #f6f8fa;
    box-sizing: border-box;
  }
  
  .kw-links-mini a:hover {
    background: #fff;
    border-color: #0969da;
  }

  /* README digital blink */
.kw-readme pre {
    animation: kw-readme-scan 0.8s steps(6, end) both;
  }
  
  @keyframes kw-readme-scan {
    0% {
      opacity: 0;
      transform: translateY(4px);
      filter: blur(3px);
    }
  
    40% {
      opacity: .45;
      filter: blur(1px);
    }
  
    60% {
      opacity: .25;
    }
  
    100% {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  .kw-readme pre {
    min-height: 210px;
    white-space: pre-wrap;
  }
  
  .kw-readme pre::after {
    content: "_";
    display: inline-block;
    margin-left: 2px;
    color: #0969da;
    animation: kw-caret-blink 0.8s step-end infinite;
  }
  
  .kw-readme pre.kw-typing-done::after {
    content: "";
  }
  
  @keyframes kw-caret-blink {
    50% {
      opacity: 0;
    }
  }

  @media (max-width: 768px) {
    .kw-log-list a {
      font-size: clamp(13px, 3.6vw, 15px);
      line-height: 1.55;
  
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .kw-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: #444;
    max-width: 100%;
    padding: 10px 132px;
    font-size: 11px;
    line-height: 1;
  }
  
  .kw-footer-about {
    color: #d0d7de !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-decoration: none !important;
    white-space: nowrap;
  }
  
  .kw-footer-about:hover {
    color: #58a6ff !important;
    text-decoration: underline !important;
  }
  
  .kw-footer-copy {
    color: #fff;
    white-space: nowrap;
  }
  
  @media (max-width: 768px) {
    .kw-footer-bar {
      padding: 10px 18px;
    }
  }

  /* SWELL default footer copyright hide */
.l-footer__foot,
.l-footer .copyright {
  display: none !important;
}

/* =========================
   final tuning
========================= */

/* 全体の文字を少し締める */
.kw-repo {
  font-feature-settings: "palt";
  letter-spacing: 0.01em;
}

/* 見出し系は少しだけ硬く */
.kw-repo-header h1 {
  letter-spacing: -0.02em;
}

.kw-meta,
.kw-dir h2,
.kw-log h2,
.kw-work-list h2,
.kw-contact-form h2 {
  letter-spacing: 0.04em;
}

/* READMEの余白を少し整理 */
.kw-readme pre {
  min-height: 190px;
  padding: 18px 20px;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.85;
}

/* directoryの行間を少し締める */
.kw-dir li {
  min-height: 50px;
  align-items: center;
}

/* recent log */
.kw-log {
  margin-top: 44px;
}

.kw-log-list li {
  align-items: flex-start;
}

.kw-log-list a {
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SP調整 */
@media (max-width: 768px) {
  .kw-repo {
    padding: 28px 16px 48px;
  }

  .kw-repo-header h1 {
    font-size: 24px;
  }

  .kw-main-grid {
    gap: 22px;
  }

  .kw-readme pre {
    min-height: 180px;
    padding: 16px;
    font-size: 12px;
    line-height: 1.75;
  }

  .kw-dir li {
    padding: 12px 14px;
    font-size: 14px;
  }

  .kw-dir li span {
    font-size: 13px;
  }

  .kw-links-mini {
    gap: 7px;
  }

  .kw-links-mini a {
    width: auto;
    min-width: 82px;
    height: 26px;
    font-size: 10px;
  }

  .kw-log {
    margin-top: 34px;
  }

  .kw-log-list li {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 10px;
    padding: 12px 14px;
  }

  .kw-log time {
    min-width: 0;
    font-size: 11px;
  }

  .kw-log-list a {
    font-size: clamp(13px, 3.5vw, 14px);
    line-height: 1.5;
  }
}

/* =========================
   single
========================= */

.kw-single .kw-repo-header {
  margin-bottom: 24px;
}

.kw-single .kw-repo-header h1 {
  font-size: 22px;
  margin-top: 4px;
  line-height: 1.4;
}

.kw-single .kw-meta {
  font-size: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 本文 */
.kw-entry {
  font-size: 14px;
  line-height: 1.9;
}

/* 段落 */
.kw-entry p {
  margin-bottom: 1.4em;
}

/* 整形済みブロック（今回メイン） */
.kw-entry .wp-block-preformatted {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f6f8fa;
  border: 1px solid #d0d7de;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.85;
}

/* 余計な装飾削る（SWELL対策） */
.kw-entry figure,
.kw-entry img {
  max-width: 100%;
  height: auto;
}

/* single width tuning */
.kw-single {
  max-width: 900px;
  margin: 0 auto;
}

.kw-single .kw-readme {
  max-width: 760px;
}

.kw-single .kw-entry .wp-block-preformatted {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

/* single paragraph layout */
.kw-repo.kw-single {
  width: min(100% - 40px, 820px) !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.kw-single .kw-readme {
  padding: 22px 24px;
}

.kw-entry {
  max-width: 680px;
}

.kw-entry p {
  margin: 0 0 1.6em;
  font-size: 15px;
  line-height: 2;
  font-weight: 400;
}

.kw-single .kw-readme {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 22px;
}

.kw-entry p {
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 1.6em;
}

.kw-single .kw-repo-header {
  max-width: 680px;
  margin: 0 auto 24px;
}

.kw-single {
  background: transparent;
}

.kw-single .kw-repo {
  padding-top: 32px;
}

.kw-single .kw-readme {
  border: 1px solid #d0d7de;
  background: #fff;
}

.kw-work-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.kw-work-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.kw-work-list li:last-child {
  border-bottom: none;
}

.kw-work-list a {
  color: var(--text);
  text-decoration: none;
  font-family: ui-monospace, monospace;
}

.kw-work-list a:hover {
  color: var(--accent);
}

.kw-work-list span {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.kw-work-list a {
  color: #2563eb;
  text-decoration: none;
  transition: 0.2s;
}

.kw-work-list a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* =========================
   sample lp
========================= */

.kw-sample-page .kw-readme {
  margin-top: 32px;
}

.kw-sample-preview {
  margin-top: 32px;
}

.kw-sample-preview h2 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.kw-lp-sample {
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(32px, 6vw, 72px);
}

.kw-lp-label {
  margin: 0 0 20px;
  color: #0969da;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .08em;
}

.kw-lp-sample h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-transform: none;
}

.kw-lp-sample p:not(.kw-lp-label) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.kw-lp-sample a {
  display: inline-flex;
  margin-top: 32px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: #0969da;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.kw-lp-sample a:hover {
  border-color: #0969da;
}

.kw-lp-block {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.kw-lp-block h3 {
  margin: 0 0 12px;
  color: #57606a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-transform: lowercase;
}

.kw-lp-block p {
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.kw-lp-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.kw-lp-cta a {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: #0969da;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.kw-lp-cta a:hover {
  border-color: #0969da;
}

.kw-lp-block {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.kw-lp-block h3 {
  margin: 0 0 12px;
  color: #57606a;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  text-transform: lowercase;
}

.kw-lp-block p {
  margin: 0;
  max-width: 680px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.kw-lp-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
}

.kw-lp-cta a {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: #0969da;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.kw-lp-cta a:hover {
  border-color: #0969da;
}

/* =========================
   sample lp animation
========================= */

.kw-sample-page {
  position: relative;
  overflow: hidden;
}

.kw-sample-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9,105,218,.06) 1px, transparent 1px),
    linear-gradient(rgba(9,105,218,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: kw-grid-move 18s linear infinite;
}

.kw-sample-page::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 140px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(9,105,218,.14), transparent 62%);
  filter: blur(8px);
  animation: kw-glow-float 9s ease-in-out infinite alternate;
}

.kw-sample-page > * {
  position: relative;
  z-index: 1;
}

@keyframes kw-grid-move {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 44px 44px;
  }
}

@keyframes kw-glow-float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .55;
  }
  to {
    transform: translate3d(-80px, 40px, 0) scale(1.15);
    opacity: .9;
  }
}

/* Hero font animation */
.kw-lp-sample h2 {
  animation: kw-text-in 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.kw-lp-sample p,
.kw-lp-sample a {
  animation: kw-text-in 0.9s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: .18s;
}

@keyframes kw-text-in {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(3px);
    letter-spacing: -0.09em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    letter-spacing: -0.05em;
  }
}

/* block hover */
.kw-lp-block {
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.kw-lp-block:hover {
  transform: translateY(-3px);
  border-color: #0969da;
  background: #ffffff;
}

@media (max-width: 768px) {
  .kw-sample-page::after {
    width: 320px;
    height: 320px;
    right: -140px;
    top: 180px;
  }

  .kw-sample-page::before {
    background-size: 32px 32px;
  }
}

.kw-lp-mock {
  margin-top: 32px;
  max-width: 620px;
  border: 1px solid #d0d7de;
  background: #f6f8fa;
  box-shadow: 12px 12px 0 rgba(9,105,218,.08);
}

.kw-mock-top {
  display: flex;
  gap: 6px;
  padding: 10px;
  border-bottom: 1px solid #d0d7de;
  background: #fff;
}

.kw-mock-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d7de;
}

.kw-mock-body {
  padding: 22px;
}

.kw-mock-line {
  height: 10px;
  background: #d0d7de;
  margin-bottom: 12px;
}

.kw-mock-line.w80 { width: 80%; }
.kw-mock-line.w55 { width: 55%; }

.kw-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.kw-mock-grid div {
  height: 92px;
  border: 1px solid #d0d7de;
  background:
    linear-gradient(135deg, rgba(9,105,218,.12), transparent),
    #fff;
}

/* =========================
   like card
========================= */

.kw-like-card {
  max-width: 360px;
  border: 1px solid var(--line);
  background: #fff;
}

.kw-like-image {
  position: relative;
  overflow: hidden;
}

.kw-like-image img {
  width: 100%;
  display: block;
}

.kw-like-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .45);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.kw-like-btn.liked {
  background: #e0245e;
}

.kw-like-btn.animate {
  animation: kw-like-bounce .3s ease;
}

@keyframes kw-like-bounce {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

.kw-like-body {
  padding: 14px;
}

.kw-like-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.kw-like-tags span {
  background: #f1f3f5;
  color: var(--text);
  font-size: 12px;
  padding: 3px 8px;
}

.kw-like-body h3 {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.kw-like-rating {
  font-size: 14px;
  color: #555;
}

.kw-like-count {
  display: inline-block;
}

.kw-like-count.pop {
  animation: kw-count-pop .3s ease;
}

@keyframes kw-count-pop {
  0% {
    transform: scale(1);
    color: inherit;
  }

  45% {
    transform: scale(1.45);
    color: #e0245e;
  }

  100% {
    transform: scale(1);
    color: inherit;
  }
}

/* =========================
   ai copy tool sample
========================= */

.kw-copy-tool {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  max-width: 620px;
}

.kw-copy-tool label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.kw-copy-tool input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: #f6f8fa;
  font: inherit;
  font-size: 14px;
}

.kw-copy-tool button {
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #0969da;
  cursor: pointer;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.kw-copy-tool button:hover {
  border-color: #0969da;
}

.kw-copy-output {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #f6f8fa;
  padding: 18px;
  min-height: 110px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.kw-copy-output.is-active {
  background: #fff;
  color: var(--text);
}

.kw-copy-output p {
  margin: 0 0 10px;
}

.kw-copy-output p:last-child {
  margin-bottom: 0;
}

.kw-copy-small {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}