/* ========== Base ========== */
:root{
  --bg: #1A2C38;
  --bd: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --link: #58b6ff;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 10px;
  --good: #69b36b;
  --bad: #d66657;

  --red: #c62828;
  --green: #5aa65e;
  --blue: #3a86ff;
  --yellow: #e0aa2b;
  --slate: rgba(255,255,255,.06);

}
main {
  margin-top: 100px;
}
*{ box-sizing: border-box; }
a{ color: inherit; text-decoration: none; }
a:focus-visible, .btn:focus-visible{
  outline: 3px solid rgba(88,182,255,.55);
  outline-offset: 3px;
}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.player-card {
  background: unset;
  border-radius: 18px;
  /* padding: 18px 14px; */
  text-align: center;
  /* box-shadow: 0 12px 30px rgba(0, 0, 0, .35); */
  transition: transform .25s ease, box-shadow .25s ease;
}
#select-fograde-gp {
  position: absolute;
  bottom: 91px;
  left: 2px;
}

#select-fograde-gp .dropdownbtn, #select-folevel-gp .dropdownbtn {
  background: transparent;
  padding: 0;
  cursor: pointer;
  margin: 0;
  border: none;
  line-height: 0;
  width: 40px;
  position: relative;
  height: auto;
}
#select-fograde-gp .badgedgrade {
  height: 19px;
}
.badgedgrade.grade1 {
  background-position: 0 7.692308%;
  background-size: 100%;
}
.badgedgrade.grade1 {
  background-position: 0 7.692308%;
  background-size: 100%;
}
.badgedgrade {
  width: 30px !important;
  height: 15px;
  max-width: 100%;
  background-size: 100%;
  background-image: url(/assets/images/189724d.png);
}


.badgedgrade.grade1 {
  background-position: 0 7.692308%;
  background-size: 100%;
}
.badgedgrade {
  width: 30px !important;
  height: 15px;
  max-width: 100%;
  background-size: 100%;
  background-image: url(/assets/images/189724d.png);
}
.badgedgrade.grade1 {
  background-position: 0 7.692308%;
  background-size: 100%;
}
.badgedgrade.grade2 {
  background-position: 0 46.153846%;
  background-size: 100%;
}
.badgedgrade.grade3 {
  background-position: 0 53.846154%;
  background-size: 100%;
}
.badgedgrade.grade4 {
  background-position: 0 61.538462%;
  background-size: 100%;
}
.badgedgrade.grade5 {
  background-position: 0 69.230769%;
  background-size: 100%;
}
.badgedgrade.grade6 {
  background-position: 0 76.923077%;
  background-size: 100%;
}
.badgedgrade.grade7 {
  background-position: 0 84.615385%;
  background-size: 100%;
}
.badgedgrade.grade8 {
  background-position: 0 92.307692%;
  background-size: 100%;
}
.badgedgrade.grade9 {
  background-position: 0 100%;
  background-size: 100%;
}
.badgedgrade.grade10 {
  background-position: 0 15.384615%;
  background-size: 100%;
}
.badgedgrade.grade11 {
  background-position: 0 23.076923%;
  background-size: 100%;
}
.badgedgrade.grade12 {
  background-position: 0 30.769231%;
  background-size: 100%;
}
.badgedgrade.grade13 {
  background-position: 0 38.461538%;
  background-size: 100%;
}
.grade-tooltip {
  position: absolute;
  background:#f7f7f7;
  color: #acacac;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
  width: 280px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
}


.box-level .grade {
  background: #daffd1;
  color: #836201;
  text-align: left;
  padding-left: 5px;
}

.box-grade .grade {
  background: #d0bf80;
  color: #fefefe;
  text-align: left;
  padding-left: 5px;
}
.box-grade .title {
  background: #3b3316;
  color: #fefefe;
}
.box-level .title {
  background: #cc9900;
  color: #fff;
}
.box-level .active { 
  background: #cc9900;
  color: #fff;
}
.box-grade .active {  
  background: #3b3316;
  color: #fff000;
}

.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #2b2b2b;
}
.grade-tooltip .grade {
  text-align: center;
  padding: 0px 0;
  border-radius: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease-in-out;
  font-size: 14px;
}
.tooltip-grid button {
  border: none;
}
button.bg-unset {
  background: unset;
}
.box-level-person {
  position: absolute;
  bottom: 0px;
  right: 15%;
}

.tooltip-header {
  display: flex;
  background: unset;
  justify-content: space-between;
  position: relative;
  align-items: center;
  font-weight: bold;
  padding: 0 10px;
}
.grade-tooltip .line {
  height: 1px;
  background: #eaeaea;
}
.tooltip-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}
.box-level {
  margin-bottom: 10px;
  margin-top: 10px;
}
.box-grade { 
  margin-bottom: 10px;
}
.tooltip-grid .title {
  width: 60px;
}
.tooltip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 0px 10px;
}
.play-info__level-dropdown {
  position: relative;
  padding-right: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.player-card__inner {
  position: relative;
  overflow: hidden;
  padding-top: 25px;
  padding-bottom: 10px;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.player-card__name.class-1979 {
  color: #fff !important;
} 
.player-card__rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  color: #fff;
  font-weight: 700;
  margin-left: 15px;
  margin-top: -30px;
  position: absolute;
}
.rating-number {
  color: #FFF;
  font-family: "Bebas Neue", sans-serif;
  font-size: 39.654px;
  font-style: normal;
  font-weight: 400; 
  line-height: normal;
}
.rating-position {
  color: #FFF;
  font-family: "Bebas Neue", sans-serif;
  font-size: 23.498px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-left: 2px;
}
.player-card img.player-card__player {
  width: 160px;
  margin-top: 75px;
}

.player-card img {
  width: auto;
  margin: auto;
  display: block;
  height: auto;
}
.player-card__body {
  text-align: center;
  padding: 13px;
}
.player-card h3 {
  font-size: 15px;
}

.player-card__name {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #0a3b8f;
}
.player-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.meta-icon {
  width: 28px;
  height: auto;
}
.player-card img {
  width: 20px;
  margin: auto;
  display: block;
}
.meta-divider {
  width: 1px;
  height: 10px;
  background: #999;
}
.player-card__footer {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(/images/icon_pay_2.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 40px;
  color: #fff;
}
.player-card__pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-family: "Bebas Neue";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.player__panel .player-card__inner {
  width: 200px;
  height: 330px;
  padding-top: 0px;
}

/* ========== Breadcrumb ========== */
.breadcrumb{
  margin: 18px auto 16px;
  /* max-width: 600px; */
  display: flex;
}
.breadcrumb ol{
  list-style: none;
  display: inline-flex;
  gap: 10px;
  padding: 10px 14px;
  margin: 0;
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
  color: var(--text);
  background: unset;
  margin: 18px auto 16px;
  border-radius: 20px;
  border: 1px solid #FFF;
  background: unset;
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb li.current {

  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.breadcrumb li.current span { 
  color: #3B9CFF;
}

.breadcrumb-icon {
  font-size: 16px;
  color: #ffffff;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #ffffff;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')
  no-repeat center;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')
  no-repeat center;
}

.breadcrumb a{
  color: #FFF;
  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.breadcrumb a:hover{
  color: var(--link);
}

/* ========== Player Box ========== */
.player{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 28px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 26px;
  align-items: stretch;
}

.player__panel{
  /* background: var(--bg); */
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.player__panel--card{
  padding: 24px;
  display: grid;
  place-items: center;
  padding-bottom: 0px;
}
.player__img{
  border-radius: 12px;
}

/* Right panel */
.player__panel--info{
  padding: 26px 28px 24px;
  display: grid;
  gap: 14px;
}

.player__name{
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: .2px;
}

/* Badges row */
.player__badges{
  list-style: none;
  display: inline-flex;
  gap: 5px;
  margin: 0;
  padding: 0;
  align-items: center;
  margin-top: 10px;
}
.player__badges li img {
  width: 16px;
}
.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 28px;
  padding: 0 10px;
  border-radius: 6px;
  font-weight: 700;
}
.badge--ghost{
  color: #3B9CFF;
  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.pill {
  background-image: url(/images/icon_left.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: 20px;
  width: 15px;
  position: relative;
}
.pill-right { 
  background-image: url(/images/icon_right.svg);
}
.tab-pill {
  display: flex;
}
.pill span {
  color: #FFF;
  font-family:  "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin-left: 3px;
}
/* Salary */
.player__salary{
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 16px;
}
.player__label{ margin-right: 8px; }
.player__value{ color: var(--link); font-weight: 800; }

/* Info grid */
.player__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-top: 50px;
}
.kv{
  margin: 0;
  display: grid;
  gap: 10px;
}
.kv__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: baseline;
}
.kv dt{
  margin: 0;
  color: #FFF;
  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.kv dd{
  margin: 0;
  color: #3B9CFF;
  text-align: right;
  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.link{
  color: var(--link);
}
.link:hover{
  text-decoration: underline;
}

.stars{
  letter-spacing: 2px;
  color: rgba(255, 221, 120, .95);
  font-weight: 800;
}
.chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  color: #3B9CFF;
  font-weight: 800;
}
/* Nút + / - */
.counter-btn {
  width: 20px;
  height: 20px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Hover */
.counter-btn:hover {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4338ca;
}

/* Active (nhấn) */
.counter-btn:active {
  transform: scale(0.95);
}

/* Nút + nổi bật hơn */
.counter-btn.plus {
  font-weight: 700;
}

/* CTA button */
.btn{
  margin-top: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 20px;
  color: #eaf6ff;
  border: 1px solid rgba(88,182,255,.55);
  border-radius: 5px;
  background: linear-gradient(180deg, #3B9CFF 0%, #235E99 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  font-family: "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.btn:hover{
  transform: translateY(-1px);
}
.btn:active{
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 767px){
  .player{
    grid-template-columns: 1fr;
  }
  .player__panel--card{
    min-height: auto;
  }
  .player__grid{
    grid-template-columns: 1fr;
  }
  .kv__row{
    grid-template-columns: 120px 1fr;
  }
  .player__name{
    font-size: 20px;
  }
}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.box-grid{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.box{
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 22px 24px;
}

.box__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.box__head--review{
  margin-bottom: 10px;
}

.box__title{
  margin: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: .2px;
  margin-top: 10px;
}

.box__title--center{
  width: 100%;
  text-align: center;
}

.box__sub{
  margin: 6px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

/* Score */
.score{
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--link);
  font-weight: 900;
}
.score__value{ font-size: 38px; line-height: 1; }
.score__sep{ font-size: 22px; opacity: .85; }
.score__max{ font-size: 22px; opacity: .85; }

/* Pros/Cons */
.pc{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 26px;
  margin: 10px 0 10px;
}
.pc__title{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--link);
  font-weight: 800;
}
.pc__list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}
.pc__list li{
  color: #FFF;
  font-family:  "Noto Sans Georgian", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

/* Review text + link */
.box__text{
  margin: 10px 0 12px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  font-size: 15px;
}
.box__link{
  display: inline-block;
  color: var(--link);
  font-weight: 800;
}
.box__link:hover{ text-decoration: underline; }

/* Community bar */
.bar-head{
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.86);
  font-weight: 700;
  margin: 0 2px 10px;
}

.splitbar{
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--bd);
  background: rgba(0,0,0,.18);
  display: flex;
  height: 54px;
}
.splitbar__good,
.splitbar__bad{
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  color: rgba(255,255,255,.95);
}
.splitbar__good{
  width: calc(var(--good) * 1%);
  background: #67B067;
}
.splitbar__bad{
  width: calc(var(--bad) * 1%);
  background: #D16253;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 24px;
}
.meta-grid .player-card__inner { 
  height: 190px;
  background-size: contain;
}
.meta-grid .player-card__footer {
  line-height: 12px;
  bottom: 2%;
  left: 49%;
}
.meta-grid .player-card__age {
  font-size: 10px;
}
.meta-grid .player-card__meta {
  gap: 0px;
  margin-top: -8px;
  width: 90px;
  margin-left: 18%;
}
.meta-grid .player-card img { 
  width: 15px;
}
.meta-grid .player-card__body {
  padding: 5px;
  margin-top: -3px;
}
.meta-grid .player-card h3 {
  font-size: 13px;
}
.meta-grid .player-card__rating {
  margin-top: -30px;
  margin-left: 30px;
  gap: 0;
}
.meta-grid .rating-number,
.meta-grid .rating-position { 
  font-size: 15px;
}
.meta-grid .player-card img.player-card__player {
  width: 80px;
  margin-top: 30px;
  margin-left: 40px;
}
.meta-grid  .player-card { 
  background: #0f2538;
  border-radius: 18px;
  padding: 18px 14px;
}

.meta-2{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 2px 16px;
}
.meta-2__item{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.meta-2__item--right{ text-align: right; }

/* Form */
.community-form{
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px;
  margin-top: 50px;
}
.community-form__input{
  height: 44px;
  border-radius: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color: var(--text);
}
.community-form__input::placeholder{
  color: rgba(255,255,255,.55);
}
.community-form__btn{
  color: #eaf6ff;
  font-weight: 900;
  cursor: pointer;
  border-radius: 5px;
  background: linear-gradient(180deg, #3B9CFF 0%, #235E99 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.community-form__btn:hover{ transform: translateY(-1px); }
.community-form__btn:active{ transform: translateY(0); }

/* Responsive */
@media (max-width: 960px){
  .box-grid{ grid-template-columns: 1fr; }
  .pc{ grid-template-columns: 1fr; }
  .score__value{ font-size: 34px; }
}

.stats{
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 36px;
}
.stats__title{
  margin: 0 0 14px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: .2px;
}

.stats__panel{
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Top 6 blocks */
.stats-top{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background-image: url(/images/bg_index.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stats-top__item{
  padding: 0px 10px 0px;
  text-align: center;
  border-right: 1px solid #3B9CFF;
  margin: 20px 0;
}
.stats-top__item:last-child{ border-right: 0; }

.stats-top__num{
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: var(--link);
  text-shadow: 0 0 14px rgba(88,182,255,.25);
}

.stats-top__label{
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: .6px;
  color: rgba(255,255,255,.92);
  font-size: 13px;
  text-transform: uppercase;
}

/* Position tabs */
.pos-tabs{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  background: rgba(0,0,0,.20);
  border-bottom: 1px solid var(--bd);
}

.pos-tabs__tab{
  border: 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .4px;
  cursor: pointer;
  width: 74px;
  height: 25px;
  margin: 5px 6px 5px 6px;
}
.pos-tabs__tab:last-child{ border-right: 0; }

.pos-tabs__tab.is-muted{ background: #505051; color: rgba(255,255,255,.88); }
.pos-tabs__tab.is-red{ background: rgba(198,40,40,.92); }
.pos-tabs__tab.is-green{ background: rgba(90,166,94,.92); }
.pos-tabs__tab.is-blue{ background: rgba(58,134,255,.92); }
.pos-tabs__tab.is-yellow{ background: rgba(224,170,43,.92); }

.pos-tabs__star{
  margin-left: 6px;
  color: #ffd26a;
}

/* OVR row */
.ovr-row{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid var(--bd);
}

.ovr-row__cell{
  padding: 5px 0px 10px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  list-style: none;
}
.ovr-row__cell:last-child{ border-right: 0; }

.ovr-row__k{
  color: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .5px;
}

.ovr-row__v{
  margin-top: 4px;
  font-size: 26px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
}

/* Detailed table (4 columns like screenshot) */
.stats-table{
  padding: 0;
}

.stats-table__row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.stats-table__cell{
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
}
.stats-table__cell:last-child{ border-right: 0; }

.stats-table__cell span,
.stats-table__cell dt{
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.stats-table__cell strong,
.stats-table__cell dd{
  color: var(--link);
  font-weight: 900;
}

.stats-table__cell--sum{
  background: rgba(0,0,0,.16);
}
.stats-table__cell--sum .sum{
  font-size: 26px;
  text-shadow: 0 0 14px rgba(88,182,255,.20);
}

/* Hidden stats */
.hidden{
  padding: 16px 18px 18px;
  background: rgba(0,0,0,.12);
}

.hidden__title{
  margin: 0 0 12px;
  color: rgba(255,255,255,.92);
  font-size: 18px;
  font-weight: 900;
}

.hidden__icons{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.hidden__icon{
  width: 54px;
  height: 54px;
  display: flex;
  justify-content: center;
}


/* ============================================
   COLOR SCALE - Stat Value Colors
   ============================================ */

/* Low tier - Gray scale */
.over0 {
  color: #555 !important;
}
.over10 {
  color: #666 !important;
}
.over20 {
  color: #777 !important;
}
.over30 {
  color: #888 !important;
}
.over40 {
  color: #999 !important;
}
.over50 {
  color: #a0a0a0 !important;
}

/* Mid tier - Blue to Cyan */
.over60 {
  color: #5bb8ff !important;
}
.over70 {
  color: #3ecaff !important;
}
.over80 {
  color: #00ffd0 !important;
}

/* High tier - Gold/Yellow (with glow) */
.over90 {
  color: #b5974f !important;
  text-shadow: 0 0 8px rgba(181, 151, 79, 0.5);
}

.over100 {
  color: #ffcc4d !important;
  text-shadow: 0 0 10px rgba(255, 204, 77, 0.6);
}

.over110 {
  color: #ffb347;
  text-shadow: 0 0 12px rgba(255, 179, 71, 0.6);
}

/* Elite tier - Orange to Red (with strong glow) */
.over120 {
  color: #ff784f !important;
  text-shadow: 0 0 8px rgba(255, 120, 79, 0.7), 0 0 16px rgba(255, 120, 79, 0.4);
}

.over130 {
  color: #ff4d6d !important;
  text-shadow: 0 0 8px rgba(255, 77, 109, 0.7), 0 0 16px rgba(255, 77, 109, 0.4);
}

.over140 {
  color: #ff3388 !important;
  text-shadow: 0 0 10px rgba(255, 51, 136, 0.8),
    0 0 20px rgba(255, 51, 136, 0.5);
}

/* Legendary tier - Pink/Purple (with intense glow) */
.over150 {
  color: #ff66ff !important;
  text-shadow: 0 0 12px rgba(255, 102, 255, 0.9),
    0 0 24px rgba(255, 102, 255, 0.6), 0 0 36px rgba(255, 102, 255, 0.3);
}

.over160 {
  color: #ffffff !important;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
    0 0 30px rgba(255, 255, 255, 0.6), 0 0 45px rgba(255, 215, 0, 0.4);
}

/* ============================================
   END COLOR SCALE
   ============================================ */


/* Responsive */
@media (max-width: 1024px){
  .stats-top{ grid-template-columns: repeat(3, 1fr); }
  .pos-tabs, .ovr-row{ grid-template-columns: repeat(6, 1fr); }
}


/* Wrapper */
.club-history{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 16px 34px;
}

.club-history__title{
  margin: 0 0 14px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: .2px;
}

.club-history__panel{
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Table */
.club-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.club-table thead th{
  padding: 18px 20px;
  text-align: center;
  color: rgba(255,255,255,.95);
  font-weight: 900;
  letter-spacing: .6px;
  border-bottom: 1px solid rgba(255,255,255,.10);

  /* header texture look */
  background:
    linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.10)),
    rgba(0,0,0,.15);
}

.club-table tbody td{
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.90);
  background: rgba(0,0,0,.10);
}

.club-table tbody tr:last-child td{
  border-bottom: 0;
}

/* Column widths like screenshot */
.club-table thead th:nth-child(1),
.club-table tbody td:nth-child(1){
  width: 22%;
  text-align: left;
  padding-left: 42px;
}

.club-table thead th:nth-child(2),
.club-table tbody td:nth-child(2){
  width: 56%;
  text-align: left;
}

.club-table thead th:nth-child(3),
.club-table tbody td:nth-child(3){
  width: 22%;
  text-align: center;
}

/* Club cell */
.club{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.95);
  text-decoration: none;
}

.club:hover .club__name{
  text-decoration: underline;
}

.club__logo{
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.club__name{
  font-weight: 700;
}

/* Helpers */
.is-center{ text-align: center; }

/* Responsive */
@media (max-width: 820px){
  .club-table thead th:nth-child(1),
  .club-table tbody td:nth-child(1){
    padding-left: 18px;
  }
  .club-table thead th,
  .club-table tbody td{
    padding: 12px 14px;
  }
}

/* Wrapper */
.rec{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 16px 40px;
}

.rec__title{
  margin: 0 0 16px;
  color: var(--text);
  font-size: 28px;
  letter-spacing: .2px;
}

/* Grid */
.rec__grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* Each tile container like screenshot */
.rec-card{
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 340px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
}

.rec-card__img{
  width: min(230px, 80%);
  height: auto;
  display: block;
  transform: translateY(2px);
}

/* Hover */
.rec-card:hover{
  transform: translateY(-2px);
  transition: transform .15s ease;
}

/* Responsive */
@media (max-width: 1024px){
  .rec__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .rec__grid{ grid-template-columns: 1fr; }
  .rec-card{ min-height: 320px; }
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Wrapper */
.cmt{
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 16px 50px;
  display: none;
}

/* ===== Top row ===== */
.cmt-top{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

/* Login block */
.cmt-login{
  display: grid;
  gap: 12px;
}
.btn-login{
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(88,182,255,.55);
  background: linear-gradient(180deg, rgba(88,182,255,.55), rgba(40,125,210,.55));
  color: #eaf6ff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
}
.btn-login:hover{ transform: translateY(-1px); }
.btn-login:active{ transform: translateY(0); }

.social{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.social__btn{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.88);
  font-weight: 900;
  cursor: pointer;
}
.social__btn:hover{ background: rgba(255,255,255,.06); }

/* Editor */
.cmt-editor{
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 14px 12px;
}
.cmt-editor__textarea{
  width: 100%;
  resize: vertical;
  min-height: 64px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.cmt-editor__textarea::placeholder{
  color: rgba(255,255,255,.55);
}

.cmt-editor__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
}

.cmt-tools{
  display: flex;
  gap: 10px;
  align-items: center;
}
.tool{
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.88);
  cursor: pointer;
  font-size: 13px;
  display: grid;
  place-items: center;
}
.tool:hover{ background: rgba(255,255,255,.06); }

.btn-send{
  height: 38px;
  min-width: 120px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(88,182,255,.55);
  background: linear-gradient(180deg, rgba(88,182,255,.55), rgba(40,125,210,.55));
  color: #eaf6ff;
  font-weight: 900;
  cursor: pointer;
}

/* ===== Comment box ===== */
.cmt-box{
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cmt-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.cmt-title{
  margin: 0;
  font-size: 22px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.badge-count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  min-width: 34px;
  padding: 0 10px;
  border-radius: 10px;
  background: rgba(88,182,255,.30);
  border: 1px solid rgba(88,182,255,.45);
  color: rgba(255,255,255,.95);
  font-weight: 900;
  font-size: 13px;
}

.cmt-sort{
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.92);
  padding: 0 12px;
}

/* List */
.cmt-list{
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}

/* Comment item */
.cmt-item{
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cmt-item:last-child{ border-bottom: 0; }

.comment{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.comment__ava{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.18);
  object-fit: cover;
}

.comment__name{
  margin: 0;
  color: rgba(255,255,255,.95);
  font-size: 18px;
  font-weight: 900;
}

.comment__time{
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(88,182,255,.85);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.dot{ opacity: .7; }

.comment__text{
  margin: 10px 0 10px;
  color: rgba(255,255,255,.86);
  line-height: 1.65;
}

.comment__actions{
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.act{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.act--link{
  color: rgba(255,255,255,.72);
  text-decoration: none;
}
.act--link:hover{ text-decoration: underline; }

/* Reply (nested) */
.reply-list{
  list-style: none;
  margin: 12px 0 0;
  padding: 0 0 0 36px;
  position: relative;
}
.reply-list::before{
  content: "";
  position: absolute;
  left: 18px;
  top: -6px;
  bottom: 6px;
  width: 2px;
  background: rgba(88,182,255,.55);
  border-radius: 2px;
}
.reply-item{
  margin-top: 10px;
}
.comment--reply{
  grid-template-columns: 46px 1fr;
}
.comment--reply .comment__ava{
  width: 38px;
  height: 38px;
}

/* Responsive */
@media (max-width: 900px){
  .cmt-top{ grid-template-columns: 1fr; }
  .cmt-login{ grid-auto-flow: column; align-items: center; justify-content: space-between; }
}
@media (max-width: 560px){
  .comment{ grid-template-columns: 46px 1fr; }
  .cmt-head{ flex-direction: column; align-items: flex-start; }
}


@media (max-width: 767px){ 
  .player__panel--card {
    padding: 24px;
    display: grid;
    place-items: center;
    padding-bottom: 0px;
    background: unset;
    border: unset;
    box-shadow: none;
  }
  .breadcrumb li.current {
    font-size: 10px;
  }
  .breadcrumb li { 
    gap: 5px;
  }
  .breadcrumb a {
    font-size: 10px;
  }
  .cmt-editor { 
    padding: 14px 5px 12px;
  }
  .pos-tabs__tab { 
    width: 50px;
  }
  .breadcrumb { 
    display: flex;
  }
  .breadcrumb ol {
    gap: 5px;
    padding: 8px;
  }
  .club-history__title,
  .rec__title,
  .stats__title {
    font-size: 25px;
  }
  section.pc__col-right {
    position: absolute;
    right: 20px;
  }
  .box__title { 
    margin-top: 5px;
  }
  article.stats-top__item.class-3 {
    border-right: none;
  }
  article.stats-top__item.class-4,
  article.stats-top__item.class-5 { 
    margin-bottom: 40px;
  }
  .pc {
    grid-template-columns: 1fr 1fr;
  }
  .btn { 
    font-size: 13px;
    height: 40px;
  }
  .stats-table__row{ 
    grid-template-columns: 1fr 1fr;
  }
  .stats-top__num{ font-size: 30px; }
  .stats-table__cell { 
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .meta-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .meta-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media (min-width: 450px) and (max-width: 500px) { 
  .meta-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .meta-grid .player-card__age {
    font-size: 8px;
  }
}
@media (max-width: 500px) { 
  .meta-grid .player-card__meta {
    gap: 0px;
    margin-top: 0px;
    width: 75px;
    margin-left: 12%;
  }
  .meta-grid .player-card__rating {
    margin-top: -15px;
    margin-left: 10px;
  }
  .meta-grid .player-card img.player-card__player {
    width: 80px;
    margin-top: 22px;
    margin-left: 10px;
  }
  .meta-grid .player-card__age {
    font-size: 8px;
  }
  .meta-grid .player-card {
    border-radius: 10px;
  }
}


@media (max-width: 450px) { 
  .meta-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .meta-grid .player-card {
    padding: 10px 10px;
    width: 190px;
  }
  .meta-grid .player-card__inner {
    height: 220px;
  }
  .meta-grid .player-card img.player-card__player {
    width: 100px;
    margin-top: 32px;
    margin-left: 35px;
  }
  .meta-grid .player-card__rating {
    margin-top: -25px;
    margin-left: 30px;
    gap: 0;
  }
  .meta-grid .player-card__meta {
    gap: 0px;
    margin-top: -5px;
    width: 90px;
    margin-left: 22%;
  }
}

@media (max-width: 400px) {
  .meta-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .meta-grid .player-card {
    padding: 10px 10px;
    width: 170px;
  }
  .news-overlay h3, .news-item h4 {
    font-size: 10px;
  }
  .news-item h4 { 
    padding: 10px 5px 0;
  }
  .news-item time { 
    font-size: 6px;
  }
  .meta-grid .player-card {
    padding: 10px 10px;
    width: 170px;
  }
}

@media (max-width: 400px) {
.pos-tabs__tab { 
  font-size: 10px;
}
.pos-tabs__tab {
  width: 45px;
}
}