/* --- THIẾT LẬP CHUNG --- */
.player-card-template-12 * { box-sizing: border-box; }

.player-card-template-12.player-card-preview.player-card-preview--template {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
   background: linear-gradient(180deg, 
   #00000000 0%, #00000000 15%,
   #000000 15%, #000000 35%, 
   #FFFFFF 35%, #FFFFFF 36%, 
   #C9240D 36%, #C9240D 67%,
   #00000000 67%, #00000000 100%
   ),
   url(../images/template-12-bg.png) !important;
    background-size: 100% !important;
    background-position: center !important;
    font-family: 'Inter', sans-serif;
    container-type: inline-size;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 3px 10px #4444444f;
}

.player-card-template-12 .player-card-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* --- pc-sponsors --- */

.player-card-template-12 .pc-header {
     gap: 2px;
    width: 100%;
    height: 15cqw;
}
.player-card-template-12 .pc-sponsors {
    position: absolute;
    top: 1.6cqw;
    left: 5cqw;
    height: 10cqw;
    display: flex;
    gap: 3cqw;
    align-items: center;
    justify-content: flex-start;
}
.player-card-template-12 .logo-card { width: 8cqw;}
.player-card-template-12 .pc-sponsors img {
  height: 100%;
  width: auto;
}

/* --- Top Content: Photo & Skills --- */
.player-card-template-12 .pc-top-content {
    display: flex;
    padding: 2cqw 1cqw 0;
    gap: 5cqw;
    justify-content: center;
    align-items: center;
    margin-top: 2cqw;
    z-index: 100;
}

.player-card-template-12 .pc-player-photo-wrapper {
    position: relative;
    width: 38cqw;
    height: 38cqw;
    border-radius: 50%;
    border: 0.6cqw solid #fff;
}

.player-card-template-12 .pc-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.player-card-template-12 .pc-flag-badge {
    position: absolute;
    top: 0;
    right: -4cqw;
    width: 6cqw;
    height: 6cqw;
    border-radius: 50%;
    overflow: hidden;

}

.player-card-template-12 .pc-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skills */
.player-card-template-12 .pc-skills-container {
    display: flex;
    flex-direction: column;
    gap: 8cqw;
}
 .player-card-template-12 .pc-skills-container-2 {
    display: flex;
    flex-direction: column;
    gap: 3cqw;
    padding-top: 4cqw;
}
.player-card-template-12 .pc-skill-item {
    display: flex
;
    align-items: center;
    gap: 2cqw;
    position: relative;
}

.player-card-template-12 .pc-skill-icon {
    width: 6cqw;
    height: 6cqw;
}

.player-card-template-12 .pc-skill-divider {
    width: 0.4cqw;
    height: 7cqw;
    background: #FFFFFF;
    opacity: 1;
}

.player-card-template-12 .pc-skill-label {
    font-size: 3.5cqw;
    color: #FFFFFF;
    font-weight: 400;
}

.player-card-template-12 .pc-skill-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5cqw;
    color: #FFFFFF;
    line-height: 1.1;
}

/* --- Stats Box (Dark Box) --- */
.player-card-template-12 .pc-stats-box {
    position: absolute;
    bottom: 0;
    padding: 0 3cqw;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 30cqw;
}

.player-card-template-12 .pc-player-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 7cqw;
    color: #FFFFFF;
    line-height: 1;
    font-weight: 800;
	letter-spacing: -0.02em;
     text-transform: uppercase;
	
	white-space: normal;      /* Cho phép xuống dòng */
   display: -webkit-box;
  -webkit-line-clamp: 2;    /* Giới hạn tối đa 2 hàng, quá nữa sẽ ẩn */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-card-template-12 .pc-player-name strong {
    font-size: 4cqw;
    font-weight: 400;
    text-shadow: 0 0 BLACK;
}

.player-card-template-12 .pc-stats-divider {
    width: 100%;
    height: 0.2cqw;
    background: white;
    opacity: 0.2;
    margin-bottom: 4cqw;
}

.player-card-template-12 .pc-stats-grid {
    display: flex;
    width: 100%;
    justify-content: space-between;
	margin-top: 4cqw;
}

.player-card-template-12 .pc-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.player-card-template-12 .pc-stat-value-wrapper {
    display: flex;
    align-items: flex-start;
}

.player-card-template-12 .pc-stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 9cqw;
    color: #010101;
    line-height: 1;
}

.player-card-template-12 .pc-stat-plus {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5cqw;
    color: #010101;
    margin-top: -2cqw;
    margin-left: 0.5cqw;
}

.player-card-template-12 .pc-stat-label {
    font-size: 2cqw;
    color: #C9240D;
    font-weight: 500;
 
}

/* --- Footer Meta --- */

.player-card-template-12 .pc-footer-meta {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex
;
    justify-content: center;
    gap: 4cqw;
    font-size: 2cqw;
    color: #010101;
    font-weight: 800;
    height: 8cqw;
    padding: 2cqw 0;
}

.player-card-template-12 .pc-updated strong {
  font-weight: 500;
}

.player-card-template-12 span.pc-url {
    letter-spacing: 2px;
}