@charset "utf-8";

.topBrand {width:100%;}
.topBrand section {margin-top:30px;background-color:#fafafa;}
.topBrand .rankingContent {position:relative;}
.topBrand .brand a {color:#222;font-size:14px;}
.topBrand .copyright {margin-top:20px;font-size:14px;color:#555;text-align:center;}
.topBrand .noDataText {display:flex;justify-content:center;align-items:center;padding:100px 0;font-size:14px;font-family:"Pretendard SemiBold";}
.topBrand .bullet,
#brandRanking__layer .bullet {position:relative;padding-left:18px;}
.topBrand .bullet:before,
#brandRanking__layer .bullet:before {content:"";position:absolute;top:2px;left:0;width:12px;height:12px;border-radius:50%;}
.topBrand .bullet.index:before,
#brandRanking__layer .bullet.index:before {background-color:#169dab;}
.topBrand .bullet.price:before,
#brandRanking__layer .bullet.price:before {background-color:#d5d5d5;}
.topBrand .rankingBtn {display:flex;gap:4px;flex:1 0 0;justify-content:flex-end;flex-shrink:0;}
.topBrand .rankingBtn button {min-width:66px;height:34px;padding:0;font-size:14px;text-transform:uppercase;}
.topBrand__info {display:flex;flex-direction:column;gap:10px;margin-top:20px;padding-bottom:20px;border-bottom:1px solid #ddd;}
.topBrand__info__item {display:flex;flex-direction:column;gap:4px;font-size:14px;}
.topBrand__info__item dt {}
.topBrand__info__item dd {line-height:1.4;color:#555;}

.legendContainer {display:flex;justify-content:space-between;}
.dataLegend {display:flex;gap:10px;align-items:center;}
.dataLegend .bullet:before,
#brandRanking__layer .dataLegend .bullet:before {border-radius:initial}
.rankingTable .mypageUtil__table__wrap th {line-height:initial;box-sizing:border-box;}
.rankingTable .mypageUtil__table__wrap td {padding-top:10px;padding-bottom:10px;color:#222;font-family:"Pretendard Medium";cursor: pointer;}

.graphList {display:flex;flex-direction:column;gap:6px;}
.graphList li {display:flex;align-items:center;height:15px;gap:4px;}
.graphList li .bar {height:15px;border-top-right-radius:12px;border-bottom-right-radius:12px;}
.graphList li .number {font-size:14px;color:#999;}
.graphList .indexGraph .bar {background-color:#169dab;}
.graphList .priceGraph .bar {background-color:#d5d5d5;}
.categoryTabsWrap {display:flex;flex-wrap:wrap;}
.categoryTabsWrap .allCategoryTab {display:flex;width:150px;align-items:center;justify-content:center;}
.categoryTabsWrap .allCategoryTab .categoryTabButton {padding:0;height:100%;}
.categoryTabs {display:flex;flex-wrap:wrap;justify-content:space-between;}
.categoryTabItem {flex:1 0 calc(100% / 7);}
.categoryTabButton {display:flex;width:100%;padding:16px 0;align-items:center;justify-content:center;background-color:#f5f5f5;font-size:14px;font-family:"Pretendard SemiBold";color:#222;transition:background-color .1s, color .1s;}
.categoryTabButton:hover {background-color:#169dab;color:#fff;}
.categoryTabButton.active {background-color:#169dab;color:#fff;}
.subCategoryContainer {display:flex;justify-content:space-between;align-items:stretch;gap:20px;padding:14px 14px 14px 0;background-color:#fff;min-height:46px;box-sizing: border-box;}
.subCategoryTabItem:last-child .subCategoryTabButton:after {display:none;}
.subCategoryTabs {display:flex;flex-wrap:wrap;gap:6px 18px;}
.subCategoryTabButton {position:relative;font-size:14px;color:#555;}
.subCategoryTabButton:after {content:"";position:absolute;top:50%;right:-10px;transform:translateY(-50%);align-items:center;width:2px;height:2px;background-color:#555;border-radius:50%;transition:font-weight .1s, color .1s;}
.subCategoryTabButton:hover {font-family:"Pretendard SemiBold";color:#169dab;}
.subCategoryTabButton.active {font-family:"Pretendard SemiBold";color:#169dab;}
.categoryRankingList {border-top:1px solid #222;}
.categoryRankingItem {display:flex;align-items:center;padding:10px 10px 10px 0;border-bottom:1px solid #e6e6e6;}
.categoryRankingItem .rank,
.categoryRankingItem .brand,
.categoryRankingItem .legendContainer {padding:0 20px;font-size:14px;box-sizing:border-box;font-family:"Pretendard Medium";font-weight:500;}
.categoryRankingItem .rank {width:140px;flex-shrink:0;}
.categoryRankingItem .brand {width:260px;flex-shrink:0;}
.categoryRankingItem .graphListContainer {flex:1 1 0;padding:0 20px;}
.categoryRankingItem.categoryRankingTitle {height:55px;padding:0;box-sizing:border-box;}
.categoryRankingItem.categoryRankingTitle .rank,
.categoryRankingItem.categoryRankingTitle .brand,
.categoryRankingItem.categoryRankingTitle .legendContainer {color:#222;font-size:14px;font-weight:500;font-family:"Pretendard SemiBold";box-sizing:border-box;}
.categoryRankingItem.categoryRankingTitle .legendContainer {flex:1 1 0;padding:0 20px;}

/*브랜드랭킹차트*/
.rankingChartPopup{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);z-index:2000;}
.rankingChartPopup.open {display:block;}
.rankingChartPopup .infoPop {width:900px;height:auto;}
.rankingChartPopup__btnClose{position:absolute;top:15px;right:15px;width:16px;height:16px;background:url("//icon.feelway.com/recent/mo/mypage/ico_close@2x.png") no-repeat center/16px 16px;}
.rankingChartPopup strong {font-family:'Pretendard SemiBold';}
.rankingChartPopup .colorSky{color:#169dab !important;}
.rankingChartPopup #chart-container {position:relative;width:100%;height:400px;overflow:hidden;}
.rankingChartPopup .popupInfoList {margin-bottom:20px;}
.rankingChartPopup .popupInfoList__item {margin-top:5px;font-size:16px;}
.rankingChartPopup .popupInfoList__item .sTxt {display:block;padding-left:1em;margin-top:2px;font-size:13px;}
.rankingChartPopup #brandNameTitle {font-size:22px;font-weight:700;color:#222;}

.rankingContent .changeRank {display: inline-flex;align-items: center;width:10px;height:20px;margin:0 4px 0 0;vertical-align: top;text-indent: -9999px;}
.rankingContent .changeRank.default {background: url('//icon.feelway.com/recent/pc/common/icon/icon_default.png') no-repeat 50%/7px;}
.rankingContent .changeRank.up {background: url('//icon.feelway.com/recent/pc/common/icon/icon_up.png') no-repeat 50%/7px;}
.rankingContent .changeRank.down {background: url('//icon.feelway.com/recent/pc/common/icon/icon_down.png') no-repeat 50%/7px;}
#brandRanking__layer .graphList {position:relative;padding-left:40px;}
#brandRanking__layer .graphList:before {content:"";display: flex;align-items: center;justify-content: center;position:absolute;left:0;top:50%;width:18px;height:14px;background: url('https://icon.feelway.com/recent/common/icon/icon_chart.png') no-repeat center / 18px 14px;transform:translateY(-50%);}

/* 브랜드 랭킹 순위 요약 */
.brandRankingSummary {display:flex;align-items: center;justify-content: center;gap:6px;margin-top:20px}
.brandRankingSummary__item {font-size:14px;}
.brandRankingSummary__item:after {content:"/";margin-left:4px;}
.brandRankingSummary__item:last-child:after {display:none;}

/* 브랜드 랭킹 차트 - rankGraph 레이아웃 */
.rankGraph {background:#fff;border-radius:14px;border:1px solid #e0e0e0;overflow:hidden;}
.rankGraph__header {padding:22px 28px 18px;border-bottom:1px solid #f0f0f0;display:flex;align-items:center;gap:12px;}
.rankGraph__brandName {font-size:22px;font-weight:700;color:#222;}
.rankGraph__subTitle {font-size:13px;color:#999;margin-top:2px;}
.rankGraph__body {display:flex;padding:24px 28px;gap:28px;}
.rankGraph__chartArea {background:#fff;border-radius:8px;padding:16px;border:1px solid #eef0f5;flex:1;min-width:0;}
.rankGraph__statsArea {width:200px;flex-shrink:0;}
.rankGraph__statCard {background:#fff;border:1px solid #eef0f5;border-radius:10px;padding:18px;}
.rankGraph__statCard__title {font-size:11px;color:#aaa;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;}
.rankGraph__statItem {display:flex;align-items:baseline;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f0f2f5;}
.rankGraph__statItem:last-child {border-bottom:0;padding-bottom:0;}
.rankGraph__statItem__label {font-size:12px;color:#888;}
.rankGraph__statItem__value {font-size:22px;font-weight:700;color:#333;line-height:1;}
.rankGraph__statItem__value small {font-size:11px;font-weight:500;color:#aaa;margin-left:2px;}
.rankGraph__statItem__date {font-size:10px;color:#bbb;text-align:right;margin-top:2px;}
.rankGraph__statItem--current .rankGraph__statItem__value {color:#169dab;}
.rankGraph__statItem--best .rankGraph__statItem__value {color:#20c5d8;}
.rankGraph__statItem--worst .rankGraph__statItem__value {color:#999;}