/* --- THIẾT LẬP CHUNG --- */
.player-card-template-03 * { box-sizing: border-box; }
.player-card-template-03.player-card-preview.player-card-preview--template {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  /* Card artwork: set via inline style from PHP (card_image_url). */
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  font-family: 'Inter', sans-serif;
  container-type: inline-size;
  border-radius: 8px;
}

.player-card-template-03 .player-card-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* --- pc-sponsors --- */
.player-card-template-03 .pc-sponsors {
  position: absolute;
  top: 1.6cqw; 
  left: 5cqw;  
  width: 18.8cqw; 
  height: 9.4cqw; 
  display: flex;
  gap: 3.5cqw;  
  align-items: center;
}
.player-card-template-03 .logo-card { width: 5cqw;}
.player-card-template-03 .pc-sponsors img {
  height: 100%;
  width: auto;
}

/* --- pc main-content  --- */
.player-card-template-03 .pc-main-content {
  position: absolute;
  top: 16cqw;  
  left: 0;  
  right: 0; 
  display: flex;
  align-items: flex-start;
  padding: 0 5cqw;
  box-sizing: border-box;
  gap: 6cqw;
}

/* --- pc-left-side --- */
.player-card-template-03 .pc-left-side {
  width: 50cqw; 
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.player-card-template-03 .pc-photo-wrapper {
    position: relative;
    width: 42cqw;
    height: 42cqw;
    border: 2px solid #d4362b;
    border-radius: 50%;
    padding: 0.7cqw;
}

.player-card-template-03 .pc-player-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

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

.player-card-template-03 .pc-player-name {
  margin-top: 5cqw;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8cqw;
  color: #2D325D;
  text-transform: uppercase;
  text-align: center;
  line-height: 0.9;
  -webkit-text-stroke: 0.4cqw white;
  paint-order: stroke fill;
  letter-spacing: 1px;
  margin-right: -20cqw;
  width: auto;
  margin-left: -11cqw;
}

/* --- .pc-right-side --- */
.player-card-template-03 .pc-right-side {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 3cqw 1cqw;
  padding-top: 2cqw;
}

.player-card-template-03 .pc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.player-card-template-03 .pc-stat-appearances {
    grid-column: 1 / span 2;
}

.player-card-template-03 .pc-stat-header {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.player-card-template-03 .pc-stat-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 10cqw;
    color: #2D325D;
    line-height: 0.8;
}

.player-card-template-03 .pc-stat-plus {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4cqw;
  color: #1a2a5a;
  line-height: 1;
  margin-left: 0.5cqw;
}

.player-card-template-03 .pc-stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 2.2cqw;
  color: #1a2a5a;
  text-transform: uppercase;
  margin-top: 0.5cqw;
}

/* --- .pc-footer-box --- */
.player-card-template-03 .pc-footer-box {
    position: absolute;
    bottom: 3cqw;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.player-card-template-03 .pc-footer-info {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 2cqw;
}

.player-card-template-03 .pc-footer-section {
  display: flex;
  align-items: center;
  gap: 1.5cqw;
  flex: 1;
  justify-content: center;
}

.player-card-template-03 .pc-footer-icon {
  width: 6cqw;
  height: auto;
}

.player-card-template-03 .l .pc-footer-inner-divider {
    width: 0.15cqw;
    height: 6cqw;
    background: #fff;
}
.player-card-template-03 .r .pc-footer-inner-divider {
	width: 0.15cqw;
    height: 6cqw;
    background: #d4362b;
}

.player-card-template-03 .pc-footer-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 3.5cqw;
    color: #2D325D;
    text-transform: uppercase;
}

.player-card-template-03 .pc-footer-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 2.5cqw;
      text-transform: uppercase;
}
.player-card-template-03 .l .pc-footer-value {
    color: #FFF;
}
.player-card-template-03 .r .pc-footer-value {
    color: #d4362b;
}

.player-card-template-03 .pc-footer-divider {
  width: 0.2cqw;
  height: 8cqw;
  background: #4a6fff;
}

.player-card-template-03 .pc-footer-meta {
  display: flex;
  justify-content: space-around;
  gap: 2cqw;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2cqw;
  color: #2d325d;
  padding-top: 3cqw;
}

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

.player-card-template-03 .pc-flag-circle .f32 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-card-template-03 .pc-flag-circle .f32 .flag {
  transform: scale(1.6);
}

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