/* ---------- דראפט ---------- */
/* המגרש, המשבצות, הספסל והרזרבות לקוחים מ-myteam.css (אותם class-ים), והחלונות מ-sbc.css. כאן רק מה שייחודי לדראפט ולמשחק */
#draft {
  justify-content: flex-start;
  align-items: stretch;
  gap: 1.6vh;
  padding: 3vh 2.5vw 2.5vh;
}
#draft.entering { animation: home-in .8s var(--ease-out) both; }
#draft.active .gal-top > * { animation: gal-drop .7s var(--ease-out) backwards; }
#draft.active .gal-top > :nth-child(2) { animation-delay: .1s; }
#draft.active .gal-top > :nth-child(3) { animation-delay: .2s; }

.dr-hub-main, .dr-rewards, .dr-side, .dr-bk-head, .dr-bk-board {
  background: linear-gradient(170deg, rgba(22, 48, 104, .7), rgba(5, 12, 27, .95) 62%);
  box-shadow: inset 0 0 0 4px #1c4fa8, inset 0 0 0 7px rgba(120, 180, 255, .14);
  clip-path: var(--notch);
}

/* ---------- כניסה ---------- */
.dr-hub { display: flex; align-items: center; justify-content: center; gap: 2.4vw; }
#draft.active .dr-hub:not([hidden]) > * { animation: sbc-side-in .6s var(--ease-out) backwards; }
#draft.active .dr-hub:not([hidden]) > :nth-child(2) { animation-delay: .12s; }
.dr-hub-main {
  width: min(42vw, 82vh);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6vh;
  padding: 3.4vh 2.4vw;
}
.dr-hub-head { --u: max(2px, .4vh); display: flex; }
.dr-hub-line { --u: max(1.4px, .28vh); display: flex; opacity: .92; }
.dr-hub-btns { margin-top: 1.6vh; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4vh; }
.dr-cta { padding: 1.5vh 3.2vw; }
.dr-cta .px { --u: max(2px, .4vh); }
.btn-buy.dr-cta { cursor: not-allowed; }
.dr-quit { align-self: flex-start; }
.dr-price { display: flex; align-items: center; gap: .8vw; direction: rtl; }
.dr-price .px { --u: max(1.4px, .28vh); }
.dr-price img { height: 3.6vh; }
.dr-price .num { font-size: clamp(11px, 2vh, 20px); }
.dr-price.free .px { --u: max(1.6px, .32vh); padding: .5vh 1vw; background: #2f9e44; box-shadow: 0 .3vh 0 #1b6a2c; }

.dr-rewards { width: min(28vw, 54vh); display: flex; flex-direction: column; gap: 1.2vh; padding: 3vh 1.6vw; }
.dr-rw-head { --u: max(1.9px, .38vh); display: flex; margin-bottom: .6vh; }
.dr-rw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  padding: 1.1vh 1vw;
  background: rgba(6, 16, 31, .6);
  box-shadow: inset 0 0 0 2px rgba(60, 110, 200, .5);
}
.dr-rw-row:last-child { background: rgba(120, 90, 10, .4); box-shadow: inset 0 0 0 2px #ffd54a; }
.dr-rw-label { --u: max(1.4px, .28vh); display: flex; }
.dr-rw-val { display: flex; align-items: center; gap: .6vw; direction: ltr; }
.dr-rw-val img { height: 3vh; }
.dr-rw-val .num { font-size: clamp(9px, 1.6vh, 16px); }
.dr-rw-extra { --u: max(1.3px, .26vh); display: flex; direction: rtl; margin-inline-start: .4vw; }

/* ---------- בניית הקבוצה ---------- */
.dr-build { display: flex; gap: 1.6vw; min-height: 0; }
.dr-build:not([hidden]) .dr-side { animation: sbc-side-in .6s var(--ease-out) .1s backwards; }
.dr-field { width: auto; min-width: 0; --cw: min(8.6vh, 6.2vw); }
#draft .sq-slot:disabled { pointer-events: none; cursor: default; }
#draft .sq-slot.view-only { cursor: default; }   /* מלאה ובלי פעולה: אפשר רק להגדיל (R3 / קליק אמצעי) */

.dr-side { --ow: min(10.4vw, 16.2vh); flex: none; width: min(27vw, 50vh); display: flex; flex-direction: column; gap: 1.4vh; padding: 1.8vh 1.2vw; }
.dr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .8vh .6vw; }
.dr-stat { display: flex; flex-direction: column; align-items: flex-start; gap: .5vh; padding: .8vh .8vw; background: rgba(6, 16, 31, .6); box-shadow: inset 0 0 0 2px rgba(60, 110, 200, .5); }
.dr-stat-label { --u: max(1.2px, .24vh); display: flex; opacity: .9; }
.dr-stat .num { font-size: clamp(9px, 1.7vh, 17px); }
.dr-stat .sq-chem-bar { width: 100%; height: 1.2vh; }
.dr-stat .sq-stars i { width: 1.9vh; height: 1.8vh; }
.dr-stat-fm .num { font-size: clamp(8px, 1.5vh, 15px); }

.dr-side-body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 1.2vh; }
.dr-side-title { --u: max(1.7px, .34vh); display: flex; justify-content: center; }
.dr-side-notes { display: flex; flex-direction: column; align-items: center; gap: .6vh; }
.dr-side-note { --u: max(1.3px, .26vh); display: flex; justify-content: center; opacity: .85; }
.dr-side-btn { width: 100%; display: flex; justify-content: center; margin-top: .6vh; }

/* ארבע האפשרויות */
.dr-offer { display: grid; grid-template-columns: repeat(2, var(--ow)); gap: 1.2vh .9vw; justify-content: center; direction: ltr; }
.dr-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6vh;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.dr-opt-card { width: 100%; transition: transform .25s var(--ease-out), filter .25s; }
body.input-mouse .dr-opt:hover .dr-opt-card, .dr-opt.nav-focus .dr-opt-card { transform: translateY(-.6vh) scale(1.06); }
body.input-mouse .dr-opt:hover { z-index: 3; }
.dr-opt.nav-focus { outline: none; animation: none; z-index: 3; }
.dr-opt.nav-focus .dr-opt-card { filter: drop-shadow(0 0 .7vh #ffd54a) drop-shadow(0 0 .3vh #ffd54a); }
.dr-opt:active .dr-opt-card, .dr-opt.pressed .dr-opt-card { transform: scale(.97); }
.dr-offer.enter .dr-opt { animation: dr-opt-in .6s cubic-bezier(.34, 1.56, .64, 1) calc(.1s + var(--i, 0) * 120ms) backwards; }
@keyframes dr-opt-in { from { opacity: 0; transform: translateY(6vh) rotateY(80deg) scale(.7); } }

.dr-opt-chem {
  display: flex;
  align-items: center;
  gap: .5vw;
  padding: .3vh .7vw;
  direction: rtl;
  background: rgba(7, 14, 27, .88);
  border-radius: 99px;
  box-shadow: 0 .3vh .5vh rgba(0, 0, 0, .4);
}
.dr-opt-chem .px { --u: max(1.2px, .24vh); }
.dr-opt-chem .num { font-size: clamp(8px, 1.4vh, 14px); color: #9fb4d6; }
.dr-opt-chem.up .num { color: #6fd0ff; }
.dr-opt-chem.down .num { color: #ff7a66; }

/* משבצת שממלאים עכשיו, וסימון הקפטן */
.sq-slot.dr-target .sq-card { animation: dr-target 1s ease-in-out infinite; }
@keyframes dr-target {
  0%, 100% { filter: drop-shadow(0 0 .6vh #ffd54a); }
  50%      { filter: drop-shadow(0 0 1.6vh #ffd54a) drop-shadow(0 0 .5vh #fff3b0); }
}
.dr-cap {
  position: absolute;
  top: -.5vh;
  right: -.4vw;
  z-index: 4;
  width: 2.6vh;
  height: 2.6vh;
  display: grid;
  place-items: center;
  font: normal 800 1.5vh "Bahnschrift", "Segoe UI", sans-serif;
  font-style: normal;
  color: #0a1e4a;
  background: linear-gradient(180deg, #ffe27a, #ffb300);
  border-radius: 50%;
  box-shadow: 0 .3vh .6vh rgba(0, 0, 0, .5), inset 0 0 0 .25vh #fff3b0;
  pointer-events: none;
}

/* ---------- נוקאאוט ---------- */
.dr-bracket { display: flex; flex-direction: column; gap: 1.6vh; min-height: 0; }
.dr-bk-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 2vw; padding: 1.4vh 2vw; }
.dr-bracket:not([hidden]) .dr-bk-head { animation: gal-drop .6s var(--ease-out) backwards; }
.dr-vs { display: flex; align-items: center; gap: 2.4vw; }
.dr-vs-team { display: flex; align-items: center; gap: 1vw; }
.dr-vs-crest { height: 8vh; width: 8vh; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 .6vh 0 rgba(0, 0, 0, .35)); }
.dr-vs-info { display: flex; flex-direction: column; gap: .6vh; }
.dr-vs-name { font: 800 clamp(13px, 2.6vh, 26px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: .02em; text-shadow: 0 .4vh 0 rgba(0, 0, 0, .5); }
.dr-vs-rt { --u: max(1.3px, .26vh); display: flex; align-items: center; gap: .7vw; }
.dr-vs-rt .num { font-size: clamp(10px, 1.9vh, 19px); color: #ffd54a; }
.dr-vs-mid { --u: max(1.6px, .32vh); display: flex; }

.dr-end { display: flex; flex-direction: column; gap: 1.2vh; }
.dr-end-title { --u: max(2.2px, .44vh); display: flex; }
.dr-end.champion .dr-end-title { filter: drop-shadow(0 0 1.4vh rgba(255, 213, 74, .8)); }
.dr-end-reward { --u: max(1.4px, .28vh); display: flex; align-items: center; gap: .8vw; }
.dr-end-reward img { height: 3.6vh; }
.dr-end-reward .num { font-size: clamp(11px, 2.1vh, 21px); }

.dr-bk-board { flex: 1; min-height: 0; display: flex; gap: 1.2vw; padding: 1.4vh 1.4vw; }
.dr-bracket:not([hidden]) .dr-bk-board { animation: gal-drop .6s var(--ease-out) .12s backwards; }
.dr-bk-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .8vh; }
.dr-bk-round { --u: max(1.3px, .26vh); display: flex; justify-content: center; }
.dr-bk-list { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: space-around; gap: .6vh; }
.dr-bk-match {
  display: flex;
  flex-direction: column;
  background: rgba(8, 18, 38, .78);
  box-shadow: inset 0 0 0 2px rgba(60, 110, 200, .55);
}
.dr-bk-match.mine { box-shadow: inset 0 0 0 2px #ffd54a; background: rgba(40, 60, 100, .7); }
.dr-bk-team { display: flex; align-items: center; gap: .5vw; padding: .35vh .5vw; min-height: 3.1vh; }
.dr-bk-team + .dr-bk-team { border-top: 1px solid rgba(60, 110, 200, .35); }
.dr-bk-crest { height: 2.5vh; width: 2.5vh; flex: none; object-fit: contain; image-rendering: auto; }
.dr-bk-crest.empty { background: rgba(255, 255, 255, .08); border-radius: 50%; }
.dr-bk-name { flex: 1; min-width: 0; font: 700 clamp(8px, 1.4vh, 14px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .8; }
.dr-bk-name.unknown { opacity: .4; }
.dr-bk-team.me .dr-bk-name { color: #7cc4ff; opacity: 1; }
.dr-bk-team.won .dr-bk-name { color: #ffd54a; opacity: 1; }
.dr-bk-score { display: flex; align-items: baseline; gap: .3vw; direction: ltr; }
.dr-bk-score .num { font-size: clamp(8px, 1.5vh, 15px); }
.dr-bk-score .dr-bk-pen { font-size: clamp(6px, 1.1vh, 11px); opacity: .7; }

/* ---------- משחק ---------- */
#match { justify-content: flex-start; align-items: stretch; gap: 1.6vh; padding: 3vh 2.5vw 2.5vh; }
#match.entering { animation: home-in .8s var(--ease-out) both; }
.mt-top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.4vw;
  padding: 1.4vh 2vw;
  background: linear-gradient(100deg, rgba(34, 78, 168, .5), rgba(8, 18, 40, .88) 70%);
  box-shadow: inset 0 0 0 4px #1c4fa8, inset 0 0 0 7px rgba(120, 180, 255, .14);
  clip-path: var(--notch);
}
.mt-team { display: flex; align-items: center; gap: 1.2vw; width: 30vw; }
.mt-team.opp { flex-direction: row-reverse; }
.mt-crest { height: 9vh; width: 9vh; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 .6vh 0 rgba(0, 0, 0, .35)); }
.mt-name { font: 800 clamp(14px, 2.8vh, 28px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: .02em; text-shadow: 0 .4vh 0 rgba(0, 0, 0, .5); }
.mt-mid { display: flex; flex-direction: column; align-items: center; gap: .8vh; }
.mt-score { display: flex; align-items: center; gap: 1.4vw; }
.mt-goals { font-size: clamp(26px, 6.4vh, 64px); display: inline-block; }
.mt-dash { font-size: clamp(18px, 4vh, 40px); opacity: .7; }
.mt-goals.goal { animation: mt-goal .9s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes mt-goal { 0% { transform: scale(1); color: #fff; } 30% { transform: scale(1.8); color: #ffd54a; } 100% { transform: scale(1); } }
.mt-minute { font-size: clamp(11px, 2.2vh, 22px); color: #ffd54a; }
.mt-bar { width: min(22vw, 40vh); height: 1.2vh; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(110, 160, 255, .4); }
.mt-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, #7fd0ff, #2f8cff); transition: width .35s linear; }

.mt-body { flex: 1; min-height: 0; display: flex; justify-content: center; }
.mt-feed {
  width: min(72vw, 140vh);
  display: flex;
  flex-direction: column;
  gap: .9vh;
  overflow-y: auto;
  padding: .6vh .6vw;
  scrollbar-width: thin;
  scrollbar-color: #1c4fa8 transparent;
}
.mt-line {
  display: flex;
  align-items: center;
  gap: 1.2vw;
  padding: 1vh 1.2vw;
  background: rgba(8, 18, 38, .72);
  box-shadow: inset 0 0 0 2px rgba(60, 110, 200, .4);
  font: 700 clamp(12px, 2.1vh, 21px) "Segoe UI", "Bahnschrift", sans-serif;
  animation: mt-line-in .45s var(--ease-out) backwards;
}
@keyframes mt-line-in { from { opacity: 0; transform: translateY(-2vh); } }
.mt-line .mt-min { flex: none; min-width: 5vw; font-size: clamp(9px, 1.6vh, 16px); color: #ffd54a; }
.mt-nm { font-weight: 800; letter-spacing: .02em; color: #fff; unicode-bidi: isolate; }
.mt-line.sys { justify-content: center; background: rgba(120, 90, 10, .35); box-shadow: inset 0 0 0 2px #b8860b; }
.mt-line.filler { opacity: .6; }
.mt-line.mine { box-shadow: inset 4px 0 0 #38a8ff, inset 0 0 0 2px rgba(60, 110, 200, .4); }
.mt-line.theirs { box-shadow: inset 4px 0 0 #c0584c, inset 0 0 0 2px rgba(60, 110, 200, .4); }
.mt-line.goal.mine { background: linear-gradient(100deg, rgba(30, 130, 70, .75), rgba(8, 40, 24, .85)); box-shadow: inset 0 0 0 3px #3ddc84; font-size: clamp(14px, 2.6vh, 26px); }
.mt-line.goal.theirs { background: linear-gradient(100deg, rgba(150, 40, 30, .75), rgba(50, 10, 10, .85)); box-shadow: inset 0 0 0 3px #ff6a55; font-size: clamp(14px, 2.6vh, 26px); }
.mt-line.miss { opacity: .85; }

.mt-tools { position: absolute; bottom: 2.4vh; left: 2.5vw; display: flex; gap: 1vw; z-index: 40; }
.mt-tools .pk-btn { padding: .8vh 1.4vw; }
#mt-speed { font-family: "Pixel", monospace; font-size: clamp(9px, 1.5vh, 15px); color: #fff; }

/* שכבות: סיכום ופנדלים, ומעליהן האתגר */
.mt-overlay, .mt-stage { position: absolute; inset: 0; display: grid; place-items: center; }
.mt-overlay[hidden], .mt-stage[hidden] { display: none; }
.mt-overlay { z-index: 20; background: radial-gradient(ellipse at center, rgba(10, 24, 52, .9), rgba(2, 6, 15, .96)); }
.mt-stage { z-index: 30; background: rgba(2, 6, 15, .66); }
.mt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.2vh;
  padding: 3vh 3vw;
  max-width: 92vw;
  background: linear-gradient(170deg, rgba(22, 48, 104, .72), rgba(5, 12, 27, .96) 62%);
  box-shadow: inset 0 0 0 4px #1c4fa8, inset 0 0 0 7px rgba(120, 180, 255, .14), 0 2vh 6vh rgba(0, 0, 0, .55);
  clip-path: var(--notch);
  animation: gal-drop .5s var(--ease-out) backwards;
}
.mt-box-title { --u: max(2.4px, .5vh); display: flex; }
.mt-btn { padding: 1.4vh 3vw; }
.mt-btn .px { --u: max(1.9px, .38vh); }
.mt-pre { display: flex; align-items: center; gap: 3vw; }
.mt-pre-vs { --u: max(1.8px, .36vh); display: flex; }
.mt-pre-team { display: flex; flex-direction: column; align-items: center; gap: 1.2vh; min-width: 17vw; }
.mt-pre-crest { height: 12vh; width: 12vh; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 .8vh 0 rgba(0, 0, 0, .35)); }
.mt-pre-name { font: 800 clamp(14px, 2.8vh, 28px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; text-align: center; }
.mt-pre-rows { display: flex; flex-direction: column; gap: .8vh; width: 100%; }
.mt-pre-row { display: flex; justify-content: space-between; align-items: center; gap: 1vw; padding: .8vh .9vw; background: rgba(6, 16, 31, .6); box-shadow: inset 0 0 0 2px rgba(60, 110, 200, .5); --u: max(1.4px, .28vh); }
.mt-pre-row .num { font-size: clamp(9px, 1.7vh, 17px); }
.mt-pre-cap { --u: max(1.4px, .28vh); display: flex; align-items: center; gap: 1vw; }
.mt-pre-cap .num { font-size: clamp(9px, 1.7vh, 17px); color: #ffd54a; }

.mt-result.won { box-shadow: inset 0 0 0 4px #3ddc84, inset 0 0 0 7px rgba(61, 220, 132, .16), 0 2vh 6vh rgba(0, 0, 0, .55); }
.mt-result.lost { box-shadow: inset 0 0 0 4px #c0584c, inset 0 0 0 7px rgba(255, 106, 85, .14), 0 2vh 6vh rgba(0, 0, 0, .55); }
.mt-res-row { display: flex; align-items: flex-start; gap: 3vw; }
.mt-res-team { display: flex; flex-direction: column; align-items: center; gap: 1vh; min-width: 17vw; }
.mt-res-score { display: flex; flex-direction: column; align-items: center; gap: 1vh; padding-top: 3vh; }
.mt-res-line { display: flex; align-items: center; gap: 1.2vw; }
.mt-res-num .num { font-size: clamp(24px, 6vh, 60px); }
.mt-res-pens { --u: max(1.5px, .3vh); display: flex; align-items: center; gap: 1vw; }
.mt-res-pen-num .num { font-size: clamp(11px, 2.2vh, 22px); color: #ffd54a; }
.mt-res-scorers { display: flex; flex-direction: column; gap: .5vh; font: 700 clamp(10px, 1.8vh, 18px) "Segoe UI", "Bahnschrift", sans-serif; }
.mt-res-sc { display: flex; align-items: center; gap: .8vw; justify-content: center; }
.mt-res-sc .num { font-size: clamp(8px, 1.4vh, 14px); color: #ffd54a; }

/* פנדלים */
.mt-so { display: flex; flex-direction: column; gap: 2vh; align-items: center; }
.mt-so-row { display: flex; align-items: center; gap: 2vw; }
.mt-so-team { display: flex; align-items: center; gap: .9vw; min-width: 22vw; }
.mt-so-crest { height: 6vh; width: 6vh; object-fit: contain; image-rendering: auto; }
.mt-so-name { font: 800 clamp(12px, 2.4vh, 24px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; }
.mt-so-dots { display: flex; gap: .8vw; direction: ltr; }
.mt-so-dots i { width: 3vh; height: 3vh; border-radius: 50%; background: #2b3a55; box-shadow: inset 0 0 0 .3vh rgba(140, 180, 255, .4); }
.mt-so-dots i.in { background: #2f9e44; box-shadow: 0 0 1vh rgba(61, 220, 132, .7), inset 0 0 0 .3vh #aef0bb; }
.mt-so-dots i.out { background: #a8321c; box-shadow: inset 0 0 0 .3vh #ff9a86; }

/* ---------- אתגרים ---------- */
.mt-ch {
  position: relative;
  width: min(78vw, 150vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8vh;
  padding: 2.6vh 2.4vw;
  background: linear-gradient(170deg, rgba(22, 48, 104, .85), rgba(5, 12, 27, .97) 62%);
  box-shadow: inset 0 0 0 4px #ffd54a, inset 0 0 0 7px rgba(255, 213, 74, .16), 0 2vh 6vh rgba(0, 0, 0, .6);
  clip-path: var(--notch);
  animation: mt-ch-in .45s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
@keyframes mt-ch-in { from { opacity: 0; transform: translateY(5vh) scale(.88); } }
.mt-ch-head { display: flex; flex-direction: column; align-items: center; gap: .8vh; }
.mt-ch-title { display: flex; align-items: center; gap: 1vw; }
.mt-ch-crest { height: 6vh; width: 6vh; object-fit: contain; image-rendering: auto; }
.mt-ch-prompt { --u: max(2px, .4vh); display: flex; }
.mt-ch-hint { --u: max(1.3px, .26vh); display: flex; opacity: .85; }
.mt-timer { width: 100%; height: 1.3vh; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(110, 160, 255, .4); overflow: hidden; }
.mt-timer i { display: block; height: 100%; background: linear-gradient(90deg, #ffe27a, #ffb300); transform-origin: left; transition: transform linear; }
.mt-timer i.run { transform: scaleX(0); }
.mt-ch.answered .mt-timer i { transition: none; }
.mt-ch-cards { display: flex; justify-content: center; gap: 3vw; }
.mt-ch-card { width: min(11.5vw, 19vh); }
.mt-ch-body { width: 100%; }

.mt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2vh 1.2vw; width: 100%; }
.mt-opts.n-3 { grid-template-columns: repeat(3, 1fr); }
.mt-opts.k-card { grid-template-columns: repeat(4, 1fr); justify-items: center; }
.mt-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.4vh;
  padding: 1.1vh 1vw;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(8, 18, 38, .88);
  box-shadow: inset 0 0 0 3px #1c4fa8;
  clip-path: var(--notch);
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
}
body.input-mouse .mt-opt:hover, .mt-opt.nav-focus { transform: translateY(-.4vh) scale(1.03); background: rgba(40, 90, 190, .6); box-shadow: inset 0 0 0 3px #6fb3ff; }
.mt-opt.nav-focus { outline: none; animation: none; box-shadow: inset 0 0 0 3px #ffd54a; }
.mt-opt.right { background: rgba(30, 130, 70, .75); box-shadow: inset 0 0 0 3px #3ddc84; }
.mt-opt.wrong { background: rgba(150, 40, 30, .75); box-shadow: inset 0 0 0 3px #ff6a55; }
.mt-ch.answered .mt-opt { pointer-events: none; }
.mt-opts.k-card .mt-opt { padding: .8vh .6vw; background: none; box-shadow: none; clip-path: none; }
.mt-opts.k-card .mt-opt.right { box-shadow: 0 0 0 .5vh #3ddc84; }
.mt-opts.k-card .mt-opt.wrong { box-shadow: 0 0 0 .5vh #ff6a55; }
body.input-mouse .mt-opts.k-card .mt-opt:hover, .mt-opts.k-card .mt-opt.nav-focus { background: none; box-shadow: 0 0 0 .5vh #ffd54a; }
.mt-opt-body { display: flex; align-items: center; justify-content: center; gap: 1vw; }
.mt-opt-img { height: 5.4vh; width: auto; max-width: 8vw; object-fit: contain; image-rendering: auto; }
.mt-opt-flag .mt-opt-img { height: 5vh; width: 5vh; border-radius: 50%; }
.mt-opt-style .mt-opt-img { height: 6vh; }
.mt-opt-text { font: 800 clamp(11px, 2.2vh, 22px) "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif; letter-spacing: .02em; }
.mt-opt-crest .mt-opt-text, .mt-opt-style .mt-opt-text { font-size: clamp(9px, 1.7vh, 17px); }
.mt-opt-card { display: block; width: min(9.6vw, 16vh); }
.ch-dive .mt-opts { grid-template-columns: repeat(3, 1fr); direction: ltr; }   /* שמאל משמאל, ימין מימין (העמוד כולו RTL) */
.ch-dive .mt-opt { direction: rtl; }
.ch-dive .mt-opt { min-height: 11vh; }
.ch-dive .mt-opt-text { font-size: clamp(14px, 3vh, 30px); }

.mt-meter { position: relative; height: 5vh; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 3px #1c4fa8; }
.mt-zone { position: absolute; top: 0; bottom: 0; background: rgba(61, 220, 132, .5); box-shadow: inset 0 0 0 2px #7cf09a; }
.mt-mark { position: absolute; top: -.9vh; bottom: -.9vh; left: 0; width: .9vh; margin-left: -.45vh; background: #fff; box-shadow: 0 0 1.2vh #fff; }
.mt-mark.right { background: #3ddc84; box-shadow: 0 0 1.6vh #3ddc84; }
.mt-mark.wrong { background: #ff6a55; box-shadow: 0 0 1.6vh #ff6a55; }
.ch-timing .mt-ch-body { display: flex; flex-direction: column; align-items: center; gap: 2.4vh; }
.ch-timing .mt-meter { align-self: stretch; }
.mt-stop { padding: 1.6vh 5vw; }
.mt-stop .px { --u: max(2.2px, .44vh); }

.mt-verdict { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 1.2vh 3vw; opacity: 0; pointer-events: none; }
.mt-verdict .px { --u: max(2.4px, .5vh); }
.mt-ch.answered .mt-verdict { animation: mt-verdict .9s var(--ease-out) forwards; }
.mt-ch.answered.ok .mt-verdict { background: #2f9e44; box-shadow: 0 .5vh 0 #1b6a2c; }
.mt-ch.answered.bad .mt-verdict { background: #a8321c; box-shadow: 0 .5vh 0 #6a1c10; }
@keyframes mt-verdict { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }

/* הסתרת חלקים בקלף באתגר */
.card.hide-badges .card-badges { display: none; }
.card.hide-rating .card-rating { visibility: hidden; }
.card.hide-style .card-style { display: none; }

@media (prefers-reduced-motion: reduce) {
  .dr-build:not([hidden]) .dr-side, .dr-offer.enter .dr-opt, .sq-slot.dr-target .sq-card, .mt-line, .mt-ch, .mt-box, .mt-goals.goal,
  #draft.active .dr-hub:not([hidden]) > *, .dr-bracket:not([hidden]) .dr-bk-head, .dr-bracket:not([hidden]) .dr-bk-board { animation: none !important; }
}

/* ---------- בחירת מערך: 4 מערכים בהגרלה ---------- */
#dr-formations .fm-panel { width: min(64vw, 120vh); }
#dr-formations .fm-head { align-items: baseline; gap: 2vw; }
#dr-formations .fm-scroll { overflow: visible; }
#dr-formations .fm-grid { grid-template-columns: repeat(4, 1fr); gap: 1.6vh 1.2vw; }
#dr-formations .fm-tile { padding: 1.4vh .8vw 1.2vh; gap: 1.2vh; }
#dr-formations .fm-name { font-size: clamp(12px, 2.6vh, 26px); }

/* יהלומים לאלופים */
.dr-gems { display: inline-flex; align-items: center; gap: .3vw; direction: ltr; }
.dr-gems .px { --u: max(1.4px, .28vh); }
.dr-gems .gem-num { color: #9eeaff; }
.dr-rw-row:has(.dr-rw-sub) { flex-wrap: wrap; row-gap: .6vh; }
.dr-rw-sub { flex-basis: 100%; display: flex; align-items: center; justify-content: flex-end; gap: .8vw; direction: rtl; }
.dr-rw-sub img { height: 2.6vh; }
.dr-rw-sub .num { font-size: clamp(9px, 1.5vh, 15px); }
