/* HELL-MU V15.0.2 — Rankings, scoped to existing CMS page only. */
body.hell-theme .hell-rankings-page #box1{min-width:0}
body.hell-theme .hell-rankings-page .box-style1 {position:relative}
body.hell-theme .hell-rankings-page #rankings_select_x800{ text-align:left!important }
body.hell-theme .hell-rankings-page div[id^="rankings_select_"]{display:flex; flex-wrap:wrap; align-items:center;justify-content:flex-start;gap:5px 6px;margin:10px 0 12px;}
body.hell-theme .hell-rankings-page div[id^="rankings_select_"] a.custom_button{margin:0!important;padding:9px 11px!important;line-height:1.25!important;font-size:11px!important;letter-spacing:.02em;min-height:31px;box-sizing:border-box;transition:background .2s ease,box-shadow .2s ease,border-color .2s ease}
body.hell-theme .hell-rankings-page div[id^="rankings_select_"] a.custom_button.hell-v15-active{box-shadow:inset 0 0 0 1px rgba(255,168,105,.64),0 0 13px rgba(214,50,25,.22)!important;background:linear-gradient(180deg,#a22d1b,#57140e)!important;border-color:#b84b2b!important}
body.hell-theme .hell-rankings-page ul.tabrow{display:flex;flex-wrap:wrap;gap:7px;align-items:center;justify-content:flex-start;padding:7px 0!important;}
body.hell-theme .hell-rankings-page ul.tabrow li{float:none!important;margin:0!important;}
body.hell-theme .hell-rankings-page ul.tabrow li.selected {background:none!important;box-shadow:none!important;}
body.hell-theme .hell-rankings-page ul.tabrow li.selected>a{background:linear-gradient(180deg,#76301d,#3c1813)!important;border:1px solid #a95835!important;box-shadow:0 0 0 1px rgba(255,140,60,.16)!important;color:#f3d7a3!important;padding:9px 14px!important;display:inline-block;}
body.hell-theme .hell-rankings-page .ranking-table {border-collapse:collapse;width:100%!important;font-size:12px;}
body.hell-theme .hell-rankings-page .ranking-table thead th{background:linear-gradient(180deg,rgba(99,38,28,.92),rgba(57,27,24,.92))!important;color:#efd2a9!important;border-bottom:1px solid #8b4330!important;white-space:nowrap;padding:11px 6px!important;letter-spacing:.012em;font-weight:600}
body.hell-theme .hell-rankings-page .ranking-table tbody td{padding:9px 6px!important;border-bottom:1px solid rgba(159,88,67,.17)!important;vertical-align:middle;}
body.hell-theme .hell-rankings-page .ranking-table tbody tr{transition:background-color .18s ease;}
body.hell-theme .hell-rankings-page .ranking-table tbody tr:hover{background:rgba(183,58,27,.14)!important;}
body.hell-theme .hell-rankings-page .ranking-table tbody tr.hell-v15-first{background:rgba(150,92,19,.16)!important;}
body.hell-theme .hell-rankings-page .ranking-table tbody tr.hell-v15-second{background:rgba(139,155,172,.09)!important;}
body.hell-theme .hell-rankings-page .ranking-table tbody tr.hell-v15-third{background:rgba(154,84,47,.1)!important;}
body.hell-theme .hell-rankings-page .hell-v15-acchead{text-align:center!important;white-space:nowrap;color:#ceb89f;font-size:11px!important;}
body.hell-theme .hell-rankings-page .hell-v15-accountcell{text-align:center!important;}
.hell-v15-accounttag{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;gap:5px;min-width:59px;max-width:110px;box-sizing:border-box;padding:3px 7px;border-radius:13px;border:1px solid rgba(199,166,135,.2);background:rgba(32,26,25,.75);color:#aa9b8b;font-size:10px;font-weight:500;line-height:1.2;letter-spacing:.01em;text-transform:capitalize;white-space:nowrap;}
.hell-v15-accounttag:before{content:'◆';font-size:7px;opacity:.6}
.hell-v15-accounttag.level-free{color:#a8a5a5;border-color:rgba(150,144,140,.16)}
.hell-v15-accounttag.level-bronze{color:#c1987d;border-color:rgba(179,100,56,.32);background:rgba(70,39,28,.2)}
.hell-v15-accounttag.level-silver{color:#bebfc4;border-color:rgba(177,177,195,.28);background:rgba(67,65,73,.2)}
.hell-v15-accounttag.level-gold{color:#d1ba7c;border-color:rgba(199,155,75,.3);background:rgba(103,71,22,.13)}
.hell-v15-accounttag.level-vip{color:#baab94}
.hell-v15-accounttag.level-unknown{color:#756f6e;border-color:transparent;background:transparent;min-width:36px;}
.hell-v15-accounttag.level-unknown:before{display:none}
/* Podium occupies its own row, 3 equal columns, before existing ranking selector. */
body.hell-theme .hell-v15-podium{width:100%;box-sizing:border-box;margin:0 0 15px;padding:0 12px 14px;position:relative;background:radial-gradient(ellipse at 50% 10%,rgba(105,29,18,.12),transparent 65%);border-bottom:1px solid rgba(152,74,44,.35)}
body.hell-theme .hell-v15-podium[hidden]{display:none!important}
body.hell-theme .hell-v15-podium-heading{text-align:center;font-family:Georgia,'Times New Roman',serif;letter-spacing:.1em;color:#dcb881;font-size:19px;margin:0 auto 11px;position:relative}
body.hell-theme .hell-v15-podium-heading:after{content:'◆';font-size:9px;color:#c85128;display:block;margin:3px auto 0}
body.hell-theme .hell-v15-podium-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:stretch;}
body.hell-theme .hell-v15-card{box-sizing:border-box;position:relative;min-width:0;min-height:124px;padding:33px 9px 11px 37%;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;background:linear-gradient(100deg,rgba(46,38,37,.88),rgba(8,8,10,.91));border:1px solid rgba(163,154,147,.75);clip-path:polygon(0 12%, 5% 0,95% 0,100% 12%,100% 88%,95% 100%,5% 100%,0 88%);box-shadow:inset 0 0 16px rgba(255,255,255,.03)}
body.hell-theme .hell-v15-card.rank-1{border-color:#d4a34a;background:linear-gradient(103deg,rgba(99,45,16,.91),rgba(25,11,9,.94));box-shadow:inset 0 0 24px rgba(232,115,24,.15),0 0 15px rgba(227,125,22,.14)}
body.hell-theme .hell-v15-card.rank-3{border-color:#a46748;background:linear-gradient(103deg,rgba(66,37,28,.85),rgba(13,10,10,.94));}
body.hell-theme .hell-v15-card-art{display:block;pointer-events:none;position:absolute;left:0;bottom:0;top:0;width:50%;object-fit:cover;object-position:center bottom;opacity:.9;mask-image:linear-gradient(90deg,#000 0,#000 52%,transparent 100%);}
body.hell-theme .hell-v15-card-text{position:relative;z-index:1;display:flex;flex-direction:column;gap:5px;align-items:center;max-width:100%;min-width:0}
body.hell-theme .hell-v15-card-number{position:absolute;z-index:2;top:5px;left:50%;transform:translateX(-50%);font-family:Georgia,'Times New Roman',serif;font-weight:700;font-size:23px;line-height:1;color:#d9d9d9;text-shadow:0 1px 3px #000}
body.hell-theme .hell-v15-card-number:before{content:'❧';margin-right:3px;font-size:12px;color:inherit;opacity:.7}
body.hell-theme .hell-v15-card-number:after{content:'❧';margin-left:3px;font-size:12px;color:inherit;opacity:.7;display:inline-block;transform:scaleX(-1)}
body.hell-theme .hell-v15-card.rank-1 .hell-v15-card-number{color:#ffc660}
body.hell-theme .hell-v15-card.rank-3 .hell-v15-card-number{color:#d3926a}
body.hell-theme .hell-v15-card-name{max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-decoration:none!important;font-family:Georgia,'Times New Roman',serif;font-size:clamp(13px,1.55vw,20px);color:#f1c98c!important;text-shadow:0 1px 2px #000}
body.hell-theme .hell-v15-card.rank-1 .hell-v15-card-name{color:#ffe1aa!important}
body.hell-theme .hell-v15-card-class{max-width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:#d1beb0;font-size:11px;}
body.hell-theme .hell-v15-card-label{display:none}
@media(max-width:900px){body.hell-theme .hell-v15-podium-row{gap:6px}body.hell-theme .hell-v15-card{min-height:110px;padding-left:26%;}body.hell-theme .hell-v15-card-art{width:45%}body.hell-theme .hell-v15-card-name{font-size:13px}body.hell-theme .hell-v15-card-class{font-size:10px}}
@media(max-width:650px){body.hell-theme .hell-v15-podium{padding:0 3px 12px}body.hell-theme .hell-v15-podium-row{grid-template-columns:1fr;gap:8px}body.hell-theme .hell-v15-card{min-height:96px;padding:28px 15px 10px 35%;}body.hell-theme .hell-v15-card-art{width:41%}body.hell-theme .hell-v15-card-name{font-size:18px}body.hell-theme .hell-rankings-page #rankings_content_x800,body.hell-theme .hell-rankings-page div[id^="rankings_content_"]{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){body.hell-theme .hell-rankings-page .ranking-table tbody tr,body.hell-theme .hell-rankings-page div[id^="rankings_select_"] a.custom_button{transition:none}}
