/* Cofres, Bóveda de valor y Mi valor recibido — panel del atleta. */
.kf-premios { color: #efefef; font-family: inherit; padding: 8px 0 32px; }
.kf-premios__login, .kf-premios__notice { padding: 24px; text-align: center; color: #cfcfcf; }
.kf-premios__head { margin-bottom: 18px; }
.kf-premios__title { font-size: clamp(22px, 4vw, 30px); font-weight: 800; color: #fff; margin: 0 0 6px; }
.kf-premios__sub { color: #9a9a9a; font-size: 14px; margin: 0; line-height: 1.5; }
.kf-premios__subtitle { font-size: 17px; font-weight: 800; color: #fff; margin: 26px 0 12px; }

.kf-premios__stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.kf-premios__stat {
	flex: 1 1 120px; min-width: 110px;
	background: rgba(20, 20, 20, .9); border: 1px solid #262626; border-radius: 14px;
	padding: 14px 16px; text-align: center;
}
.kf-premios__stat-value { display: block; font-size: 24px; font-weight: 800; color: var(--kf-tier, #f2600c); }
.kf-premios__stat-label { display: block; font-size: 12px; color: #9a9a9a; margin-top: 2px; }

.kf-premios__alert {
	padding: 10px 14px; border-radius: 10px; margin: 0 0 14px;
	background: color-mix(in srgb, var(--kf-tier, #f2600c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--kf-tier, #f2600c) 40%, transparent);
	font-size: 13px; color: #ffd9c0;
}
.kf-premios__alert.is-error { background: rgba(220, 53, 69, .12); border-color: rgba(220, 53, 69, .45); color: #ffb3b3; }

/* Rejilla de cofres: una columna en móvil, más en pantallas grandes */
.kf-premios__grid {
	display: grid; gap: 14px;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) { .kf-premios__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kf-premios__grid { grid-template-columns: repeat(3, 1fr); } }

.kf-premios__cofre {
	background: rgba(20, 20, 20, .9); border: 1px solid #262626; border-radius: 14px;
	padding: 16px; display: flex; flex-direction: column; gap: 6px;
	transition: border-color .2s ease, transform .2s ease;
}
.kf-premios__cofre.is-desbloqueado { border-color: var(--kf-tier, #f2600c); box-shadow: 0 8px 22px color-mix(in srgb, var(--kf-tier, #f2600c) 18%, transparent); }
.kf-premios__cofre.is-reclamado { border-color: rgba(46, 160, 67, .55); }
.kf-premios__cofre.is-bloqueado { opacity: .72; }
.kf-premios__cofre-top { display: flex; align-items: center; gap: 8px; }
.kf-premios__cofre-icon {
	width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: #232323; border: 2px solid #3a3a3a; color: #cfcfcf; font-weight: 800; font-size: 14px;
}
.is-desbloqueado .kf-premios__cofre-icon { background: var(--kf-tier, #f2600c); color: #0d0d0d; border-color: var(--kf-tier, #f2600c); }
.is-reclamado .kf-premios__cofre-icon { background: #2ea043; color: #0d0d0d; border-color: #2ea043; }
.kf-premios__cofre-state { font-size: 12px; font-weight: 700; color: #9a9a9a; text-transform: uppercase; letter-spacing: .04em; }
.is-desbloqueado .kf-premios__cofre-state { color: var(--kf-tier, #f2600c); }
.kf-premios__cofre-title { font-size: 16px; font-weight: 800; color: #fff; margin: 4px 0 0; line-height: 1.3; }
.kf-premios__cofre-hito { font-size: 12px; color: #9a9a9a; margin: 0; }
.kf-premios__cofre-falta { font-size: 13px; color: #cfcfcf; margin: 4px 0 0; line-height: 1.45; }
.kf-premios__cofre-meta { font-size: 13px; color: var(--kf-tier, #f2600c); font-weight: 700; margin: 4px 0 0; }
.kf-premios__cofre-ok { font-size: 13px; color: #7ee08a; font-weight: 700; margin: 4px 0 0; }
.kf-premios__cofre-link { font-size: 13px; margin: 6px 0 0; word-break: break-all; }
.kf-premios__cofre-link a { color: var(--kf-tier, #f2600c); font-weight: 700; }

.kf-premios__claim {
	margin-top: auto; padding: 10px 14px; border: 0; border-radius: 10px;
	background: var(--kf-tier, #f2600c); color: #0d0d0d; font-weight: 800; font-size: 14px;
	cursor: pointer; transition: filter .15s ease, transform .15s ease;
}
.kf-premios__claim:hover { filter: brightness(1.08); }
.kf-premios__claim:active { transform: translateY(1px); }
.kf-premios__claim:disabled { opacity: .55; cursor: default; }
.kf-premios__claim:focus-visible { outline: 2px solid #ffb066; outline-offset: 2px; }

.kf-premios__empty { color: #9a9a9a; font-size: 14px; }
.kf-premios__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 0; }
.kf-premios__links a { color: var(--kf-tier, #f2600c); font-weight: 700; font-size: 14px; text-decoration: none; }
.kf-premios__links a:hover { text-decoration: underline; }

.kf-premios__card-next { font-size: 13px; color: #cfcfcf; margin: 8px 0 0; line-height: 1.45; }
.kf-premios__card-link { margin: 10px 0 0; }
.kf-premios__card-link a { color: var(--kf-tier, #f2600c); font-weight: 700; font-size: 14px; text-decoration: none; }

/* Tabla de valor recibido */
.kf-premios__table {
	width: 100%; max-width: 720px; border-collapse: collapse;
	background: rgba(20, 20, 20, .9); border: 1px solid #262626; border-radius: 14px; overflow: hidden;
}
.kf-premios__table th, .kf-premios__table td {
	padding: 11px 14px; font-size: 14px; text-align: left; border-bottom: 1px solid #1f1f1f;
}
.kf-premios__table th { color: #cfcfcf; font-weight: 600; }
.kf-premios__table td { color: #efefef; text-align: right; font-variant-numeric: tabular-nums; }
.kf-premios__table thead th { color: #9a9a9a; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.kf-premios__table tr.is-total th, .kf-premios__table tr.is-total td { font-weight: 800; color: var(--kf-tier, #f2600c); border-bottom: 0; }
.kf-premios__table tr:last-child th, .kf-premios__table tr:last-child td { border-bottom: 0; }
.kf-premios__hint { font-size: 13px; color: #9a9a9a; line-height: 1.5; max-width: 720px; }

@media (max-width: 480px) {
	.kf-premios__stat { flex: 1 1 100%; }
	.kf-premios__table th, .kf-premios__table td { padding: 10px 10px; font-size: 13px; }
}

/* Enlaces «Ver mis cofres →» / «Ver mi Bóveda de valor →»: objetivo táctil de 44 px (medían 18 px de alto) */
.kf-premios__links a, .kf-premios__card-link a { align-items: center; display: inline-flex; min-height: 44px; }
