/* ŞABO TV — Şabo Halı Saha */
.hs-studio .stage { padding: 0; min-height: min(72vh, 640px); }
.hs-studio .stage::before { display: none; }
.hs-wrap { position: absolute; inset: 0; overflow: hidden; background: #0c0f14; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.hs-wrap:fullscreen { width: 100vw; height: 100vh; }
.hs-arena { position: absolute; inset: 0; z-index: 1; }
.hs-canvas { display: block; touch-action: none; }

/* skorbord */
.hs-board { position: absolute; z-index: 3; top: 10px; left: 50%; transform: translateX(-50%); display: flex; align-items: stretch; height: 44px; font-family: var(--display); pointer-events: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.hs-team { display: flex; align-items: center; gap: 12px; padding: 0 16px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; }
.hs-team b { font-size: 30px; line-height: 1; font-style: normal; min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.hs-team.t1 { background: #a3264f; color: #fff; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); padding-left: 24px; }
.hs-team.t2 { background: #3f9fdd; color: #06131c; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 24px; }
.hs-mid { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: 0 12px; background: #0b0d12; color: #fff; }
.hs-mid b { font: 700 21px/1 var(--mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.hs-mid small { margin-top: 3px; font: 700 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

.hs-meta { position: absolute; z-index: 3; top: 12px; right: 12px; display: flex; align-items: center; gap: 6px; }
.hs-chip { padding: 6px 9px; border-radius: 3px; background: rgba(11, 13, 18, .72); color: var(--text-2); font: 600 11.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.hs-chip.mono { font: 600 11px/1 var(--mono); letter-spacing: 0; text-transform: none; color: var(--muted); }
.hs-wrap.lag .hs-chip.mono { color: var(--warn); }
.hs-chip:empty { display: none; }
.hs-ico { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 3px; background: rgba(11, 13, 18, .72); color: var(--text-2); cursor: pointer; }
.hs-ico:hover { color: #fff; background: rgba(11, 13, 18, .92); }
.hs-ico svg { width: 16px; height: 16px; }

/* orta: geri sayım, gol, sonuç */
.hs-center { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; pointer-events: none; padding: 70px 16px 90px; }
.hs-count { display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--display); text-transform: uppercase; }
.hs-count b { font-size: 120px; line-height: .9; font-weight: 900; font-style: italic; color: #fff; text-shadow: 0 6px 0 rgba(0, 0, 0, .35); animation: hsPop .9s ease-out; }
.hs-count span { padding: 7px 14px; background: #0b0d12; color: var(--gold-2); font-weight: 700; letter-spacing: .16em; font-size: 14px; }
@keyframes hsPop { from { transform: scale(1.5); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); } }
.hs-goal { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 44px 14px; font-family: var(--display); text-transform: uppercase; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); animation: hsGoal .5s cubic-bezier(.2, .8, .2, 1); }
.hs-goal.t1 { background: #a3264f; color: #fff; }
.hs-goal.t2 { background: #3f9fdd; color: #06131c; }
.hs-goal b { font-size: 68px; line-height: .95; font-weight: 900; font-style: italic; letter-spacing: .02em; }
.hs-goal span { font-size: 22px; font-weight: 700; letter-spacing: .06em; }
.hs-goal small { font-size: 13px; font-weight: 600; letter-spacing: .12em; opacity: .85; }
@keyframes hsGoal { from { transform: translateX(-60px) skewX(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hs-result { pointer-events: auto; width: min(420px, 100%); padding: 22px 24px 18px; background: rgba(11, 13, 18, .94); border: 1px solid var(--line-2); border-top: 4px solid var(--gold); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.hs-result h3 { margin: 8px 0 12px; font-size: 34px; font-style: italic; text-transform: uppercase; }
.hs-result h3.t1 { color: #e0668e; }
.hs-result h3.t2 { color: var(--mavi-2); }
.hs-final { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.hs-final b { font: 700 34px/1 var(--mono); color: #fff; }
.hs-final .t1 { color: #e0668e; }
.hs-final .t2 { color: var(--mavi-2); }
.hs-result p { margin: 12px 0 0; color: var(--text-2); font-size: 14px; }
.hs-result p b { color: var(--gold-2); }
.hs-result ul { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 5px; text-align: left; font-size: 13.5px; }
.hs-result li { display: flex; justify-content: space-between; gap: 12px; padding-left: 9px; border-left: 3px solid #a3264f; }
.hs-result li.t2 { border-left-color: #3f9fdd; }
.hs-result li em { font-style: normal; color: var(--muted); white-space: nowrap; }
.hs-result small { display: block; margin-top: 14px; color: var(--muted); font: 600 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }

/* alt: katılma, ipucu, kondisyon */
.hs-bottom { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.hs-join { pointer-events: auto; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 9px 12px 9px 16px; background: rgba(11, 13, 18, .9); border: 1px solid var(--line-2); border-radius: 4px; font-size: 14px; color: var(--text-2); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.hs-join b { color: var(--gold-2); }
.hs-hint { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 7px 12px; background: rgba(11, 13, 18, .78); border-radius: 3px; font-size: 12.5px; color: var(--text-2); }
.hs-hint b { padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 3px; font: 600 11px/1.2 var(--mono); color: #fff; }
.hs-hint i { width: 3px; height: 3px; margin: 0 4px; border-radius: 50%; background: var(--faint); }

/* dokunmatik: sol yarı kol, sağ yarı şut. Düğmeler yalnızca gösterge; dokunuşu altlarındaki alanlar alır */
.hs-safe { position: absolute; top: env(safe-area-inset-top, 0px); right: env(safe-area-inset-right, 0px); bottom: env(safe-area-inset-bottom, 0px); left: env(safe-area-inset-left, 0px); visibility: hidden; pointer-events: none; }
.hs-touch { position: absolute; inset: 0; z-index: 2; touch-action: none; -webkit-touch-callout: none; }
.hs-touch[hidden] { display: none; }
.hs-zone { position: absolute; top: 0; bottom: 0; width: 50%; touch-action: none; }
.hs-zl { left: 0; }
.hs-zr { right: 0; }
.hs-stick { --a: 0deg; position: absolute; left: calc(24px + env(safe-area-inset-left, 0px)); bottom: calc(30px + env(safe-area-inset-bottom, 0px)); width: 124px; height: 124px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(9, 12, 17, .08) 0 44%, rgba(9, 12, 17, .36) 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .22); opacity: .6; transition: opacity .15s; }
.hs-stick.on { left: var(--x); top: var(--y); bottom: auto; margin: -62px 0 0 -62px; opacity: 1; }
/* gidilen yön: çemberin o dilimi yanar */
.hs-stick::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from calc(var(--a) + 67.5deg), #f6d58a 0 45deg, transparent 45deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); opacity: 0; transition: opacity .1s; }
.hs-stick.go::before { opacity: 1; }
.hs-stick i { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .95), rgba(214, 221, 232, .82) 62%, rgba(150, 161, 180, .8)); box-shadow: 0 5px 12px rgba(0, 0, 0, .45); }
.hs-tbtn { position: absolute; display: grid; place-items: center; border-radius: 50%; pointer-events: none; color: #fff; font: 800 18px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.hs-tbtn[hidden] { display: none; }
.hs-kick { --ch: 0; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(40px + env(safe-area-inset-bottom, 0px)); width: 94px; height: 94px; background: rgba(163, 38, 79, .66); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 8px 20px rgba(0, 0, 0, .35); }
.hs-arena.t2 .hs-kick { background: rgba(47, 138, 198, .7); }
.hs-kick.on { background: rgba(203, 56, 106, .96); transform: scale(.93); }
.hs-arena.t2 .hs-kick.on { background: rgba(74, 170, 232, .96); }
/* güçlü şut dolumu */
.hs-kick::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(#e8b64c calc(var(--ch) * 360deg), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.hs-sprint { right: calc(128px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: 66px; height: 66px; font-size: 12.5px; letter-spacing: .08em; background: rgba(232, 182, 76, .32); box-shadow: inset 0 0 0 2px rgba(246, 213, 138, .65); }
.hs-sprint.on { background: rgba(232, 182, 76, .92); color: #1b1305; text-shadow: none; transform: scale(.94); }
.hs-tip { position: absolute; bottom: calc(172px + env(safe-area-inset-bottom, 0px)); margin: 0; padding: 7px 11px; border-radius: 3px; background: rgba(11, 13, 18, .86); color: var(--text-2); font-size: 12.5px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .35s; }
.hs-tip-l { left: calc(18px + env(safe-area-inset-left, 0px)); }
.hs-tip-r { right: calc(18px + env(safe-area-inset-right, 0px)); }
.hs-touch.tips .hs-tip { opacity: 1; }

/* çekmece kapalıyken gelen sohbet satırı */
.hs-say { position: absolute; z-index: 3; top: 62px; left: 50%; transform: translateX(-50%); max-width: min(74%, 440px); padding: 6px 11px; border-radius: 3px; background: rgba(11, 13, 18, .84); color: var(--text-2); font-size: 13px; line-height: 1.35; pointer-events: none; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; animation: hsSay .25s ease-out; }
.hs-say[hidden] { display: none; }
.hs-say b { margin-right: 6px; color: var(--gold-2); font-weight: 700; }
@keyframes hsSay { from { opacity: 0; transform: translate(-50%, -6px); } }
.hs-menu { position: relative; display: none; }
.hs-menu i { position: absolute; top: 4px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px #0b0d12; }
.hs-menu i[hidden] { display: none; }

/* oyun modu: saha ekranı kaplar (telefonda kendiliğinden, masaüstünde tam ekran düğmesiyle); sohbet ve takımlar çekmecede */
html.hs-play, html.hs-play body { overflow: hidden; overscroll-behavior: none; }
html.hs-play .hs-wrap { position: fixed; inset: 0; z-index: 120; touch-action: none; }
html.hs-play .hs-menu { display: grid; }
html.hs-play .hs-board { top: calc(8px + env(safe-area-inset-top, 0px)); }
html.hs-play .hs-meta { top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); }
html.hs-play .hs-say { top: calc(62px + env(safe-area-inset-top, 0px)); }
html.hs-play .hs-bottom { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
html.hs-play .toasts { top: calc(58px + env(safe-area-inset-top, 0px)); bottom: auto; }
.hs-dhead, .hs-shade { display: none; }
html.hs-play .side { position: fixed; z-index: 140; top: 0; right: 0; bottom: 0; width: min(380px, 100%); max-height: none; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0; border-top: 0; border-left: 1px solid var(--line-2); box-shadow: -24px 0 60px rgba(0, 0, 0, .5); transform: translateX(104%); visibility: hidden; transition: transform .22s cubic-bezier(.2, .8, .2, 1), visibility 0s .22s; }
html.hs-play.hs-drawer .side { transform: none; visibility: visible; transition-delay: 0s; }
html.hs-play.hs-drawer .hs-shade { display: block; position: fixed; inset: 0; z-index: 130; background: rgba(4, 5, 8, .62); }
html.hs-play .hs-dhead { display: block; padding: 12px 12px 10px; border-bottom: 1px solid var(--line); }
.hs-dtop { display: flex; align-items: center; gap: 10px; }
.hs-dname { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hs-dname b { font: 800 19px/1 var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-dname span { font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hs-dacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* dokunmatik ekran: üstte yalnızca skor ve menü; oynarken kondisyon çubuğu skorun altına iner */
.hs-wrap.touch .hs-full, .hs-wrap.touch .hs-meta .hs-chip:first-child { display: none; }
.hs-wrap.touch.playing .hs-bottom { bottom: auto; top: 54px; }
html.hs-play .hs-wrap.touch.playing .hs-bottom { bottom: auto; top: calc(54px + env(safe-area-inset-top, 0px)); }
.hs-wrap.touch.playing .hs-center { padding-bottom: calc(var(--hs-b, 0px) + 16px); }
.hs-wrap.touch.playing .hs-say { top: 70px; }
html.hs-play .hs-wrap.touch.playing .hs-say { top: calc(70px + env(safe-area-inset-top, 0px)); }

/* yan sekme: takımlar */
.hs-side { display: flex; flex-direction: column; gap: 12px; }
.hs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hs-col { min-width: 0; padding: 8px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid #a3264f; border-radius: 4px; }
.hs-col.t2 { border-top-color: #3f9fdd; }
.hs-side h5 { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 700 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-side h5 b { margin-left: auto; color: var(--text-2); font-family: var(--mono); letter-spacing: 0; }
.hs-side h5 svg { width: 14px; height: 14px; }
.hs-col.t1 h5 { color: #e0668e; }
.hs-col.t2 h5 { color: var(--mavi-2); }
.hs-row { display: flex; align-items: center; gap: 7px; min-height: 30px; padding: 2px 4px; border-radius: 4px; font-size: 13px; }
.hs-row.me { background: rgba(232, 182, 76, .09); }
.hs-row .name { flex: 1; min-width: 0; }
.hs-row .avatar.sm { width: 22px; height: 22px; font-size: 9.5px; flex: none; }
.hs-row .avatar svg { width: 13px; height: 13px; }
.hs-row .tools { display: none; gap: 2px; }
.hs-row:hover .tools, .hs-row:focus-within .tools { display: flex; }
.hs-ga { color: var(--gold-2); font: 600 11px/1 var(--mono); white-space: nowrap; }
.hs-own { margin-left: 4px; color: var(--gold); font: 600 10px/1 var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.hs-no { width: 22px; text-align: center; color: var(--faint); font: 600 12px/1 var(--mono); }
.hs-empty { margin: 4px; color: var(--faint); font-size: 12.5px; }
.hs-list { padding: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.hs-mine { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-mine:empty { display: none; }
.hs-admin { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 4px; }
.hs-admin h5 { color: var(--gold); margin: 0; }
.hs-ctl { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-f { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.hs-f .select { min-width: 0; }
.hs-sw { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.hs-sw input { margin-top: 2px; accent-color: var(--bordo-3); }
.hs-note { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }

/* saha kurma penceresi */
.hs-new { display: flex; flex-direction: column; gap: 16px; }
.hs-maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.hs-map { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 12px; text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--line-2); border-radius: 4px; color: var(--text); cursor: pointer; }
.hs-map:hover { border-color: var(--line-2); }
.hs-map.on { border-color: var(--mavi); border-left-color: var(--mavi); background: rgba(95, 182, 232, .08); }
.hs-map b { font: 700 16px/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.hs-map span { font: 600 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hs-map small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.hs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.hs-sws { display: grid; gap: 9px; }

@media (max-width: 1100px) {
  .hs-studio .stage { min-height: 62vh; }
}
@media (max-width: 640px) {
  .hs-studio .stage { min-height: 68vh; }
  .hs-board { top: 8px; height: 36px; }
  .hs-team { padding: 0 9px; gap: 8px; font-size: 13px; }
  .hs-team.t1 { padding-left: 16px; }
  .hs-team.t2 { padding-right: 16px; }
  .hs-team b { font-size: 24px; }
  .hs-mid { min-width: 70px; padding: 0 8px; }
  .hs-mid b { font-size: 17px; }
  .hs-mid small { font-size: 8.5px; letter-spacing: .1em; }
  .hs-meta { top: auto; bottom: 8px; right: 8px; }
  .hs-meta .hs-chip:first-child { display: none; }
  /* telefonda menü sağ üstte; gecikme yalnızca bağlantı kötüleşince, düğmenin altında görünür */
  .hs-wrap.touch .hs-meta, html.hs-play .hs-meta { top: 9px; bottom: auto; right: 8px; flex-direction: column-reverse; align-items: flex-end; }
  html.hs-play .hs-meta { top: calc(9px + env(safe-area-inset-top, 0px)); right: calc(8px + env(safe-area-inset-right, 0px)); }
  .hs-wrap.touch:not(.lag) .hs-chip.mono { display: none; }
  .hs-ico { width: 34px; height: 34px; }
  .hs-count b { font-size: 84px; }
  .hs-goal b { font-size: 46px; }
  .hs-goal span { font-size: 17px; }
  .hs-goal { padding: 12px 30px 10px; }
  .hs-result { padding: 16px; }
  .hs-result h3 { font-size: 26px; }
}
/* yan tutulan telefon: yükseklik az, her şey bir boy küçülür */
@media (max-height: 480px) {
  .hs-board { top: 5px; height: 30px; }
  html.hs-play .hs-board { top: calc(5px + env(safe-area-inset-top, 0px)); }
  .hs-team { padding: 0 10px; gap: 8px; font-size: 13px; }
  .hs-team.t1 { padding-left: 17px; }
  .hs-team.t2 { padding-right: 17px; }
  .hs-team b { font-size: 21px; }
  .hs-mid { min-width: 72px; padding: 0 8px; }
  .hs-mid b { font-size: 15px; }
  .hs-mid small { margin-top: 2px; font-size: 8px; letter-spacing: .1em; }
  html.hs-play .hs-meta { top: calc(5px + env(safe-area-inset-top, 0px)); }
  .hs-ico { width: 32px; height: 32px; }
  .hs-center { padding: 40px 12px 10px; }
  .hs-count b { font-size: 72px; }
  .hs-goal { padding: 9px 28px 8px; }
  .hs-goal b { font-size: 40px; }
  .hs-goal span { font-size: 16px; }
  .hs-result { max-height: 100%; overflow-y: auto; padding: 12px 16px; }
  .hs-result h3 { margin: 4px 0 8px; font-size: 22px; }
  .hs-final b { font-size: 26px; }
  .hs-result ul { margin-top: 8px; padding-top: 8px; }
  .hs-result small { margin-top: 10px; }
  .hs-wrap.touch.playing .hs-bottom, html.hs-play .hs-wrap.touch.playing .hs-bottom { top: calc(40px + env(safe-area-inset-top, 0px)); }
  .hs-say, html.hs-play .hs-say, .hs-wrap.touch.playing .hs-say, html.hs-play .hs-wrap.touch.playing .hs-say { top: calc(52px + env(safe-area-inset-top, 0px)); }
  .hs-tip { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  /* düğmeler sahanın köşelerine biner: dinlenirken daha silik, biraz daha küçük */
  .hs-stick:not(.on) { opacity: .42; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .hs-kick { width: 86px; height: 86px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .hs-sprint { right: calc(118px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 60px; height: 60px; font-size: 11.5px; }
}

/* oyun modunda yönetici düzenleme çubuğu düğmelerin üstüne binmesin */
html.hs-play .lx-bar { display: none; }

/* Depar düğmesinin çevresinde kondisyon */
.hs-sprint { --st: 1; }
.hs-sprint::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(#e8b64c calc(var(--st) * 360deg), rgba(255, 255, 255, .14) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 3.5px)); }
.hs-sprint.low::after { background: conic-gradient(#ec4b55 calc(var(--st) * 360deg), rgba(255, 255, 255, .14) 0); }

/* maç öncesi: takımlar, stadyum, kurallar (maçı saha sahibi başlatan sahalarda, ısınma sırasında) */
.hs-pre { pointer-events: auto; width: min(760px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 18px 20px 16px; background: rgba(11, 13, 18, .95); border: 1px solid var(--line-2); border-top: 4px solid var(--gold); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); text-align: left; }
.hs-pre > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hs-pre h3 { margin: 6px 0 0; font-size: 26px; font-style: italic; text-transform: uppercase; overflow-wrap: anywhere; }
.hs-pre-inv { display: flex; align-items: center; gap: 10px; color: var(--muted); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hs-pre-inv b { color: var(--text); letter-spacing: .16em; }
.hs-pre-teams { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.hs-pre-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 9px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--line-2); border-radius: 4px; }
.hs-pre-col.t1 { border-top-color: #a3264f; }
.hs-pre-col.t2 { border-top-color: #3f9fdd; }
.hs-pre h5 { display: flex; align-items: center; gap: 6px; margin: 0; font: 700 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-pre h5 b { margin-left: auto; font-family: var(--mono); letter-spacing: 0; color: var(--text-2); }
.hs-pre-col.t1 h5 { color: #e0668e; }
.hs-pre-col.t2 h5 { color: var(--mavi-2); }
.hs-pre-col ul { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 3px; min-height: 64px; }
.hs-pre-col li { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 2px 4px 2px 8px; border-radius: 4px; background: var(--ink-2); font-size: 13.5px; }
.hs-pre-col li.me { box-shadow: inset 2px 0 0 var(--gold); }
.hs-pre-col li.bot { color: var(--muted); }
.hs-pre-col li.none { background: none; padding-left: 2px; color: var(--faint); font-size: 12.5px; }
.hs-pre-col .n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-pre-col .n em { margin-left: 6px; font: 600 9.5px/1 var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.hs-pre-col .t { display: inline-flex; gap: 2px; flex: none; }
.hs-pre-col li button { display: grid; place-items: center; flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 4px; background: var(--panel-3); color: var(--text-2); cursor: pointer; }
.hs-pre-col li button:hover { color: #fff; background: var(--line-2); }
.hs-pre-col li button svg { width: 14px; height: 14px; }
.hs-pre-col li .to { font: 800 12px/1 var(--display); color: #fff; }
.hs-pre-col li .to.t1 { background: #a3264f; }
.hs-pre-col li .to.t2 { background: #3f9fdd; color: #06131c; }
.hs-pre-col > .btn { align-self: flex-start; }
.hs-pre-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; }
.hs-pre-acts .hs-sw { margin-left: auto; }
.hs-pre-sec { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.hs-pre-sec > h5 { margin-bottom: 8px; }
.hs-pre-maps { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-pre-maps button { flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 12px; background: var(--panel-2); border: 1px solid var(--line); border-left: 3px solid var(--line-2); border-radius: 4px; color: var(--text); cursor: pointer; }
.hs-pre-maps button:hover { border-color: var(--line-2); }
.hs-pre-maps button.on { border-color: var(--mavi); border-left-color: var(--mavi); background: rgba(95, 182, 232, .1); }
.hs-pre-maps b { font: 700 15px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.hs-pre-maps span { font: 600 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.hs-pre-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hs-pre-rules label { display: grid; gap: 5px; min-width: 0; font-size: 12px; color: var(--muted); }
.hs-pre-rules .select { min-width: 0; width: 100%; }
.hs-pre-sws { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.hs-pre-info { margin: 12px 0 0; color: var(--text-2); font-size: 13.5px; line-height: 1.5; }
.hs-pre-info b { display: block; color: var(--gold-2); font-weight: 600; }
/* başlat düğmesi liste uzasa da hep görünür */
.hs-pre > footer { position: sticky; bottom: -16px; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 16px -20px -16px; padding: 12px 20px 14px; background: #0b0d12; border-top: 1px solid var(--line); }
.hs-wrap.pre .hs-center { padding: 60px 12px 12px; }
.hs-pre-open { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); pointer-events: auto; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
html.hs-play .hs-pre-open { top: calc(60px + env(safe-area-inset-top, 0px)); }
@media (max-width: 640px) {
  .hs-pre { padding: 14px 12px 12px; }
  .hs-pre > footer { bottom: -12px; margin: 14px -12px -12px; padding: 10px 12px 12px; }
  .hs-wrap.pre .hs-center { padding: 52px 8px 8px; }
  html.hs-play .hs-wrap.pre .hs-center { padding: calc(52px + env(safe-area-inset-top, 0px)) 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .hs-pre h3 { font-size: 21px; }
  .hs-pre-teams { grid-template-columns: 1fr 1fr; }
  .hs-pre-col.mid { grid-column: 1 / -1; order: 3; }
  .hs-pre-col.mid ul { min-height: 0; }
  .hs-pre-rules { grid-template-columns: 1fr 1fr; }
  .hs-pre-acts .hs-sw { margin-left: 0; width: 100%; }
  .hs-pre > footer .btn-lg { flex: 1; height: 46px; font-size: 15px; }
}
@media (max-height: 480px) { .hs-pre-open { top: calc(42px + env(safe-area-inset-top, 0px)); } }
.hs-wrap.pre.touch.playing .hs-center { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }

/* ---- ses düzeyi: skorbordun yanındaki hoparlör düğmesinin altında açılan kutu ve menüdeki satır (kıs, aç, sustur) */
.hs-volpop { position: absolute; z-index: 6; top: 50px; right: 12px; padding: 10px 12px; background: rgba(11, 13, 18, .95); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: var(--shadow); }
.hs-volpop[hidden] { display: none; }
html.hs-play .hs-volpop { top: calc(50px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); }
.hs-vol { display: flex; align-items: center; gap: 6px; }
.hs-vol button { display: grid; place-items: center; flex: none; width: 34px; height: 34px; padding: 0; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; font: 600 20px/1 var(--font); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .12s, transform .06s; }
.hs-vol button:hover { border-color: var(--mavi); }
.hs-vol button:active { transform: scale(.93); }
.hs-vol button svg { width: 17px; height: 17px; }
.hs-vol input[type=range] { --v: 70%; flex: 1; width: 120px; min-width: 84px; height: 34px; margin: 0 4px; -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.hs-vol input[type=range]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--mavi) var(--v), var(--line-2) var(--v)); }
.hs-vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 20px; margin-top: -8px; background: #fff; border: 0; border-radius: 0; clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); }
.hs-vol input[type=range]::-moz-range-track { height: 4px; background: linear-gradient(90deg, var(--mavi) var(--v), var(--line-2) var(--v)); }
.hs-vol input[type=range]::-moz-range-thumb { width: 13px; height: 20px; background: #fff; border: 0; border-radius: 0; }
.hs-vol input[type=range]:focus-visible { outline: 2px solid var(--mavi); outline-offset: 2px; }
.hs-vol b { flex: none; min-width: 46px; font: 700 14px/1 var(--display); letter-spacing: .04em; text-align: right; text-transform: uppercase; color: var(--text-2); }
.hs-vol.off .hs-vol-m { color: var(--bad); border-color: rgba(236, 75, 85, .55); }
.hs-vol.off b { color: var(--bad); }
.hs-vol.off input[type=range]::-webkit-slider-runnable-track { background: var(--line-2); }
.hs-dvol { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.hs-dvol > span { font: 700 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hs-dvol .hs-vol { flex: 1; min-width: 0; }
@media (max-width: 640px) {
  /* dar pencerede düğmeler aşağıda durur: kutu yukarı açılır */
  .hs-volpop { top: auto; bottom: 48px; right: 8px; }
  /* telefonda ve tam ekranda düğmeler sağ üstte alt alta: kutu düğmelerin soluna açılır */
  .hs-wrap.touch .hs-volpop, html.hs-play .hs-volpop { top: calc(9px + env(safe-area-inset-top, 0px)); bottom: auto; right: calc(50px + env(safe-area-inset-right, 0px)); }
  .hs-volpop .hs-vol input[type=range] { width: 96px; min-width: 70px; }
}

/* ---- stadyumlar (dört büyüklerin sahası): saha seçiminde kulüp renkli küçük işaret */
.hs-sw2 { flex: none; width: 16px; height: 16px; border-radius: 3px; background: linear-gradient(135deg, var(--v1) 0 50%, var(--v2) 50% 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.hs-pre-h2 { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.hs-pre-h2 small { font: 500 12px/1.2 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.hs-pre-maps.ven button { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; row-gap: 4px; }
.hs-pre-maps.ven button .hs-sw2 { grid-row: span 2; width: 18px; height: 30px; }
.hs-pre-maps.ven button b, .hs-pre-maps.ven button span { text-align: left; }
.hs-new-h { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; }
.hs-new-h small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; }
.hs-maps.ven { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.hs-maps.ven .hs-map { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 3px; align-items: start; }
.hs-maps.ven .hs-map .hs-sw2 { grid-row: span 3; width: 20px; height: 100%; min-height: 44px; }
