.rankings-page{display:none;min-width:0;font-family:ShopInter,system-ui,sans-serif}
html[data-page=rankings] .rankings-page{display:block}
html[data-page=rankings] body>main>:not(.rankings-page){display:none}
.rankings-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.rankings-heading h1{font-size:34px;line-height:1.1;letter-spacing:-1.3px;margin:9px 0 10px}
.rankings-heading p{font-size:12px;color:var(--shop-muted);margin:0;line-height:1.6}
.rankings-status{color:var(--shop-muted);font-size:12px;line-height:1.6;margin:0 0 16px}
.rankings-status[hidden]{display:none}
.rankings-hero{position:relative;isolation:isolate;overflow:hidden;min-height:310px;border:1px solid #7ca8eb33;border-radius:24px;background:radial-gradient(ellipse at 50% 38%,#3979c84d,transparent 66%),linear-gradient(155deg,#1a3051,#0d172a 75%);margin-bottom:20px}
.rankings-hero:before{content:'';position:absolute;inset:25px -80px 65px;z-index:-1;border:1px solid #b6d9ff14;border-radius:50%;transform:rotate(-24deg);box-shadow:0 0 0 24px #a0cfff05,0 0 0 65px #a0cfff04;pointer-events:none}
.rankings-hero-art{position:relative;height:234px;margin:0 12px}
.rankings-hero-card{position:absolute;display:block;top:50px;width:150px;height:170px;left:calc(50% - 75px);filter:drop-shadow(0 14px 12px #0006)}
.rankings-hero-card :is(canvas,.collection-native-art){width:100%;height:100%;object-fit:contain;display:block}
.rankings-hero-card:nth-child(1){width:202px;height:225px;top:8px;left:calc(50% - 101px);z-index:3}
.rankings-hero-card:nth-child(2){left:-10px;transform:rotate(-12deg);z-index:2}
.rankings-hero-card:nth-child(3){left:auto;right:-10px;transform:rotate(12deg);z-index:1}
.rankings-hero-card.is-art-loading:after{content:'';position:absolute;inset:8% 12% 3%;pointer-events:none;clip-path:polygon(50% 0,94% 7%,100% 20%,93% 84%,50% 100%,7% 84%,0 20%,6% 7%);background:linear-gradient(145deg,#739bc328,#1d355c85 45%,#a8c7e01f);box-shadow:inset 0 0 28px #a6c8e01c}
.rankings-hero-copy{position:relative;text-align:center;padding:8px 18px 20px;z-index:4}
.rankings-hero-copy small{display:block;color:#a4badc;font-size:9px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:6px}
.rankings-hero-copy strong{display:block;color:#fff;font-size:21px;letter-spacing:-.5px;line-height:1.2}
.rankings-hero-copy span{display:block;color:var(--shop-muted);font-size:11px;margin-top:7px;line-height:1.5}
.rankings-join{margin:0 0 20px;padding:16px;border:1px solid var(--shop-stroke);border-radius:20px;background:linear-gradient(135deg,#ffffff05,transparent 70%),var(--shop-card)}
.rankings-join[hidden]{display:none}
.rankings-join-intro{display:flex;align-items:center;gap:12px;min-width:0}
.rankings-join-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--shop-stroke);border-radius:12px;background:#ffffff06;color:#bdd6f2}
.rankings-join-icon svg{display:block;width:22px;height:22px}
.rankings-join h2{margin:0;color:var(--shop-text);font-size:14px;font-weight:750;line-height:1.35;letter-spacing:-.2px}
.rankings-join p{margin:5px 0 0;color:var(--shop-muted);font-size:11px;line-height:1.5}
.rankings-join-login{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin-top:14px;padding:8px 12px;border:1px solid #ffffff26;border-radius:12px;background:linear-gradient(135deg,#ffffff14,#ffffff06);color:var(--shop-text);font-size:13px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s}
.rankings-join-login svg{display:block;flex:none;width:17px;height:17px}
.rankings-join-login:hover{background:#ffffff14;border-color:#ffffff40}
.rankings-section{margin:0 0 28px;scroll-margin-top:94px}
.rankings-section:last-child{margin-bottom:0}
.rankings-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.rankings-section-number{font-size:26px;font-weight:800;letter-spacing:-1px;color:#5482b052;line-height:1}
.rankings-section-heading h2{font-size:18px;letter-spacing:-.6px;font-weight:800;line-height:1.25;margin:0;scroll-margin-top:94px}
.rankings-section-heading p{color:var(--shop-muted);font-size:10px;line-height:1.5;margin:5px 0 0}
.rankings-list{display:grid;gap:8px}
.rankings-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px;min-width:0;border:1px solid var(--shop-stroke);border-radius:16px;background:var(--shop-card);padding:9px 10px 9px 7px}
.rankings-row.is-first{border-color:#7ca8eb42;background:linear-gradient(125deg,#22375c8c,var(--shop-card))}
.rankings-card-link{display:grid;grid-template-columns:24px 55px minmax(0,1fr);gap:6px;align-items:center;min-width:0;color:inherit;text-decoration:none}
.rankings-position{font-size:11px;letter-spacing:-.3px;color:#8ea9cb;text-align:center;font-variant-numeric:tabular-nums}
.rankings-row.is-first .rankings-position{color:#e6c77f;font-weight:800}
.rankings-card-link :is(canvas,.collection-native-art){display:block;width:55px;height:66px;object-fit:contain;filter:drop-shadow(0 4px 5px #0005)}
.rankings-card-copy{min-width:0}
.rankings-card-name{display:block;font-size:12px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.rankings-card-meta{display:block;color:var(--shop-muted);font-size:10px;line-height:1.5;margin-top:4px}
.rankings-card-event{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#748db0;margin-top:2px}
.rankings-votes.card-actions{display:block;width:auto;margin:0}
.rankings-votes .card-votes{flex-direction:column;gap:5px}
.rankings-votes .card-vote{height:31px;min-height:31px;min-width:52px;padding:0 7px;gap:5px;font-size:12px;border-radius:10px}
.rankings-votes .card-vote svg{width:15px;height:15px}
.rankings-empty{padding:20px 18px;border:1px dashed #819ec530;border-radius:16px;color:var(--shop-muted);font-size:12px;line-height:1.7;background:#14253a26}
.rankings-empty a{color:var(--shop-blue);text-decoration:none}
.rankings-row.is-updated{border-color:#78b7ffaa;box-shadow:0 0 0 1px #78b7ff33,0 0 24px #46a6ff15}
.rankings-row[data-rank-direction] .rankings-position{position:relative}
.rankings-row[data-rank-direction] .rankings-position:after{content:'';position:absolute;left:50%;top:calc(100% + 4px);width:12px;height:12px;transform:translateX(-50%);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13V3M3 8l5-5 5 5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13V3M3 8l5-5 5 5' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.rankings-row[data-rank-direction=down] .rankings-position:after{transform:translateX(-50%) rotate(180deg)}
.rankings-row{transition:border-color .2s,box-shadow .5s}
.rankings-more{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px 12px;margin-top:12px}
.rankings-more[hidden],.rankings-more [hidden]{display:none}
.rankings-more .quick-search-more{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0;width:auto;min-height:32px;padding:4px 10px;border:0;border-radius:8px;background:transparent;font-size:12px;font-weight:600;line-height:1.3}
.rankings-more .quick-search-more[hidden]{display:none}
.rankings-more svg{width:13px;height:13px;flex:none}
.rankings-more .rankings-collapse{color:var(--shop-muted)}
.rankings-pager{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:4px 8px;width:100%}
.rankings-pager .rankings-collapse{justify-self:center}
.rankings-more .rankings-page-button{display:grid;place-items:center;width:32px;height:32px;padding:0;line-height:0;border:1px solid var(--rank-panel-row-stroke,var(--shop-stroke));background:#ffffff04;color:var(--rank-panel-heading,var(--shop-text))}
.rankings-more .rankings-page-button svg{display:block;width:16px;height:16px}
.rankings-page-button:disabled{opacity:.3}
.rankings-next svg{transform:rotate(180deg)}
.rankings-next{grid-column:3}
.rankings-popular-pagination{width:100%}
.rankings-more-status{flex-basis:100%;font-size:11px;line-height:1.5;text-align:center;color:var(--shop-muted);margin:0}
.rankings-featured .rankings-more-button{color:var(--rank-panel-heading)}
.rankings-more .quick-search-more:hover:not(:disabled){background:#7ca8eb12}
[data-ranking-group=popular] .rankings-row.is-upper-tier{background:linear-gradient(120deg,#23466c17,#142438d9)}
[data-ranking-group=popular] .rankings-row.is-podium{border-color:#46a6ff55;background:linear-gradient(120deg,#23466c55,#142438d9)}
[data-ranking-group=popular] .rankings-row.is-podium .rankings-position{color:#8fc8ff;font-weight:800}
[data-ranking-group=popular] .rankings-row.is-first .rankings-position{position:relative}
[data-ranking-group=popular] .rankings-row.is-first .rankings-position:before{content:'';position:absolute;left:50%;bottom:calc(100% + 3px);width:13px;height:13px;transform:translateX(-50%);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13V3M3 8l5-5 5 5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13V3M3 8l5-5 5 5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
/* Keep the native-card hero; the two vote lists share the approved poster panel.
   The second local study keeps its own styles for side-by-side comparison.
   The 640px decoration stays anchored at the top as rows are added. Only the
   small masked banner gets a composited layer, never the full growing list. */
.rankings-page:not(.rankings-poster) .rankings-featured{--rank-panel-tint:#58441b65;--rank-panel-upper-tint:#58441b17;--rank-panel-surface:#242a34;--rank-panel-fade:#1b2330;--rank-panel-stroke:#cba1542c;--rank-panel-row-stroke:#cba15426;--rank-panel-active-stroke:#cba15466;--rank-panel-active-tint:#65501f3b;--rank-panel-heading:#efd59c;--rank-panel-number:#e8cf96;--rank-panel-number-stroke:#cba15450;--rank-panel-number-bg:#cba1540a;--rank-panel-art:url('media/rankings/best.webp?v=20261111-optimized');position:relative;isolation:isolate;overflow:hidden;border-radius:22px;padding:24px 12px 12px;margin-left:-1px;margin-right:-1px;border:1px solid var(--rank-panel-stroke);background-color:#111c30;background-image:radial-gradient(ellipse at 20% 4%,var(--rank-panel-tint),transparent 70%),linear-gradient(180deg,var(--rank-panel-surface),#111c30);background-size:100% 640px;background-position:top;background-repeat:no-repeat}
.rankings-page:not(.rankings-poster) [data-ranking-group=worst]{--rank-panel-tint:#57233165;--rank-panel-upper-tint:#57233117;--rank-panel-surface:#1d2034;--rank-panel-fade:#191e30;--rank-panel-stroke:#d869742c;--rank-panel-row-stroke:#d8697426;--rank-panel-active-stroke:#d8697466;--rank-panel-active-tint:#5d25313b;--rank-panel-heading:#f0dfe3;--rank-panel-number:#ef929f;--rank-panel-number-stroke:#ef929f44;--rank-panel-number-bg:#ef929f08;--rank-panel-art:url('media/rankings/worst.webp?v=20261111-optimized')}
.rankings-page:not(.rankings-poster) .rankings-featured:before{content:'';display:block;height:180px;margin:-24px -12px 0;background:var(--rank-panel-art) center 25%/cover no-repeat;-webkit-mask-image:linear-gradient(180deg,#000 58%,transparent);mask-image:linear-gradient(180deg,#000 58%,transparent);opacity:.85;transform:translateZ(0)}
.rankings-page:not(.rankings-poster) [data-ranking-group=best]:before{height:216px;background-position:center top;opacity:1}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-section-heading{position:relative;margin-top:-20px;margin-bottom:18px}
.rankings-page:not(.rankings-poster) .rankings-featured h2{font-size:24px;letter-spacing:-.8px;color:var(--rank-panel-heading)}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-section-heading p{font-size:12px;line-height:1.5;margin-top:2px}
.rankings-page:not(.rankings-poster) .rankings-section-number{display:none}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row{border-color:var(--rank-panel-row-stroke);background:#101b2ed9}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-upper-tier{background:linear-gradient(120deg,var(--rank-panel-upper-tint),#101b2ee8)}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-podium{border-color:var(--rank-panel-active-stroke);background:linear-gradient(120deg,var(--rank-panel-active-tint),#101b2e)}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-position{color:var(--rank-panel-number);font-weight:400}
.rankings-page:not(.rankings-poster) [data-ranking-group=worst] .rankings-position{color:#e5a1ac}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-podium .rankings-position{color:var(--rank-panel-number);font-weight:800}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-first .rankings-position{position:relative}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-first .rankings-position:before{content:'';position:absolute;left:50%;bottom:calc(100% + 3px);width:13px;height:11px;transform:translateX(-50%);background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3 15 1 4l6 5 5-8 5 8 6-5-2 11H3Zm1 2h16v2H4Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M3 15 1 4l6 5 5-8 5 8 6-5-2 11H3Zm1 2h16v2H4Z'/%3E%3C/svg%3E") center/contain no-repeat}
.rankings-hero-placeholder{visibility:hidden}
.rankings-page:not(.rankings-poster) [data-ranking-group=worst] .rankings-row.is-first .rankings-position:before{height:13px;transform:translateX(-50%) rotate(180deg);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10v11H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3Zm0 0 4-8a3 3 0 0 1 3 3v4h5a3 3 0 0 1 3 3l-2 7a3 3 0 0 1-3 2H7Z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10v11H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3Zm0 0 4-8a3 3 0 0 1 3 3v4h5a3 3 0 0 1 3 3l-2 7a3 3 0 0 1-3 2H7Z'/%3E%3C/svg%3E")}
.rankings-page[aria-busy=true] .rankings-featured .rankings-list:empty{min-height:277px}
.rankings-page:not(.rankings-poster) .rankings-featured .rankings-row.is-updated{border-color:#78b7ffaa;box-shadow:inset 0 0 0 1px #8fc8ff77,0 0 20px #46a6ff15}
@media(max-width:350px){.rankings-page:not(.rankings-poster) .rankings-featured h2{font-size:22px}}
@media(max-width:350px){.rankings-heading h1{font-size:29px}.rankings-heading .eyebrow{font-size:9px}.rankings-card-link{grid-template-columns:20px 46px minmax(0,1fr);gap:4px}.rankings-card-link :is(canvas,.collection-native-art){width:46px;height:59px}.rankings-row{padding-right:7px;column-gap:5px}.rankings-card-name{font-size:11px}.rankings-votes .card-vote{min-width:46px}.rankings-hero-card:nth-child(2){left:-25px}.rankings-hero-card:nth-child(3){right:-25px}}
@media(prefers-reduced-motion:reduce){.rankings-row{scroll-behavior:auto}}

html[data-rankings-entry=pending] .rankings-page{visibility:hidden;min-height:var(--rankings-entry-height,0px)}
