.chancetile { margin-top: 10px; }
.ch-hud b { font-size: 1.35rem; }
.ch-tip { position: absolute; left: 0; right: 0; top: 86px; padding: 0 16px; text-align: center; pointer-events: none; color: #fff; font: 400 1rem/1.35 var(--font); text-shadow: 0 2px 8px #000; }
#chance .ch-wait { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); min-width: 140px; min-height: 48px; background: rgba(0, 0, 0, .65); border-color: var(--acc); }
#chance .ch-wait[hidden] { display: none; }
#chance .pen-end [hidden] { display: none; }
.ch-best { color: var(--acc); letter-spacing: .1em; }
.pen-end .ch-stars { font-size: 2rem; line-height: 1; color: var(--acc); letter-spacing: .15em; }
.ch-replay { position: absolute; left: 14px; top: 64px; padding: 4px 12px; pointer-events: none; font: italic 700 1.1rem var(--font); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: #e0243f; }
.ch-replay[hidden] { display: none; }
.ch-video { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; gap: 10px; padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); background: rgba(4, 7, 10, .94); }
.ch-video[hidden] { display: none; }
.ch-video video { width: 100%; height: 100%; min-height: 0; min-width: 0; max-height: 100%; display: block; object-fit: contain; }
.ch-video .acts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.ch-video a { font: 700 .95rem var(--font); text-transform: uppercase; letter-spacing: .05em; padding: 11px 16px; text-decoration: none; background: var(--acc); border: 2px solid var(--acc); color: var(--on-acc); }
.ch-video [hidden] { display: none; }
#chance .ch-hud { padding: 0 64px; flex-direction: column; gap: 2px; }
#chance .ch-hud .side { font-size: .72rem; }
.fans { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 6px; padding: 8px 16px; font: 400 .9rem var(--font); color: var(--text); background: rgba(0, 0, 0, .3); border-left: 2px solid var(--acc); }
.fans b { width: 100%; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--acc); }
.fans .me { font-weight: 700; color: var(--acc); }
.ch-tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#chance .ch-tag { position: absolute; transform: translate(-50%, -100%); pointer-events: auto; padding: 5px 10px; min-height: 0; border-radius: 999px; font: 700 .78rem var(--font); letter-spacing: .04em; white-space: nowrap; color: #06210f; background: #3ddc84; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .5); }
#chance .ch-tag.bad { background: #e0243f; color: #fff; }
#chance .ch-tag.off { background: #9aa0a6; color: #111; }
#chance .ch-tag.shot { pointer-events: none; background: var(--acc); color: var(--on-acc); animation: pkpulse 1.2s ease-in-out infinite alternate; }
#chance .ch-tag[hidden] { display: none; }
.ch-help { position: absolute; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(92%, 360px); margin: 0; padding: 10px 14px 10px 30px; pointer-events: none; color: #fff; font: 400 .9rem/1.4 var(--font); background: rgba(4, 7, 10, .82); border-left: 3px solid var(--acc); }
.ch-help[hidden] { display: none; }
.ch-help b { color: var(--acc); }
#chance .ch-wait.go { background: var(--acc); color: var(--on-acc); }
.ch-levels { position: absolute; left: 0; right: 0; top: 150px; display: flex; gap: 4px; padding: 0 10px 6px; overflow-x: auto; touch-action: pan-x; scrollbar-width: none; }
.ch-levels::-webkit-scrollbar { display: none; }
.ch-levels[hidden] { display: none; }
#chance .ch-levels button { flex: 0 0 44px; min-height: 44px; padding: 4px 2px; font-size: .68rem; line-height: 1.15; white-space: pre-line; letter-spacing: 0; background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .35); }
#chance .ch-levels button.on { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
#chance .ch-levels button.day { border-color: var(--acc); }
.ch-clock { position: absolute; left: 50%; top: 74px; transform: translateX(-50%); width: min(60%, 260px); height: 6px; background: rgba(255, 255, 255, .25); pointer-events: none; }
.ch-clock[hidden] { display: none; }
.ch-clock i { display: block; height: 100%; width: 100%; background: var(--acc); }
.ch-clock.low i { background: #e0243f; }
.ch-help [hidden] { display: none; }
#chance .ch-tag.edge { opacity: .92; outline: 2px dashed rgba(255, 255, 255, .8); outline-offset: 2px; }
/* Mod seçici: altta yan yana dört tür; görünürken Başla ve ipucu kutusu üstüne kayar */
#chance .ch-modes { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(calc(100% - 20px), 560px); display: flex; gap: 4px; }
#chance .ch-modes[hidden] { display: none; }
#chance .ch-modes button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 4px 6px; font-size: .74rem; line-height: 1.15; letter-spacing: .02em; white-space: normal; background: rgba(0, 0, 0, .6); border-color: rgba(255, 255, 255, .35); }
#chance .ch-modes button.on { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
#chance .ch-modes:not([hidden]) ~ .ch-wait { bottom: calc(70px + env(safe-area-inset-bottom)); }
#chance .ch-modes:not([hidden]) ~ .ch-help { bottom: calc(132px + env(safe-area-inset-bottom)); }
#chance .ch-hud .ch-min { font-size: .95rem; color: var(--acc); }
#chance .ch-hud.ch-score { left: 12px; right: auto; top: 12px; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sb { display: flex; align-items: stretch; height: 30px; font: 700 .95rem/30px var(--font); letter-spacing: .04em; box-shadow: 0 3px 10px rgba(0,0,0,.5); text-shadow: none; overflow: hidden; border-radius: 3px; }
.sb-time { min-width: 52px; padding: 0 8px; text-align: center; background: #d7263d; color: #fff; font-variant-numeric: tabular-nums; }
.sb-team { padding: 0 10px; min-width: 46px; text-align: center; }
.sb-us { background: var(--p1); color: var(--acc); }
.sb-them { background: #8fb0cc; color: #10263a; }
.sb-num { min-width: 30px; padding: 0 4px; text-align: center; background: #14101f; color: #fff; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.sb-sep { width: 1px; background: linear-gradient(#14101f 25%, rgba(255,255,255,.45) 25%, rgba(255,255,255,.45) 75%, #14101f 75%); }
.sb-note { font: 700 .72rem var(--font); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 6px #000; padding-left: 2px; }
#chance .pen-snd { left: auto; right: 64px; }

/* position picker: centre when it fits, scroll from the first item when it does not */
.ch-levels::before, .ch-levels::after { content: ""; margin: auto; }
@media (min-width: 900px) {
  .ch-levels { top: 10px; left: 120px; right: 120px; padding-bottom: 0; }
  #chance .ch-hud:not(.ch-score) { top: 64px; }
  #chance .ch-tip, #chance.ch-ftac-on .ch-tip { top: 138px; }
  #chance .ch-clock { top: 126px; }
}
#chance .ch-tag.carry { pointer-events: none; background: rgba(4, 7, 10, .82); color: #fff; border: 2px dashed rgba(255, 255, 255, .8); font-weight: 400; transform: translate(-50%, -50%); }

/* Hızlı oyun (fastPlay): sayım, şut doldurma çubuğu, tuş açıklaması. Hepsi dokunmaya kapalıdır; köşelere ve ortaya sabitlenir. */
.ch-count { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); font: italic 800 clamp(3.5rem, 16vmin, 8rem)/1 var(--font); color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .75); pointer-events: none; }
.ch-count[hidden] { display: none; }
.ch-charge { position: absolute; width: 56px; height: 6px; transform: translate(-50%, -100%); background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .8); pointer-events: none; z-index: 3; }
.ch-charge[hidden] { display: none; }
.ch-charge i { display: block; height: 100%; width: 0; background: var(--acc); }
.ch-keys { position: absolute; left: calc(12px + env(safe-area-inset-left)); bottom: calc(14px + env(safe-area-inset-bottom)); max-width: min(46vw, 360px); padding: 6px 10px; font: 400 .78rem/1.35 var(--font); color: #fff; background: rgba(4, 7, 10, .7); border-left: 3px solid var(--acc); pointer-events: none; }
.ch-keys[hidden] { display: none; }
@media (max-height: 500px) { .ch-count { left: 14%; top: 64%; } }

/* Pas türleri (passKinds): basılı tutma için seçme/menü kapalı; 0,3 sn sonra etiket "Havadan" olur ve vurgulanır. */
#chance.ch-kinds canvas, #chance.ch-kinds .ch-tag { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
#chance.ch-kinds .ch-tip { white-space: pre-line; }
#chance .ch-tag.air { background: var(--acc); color: var(--on-acc); outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .28), 0 3px 10px rgba(0, 0, 0, .5); }

/* Arkadaşınla oyna (online): bekleme ve bağlantı paneli, "bota karşı" notu, bağlantı noktası. Panel bitiş panelinin aynı görünümünü kullanır. */
#chance .ch-room { z-index: 4; } /* tam sahanın joystick ve düğmelerinin (z 2) üstünde */
#chance:has(.ch-room:not([hidden])) .ch-fpad, #chance:has(.ch-room:not([hidden])) .ch-fswitch, #chance:has(.ch-room:not([hidden])) .ch-fctl { display: none; } /* panel açıkken oyun düğmeleri gizlenir */
.ch-room .ch-rtext:empty, .ch-room .ch-rlink:empty, .ch-room .ch-rcd:empty { display: none; }
.ch-room .ch-rlink { max-width: 92vw; padding: 6px 10px; font: 400 .85rem/1.3 var(--font); word-break: break-all; color: #fff; background: rgba(255, 255, 255, .1); border-left: 3px solid var(--acc); }
.ch-room .ch-rcd { font: 700 .78rem var(--font); letter-spacing: .05em; color: var(--acc); }
.ch-botnote { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); padding: 3px 10px; font: 700 .72rem var(--font); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(4, 7, 10, .7); border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; white-space: nowrap; }
.ch-botnote[hidden] { display: none; }
/* gecikme ölçeri (çevrim içi tam saha): skor tabelası ve "Tam saha" notunun altında, sol üstte */
.ch-lag { position: absolute; left: 12px; top: 66px; padding: 2px 8px 2px 18px; font: 700 .66rem/1.5 var(--font); letter-spacing: .03em; color: #fff; background: rgba(4, 7, 10, .62); border-radius: 3px; pointer-events: none; white-space: nowrap; z-index: 2; }
.ch-lag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #3ddc84; }
.ch-lag.y::before { background: #f2c230; }
.ch-lag.r::before { background: #e0243f; }
.ch-lag[hidden] { display: none; }
.ch-netdot { display: inline-block; width: 9px; height: 9px; margin-left: 8px; border-radius: 50%; vertical-align: middle; background: #3ddc84; box-shadow: 0 0 0 2px rgba(0, 0, 0, .55); }
.ch-netdot.y { background: #f2c230; }
.ch-netdot.r { background: #e0243f; }
#chance .ch-nogl { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 2; padding: 0 24px; text-align: center; pointer-events: none; color: #fff; text-shadow: 0 2px 8px #000; }
#chance .ch-nogl h2 { margin: 0 0 10px; font: italic 700 1.6rem/1.2 var(--font); text-transform: uppercase; }
#chance .ch-nogl p { margin: 0 auto; max-width: 28rem; font: 400 1rem/1.4 var(--font); }
#chance .ch-nogl[hidden] { display: none; }
#chance .pen-x { z-index: 3; }

/* Tam saha (fullField / ?field=1): "Değiştir" düğmesi sağ altta; mod seçici yalnızca sayımda ve maç sonunda görünür, o anlarda düğme gizlidir. */
#chance .ch-fswitch { position: absolute; right: calc(12px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); min-width: 96px; min-height: 48px; padding: 6px 14px; font-size: .85rem; background: rgba(0, 0, 0, .62); border-color: var(--acc); color: #fff; touch-action: manipulation; }
#chance .ch-fswitch.dim { opacity: .45; }
#chance .ch-fswitch[hidden] { display: none; }
/* Tam saha maç sonu: mod seçici bitiş panelinin altında, tıklanabilir kalır */
#chance.ch-fover .pen-end { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
#chance.ch-fover .ch-modes { z-index: 2; }
/* Tam saha telefon kontrolleri: sol başparmakta joystick, sağda duruma göre değişen düğmeler */
#chance .ch-fpad { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
#chance .ch-fpad[hidden] { display: none; }
#chance .ch-fjoy { position: absolute; left: calc(20px + env(safe-area-inset-left)); bottom: calc(24px + env(safe-area-inset-bottom)); width: 120px; height: 120px; border-radius: 50%; border: 3px solid rgba(240, 200, 70, .55); background: radial-gradient(circle, rgba(240, 200, 70, .14) 0 38%, rgba(0, 0, 0, .14) 40%); box-shadow: 0 0 0 6px rgba(240, 200, 70, .12); pointer-events: none; }
#chance .ch-fjoy.on { border-color: rgba(240, 200, 70, .9); }
#chance .ch-fknob { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(240, 200, 70, .55); box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
/* Telefon düğmeleri (FC Mobile benzeri düzen, yarı saydam): 0 sağ üst, 1 orta üst, 2 sol alt, 3 büyük Depar, 4 küçük ek (Kaleci) */
#chance .ch-fbtns { position: absolute; right: calc(10px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); width: 300px; height: 230px; pointer-events: none; }
#chance .ch-fb { --ring: #4aa3ff; position: absolute; pointer-events: auto; width: 82px; height: 82px; padding: 4px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(60, 68, 74, .5), rgba(18, 22, 26, .5)); border: 3px solid var(--ring); box-shadow: 0 0 0 5px rgba(255, 255, 255, .1), 0 4px 14px rgba(0, 0, 0, .3); color: #fff; opacity: .82; font-family: inherit; font-size: .8rem; font-weight: 800; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .08s, opacity .08s; }
#chance .ch-fb[hidden] { display: none; }
#chance .ch-fb0 { right: 14px; bottom: 124px; --ring: #ff7a45; }
#chance .ch-fb1 { right: 112px; bottom: 92px; --ring: #f2c230; }
#chance .ch-fb2 { right: 122px; bottom: 0; --ring: #4aa3ff; }
#chance .ch-fb3 { right: 0; bottom: 0; width: 108px; height: 108px; --ring: #45d16b; font-size: .82rem; }
#chance .ch-fb4 { right: 210px; bottom: 150px; width: 58px; height: 58px; --ring: #f2c230; font-size: .62rem; }
#chance .ch-fb0.def { --ring: #ff7a45; }
#chance .ch-fb1.def { --ring: #f2c230; }
#chance .ch-fb2.def { --ring: #4aa3ff; }
#chance .ch-fb.on { transform: scale(.92); opacity: 1; background: radial-gradient(circle at 50% 35%, rgba(80, 90, 98, .7), rgba(18, 22, 26, .7)); }
#chance .ch-fb:focus-visible { outline: 3px solid #fff; outline-offset: 3px; opacity: 1; }
#chance .ch-fb small { display: block; margin-top: 3px; font-size: .55rem; font-weight: 700; letter-spacing: 0; text-transform: none; opacity: .85; }
@media (max-width: 500px) {
  #chance .ch-fjoy { width: 108px; height: 108px; left: calc(14px + env(safe-area-inset-left)); }
  #chance .ch-fbtns { width: 236px; height: 190px; right: calc(6px + env(safe-area-inset-right)); }
  #chance .ch-fb { width: 68px; height: 68px; font-size: .68rem; }
  #chance .ch-fb0 { right: 8px; bottom: 98px; }
  #chance .ch-fb1 { right: 88px; bottom: 74px; }
  #chance .ch-fb2 { right: 98px; bottom: 0; }
  #chance .ch-fb3 { width: 90px; height: 90px; font-size: .68rem; }
  #chance .ch-fb4 { right: 166px; bottom: 132px; width: 50px; height: 50px; font-size: .55rem; }
  #chance .ch-fb small { font-size: .5rem; }
}
@media (prefers-reduced-motion: reduce) { #chance .ch-fb { transition: none; } }
.ch-charge.pass i { background: #5fd0ff; }
/* Tam saha, bilgisayar: Kontroller paneli (sahibin tasarımı 2026-12-03). Kapalıyken yalnızca başlık; açıkken tek sütun, yarı saydam tuş listesi (oyun arkadan görünür; sahibin isteği 2026-12-03). */
#chance .ch-fctl { position: absolute; left: calc(12px + env(safe-area-inset-left)); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 2; width: min(330px, calc(100% - 200px)); background: rgba(10, 22, 14, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .16); border-left: 4px solid var(--acc); border-radius: 8px; color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
#chance .ch-fctl[hidden] { display: none; }
#chance .ch-fctl-h { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 6px 14px 6px 12px; margin: 0; background: none; border: 0; border-radius: 0; color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
#chance .ch-fctl-h:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
#chance .ch-fctl-h b { flex: 1; font-size: 1rem; font-weight: 800; }
#chance .ch-fctl-i { width: 26px; height: 18px; color: var(--acc); flex: none; }
#chance .ch-fctl-c { width: 9px; height: 9px; margin: 0 4px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-135deg) translate(-2px, -2px); }
#chance .ch-fctl:not(.open) .ch-fctl-c { transform: rotate(45deg) translate(-2px, -2px); }
#chance .ch-fctl-b { display: none; grid-template-columns: 1fr; max-height: calc(100vh - 150px); overflow-y: auto; padding: 2px 0 6px; border-top: 1px solid rgba(255, 255, 255, .12); }
#chance .ch-fctl.open .ch-fctl-b { display: grid; }
#chance .ch-fctl-col { padding: 0 14px; }
#chance .ch-fctl-col + .ch-fctl-col .ch-fctl-r:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
#chance .ch-fctl-r { display: flex; align-items: center; gap: 12px; min-height: 28px; padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
#chance .ch-fctl-r:last-child { border-bottom: 0; }
#chance .ch-fctl-r[hidden] { display: none; } /* kurala bağlı satırlar (C, V kaleci, Z, O): display:flex hidden'ı ezmesin */
#chance .ch-fctl-k { display: flex; align-items: center; gap: 3px; flex: none; min-width: 44px; }
#chance .ch-fctl-k kbd { display: inline-block; min-width: 22px; padding: 2px 6px; border: 1px solid rgba(255, 255, 255, .28); border-bottom-width: 2px; border-radius: 4px; background: rgba(255, 255, 255, .14); color: #fff; font-family: inherit; font-weight: 700; font-size: .78rem; line-height: 1.3; text-align: center; }
#chance .ch-fctl-s { margin: 0 4px; opacity: .8; }
#chance .ch-fctl-t { font-size: .8rem; line-height: 1.25; }
@media (max-width: 760px) { #chance .ch-fctl { width: auto; max-width: calc(100% - 140px); } }
/* Tam saha depar: dayanıklılık çubuğu oyuncunun altında; joystick sonuna kadar itilince halka depar rengini alır */
#chance .ch-fsta { position: absolute; width: 44px; height: 5px; transform: translate(-50%, 0); background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .7); pointer-events: none; z-index: 3; }
#chance .ch-fsta[hidden] { display: none; }
#chance .ch-fsta i { display: block; height: 100%; width: 100%; background: #7ee081; }
#chance .ch-fsta.low i { background: #ff8a5c; }
#chance .ch-fjoy.run { border-color: #45d16b; border-width: 4px; }
/* maç sonu istatistikleri (tam saha) */
#chance .ch-fstats { display: none; border-collapse: collapse; font-size: .82rem; color: #e8e8e8; min-width: min(300px, 86vw); }
#chance.ch-fover .ch-fstats:not([hidden]) { display: table; }
#chance .ch-ftac-btn { position: absolute; left: calc(10px + env(safe-area-inset-left)); top: 64px; z-index: 7; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.55); color: #fff; font: inherit; font-size: .75rem; font-weight: 700; cursor: pointer; }
#chance .ch-ftac-btn[hidden], #chance .ch-ftac[hidden] { display: none; }
#chance.ch-ftac-on .ch-tip { top: 104px; } /* ipucu Taktik düğmesinin altında */
#chance .ch-ftac { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9; width: min(340px, 90vw); background: rgba(10,8,6,.92); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; color: #fff; }
#chance .ch-ftac [role="group"] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#chance .ch-ftac [role="group"] b { width: 100%; font-size: .8rem; letter-spacing: .04em; }
#chance .ch-ftac [role="group"] button { min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
#chance .ch-ftac [role="group"] button[aria-pressed="true"] { background: var(--acc); color: #111; border-color: var(--acc); font-weight: 700; }
#chance .ch-ftac button:focus-visible, #chance .ch-ftac-btn:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#chance .ch-freact { position: absolute; right: 10px; bottom: 86px; z-index: 8; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#chance .ch-freact[hidden], #chance .ch-freact-list[hidden], #chance .ch-freact-bub[hidden] { display: none; }
#chance:has(.ch-fpad:not([hidden])) .ch-freact { bottom: calc(256px + env(safe-area-inset-bottom)); } /* telefon düğmeleri açıkken tepki düğmesi kümenin üstüne (Kayarak'ın üstüne binmesin) */
@media (max-width: 500px) { #chance:has(.ch-fpad:not([hidden])) .ch-freact { bottom: calc(210px + env(safe-area-inset-bottom)); } }
#chance .ch-freact-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.55); font-size: 1.25rem; cursor: pointer; }
#chance .ch-freact-list { display: flex; flex-direction: column; gap: 4px; background: rgba(0,0,0,.72); border-radius: 12px; padding: 6px; }
#chance .ch-freact-list button { min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font: inherit; font-size: .85rem; text-align: left; cursor: pointer; }
#chance .ch-freact-list button.mute { font-size: .72rem; opacity: .8; }
#chance .ch-freact button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#chance .ch-freact-bub { position: absolute; top: 86px; z-index: 8; max-width: 70%; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.7); color: #fff; font-weight: 700; font-size: .9rem; pointer-events: none; }
#chance .ch-freact-bub.me { left: 12px; }
#chance .ch-freact-bub.them { right: 12px; border: 1px solid #e0243f; }
#chance .ch-freplay { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,.55); border-radius: 999px; padding: 4px 6px 4px 14px; color: #fff; font-weight: 800; letter-spacing: .12em; font-size: .8rem; }
#chance .ch-freplay[hidden] { display: none; }
#chance .ch-freplay span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e0243f; margin-right: 7px; vertical-align: 1px; }
#chance .ch-freplay button { min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font: inherit; letter-spacing: 0; cursor: pointer; }
#chance .ch-freplay button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#chance .ch-fbadges { display: none; font-size: .82rem; color: #e8e8e8; max-width: min(360px, 88vw); text-align: left; margin-top: 6px; }
#chance.ch-fover .ch-fbadges:not([hidden]) { display: block; }
#chance .ch-fbadges p { margin: 0 0 4px; font-weight: 700; color: var(--acc); }
#chance .ch-fbadges summary { cursor: pointer; font-weight: 700; padding: 6px 0; min-height: 32px; }
#chance .ch-fbadges summary:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
#chance .ch-fbadges ul { list-style: none; margin: 0; padding: 0; max-height: 34vh; overflow: auto; }
#chance .ch-fbadges li { padding: 2px 0; line-height: 1.3; }
#chance .ch-fbadges li.off { opacity: .6; }
#chance .ch-fstats th { font-weight: 700; color: var(--acc); padding: 0 8px 2px; }
#chance .ch-fstats td { padding: 1px 8px; border-top: 1px solid rgba(255, 255, 255, .08); }
#chance .ch-fstats .us, #chance .ch-fstats .them { font-weight: 700; width: 3.8em; font-variant-numeric: tabular-nums; }
#chance .ch-fstats .us { text-align: right; }
#chance .ch-fstats .them { text-align: left; }
#chance .ch-fstats .lab { text-align: center; color: #b8c0c8; }
.pen-end .ch-stars.ch-stars-txt { font-size: 1.15rem; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; max-width: 100%; }

/* ---- Tam saha maç sonu ekranı (konsol tarzı; src/fieldplay.js resShow): .pen-end.fr-on yalnızca tam saha bitişinde.
   Arka plan: bulanık saha (3B sahne arkada sürer) + kenar karartma + takım renginde çapraz şeritler; tüm görseller CSS/SVG, fotoğraf ya da marka yok. */
#chance .ch-fres[hidden] { display: none; }
#chance .pen-end.fr-on { --fr-us: #c8102e; --fr-them: #8fb0cc; --fr-win: #4be38a; --fr-lose: #ff6b6b; top: 0; display: flex; flex-direction: column; align-items: stretch; justify-items: stretch; gap: 14px; overflow-x: hidden; overflow-y: auto; text-align: left;
  padding: max(16px, env(safe-area-inset-top)) clamp(12px, 3vw, 40px) calc(76px + env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 80% 70% at 55% 42%, rgba(10, 14, 20, .5), rgba(4, 6, 9, .9) 78%), linear-gradient(to top, rgba(3, 5, 8, .85), rgba(3, 5, 8, 0) 40%);
  -webkit-backdrop-filter: blur(6px) saturate(.9); backdrop-filter: blur(6px) saturate(.9); animation: frIn .35s ease-out both; }
#chance .pen-end.fr-on::before, #chance .pen-end.fr-on::after { content: ""; position: absolute; top: 4%; width: clamp(70px, 9vw, 150px); height: clamp(150px, 26vh, 300px); pointer-events: none; opacity: .75;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent); }
#chance .pen-end.fr-on::before { left: clamp(150px, 24vw, 420px); transform: skewX(-24deg); background: linear-gradient(90deg, var(--fr-us) 0 34%, transparent 34% 48%, var(--fr-us) 48% 62%, transparent 62%); }
#chance .pen-end.fr-on::after { right: clamp(80px, 18vw, 330px); transform: skewX(-24deg); background: linear-gradient(90deg, transparent 0 38%, var(--fr-them) 38% 52%, transparent 52% 66%, var(--fr-them) 66%); }
#chance .pen-end.fr-on > h2, #chance .pen-end.fr-on > .ch-stars, #chance .pen-end.fr-on > p:not(.ch-fres) { display: none; }
#chance .pen-end.fr-on > * { position: relative; z-index: 1; }
@keyframes frIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes frUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

#chance .ch-fres { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 780px); gap: clamp(14px, 3vw, 40px); justify-content: center; align-items: start; width: 100%; max-width: 1100px; margin: 0 auto; }
#chance .fr-tabs { display: flex; flex-direction: column; gap: 4px; padding-top: clamp(40px, 9vh, 110px); }
#chance .fr-tab { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; margin: 0; font: 600 1.02rem/1.15 var(--font); letter-spacing: .01em; text-transform: none; text-align: left; color: #e7ebef; background: none; border: 0; border-radius: 3px; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
#chance .fr-tab[hidden] { display: none; }
#chance .fr-tab svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#chance .fr-tab .fr-n { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
#chance .fr-tab:hover { background: rgba(255, 255, 255, .08); }
#chance .fr-tab[aria-selected="true"] { color: #0b0f14; font-weight: 800; background: linear-gradient(90deg, #fff 70%, rgba(255, 255, 255, .55)); box-shadow: inset 4px 0 0 var(--fr-us), 0 6px 18px rgba(0, 0, 0, .35); }
#chance .fr-tab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#chance .fr-main { display: grid; gap: 14px; min-width: 0; }

#chance .fr-board { text-align: center; animation: frUp .45s ease-out both; }
#chance .fr-board p { margin: 0; }
#chance .fr-mode { font: 600 1rem var(--font); color: #d9dee4; letter-spacing: .02em; }
#chance .fr-score { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(8px, 3vw, 40px); }
#chance .fr-side { display: grid; justify-items: center; gap: 2px; }
#chance .fr-side b { font: 800 clamp(1.2rem, 2.6vw, 1.9rem)/1.1 var(--font); color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#chance .fr-kit { width: clamp(52px, 8vw, 104px); height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
#chance .fr-big { display: flex; align-items: center; justify-content: center; gap: .25em; font: 800 clamp(3.2rem, 9vw, 6.4rem)/1 var(--font); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 4px 18px rgba(0, 0, 0, .55); }
#chance .fr-big i { font-style: normal; font-size: .6em; opacity: .9; }
#chance .fr-ft { font: 600 .95rem var(--font); letter-spacing: .08em; color: #cfd5dc; }
#chance .fr-word { font: italic 800 clamp(1.7rem, 4.2vw, 2.8rem)/1.05 var(--font); text-transform: uppercase; color: #eef2f5; }
#chance .fr-word.win { color: var(--fr-win); } #chance .fr-word.lose { color: var(--fr-lose); }
#chance .fr-pts { font: 600 1rem var(--font); color: #d9dee4; margin-top: 2px; }
#chance .fr-note { margin-top: 6px !important; font-size: .9rem; color: #c3cad2; }

#chance .fr-panel { min-width: 0; animation: frUp .45s .08s ease-out both; }
#chance .fr-panel[hidden] { display: none; }
#chance .pen-end.fr-on .fr-panel { max-height: max(200px, calc(100vh - 300px)); max-height: max(200px, calc(100dvh - 300px)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } /* uzun liste (çok gol) panelin içinde kayar: Tekrar oyna / Kapat görünür kalır */
#chance .fr-panel:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 4px; border-radius: 8px; }
#chance .fr-card, #chance .fr-panel[data-x], #chance #fr-p-stats, #chance #fr-p-mom, #chance #fr-p-badge { background: rgba(12, 16, 22, .84); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
#chance .fr-card { padding: 12px clamp(12px, 3vw, 30px) 10px; }
#chance #fr-p-stats, #chance #fr-p-mom, #chance #fr-p-badge { padding: 14px clamp(12px, 3vw, 26px); }
#chance .fr-row { display: grid; grid-template-columns: clamp(64px, 12vw, 110px) 1fr clamp(64px, 12vw, 110px); align-items: center; gap: 8px; padding: 5px 0; }
#chance .fr-v { display: grid; justify-items: center; line-height: 1; }
#chance .fr-v b { font: 800 clamp(1.25rem, 2.6vw, 1.8rem) var(--font); color: #fff; font-variant-numeric: tabular-nums; }
#chance .fr-v small { font-size: .8rem; color: #c9d0d7; margin-top: 2px; }
#chance .fr-v.lo b { color: #9aa4ae; }
#chance .fr-mid { display: grid; gap: 6px; min-width: 0; }
#chance .fr-row .fr-lab { text-align: center; font: 600 .98rem var(--font); color: #e7ebef; }
#chance .fr-bar { position: relative; display: flex; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#chance .fr-bar i { display: block; height: 100%; width: 0; transition: width .7s cubic-bezier(.2, .8, .2, 1) .15s; }
#chance .fr-bar i.us { background: var(--fr-us); box-shadow: 0 0 8px var(--fr-us); }
#chance .fr-bar i.them { background: var(--fr-them); box-shadow: 0 0 8px var(--fr-them); }
/* sayılar: ortadan iki yana (sol yarı bizim, sağ yarı onların) */
#chance .fr-row:not(.split) .fr-bar { background: none; gap: 4px; overflow: visible; }
#chance .fr-row:not(.split) .fr-bar::before, #chance .fr-row:not(.split) .fr-bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(50% - 2px); border-radius: 4px; background: rgba(255, 255, 255, .1); }
#chance .fr-row:not(.split) .fr-bar::before { left: 0; } #chance .fr-row:not(.split) .fr-bar::after { right: 0; }
#chance .fr-row:not(.split) .fr-bar i { position: absolute; top: 0; z-index: 1; max-width: calc(50% - 2px); border-radius: 4px; }
#chance .fr-row:not(.split) .fr-bar i.us { right: calc(50% + 2px); width: 0; }
#chance .fr-row:not(.split) .fr-bar i.them { left: calc(50% + 2px); width: 0; }
#chance .fr-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
#chance .fr-cell { display: grid; justify-items: center; gap: 4px; padding: 0 6px; }
#chance .fr-cell + .fr-cell { border-left: 1px solid rgba(255, 255, 255, .12); }
#chance .fr-ch { display: flex; align-items: center; gap: 8px; font: 600 .92rem var(--font); color: #e7ebef; }
#chance .fr-cell b { font: 800 1.2rem var(--font); color: #fff; font-variant-numeric: tabular-nums; word-spacing: .2em; }
#chance .fr-ico { display: inline-block; flex: none; width: 12px; height: 16px; border-radius: 2px; }
#chance .fr-ico.yc { background: #ffd21f; } #chance .fr-ico.rc { background: #ef2a2a; transform: rotate(8deg); }
#chance .fr-ico.foul { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #e7ebef; background: none; }
#chance .fr-ico.goal { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 45%, #c9ced4 46%); border: 1px solid #222; }
#chance .fr-more { display: block; margin: 8px 0 0 auto; min-height: 36px; padding: 4px 10px; font: 700 .85rem var(--font); letter-spacing: .03em; color: #e7ebef; background: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; text-transform: uppercase; }
#chance .fr-more:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
#chance #fr-p-stats .ch-fstats { width: 100%; min-width: 0; font-size: .95rem; }
#chance .fr-tot { margin: 10px 0 0; font-size: .85rem; color: #c3cad2; text-align: center; }
#chance .fr-mom { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#chance .fr-mom li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(255, 255, 255, .05); box-shadow: inset 3px 0 0 var(--fr-us); color: #eef2f5; font-size: .95rem; }
#chance .fr-mom li.them { box-shadow: inset 3px 0 0 var(--fr-them); }
#chance .fr-mom .fr-t { min-width: 3.2em; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
#chance .fr-empty { margin: 0; color: #c3cad2; text-align: center; }
#chance #fr-p-badge .ch-fbadges { display: block; max-width: none; margin: 0; font-size: .9rem; }
#chance .fr-keys { position: fixed; left: clamp(12px, 3vw, 40px); bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; font-size: .8rem; color: #aeb6bf; display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1280px) and (min-height: 760px) { #chance .fr-keys { display: block; } }
#chance.ch-fover .ch-ftac-btn { display: none; } /* maç sonu ekranında taktik çipi sekmelerin üstüne biniyordu; taktik maç içinde değişir */

/* düğmeler: birincil eğik beyaz hap, diğerleri koyu çerçeveli; mod satırı aynı dilde (seçili mod yeşil çerçeve) */
#chance .pen-end.fr-on .acts { justify-content: center; gap: 10px; margin-top: auto; padding-top: 6px; }
#chance .pen-end.fr-on .acts button { min-height: 46px; padding: 8px 22px; font: 800 .95rem var(--font); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(10, 14, 20, .72); border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; transition: transform .15s, box-shadow .15s, background .15s; }
#chance .pen-end.fr-on .acts button.go { min-width: 220px; padding: 10px 38px; font: italic 800 1.25rem var(--font); color: #0b0f14; background: #fff; border-color: #fff; border-radius: 4px; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); }
#chance .pen-end.fr-on .acts button:hover, #chance .pen-end.fr-on .acts button:focus-visible { transform: scale(1.04); box-shadow: 0 0 0 2px #fff, 0 0 22px rgba(255, 255, 255, .35); outline: none; }
#chance .pen-end.fr-on .acts button.go:focus-visible { box-shadow: none; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .7)); }
#chance.ch-fover .ch-modes { gap: 8px; width: min(calc(100% - 20px), 760px); }
#chance.ch-fover .ch-modes button { min-height: 46px; font: 800 .8rem var(--font); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(10, 14, 20, .78); border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; }
#chance.ch-fover .ch-modes button.on { color: #fff; background: rgba(10, 14, 20, .78); border: 2px solid var(--fr-win, #4be38a); box-shadow: 0 0 12px rgba(75, 227, 138, .35); }
#chance.ch-fover .ch-modes button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  #chance .pen-end.fr-on, #chance .fr-board, #chance .fr-panel { animation: none; }
  #chance .fr-bar i, #chance .fr-tab, #chance .pen-end.fr-on .acts button { transition: none; }
}
/* telefon: sekmeler üstte yatay şerit (kaydırılabilir), skor üstte, düğmeler alta sabit */
@media (max-width: 760px) {
  #chance .pen-end.fr-on { gap: 10px; padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  #chance .pen-end.fr-on::before { left: 4%; top: 2%; opacity: .55; } #chance .pen-end.fr-on::after { right: 4%; top: 2%; opacity: .55; }
  #chance .ch-fres { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  #chance .fr-main { display: contents; }
  #chance .fr-board { order: 0; padding-right: 44px; padding-left: 44px; }
  #chance .fr-tabs { order: 1; flex-direction: row; gap: 4px; padding: 0 0 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #chance .fr-tabs::-webkit-scrollbar { display: none; }
  #chance .fr-tab { flex: none; min-height: 44px; padding: 6px 12px; gap: 6px; font-size: .88rem; border-radius: 22px; background: rgba(255, 255, 255, .07); }
  #chance .fr-tab svg { width: 18px; height: 18px; }
  #chance .fr-tab .fr-n { margin-left: 4px; }
  #chance .fr-tab[aria-selected="true"] { background: #fff; box-shadow: inset 0 -3px 0 var(--fr-us); }
  #chance .fr-panel { order: 2; }
  #chance .pen-end.fr-on .fr-panel { max-height: max(160px, calc(100vh - 390px)); max-height: max(160px, calc(100dvh - 390px)); } /* telefon: skor + sekmeler + düğmeler + oyun türü şeridi */
  #chance .fr-score { gap: 6px; }
  #chance .fr-row { padding: 4px 0; }
  #chance .fr-row .fr-lab { font-size: .88rem; }
  #chance .fr-ch { font-size: .8rem; gap: 5px; }
  #chance .pen-end.fr-on .acts { gap: 8px; }
  #chance .pen-end.fr-on .acts button { min-height: 44px; padding: 6px 14px; font-size: .85rem; }
  #chance .pen-end.fr-on .acts button.go { min-width: 0; flex: 1 1 60%; font-size: 1.1rem; padding: 8px 20px; }
  #chance.ch-fover .ch-modes { gap: 4px; }
  #chance.ch-fover .ch-modes button { font-size: .68rem; min-height: 44px; padding: 4px; }
}
/* Maç sonu bekleyişi (fieldplay.js endLater): ipucu, %17'deki büyük MAÇ SONU yazısının (.pen-res, satır yüksekliği 1) hemen altında */
#chance .ch-tip.ch-endtip, #chance.ch-ftac-on .ch-tip.ch-endtip { top: calc(17% + clamp(2.2rem, 11vw, 5.5rem) + 14px); }
