/* MTG Canarias – Camino de recompensas (cliente). */

/* ---------------------------------------------------------------- Menú lateral (fondo oscuro) */
.mcip-mini { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(255, 255, 255, .04); color: #fff; }
.mcip-mini-cab { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.mcip-mini-cab b { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.mcip-mini-cab span { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
html body .mcip-mini-cab a { margin-left: auto; color: rgba(255, 255, 255, .7); font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

.mcip-mini-linea { position: relative; height: 6px; margin: 4px 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mcip-mini-avance { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #e96400, #ffb347); }
.mcip-mini-p { position: absolute; top: 50%; width: 10px; height: 10px; border: 2px solid #1b1b20; border-radius: 50%; background: #55555c; transform: translate(-50%, -50%); }
.mcip-mini-p.is-hecho { background: #fff; }
.mcip-mini-p.is-listo { width: 13px; height: 13px; background: #ffb347; box-shadow: 0 0 0 0 rgba(255, 179, 71, .7); animation: mcip-latido 1.8s ease-out infinite; }
.mcip-mini-p.is-campana { border-color: #e96400; }
.mcip-mini-p.is-perdido { opacity: .35; }
@keyframes mcip-latido { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 179, 71, 0); } }

.mcip-mini-premio { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.mcip-mini-premio.is-listo { background: linear-gradient(135deg, rgba(233, 100, 0, .28), rgba(255, 179, 71, .14)); box-shadow: inset 0 0 0 1px rgba(255, 179, 71, .45); }
.mcip-mini-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: #fff; }
.mcip-mini-premio.is-listo .mcip-mini-ico { background: #e96400; }
.mcip-mini-ico svg { width: 20px; height: 20px; }
.mcip-mini-premio > span { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.mcip-mini-premio small { color: rgba(255, 255, 255, .6); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mcip-mini-premio.is-listo small { color: #ffb347; }
.mcip-mini-premio b { overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mcip-mini-premio em { color: rgba(255, 255, 255, .65); font-size: 12px; font-style: normal; }
.mcip-mini-barra { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.mcip-mini-barra > i { display: block; height: 100%; border-radius: 4px; background: #ffb347; }
html body .mcip-mini-btn { flex: none; padding: 7px 12px; border: 0; border-radius: 999px; background: #fff; color: #0b0b0f !important; font: inherit; font-size: 13px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; }
html body .mcip-mini-btn:hover { background: #ffb347; color: #0b0b0f !important; }
html body .mcip-mini-mas { color: #ffb347; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.mcip-mini-fin { margin: 0; color: rgba(255, 255, 255, .8); font-size: 13px; }
.mcip-mini-campana { margin: 0; padding: 7px 10px; border-left: 3px solid #e96400; border-radius: 0 8px 8px 0; background: rgba(233, 100, 0, .1); color: rgba(255, 255, 255, .8); font-size: 12.5px; line-height: 1.35; }
.mcip-mini-campana b { color: #fff; }

/* Punto naranja en el botón «Menú»: hay un premio por reclamar. */
.mtc-btn-menu.is-premio { position: relative; }
.mtc-btn-menu.is-premio::after { content: ""; position: absolute; top: 4px; left: 4px; width: 10px; height: 10px; border: 2px solid #0b0b0f; border-radius: 50%; background: #ffb347; animation: mcip-latido 1.8s ease-out infinite; }

/* ---------------------------------------------------------------- Mi cuenta → Mis puntos */
.mcip-camino { margin: 22px 0 6px; }
.mcip-cam-cab p { margin: 0 0 12px !important; color: #45454a; font-size: 14px; }
.mcip-cam-l { position: relative; display: grid; gap: 8px; margin: 0 !important; padding: 0 0 0 0 !important; list-style: none !important; }
.mcip-cam-l::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 19px; width: 2px; background: #ececef; }
.mcip-cam-etapa { position: relative; display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 0 0 0 10px; color: #6d6d72; font-size: 13px; }
.mcip-cam-etapa span { font-weight: 800; color: #151515; }
.mcip-cam-etapa .mcip-gema { position: relative; z-index: 1; }
.mcip-cam-etapa:not(.is-pasada) { opacity: .7; }
.mcip-cam-h { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.mcip-cam-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #ececef; border-radius: 12px; background: #fff; color: #9a9aa0; }
.mcip-cam-ico svg { width: 22px; height: 22px; }
.mcip-cam-c { padding: 10px 14px; border: 1px solid #ececef; border-radius: 12px; background: #fff; }
.mcip-cam-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mcip-cam-t b { font-size: 15px; color: #151515; }
.mcip-cam-pts { color: #9a9aa0; font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mcip-cam-est { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: #f2f2f5; color: #45454a; font-size: 11.5px; font-style: normal; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.mcip-cam-p, .mcip-cam-x, .mcip-cam-i { margin: 4px 0 0 !important; font-size: 13px; color: #6d6d72; }
.mcip-cam-x { color: #45454a; }
.mcip-cam-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 2px !important; }
.mcip-cam-acc small { color: #9a9aa0; }
html body .mcip-c-btn { display: inline-block; padding: 9px 18px; border: 0; border-radius: 999px; background: #e96400; color: #fff; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
html body .mcip-c-btn:hover { background: #151515; color: #fff; }

.mcip-cam-h.is-hecho .mcip-cam-ico { border-color: #151515; background: #151515; color: #fff; }
.mcip-cam-h.is-hecho .mcip-cam-est { background: #e9f5ea; color: #1f8a3b; }
.mcip-cam-h.is-listo .mcip-cam-ico { border-color: #e96400; background: #e96400; color: #fff; box-shadow: 0 0 0 0 rgba(233, 100, 0, .5); animation: mcip-latido-c 1.8s ease-out infinite; }
.mcip-cam-h.is-listo .mcip-cam-c { border-color: #ffd2b0; background: #fff8f2; }
.mcip-cam-h.is-listo .mcip-cam-est { background: #e96400; color: #fff; }
.mcip-cam-h.is-m-campana .mcip-cam-ico { border-color: #e96400; }
.mcip-cam-h.is-m-campana .mcip-cam-est { background: #fff1e6; color: #b34d00; }
.mcip-cam-h.is-perdido { opacity: .5; }
.mcip-cam-h.is-tope .mcip-cam-est, .mcip-cam-h.is-fecha .mcip-cam-est { background: #e8eefc; color: #2c4fa8; }
@keyframes mcip-latido-c { 0% { box-shadow: 0 0 0 0 rgba(233, 100, 0, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(233, 100, 0, 0); } }

.mcip-cam-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 10px; }
html body .mcip-cam-op { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #ececef; border-radius: 10px; background: #fff; color: #151515; font-size: 13px; text-decoration: none; }
.mcip-cam-op img { width: 100%; aspect-ratio: 488 / 680; object-fit: cover; border-radius: 4.7% / 3.5%; }
.mcip-cam-op i { display: block; aspect-ratio: 488 / 680; border-radius: 6px; background: #f0f0f2; }
.mcip-cam-op b { margin-top: auto; padding: 6px; border-radius: 999px; background: #151515; color: #fff; text-align: center; }
.mcip-cam-op:hover b { background: #e96400; }
.mcip-cam-nota { margin: 12px 0 0 !important; color: #9a9aa0; font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
	.mcip-mini-p.is-listo, .mtc-btn-menu.is-premio::after, .mcip-cam-h.is-listo .mcip-cam-ico { animation: none; }
}

/* ---------------------------------------------------------------- Sin sesión: «Únete y gana premios» (menú lateral) */
html body .mcip-inv { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(233, 100, 0, .3), rgba(255, 179, 71, .12)); box-shadow: inset 0 0 0 1px rgba(255, 179, 71, .4); color: #fff; text-decoration: none; }
.mcip-inv .mcip-mini-ico { background: #e96400; }
.mcip-inv > span { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.mcip-inv b { color: #fff; font-size: 15px; font-weight: 800; }
.mcip-inv em { color: rgba(255, 255, 255, .7); font-size: 12.5px; font-style: normal; }
.mcip-inv .mcip-inv-fl { flex: none; color: #ffb347; font-size: 18px; font-weight: 800; transition: transform .2s; }
.mcip-inv:hover .mcip-inv-fl { transform: translateX(3px); }

/* ---------------------------------------------------------------- Página pública [mtg_recompensas] */
.mcip-pub { color: #151515; }
.mcip-pub-hero { position: relative; overflow: hidden; margin: 0 0 22px; padding: 34px 28px; border-radius: 20px; background: radial-gradient(120% 140% at 100% 0%, rgba(233, 100, 0, .45), transparent 55%), linear-gradient(135deg, #111114, #24242b); color: #fff; }
.mcip-pub-pre { margin: 0 0 6px !important; color: #ffb347; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mcip-pub-hero h1 { margin: 0 0 10px !important; color: #fff !important; font-size: clamp(28px, 4vw, 44px) !important; line-height: 1.05 !important; letter-spacing: -.02em; }
.mcip-pub-intro { max-width: 720px; margin: 0 0 18px !important; color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.55; }
.mcip-pub-yo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: #fff; }
.mcip-pub-yo b { font-size: 20px; }
html body .mcip-pub-link { margin-left: 12px; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mcip-pub-pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 26px !important; padding: 0 !important; list-style: none !important; }
.mcip-pub-pasos li { padding: 16px 18px; border: 1px solid #ececef; border-radius: 16px; background: #fff; }
.mcip-pub-pasos li > b { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: #e96400; color: #fff; font-size: 14px; }
.mcip-pub-pasos h3 { margin: 0 0 4px !important; font-size: 16px !important; }
.mcip-pub-pasos p { margin: 0 !important; color: #6d6d72; font-size: 14px; }
.mcip-pub-camp ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.mcip-pub-camp li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #1b1b20, #2a2018); color: #fff; }
.mcip-pub-camp li > span { display: flex; flex-direction: column; gap: 2px; }
.mcip-pub-camp b { font-size: 15px; }
.mcip-pub-camp em { color: #ffb347; font-size: 13px; font-style: normal; font-weight: 700; }
.mcip-pub-camp small { color: rgba(255, 255, 255, .75); font-size: 13px; }
.mcip-pub-camp .mcip-mini-ico { background: #e96400; color: #fff; }
.mcip-pub-sub { margin: -4px 0 10px !important; color: #6d6d72; font-size: 14px; }
.mcip-pub-sec { margin-top: 26px; }
.mcip-pub-letra ul { margin: 0 !important; padding-left: 18px !important; color: #45454a; font-size: 14px; line-height: 1.6; }
@media (max-width: 600px) {
	.mcip-pub-hero { padding: 24px 18px; border-radius: 16px; }
}

/* ---------------------------------------------------------------- Banda del camino (como las misiones de MTG Arena) */
.mcip-banda { --acc: #ffb347; margin: 0 0 22px; color: #fff; }
.mcip-banda-in { position: relative; overflow: hidden; padding: 16px 18px 14px; border-radius: 20px; background: radial-gradient(90% 160% at 0% 100%, rgba(233, 100, 0, .32), transparent 60%), radial-gradient(70% 120% at 100% 0%, rgba(123, 63, 196, .28), transparent 60%), linear-gradient(135deg, #121216, #1d1d24); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.mcip-banda-cab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.mcip-banda-pre { color: var(--acc); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mcip-banda-cab > b { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.mcip-banda-pts { color: rgba(255, 255, 255, .75); font-size: 13px; }
.mcip-banda-pts b { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.mcip-banda-acc { display: flex; gap: 14px; margin-left: auto; }
html body .mcip-banda-acc a { color: rgba(255, 255, 255, .78); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
html body .mcip-banda-acc a.is-unete { padding: 6px 14px; border-radius: 999px; background: #e96400; color: #fff; font-weight: 800; text-decoration: none; }

.mcip-banda-l { display: flex; justify-content: space-between; gap: 6px; margin: 0 !important; padding: 2px 2px 6px !important; overflow-x: auto; list-style: none !important; scroll-snap-type: x proximity; scrollbar-width: thin; }
.mcip-b-h { display: flex; flex: 1 1 104px; flex-direction: column; align-items: center; gap: 6px; min-width: 104px; max-width: 190px; scroll-snap-align: start; text-align: center; }
html body .mcip-b-circ { --p: 0; position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(var(--acc) calc(var(--p) * 1%), rgba(255, 255, 255, .12) 0); text-decoration: none; transition: transform .2s; }
.mcip-b-h > .mcip-b-circ { --p: inherit; }
.mcip-b-h { --p: 0; }
.mcip-b-circ:hover { transform: translateY(-2px); }
.mcip-b-dentro { display: grid; place-items: center; width: 66px; height: 66px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3a3a44, #18181d); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35); color: #ffd27a; }
.mcip-b-dentro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.35); }
.mcip-b-dentro b { color: #ffd27a; font-size: 19px; font-weight: 900; letter-spacing: -.02em; }
.mcip-b-dentro svg { width: 32px; height: 32px; }
.mcip-b-t { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-width: 100%; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.mcip-b-h small { color: rgba(255, 255, 255, .62); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.mcip-b-ok, .mcip-b-candado, .mcip-b-estrella { position: absolute; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #17171c; border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 900; }
.mcip-b-ok { right: -2px; bottom: -2px; background: #2fbf71; color: #fff; }
.mcip-b-candado { right: -2px; bottom: -2px; background: #5b21b6; font-size: 11px; }
.mcip-b-estrella { top: -2px; right: -2px; background: #e96400; color: #fff; }

.mcip-b-h.is-hecho .mcip-b-dentro { filter: saturate(.85); }
.mcip-b-h.is-listo .mcip-b-circ { animation: mcip-brillo 1.8s ease-in-out infinite; }
.mcip-b-h.is-listo small { color: var(--acc); font-weight: 800; }
.mcip-b-h.is-perdido { opacity: .4; }
.mcip-b-h.is-racha .mcip-b-dentro, .mcip-b-h.is-proximo .mcip-b-dentro { filter: grayscale(.4) brightness(.8); }
.mcip-b-h.is-m-campana .mcip-b-circ { box-shadow: 0 0 0 2px rgba(233, 100, 0, .55); }
@keyframes mcip-brillo { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, .55), 0 0 18px rgba(255, 179, 71, .35); } 50% { box-shadow: 0 0 0 7px rgba(255, 179, 71, 0), 0 0 26px rgba(255, 179, 71, .55); } }

/* El sello: escudo con la racha, al final. */
.mcip-b-sello { flex-basis: 120px; margin-left: 8px; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .1); }
html body .mcip-b-sello .mcip-b-circ { width: 78px; height: 78px; background: none; }
.mcip-escudo { width: 62px; height: 72px; filter: drop-shadow(0 6px 14px rgba(233, 181, 74, .35)); }
.mcip-b-sello.is-listo .mcip-b-circ { animation: mcip-brillo 1.8s ease-in-out infinite; border-radius: 30%; }
.mcip-b-sello small { color: #ffd27a; }

.mcip-banda-barra { height: 4px; margin: 4px 4px 0; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mcip-banda-barra i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #e96400, #ffb347); }

/* Sin sesión: los premios a la vista (publicidad). */
.mcip-banda.is-fuera .mcip-b-circ { background: rgba(255, 255, 255, .12); }

@media (max-width: 600px) {
	.mcip-banda-in { padding: 14px 12px 12px; border-radius: 16px; }
	.mcip-banda-acc { margin-left: 0; width: 100%; }
	.mcip-b-h { flex-basis: 92px; min-width: 92px; }
	html body .mcip-b-circ { width: 68px; height: 68px; }
	.mcip-b-dentro { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
	.mcip-b-h.is-listo .mcip-b-circ, .mcip-b-sello.is-listo .mcip-b-circ { animation: none; }
}

/* Sello y racha en el menú y en Mi cuenta. */
.mcip-mini-racha { padding: 1px 8px; border-radius: 999px; background: rgba(255, 210, 122, .15); color: #ffd27a; font-size: 12px; font-weight: 800; }
.mcip-mini-p.is-sello { width: 14px; height: 14px; border-radius: 4px; background: #e9b54a; }
.mcip-cam-tag { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.mcip-cam-tag.is-sello { background: #151515; color: #ffd27a; }
.mcip-cam-tag.is-racha { background: #f3e8ff; color: #5b21b6; }
.mcip-cam-h.is-sello .mcip-cam-ico { border: 0; background: none; }
.mcip-cam-h.is-sello .mcip-cam-ico .mcip-escudo { width: 40px; height: 46px; }
.mcip-cam-h.is-racha .mcip-cam-est { background: #f3e8ff; color: #5b21b6; }
.mcip-cam-esp-t { margin: 22px 0 10px !important; font-size: 15px !important; }
.mcip-cam-l.is-esp .mcip-cam-ico { border-color: #e96400; color: #e96400; }
.mcip-camino + .mcip-niveles, .mcip-banda + .mcip-camino { margin-top: 0; }
