:root {
  --ranking-black: #05050a;
  --ranking-panel: #0d0b14;
  --ranking-panel-soft: #15111e;
  --ranking-gold: #c99b43;
  --ranking-gold-light: #f0d99b;
  --ranking-ivory: #fffaf0;
  --ranking-line: rgba(201, 155, 67, 0.3);
}

/* The 2026-08-04 love ranking uses the next prepared background in sequence. */
.ranking-article-hero.love-ranking-hero[data-love-hero="20260804"] {
  background-image: linear-gradient(108deg, rgba(4, 8, 20, 0.7) 0%, rgba(14, 12, 38, 0.48) 45%, rgba(21, 13, 35, 0.38) 100%), url("../images/love-ranking/20260804-hero.png") !important;
}

.ranking-archive-page,
.ranking-article-page {
  min-height: 100vh;
  color: var(--ranking-ivory);
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 75, 178, 0.18), transparent 30rem),
    radial-gradient(circle at 88% 22%, rgba(201, 155, 67, 0.14), transparent 28rem),
    linear-gradient(180deg, #08070d 0%, var(--ranking-black) 52%, #0b0811 100%);
}

.ranking-archive-page::before,
.ranking-article-page::before {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(201, 155, 67, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 155, 67, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
}

.ranking-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(42px, 7vw, 78px);
  color: rgba(255, 250, 240, 0.52);
  font-size: 0.82rem;
}

.ranking-breadcrumb a {
  color: var(--ranking-gold-light);
  text-underline-offset: 0.25em;
}

.ranking-eyebrow {
  margin: 0 0 14px;
  color: var(--ranking-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ranking-archive-hero,
.ranking-article-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ranking-line);
}

.ranking-archive-hero::after,
.ranking-article-hero::after {
  content: "";
  position: absolute;
  inset: auto -12vw -22vw auto;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(201, 155, 67, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 56px rgba(201, 155, 67, 0.025),
    0 0 0 112px rgba(201, 155, 67, 0.018);
}

.ranking-archive-hero > .container {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 9vw, 122px) 0 clamp(74px, 10vw, 136px);
}

.ranking-archive-hero h1 {
  max-width: 1000px;
  margin: 0;
  color: var(--ranking-gold-light);
  font-size: clamp(2.55rem, 6.2vw, 5.8rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.ranking-archive-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(1.02rem, 1.75vw, 1.25rem);
  line-height: 2;
}

.ranking-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.ranking-archive-meta span {
  padding: 9px 14px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(201, 155, 67, 0.22);
}

.ranking-latest,
.ranking-archive {
  position: relative;
}

.ranking-latest > .container,
.ranking-archive > .container {
  padding: clamp(66px, 8vw, 112px) 0;
}

.ranking-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ranking-line);
}

.ranking-section-heading h2 {
  margin: 0;
  color: var(--ranking-gold-light);
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  line-height: 1.4;
}

.ranking-section-heading span {
  color: rgba(255, 250, 240, 0.48);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.ranking-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 155, 67, 0.16), transparent 22rem),
    var(--ranking-panel);
  border: 1px solid rgba(201, 155, 67, 0.38);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.ranking-feature-media {
  position: relative;
  align-self: center;
  min-height: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ranking-feature-media img,
.ranking-card-media img,
.ranking-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-feature-media img {
  object-fit: contain;
}

.ranking-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(13, 11, 20, 0.86));
}

.ranking-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.ranking-date {
  color: var(--ranking-gold);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ranking-feature-copy h2 {
  margin: 16px 0 20px;
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.55;
}

.ranking-feature-copy p {
  color: rgba(255, 250, 240, 0.7);
}

.ranking-topone {
  display: grid;
  gap: 4px;
  margin: 20px 0 30px;
  padding: 16px 18px;
  background: rgba(201, 155, 67, 0.09);
  border-left: 3px solid var(--ranking-gold);
}

.ranking-topone span {
  color: rgba(255, 250, 240, 0.5);
  font-size: 0.74rem;
  font-weight: 700;
}

.ranking-topone strong {
  color: var(--ranking-gold-light);
  font-size: 1.08rem;
}

.ranking-read-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 50px;
  padding: 12px 24px;
  color: #120d08;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, #f0d99b, #c99b43);
  border: 1px solid rgba(255, 241, 196, 0.56);
  box-shadow: 0 14px 32px rgba(201, 155, 67, 0.15);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ranking-read-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(201, 155, 67, 0.24);
}

.ranking-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ranking-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(13, 11, 20, 0.86);
  border: 1px solid rgba(201, 155, 67, 0.24);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ranking-card:hover {
  border-color: rgba(240, 217, 155, 0.58);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.ranking-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0811;
}

.ranking-feature-media,
.ranking-card-media {
  background: #0b0811;
}

.love-ranking-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--ranking-gold-light);
  font-size: clamp(3rem, 7vw, 5.5rem);
  background: radial-gradient(circle at 50% 34%, rgba(201, 155, 67, 0.26), transparent 56%), #0b0811;
}

.love-ranking-placeholder {
  display: grid;
  place-items: center;
  color: var(--ranking-gold-light);
  font-size: clamp(3rem, 7vw, 5.5rem);
  text-decoration: none;
  background: radial-gradient(circle at 50% 34%, rgba(201, 155, 67, 0.26), transparent 56%), #0b0811;
}

.ranking-card-media img {
  transition: transform 400ms ease;
}

.ranking-card:hover .ranking-card-media img {
  transform: scale(1.025);
}

.ranking-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.ranking-card-body h3 {
  margin: 10px 0 16px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.7;
}

.ranking-card-body .ranking-topone {
  margin: auto 0 20px;
}

.ranking-card-link {
  color: var(--ranking-gold-light);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.ranking-article-cover.love-ranking-placeholder {
  min-height: 260px;
}

.love-ranking-article-body{min-width:0;color:rgba(255,250,240,.78)}
.love-ranking-article-body>h2{margin:2.6rem 0 1.1rem;color:var(--ranking-gold-light)!important;font-size:clamp(1.55rem,3vw,2.3rem);line-height:1.45}
.love-ranking-article-body>p{color:rgba(255,250,240,.76);line-height:2}.love-ranking-article-body>p:last-child{margin-top:2rem;padding:1rem 1.2rem;border:1px solid rgba(201,155,67,.28);background:rgba(201,155,67,.08);color:rgba(255,250,240,.72)}
.love-ranking-article-body .love-ranking-table-wrap{margin:1.2rem 0 2.4rem;overflow-x:auto;border:1px solid var(--ranking-line);border-radius:0;background:rgba(13,11,20,.86)}.love-ranking-article-body .love-ranking-table{width:100%;min-width:720px;border-collapse:collapse;color:var(--ranking-ivory);font-size:.95rem}.love-ranking-article-body .love-ranking-table th,.love-ranking-article-body .love-ranking-table td{padding:.85rem 1rem;border:1px solid rgba(201,155,67,.22);text-align:left;vertical-align:top}.love-ranking-article-body .love-ranking-table th{background:rgba(201,155,67,.12);color:var(--ranking-gold-light);white-space:nowrap}.love-ranking-article-body .love-ranking-table td:first-child{color:var(--ranking-gold-light);font-weight:700;white-space:nowrap}.love-ranking-article-body .love-ranking-table td:nth-child(2){white-space:nowrap}
.love-ranking-summary .ranking-find-status{min-height:0}
.ranking-article-hero.love-ranking-hero::before{background:linear-gradient(180deg,rgba(4,8,20,.3),rgba(9,7,24,.12) 45%,rgba(4,8,20,.52))}

/* Daily zodiac and blood-type rankings share this hero. Keep the love-ranking collage isolated above. */
.ranking-article-page .ranking-article-hero:not(.love-ranking-hero){min-height:520px;background:linear-gradient(108deg,rgba(4,8,20,.9) 0%,rgba(7,16,35,.7) 47%,rgba(4,8,20,.34) 100%),var(--ranking-article-hero-image,url("../images/horoscope-blood-ranking/templates/horoscope-blood-ranking-hero-01.png")) center/cover no-repeat!important;border-bottom-color:rgba(201,155,67,.42)!important}.ranking-article-page .ranking-article-hero:not(.love-ranking-hero)>.container{display:flex;min-height:520px;flex-direction:column;justify-content:center}.ranking-article-page .ranking-article-hero:not(.love-ranking-hero) .ranking-article-title,.ranking-article-page .ranking-article-hero:not(.love-ranking-hero) .ranking-breadcrumb{position:relative;z-index:1;text-shadow:0 3px 24px rgba(0,0,0,.8)}@media (max-width:760px){.ranking-article-page .ranking-article-hero:not(.love-ranking-hero){min-height:420px;background-position:center center}.ranking-article-page .ranking-article-hero:not(.love-ranking-hero)>.container{min-height:420px}}
.ranking-article-page .ranking-article-hero:not(.love-ranking-hero) .ranking-article-title h1{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;-webkit-text-fill-color:#fff!important;color:#fff!important;text-shadow:0 3px 24px rgba(0,0,0,.88)}
.ranking-article-page .ranking-article-hero:not(.love-ranking-hero) .ranking-article-title-grid{grid-template-columns:minmax(0,1fr)}.ranking-article-page .ranking-article-hero:not(.love-ranking-hero) .ranking-article-cover{display:none}

.ranking-article-hero.love-ranking-hero{min-height:520px;background:linear-gradient(108deg,rgba(4,8,20,.94) 0%,rgba(14,12,38,.78) 45%,rgba(21,13,35,.7) 100%),url("../images/love-ranking/20260803-hero-collage.png") center/cover no-repeat;border-bottom-color:rgba(240,217,155,.38)}.ranking-article-hero.love-ranking-hero::before{position:absolute;inset:0;z-index:0;content:"";background:linear-gradient(180deg,rgba(4,8,20,.58),rgba(9,7,24,.2) 45%,rgba(4,8,20,.78))}.ranking-article-hero.love-ranking-hero>.container{display:flex;min-height:520px;flex-direction:column;justify-content:center}.love-ranking-hero .ranking-breadcrumb{position:relative;z-index:2;width:max-content;max-width:100%;margin-bottom:clamp(28px,4vw,46px);padding:8px 14px;border:1px solid rgba(240,217,155,.24);background:rgba(4,8,20,.48);box-shadow:0 10px 30px rgba(0,0,0,.16);text-shadow:0 2px 12px rgba(0,0,0,.8)}.love-ranking-hero .ranking-article-title-grid{position:relative;z-index:1}.love-ranking-hero .ranking-article-title h1{color:#fff;text-shadow:0 3px 24px rgba(0,0,0,.75)}.love-ranking-hero .ranking-article-title h1 span{display:block;color:#fff}.love-ranking-hero .ranking-article-title h1 em{display:block;color:var(--ranking-gold-light);font-style:normal}.love-ranking-hero .ranking-date{color:var(--ranking-gold-light)}.love-ranking-hero .love-ranking-hero-subtitle{margin:-8px 0 16px;color:#fff!important;font-size:1.05rem;font-weight:700;letter-spacing:.08em;text-shadow:0 2px 14px rgba(0,0,0,.82)}.love-ranking-hero .ranking-article-title>p:last-child{max-width:660px;color:rgba(255,250,240,.84);text-shadow:0 2px 14px rgba(0,0,0,.8)}.love-ranking-hero .love-ranking-hero-art{min-height:260px;border:0;background:transparent;box-shadow:none}.love-ranking-hero .love-ranking-hero-art::after{display:none}@media (max-width:760px){.ranking-article-hero.love-ranking-hero{min-height:420px;background-position:center center}.ranking-article-hero.love-ranking-hero>.container{min-height:420px}.love-ranking-hero .ranking-article-title-grid{grid-template-columns:1fr}.love-ranking-hero .love-ranking-hero-art{display:none}.love-ranking-hero .ranking-article-title{text-align:center}.love-ranking-hero .ranking-article-title>p:last-child{margin-inline:auto}.love-ranking-hero .ranking-breadcrumb{align-self:flex-start;margin-bottom:26px;font-size:.72rem}.love-ranking-hero .ranking-article-title h1{font-size:clamp(2rem,8.4vw,3rem)}.love-ranking-hero .love-ranking-hero-subtitle{font-size:.9rem}}

.ranking-article-hero > .container {
  position: relative;
  z-index: 1;
  padding: clamp(54px, 7vw, 96px) 0 clamp(58px, 8vw, 108px);
}

.ranking-article-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: center;
}

.ranking-article-title h1 {
  margin: 14px 0 24px;
  color: var(--ranking-gold-light);
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1.32;
  letter-spacing: -0.025em;
}

.ranking-article-title p {
  color: rgba(255, 250, 240, 0.72);
  line-height: 2;
}

.ranking-article-cover {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(240, 217, 155, 0.44);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.42);
}

.ranking-reader > .container {
  padding: clamp(60px, 8vw, 104px) 0;
}

.ranking-reader-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.ranking-finder {
  position: sticky;
  top: 104px;
  padding: 24px;
  background:
    radial-gradient(circle at 90% 8%, rgba(201, 155, 67, 0.14), transparent 12rem),
    var(--ranking-panel-soft);
  border: 1px solid var(--ranking-line);
}

.ranking-finder h2 {
  margin: 0 0 10px;
  color: var(--ranking-gold-light);
  font-size: 1.18rem;
}

.ranking-finder > p {
  margin: 0 0 20px;
  color: rgba(255, 250, 240, 0.56);
  font-size: 0.82rem;
  line-height: 1.7;
}

.ranking-finder label {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
}

.ranking-finder select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  color: #fff;
  background: #09070e;
  border: 1px solid rgba(201, 155, 67, 0.34);
  border-radius: 0;
}

.ranking-finder-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.ranking-find-button,
.ranking-reset-button {
  min-height: 46px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.ranking-find-button {
  color: #120d08;
  background: linear-gradient(180deg, #f0d99b, #c99b43);
  border: 1px solid var(--ranking-gold-light);
}

.ranking-reset-button {
  color: rgba(255, 250, 240, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 250, 240, 0.2);
}

.ranking-find-status {
  min-height: 3.4em;
  margin: 14px 0 0;
  color: var(--ranking-gold-light);
  font-size: 0.78rem;
  line-height: 1.7;
}

.ranking-article-intro {
  margin-bottom: 42px;
  padding: clamp(25px, 4vw, 38px);
  color: rgba(255, 250, 240, 0.76);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 155, 67, 0.2);
}

.ranking-article-intro p {
  margin: 0;
  line-height: 2;
}

.ranking-article-intro p + p {
  margin-top: 12px;
}

.ranking-podium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.ranking-inline-image {
  grid-column: 1 / -1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 217, 155, 0.34);
  border-radius: 20px;
  background: rgba(13, 11, 20, 0.88);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
}

.ranking-inline-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ranking-inline-image figcaption {
  padding: 12px 18px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.ranking-inline-image-rank48 {
  margin-top: 4px;
}

.ranking-entry {
  position: relative;
  padding: 24px;
  background: rgba(13, 11, 20, 0.82);
  border: 1px solid rgba(201, 155, 67, 0.22);
  scroll-margin-top: 112px;
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

html.ranking-reveal-enabled .ranking-entry {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition-delay: var(--ranking-reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.ranking-reveal-enabled .ranking-entry.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.ranking-entry.is-podium {
  display: grid;
  grid-template-areas:
    "rank title lucky"
    "rank message lucky";
  grid-template-columns: 104px minmax(280px, 1.18fr) minmax(220px, 0.82fr);
  column-gap: clamp(20px, 3vw, 40px);
  align-items: center;
  min-height: 230px;
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 85% 5%, rgba(201, 155, 67, 0.16), transparent 11rem),
    rgba(18, 14, 24, 0.96);
  border-color: rgba(240, 217, 155, 0.46);
}

.ranking-entry.is-podium .ranking-entry-rank {
  grid-area: rank;
  display: grid;
  justify-items: center;
  align-self: stretch;
  align-content: center;
  min-height: 100%;
  padding-right: 22px;
  font-size: 0.9rem;
  text-align: center;
  border-right: 1px solid rgba(201, 155, 67, 0.26);
}

.ranking-entry.is-podium .ranking-entry-rank strong {
  font-size: clamp(3.8rem, 6vw, 5.3rem);
}

.ranking-entry.is-podium h2 {
  grid-area: title;
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.35;
}

.ranking-entry.is-podium .ranking-entry-message {
  grid-area: message;
  min-height: 0;
  margin: 12px 0 0;
  font-size: 1rem;
}

.ranking-entry.is-podium .ranking-lucky-list {
  grid-area: lucky;
  align-content: center;
  align-self: stretch;
}

.ranking-entry.is-podium .ranking-lucky-list li {
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  padding: 12px 0;
  font-size: 0.84rem;
}

.ranking-entry.is-first {
  border-color: rgba(240, 217, 155, 0.74);
  box-shadow: 0 20px 46px rgba(201, 155, 67, 0.12);
}

.ranking-entry.is-feature-card.has-feature-visual {
  position: relative;
  display: block;
  min-height: 390px;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: #0d1629;
}

.ranking-entry-grid > .ranking-entry.is-feature-card {
  grid-column: 1 / -1;
}

.ranking-entry.has-feature-visual .ranking-entry-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
}

.ranking-entry.has-feature-visual .ranking-entry-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 12, 25, 0.18) 0%, rgba(8, 16, 31, 0.46) 26%, rgba(11, 20, 37, 0.68) 56%, rgba(13, 22, 40, 0.78) 100%),
    linear-gradient(0deg, rgba(7, 12, 24, 0.58), rgba(7, 12, 24, 0.06) 56%, rgba(7, 12, 24, 0.2));
  pointer-events: none;
}

.ranking-entry.has-feature-visual .ranking-entry-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.ranking-entry.is-feature-card .ranking-entry-rank {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  inset-inline-start: clamp(18px, 2.2vw, 30px);
  display: inline-flex;
  align-items: baseline;
  align-self: auto;
  align-content: normal;
  justify-items: normal;
  min-height: auto;
  gap: 6px;
  padding: 0;
  color: var(--ranking-gold-light);
  font-size: 1.22rem;
  line-height: 1;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78), 0 0 36px rgba(201, 155, 67, 0.2);
  box-shadow: none;
  transform: translateY(-50%);
}

.ranking-entry.is-feature-card .ranking-entry-rank strong {
  color: var(--ranking-gold-light);
  font-size: clamp(4.8rem, 6.2vw, 6rem);
  line-height: 1;
}

.ranking-entry.is-feature-card.is-last .ranking-entry-rank {
  inset-inline-start: clamp(16px, 1.8vw, 24px);
}

.ranking-entry.is-feature-card.is-last .ranking-entry-rank strong {
  font-size: clamp(4rem, 5.2vw, 5rem);
}

.ranking-entry.has-feature-visual .ranking-entry-feature-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    ". date lucky"
    ". title lucky"
    ". message lucky";
  grid-template-columns: var(--feature-rank-column, clamp(64px, 5vw, 72px)) minmax(300px, 1fr) minmax(290px, 0.9fr);
  grid-template-rows: auto auto 1fr;
  gap: 14px clamp(22px, 2.8vw, 40px);
  align-items: center;
  min-height: 390px;
  min-width: 0;
  padding: clamp(30px, 3.6vw, 46px);
}

.ranking-entry.is-feature-card.is-last {
  --feature-rank-column: clamp(104px, 8vw, 120px);
  border-color: rgba(201, 155, 67, 0.42);
}

.ranking-entry-feature-date {
  grid-area: date;
  justify-self: start;
  padding: 5px 10px;
  color: rgba(240, 217, 155, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid rgba(201, 155, 67, 0.28);
  border-radius: 999px;
}

.ranking-entry.is-feature-card .ranking-entry-feature-copy h2 {
  grid-area: title;
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.ranking-entry.has-feature-visual .ranking-entry-feature-copy .ranking-entry-message {
  grid-area: message;
  margin-top: 0;
  font-size: 0.96rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.ranking-entry.has-feature-visual .ranking-entry-feature-copy .ranking-lucky-list {
  grid-area: lucky;
  padding: 10px 20px;
  background: rgba(8, 15, 29, 0.62);
  border: 1px solid rgba(240, 217, 155, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.ranking-entry.is-found {
  background:
    radial-gradient(circle at 90% 8%, rgba(240, 217, 155, 0.22), transparent 15rem),
    #191320;
  border-color: var(--ranking-gold-light);
  box-shadow: 0 0 0 3px rgba(201, 155, 67, 0.13), 0 24px 54px rgba(0, 0, 0, 0.34);
}

.ranking-entry-rank {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ranking-gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.ranking-entry-rank strong {
  color: var(--ranking-gold-light);
  font-size: 2.2rem;
  line-height: 1;
}

.ranking-entry h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.ranking-entry h2 .ranking-title-type {
  display: inline-block;
  white-space: nowrap;
}

.ranking-entry-message {
  min-height: 5.7em;
  margin: 0 0 20px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.92rem;
  line-height: 1.9;
}

.ranking-lucky-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-lucky-list li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px;
  padding-top: 9px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.79rem;
  line-height: 1.6;
  border-top: 1px solid rgba(201, 155, 67, 0.14);
}

.ranking-lucky-list span {
  color: rgba(240, 217, 155, 0.58);
}

.ranking-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ranking-article-note,
.ranking-birthday-cta {
  margin-top: 48px;
  padding: clamp(26px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(201, 155, 67, 0.22);
}

.ranking-article-note h2,
.ranking-birthday-cta h2 {
  margin: 0 0 18px;
  color: var(--ranking-gold-light);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.ranking-article-note p,
.ranking-birthday-cta p {
  color: rgba(255, 250, 240, 0.64);
  font-size: 0.86rem;
  line-height: 1.9;
}

.ranking-birthday-cta .ranking-read-link {
  margin-top: 12px;
}

.ranking-article-pagination {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.ranking-article-pagination a,
.ranking-article-pagination span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 10px 14px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(201, 155, 67, 0.24);
}

.ranking-article-pagination a {
  color: var(--ranking-gold-light);
  background: rgba(201, 155, 67, 0.06);
}

.ranking-article-pagination span {
  color: rgba(255, 250, 240, 0.25);
}

.ranking-site-footer {
  border-top: 1px solid var(--ranking-line);
}

.ranking-site-footer .footer-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (max-width: 1040px) {
  .ranking-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-article-title-grid,
  .ranking-reader-shell {
    grid-template-columns: 1fr;
  }

  .ranking-article-cover {
    width: min(100%, 820px);
  }

  .ranking-finder {
    position: static;
  }

  .ranking-finder form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }

  .ranking-finder label {
    margin-top: 0;
  }

  .ranking-finder-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-find-status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .ranking-section-heading {
    display: block;
  }

  .ranking-section-heading span {
    display: block;
    margin-top: 10px;
  }

  .ranking-feature {
    grid-template-columns: 1fr;
  }

  .ranking-feature-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .ranking-feature-media::after {
    background: linear-gradient(180deg, transparent 70%, rgba(13, 11, 20, 0.5));
  }

  .ranking-card-grid,
  .ranking-podium,
  .ranking-entry-grid {
    grid-template-columns: 1fr;
  }

  .ranking-entry.is-podium {
    grid-template-areas:
      "rank"
      "title"
      "message"
      "lucky";
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
  }

  .ranking-entry.is-podium .ranking-entry-rank {
    justify-items: start;
    min-height: auto;
    padding: 0 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(201, 155, 67, 0.26);
  }

  .ranking-entry.is-podium .ranking-entry-rank strong {
    font-size: clamp(3.5rem, 16vw, 4.8rem);
  }

  .ranking-entry.is-podium .ranking-entry-message {
    margin-top: 0;
  }

  .ranking-entry-message {
    min-height: 0;
  }

  .ranking-entry.is-feature-card.has-feature-visual {
    min-height: 640px;
  }

  .ranking-entry.has-feature-visual .ranking-entry-visual {
    min-height: 0;
  }

  .ranking-entry.has-feature-visual .ranking-entry-visual img {
    inset: 0;
    height: 100%;
    object-position: 22% center;
    opacity: 0.82;
  }

  .ranking-entry.has-feature-visual .ranking-entry-visual::after {
    background:
      linear-gradient(180deg, rgba(7, 13, 26, 0.12) 0%, rgba(8, 15, 29, 0.38) 26%, rgba(10, 18, 34, 0.88) 48%, rgba(12, 20, 37, 0.98) 100%),
      linear-gradient(90deg, rgba(7, 13, 26, 0.28), rgba(7, 13, 26, 0.08) 58%, rgba(7, 13, 26, 0.38));
  }

  .ranking-entry.is-feature-card .ranking-entry-rank {
    inset-block-start: 34px;
    inset-inline-start: 24px;
    justify-items: normal;
    min-height: auto;
    padding: 0;
    border: 0;
    transform: none;
  }

  .ranking-entry.is-feature-card .ranking-entry-rank strong {
    font-size: clamp(5.2rem, 24vw, 7rem);
  }

  .ranking-entry.is-feature-card.is-last .ranking-entry-rank strong {
    font-size: clamp(4.6rem, 21vw, 6.2rem);
  }

  .ranking-entry.has-feature-visual .ranking-entry-feature-copy {
    grid-template-areas:
      "date"
      "title"
      "message"
      "lucky";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    align-content: end;
    min-height: 640px;
    padding: 230px 20px 24px;
  }

  .ranking-entry.has-feature-visual .ranking-entry-feature-copy .ranking-lucky-list {
    padding: 8px 14px;
  }
}

@media (max-width: 640px) {
  .ranking-archive-hero > .container,
  .ranking-article-hero > .container {
    padding-top: 46px;
    padding-bottom: 62px;
  }

  .ranking-breadcrumb {
    margin-bottom: 34px;
  }

  .ranking-archive-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .ranking-feature-copy,
  .ranking-card-body,
  .ranking-entry,
  .ranking-finder {
    padding: 20px;
  }

  .ranking-finder form {
    grid-template-columns: 1fr;
  }

  .ranking-finder-actions,
  .ranking-find-status {
    grid-column: auto;
  }

  .ranking-lucky-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .ranking-article-pagination {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.ranking-reveal-enabled .ranking-entry {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
