/* ページ専用のスタイル。共通ヘッダー・フッターには適用しない。 */

/* ==========================================================================
   Base & Layout
   ========================================================================== */

html.jk-trendaward-document,
body.jk-trendaward-document {
  background: #fff3f8;
}

html.jk-trendaward-document {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.jk-trendaward-document {
  margin: 0;
  overflow-x: clip;
}

:where(.jk-trendaward, .jk-trendaward *) {
  box-sizing: border-box;
}

.jk-trendaward {
  font: 400 16px/normal "Noto Sans JP", sans-serif;
  color: #201f1f;
  text-autospace: normal;
  text-spacing-trim: trim-start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Safariのshrink-to-fit幅計算とtext-autospaceのズレによる意図しない改行を防ぐ */
:where(.jk-trendaward) :is(.tag, .marker-line, .detail-button) {
  text-autospace: no-autospace;
}

:where(.jk-trendaward) img {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.jk-trendaward) a {
  color: inherit;
}

:where(.jk-trendaward) :is(p, h1, h2) {
  margin: 0;
}

.page.jk-trendaward {
  width: min(100%, 460px);
  margin: 0 auto;
  background: #fff;
  overflow: visible;
  --section-gutter-ratio: .065;
  --section-background:
    radial-gradient(ellipse at 77% 105%, #fff7ba 0, transparent 46%),
    linear-gradient(90deg, #ffd1d4a6, transparent 65%),
    linear-gradient(180deg, #c7edf7d9, #faf0f759 26%, transparent 55%),
    #fffafa;
}

:where(.jk-trendaward) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  margin: 0;
  padding: 0;
  border: 0;
}

:where(.jk-trendaward) :is(.hero, .about, .campaign, .voting, .end-vote) {
  padding-inline: calc(100% * var(--section-gutter-ratio));
}

/* ==========================================================================
   Shared Components
   ========================================================================== */

:where(.jk-trendaward) .vote-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 58px;
  border: 2px solid #000;
  border-radius: 60px;
  box-shadow: 2px 2px 0 #000;
  background: #ff68ab;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
}

:where(.jk-trendaward) .vote-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 29px;
  height: 29px;
  flex: none;
}

:where(.jk-trendaward) :is(.vote-button, .detail-button):focus-visible {
  outline: 3px solid #201f1f;
  outline-offset: 5px;
}

:where(.jk-trendaward) .tag {
  position: relative;
  display: table;
  margin: 0 auto;
  padding: 5px 16px;
  border-radius: 90px;
  background: var(--tag-bg);
  color: #fff;
  font-size: clamp(13px, 3.7vw, 16px);
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

:where(.jk-trendaward) .tag::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: var(--tag-bg);
}

:where(.jk-trendaward) .tag-pink {
  --tag-bg: #ff6092;
}

:where(.jk-trendaward) .tag-purple {
  --tag-bg: #df6cfb;
  margin-left: 0;
}

:where(.jk-trendaward) .tag.about-label {
  --tag-bg: #55b8db;
  margin: 0 0 16px;
}

/* サイト共通の .tag / a スタイルとの競合を防ぐ */
.page.jk-trendaward .tag {
  border: 0;
  transition: none;
}

.page.jk-trendaward .tag:hover {
  color: #fff;
  background-color: var(--tag-bg);
}

.page.jk-trendaward .campaign-copy a:hover {
  text-decoration: underline;
}

:where(.jk-trendaward) .art-heading {
  position: relative;
  aspect-ratio: 305 / 95;
  margin: 17px auto 36px;
}

:where(.jk-trendaward) .art-heading img {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

:where(.jk-trendaward) .hero {
  position: relative;
  text-align: center;
  background: var(--section-background);
  padding-block: 22px 20px;
}

:where(.jk-trendaward) .hero-fx {
  display: none;
}

:where(.jk-trendaward) .site-logo {
  display: block;
  width: 43%;
  max-width: 147px;
  transform: translate(-10px, -10px);
}

:where(.jk-trendaward) .hero-title {
  position: relative;
  margin: 20px auto 24px;
  width: 94%;
  aspect-ratio: 335 / 254;
}

:where(.jk-trendaward) .hero-title img {
  position: absolute;
}

:where(.jk-trendaward) .ribbon {
  width: 95%;
  left: 2.5%;
  top: 0;
}

:where(.jk-trendaward) .title-art {
  width: 96.4%;
  left: 3%;
  top: 17%;
  filter: drop-shadow(0 5px 5px #9c628633);
}

:where(.jk-trendaward) .title-badge {
  width: 21.3%;
  left: 0;
  top: 57.4%;
}

:where(.jk-trendaward) .deadline {
  width: 95%;
  margin: 0 auto 27px;
}

:where(.jk-trendaward) .announcement {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 20px;
}

:where(.jk-trendaward) .announcement strong {
  font-size: 21px;
}

:where(.jk-trendaward) .announcement b {
  display: inline-block;
  margin-inline: -.4em;
  text-spacing-trim: space-all;
}

:where(.jk-trendaward) .trend-marquee {
  margin: 48px -7.5% 0;
}

:where(.jk-trendaward) .trend-marquee-window {
  overflow: hidden;
}

/* 視差効果を減らす設定でも、横スライドのマーキーは継続する */
:where(.jk-trendaward) .trend-marquee-track {
  display: flex;
  width: max-content;
  animation: jk-trend-marquee-move 54s linear infinite;
}

:where(.jk-trendaward) .trend-marquee-track img {
  flex: none;
  width: auto;
  max-width: none;
  height: 110px;
  padding-right: 14px;
  box-sizing: content-box;
}

@keyframes jk-trend-marquee-move {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   About
   ========================================================================== */

:where(.jk-trendaward) .about {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding-block: 64px 0;
}

:where(.jk-trendaward) .about h2 {
  position: relative;
  color: #ff6092;
  font: 700 clamp(21px, 6.4vw, 28px)/1.6 "Zen Maru Gothic", sans-serif;
  letter-spacing: .05em;
}

:where(.jk-trendaward) .marker-line {
  position: relative;
  display: inline-block;
  max-width: 100%;
  isolation: isolate;
}

:where(.jk-trendaward) .marker-line::after {
  content: "";
  position: absolute;
  inset-inline: -.08em;
  bottom: .12em;
  height: .34em;
  z-index: -1;
  background: #edff38;
  clip-path: polygon(1% 15%, 98% 0, 100% 78%, 2% 100%, 0 70%);
  transform-origin: left center;
}

:where(.jk-trendaward) .about > p:not(.about-label) {
  font-size: 16px;
  line-height: 2;
  letter-spacing: .05em;
  margin-top: 24px;
}

:where(.jk-trendaward) .about > p:nth-of-type(3) {
  margin-top: 12px;
}

:where(.jk-trendaward) .confetti {
  /* 本文幅を基準に、左右の余白を含むセクション全幅まで広げる。 */
  --content-ratio: calc(1 - 2 * var(--section-gutter-ratio));
  width: calc(100% / var(--content-ratio));
  max-width: none;
  margin-inline: calc(-100% * var(--section-gutter-ratio) / var(--content-ratio));
  position: relative;
  pointer-events: none;
  display: block;
  height: auto;
}

/* ==========================================================================
   Campaign
   ========================================================================== */

:where(.jk-trendaward) .campaign {
  background: #ffe9ea;
  padding-block: 64px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 560px;
}

:where(.jk-trendaward) .steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 4%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-weight: 700;
  color: #2d1a22;
}

:where(.jk-trendaward) .step {
  position: relative;
  background: #fff;
  border-radius: 13px;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 55px;
  font-size: 16px;
}

:where(.jk-trendaward) .step:first-child::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
  background: url("../assets/d4529.svg") center / contain no-repeat;
  pointer-events: none;
}

:where(.jk-trendaward) .star {
  position: absolute;
  left: -13px;
  top: -18px;
  width: 59px;
  height: 59px;
  isolation: isolate;
  color: #fff;
  text-align: center;
  font-size: 10px;
  line-height: 1.05;
  padding-top: 15px;
}

:where(.jk-trendaward) .star::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/e75ba.svg") center / contain no-repeat;
}

:where(.jk-trendaward) .star strong {
  display: block;
  font-size: 18px;
}

:where(.jk-trendaward) .campaign-copy {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .05em;
  margin: 16px 3% 25px;
}

:where(.jk-trendaward) .campaign-copy a {
  color: #ff6092;
  font-weight: 700;
  text-decoration: underline;
}

:where(.jk-trendaward) .external-icon {
  display: inline-block;
  margin-left: .2em;
  font-size: .85em;
  text-decoration: none;
}

:where(.jk-trendaward) .detail-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid #ff6092;
  color: #ff6092;
  border-radius: 40px;
  background: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  padding: 16px 46px;
}

:where(.jk-trendaward) .detail-button > span[aria-hidden="true"] {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Voting & Items
   ========================================================================== */

:where(.jk-trendaward) .voting {
  padding-block: 64px 100px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 7200px;
}

:where(.jk-trendaward) .voting-art {
  width: 96%;
  aspect-ratio: 315 / 96;
  margin: 18px 0;
}

:where(.jk-trendaward) .voting-copy {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: .05em;
  margin: 0 0 26px 2%;
}

:where(.jk-trendaward) .items {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: 55px -4% 0;
}

:where(.jk-trendaward) .item {
  position: relative;
}

:where(.jk-trendaward) .item-lavender {
  --item-bg: #e8e8f3;
  --bubble: #a5a3d0;
}

:where(.jk-trendaward) .item-pink {
  --item-bg: #f9e0ec;
  --bubble: #e685b3;
}

:where(.jk-trendaward) .item-coral {
  --item-bg: #fce9e6;
  --bubble: #f3a69d;
}

:where(.jk-trendaward) .item-green {
  --item-bg: #e9f4e0;
  --bubble: #a8d182;
}

:where(.jk-trendaward) .item-number {
  position: absolute;
  top: -48px;
  left: -14px;
  z-index: 2;
  width: 110px;
  height: 110px;
}

:where(.jk-trendaward) .item:nth-child(even) .item-number {
  left: auto;
  right: -14px;
}

:where(.jk-trendaward) .item-number img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:where(.jk-trendaward) .item-bg {
  position: absolute;
  top: 79px;
  left: 0;
  width: 100%;
  height: 408px;
  border-radius: 15px;
  background: var(--item-bg);
}

:where(.jk-trendaward) .item-image {
  position: relative;
  width: 88.4%;
  aspect-ratio: 1000 / 1100;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(.jk-trendaward) .item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:where(.jk-trendaward) .bubble {
  position: relative;
  width: 84%;
  margin: 25px auto 0;
  padding: 23px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 20px;
  box-shadow: 8px 8px 0 -1px var(--bubble), 8px 8px 0 0 #000;
  font-size: 14px;
  line-height: 1.7;
  color: #000;
}

:where(.jk-trendaward) .bubble::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 26px;
  height: 14px;
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14'%3E%3Cpath d='M1 14V12.5H2L13 1.5L24 12.5H25V14Z' fill='%23fff'/%3E%3Cpath d='M0 12.5H2L13 1.5L24 12.5H26' fill='none' stroke='%23000' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* ==========================================================================
   End Vote & Floating Vote Button
   ========================================================================== */

:where(.jk-trendaward) .end-vote {
  background: var(--section-background);
  padding-block: 64px;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 340px;
}

.bottom-vote.jk-trendaward {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 0;
  width: min(100%, 460px);
  padding: 12px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translate(-50%, calc(100% + 20px));
  visibility: hidden;
  transition: transform .24s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .24s;
}

.bottom-vote.jk-trendaward.is-visible {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform .42s cubic-bezier(.22, 1.35, .5, 1), visibility 0s;
}

.bottom-vote.jk-trendaward[hidden] {
  display: none;
}

.bottom-vote.jk-trendaward .vote-button {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 12px;
  font-size: 16px;
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: 2px 2px 0 #000, 0 5px 14px rgba(0, 0, 0, .2);
}

.bottom-vote.jk-trendaward .vote-arrow {
  position: static;
  transform: none;
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 460px) {
  :where(.jk-trendaward) .item-number {
    left: -6px;
  }

  :where(.jk-trendaward) .item:nth-child(even) .item-number {
    right: -6px;
  }
}

@media (max-width: 400px) {
  :where(.jk-trendaward) .vote-button {
    font-size: clamp(19px, 5.75vw, 23px);
  }
}

@media (max-width: 360px) {
  :where(.jk-trendaward) .bubble {
    padding: 20px;
  }

  :where(.jk-trendaward) .item-bg {
    height: 360px;
  }
}

/* ==========================================================================
   Motion & Animations
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  /* Hero: ステージ外枠からコンテンツを前面へ */
  :where(.jk-trendaward) .hero > :not(.hero-fx) {
    position: relative;
    z-index: 1;
  }

  /* 1. 幕開け：白からパステルグラデーションが立ち上がる */
  :where(.jk-trendaward) .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #fffafa;
    pointer-events: none;
    opacity: 0;
    animation: jk-hero-stage-unveil 540ms ease-out both;
  }

  :where(.jk-trendaward) .hero-fx {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  /* メインロゴ以外（STロゴ・締切・投票ボタン・発表日・マーキー）は小さな動きでゆっくりフェードイン */
  :where(.jk-trendaward) .hero .site-logo {
    animation: jk-hero-logo-enter 720ms ease-out 460ms backwards;
  }

  :where(.jk-trendaward) .hero :is(.deadline, .vote-button, .announcement, .trend-marquee) {
    animation: jk-hero-rise-up 740ms ease-out var(--enter-delay) backwards;
  }

  :where(.jk-trendaward) .hero .deadline {
    --enter-delay: 520ms;
  }

  :where(.jk-trendaward) .hero .vote-button {
    --enter-delay: 580ms;
    transition: transform .16s ease, box-shadow .16s ease;
  }

  :where(.jk-trendaward) .hero .vote-button:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
  }

  :where(.jk-trendaward) .hero .vote-button:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #000;
  }

  :where(.jk-trendaward) .hero .announcement {
    --enter-delay: 640ms;
  }

  :where(.jk-trendaward) .hero .trend-marquee {
    --enter-delay: 700ms;
    animation-duration: 780ms;
  }

  /* 2. 続けて主役のメインロゴ（スポットライト → リボン → タイトル → バッジ） */
  :where(.jk-trendaward) :is(.hero-fx-glow, .hero-fx-ring) {
    position: absolute;
    left: 50%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    opacity: 0;
  }

  :where(.jk-trendaward) .hero-fx-glow {
    top: 30%;
    width: 120%;
    background: radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, .62) 0%,
      rgba(255, 198, 224, .38) 28%,
      rgba(223, 108, 251, .12) 52%,
      transparent 72%
    );
    animation: jk-hero-spotlight 1150ms cubic-bezier(.2, .8, .2, 1) 660ms both;
  }

  :where(.jk-trendaward) .hero-fx-ring {
    top: 31%;
    width: 68%;
    background: radial-gradient(
      circle at 50% 50%,
      transparent 34%,
      rgba(255, 255, 255, .25) 52%,
      rgba(255, 255, 255, .52) 64%,
      rgba(255, 255, 255, .2) 76%,
      transparent 90%
    );
    filter: blur(14px);
    animation: jk-hero-impact-ring 1100ms cubic-bezier(.18, .7, .3, 1) 1260ms both;
  }

  :where(.jk-trendaward) .hero .ribbon {
    transform-origin: center center;
    animation: jk-hero-ribbon-unfurl 680ms cubic-bezier(.16, 1, .3, 1) 860ms backwards;
  }

  :where(.jk-trendaward) .hero .title-art {
    transform-origin: center 55%;
    animation:
      jk-hero-title-slam 780ms cubic-bezier(.2, .9, .25, 1) 1100ms backwards,
      jk-hero-title-shadow 620ms ease-out 1680ms forwards;
  }

  :where(.jk-trendaward) .hero .title-badge {
    transform-origin: center center;
    animation: jk-hero-badge-stamp 780ms cubic-bezier(.2, .9, .3, 1) 2380ms backwards;
  }

  :where(.jk-trendaward) .hero > a:focus-visible {
    animation: none;
  }

  /* About: 蛍光ペンライン */
  :where(.jk-trendaward) .marker-pending .marker-line::after {
    transform: scaleX(0);
  }

  :where(.jk-trendaward) .marker-visible .marker-line::after {
    animation: jk-marker-draw .65s cubic-bezier(.25, .1, .3, 1) .15s both;
  }

  :where(.jk-trendaward) .marker-visible .marker-line:last-child::after {
    animation-delay: .8s;
  }

  /* About: 紙吹雪のスクロール演出 */
  @supports ((animation-timeline: view()) and (animation-range: entry) and (overflow: clip)) {
    :where(.jk-trendaward) .confetti {
      view-timeline: --confetti-view;
    }

    :where(.jk-trendaward) .confetti path {
      transform-box: fill-box;
      transform-origin: center;
      animation: jk-confetti-scroll auto linear both;
      animation-timeline: --confetti-view;
      animation-range:
        cover calc(10% + var(--reveal-order, 0) * 3%)
        cover calc(25% + var(--reveal-order, 0) * 3%);
    }

    :where(.jk-trendaward) .confetti path[data-reveal-order="1"] { --reveal-order: 1; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="2"] { --reveal-order: 2; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="3"] { --reveal-order: 3; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="4"] { --reveal-order: 4; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="5"] { --reveal-order: 5; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="6"] { --reveal-order: 6; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="7"] { --reveal-order: 7; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="8"] { --reveal-order: 8; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="9"] { --reveal-order: 9; }
    :where(.jk-trendaward) .confetti path[data-reveal-order="10"] { --reveal-order: 10; }
  }

  :where(.jk-trendaward) .confetti.scroll-reveal path {
    transform-box: fill-box;
    transform-origin: center;
    opacity: var(--pop, 1);
    transform: scale(calc(.6 + .4 * var(--pop, 1)));
  }

  /* Campaign: STEP星の回転 */
  :where(.jk-trendaward) .star::before {
    animation: jk-star-spin 16s linear infinite;
  }

  :where(.jk-trendaward) .step:nth-of-type(2) .star::before {
    animation-duration: 20s;
    animation-delay: -3s;
  }

  /* Scroll Reveal & Item Number Pop */
  :where(.jk-trendaward) .item.reveal-pending > :not(.item-bg):not(.item-number):not(.sr-only),
  :where(.jk-trendaward) .tag.reveal-pending {
    opacity: 0;
    transform: translateY(20px);
  }

  :where(.jk-trendaward) .item.reveal-visible > :not(.item-bg):not(.item-number):not(.sr-only),
  :where(.jk-trendaward) .tag.reveal-visible {
    animation: jk-fade-up .6s ease-out both;
  }

  :where(.jk-trendaward) .item-number {
    --pop-tilt: 6deg;
  }

  :where(.jk-trendaward) .item:nth-child(even) .item-number {
    --pop-tilt: -6deg;
  }

  :where(.jk-trendaward) .item-number.is-popping {
    animation: jk-item-pop .8s ease-out both;
  }

  /* Keyframes */
  @keyframes jk-hero-stage-unveil {
    from { opacity: 1; }
    to { opacity: 0; }
  }

  @keyframes jk-hero-spotlight {
    0% { opacity: 0; scale: .6; }
    45% { opacity: .65; scale: 1.04; }
    100% { opacity: .28; scale: 1; }
  }

  @keyframes jk-hero-impact-ring {
    0% { opacity: 0; scale: .45; }
    28% { opacity: .6; }
    100% { opacity: 0; scale: 1.65; }
  }

  @keyframes jk-hero-logo-enter {
    from { opacity: 0; translate: 0 -6px; }
    to { opacity: 1; translate: 0 0; }
  }

  @keyframes jk-hero-rise-up {
    from { opacity: 0; translate: 0 6px; }
    to { opacity: 1; translate: 0 0; }
  }

  @keyframes jk-hero-ribbon-unfurl {
    0% {
      opacity: 0;
      clip-path: inset(0 48% 0 48%);
      scale: .92;
    }
    65% {
      opacity: 1;
      clip-path: inset(0 0 0 0);
      scale: 1.03;
    }
    100% {
      opacity: 1;
      clip-path: inset(0 0 0 0);
      scale: 1;
    }
  }

  @keyframes jk-hero-title-slam {
    0% {
      opacity: 0;
      scale: 1.24;
      translate: 0 -12px;
    }
    56% {
      opacity: 1;
      scale: .96;
      translate: 0 2px;
    }
    80% {
      opacity: 1;
      scale: 1.02;
      translate: 0 -1px;
    }
    100% {
      opacity: 1;
      scale: 1;
      translate: 0 0;
    }
  }

  @keyframes jk-hero-title-shadow {
    from { filter: drop-shadow(0 5px 5px #9c628633); }
    to { filter: drop-shadow(0 8px 18px rgba(214, 114, 158, .26)); }
  }

  @keyframes jk-hero-badge-stamp {
    0% {
      opacity: 0;
      scale: .25;
      rotate: -28deg;
    }
    58% {
      opacity: 1;
      scale: 1.14;
      rotate: 7deg;
    }
    80% {
      opacity: 1;
      scale: .96;
      rotate: -2deg;
    }
    100% {
      opacity: 1;
      scale: 1;
      rotate: 0deg;
    }
  }

  @keyframes jk-marker-draw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }

  @keyframes jk-confetti-scroll {
    from { opacity: 0; transform: scale(.6); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes jk-star-spin {
    to { transform: rotate(360deg); }
  }

  @keyframes jk-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes jk-item-pop {
    0% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(.68) rotate(var(--pop-tilt)); }
    48% { transform: scale(1.25) rotate(calc(var(--pop-tilt) * -.5)); }
    70% { transform: scale(.95) rotate(1deg); }
    86% { transform: scale(1.04) rotate(0deg); }
    100% { transform: scale(1) rotate(0deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html.jk-trendaward-document {
    scroll-behavior: auto;
  }

  .bottom-vote.jk-trendaward,
  .bottom-vote.jk-trendaward.is-visible {
    transition: none;
  }
}
