.tc-league{font-family:Nunito,system-ui,sans-serif;max-width:1080px;margin:22px auto;padding:0 12px;color:var(--ms-ink,inherit)}.tc-league *{box-sizing:border-box}.tc-league-hero{display:flex;align-items:center;gap:20px;border-radius:20px;background:linear-gradient(125deg,#153c26,#28703b 63%,#152c24);padding:23px;color:#fff}.tc-league-hero img{width:78px;height:78px;filter:drop-shadow(0 4px 9px #0005)}.tc-league-kicker{font-size:10px;color:#f1d78a;letter-spacing:.12em;font-weight:900}.tc-league-hero h1{font-size:clamp(24px,4vw,36px);margin:0;color:#fff;line-height:1.15}.tc-league-hero p{margin:6px 0 0;font-size:13px;color:#e7eee4}.tc-league-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:17px 0 12px;padding:5px;border:1px solid var(--ms-border,#d6dbe3);border-radius:15px;background:var(--ms-card-bg,#fff)}.tc-league-tabs button{border:0;background:transparent;border-radius:11px;flex:1;min-width:120px;padding:11px 8px;cursor:pointer;font:800 13px Nunito,system-ui,sans-serif;color:inherit}.tc-league-tabs button.active{background:#237e40;color:#fff}.tc-league-body{border:1px solid var(--ms-border,#d6dbe3);background:var(--ms-card-bg,#fff);padding:19px;border-radius:16px;margin-bottom:16px}.tc-league-body[hidden]{display:none!important}.tc-league-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.tc-league-filter>div{margin-right:auto;display:flex;flex-direction:column;gap:2px}.tc-league-filter>div span,.tc-league-filter label{font-size:10px;letter-spacing:.05em;font-weight:900}.tc-league-filter>div strong{font-size:20px}.tc-league-filter>div small{font-size:11px;opacity:.7}.tc-league-filter label{display:flex;flex-direction:column;gap:4px}.tc-league-filter select{min-height:40px;min-width:130px;border:1px solid #bac5cf;border-radius:9px;background:var(--ms-card-bg,#fff);color:inherit;padding:6px 10px;font-size:13px;letter-spacing:0}.tc-league-status{font-size:12px;font-weight:800;color:#678132;padding:10px 0 0}.tc-league-quota{margin:12px 0;border-radius:13px;padding:14px;background:color-mix(in srgb,#198342,transparent 91%);font-size:13px}.tc-league-quota p{margin:7px 0 0;font-size:12px}.tc-league-quota-bar{height:9px;margin-top:9px;background:#d1d9df;border-radius:20px;overflow:hidden}.tc-league-quota-bar span{display:block;height:100%;background:#2b9850;transition:width .3s}.tc-league-table-wrap{overflow-x:auto}.tc-league-table{border-collapse:collapse;width:100%;font-size:13px;margin:10px 0}.tc-league-table th{font-size:11px;background:color-mix(in srgb,var(--ms-card-bg,#fff),#808080 7%);text-align:center;padding:12px 8px;border-bottom:1px solid #b9c4d0}.tc-league-table th:nth-child(2),.tc-league-table .tc-league-username{text-align:left}.tc-league-table td{text-align:center;padding:13px 8px;border-bottom:1px solid var(--ms-border,#e3e7eb)}.tc-league-position{font-weight:900}.tc-league-points{font-weight:950;color:#2a9547}.tc-league-username{font-weight:800;overflow-wrap:anywhere}.tc-league-empty{text-align:center!important;padding:30px 10px!important;color:#7c8894}.tc-league-hint{font-size:11px;color:var(--ms-muted,#64748b)}.tc-league-vote{padding:10px 8px;border-bottom:1px solid #ccc;font-size:12px}.tc-league-shop-head{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.tc-league-shop-head h2{margin:0}.tc-league-shop-head p{font-size:12px;margin:4px 0}.tc-league-shop-head strong{display:flex;align-items:center;gap:5px}.tc-league-shop{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:16px}.tc-league-item{border:1px solid #cbd6df;border-radius:15px;padding:14px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.tc-league-item strong{font-size:13px}.tc-league-item small{font-size:12px}.tc-league-item button{border:0;background:#287e42;color:#fff;border-radius:9px;font-size:12px;font-weight:900;padding:9px;cursor:pointer;width:100%;min-height:34px}.tc-league-item button:disabled{background:#a9b5b6}.tc-league-frame{width:80px;height:80px;border:5px solid #d5a83f;border-radius:50%;display:grid;place-items:center;font-size:35px;background:radial-gradient(circle,#fff,#e3e7e9);box-shadow:0 3px 12px #0002}.tc-tessi-frame-classic{border-color:#e4b241;box-shadow:0 0 0 2px #ffe5a3}.tc-tessi-frame-rojo{border-color:#da3a47;box-shadow:0 0 0 2px #fa8890}.tc-tessi-frame-verde{border-color:#2baa52;box-shadow:0 0 0 2px #99e6b0}.tc-tessi-frame-azul{border-color:#328adf;box-shadow:0 0 0 2px #a0d7ff}.tc-tessi-frame-plata{border-color:#b3bdcd;box-shadow:0 0 0 3px #e5ecf3}.tc-tessi-frame-estrellas{border:6px dotted #fee58e;box-shadow:0 0 0 3px #26314b}.tc-tessi-frame-gloria{border:6px double #eabf36;box-shadow:0 0 0 3px #9b6a16}.tc-tessi-frame-leyenda{border:7px double #f7b929;box-shadow:0 0 0 4px #422c87}.tc-member-avatar[class*="tc-tessi-frame-"]{border-width:5px!important;border-style:solid!important;box-sizing:border-box;box-shadow:0 2px 9px #0004}.tc-member-avatar.tc-tessi-frame-estrellas{border-style:dotted!important}.tc-member-avatar.tc-tessi-frame-gloria,.tc-member-avatar.tc-tessi-frame-leyenda{border-style:double!important}.tc-league-award{display:flex;gap:12px;align-items:center;border:1px solid #d6dce3;border-radius:11px;padding:10px;margin:6px 0;opacity:.6}.tc-league-award.unlocked{opacity:1;border-color:#e6bb58}.tc-league-award>span{font-size:23px;width:34px;text-align:center}.tc-league-award strong,.tc-league-award small{display:block}.tc-league-award small{font-size:11px;margin-top:4px}.tc-league-tutorial details{border-bottom:1px solid #c9d0d7;padding:12px 3px}.tc-league-tutorial summary{font-weight:850;cursor:pointer}.tc-league-tutorial details p{font-size:13px;line-height:1.6;margin:9px 0 2px}.tc-league-body h2{margin-top:0}@media(max-width:600px){.tc-league{margin:12px auto;padding:0 6px}.tc-league-hero{padding:15px;gap:10px}.tc-league-hero img{width:59px;height:59px}.tc-league-hero p{font-size:11px}.tc-league-tabs button{min-width:0;flex:1 1 30%;font-size:11px;padding:9px 4px}.tc-league-body{padding:10px}.tc-league-filter{gap:8px}.tc-league-filter>div{width:100%}.tc-league-filter select{min-width:135px;max-width:100%}.tc-league-table{font-size:11px}.tc-league-table th,.tc-league-table td{padding:9px 4px}.tc-league-shop{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Tessiliga 0.3.35 — un solo título compacto; maximizar espacio útil. */
.tc-league{margin:8px auto 12px!important;padding:0 8px!important}
.tc-league-hero{min-height:73px!important;padding:10px 16px!important;border-radius:15px!important;gap:11px!important}
.tc-league-hero img{width:49px!important;height:49px!important;filter:drop-shadow(0 2px 4px #0004)}
.tc-league-hero h1{font-size:clamp(20px,3vw,26px)!important;line-height:1.05;margin:0!important}
.tc-league-kicker{font-size:10px;letter-spacing:.05em}
.tc-league-tabs{margin:8px 0!important}
.tc-league-body{padding:clamp(10px,1.7vw,18px)!important}
.tc-tessi-table-coin{vertical-align:middle;display:inline-block;object-fit:contain}
.tc-inline-coin{display:inline-block;width:17px;height:17px;object-fit:contain;vertical-align:-3px;margin-left:3px}
.tc-league-username a{color:inherit;text-decoration:none;font-weight:800}
.tc-league-username a:hover{text-decoration:underline}
.tc-league-shop-filters{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0 13px;overflow:visible}
.tc-league-filter-button{font:800 12px Nunito,system-ui,sans-serif;border:1px solid #c8d0d7;background:var(--ms-card-bg,#fff);color:inherit;padding:8px 11px;border-radius:999px;cursor:pointer;line-height:1.15}
.tc-league-filter-button.active{background:#1f7b43;color:white;border-color:#1f7b43}
.tc-league-shop{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px}
.tc-league-item{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px!important;border:1px solid #d3d9de;border-radius:16px;box-sizing:border-box;overflow:visible}
.tc-league-item>strong{font-size:12px;line-height:1.2;min-height:2.2em}
.tc-league-item>small{display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:800}
.tc-league-item>button{margin-top:auto}
.tc-shop-preview{min-height:113px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:12px;background:linear-gradient(140deg,#182d42,#294b4d);color:#fff;position:relative;isolation:isolate;overflow:hidden}
.tc-shop-preview span{font-size:46px;filter:drop-shadow(0 2px 4px #0004)}
.tc-shop-preview b{font-size:10px;color:#fff8d3;letter-spacing:.11em}
.tc-shop-preview-glow{background:linear-gradient(135deg,#121a2b,#383154)}
.tc-shop-preview-glow span{font-size:40px;text-shadow:0 0 10px #fff,0 0 20px #e4b443}
.tc-shop-style-esmeralda span{text-shadow:0 0 9px #50f5a1,0 0 24px #36bc74}
.tc-shop-style-fuego span{text-shadow:0 0 12px #ff7777,0 0 22px #e83333}
.tc-shop-style-hielo span{text-shadow:0 0 12px #b7f0ff,0 0 22px #40a0d9}
.tc-shop-style-violeta span{text-shadow:0 0 12px #e4b4ff,0 0 22px #814bda}
.tc-shop-style-aurora span{animation:tc-tessi-aurora 3s linear infinite alternate}
.tc-shop-preview-card{max-width:108px;width:74%;min-height:134px;margin:0 auto;clip-path:polygon(17% 0,83% 0,100% 14%,94% 86%,80% 100%,20% 100%,6% 86%,0 14%);background:linear-gradient(135deg,#f6e5ad,#986822);color:#261e12;border:1px solid #9d792e}
.tc-shop-style-bronce{background:linear-gradient(135deg,#f5c5a1,#9c562a)}.tc-shop-style-carta-plata{background:linear-gradient(135deg,#e6edf4,#8b9bad)}
.tc-shop-style-carta-oro{background:linear-gradient(135deg,#fff1b4,#c49a2c)}.tc-shop-style-carta-negra{background:linear-gradient(135deg,#2b253b,#050608);color:#fce6a3}
.tc-shop-style-carta-heroe{background:linear-gradient(135deg,#ffcd7f,#c93855);color:#fff}.tc-shop-style-carta-icono{background:linear-gradient(135deg,#f8efd5,#c1a66b);color:#493414}
.tc-shop-preview-background{background:linear-gradient(180deg,#122c40 7%,#153a38 58%,#19642d 59%,#2d8d43 73%,#125028 100%)}
.tc-shop-style-tribuna{background:repeating-linear-gradient(160deg,#334363 0 15px,#cdad54 15px 22px,#173b55 22px 33px)}
.tc-shop-style-noche{background:radial-gradient(ellipse at top,#f8e5af 0,#263557 17%,#141c2b 58%,#174e27)}
.tc-shop-style-retro{background:linear-gradient(135deg,#c3a77e,#55755c)}
.tc-shop-preview-badge{background:radial-gradient(circle,#354c68,#132035)}
.tc-shop-preview-celebration{background:radial-gradient(circle,#ba8831,#14253a 80%)}
.tc-shop-preview-collectible{background:linear-gradient(135deg,#294c46,#14283b)}
.tc-tessi-scoring{display:grid;gap:4px;margin:9px 0}
.tc-tessi-scoring>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;border:1px solid #dfe5e9;border-radius:9px;padding:7px 9px;font-size:12px}
.tc-tessi-scoring strong{display:inline-flex;align-items:center;gap:4px;min-width:42px;justify-content:end}
.tc-tessi-scoring img{height:18px;width:18px;object-fit:contain}
.tc-league-tutorial details{overflow:visible!important;isolation:auto}
@media(max-width:600px){.tc-league-hero{min-height:65px!important;padding:8px 11px!important}.tc-league-hero img{width:42px!important;height:42px!important}.tc-league-tabs button{min-width:85px!important;font-size:11px!important}.tc-tessi-scoring>div{grid-template-columns:minmax(0,1fr) auto;gap:5px}.tc-tessi-scoring>div strong{grid-column:2}.tc-league-shop{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tc-shop-style-aurora span{animation:none}}
/* Ayudas, desplegables y globos nunca recortados dentro del panel de posiciones. */
.tc-league .tc-league-filter,.tc-league .tc-league-filter label,.tc-league .tc-league-shop-head,.tc-league .tc-league-tutorial details{overflow:visible!important}


/* 0.3.37 — Tienda aplicable, vistas previas y personalización real. No cargar en ligas deportivas. */
.tc-shop-equipped{padding:12px 14px;border:1px solid #d6dfe5;border-radius:13px;background:color-mix(in srgb,#207b47 5%,var(--ms-card-bg,#fff));margin:12px 0 14px}
.tc-shop-equipped>strong{display:block;font-size:13px;margin-bottom:8px}
.tc-shop-equipped-list{display:flex;gap:7px;flex-wrap:wrap}
.tc-shop-equipped-list>span{font-size:11px;padding:6px 9px;border:1px solid #c8d9ce;border-radius:999px;background:var(--ms-card-bg,#fff)}
.tc-shop-where{display:block!important;color:var(--ms-muted,#657584);font-size:10px!important;font-weight:650!important;line-height:1.3;min-height:2.6em!important;margin-top:-3px}
.tc-shop-price{display:flex!important;align-items:center;justify-content:center;gap:2px;font-weight:900}
.tc-shop-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:auto}
.tc-league-item .tc-shop-actions>button{min-width:0;white-space:normal;line-height:1.1;margin:0!important;font-size:11px;min-height:35px;padding:7px 5px}
.tc-league-item .tc-shop-view{background:transparent!important;color:#277947!important;border:1px solid #61ab77!important}
.tc-league-item .tc-shop-view:hover,.tc-league-item .tc-shop-view:focus-visible{background:#e9f7ed!important}
.tc-shop-preview-title,.tc-shop-preview-pack{background:linear-gradient(135deg,#323a29,#897136)}
.tc-shop-preview-pack span{filter:drop-shadow(0 0 10px #f7d06b)}
.tc-shop-preview-card.tc-shop-style-carta-rubi{background:linear-gradient(140deg,#ffe1c9,#8e1534);color:#fff}
.tc-shop-preview-card.tc-shop-style-carta-galaxia{background:linear-gradient(140deg,#915bac,#17182e);color:#fff}
.tc-shop-preview-card.tc-shop-style-carta-titan{background:linear-gradient(135deg,#dfe6e8,#576675,#b98e34);color:#111}
.tc-shop-style-barrio{background:linear-gradient(150deg,#91c2df,#274d60 48%,#35834d 49%,#174829)}
.tc-shop-style-clasico-noche{background:radial-gradient(ellipse at 50% 0,#d5e4cb,#25294b 35%,#142538 68%,#a24832)}
.tc-shop-style-oro-negro{background:repeating-linear-gradient(135deg,#d6b24f 0 18px,#151720 18px 38px)}
.tc-shop-style-bengalas{background:radial-gradient(ellipse at 20% 20%,#f19c68,#b33145 20%,#101a2e 75%)}
.tc-shop-preview-glow.tc-shop-style-neon-rosa span{text-shadow:0 0 10px #ff84cb,0 0 22px #ff66ae}
.tc-shop-preview-glow.tc-shop-style-electrico span{text-shadow:0 0 10px #9ae4ff,0 0 22px #60beff}
.tc-shop-preview-glow.tc-shop-style-solar span{text-shadow:0 0 10px #ffe28e,0 0 22px #ffbb2b}
.tc-shop-preview-glow.tc-shop-style-champagne span{text-shadow:0 0 10px #fff7d2,0 0 24px #dabb89}
.tc-shop-preview-glow.tc-shop-style-galaxia span{text-shadow:0 0 10px #d8a2ff,0 0 22px #d47eff}
.tc-shop-dialog{position:fixed!important;inset:0!important;margin:auto!important;border:1px solid #d4b36b;border-radius:19px;padding:26px 24px 20px;width:min(94vw,540px);max-height:min(92vh,780px);overflow-y:auto;background:var(--ms-card-bg,#fff);color:var(--ms-ink,#142238);box-shadow:0 24px 80px #050b1a88;z-index:2147483640}
.tc-shop-dialog::backdrop{background:#060f1bc9;backdrop-filter:blur(3px)}
.tc-shop-dialog-close{position:absolute;top:8px;right:11px;font-size:26px;font-weight:400;background:transparent;border:0;color:inherit;cursor:pointer;padding:3px 10px}
.tc-shop-dialog h2{font-size:21px;margin:0 32px 5px 0}
.tc-shop-dialog .tc-shop-use{font-size:12px;font-weight:850;color:#308451;margin:0 0 15px}
.tc-shop-dialog .tc-shop-demo-note{font-size:12px;line-height:1.45;color:var(--ms-muted,#64748b);margin:10px 0}
.tc-shop-dialog .tc-shop-demo-cost{font-size:14px;font-weight:850;display:flex;align-items:center;gap:5px}
.tc-shop-demo-stage{min-height:315px!important;padding:23px!important}
.tc-shop-demo-stage .tc-shop-demo-card{min-height:257px;min-width:188px}
.tc-shop-demo-stage .tc-tessi-fan-card .tc-tessi-card-photo{width:93px;height:93px}
.tc-shop-celebration-sample{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;padding:25px 18px;border-radius:15px;min-height:170px;width:min(100%,320px);background:linear-gradient(135deg,#113c2c,#176447);color:#fff;text-align:center}
.tc-shop-celebration-sample>strong:first-child{font-size:34px}
.tc-shop-celebration-sample>strong:nth-child(2){font-size:22px}
.tc-shop-celebration-sample small{font-size:12px}
.tc-shop-figurita-sample{display:flex;flex-direction:column;align-items:center;gap:10px;justify-content:center;min-height:220px;padding:20px 17px;width:185px;border:3px solid #eed384;border-radius:20px;clip-path:polygon(15% 0%,85% 0%,100% 13%,95% 88%,83% 100%,17% 100%,5% 88%,0% 13%);background:linear-gradient(135deg,#e8b24d,#683f38 65%,#192740);color:#fff;text-align:center}
.tc-shop-figurita-sample>span{font-size:60px}.tc-shop-figurita-sample>strong{font-size:15px}.tc-shop-figurita-sample>small{font-size:10px}
.tc-tessi-frame-diamante{border-color:#9fe8ed!important;box-shadow:0 0 0 3px #d9fdff,0 0 12px #6dccf9}
.tc-tessi-frame-copa{border-color:#f4ca3e!important;box-shadow:0 0 0 3px #694b12,0 0 15px #ffdf72}
.tc-tessi-frame-clasico{border-color:#c53338!important;box-shadow:0 0 0 3px #182d41}
@media(max-width:600px){.tc-league-item{padding:9px!important;gap:6px}.tc-shop-actions{grid-template-columns:1fr}.tc-shop-dialog{width:calc(100vw - 22px);max-height:90dvh;padding:24px 14px 15px}.tc-shop-where{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.tc-shop-dialog::backdrop{backdrop-filter:none}}

/* Tessiliga 0.3.38 — Vistas previas POR ARTÍCULO, no una carta genérica.
   Se renderizan únicamente dentro de /tessiliga/ al abrir la tienda. */
.tc-shop-preview-specific{background:#172b37!important;min-height:122px;overflow:hidden}
.tc-shop-preview-scene{width:100%;min-width:0;min-height:270px;box-sizing:border-box;border-radius:14px;background:radial-gradient(ellipse at top,#234d48 0,#132b39 92%);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;padding:20px;color:#fff;overflow:hidden;isolation:isolate}
.tc-shop-scene-label{font:900 10px Nunito,system-ui,sans-serif;letter-spacing:.13em;color:#d9efdf;text-align:center}
.tc-shop-scene-username{font-size:15px;font-weight:900;overflow-wrap:anywhere}
.tc-shop-scene-mini{min-height:122px!important;padding:9px!important;gap:4px!important;border-radius:10px!important;justify-content:center!important}
.tc-shop-scene-mini .tc-shop-scene-label{display:none}
.tc-shop-preview-specific .tc-shop-preview-scene{background:radial-gradient(ellipse at top,#234d48,#132b39)!important}
.tc-shop-avatar-real{position:relative;display:block;flex:none;width:122px;height:122px;border:5px solid #fff;border-radius:50%;overflow:hidden;background:#ecf0f2;box-shadow:0 6px 18px #0006;box-sizing:border-box}
.tc-shop-avatar-real img{display:block;width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important}
.tc-shop-avatar-medium{width:73px;height:73px;border-width:4px}
.tc-shop-avatar-small{width:45px;height:45px;border-width:3px}
.tc-shop-avatar-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:32px;color:#243c46}
.tc-shop-frame-comparison{display:flex;gap:20px;justify-content:center;align-items:center;width:100%}
.tc-shop-frame-example{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:48%;min-width:0}
.tc-shop-frame-example>span:last-child{font-size:11px;font-weight:850;text-align:center;line-height:1.3;color:#ebeee9}
.tc-shop-frame-after{padding:7px;border-radius:17px;background:#ffffff0b}
.tc-shop-frame-after .tc-shop-avatar-real{width:130px;height:130px}
.tc-shop-standing-sample{display:flex;align-items:center;gap:13px;max-width:100%;background:#fff;border:1px solid #cedcd8;border-radius:12px;padding:12px 16px;color:#152e2a;box-shadow:0 5px 15px #0004}
.tc-shop-standing-sample .tc-shop-live-name{font-size:24px;line-height:1.2;max-width:240px;overflow-wrap:anywhere}
.tc-shop-ranking-num{font-size:17px;font-weight:950;color:#b99742}
.tc-shop-ranking-points{font-size:12px;font-weight:850;color:#2a784a;white-space:nowrap}
.tc-shop-profile-cover{width:100%;min-height:245px;border-radius:14px;position:relative;display:flex;align-items:end;padding:17px;overflow:hidden;border:1px solid #ffffff4c;box-sizing:border-box}
.tc-shop-profile-details{display:flex;gap:13px;align-items:center;min-width:0;background:#071d20c9;padding:11px 15px;border-radius:14px;max-width:100%;backdrop-filter:blur(3px)}
.tc-shop-profile-names{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px}
.tc-shop-profile-names strong{font-size:22px;line-height:1.15;color:#fff!important}
.tc-shop-profile-names small{font-size:12px;color:#d7efe0}
.tc-shop-badge-sample{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#123a35,#275b50);border:2px solid #e2b959;border-radius:17px;padding:22px;width:min(100%,280px);text-align:center;box-shadow:0 8px 18px #0005}
.tc-shop-badge-icon{font-size:62px!important;line-height:1;filter:drop-shadow(0 3px 5px #0008)}
.tc-shop-badge-sample strong{font-size:17px;color:#ffe6a1}
.tc-shop-badge-sample small{font-size:12px;color:#eaf5ef}
.tc-shop-title-sample{display:flex;align-items:center;gap:14px;background:#f7f5e9;color:#162d2b;border-radius:13px;padding:16px 20px;max-width:100%}
.tc-shop-title-names{display:flex;flex-direction:column;align-items:start;gap:5px;min-width:0}
.tc-shop-title-names .tc-shop-live-name{font-size:23px;color:#243c32}
.tc-shop-title-names .tc-tessi-identity-title{font-size:14px;color:#997319;opacity:1}
.tc-shop-scene-collectible{background:radial-gradient(circle at 45% 22%,#655132,#17273c 75%)}
.tc-shop-scene-celebration{background:radial-gradient(circle at center,#426b4a,#101e36)}
.tc-shop-scene-pack{background:linear-gradient(140deg,#173a35,#172536)}
.tc-shop-pack-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:100%;width:100%}
.tc-shop-pack-entry{display:flex;flex-direction:column;gap:5px;min-width:0;border:1px solid #e9dba344;border-radius:12px;padding:8px;background:#ffffff13}
.tc-shop-pack-entry>span{font-size:11px;font-weight:800;line-height:1.2;text-align:center;color:#f8e9bf}
.tc-shop-pack-entry .tc-shop-scene-mini{min-height:91px!important;padding:6px!important}
.tc-shop-pack-entry .tc-shop-avatar-real{width:40px;height:40px}
.tc-shop-figurita-sample{max-width:92%}
.tc-shop-figurita-art{font-size:58px!important}
.tc-shop-scene-mini .tc-shop-figurita-sample{min-height:99px;padding:5px;width:78%;gap:2px;border-width:2px;border-radius:10px}
.tc-shop-scene-mini .tc-shop-figurita-art{font-size:29px!important}
.tc-shop-scene-mini .tc-shop-figurita-sample strong{font-size:8px;line-height:1.15}
.tc-shop-scene-mini .tc-shop-fan-card{display:none}
.tc-shop-scene-mini .tc-shop-frame-comparison{gap:0}
.tc-shop-scene-mini .tc-shop-frame-after{padding:4px}
.tc-shop-scene-mini .tc-shop-frame-after .tc-shop-avatar-real{width:72px;height:72px}
.tc-shop-scene-mini .tc-shop-standing-sample{padding:6px;gap:5px;width:100%;justify-content:center;border-radius:8px}
.tc-shop-scene-mini .tc-shop-standing-sample .tc-shop-live-name{font-size:12px;max-width:100px;line-height:1.1}
.tc-shop-scene-mini .tc-shop-standing-sample .tc-shop-ranking-num{font-size:10px}
.tc-shop-scene-mini .tc-shop-profile-cover{min-height:105px;padding:6px;border:0}
.tc-shop-scene-mini .tc-shop-profile-details{gap:5px;padding:6px;max-width:100%}
.tc-shop-scene-mini .tc-shop-profile-names strong{font-size:11px!important}
.tc-shop-scene-mini .tc-shop-profile-names small{font-size:8px}
.tc-shop-scene-mini .tc-shop-badge-sample{padding:9px;gap:3px;width:100%}
.tc-shop-scene-mini .tc-shop-badge-icon{font-size:29px!important}
.tc-shop-scene-mini .tc-shop-badge-sample strong{font-size:10px}
.tc-shop-scene-mini .tc-shop-badge-sample small{font-size:9px}
.tc-shop-scene-mini .tc-shop-title-sample{gap:6px;padding:8px;width:100%}
.tc-shop-scene-mini .tc-shop-title-names .tc-shop-live-name{font-size:11px}
.tc-shop-scene-mini .tc-shop-title-names .tc-tessi-identity-title{font-size:9px}
.tc-shop-scene-mini .tc-shop-celebration-sample{min-height:100px;padding:8px;gap:2px;border-radius:8px}
.tc-shop-scene-mini .tc-shop-celebration-sample>strong:first-child{font-size:22px}
.tc-shop-scene-mini .tc-shop-celebration-sample>strong:nth-child(2){font-size:11px}
.tc-shop-scene-mini .tc-shop-pack-previews{gap:4px}
.tc-shop-scene-mini .tc-shop-pack-entry{padding:2px;border-radius:6px}
.tc-shop-scene-mini .tc-shop-pack-entry>span{font-size:7px}
.tc-shop-scene-mini .tc-shop-pack-entry .tc-shop-scene-mini{min-height:34px!important;padding:0!important}
.tc-shop-scene-mini .tc-shop-pack-entry .tc-tessi-fan-stage{min-height:35px!important}
.tc-shop-scene-mini .tc-shop-pack-entry .tc-shop-avatar-real{width:24px;height:24px}
/* La tarjeta del usuario se muestra sin recortar dentro de la previa, mientras que la grilla contiene una tarjeta miniatura. */
.tc-shop-scene-card .tc-tessi-fan-stage{background:transparent;min-height:240px;padding:0;overflow:visible;width:100%}
.tc-shop-scene-mini.tc-shop-scene-card .tc-tessi-fan-stage{transform:scale(.46);transform-origin:center;min-height:244px;width:185px;margin:-70px auto}
.tc-shop-scene-mini.tc-shop-scene-card{overflow:hidden}
.tc-shop-scene-mini.tc-shop-scene-card .tc-tessi-fan-card{flex-shrink:0}
@media(max-width:600px){
 .tc-shop-preview-scene{min-height:245px;padding:14px;gap:10px}
 .tc-shop-scene-mini{min-height:110px!important;padding:6px!important}
 .tc-shop-frame-comparison{gap:10px}
 .tc-shop-frame-after .tc-shop-avatar-real{width:94px;height:94px}
 .tc-shop-standing-sample{padding:10px;gap:8px}
 .tc-shop-standing-sample .tc-shop-live-name{font-size:16px;max-width:155px}
 .tc-shop-ranking-points{font-size:10px}
 .tc-shop-profile-cover{min-height:215px}
 .tc-shop-profile-names strong{font-size:17px!important}
 .tc-shop-pack-previews{gap:6px}
 .tc-shop-pack-entry>span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.tc-shop-celebration-sample *{animation:none!important}}

/* 0.3.39 — Catálogo compacto, libre de estilos destinados a cartas grandes. */
.tc-league .tc-shop-preview-specific.tc-shop-preview-card{clip-path:none!important;width:100%!important;max-width:none!important;min-height:0!important;aspect-ratio:auto!important;background:#172b37!important;border:0!important;margin:0!important}
.tc-league .tc-shop-preview-specific{height:126px!important;min-height:126px!important;max-height:126px!important;overflow:hidden!important;flex:none!important}
.tc-league .tc-shop-preview-specific .tc-shop-scene-mini{height:126px!important;min-height:126px!important;max-height:126px!important;padding:9px!important;margin:0!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
.tc-league .tc-shop-preview-specific span{font-size:inherit;filter:none}
.tc-league .tc-shop-catalog-card{box-sizing:border-box;position:relative;width:96px;min-width:0;max-width:calc(100% - 8px);height:114px;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:9px 6px;border-radius:10px;clip-path:polygon(16% 0,84% 0,100% 12%,95% 88%,82% 100%,18% 100%,5% 88%,0 12%);box-shadow:0 4px 9px #0003}
.tc-league .tc-shop-catalog-card .tc-shop-avatar-real{height:36px!important;width:36px!important;flex:0 0 36px;border-width:2px!important}
.tc-league .tc-shop-catalog-card .tc-shop-avatar-real img{width:100%!important;height:100%!important}
.tc-league .tc-shop-catalog-card strong{font-size:10px!important;line-height:1.05;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-league .tc-shop-catalog-card small{font-size:8px!important;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.tc-league .tc-shop-catalog-rank{font-size:7px!important;letter-spacing:.08em;font-weight:900;color:inherit}
.tc-league .tc-shop-catalog-background{width:100%;height:106px;display:flex;align-items:flex-end;justify-content:center;padding:10px;border-radius:11px;box-sizing:border-box}
.tc-league .tc-shop-catalog-background-label{padding:4px 8px;background:#081b20cb;border-radius:7px;color:#fff;font-size:10px!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tc-league .tc-shop-catalog-username{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-width:0;max-width:100%;width:100%;min-height:55px;background:#f5f6ed;border-radius:10px;color:#213d36;padding:7px;overflow:hidden}
.tc-league .tc-shop-catalog-username .tc-shop-live-name{font-size:15px!important;line-height:1.2;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tc-league .tc-shop-catalog-username .tc-tessi-identity-title{font-size:9px!important}
.tc-league .tc-shop-catalog-figurita{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:94px;max-width:100%;height:112px;clip-path:polygon(14% 0%,86% 0%,100% 12%,95% 88%,82% 100%,18% 100%,5% 88%,0 12%);background:linear-gradient(140deg,#fad780,#805029 65%,#18304c);padding:8px;box-sizing:border-box;color:#fff}
.tc-league .tc-shop-catalog-figurita>span{font-size:35px!important}
.tc-league .tc-shop-catalog-figurita small{font-size:9px!important;line-height:1.15;max-width:100%;max-height:24px;overflow:hidden;color:#fff;font-weight:800}
.tc-league .tc-shop-mini-pack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;min-height:0}
.tc-league .tc-shop-mini-pack-item{display:flex;gap:3px;align-items:center;min-width:0;height:44px;border-radius:8px;padding:4px 5px;border:1px solid #bbd8cb42;background:#ffffff1a}
.tc-league .tc-shop-mini-pack-item>span{font-size:17px!important;color:#ffe49b;flex:none}
.tc-league .tc-shop-mini-pack-item>small{font-size:8px!important;line-height:1.1;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#fff;font-weight:800;text-align:left}
.tc-league .tc-shop-catalog-badge{display:flex;flex-direction:column;align-items:center;gap:7px}
.tc-league .tc-shop-catalog-badge span{font-size:40px!important}
.tc-league .tc-shop-catalog-badge small{font-size:10px!important;color:#fff}
.tc-league .tc-shop-catalog-celebration{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:80px;width:100%;max-width:100%;background:linear-gradient(130deg,#125b41,#244b37);border-radius:11px;padding:8px}
.tc-league .tc-shop-catalog-celebration span{font-size:23px!important}
.tc-league .tc-shop-catalog-celebration strong{font-size:11px!important;color:#fff}
.tc-league .tc-shop-preview-specific .tc-shop-avatar-large{height:84px!important;width:84px!important}
.tc-league .tc-shop-preview-specific .tc-shop-card-help{position:absolute;top:5px;right:6px;z-index:4;width:23px!important;height:23px!important;min-height:23px!important;padding:0!important;font-size:13px!important;border-radius:50%!important;background:#fff!important;color:#155038!important;border:1px solid #aac9bb!important;line-height:21px!important;box-shadow:0 1px 3px #0005}
.tc-league .tc-shop-preview-specific .tc-shop-card-help:focus-visible{outline:3px solid #edc75c}
.tc-league .tc-shop-where{min-height:3.5em!important;margin:0!important;font-size:10px!important;line-height:1.35!important;font-weight:600!important;color:var(--ms-muted,#627184);display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-align:center}
.tc-league .tc-shop-heading{display:flex;align-items:center;gap:9px}
.tc-league .tc-shop-heading h2{margin:0}
.tc-league .tc-shop-guide-button{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;border:1px solid #82b49b;background:#e9f7ee;color:#136039;font-size:17px;font-weight:900;cursor:pointer;padding:0}
.tc-league .tc-shop-guide-button:hover{background:#d3f0dd}
.tc-league .tc-shop-explained{border:1px solid #d5e3d8;border-radius:11px;background:color-mix(in srgb,var(--ms-card-bg,#fff),#29935d 6%);padding:12px 14px;margin:11px 0}
.tc-league .tc-shop-explained strong{font-size:13px;display:block;margin:4px 0}
.tc-league .tc-shop-explained p{font-size:12px;line-height:1.55;margin:2px 0 11px}
.tc-league .tc-shop-guide-intro{font-size:13px;line-height:1.55;margin:6px 0 12px}
.tc-league .tc-shop-help-categories{display:grid;gap:6px}
.tc-league .tc-shop-help-item{border:1px solid #d5e3dc;border-radius:10px;padding:10px 12px}
.tc-league .tc-shop-help-item>summary{font-size:13px;font-weight:900;cursor:pointer}
.tc-league .tc-shop-help-item>p,.tc-league .tc-shop-help-item>small{font-size:12px;line-height:1.55;display:block;margin:8px 0}
.tc-league .tc-shop-preview-specific .tc-shop-scene-mini.tc-shop-mini-card .tc-tessi-fan-stage{transform:none!important;min-height:0!important;width:auto!important;margin:0!important}
@media(max-width:600px){.tc-league .tc-shop-where{min-height:4em!important;font-size:9px!important}.tc-league .tc-shop-preview-specific{height:120px!important;min-height:120px!important;max-height:120px!important}.tc-league .tc-shop-preview-specific .tc-shop-scene-mini{height:120px!important;min-height:120px!important;max-height:120px!important}}
@media(prefers-reduced-motion:reduce){.tc-league .tc-shop-preview-specific *{animation:none!important}}
/* 0.3.39 — La vista del marco debe exhibir el color vendido, no el borde blanco del avatar. */
.tc-league .tc-shop-avatar-real.tc-tessi-frame-classic{border-color:#e7b23f!important;box-shadow:0 0 0 3px #ffe6a4,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-rojo{border-color:#e3494c!important;box-shadow:0 0 0 3px #ff959a,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-verde{border-color:#29a85b!important;box-shadow:0 0 0 3px #a5e5b4,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-azul{border-color:#3998e6!important;box-shadow:0 0 0 3px #9fdafa,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-plata{border-color:#abb5c3!important;box-shadow:0 0 0 3px #f1f6fa,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-estrellas{border:6px dotted #f8da69!important;box-shadow:0 0 0 3px #29335a,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-gloria{border:7px double #f1c644!important;box-shadow:0 0 0 3px #8a5b1d,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-leyenda{border:7px double #f3d36e!important;box-shadow:0 0 0 4px #563278,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-diamante{border-color:#72e1e7!important;box-shadow:0 0 0 3px #d5faff,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-copa{border-color:#f5bd39!important;box-shadow:0 0 0 4px #80530e,0 4px 12px #0006!important}
.tc-league .tc-shop-avatar-real.tc-tessi-frame-clasico{border-color:#d63745!important;box-shadow:0 0 0 4px #1f2334,0 4px 12px #0006!important}

/* Comunidad 0.3.40: clubes legibles en cartas equipadas y vista previa. */
.tc-tessi-fan-card>small{width:100%;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.18;display:block;text-align:center}
.tc-league .tc-shop-catalog-card{gap:2px;padding:7px 5px}
.tc-league .tc-shop-catalog-card small{white-space:normal!important;text-overflow:clip!important;overflow:hidden!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;max-width:100%;line-height:1.14!important;font-size:8px!important;min-height:18px}
/* Los logros no hacen consultas adicionales a las páginas deportivas. */
.tc-award-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0}
.tc-award-counter{font-size:12px;margin-right:auto}
.tc-award-filter{border:1px solid #b8cbbf;background:transparent;color:inherit;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:800;cursor:pointer}
.tc-award-filter.active{background:#227d43;color:white;border-color:#227d43}
.tc-award-progress{height:5px;background:#dce5dc;border-radius:8px;margin-top:7px;overflow:hidden;width:100%}
.tc-award-progress span{height:100%;background:#d4a331;display:block;border-radius:8px}
.tc-award-information{min-width:0;flex:1}
.tc-award-information strong{font-size:12px}.tc-award-information small{font-size:11px;line-height:1.5}
