/* Başantrenörler (coaches.js) */
/* Stadyum: koçu olmayan takımda karartılmış siluet + soru işareti */
.coach-npc .coach-none{opacity:.92;filter:drop-shadow(0 0 6px #6fa8ff55)}
.coach-npc .coach-q{position:absolute;left:50%;top:26%;transform:translate(-50%,-50%);font:900 clamp(22px,3.2vw,46px) Arial;color:#ffd04d;-webkit-text-stroke:2px #3a2100;paint-order:stroke fill;text-shadow:0 0 12px #ffb02e99;pointer-events:none;animation:coQ 2.4s ease-in-out infinite}
@keyframes coQ{50%{transform:translate(-50%,-56%)}}
@media (prefers-reduced-motion:reduce){.coach-npc .coach-q{animation:none}}
/* Strateji paneli: başantrenör kutusu (ct-tabs içinde, --k ölçeğiyle) */
.ct-tabs .co-box{display:flex;align-items:center;gap:calc(10*var(--k));height:calc(48*var(--k));padding:calc(3*var(--k)) calc(14*var(--k)) calc(3*var(--k)) calc(4*var(--k));border:calc(2*var(--k)) solid #ffcf4a;border-radius:calc(26*var(--k));background:linear-gradient(#173b70,#0b2148);color:#fff;cursor:pointer;text-align:left;box-shadow:0 2px 8px #0008}
.ct-tabs .co-box:hover{filter:brightness(1.15)}
.ct-tabs .co-box img{width:calc(40*var(--k));height:calc(40*var(--k));border-radius:50%;object-fit:cover;object-position:top;background:radial-gradient(#3a5a8a,#132544);border:calc(2*var(--k)) solid #7fb8ff}
.ct-tabs .co-box img.co-none{object-fit:contain;background:#0a1424}
.ct-tabs .co-box span{display:flex;flex-direction:column;line-height:1.15}.ct-tabs .co-box b{font:900 calc(16*var(--k)) Arial}.ct-tabs .co-box small{font:700 calc(12.5*var(--k)) Arial;color:#cfe3ff}.ct-tabs .co-box em{font-style:normal;font-weight:900}
/* Koçlar penceresi */
.co-modal{display:grid;place-items:center}
.co-wrap{position:relative;width:min(1060px,96vw);max-height:94vh;max-height:94dvh;display:flex;flex-direction:column;padding:44px 16px 14px;border-radius:18px;background:linear-gradient(180deg,#2196f0,#0b5cb5);border:3px solid #c4e6ff;box-shadow:0 18px 50px #000c;color:#fff;font-family:Arial,sans-serif}
.co-title{position:absolute;left:50%;top:-20px;transform:translateX(-50%);padding:6px 44px;border-radius:26px;background:linear-gradient(#3fb3ff,#1167c9);border:3px solid #0d2a52;box-shadow:0 0 0 3px #fff inset;font:900 28px Arial;color:#ffc93a;-webkit-text-stroke:2px #7a1400;paint-order:stroke fill;text-shadow:0 3px 0 #5a0d00;white-space:nowrap}
.co-x{position:absolute;right:-12px;top:-12px;width:44px;height:44px;border-radius:50%;border:3px solid #fff;background:linear-gradient(#ff5b4a,#c41b10);color:#fff;font:900 20px Arial;cursor:pointer;box-shadow:0 3px 8px #0009}
.co-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.co-top>span{margin-right:auto;font:700 13px Arial;color:#dff1ff}
.co-tabs{display:flex;gap:6px}.co-tabs button{padding:7px 14px;border-radius:999px;border:2px solid #0d2a52;background:#0e3570;color:#cfe3ff;font:900 13px Arial;cursor:pointer}.co-tabs button.on{background:linear-gradient(#ffb02e,#f0700c);color:#fff;border-color:#8a3200}
.co-body{display:grid;grid-template-columns:260px minmax(0,1fr);gap:12px;min-height:0;flex:1}
.co-chest,.co-list{border-radius:12px;background:linear-gradient(#0e3570,#0a2551);border:2px solid #5fb2ff;overflow-y:auto;max-height:calc(94dvh - 120px)}
.co-chest{padding:12px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.co-chest-art{position:relative;width:120px;height:150px;border-radius:14px;background:radial-gradient(circle at 50% 40%,#ffcf4a55,#0a1a3300 70%),linear-gradient(#123a75,#06152e);border:2px solid #ffcf4a;display:grid;place-items:center;overflow:hidden}
.co-chest-art img{height:140px;margin-top:14px}.co-chest-art b{position:absolute;font:900 54px Arial;color:#ffd04d;-webkit-text-stroke:2px #3a2100;paint-order:stroke fill;text-shadow:0 0 14px #ffb02e}
.co-chest h3{margin:2px 0 0;font:900 18px Arial;color:#ffd166}.co-chest p{margin:0;font:600 12px/1.35 Arial;color:#dcecff}
.co-odds{list-style:none;margin:2px 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:3px 6px;width:100%}.co-odds li{display:flex;justify-content:space-between;padding:2px 6px;border-radius:6px;background:#06152e;font:800 11px Arial}.co-odds em{font-style:normal}
.co-open{width:100%;padding:10px;border-radius:999px;border:2px solid #8a3200;background:linear-gradient(#ffb02e,#f0700c);box-shadow:inset 0 2px 0 #ffd88a;color:#fff;font:900 16px Arial;text-shadow:0 1px 0 #7a2a00;cursor:pointer}.co-open:disabled{filter:grayscale(1);opacity:.55;cursor:not-allowed}
.co-chest small{font:700 11px Arial;color:#9fc3ee}.co-note{font-size:11px!important;color:#9fc3ee!important;margin-top:4px!important}
.co-list{padding:10px}
.co-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px}
.co-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 8px 10px;border-radius:12px;background:linear-gradient(#123a75,#071a3a);border:2px solid #3f78c4;text-align:center}
.co-card.co-head{border-color:#4be36c;box-shadow:0 0 0 2px #4be36c55,0 0 14px #4be36c55}
.co-card.co-s{border-color:#ffcf4a}.co-card.co-a{border-color:#d58bff}.co-card.co-b{border-color:#5aa9ff}.co-card.co-head.co-s,.co-card.co-head.co-a,.co-card.co-head.co-b{box-shadow:0 0 0 3px #4be36c,0 0 14px #4be36c77}
.co-face{position:relative;display:block;width:96px;height:96px;border-radius:12px;overflow:hidden;background:radial-gradient(#3a5a8a,#132544)}.co-face img{width:100%;height:100%;object-fit:cover}
.co-tier{font-style:normal;font:900 14px Arial;text-shadow:0 1px 2px #000}.co-face .co-tier{position:absolute;left:4px;top:2px;font-size:16px}
.co-name{font:900 14px Arial;margin-top:4px}.co-team{font:700 11px Arial;color:#9fc3ee}
.co-line{font:700 11.5px Arial;color:#dcecff}.co-line b{color:#fff}
.co-up{font-style:normal;color:#4be36c}.co-down{font-style:normal;color:#ff6f6f}.co-flat{font-style:normal;color:#8fa6c4}
.co-act{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap;justify-content:center}.co-act button{padding:5px 10px;border-radius:8px;border:1px solid #2f5f99;background:#06152e;color:#fff;font:800 11.5px Arial;cursor:pointer}.co-act button:hover{border-color:#4be36c}
.co-act .co-rel{border-color:#ff8a7a;color:#ffb3a8}.co-act .co-rel.on{background:#7a1a10;color:#fff}.co-hc{padding:5px 10px;border-radius:8px;background:#0d2a1c;border:1px solid #4be36c;color:#8dfca0;font:900 11.5px Arial}
.co-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px;text-align:center;color:#cfe3ff;font:700 14px Arial}.co-empty img{height:150px;opacity:.85}
.co-table{display:flex;flex-direction:column;gap:4px}
.co-tr{display:grid;grid-template-columns:26px 40px minmax(0,1fr) 34px 120px 46px;align-items:center;gap:8px;padding:4px 8px;border-radius:8px;background:#06152e;border:1px solid #1f4677}
.co-tr.mine{border-color:#4be36c}.co-tr img{width:40px;height:40px;border-radius:8px;object-fit:cover;background:#132544}.co-n{font:900 13px Arial;color:#9fc3ee;text-align:right}
.co-nm{display:flex;flex-direction:column;min-width:0}.co-nm b{font:900 13px Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.co-nm small{font:700 11px Arial;color:#9fc3ee}
.co-pr{font:800 12.5px Arial;text-align:right}.co-bn{font:900 12px Arial;color:#8dfca0;text-align:right}
.co-reveal{position:fixed;inset:0;z-index:100001;display:grid;place-items:center;background:#000c}
.co-rv{width:min(320px,90vw);display:flex;flex-direction:column;align-items:center;gap:4px;padding:16px;border-radius:16px;background:radial-gradient(circle at 50% 30%,#2a5fae,#0a1f45);border:3px solid #ffcf4a;color:#fff;text-align:center;font-family:Arial;animation:coRv .45s ease-out}
.co-rv small{font:900 12px Arial;color:#ffd166;letter-spacing:1px}.co-rv img{height:min(300px,45vh);filter:drop-shadow(0 6px 10px #000a)}.co-rv b{font:900 22px Arial}.co-rv span{font:700 12px Arial;color:#cfe3ff}.co-rv .co-tier{font-size:26px}
.co-rv button{margin-top:8px;padding:9px 34px;border-radius:999px;border:2px solid #8a3200;background:linear-gradient(#ffb02e,#f0700c);color:#fff;font:900 15px Arial;cursor:pointer}
@keyframes coRv{from{transform:scale(.6);opacity:0}}
@media (hover:none){.co-modal{backdrop-filter:none;-webkit-backdrop-filter:none;background:#02060bee}}
/* Telefon: alçak (yatay) ya da dar ekran */
@media (max-height:560px),(max-width:760px){
 .co-modal{padding:4px;backdrop-filter:none;-webkit-backdrop-filter:none;background:#02060bee}
 .co-wrap{width:100%;max-height:calc(100dvh - 8px);padding:30px 8px 8px;border-width:2px;border-radius:12px;box-shadow:none}
 .co-title{top:3px;padding:2px 20px;font-size:17px;-webkit-text-stroke:1px #7a1400;text-shadow:0 2px 0 #5a0d00;border-width:2px;box-shadow:0 0 0 2px #fff inset}
 .co-x{right:2px;top:2px;width:30px;height:30px;font-size:14px;border-width:2px}
 .co-top{margin-bottom:4px;gap:6px}.co-top>span{font-size:10.5px}.co-tabs button{padding:4px 9px;font-size:11px}
 .co-body{grid-template-columns:200px minmax(0,1fr);gap:6px}
 .co-chest,.co-list{max-height:calc(100dvh - 76px)}.co-chest{padding:7px;gap:4px}.co-list{padding:6px}
 .co-chest-art{width:80px;height:96px}.co-chest-art img{height:90px;margin-top:8px}.co-chest-art b{font-size:36px}.co-chest h3{font-size:14px}.co-chest p{font-size:10.5px}
 .co-odds li{font-size:9.5px;padding:1px 4px}.co-open{padding:6px;font-size:13px}
 .co-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px}.co-face{width:70px;height:70px}.co-name{font-size:12px}.co-line{font-size:10.5px}
 .co-tr{grid-template-columns:20px 32px minmax(0,1fr) 28px 100px 38px;gap:5px;padding:3px 5px}.co-tr img{width:32px;height:32px}
}
@media (max-width:760px){.co-body{grid-template-columns:1fr}.co-chest{max-height:none}.co-odds{grid-template-columns:repeat(7,1fr)}.co-chest-art{display:none}}
/* Mağaza: Koç Sandığı simgesi ve onay */
.co-shop-art{position:relative;display:grid;place-items:center;width:100%;height:100%;border-radius:10px;background:radial-gradient(circle at 50% 40%,#ffcf4a66,#0a1a3300 70%),linear-gradient(#123a75,#06152e);overflow:hidden}
.co-shop-art img,.shop-frame .co-shop-art img{position:absolute;left:50%;bottom:0;width:auto;max-width:none;height:90%;margin:0;transform:translateX(-50%);object-fit:contain}.co-shop-art b{position:absolute;font:900 clamp(26px,3.4vw,44px) Arial;color:#ffd04d;-webkit-text-stroke:2px #3a2100;paint-order:stroke fill;text-shadow:0 0 12px #ffb02e}
.co-shop-art.big{width:120px;height:140px;margin:0 auto 6px;border:2px solid #ffcf4a}.co-ask .co-shop-art.big img{width:auto!important;height:90%!important;max-width:none!important}
.co-ask .co-ask-d{max-width:380px;text-align:center}.co-ask .co-odds{margin:8px 0}.co-ask .co-note{font-size:12px;color:#9fc3ee}
.co-ask .sq-btns{display:flex;gap:10px;justify-content:center}.co-ask button:disabled{filter:grayscale(1);opacity:.55}
/* 2026-11-19 12:55: Koç Sandığı yalnızca mağazada — pencere tek sütun, altta kısa not */
.co-body.co-one{grid-template-columns:1fr!important}
.co-foot{margin:8px 2px 0;font:600 11.5px/1.35 Arial;color:#cfe3ff;text-align:center}
.co-go{padding:8px 22px;border-radius:999px;border:2px solid #8a3200;background:linear-gradient(#ffb02e,#f0700c);color:#fff;font:900 14px Arial;cursor:pointer}
.co-one .co-list{max-height:calc(94dvh - 150px)}
@media (max-height:560px),(max-width:760px){.co-one .co-list{max-height:calc(100dvh - 100px)}.co-foot{margin-top:4px;font-size:10px}}
/* 2026-11-19 13:00: koç kartı ayrıntı penceresi (oyuncu kartları gibi) */
.co-open-dt{display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;border:0;background:none;color:#fff;cursor:pointer}.co-open-dt:hover .co-face{box-shadow:0 0 0 2px #fff,0 0 12px #7fd0ff}
.co-tr{cursor:pointer}.co-tr:hover{border-color:#7fd0ff;background:#0a2350}
.co-dt{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:12px;background:#02060bcc}
.co-dt-d{position:relative;width:min(760px,96vw);max-height:94dvh;overflow:auto;padding:40px 16px 14px;border-radius:18px;background:linear-gradient(180deg,#2196f0,#0b5cb5);border:3px solid #c4e6ff;box-shadow:0 18px 50px #000c;color:#fff;font-family:Arial,sans-serif}
.co-dt-d .co-title{font-size:24px;text-transform:uppercase}
.co-dt-body{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px}
.co-dt-left{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;padding:10px 6px;border-radius:12px;background:radial-gradient(circle at 50% 35%,#3a6fb8,#0a1f45 75%);border:2px solid #5fb2ff}
.co-dt-d.co-s .co-dt-left{border-color:#ffcf4a}.co-dt-d.co-a .co-dt-left{border-color:#d58bff}
.co-dt-left img{width:100%;max-height:330px;object-fit:contain;filter:drop-shadow(0 6px 8px #000a)}.co-dt-left .co-tier{position:absolute;left:10px;top:6px;font-size:26px}
.co-dt-right{display:flex;flex-direction:column;gap:8px;min-width:0}
.co-dt-name b{display:block;font:900 24px Arial}.co-dt-name small{font:700 12px Arial;color:#cfe3ff}
.co-dt-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px}.co-dt-fields>div{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:5px 9px;border-radius:8px;background:#06152e;border:1px solid #2f5f99}
.co-dt-fields span{font:700 11.5px Arial;color:#9fc3ee}.co-dt-fields b{font:900 13px Arial;text-align:right}.co-dt-fields small{font:700 10px Arial;color:#9fc3ee}
.co-dt-box{padding:6px 9px;border-radius:10px;background:linear-gradient(#0e3570,#0a2551);border:2px solid #5fb2ff}.co-dt-box h4{margin:0 0 4px;font:900 13px Arial;color:#ffd166}.co-dt-box h4 small{font:700 11px Arial;color:#9fc3ee}
.co-dt-chart{display:block;width:100%;height:auto}.co-dt-chart .g{stroke:#ffffff1a}.co-dt-chart text{font:700 11px Arial;fill:#9fc3ee}.co-dt-chart polyline{fill:none;stroke:#ff9b34;stroke-width:2.5}.co-dt-chart circle{fill:#ffad51}
.co-dt-games{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}.co-dt-games li{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:3px 8px;border-radius:6px;background:#06152e;font:700 12px Arial}
.co-dt-games li b{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;font:900 11px Arial}.co-dt-games li.w b{background:#1f7a3a}.co-dt-games li.l b{background:#8a1f1f}.co-dt-games li em{font-style:normal;color:#cfe3ff}.co-dt-games li.none{display:block;color:#9fc3ee}
.co-dt-note{margin:0;font:600 11px/1.35 Arial;color:#cfe3ff}.co-dt-get{font:800 12px Arial;color:#ffd166}
.co-dt .co-act{justify-content:flex-start;margin-top:2px}.co-dt .co-act button{padding:7px 14px;font-size:12.5px}
@media (max-height:560px),(max-width:760px){
 .co-dt{padding:4px}.co-dt-d{max-height:calc(100dvh - 8px);padding:30px 8px 8px;border-width:2px;border-radius:12px}.co-dt-d .co-title{font-size:16px}
 .co-dt-body{grid-template-columns:150px minmax(0,1fr);gap:8px}.co-dt-left img{max-height:calc(100dvh - 90px)}.co-dt-name b{font-size:18px}
 .co-dt-fields>div{padding:3px 7px}.co-dt-fields b{font-size:11.5px}.co-dt-right{gap:5px}.co-dt-box{padding:4px 7px}
}
@media (max-width:520px){.co-dt-body{grid-template-columns:1fr}.co-dt-left{flex-direction:row;justify-content:center}.co-dt-left img{max-height:160px;width:auto}}
.co-dt-d .co-title{top:4px;padding:4px 30px}.co-dt-d .co-x{right:6px;top:6px;width:36px;height:36px;font-size:16px}.co-dt-d{padding-top:46px}
.co-dt-chart{height:clamp(80px,20vh,150px)}
@media (max-height:560px),(max-width:760px){.co-dt-d{padding-top:34px}.co-dt-d .co-title{top:3px;padding:2px 18px}.co-dt-d .co-x{width:28px;height:28px;font-size:13px;right:4px;top:4px}.co-dt-chart{height:clamp(60px,18vh,110px)}.co-dt-games li{padding:2px 6px;font-size:11px}.co-dt-note{font-size:10px}}
/* 2026-11-19: Koç draftı (coach-draft.js) */
.cd-info{position:absolute;left:12%;right:12%;top:52%;padding:10px 14px;border-radius:12px;background:#06152ecc;border:1px solid #5fb2ff;color:#dcecff;font:700 calc(15*var(--k)) /1.4 Arial;text-align:center}
.cd-info b{color:#ffd166}
.cd-pool{display:grid!important;grid-template-columns:repeat(5,1fr);gap:8px;padding:6px}
.drm-pl.cd-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 4px;border-radius:10px;background:linear-gradient(#123a75,#071a3a);border:2px solid #3f78c4;color:#fff;cursor:pointer;min-height:0;height:auto;width:auto}
.drm-pl.cd-card.rarity-s{border-color:#ffcf4a}.drm-pl.cd-card.rarity-a{border-color:#d58bff}.drm-pl.cd-card.sel{box-shadow:0 0 0 3px #fff,0 0 12px #7fd0ff}.drm-pl.cd-card.taken{opacity:.45}
.cd-face{position:relative;display:block;width:64px;height:64px;border-radius:10px;overflow:hidden;background:radial-gradient(#3a5a8a,#132544)}.cd-face img{width:100%;height:100%;object-fit:cover}.cd-face em{position:absolute;left:3px;top:1px;font:900 13px Arial;font-style:normal;text-shadow:0 1px 2px #000}
.cd-card b{font:900 12px Arial}.cd-card small{font:700 10px Arial;color:#cfe3ff}.cd-card .cd-bn{color:#8dfca0}.cd-tk{position:absolute;right:4px;top:4px;padding:1px 5px;border-radius:5px;background:#7a1a10;font:900 9px Arial;font-style:normal}.cd-tk.own{background:#0d5a2a}
.cd-d{display:flex;gap:10px;align-items:flex-start}.cd-d img{height:120px}.cd-d p{margin:2px 0;font:700 12px Arial;color:#dcecff}.cd-more{padding:4px 10px;border-radius:7px;border:1px solid #2f5f99;background:#06152e;color:#fff;font:800 11px Arial;cursor:pointer}
.cd-ticket-art{position:relative;display:grid;place-items:center;width:100%;height:100%}.shop-frame .cd-ticket-art img{width:82%;height:82%;object-fit:contain}
.cd-ticket-art b{position:absolute;bottom:14%;left:50%;transform:translateX(-50%);padding:1px 6px;border-radius:5px;background:#0d2a52;border:1px solid #ffcf4a;color:#ffd04d;font:900 clamp(8px,1vw,12px) Arial;letter-spacing:.5px}
.drm-pl.cd-card .cd-face{flex:0 0 auto;width:clamp(40px,4.3vw,64px);height:clamp(40px,4.3vw,64px)}
.drm-pl.cd-card .cd-face img{position:static!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:top!important;transform:none!important}
@media (max-height:520px){.cd-pool{gap:4px;padding:3px}.drm-pl.cd-card{height:auto!important;min-height:0!important;padding:3px 2px!important;gap:0}.drm-pl.cd-card .cd-face{width:30px;height:30px;border-radius:6px}.cd-face em{font-size:10px}.drm-pl.cd-card b{font-size:10px!important;line-height:1.15}.drm-pl.cd-card small{font-size:8px!important;line-height:1.15}}
/* 2026-11-20: Hall of Fame koç satırı yüzü, kadro ekranında koç */
.hf-row .hf-face img{width:100%;height:100%;object-fit:cover;object-position:top}
.o2-coach{position:absolute;right:4%;top:3%;height:42%;aspect-ratio:105/215;padding:0;border:0;background:transparent;z-index:1;cursor:pointer;filter:drop-shadow(0 6px 4px #0009)}
.o2-coach img{width:100%;height:100%;object-fit:contain;object-position:bottom}
.o2-coach.none{cursor:default}.o2-coach.none img{opacity:.92}
.o2-coach .coach-q{position:absolute;left:50%;top:24%;transform:translate(-50%,-50%);font:900 calc(40*var(--k,1px)) Arial;color:#ffd04d;-webkit-text-stroke:2px #3a2100;paint-order:stroke fill;text-shadow:0 0 12px #ffb02e99;pointer-events:none}
.o2-coach-tag{position:absolute;left:50%;bottom:-2%;transform:translateX(-50%);white-space:nowrap;padding:1px 6px;border-radius:6px;background:#06152ecc;border:1px solid #5fb2ff;color:#fff;font:800 calc(15*var(--k,1px)) Arial}
