body.hero-picker-open{overflow:hidden}
body.dota-counter-site .hero-catalog-page{--d2-panel:#111115;--d2-panel-soft:#15151a;--d2-line:#292832;--d2-muted:#aaa5b1;--d2-purple:#8652df;direction:rtl;color:#f7f5fb;text-align:right}
body.dota-counter-site .hero-catalog-page *,body.dota-counter-site .hero-catalog-page input,body.dota-counter-site .hero-catalog-page button{direction:rtl;text-align:right}
body.dota-counter-site .enemy-draft,body.dota-counter-site .draft-results{margin:14px 0;padding:20px;border:1px solid var(--d2-line);border-radius:20px;background:var(--d2-panel)}
body.dota-counter-site .enemy-draft__head,body.dota-counter-site .draft-results__head,body.dota-counter-site .enemy-draft__actions,body.dota-counter-site .hero-picker__head,body.dota-counter-site .hero-picker__footer{display:flex;align-items:center;justify-content:space-between;gap:14px}
body.dota-counter-site .enemy-draft h2,body.dota-counter-site .draft-results h2,body.dota-counter-site .hero-picker h2{margin:0;font-size:22px}
body.dota-counter-site .enemy-draft__eyebrow,body.dota-counter-site .draft-results__head p{margin:0 0 4px;color:#a378eb;font-size:12px;font-weight:800}
body.dota-counter-site .enemy-draft__head strong{padding:6px 10px;border:1px solid #35303e;border-radius:14px;color:#a378eb;font-size:12px}
body.dota-counter-site .enemy-draft__slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0 12px}
body.dota-counter-site .enemy-draft__empty,body.dota-counter-site .enemy-draft__hero{min-height:108px;border:1px solid var(--d2-line);border-radius:16px;background:var(--d2-panel-soft)}
body.dota-counter-site .enemy-draft__empty{display:grid;place-content:center;gap:3px;color:#8d8795;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
body.dota-counter-site .enemy-draft__empty span{font-size:28px;text-align:center}body.dota-counter-site .enemy-draft__empty small{font-size:12px;text-align:center}
body.dota-counter-site .enemy-draft__empty:hover,body.dota-counter-site .enemy-draft__empty:focus-visible{border-color:#8652df;color:#c4a4fa;background:#19151f;outline:none}
body.dota-counter-site .enemy-draft__hero{position:relative;display:flex;align-items:center;gap:10px;padding:9px;animation:draftCardIn .22s ease both}
body.dota-counter-site .enemy-draft__hero img{width:58px;height:76px;border-radius:10px;object-fit:cover}
body.dota-counter-site .enemy-draft__hero span{overflow:hidden;font-size:13px;font-weight:800;text-overflow:ellipsis}
body.dota-counter-site .enemy-draft__hero button{position:absolute;top:6px;left:6px;width:26px;height:26px;border:1px solid #4a3542;border-radius:50%;color:#f4cedd;background:#38202c;font-size:17px;text-align:center;cursor:pointer}
body.dota-counter-site .enemy-draft__message{color:var(--d2-muted);font-size:13px}
body.dota-counter-site .enemy-draft__open,body.dota-counter-site .enemy-draft__analyze,body.dota-counter-site .hero-picker__done{min-height:44px;padding:0 18px;border:1px solid #4b3a62;border-radius:12px;color:#fff;background:#211a2b;font-size:13px;font-weight:800;text-align:center;cursor:pointer;transition:background .2s,border-color .2s}
body.dota-counter-site .enemy-draft__analyze,body.dota-counter-site .hero-picker__done{border-color:#7545c3;background:#6834b5}
body.dota-counter-site .enemy-draft__open:hover,body.dota-counter-site .enemy-draft__analyze:hover,body.dota-counter-site .hero-picker__done:hover{border-color:#a378eb;background:#7440c7}
body.dota-counter-site button:disabled{opacity:.4;cursor:not-allowed}
body.dota-counter-site .hero-picker[hidden],body.dota-counter-site .draft-results[hidden]{display:none}
body.dota-counter-site .hero-picker{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:20px}
body.dota-counter-site .hero-picker__backdrop{position:absolute;inset:0;border:0;background:rgba(4,4,6,.86);backdrop-filter:blur(8px)}
body.dota-counter-site .hero-picker__dialog{position:relative;display:flex;width:min(1180px,96vw);max-height:92vh;flex-direction:column;padding:22px;overflow:hidden;border:1px solid #393641;border-radius:20px;background:#111115;box-shadow:0 28px 80px rgba(0,0,0,.7);animation:draftDialogIn .25s ease both}
body.dota-counter-site .hero-picker__head p{margin:5px 0 0;color:var(--d2-muted);font-size:13px}
body.dota-counter-site .hero-picker__close{width:38px;height:38px;border:1px solid #393641;border-radius:50%;color:#fff;background:#1b1a20;font-size:22px;text-align:center;cursor:pointer}
body.dota-counter-site .hero-picker .hero-catalog-toolbar{margin:18px 0 14px}body.dota-counter-site .hero-picker .hero-catalog-toolbar__search span{font-size:12px}
body.dota-counter-site .hero-picker .hero-catalog-grid{min-height:0;overflow:auto;padding:3px}
body.dota-counter-site .hero-catalog-card__select{width:100%;height:100%;padding:0;border:0;color:inherit;background:transparent;cursor:pointer}
body.dota-counter-site .hero-catalog-card__name{direction:rtl!important;font-size:12px!important;text-align:right!important}
body.dota-counter-site .hero-catalog-card__check{position:absolute;top:6px;right:6px;display:none;width:25px;height:25px;place-items:center;border-radius:50%;color:#17101f;background:#b997ef;font-size:14px;font-weight:900;text-align:center}
body.dota-counter-site .hero-catalog-card--selected{border-color:#9b6be0;box-shadow:0 0 0 2px rgba(155,107,224,.2)}body.dota-counter-site .hero-catalog-card--selected .hero-catalog-card__check{display:grid}
body.dota-counter-site .hero-picker__footer{margin-top:14px;color:#b9afc1;font-size:13px}
body.dota-counter-site .draft-results__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px;align-items:start}
body.dota-counter-site .draft-result-column{min-width:0;padding:14px;border:1px solid var(--d2-line);border-radius:17px;background:var(--d2-panel)}
body.dota-counter-site .draft-result-column>header{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;margin-bottom:12px}
body.dota-counter-site .draft-result-column>header>span{display:grid;width:34px;height:34px;place-items:center;border:1px solid #35303e;border-radius:50%;color:#a378eb;background:#19181e;font-size:15px;text-align:center}
body.dota-counter-site .draft-result-column>header h2{font-size:17px}body.dota-counter-site .draft-result-column>header p{margin:3px 0 0;color:var(--d2-muted);font-size:12px}body.dota-counter-site .draft-result-column>header b{padding:5px 9px;border:1px solid #35303e;border-radius:14px;color:#a378eb;font-size:12px}
body.dota-counter-site .draft-result-column__list{display:grid;gap:8px}
body.dota-counter-site .draft-counter-card{overflow:hidden;border:1px solid #292731;border-radius:14px;background:var(--d2-panel-soft);animation:draftCardIn .28s ease both}
body.dota-counter-site .draft-counter-card__top{display:grid;min-height:68px;grid-template-columns:24px 48px minmax(0,1fr);align-items:center;gap:9px;padding:9px}
body.dota-counter-site .draft-counter-card__rank{display:grid;width:24px;height:24px;place-items:center;border:1px solid #37343d;border-radius:50%;color:#a378eb;font-size:12px;text-align:center}
body.dota-counter-site .draft-counter-card__top img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:top}
body.dota-counter-site .draft-counter-card h3{margin:0;overflow-wrap:anywhere;font-size:13px;text-align:right}body.dota-counter-site .draft-counter-card__top p{margin:3px 0 0;color:var(--d2-muted);font-size:12px}
body.dota-counter-site .draft-counter-card__ability{margin:0 10px 10px;padding-top:10px;border-top:1px solid #302d39}
body.dota-counter-site .draft-counter-card__ability>strong{display:block;margin-bottom:8px;color:#bb92f2;font-size:13px;overflow-wrap:anywhere}
body.dota-counter-site .draft-counter-card__reason{padding:9px;border:1px solid #302d39;border-radius:10px;background:#121217}
body.dota-counter-site .draft-counter-card__reason+.draft-counter-card__reason{margin-top:7px}
body.dota-counter-site .draft-counter-card__reason span{display:block;color:#9e98a5;font-size:12px}body.dota-counter-site .draft-counter-card__reason b{display:block;margin-top:3px;color:#ddd5e4;font-size:12px}body.dota-counter-site .draft-counter-card__reason p{margin:7px 0 0;color:#c1bbc7;font-size:13px;line-height:1.9}
body.dota-counter-site .draft-counter-card__footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 10px}body.dota-counter-site .draft-counter-card__footer span,body.dota-counter-site .draft-counter-card__footer a{color:#99929f;font-size:12px}body.dota-counter-site .draft-counter-card__footer a{color:#bb92f2;text-decoration:none}
body.dota-counter-site .draft-results__loading,body.dota-counter-site .draft-result-column__empty{grid-column:1/-1;padding:28px;color:var(--d2-muted);font-size:13px;text-align:center}
@keyframes draftDialogIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes draftCardIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1200px){body.dota-counter-site .draft-results__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.dota-counter-site .enemy-draft__slots{grid-template-columns:repeat(5,88px);overflow-x:auto}body.dota-counter-site .enemy-draft__actions{align-items:stretch;flex-direction:column}body.dota-counter-site .draft-results__grid{grid-template-columns:1fr}body.dota-counter-site .hero-picker{padding:7px}body.dota-counter-site .hero-picker__dialog{max-height:97vh;padding:14px}body.dota-counter-site .hero-picker .hero-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){body.dota-counter-site .hero-catalog-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Vengeance UI Generate Button adapted for the draft analyzer. */
body.dota-counter-site .enemy-draft__analyze.gen-btn{
--border-radius:24px;--padding:4px;--transition:.4s;--button-color:#101010;--highlight-color-hue:280deg;
position:relative;isolation:isolate;display:flex;min-width:220px;min-height:48px;align-items:center;justify-content:center;gap:0;padding:.5em 1.1em .5em .7em;overflow:visible;border:1px solid rgba(255,255,255,.133);border-radius:var(--border-radius);color:#fff;background-color:var(--button-color);box-shadow:inset 0 1px 1px rgba(255,255,255,.2),inset 0 2px 2px rgba(255,255,255,.15),inset 0 4px 4px rgba(255,255,255,.1),inset 0 8px 8px rgba(255,255,255,.05),inset 0 16px 16px rgba(255,255,255,.05),0 -1px 1px rgba(0,0,0,.02),0 -2px 2px rgba(0,0,0,.03),0 -4px 4px rgba(0,0,0,.05),0 -8px 8px rgba(0,0,0,.06),0 -16px 16px rgba(0,0,0,.08);font-size:14px;font-weight:500;text-align:center;user-select:none;transition:box-shadow var(--transition),border var(--transition),background-color var(--transition)}
body.dota-counter-site .enemy-draft__analyze.gen-btn::before{position:absolute;z-index:-2;inset:calc(0px - var(--padding));border-radius:calc(var(--border-radius) + var(--padding));pointer-events:none;background-image:linear-gradient(0deg,rgba(0,0,0,.267),rgba(0,0,0,.667));box-shadow:0 -8px 8px -6px transparent inset,0 -16px 16px -8px transparent inset,1px 1px 1px rgba(255,255,255,.133),2px 2px 2px rgba(255,255,255,.067),-1px -1px 1px rgba(0,0,0,.133),-2px -2px 2px rgba(0,0,0,.067);content:"";transition:box-shadow var(--transition),filter var(--transition)}
body.dota-counter-site .enemy-draft__analyze.gen-btn::after{position:absolute;z-index:-1;inset:0;border-radius:inherit;pointer-events:none;background-image:linear-gradient(0deg,#fff,hsl(var(--highlight-color-hue),100%,70%),hsla(var(--highlight-color-hue),100%,70%,.5) 8%,transparent);background-position:0 0;content:"";opacity:0;transition:opacity var(--transition),filter var(--transition)}
body.dota-counter-site .gen-btn-letter{position:relative;display:inline-block;color:rgba(255,255,255,.333);animation:genLetter 2s ease-in-out infinite;animation-delay:calc(var(--letter-index) * .08s);transition:color var(--transition),text-shadow var(--transition),opacity var(--transition)}
body.dota-counter-site .gen-btn-svg{width:24px;height:24px;flex:0 0 24px;margin-left:.65rem;fill:#e8e8e8;filter:drop-shadow(0 0 2px rgba(255,255,255,.6));animation:genFlicker 2s linear .5s infinite;transition:fill var(--transition),filter var(--transition),opacity var(--transition)}
body.dota-counter-site .gen-txt-wrapper{position:relative;display:flex;min-width:9.4em;align-items:center;justify-content:center;text-align:center}
body.dota-counter-site .gen-txt-1,body.dota-counter-site .gen-txt-2{position:absolute;inset:auto 0;direction:rtl;text-align:center;white-space:nowrap}
body.dota-counter-site .gen-txt-1{animation:genAppear 1s ease-in-out forwards}body.dota-counter-site .gen-txt-2{opacity:0}
body.dota-counter-site .gen-btn[data-generating="true"] .gen-txt-1{animation:genOpacity .3s ease-in-out 1s forwards}body.dota-counter-site .gen-btn[data-generating="true"] .gen-txt-2{animation:genOpacity .3s ease-in-out 1s reverse forwards}
body.dota-counter-site .gen-btn[data-generating="true"] .gen-btn-letter{animation:genFocusedLetter 1s ease-in-out forwards,genLetter 1.2s ease-in-out 1s infinite;animation-delay:calc(var(--letter-index) * .08s),calc(1s + var(--letter-index) * .08s)}
body.dota-counter-site .gen-btn[data-generating="true"] .gen-btn-svg{animation-duration:1.2s;animation-delay:.2s}
body.dota-counter-site .gen-btn[data-generating="true"]::before{box-shadow:0 -8px 12px -6px rgba(255,255,255,.2) inset,0 -16px 16px -8px hsla(var(--highlight-color-hue),100%,70%,.2) inset,1px 1px 1px rgba(255,255,255,.2),2px 2px 2px rgba(255,255,255,.067),-1px -1px 1px rgba(0,0,0,.133),-2px -2px 2px rgba(0,0,0,.067)}
body.dota-counter-site .gen-btn[data-generating="true"]::after{opacity:.6;mask-image:linear-gradient(0deg,#fff,transparent);filter:brightness(100%)}
body.dota-counter-site .enemy-draft__analyze.gen-btn:hover{border-color:hsla(var(--highlight-color-hue),100%,80%,.4);background-color:var(--button-color)}
body.dota-counter-site .gen-btn:hover::before{box-shadow:0 -8px 8px -6px rgba(255,255,255,.667) inset,0 -16px 16px -8px hsla(var(--highlight-color-hue),100%,70%,.3) inset,1px 1px 1px rgba(255,255,255,.133),2px 2px 2px rgba(255,255,255,.067),-1px -1px 1px rgba(0,0,0,.133),-2px -2px 2px rgba(0,0,0,.067)}
body.dota-counter-site .gen-btn:hover::after{opacity:1;mask-image:linear-gradient(0deg,#fff,transparent)}body.dota-counter-site .gen-btn:hover .gen-btn-svg{fill:#fff;filter:drop-shadow(0 0 3px hsl(var(--highlight-color-hue),100%,70%)) drop-shadow(0 -4px 6px rgba(0,0,0,.6));animation:none}
body.dota-counter-site .enemy-draft__analyze.gen-btn:active{border-color:hsla(var(--highlight-color-hue),100%,80%,.7);background-color:hsla(var(--highlight-color-hue),50%,20%,.5)}body.dota-counter-site .gen-btn:active::after{opacity:1;mask-image:linear-gradient(0deg,#fff,transparent);filter:brightness(200%)}body.dota-counter-site .gen-btn:active .gen-btn-letter{animation:none;text-shadow:0 0 1px hsla(var(--highlight-color-hue),100%,90%,.9)}
body.dota-counter-site .enemy-draft__analyze.gen-btn:disabled{filter:none;transform:none}
@keyframes genLetter{50%{color:#fff;text-shadow:0 0 3px rgba(255,255,255,.533)}}@keyframes genFlicker{50%{opacity:.3}}@keyframes genAppear{from{opacity:0}to{opacity:1}}@keyframes genOpacity{from{opacity:1}to{opacity:0}}@keyframes genFocusedLetter{0%,100%{filter:blur(0)}50%{transform:scale(2);filter:blur(10px) brightness(150%) drop-shadow(-36px 12px 12px hsl(var(--highlight-color-hue),100%,70%))}}

/* Draft Analyzer — minimal monochrome interface */
body.page-template-page-draft-analyzer{background:#070709}
body.page-template-page-draft-analyzer .dc-site-content{padding:0 clamp(16px,3vw,48px) 48px;background:#070709}
body.page-template-page-draft-analyzer .hero-catalog-page{width:min(1400px,100%);margin:0 auto;--d2-panel:#0c0c0e;--d2-panel-soft:#111113;--d2-line:#27272a;--d2-muted:#a1a1aa;--d2-purple:#fafafa;color:#fafafa}

body.page-template-page-draft-analyzer .enemy-draft,body.page-template-page-draft-analyzer .draft-results{margin:18px 0 0;padding:20px;border:1px solid #27272a;border-radius:12px;background:#0c0c0e;box-shadow:none}
body.page-template-page-draft-analyzer .enemy-draft__eyebrow,body.page-template-page-draft-analyzer .draft-results__head p,body.page-template-page-draft-analyzer .enemy-draft__head strong{color:#a1a1aa}
body.page-template-page-draft-analyzer .enemy-draft__head strong,body.page-template-page-draft-analyzer .draft-result-column>header b{border-color:#303034;color:#d4d4d8;background:#111113}
body.page-template-page-draft-analyzer .enemy-draft__empty,body.page-template-page-draft-analyzer .enemy-draft__hero{border-color:#29292d;border-radius:10px;background:#111113}
body.page-template-page-draft-analyzer .enemy-draft__empty{color:#71717a}
body.page-template-page-draft-analyzer .enemy-draft__empty:hover,body.page-template-page-draft-analyzer .enemy-draft__empty:focus-visible{border-color:#52525b;color:#fafafa;background:#151518}
body.page-template-page-draft-analyzer .enemy-draft__open,body.page-template-page-draft-analyzer .hero-picker__done{border-color:#323237;border-radius:8px;color:#e4e4e7;background:#151518;box-shadow:none}
body.page-template-page-draft-analyzer .enemy-draft__open:hover,body.page-template-page-draft-analyzer .hero-picker__done:hover{border-color:#52525b;background:#1c1c20}
body.page-template-page-draft-analyzer .hero-picker__backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(6px)}
body.page-template-page-draft-analyzer .hero-picker__dialog{border-color:#303034;border-radius:14px;background:#0c0c0e;box-shadow:0 30px 90px rgba(0,0,0,.7)}
body.page-template-page-draft-analyzer .hero-picker__close{border-color:#303034;border-radius:7px;background:#151518}
body.page-template-page-draft-analyzer .hero-catalog-toolbar,body.page-template-page-draft-analyzer .hero-catalog-toolbar__search,body.page-template-page-draft-analyzer .hero-catalog-toolbar__filter{border-color:#29292d;background:#111113;box-shadow:none}
body.page-template-page-draft-analyzer .hero-catalog-toolbar__filter--active,body.page-template-page-draft-analyzer .hero-catalog-toolbar__filter:hover{color:#fafafa!important;background:#222225!important;box-shadow:none!important}
body.page-template-page-draft-analyzer .hero-catalog-card{border-color:#27272a;background:#111113!important;box-shadow:none}
body.page-template-page-draft-analyzer .hero-catalog-card:hover,body.page-template-page-draft-analyzer .hero-catalog-card--selected{border-color:#52525b;background:#17171a!important;box-shadow:none;transform:none}
body.page-template-page-draft-analyzer .hero-catalog-card__check{color:#09090b;background:#fafafa}
body.page-template-page-draft-analyzer .draft-results__grid{gap:10px}
body.page-template-page-draft-analyzer .draft-result-column{border-color:#27272a;border-radius:10px;background:#0c0c0e}
body.page-template-page-draft-analyzer .draft-result-column>header>span{border-color:#303034;color:#d4d4d8;background:#151518}
body.page-template-page-draft-analyzer .draft-counter-card{border-color:#27272a;border-radius:9px;background:#111113}
body.page-template-page-draft-analyzer .draft-counter-card__rank{border-color:#343438;color:#d4d4d8}
body.page-template-page-draft-analyzer .draft-counter-card__ability>strong,body.page-template-page-draft-analyzer .draft-counter-card__footer a{color:#f4f4f5}
body.page-template-page-draft-analyzer .draft-counter-card__reason{border-color:#29292d;border-radius:7px;background:#0c0c0e}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn{--highlight-color-hue:0deg;min-width:220px;border-color:#3f3f46;border-radius:10px;background:#fafafa;color:#09090b;box-shadow:none}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn::before{border-radius:13px;background:#111113;box-shadow:0 0 0 1px #27272a}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn::after{background-image:linear-gradient(0deg,rgba(255,255,255,.5),rgba(255,255,255,.08),transparent)}
body.page-template-page-draft-analyzer .gen-btn-letter{color:#52525b}
body.page-template-page-draft-analyzer .gen-btn-svg{fill:#18181b;filter:none}
body.page-template-page-draft-analyzer .gen-btn:hover .gen-btn-svg{fill:#09090b;filter:none}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn:hover{border-color:#71717a;background:#fff}
@media(max-width:720px){body.page-template-page-draft-analyzer .dc-site-content{padding-inline:12px}}

/* Picker alignment and accordion counter cards. */
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar{display:grid!important;grid-template-columns:minmax(240px,1fr) auto!important;align-items:end!important;gap:18px!important;padding:14px!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__search{display:grid!important;min-width:0!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;margin:0!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__search input{width:100%!important;min-width:0!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filters{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;margin:0!important;padding:4px!important;border:1px solid #29292d!important;border-radius:9px!important;background:#0c0c0e!important;white-space:nowrap!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filter{display:inline-flex!important;width:auto!important;min-width:64px!important;min-height:36px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:6px!important;text-align:center!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid{display:grid!important;grid-template-columns:repeat(8,minmax(86px,1fr))!important;gap:9px!important;align-items:start!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card{display:block!important;width:100%!important;min-width:0!important;aspect-ratio:.9!important;overflow:hidden!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__select{display:grid!important;height:100%!important;grid-template-rows:minmax(0,1fr) auto!important;align-items:end!important;overflow:hidden!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__image{display:block!important;width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;object-position:center bottom!important;opacity:1!important;visibility:visible!important;filter:none!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__name{position:relative!important;display:block!important;width:100%!important;padding:7px 5px!important;overflow:hidden!important;color:#e4e4e7!important;background:#111113!important;text-align:center!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn,body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn:hover{border-color:#3f3f46!important;color:#fff!important;background:#111113!important}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn .gen-btn-svg,body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn:hover .gen-btn-svg{fill:#fff!important;color:#fff!important;filter:drop-shadow(0 0 2px rgba(255,255,255,.35))!important}
body.page-template-page-draft-analyzer .enemy-draft__analyze.gen-btn .gen-btn-letter{color:#e4e4e7!important}
body.page-template-page-draft-analyzer .draft-result-column>header>span{border:0!important;background:transparent!important}
body.page-template-page-draft-analyzer .draft-result-column__icon{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}
body.page-template-page-draft-analyzer .draft-result-column__list{gap:6px}
body.page-template-page-draft-analyzer .draft-counter-card{overflow:hidden;border:0!important;border-radius:8px;background:#111113;box-shadow:none}
body.page-template-page-draft-analyzer .draft-counter-card__trigger{display:grid;width:100%;min-height:68px;grid-template-columns:24px 48px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:9px;border:0;color:#fafafa;background:transparent;cursor:pointer}
body.page-template-page-draft-analyzer .draft-counter-card__trigger:hover{background:#151518}
body.page-template-page-draft-analyzer .draft-counter-card__portrait{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:top}
body.page-template-page-draft-analyzer .draft-counter-card__identity{display:block;min-width:0}
body.page-template-page-draft-analyzer .draft-counter-card__identity strong,body.page-template-page-draft-analyzer .draft-counter-card__identity small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.page-template-page-draft-analyzer .draft-counter-card__identity strong{font-size:13px}body.page-template-page-draft-analyzer .draft-counter-card__identity small{margin-top:4px;color:#a1a1aa;font-size:12px}
body.page-template-page-draft-analyzer .draft-counter-card__chevron{width:28px;height:28px;padding:5px;fill:none;stroke:#a1a1aa;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .3s ease}
body.page-template-page-draft-analyzer .draft-counter-card--open .draft-counter-card__chevron{transform:rotate(180deg)}
body.page-template-page-draft-analyzer .draft-counter-card__detail{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .4s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
body.page-template-page-draft-analyzer .draft-counter-card__detail>div{min-height:0;overflow:hidden}
body.page-template-page-draft-analyzer .draft-counter-card--open .draft-counter-card__detail{grid-template-rows:1fr;opacity:1}
body.page-template-page-draft-analyzer .draft-counter-card__ability{margin:0;padding:0 10px 10px;border:0!important}
body.page-template-page-draft-analyzer .draft-counter-card__reason{padding:10px 0;border:0!important;border-top:1px solid #27272a!important;border-radius:0!important;background:transparent!important}
body.page-template-page-draft-analyzer .draft-counter-card__reason+.draft-counter-card__reason{margin-top:0}
body.page-template-page-draft-analyzer .draft-counter-card__ability-name{display:flex;align-items:center;gap:9px}
body.page-template-page-draft-analyzer .draft-counter-card__ability-name img{width:30px;height:30px;flex:0 0 30px;border-radius:5px;object-fit:cover}
body.page-template-page-draft-analyzer .draft-counter-card__ability-name span,body.page-template-page-draft-analyzer .draft-counter-card__ability-name b{display:block}
body.page-template-page-draft-analyzer .draft-counter-card__ability-name span{color:#8f8f98;font-size:12px}body.page-template-page-draft-analyzer .draft-counter-card__ability-name b{margin-top:2px;color:#f4f4f5;font-size:12px}
body.page-template-page-draft-analyzer .draft-counter-card__reason p{margin:9px 0 0;color:#c1c1c7;font-size:13px;line-height:1.9}
body.page-template-page-draft-analyzer .draft-counter-card__footer{padding:0 10px 11px;border:0!important}
@media(max-width:900px){body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar{grid-template-columns:1fr!important}body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid{grid-template-columns:repeat(5,minmax(76px,1fr))!important}}
@media(max-width:600px){body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filters{width:100%!important;overflow-x:auto!important}body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid{grid-template-columns:repeat(3,minmax(72px,1fr))!important}}

/* Hard reset for legacy catalog positioning inside the picker. */
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card{position:relative!important;isolation:isolate!important;min-height:146px!important;background:#111113!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__select{position:relative!important;z-index:1!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-end!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__image{position:relative!important;z-index:1!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 auto!important;object-fit:cover!important;object-position:center!important;background:#18181b!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__name{position:relative!important;z-index:3!important;inset:auto!important;flex:0 0 auto!important;margin:0!important;background:#111113!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card__check{z-index:5!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid{scrollbar-width:thin!important;scrollbar-color:#3f3f46 #111113!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid::-webkit-scrollbar{width:7px;height:7px}body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid::-webkit-scrollbar-track{background:#111113}body.page-template-page-draft-analyzer .hero-picker .hero-catalog-grid::-webkit-scrollbar-thumb{border-radius:10px;background:#3f3f46}

/* Selected enemy cards and actions. */
body.page-template-page-draft-analyzer .enemy-draft__hero{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;overflow:hidden!important;padding:9px!important}
body.page-template-page-draft-analyzer .enemy-draft__hero img{display:block!important;width:96px!important;height:64px!important;object-fit:contain!important;object-position:center!important;border-radius:7px!important;background:#0c0c0e!important}
body.page-template-page-draft-analyzer .enemy-draft__hero span{display:block!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.page-template-page-draft-analyzer .enemy-draft__hero button{top:5px!important;left:5px!important;width:24px!important;height:24px!important;padding:0!important;border:0!important;color:#a1a1aa!important;background:transparent!important;font-size:19px!important;line-height:24px!important;text-align:center!important}
body.page-template-page-draft-analyzer .enemy-draft__hero button:hover{color:#fff!important;background:transparent!important}
body.page-template-page-draft-analyzer .enemy-draft__actions{justify-content:flex-start!important}

/* Enemy abilities overview above the recommendation columns. */
body.page-template-page-draft-analyzer .draft-enemy-analysis{grid-column:1/-1;padding:16px;border:1px solid #27272a;border-radius:10px;background:#0c0c0e}
body.page-template-page-draft-analyzer .draft-enemy-analysis>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
body.page-template-page-draft-analyzer .draft-enemy-analysis>header p{margin:0 0 3px;color:#8f8f98;font-size:12px}body.page-template-page-draft-analyzer .draft-enemy-analysis>header h2{margin:0;font-size:17px}body.page-template-page-draft-analyzer .draft-enemy-analysis>header>span{padding:5px 9px;border:1px solid #303034;border-radius:14px;color:#d4d4d8;font-size:12px}
body.page-template-page-draft-analyzer .draft-enemy-analysis__list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
body.page-template-page-draft-analyzer .draft-enemy-hero{overflow:hidden;border:0;border-radius:8px;background:#111113}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger{display:grid;width:100%;min-height:66px;grid-template-columns:48px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:9px;border:0;color:#fafafa;background:transparent;cursor:pointer}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger:hover{background:#151518}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger>img{width:48px;height:48px;border-radius:50%;object-fit:cover;object-position:top}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger span,body.page-template-page-draft-analyzer .draft-enemy-hero__trigger strong,body.page-template-page-draft-analyzer .draft-enemy-hero__trigger small{display:block;min-width:0}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}body.page-template-page-draft-analyzer .draft-enemy-hero__trigger small{margin-top:3px;color:#8f8f98;font-size:12px}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger svg{width:28px;height:28px;padding:5px;fill:none;stroke:#a1a1aa;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;transition:transform .3s ease}
body.page-template-page-draft-analyzer .draft-enemy-hero--open .draft-enemy-hero__trigger svg{transform:rotate(180deg)}
body.page-template-page-draft-analyzer .draft-enemy-hero__detail{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .4s cubic-bezier(.2,.8,.2,1),opacity .25s ease}
body.page-template-page-draft-analyzer .draft-enemy-hero__detail>div{min-height:0;overflow:hidden}body.page-template-page-draft-analyzer .draft-enemy-hero--open .draft-enemy-hero__detail{grid-template-rows:1fr;opacity:1}
body.page-template-page-draft-analyzer .draft-enemy-hero__abilities{display:grid;gap:0;padding:0 10px 10px}
body.page-template-page-draft-analyzer .draft-enemy-ability{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;padding:10px 0;border-top:1px solid #27272a}
body.page-template-page-draft-analyzer .draft-enemy-ability>img{width:34px;height:34px;border-radius:5px;object-fit:cover}
body.page-template-page-draft-analyzer .draft-enemy-ability strong{display:block;font-size:12px}body.page-template-page-draft-analyzer .draft-enemy-ability p{margin:5px 0 0;color:#b4b4bb;font-size:12px;line-height:1.8;white-space:pre-line}
body.page-template-page-draft-analyzer .draft-enemy-hero__empty{padding:10px;color:#8f8f98;font-size:12px}
@media(max-width:1100px){body.page-template-page-draft-analyzer .draft-enemy-analysis__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.page-template-page-draft-analyzer .draft-enemy-analysis__list{grid-template-columns:1fr}body.page-template-page-draft-analyzer .enemy-draft__hero{grid-template-columns:1fr!important}body.page-template-page-draft-analyzer .enemy-draft__hero img{width:100%!important}}

/* Reliable picker controls: isolated above legacy decorative layers. */
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar{position:relative!important;z-index:20!important;pointer-events:auto!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__search,body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__search input,body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filters,body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filter{position:relative!important;z-index:21!important;pointer-events:auto!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__search input{cursor:text!important}
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-toolbar__filter{cursor:pointer!important}

/* Large enemy ability modal replaces the long inline dropdown. */
body.enemy-ability-modal-open{overflow:hidden}
body.page-template-page-draft-analyzer .enemy-ability-modal[hidden]{display:none}
body.page-template-page-draft-analyzer .enemy-ability-modal{position:fixed;z-index:10020;inset:0;display:grid;place-items:center;padding:24px}
body.page-template-page-draft-analyzer .enemy-ability-modal__backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.86);backdrop-filter:blur(8px);cursor:pointer}
body.page-template-page-draft-analyzer .enemy-ability-modal__dialog{position:relative;width:min(1040px,96vw);max-height:90vh;overflow:auto;border:1px solid #303034;border-radius:14px;background:#0c0c0e;box-shadow:0 32px 100px rgba(0,0,0,.75);scrollbar-width:thin;scrollbar-color:#3f3f46 #111113;animation:draftDialogIn .25s ease both}
body.page-template-page-draft-analyzer .enemy-ability-modal__close{position:sticky;z-index:3;top:14px;float:left;width:38px;height:38px;margin:14px 0 0 14px;padding:0;border:1px solid #343438;border-radius:8px;color:#d4d4d8;background:#151518;font-size:23px;line-height:36px;text-align:center;cursor:pointer}
body.page-template-page-draft-analyzer .enemy-ability-modal__content{clear:both;padding:0 24px 26px}
body.page-template-page-draft-analyzer .enemy-ability-modal__hero{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:18px;padding:8px 0 22px;border-bottom:1px solid #27272a}
body.page-template-page-draft-analyzer .enemy-ability-modal__hero>img{width:100px;height:78px;border-radius:9px;object-fit:contain;background:#111113}
body.page-template-page-draft-analyzer .enemy-ability-modal__hero p{margin:0 0 4px;color:#8f8f98;font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace}body.page-template-page-draft-analyzer .enemy-ability-modal__hero h2{margin:0;font-size:28px}body.page-template-page-draft-analyzer .enemy-ability-modal__hero span{display:block;margin-top:6px;color:#a1a1aa;font-size:12px}
body.page-template-page-draft-analyzer .enemy-ability-modal__abilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
body.page-template-page-draft-analyzer .enemy-modal-ability{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:12px;padding:14px;border:0;border-radius:9px;background:#111113}
body.page-template-page-draft-analyzer .enemy-modal-ability>img{width:58px;height:58px;border-radius:7px;object-fit:cover}
body.page-template-page-draft-analyzer .enemy-modal-ability__head{display:flex;align-items:center;justify-content:space-between;gap:8px}body.page-template-page-draft-analyzer .enemy-modal-ability__head h3{margin:0;font-size:14px}body.page-template-page-draft-analyzer .enemy-modal-ability__head span{padding:3px 6px;border:1px solid #3f3f46;border-radius:5px;color:#d4d4d8;font-size:11px}
body.page-template-page-draft-analyzer .enemy-modal-ability p{margin:8px 0 0;color:#b4b4bb;font-size:12px;line-height:1.9;white-space:pre-line}
body.page-template-page-draft-analyzer .enemy-modal-ability section{margin-top:10px;padding:10px;border:0;border-radius:7px;background:#0c0c0e}body.page-template-page-draft-analyzer .enemy-modal-ability section b{color:#f4f4f5;font-size:12px}body.page-template-page-draft-analyzer .enemy-modal-ability section p{margin-top:5px}
body.page-template-page-draft-analyzer .enemy-modal-ability__empty{grid-column:1/-1;padding:30px;color:#8f8f98;text-align:center}
body.page-template-page-draft-analyzer .draft-enemy-hero__trigger svg{transform:none!important}
body.page-template-page-draft-analyzer .draft-counter-card__detail>div>.draft-counter-card__footer{display:none!important}
@media(max-width:720px){body.page-template-page-draft-analyzer .enemy-ability-modal{padding:8px}body.page-template-page-draft-analyzer .enemy-ability-modal__dialog{max-height:96vh}body.page-template-page-draft-analyzer .enemy-ability-modal__content{padding:0 14px 18px}body.page-template-page-draft-analyzer .enemy-ability-modal__hero{grid-template-columns:72px minmax(0,1fr)}body.page-template-page-draft-analyzer .enemy-ability-modal__hero>img{width:72px;height:62px}body.page-template-page-draft-analyzer .enemy-ability-modal__abilities{grid-template-columns:1fr}body.page-template-page-draft-analyzer .enemy-modal-ability{grid-template-columns:46px minmax(0,1fr);padding:11px}body.page-template-page-draft-analyzer .enemy-modal-ability>img{width:46px;height:46px}}

/* Enemy ability overview is intentionally separate from the recommendation box. */
body.page-template-page-draft-analyzer .draft-enemy-analysis-host {
    margin: 18px 0 0;
}

body.page-template-page-draft-analyzer .draft-enemy-analysis-host[hidden] {
    display: none !important;
}

body.page-template-page-draft-analyzer .draft-enemy-analysis-host .draft-enemy-analysis {
    padding: 18px;
    border: 1px solid #d97706;
    border-radius: 12px;
    background: #0c0c0e;
    box-shadow: 0 0 0 1px rgba(217, 119, 6, .08), 0 16px 42px rgba(0, 0, 0, .22);
}

body.page-template-page-draft-analyzer button,
body.page-template-page-draft-analyzer .enemy-draft__open,
body.page-template-page-draft-analyzer .enemy-draft__analyze,
body.page-template-page-draft-analyzer .hero-picker__done {
    text-align: center;
}

body.page-template-page-draft-analyzer .enemy-draft__open,
body.page-template-page-draft-analyzer .enemy-draft__analyze,
body.page-template-page-draft-analyzer .hero-picker__done {
    justify-content: center;
}

@media (max-width: 760px) {
    body.page-template-page-draft-analyzer .enemy-draft__slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }

    body.page-template-page-draft-analyzer .enemy-draft__hero,
    body.page-template-page-draft-analyzer .enemy-draft__empty {
        width: 100%;
        min-width: 0;
    }

    body.page-template-page-draft-analyzer .enemy-draft__hero:last-child:nth-child(odd),
    body.page-template-page-draft-analyzer .enemy-draft__empty:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    body.page-template-page-draft-analyzer .draft-enemy-analysis-host .draft-enemy-analysis {
        padding: 14px;
    }

    body.page-template-page-draft-analyzer .draft-enemy-analysis > header {
        align-items: flex-start;
    }
}

/* Filtering uses the native hidden attribute; this must override the picker card reset. */
body.page-template-page-draft-analyzer .hero-picker .hero-catalog-card[hidden]{display:none!important}

body.page-template-page-draft-analyzer .hero-picker__close,body.page-template-page-draft-analyzer .enemy-ability-modal__close,body.page-template-page-draft-analyzer .enemy-draft__hero button[data-remove]{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.page-template-page-draft-analyzer .hero-picker__close:hover,body.page-template-page-draft-analyzer .enemy-ability-modal__close:hover,body.page-template-page-draft-analyzer .enemy-draft__hero button[data-remove]:hover{border:0!important;background:transparent!important;box-shadow:none!important}

@media (max-width: 600px) {
    body.page-template-page-draft-analyzer .enemy-draft__hero {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        min-height: 92px;
    }

    body.page-template-page-draft-analyzer .enemy-draft__hero img {
        width: 72px !important;
        height: 62px !important;
    }
}

/* استایل دقیقاً مثل دکمهٔ «انتخاب هیروهای دشمن» (enemy-draft__open) */
body.page-template-page-draft-analyzer .enemy-draft__reset {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #323237;
    border-radius: 8px;
    color: #e4e4e7;
    background: #151518;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

body.page-template-page-draft-analyzer .enemy-draft__reset:hover {
    border-color: #52525b;
    background: #1c1c20;
    color: #e4e4e7;
}

/* ریست تحلیل در انتهای خط (سمت چپ) با همان فاصلهٔ استاندارد از لبهٔ کادر */
body.page-template-page-draft-analyzer .enemy-draft__actions {
    justify-content: flex-start;
}

body.page-template-page-draft-analyzer .enemy-draft__reset {
    order: 3;
    margin-inline-start: auto;
}

body.page-template-page-draft-analyzer .enemy-draft__reset[hidden] {
    display: none !important;
}
