/* Royal Canin tam ekran sıralama sahnesi. */
.rc-kiosk.leaderboard-open, .rc-kiosk.leaderboard-open body { overflow: hidden; }
.leaderboard-dialog {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--rc-ink); background: #faf9f8;
  overflow: hidden;
}
.leaderboard-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.leaderboard-dialog::backdrop { background: white; }
.champ-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(14px, 2vh, 24px) clamp(20px, 3vw, 64px); background: white; border-bottom: 1px solid #eadfe0; }
.champ-brand { display: flex; align-items: center; gap: 24px; }
.champ-brand img { width: clamp(92px, 8vw, 146px); height: auto; }
.champ-edition { border-left: 1px solid #e6dcdc; padding-left: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 2px; font-weight: 700; }
.champ-edition b { color: var(--rc-red); font-family: var(--rc-head); font-size: 25px; letter-spacing: -.5px; }
.champ-back { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 12px 24px; border: 1px solid #dfc9cc; border-radius: 999px; background: white; color: var(--rc-red); font: inherit; font-weight: 750; font-size: 16px; cursor: pointer; }
.champ-back svg { width: 22px; height: 22px; }
.champ-back:hover { background: #fff0f2; }
.champ-back:focus-visible { outline: 3px solid var(--rc-red); outline-offset: 4px; }
.champ-content { min-height: 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr); gap: clamp(24px, 3vw, 64px); padding: clamp(20px, 3vh, 40px) clamp(20px, 3vw, 64px); background: radial-gradient(ellipse at 25% 100%, #ffe4e7 0, transparent 65%); }
.champ-stage { min-height: 0; display: flex; flex-direction: column; }
.champ-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--rc-red); font-weight: 800; font-size: clamp(11px, .8vw, 15px); letter-spacing: 2px; text-transform: uppercase; }
.champ-eyebrow::before { content: ''; width: 26px; height: 3px; background: var(--rc-red); }
.champ-stage h2 { font-family: var(--rc-head); font-size: clamp(36px, 4.2vw, 80px); line-height: 1.03; font-weight: 800; letter-spacing: -1.8px; margin: 0; }
.champ-stage h2 span { color: var(--rc-red); }
.champ-intro { color: #68616a; font-size: clamp(13px, 1.1vw, 20px); line-height: 1.5; margin: 16px 0 0; }
.champ-podium { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(10px, 1.25vw, 24px); padding-top: clamp(30px, 4vh, 64px); }
.champ-place { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(16px, 2vw, 32px) clamp(10px, 1vw, 20px); background: white; border: 1px solid #ebdfe1; border-radius: 24px 24px 8px 8px; box-shadow: 0 12px 32px #9b12200a; overflow: hidden; }
.champ-place.rank-1 { grid-column: 2; grid-row: 1; padding-top: clamp(28px, 4vh, 56px); padding-bottom: clamp(40px, 7vh, 80px); background: linear-gradient(155deg, #ee1830, #cb001a 65%, #a60015); color: white; border-color: #dc001a; box-shadow: 0 16px 45px #b9001b28; }
.champ-place.rank-2 { grid-column: 1; grid-row: 1; padding-bottom: clamp(28px, 4vh, 48px); }
.champ-place.rank-3 { grid-column: 3; grid-row: 1; }
.champ-place.rank-1::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, #ffffff18 48%, transparent 60%); transform: translateX(-130%); pointer-events: none; }
.champ-medal { display: grid; place-items: center; width: clamp(52px, 5vw, 88px); aspect-ratio: 1; border-radius: 50%; background: #f8f1f2; color: var(--rc-red); border: 1px solid #eedee0; margin-bottom: clamp(12px, 2vh, 24px); }
.champ-medal svg { width: 55%; height: 55%; }
.rank-1 .champ-medal { background: #fff6e3; color: #ac7621; border: 5px solid #f6db9b; box-shadow: 0 0 0 7px #ffffff12; }
.champ-place-label { font-size: clamp(10px, .75vw, 14px); letter-spacing: 1.8px; font-weight: 800; text-transform: uppercase; color: var(--rc-red); }
.rank-1 .champ-place-label { color: #ffe7ab; }
.champ-name { overflow-wrap: anywhere; font-family: var(--rc-head); font-size: clamp(17px, 1.65vw, 30px); line-height: 1.18; margin: 12px 0 8px; font-weight: 750; }
.champ-seed { display: block; color: #82757a; font-size: 10px; line-height: 1.4; }
.rank-1 .champ-seed { color: #ffd6dc; }
.champ-score { margin-top: clamp(14px, 2.5vh, 32px); display: flex; flex-direction: column; gap: 4px; }
.champ-score strong { font-family: var(--rc-head); font-size: clamp(32px, 3.4vw, 66px); line-height: 1; letter-spacing: -1px; }
.champ-score span { font-size: clamp(10px, .7vw, 13px); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.champ-you { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: #fff1f3; color: #bc0018; font-size: 11px; font-weight: 800; }
.rank-1 .champ-you { background: white; }
.champ-placeholder { border-style: dashed; background: #ffffff80; box-shadow: none; }
.champ-placeholder .champ-name { font-size: clamp(15px, 1.3vw, 22px); color: #82757a; }
.champ-ranking { min-height: 0; display: flex; flex-direction: column; border: 1px solid #ebdfe1; border-radius: 24px; background: white; overflow: hidden; box-shadow: 0 8px 30px #52111a04; }
.champ-ranking-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: clamp(18px, 2vw, 32px); border-bottom: 1px solid #f1e8e9; }
.champ-ranking-head h3 { margin: 0; font-family: var(--rc-head); font-size: clamp(20px, 1.6vw, 30px); }
.champ-ranking-head p { margin: 5px 0 0; color: #82757a; font-size: 12px; }
.champ-ranking-mark { color: var(--rc-red); font-weight: 800; font-size: 11px; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }
.champ-ranking-mark::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.champ-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #e6b3ba #fff; padding: 0 clamp(14px, 1.5vw, 28px); }
.champ-list table { width: 100%; border-collapse: collapse; }
.champ-list th { position: sticky; top: 0; z-index: 1; background: white; color: #82757a; font-size: 10px; letter-spacing: 1.3px; text-transform: uppercase; text-align: left; padding: 14px 6px; }
.champ-list td { padding: clamp(13px, 2.1vh, 24px) 6px; border-top: 1px solid #f2eaeb; font-size: clamp(13px, 1.05vw, 19px); }
.champ-list td:last-child, .champ-list th:last-child { text-align: right; white-space: nowrap; }
.champ-list td:last-child { font-family: var(--rc-head); font-weight: 750; font-size: clamp(18px, 1.4vw, 26px); }
.champ-list td:nth-child(2) { overflow-wrap: anywhere; }
.champ-list small { display: block; color: #82757a; font-size: 10px; margin-top: 4px; font-weight: 400; }
.champ-list .me { background: #fff1f3; }
.champ-list .me td:nth-child(2) { font-weight: 750; color: #bd0018; }
.champ-list-rank { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 50%; color: #82757a; font-weight: 700; font-size: 13px; }
.champ-list .top-three .champ-list-rank { color: #bf0019; background: #ffe9ed; }
.champ-list .top-three:first-child .champ-list-rank { background: var(--rc-red); color: white; }
.champ-list-note { margin: auto 0 0; padding: 16px 24px; border-top: 1px solid #f1e8e9; font-size: 11px; color: #82757a; line-height: 1.5; }
.champ-empty { color: #82757a; padding: 30px 12px; line-height: 1.6; }
.champ-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(14px, 2vh, 24px) clamp(20px, 3vw, 64px); border-top: 3px solid var(--rc-red); background: white; }
.champ-footer-copy { display: flex; align-items: center; gap: 18px; min-width: 0; }
.champ-footer-rank { flex: none; font-family: var(--rc-head); font-size: clamp(26px, 2.4vw, 44px); color: var(--rc-red); font-weight: 800; }
.champ-footer-copy strong { display: block; font-family: var(--rc-head); font-size: clamp(17px, 1.3vw, 24px); }
.champ-footer-copy p { color: #82757a; font-size: clamp(12px, .9vw, 16px); margin: 4px 0 0; }
.champ-footer-tag { flex: none; color: var(--rc-red); text-transform: uppercase; letter-spacing: 2px; font-size: 11px; font-weight: 800; }
.leaderboard-dialog[open] .champ-place { animation: champ-rise .65s cubic-bezier(.2,.7,.3,1) both; }
.leaderboard-dialog[open] .rank-2 { animation-delay: .1s; }
.leaderboard-dialog[open] .rank-1 { animation-delay: .22s; }
.leaderboard-dialog[open] .rank-3 { animation-delay: .16s; }
.leaderboard-dialog[open] .rank-1::after { animation: champ-shine 1.6s .8s ease-out both; }
@keyframes champ-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes champ-shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@media (max-height: 800px) and (min-width: 901px) {
  .champ-stage h2 { font-size: clamp(34px, 3.5vw, 56px); }
  .champ-intro { margin-top: 10px; }
  .champ-podium { padding-top: 20px; }
  .champ-place { padding-top: 14px; }
  .champ-medal { width: 48px; margin-bottom: 10px; }
  .champ-name { font-size: 20px; margin-top: 8px; }
  .champ-score { margin-top: 12px; }
  .champ-score strong { font-size: 40px; }
}
@media (max-aspect-ratio: 1/1) {
  .champ-content { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(180px, 1fr); gap: 28px; }
  .champ-stage h2 { font-size: clamp(34px, 5.5vw, 72px); }
  .champ-podium { flex: none; }
  .champ-ranking-head { padding: 20px 24px; }
}
@media (max-width: 640px), (max-height: 560px) {
  .champ-header { padding: 12px 16px; }
  .champ-brand img { width: 84px; }
  .champ-edition { display: none; }
  .champ-back { min-height: 48px; font-size: 14px; padding: 10px 18px; }
  .champ-content { display: block; overflow-y: auto; padding: 24px 16px; }
  .champ-stage h2 { font-size: 40px; letter-spacing: -1px; }
  .champ-intro { font-size: 13px; }
  .champ-eyebrow { font-size: 10px; }
  .champ-podium { gap: 6px; padding-top: 24px; }
  .champ-place { border-radius: 16px 16px 6px 6px; padding: 16px 7px; }
  .champ-place.rank-1 { padding: 24px 7px 36px; }
  .champ-place.rank-2 { padding-bottom: 24px; }
  .champ-medal { width: 44px; margin-bottom: 12px; }
  .champ-name { font-size: 16px; margin: 10px 0 6px; }
  .champ-place-label { font-size: 9px; letter-spacing: .5px; }
  .champ-score { margin-top: 16px; }
  .champ-score strong { font-size: 30px; }
  .champ-score span { font-size: 8px; letter-spacing: .5px; }
  .champ-seed { font-size: 9px; }
  .champ-ranking { margin-top: 24px; overflow: visible; }
  .champ-list { overflow: visible; padding: 0 12px; }
  .champ-list th { position: static; }
  .champ-ranking-head { padding: 20px 16px; }
  .champ-footer { padding: 12px 16px; }
  .champ-footer-copy { gap: 12px; }
  .champ-footer-copy strong { font-size: 16px; }
  .champ-footer-copy p { font-size: 11px; }
  .champ-footer-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .leaderboard-dialog[open] .champ-place, .leaderboard-dialog[open] .rank-1::after { animation: none; }
}

@media (max-aspect-ratio: 1/1) and (min-width: 641px) and (min-height: 1100px) {
  .champ-name { font-size: 28px; }
  .champ-score strong { font-size: 58px; }
  .champ-place-label, .champ-score span { font-size: 14px; }
  .champ-intro { font-size: 20px; }
  .champ-list td { font-size: 21px; }
  .champ-list td:last-child { font-size: 28px; }
  .champ-ranking-head h3 { font-size: 30px; }
  .champ-footer-copy strong { font-size: 24px; }
  .champ-footer-copy p { font-size: 16px; }
}
