@import url("../rank_theme_boards/style.css");
@import url("../np2_rank_board/style.css");
@import url("../rank_list/style.css");

.dr-theme .dr-configured-rank{padding:0;background:var(--dr-surface);min-height:100dvh}
.dr-configured-rank svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dr-configured-rank .dr-rank-hero{position:relative;isolation:isolate;overflow:hidden;padding:0 23px 47px;margin:0;color:#143d32;background:linear-gradient(120deg,#d7fae9 0%,#9be4cd 55%,#6ecdb9 100%)}
.dr-configured-rank .dr-rank-hero:after{content:"";position:absolute;z-index:-1;width:190px;height:190px;border:30px solid #ffffff22;outline:1px solid #ffffff50;border-radius:50%;right:-45px;top:40px;transform:rotate(-28deg);box-shadow:0 0 0 15px #ffffff12,0 0 0 35px #ffffff08}
.dr-configured-rank .dr-rank-topline{height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 -10px 15px;font-size:14px}
.dr-configured-rank .dr-rank-topline .dr-icon-button{width:40px;height:42px;font-size:20px;display:grid;place-items:center}
.dr-configured-rank .dr-rank-topline>span{flex:1;color:#245a48}
.dr-configured-rank .dr-rank-hero h1{position:relative;font-size:29px;font-weight:750;line-height:1.4;letter-spacing:.02em;margin:0 20px 10px 0}
.dr-configured-rank .dr-rank-hero>p{font-size:14px;margin:0 0 10px}
.dr-configured-rank .dr-rank-hero>small{font-size:11px;color:#356e5c;line-height:1.6}
.dr-dark .dr-configured-rank .dr-rank-hero{background:linear-gradient(120deg,#052d28 0%,#075442 55%,#087b61 100%);color:#f0fff8}
.dr-dark .dr-configured-rank .dr-rank-hero h1,.dr-dark .dr-configured-rank .dr-rank-topline .dr-icon-button{color:#f0fff8}
.dr-dark .dr-configured-rank .dr-rank-hero>p{color:#c6e7d9}
.dr-dark .dr-configured-rank .dr-rank-topline>span,.dr-dark .dr-configured-rank .dr-rank-hero>small{color:#a7d9c6}
.dr-dark .dr-configured-rank .dr-rank-hero:after{border-color:#ffffff0c;outline-color:#ffffff20;box-shadow:0 0 0 15px #ffffff08,0 0 0 35px #ffffff04}
.dr-configured-rank .dr-rank-body{position:relative;padding:19px 20px 25px;margin-top:-23px;border-radius:26px 26px 0 0;background:var(--dr-surface);min-height:65dvh;color:var(--dr-text)}
.dr-configured-rank .dr-rank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 17px}
.dr-configured-rank .dr-rank-modules{display:flex;flex:1;min-width:0;gap:25px;margin:0;padding:0;border:0;overflow:auto;scrollbar-width:none}
.dr-configured-rank .dr-rank-modules button{position:relative;flex:none;padding:9px 0 10px;border-radius:0;background:none;color:var(--dr-muted);font-size:18px;white-space:nowrap;font-weight:500}
.dr-configured-rank .dr-rank-modules button.is-active{color:var(--dr-text);background:none;font-weight:750}
.dr-configured-rank .dr-rank-modules button.is-active:after{content:"";position:absolute;bottom:1px;left:50%;transform:translateX(-50%);width:19px;height:3px;border-radius:2px;background:var(--dr-accent)}
.dr-configured-rank .dr-rank-filter-trigger{display:flex;align-items:center;justify-content:center;gap:4px;flex:none;min-height:40px;padding:6px 0 6px 9px;color:var(--dr-text);font-size:14px}
.dr-configured-rank .dr-rank-filter-trigger svg{width:17px;height:17px}.dr-configured-rank .dr-rank-filter-trigger.is-active{color:var(--dr-accent)}
.dr-configured-rank .dr-rank-search{display:flex;gap:8px;margin:0 0 24px;padding:8px 11px;border-radius:11px;background:var(--dr-fill,var(--dr-bg));border:0;min-height:43px}
.dr-configured-rank .dr-rank-search>svg{width:18px;height:18px;color:var(--dr-muted)}
.dr-configured-rank .dr-rank-search input{min-width:0;font-size:13px;background:none;color:var(--dr-text);border:0;outline:0}
.dr-configured-rank .dr-rank-search>button{font-size:12px;color:var(--dr-text);padding:3px 0 3px 6px;flex:none}
.dr-configured-rank .dr-rank-filter-summary{font-size:11px;line-height:1.6;color:var(--dr-muted);margin:-11px 0 18px}
.dr-configured-rank .rank-theme-boards>.np2-rank{margin:0 0 26px}
.dr-configured-rank .np2-rank__head{gap:10px;margin:0 0 8px;padding:0;align-items:center;flex-wrap:wrap}
.dr-configured-rank .np2-rank__head .np2-row__title{font-size:16px;min-width:0;color:var(--dr-text)}
.dr-configured-rank .np2-rank__periods{border-radius:8px;background:var(--dr-fill,var(--dr-bg));padding:3px;gap:0}
.dr-configured-rank .np2-rank__period{border-radius:6px;padding:6px 9px;font-size:11px;color:var(--dr-muted)}
.dr-configured-rank .np2-rank__period.is-on{background:var(--dr-accent-soft);color:var(--dr-accent);box-shadow:none}
.dr-configured-rank .pb-rank-list{padding:0;border:0;background:transparent;box-shadow:none}
.dr-configured-rank .pb-rank-list__link{position:relative;gap:13px;min-height:111px;padding:13px 0;border-radius:0;align-items:center}
.dr-configured-rank .pb-rank-list__link:hover{background:var(--dr-fill,var(--dr-bg))}
.dr-configured-rank .pb-rank-list__item{border-bottom:1px solid var(--dr-line)}
.dr-configured-rank .pb-rank-list__poster{box-shadow:none;border-radius:9px;overflow:hidden;flex:0 0 82px;width:82px;aspect-ratio:3/4;height:auto}
.dr-configured-rank .pb-rank-list__poster img{display:block;width:100%;height:100%;object-fit:cover}
.dr-configured-rank .pb-rank-list__no{position:absolute;z-index:1;top:13px;left:0;flex:0 0 23px;width:23px;height:25px;border-radius:9px 0;background:#888;box-shadow:none;font-size:14px;color:#fff}
.dr-configured-rank .pb-rank-list__item:nth-child(1) .pb-rank-list__no{background:linear-gradient(135deg,#ffd27b,#ff9b2d);box-shadow:none;color:#fff}
.dr-configured-rank .pb-rank-list__item:nth-child(2) .pb-rank-list__no{background:linear-gradient(135deg,#4fdfc7,#0eb697);box-shadow:none;color:#fff}
.dr-configured-rank .pb-rank-list__item:nth-child(3) .pb-rank-list__no{background:linear-gradient(135deg,#7cbaf4,#4287da);box-shadow:none;color:#fff}
.dr-configured-rank .pb-rank-list__body{display:block;flex:1;min-width:0}
.dr-configured-rank .pb-rank-list__name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow:hidden;font-size:16px;line-height:1.45;color:var(--dr-text);font-weight:650;margin-bottom:8px}
.dr-configured-rank .pb-rank-list__meta{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:1.6;color:var(--dr-muted)}
.dr-configured-rank .dr-rank-blurb{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--dr-muted);font-size:12px;line-height:1.7;margin-top:7px}
.dr-configured-rank .dr-rank-stats{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px;font-size:10px;line-height:1.5;color:var(--dr-muted)}
.dr-configured-rank .dr-rank-stats>span{padding:2px 5px;border-radius:4px;background:var(--dr-fill,var(--dr-bg))}.dr-configured-rank .dr-rank-stats .dr-rank-heat{color:#ba8a42}
.dr-configured-rank .pb-rank-list[data-mid="12"] .pb-rank-list__poster,.dr-configured-rank .pb-rank-list__item[data-cover-natural="v"] .pb-rank-list__poster,.dr-configured-rank .pb-rank-list__item--portrait:not([data-cover-natural="h"]):not([data-cover-natural="s"]) .pb-rank-list__poster{flex-basis:82px;width:82px;aspect-ratio:2/3}
.dr-configured-rank .pb-rank-list[data-mid="2"] .pb-rank-list__no{position:static;flex:0 0 25px;width:25px;height:27px;border-radius:7px}
.dr-configured-rank .pb-rank-list[data-mid="2"] .pb-rank-list__link{min-height:108px;align-items:flex-start}
.dr-configured-rank .dr-rank-body>.dr-empty{padding:45px 10px}
.dr-configured-rank [hidden]{display:none!important}
.dr-theme .dr-rank-filter{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,680px);max-width:680px;max-height:78dvh;padding:0;border:0;border-radius:23px 23px 0 0;overflow:hidden;background:var(--dr-surface);color:var(--dr-text)}
.dr-theme .dr-rank-filter[open]{display:flex;flex-direction:column}
.dr-theme .dr-rank-filter>header{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:10px;flex:none;margin:0;padding:16px 17px;border-bottom:1px solid var(--dr-line)}
.dr-theme .dr-rank-filter>header h2{font-size:18px;text-align:center;margin:0;padding:0}.dr-theme .dr-rank-filter>header button{width:40px;height:38px;min-height:38px;padding:7px;display:grid;place-items:center}
.dr-rank-filter-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:17px 20px 25px}
.dr-theme .dr-rank-filter-hint{font-size:11px;line-height:1.7;color:var(--dr-muted);margin:0 0 20px}
.dr-theme .dr-rank-filter h3{font-size:13px;margin:20px 0 13px}.dr-theme .dr-rank-filter h3:first-child{margin-top:0}
.dr-rank-filter-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dr-theme .dr-rank-filter-options>button{padding:11px 7px;border-radius:9px;background:var(--dr-fill,var(--dr-bg));font-size:13px;line-height:1.5;overflow-wrap:anywhere;min-height:42px;color:var(--dr-muted)}
.dr-theme .dr-rank-filter-options>button[aria-pressed="true"]{background:var(--dr-accent-soft);color:var(--dr-accent);font-weight:600}
.dr-theme .dr-rank-filter>footer{position:static;bottom:auto;display:flex;gap:17px;align-items:center;flex:none;margin:0;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--dr-line);background:var(--dr-surface)}
.dr-theme .dr-rank-filter>footer>button{width:auto;min-width:0;flex:1;margin:0;padding:12px 10px;font-size:15px;color:var(--dr-muted)}.dr-theme .dr-rank-filter>footer>.dr-button{flex:2;background:linear-gradient(105deg,#ff9e35,#ff7020);color:#fff;border-radius:12px}
.dr-configured-rank[data-dr-rank-embedded]{min-height:0}.dr-configured-rank[data-dr-rank-embedded] .dr-rank-topline{display:none}.dr-configured-rank[data-dr-rank-embedded] .dr-rank-hero{padding-top:27px}
@media(max-width:370px){.dr-configured-rank .dr-rank-body{padding-left:17px;padding-right:17px}.dr-configured-rank .dr-rank-modules{gap:22px}.dr-configured-rank .dr-rank-modules button{font-size:17px}.dr-configured-rank .dr-rank-hero{padding-left:20px;padding-right:20px}.dr-configured-rank .dr-rank-hero h1{font-size:26px}.dr-configured-rank .pb-rank-list__poster,.dr-configured-rank .pb-rank-list__item--portrait:not([data-cover-natural="h"]):not([data-cover-natural="s"]) .pb-rank-list__poster,.dr-configured-rank .pb-rank-list[data-mid="12"] .pb-rank-list__poster{width:74px;flex-basis:74px}.dr-configured-rank .pb-rank-list__name{font-size:15px}.dr-configured-rank .np2-rank__head .np2-row__title{font-size:15px}.dr-configured-rank .np2-rank__period{padding:6px 8px}.dr-rank-filter-body{padding-left:17px;padding-right:17px}}
