/* Referanstaki bir büyük kart + iki sırada sekiz kart. Özgün kapaklar kesilmez. */
.home-page .popular-slots.kr-popular-reference {
  --kr-pop-gap: 14px;
  padding: 20px 22px 22px;
  border-radius: 20px;
  background: linear-gradient(155deg, #14213b 0%, #0b1426 58%, #0a1220 100%) !important;
  border: 1px solid rgba(221, 190, 104, .22) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.home-page .kr-popular-reference .section-head { margin: 0 0 14px; background: transparent !important; box-shadow: none !important; }
.home-page .kr-popular-reference .section-title {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}
.home-page .kr-popular-reference .section-title .accent { color: #d2b76b; }
.kr-pop-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 4.15fr);
  align-items: stretch;
  gap: var(--kr-pop-gap);
  min-width: 0;
}
.kr-pop-reference-small {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--kr-pop-gap);
  min-width: 0;
}
.kr-pop-reference-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #0b1323;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07);
  transition: box-shadow .18s ease;
}
.kr-pop-reference-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
}
.kr-pop-reference-feature { aspect-ratio: auto; background: #0b1323; }
.kr-pop-reference-feature img { width: 100%; height: 100% !important; }
.kr-pop-reference-card:hover { box-shadow: 0 0 0 2px #d2b76b; }
.kr-pop-reference-card:focus-visible { outline: 2px solid #e5ce85; outline-offset: 3px; }
@media (max-width: 1100px) and (min-width: 851px) {
  .home-page .popular-slots.kr-popular-reference { --kr-pop-gap: 10px; padding: 16px; }
  .home-page .kr-popular-reference .section-title { font-size: 20px; }
  .kr-pop-reference-card { border-radius: 10px; }
}
@media (max-width: 850px) {
  .home-page .popular-slots.kr-popular-reference {
    --kr-pop-gap: 10px;
    margin-left: 8px;
    margin-right: 8px;
    padding: 14px;
    border-radius: 14px;
  }
  .home-page .kr-popular-reference .section-head { display: flex !important; margin: 0 0 12px; }
  .home-page .kr-popular-reference .section-title { font-size: 18px; }
  .kr-pop-reference-layout { grid-template-columns: minmax(0, 1fr); }
  .kr-pop-reference-feature { aspect-ratio: 3 / 4; }
  .kr-pop-reference-small {
    grid-template-columns: none;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - var(--kr-pop-gap)) / 2);
    overflow-x: auto;
    padding: 0 0 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #bda362 #0b1426;
  }
  .kr-pop-reference-small .kr-pop-reference-card { scroll-snap-align: start; border-radius: 10px; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(3) { grid-column: 3; grid-row: 1; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(4) { grid-column: 4; grid-row: 1; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(5) { grid-column: 1; grid-row: 2; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(6) { grid-column: 2; grid-row: 2; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(7) { grid-column: 3; grid-row: 2; }
  .kr-pop-reference-small .kr-pop-reference-card:nth-child(8) { grid-column: 4; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .kr-pop-reference-card { transition: none; } }
