html body #trainercard-modal .modal-content.tc-window{width:min(1180px,96vw)!important;max-height:92dvh!important;background:#0b221c!important;border:1px solid #ad9461!important;border-radius:20px;color:#eddfc1;overflow-y:auto;overflow-x:hidden;scrollbar-color:#967e52 #112c23}
.tc-champion{background:radial-gradient(ellipse at 49% 20%,#88763730,transparent 55%),#0b221c;color:#ebdfc5;isolation:isolate}
.tc-champion .tc-mast{background:linear-gradient(100deg,#173a2d,#0d251f);padding:20px 68px 20px 22px;gap:15px;border-bottom:1px solid #95794a66;flex-wrap:wrap}
.tc-champion .tc-mast h2{font-size:32px}.tc-champion .tc-mast>img{width:53px;height:53px}.tc-champion .tc-mast small{color:#c4b17d}.tc-champion .tc-mast p{color:#bdc5af}
.tc-champion .tc-hall-tools{margin-left:auto}.tc-champion .tc-hall-tools button{padding:9px 12px;font:11px system-ui;color:#e5c887;border-color:#b29a6044;background:#183a2c}
.tc-champion .tc-hall{display:grid;grid-template-columns:minmax(195px,.85fr) minmax(290px,1.4fr) minmax(230px,1fr);gap:18px;padding:22px}
.tc-champion .tc-hall-side,.tc-champion .tc-hall-ally{display:flex;flex-direction:column;gap:16px;min-width:0}
.tc-champion .tc-hall section{min-width:0;border:1px solid #a68a5547;border-radius:13px;padding:15px;background:linear-gradient(140deg,#19392d,#132e26)}
.tc-champion h3{font-size:17px;color:#efddb3;flex-wrap:wrap}.tc-champion h3 small{color:#b7bd9f}.tc-champion p,.tc-champion small{color:#c0c3a9}
.tc-champion .tc-standing{border:0!important;background:transparent!important;padding:0!important}.tc-champion .tc-standing>div{padding:0 0 13px;margin:0}.tc-champion .tc-standing button{background:#1f3a2e;color:#e9d4a9;border-color:#776b454d;padding:6px}
.tc-champion .tc-stats{grid-template-columns:1fr 1fr;gap:15px 9px;padding:15px 0;border-top:1px solid #b09a5b4d;border-bottom:1px solid #b09a5b4d}.tc-champion .tc-stats li{background:transparent;border:0;padding:3px}.tc-champion .tc-stats strong{font-size:24px;color:#e7c986}.tc-champion .tc-stats img{width:20px;height:20px;opacity:.85}
.tc-champion .tc-hall-trainer{background:radial-gradient(ellipse at 50% 30%,#af913625,transparent 66%)!important;border:0!important;padding:0 6px!important;position:relative}
.tc-champion .tc-hall-trainer>h3{justify-content:center;padding:3px 0 10px}.tc-champion .tc-loadout{position:relative;grid-template-columns:65px minmax(0,1fr) 65px;gap:10px;min-height:340px}
.tc-champion .tc-portrait{height:330px;position:relative;z-index:1;animation:tc-avatar-idle 3.6s ease-in-out infinite;transform-origin:50% 90%}
.tc-champion .tc-portrait:after{content:'';position:absolute;bottom:0;left:50%;width:112px;height:18px;transform:translateX(-50%);background:#dfbf6330;border-radius:50%;border:1px solid #dfbf6377;z-index:-1;box-shadow:0 0 25px #b79b3b30}
.tc-champion .tc-portrait>div{overflow:visible;background:transparent!important;width:100%;height:100%;display:grid;place-items:center}
html body .tc-champion .tc-portrait img{width:auto!important;height:320px!important;max-height:320px;max-width:100%;background:transparent!important;object-fit:contain;mask-image:radial-gradient(ellipse at 50% 52%,#000 56%,transparent 78%);filter:drop-shadow(0 0 8px #e9bd6233)}
.tc-champion .tc-loadout>div:not(.tc-portrait):not(.tc-hall-sparks){z-index:2}.tc-champion .tc-loadout-item{position:relative;overflow:hidden;background:linear-gradient(135deg,#927d4238,#142e25);border:1px solid #bd9c5870;border-radius:10px;min-height:65px;margin:10px 0;padding:6px 3px;color:#f1ddb5}.tc-champion .tc-loadout-item img{width:34px;height:34px}.tc-champion .tc-loadout-item small{font-size:9px;color:#dfcfa8}
.tc-champion .tc-loadout-item.equipped:after{content:'';position:absolute;inset:-70% -15%;background:linear-gradient(115deg,transparent 43%,#ffe7a733 50%,transparent 57%);transform:translateX(-120%);animation:tc-gear-light 6s ease-in-out infinite;pointer-events:none}.tc-champion .tc-loadout-item:hover{box-shadow:0 0 17px #ddbb5a30}
.tc-champion .tc-hall-trainer .tc-note{text-align:center;padding:10px 0;border-top:1px solid #b4a16744;font-size:11px}.tc-champion .tc-hall-trainer .tc-note+.tc-note{border:0;padding:0 0 8px}
.tc-champion .tc-ally{display:flex;flex-direction:column;text-align:center;gap:8px;position:relative;overflow:hidden;padding:18px!important;min-height:310px}.tc-champion .tc-ally:before{content:'';position:absolute;top:0;left:calc(50% - 105px);width:210px;height:210px;border-radius:50%;background:conic-gradient(transparent,#d7c46530,transparent 40%,#f4dc7055,transparent);animation:tc-hero-orbit 13s linear infinite;filter:blur(5px);pointer-events:none}.tc-champion .tc-ally>img{width:170px;height:170px;object-fit:contain;border:0;border-radius:0;position:relative;filter:drop-shadow(0 0 10px #d9be5377);animation:tc-hero-idle 3s ease-in-out infinite}.tc-champion .tc-ally>div{position:relative}.tc-champion .tc-ally strong{font-size:20px;color:#edcd81;margin:7px 0}.tc-champion .tc-ally small{font-size:10px;color:#c8bc91}.tc-champion .tc-ally span{color:#e4ca8a;letter-spacing:.06em}.tc-champion .tc-ally-empty{justify-content:center}.tc-champion .tc-ally-empty>img{width:70px;height:70px;animation:none;filter:none}.tc-champion .tc-ally-empty:before{display:none}
.tc-champion .tc-medals{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tc-champion .tc-medals li{padding:4px 0;display:flex;flex-direction:column;text-align:center;border:0;background:transparent;font-size:10px;gap:6px;animation:tc-badge-in .45s both}.tc-champion .tc-medals li:nth-child(2n){animation-delay:.09s}.tc-champion .tc-medals svg{width:40px;height:46px}.tc-champion .tc-medals li:hover svg{filter:drop-shadow(0 0 7px var(--enamel));transform:translateY(-2px)}
.tc-champion .tc-gym-strip{gap:12px 5px}.tc-champion .tc-gym-strip .tc-insignia{width:32px;height:36px}.tc-champion .tc-links button{background:#254334;color:#ebd7ac;border-color:#9d84534f}
.tc-champion .tc-hall-bottom{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;min-width:0}.tc-champion .tc-party{gap:7px}.tc-champion .tc-party li{min-height:90px;border-color:#b29b5c44;background:#0c261c55}.tc-champion .tc-party .present{border:1px solid #c6a86499;background:radial-gradient(ellipse at center,#b0983e32,transparent)}.tc-champion .tc-party img{width:47px;height:47px}.tc-champion .tc-fights{max-height:190px;scrollbar-color:#a08751 #153529}.tc-champion .tc-fights li{padding:9px 1px;border-color:#9d895333}.tc-champion .tc-fights .won{background:#25634530;color:#99d9b0}.tc-champion .tc-fights .lost{background:#75432d30;color:#f0b5a8}
.tc-champion .tc-personal{background:#15372b;border-color:#b49c5c44;margin:0 22px 20px;padding:13px}.tc-champion .tc-ref input{background:#0d261f}.tc-champion .tc-choices button{background:#1f3b2d}
.tc-champion .tc-hall-sparks{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}.tc-champion .tc-hall-sparks i{position:absolute;left:calc(17% + var(--spark)*10%);bottom:7%;width:3px;height:3px;border-radius:50%;background:#edda8f;box-shadow:0 0 8px #edda8f;animation:tc-spark 5s linear infinite;animation-delay:calc(var(--spark)*-.7s);opacity:0}
.tc-motion-off *{animation-play-state:paused!important}.tc-motion-off .tc-hall-sparks{display:none}
@keyframes tc-avatar-idle{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-3px) rotate(.5deg)}}@keyframes tc-hero-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes tc-hero-orbit{to{transform:rotate(360deg)}}@keyframes tc-gear-light{0%,60%{transform:translateX(-120%)}90%,100%{transform:translateX(120%)}}@keyframes tc-spark{0%,100%{opacity:0}20%,70%{opacity:.65}90%{transform:translate(12px,-180px)}}@keyframes tc-badge-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:930px){.tc-champion .tc-hall{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:16px;gap:16px}.tc-champion .tc-hall-trainer{grid-column:1;grid-row:1}.tc-champion .tc-hall-ally{grid-column:2;grid-row:1/3}.tc-champion .tc-hall-side{grid-column:1;grid-row:2}.tc-champion .tc-hall-tools{margin-left:0}.tc-champion .tc-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.tc-champion .tc-stats strong{font-size:17px}.tc-champion .tc-loadout{grid-template-columns:58px minmax(0,1fr) 58px;gap:7px}.tc-champion .tc-hall-bottom{grid-template-columns:1fr}.tc-champion .tc-gym-strip{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media(max-width:600px){html body #trainercard-modal .modal-content.tc-window{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 18px)!important;border-radius:17px!important}.tc-champion .tc-mast{padding:16px 50px 16px 16px;gap:10px}.tc-champion .tc-mast>img{width:40px;height:40px}.tc-champion .tc-mast h2{font-size:27px}.tc-champion .tc-hall{display:flex;flex-direction:column;padding:12px;gap:14px}.tc-champion .tc-hall-trainer{order:-2}.tc-champion .tc-hall-ally{order:-1}.tc-champion .tc-ally{flex-direction:row;min-height:150px;text-align:left;gap:14px}.tc-champion .tc-ally>img{width:110px;height:120px}.tc-champion .tc-ally strong{font-size:18px}.tc-champion .tc-ally:before{left:-22px;width:180px;height:180px}.tc-champion .tc-medals{grid-template-columns:repeat(4,minmax(0,1fr))}.tc-champion .tc-stats strong{font-size:19px}.tc-champion .tc-personal{margin:0 12px 14px}.tc-champion .tc-party{grid-template-columns:repeat(3,minmax(0,1fr))}.tc-champion .tc-gym-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.tc-champion .tc-fights li{grid-template-columns:78px minmax(0,1fr) auto;gap:5px}.tc-champion .tc-hall-tools button{font-size:11px}.tc-champion .tc-loadout{grid-template-columns:58px minmax(0,1fr) 58px}.tc-champion .tc-hall-bottom{gap:14px}.tc-champion .tc-portrait img{max-width:100%}.tc-champion .tc-ally-empty{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.tc-champion *{animation:none!important;transition:none!important}.tc-champion .tc-hall-sparks{display:none}}
