/* =========================================================
   FRIV1 — עיצוב האתר הציבורי
   מבוסס על friv1-theme.css מחבילת העיצוב
   ========================================================= */
/* גופנים מקומיים (Rubik ו-Fredoka, רישיון OFL בתיקייה assets/fonts). בלי בקשות לגוגל */
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/fredoka-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/fredoka-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/assets/fonts/fredoka-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/rubik-hebrew.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/rubik-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/assets/fonts/rubik-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #061F67;
  --navy-2: #041A57;
  --blue-dark: #06359B;
  --blue: #0849D8;
  --blue-bright: #1262F4;
  --cyan: #28DBFF;
  --yellow: #FFE52C;
  --yellow-deep: #FFCB19;
  --pink: #FF438E;
  --mint: #64F4C7;
  --white: #FFFFFF;
  --muted: #CADCFF;
  --line: rgb(40 219 255 / 38%);
  --card-line: rgb(126 199 255 / 75%);
  --panel: linear-gradient(180deg, rgb(10 70 200 / 55%), rgb(5 45 150 / 55%));
  --radius: 18px;
  --radius-lg: 24px;
  --gap: 16px;
  --shadow: 0 8px 24px rgb(0 13 67 / 28%);
  --font: "Rubik", "Arial", sans-serif;
  --font-display: "Fredoka", "Rubik", "Arial", sans-serif;
  --container: 1400px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--blue);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, #1466F2 0%, transparent 70%),
    linear-gradient(180deg, #06379C 0%, #0752DF 40%, #0649C9 75%, #063BAF 100%);

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.i { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; inset-inline-start: 16px; z-index: 1100; background: var(--yellow); color: var(--navy); padding: 10px 18px; border-radius: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 0 0 3px var(--navy-2); }
.skip-link:focus { top: 12px; }
/* סימון פוקוס כפול (צהוב בחוץ, כהה בפנים) שרואים על כל רקע: כחול, צהוב או תמונה */
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 3px var(--navy-2); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
main { flex: 1; padding-bottom: 40px; }

/* ---------------- כותרת עליונה ---------------- */
.site-header { padding-top: 14px; position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; flex-shrink: 0; line-height: 1.1; }
.brand img { width: 176px; height: auto; filter: drop-shadow(0 4px 8px rgb(0 10 60 / 35%)); }
.brand__tag { font-weight: 700; font-size: 14px; margin-top: -2px; }
.brand__domain { font-size: 12px; color: var(--muted); letter-spacing: .3px; direction: ltr; }

.search { position: relative; flex: 1; max-width: 560px; margin-inline: auto; }
.search__form { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 6px 18px rgb(0 13 67 / 30%), inset 0 -2px 0 rgb(6 31 103 / 10%); }
.search { min-width: 0; }
/* width: 0 מבטל את הרוחב המינימלי המובנה של input (אחרת הכותרת לא מתכווצת מתחת ל-328px) */
.search__input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 17px; font-weight: 500; padding: 9px 18px; }
.search__input:focus-visible { outline: none; box-shadow: none; }
.search__form:focus-within { box-shadow: 0 0 0 3px var(--navy-2), 0 0 0 6px var(--yellow), 0 6px 18px rgb(0 13 67 / 30%); }
.search__form button:focus-visible { outline-color: var(--blue-bright); box-shadow: 0 0 0 3px #fff; }
.search__input::placeholder { color: #61709A; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__clear { border: 0; background: none; color: #61709A; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.search__clear:hover { background: #EEF2FB; }
.search__btn { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 0; background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); display: grid; place-items: center; font-size: 22px; box-shadow: inset 0 -3px 0 rgb(200 120 0 / 40%); }
.search__btn:hover { filter: brightness(1.05); }
.suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: #fff; color: var(--navy); border-radius: 18px; box-shadow: 0 16px 40px rgb(0 13 67 / 40%); padding: 8px; list-style: none; margin: 0; z-index: 50; }
.suggest a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: #EAF1FF; }
.suggest a[aria-selected="true"] { box-shadow: inset 0 0 0 2px var(--blue-bright); }
.suggest img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.suggest__all { color: var(--blue-bright); font-weight: 700; justify-content: center; }

.header-actions { display: flex; gap: 14px; flex-shrink: 0; }
.hbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; font-size: 12.5px; font-weight: 600; position: relative; }
.hbtn__circle { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #0E4FC9, #082F8A); border: 2px solid rgb(40 219 255 / 55%); box-shadow: 0 6px 14px rgb(0 13 67 / 35%); font-size: 30px; transition: transform .15s; }
.hbtn:hover .hbtn__circle { transform: translateY(-2px); border-color: var(--yellow); }
.hbtn__count { position: absolute; top: -4px; inset-inline-start: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #D61F69; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--blue-dark); }

/* ---------------- תפריט קטגוריות ---------------- */
.catnav { margin-top: 14px; }
.catnav__list { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; overflow-x: auto; scrollbar-width: none; padding-block: 4px; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list li { flex: 1 0 auto; }
.pill {
  display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 48px; padding: 8px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 17px;
  border: 1.5px solid rgb(40 219 255 / 50%); background: linear-gradient(#0B57E0, #07358E);
  box-shadow: 0 4px 10px rgb(0 13 67 / 25%), inset 0 1px 0 rgb(255 255 255 / 15%);
  transition: transform .15s, border-color .15s;
}
.pill .i { font-size: 26px; }
.pill:hover { transform: translateY(-2px); border-color: var(--cyan); }
.pill.is-active, .pill[aria-current="page"] { background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); border-color: var(--yellow); box-shadow: 0 4px 14px rgb(255 214 0 / 35%), inset 0 -3px 0 rgb(200 120 0 / 35%); }
.pill--sm { min-height: 40px; font-size: 15px; padding: 6px 18px; }
/* במחשב כל הקטגוריות גלויות: 8 בשורה, בלי פס גלילה שמסתיר חלק מהן */
@media (min-width: 901px) {
  .catnav__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .catnav .pill { min-height: 44px; padding: 6px 10px; gap: 8px; font-size: 16px; }
  .catnav .pill .i { font-size: 24px; }
  /* בהגדלת טקסט מתפריט הנגישות השורות נשברות לפי הרוחב (וממורכזות), כדי שאף כפתור לא ייחתך */
  html[class*="a11y-size-"] .catnav__list { display: flex; flex-wrap: wrap; justify-content: center; }
  html[class*="a11y-size-"] .catnav__list li { flex: 0 0 auto; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  /* במסך צר יותר האייקון עובר מעל השם, כדי שעדיין ייכנסו 8 בשורה */
  .catnav .pill { flex-direction: column; gap: 2px; min-height: 60px; padding: 6px 4px; font-size: 14px; border-radius: 18px; }
  .catnav .pill .i { font-size: 22px; }
}

/* ---------------- באנרים ---------------- */
.banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1.5px solid rgb(40 219 255 / 45%);
  background: linear-gradient(110deg, #1032A0 0%, #034BD7 58%, #082B8F 100%);
  box-shadow: var(--shadow);
}
.banner::after { content: ""; position: absolute; inset: auto 0 -2px 0; height: 56px; background: url("/assets/decor/clouds.svg") repeat-x bottom / 600px 100%; pointer-events: none; opacity: .9; }
.banner > * { position: relative; z-index: 1; }

.hero { display: flex; align-items: center; min-height: 128px; margin-top: 14px; padding: 12px 32px; }
.hero__text { flex: 1; }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin: 0 0 6px; text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.hero__title em, .hl { font-style: normal; color: var(--yellow); }
.hero__sub { margin: 0; font-size: clamp(16px, 1.8vw, 21px); font-weight: 500; color: #EAF2FF; }
.hero__art { width: min(40%, 460px); margin-block: -8px -22px; z-index: 2; }
.hero__art img { width: 100%; height: auto; }

/* ---------------- כותרות ופאנלים ---------------- */
.section { margin-top: 26px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.section-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; text-shadow: 0 2px 0 rgb(4 26 87 / 50%); }
.section-title .i { font-size: 1.15em; }
.badge-new { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--navy); font-size: 13px; font-weight: 800; box-shadow: 0 0 0 4px rgb(100 244 199 / 25%); font-family: var(--font); text-shadow: none; }
.panel { background: var(--panel); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow); }
.section.panel { padding-top: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 24px;
  border-radius: 999px; border: 0; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--yellow { background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); box-shadow: 0 6px 16px rgb(255 200 0 / 30%), inset 0 -3px 0 rgb(200 120 0 / 35%); }
.btn--ghost { background: linear-gradient(#0B57E0, #07358E); color: #fff; border: 1.5px solid rgb(40 219 255 / 55%); }
.btn--sm { min-height: 40px; font-size: 15px; padding: 8px 18px; }
.btn .i { font-size: 1.2em; }

/* ---------------- כרטיסי משחק ---------------- */
.game-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.game-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.game-grid--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.2;
  border: 2px solid var(--card-line); background: #0A3BA8; box-shadow: var(--shadow);
  text-decoration: none; color: #fff; isolation: isolate;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card__title {
  position: absolute; inset: auto 0 0; padding: 28px 10px 9px; text-align: center; z-index: 1;
  background: linear-gradient(transparent, rgb(2 24 76 / 92%) 55%); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-shadow: 0 2px 4px rgb(0 0 0 / 50%); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow), var(--shadow); }
.card:focus-visible { transform: translateY(-3px); border-color: var(--yellow); outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 3px var(--navy-2); }
.card:hover .card__img { transform: scale(1.05); }
.card__play { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; z-index: 2; opacity: 0; transform: scale(.7); transition: .16s; filter: drop-shadow(0 3px 6px rgb(0 0 0 / 35%)); }
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; transform: none; }
.card__badge { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; padding: 2px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; box-shadow: 0 3px 8px rgb(0 0 0 / 25%); }
.card__badge--hot { background: linear-gradient(#D9283D, #B5172C); color: #fff; }
.card__badge--new { background: var(--mint); color: var(--navy); }
.fav-btn {
  position: absolute; top: 8px; inset-inline-end: 8px; z-index: 3; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 85%); background: rgb(4 26 87 / 55%); color: #fff;
  display: grid; place-items: center; font-size: 17px; padding: 0; backdrop-filter: blur(2px); transition: transform .15s, background .15s;
}
.fav-btn:hover { transform: scale(1.12); }
.fav-btn .i-on { display: none; }
.fav-btn.is-on { background: #fff; border-color: #fff; }
.fav-btn.is-on .i-on { display: block; }
.fav-btn.is-on .i-off { display: none; }
.game-grid--4 .card__title { font-size: 21px; padding-bottom: 11px; }
.game-grid--4 .fav-btn { width: 40px; height: 40px; font-size: 21px; top: 10px; inset-inline-end: 10px; }
.game-grid--4 .card__play { width: 44px; height: 44px; }
.card--wide { aspect-ratio: 2.05; }
.card--wide .card__play { opacity: 1; transform: none; width: 40px; height: 40px; }
.card--wide .card__title { text-align: start; padding-inline: 16px 60px; font-size: 19px; }
.card.is-featured-first { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow), var(--shadow); }

/* ---------------- אריחי קטגוריות ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cat-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1.15; border: 2px solid var(--card-line); text-decoration: none; box-shadow: var(--shadow); background: #0A3BA8; transition: transform .16s, border-color .16s; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile__name { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; text-align: center; font-weight: 800; font-size: 19px; background: linear-gradient(transparent, rgb(2 24 76 / 92%) 55%); text-shadow: 0 2px 4px rgb(0 0 0 / 50%); }
.cat-tile__icon { position: absolute; top: 8px; inset-inline-start: 8px; font-size: 30px; filter: drop-shadow(0 2px 4px rgb(0 0 0 / 35%)); }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--yellow); }

.cat-wide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cat-wide { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius); text-decoration: none; background: linear-gradient(#0B57E0, #0A3BA8); border: 1.5px solid var(--line); min-height: 86px; transition: transform .15s, border-color .15s; }
.cat-wide:hover { transform: translateY(-2px); border-color: var(--yellow); }
.cat-wide img { width: 72px; height: 62px; object-fit: cover; border-radius: 12px; }
.cat-wide .i { font-size: 34px; }
.cat-wide__name { flex: 1; font-weight: 800; font-size: 19px; }
.cat-wide__arrow { font-size: 20px; color: var(--muted); }

/* ---------------- ברוכים הבאים ---------------- */
.welcome { display: flex; align-items: center; gap: 24px; padding: 24px 36px 40px; margin-top: 26px; min-height: 180px; }
.welcome__text { flex: 1; }
.welcome__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 8px; text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.welcome__title img { height: 1.6em; width: auto; }
.welcome__body { font-size: clamp(16px, 1.6vw, 20px); color: #EAF2FF; margin: 0 0 16px; max-width: 640px; }
.welcome__art { width: 200px; flex-shrink: 0; margin-block: -10px -50px; }
.decor-bubbles { position: absolute; width: 300px; opacity: .9; pointer-events: none; z-index: 0; }

/* ---------------- פירורי לחם ---------------- */
.crumbs { margin-top: 14px; font-size: 15px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .7; }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--yellow); font-weight: 600; }

/* ---------------- עמוד משחק ---------------- */
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.game-head__title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.game-head h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.game-head__alt { display: block; margin-top: 4px; font-family: var(--font-body, inherit); font-size: .42em; font-weight: 600; letter-spacing: .2px; color: #BFD7FF; text-shadow: none; text-align: end; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; font-weight: 700; text-decoration: none; background: linear-gradient(#0B57E0, #07358E); border: 1.5px solid rgb(40 219 255 / 55%); font-size: 15px; }
.chip .i { font-size: 22px; }
.chip:hover { border-color: var(--yellow); }
.game-actions { display: flex; gap: 18px; }
.round-act { display: flex; flex-direction: column; align-items: center; gap: 4px; background: none; border: 0; padding: 0; font-weight: 600; font-size: 13px; color: #fff; text-decoration: none; }
.round-act__c { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; background: radial-gradient(circle at 50% 35%, #0E4FC9, #082F8A); border: 2px solid rgb(40 219 255 / 55%); box-shadow: 0 6px 14px rgb(0 13 67 / 35%); transition: transform .15s; }
.round-act:hover .round-act__c { transform: translateY(-2px); border-color: var(--yellow); }
.round-act.is-on .round-act__c { background: #fff; }

.player { margin-top: 14px; border-radius: 26px; padding: 10px; background: linear-gradient(180deg, rgb(40 219 255 / 35%), rgb(18 98 244 / 25%)); border: 2px solid rgb(40 219 255 / 70%); box-shadow: 0 0 30px rgb(40 219 255 / 25%), var(--shadow); }
.player__stage { position: relative; width: 100%; max-height: 78vh; margin-inline: auto; border-radius: 18px; overflow: hidden; background: #020F3A; }
.player__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__cover { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 0; padding: 0; width: 100%; background: #031A5C; color: #fff; }
.player__cover-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.3) brightness(.5); transform: scale(1.1); }
.player__cover-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px; }
.player__thumb { width: clamp(120px, 22vw, 220px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 26px; border: 3px solid #fff; box-shadow: 0 14px 34px rgb(0 0 0 / 45%); }
.player__cover-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); text-shadow: 0 3px 0 rgb(0 0 0 / 35%); }
.player__play { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; padding: 12px 34px; min-height: 58px; pointer-events: none; }
.player__cover:hover .player__play { transform: scale(1.05); }
/* הרקע המטושטש מצויר מעל outline, אז סימון הפוקוס של הכיסוי הוא שכבה נפרדת מעליו */
.player__cover:focus-visible { outline: none; box-shadow: none; }
.player__cover:focus-visible::after { content: ""; position: absolute; inset: 6px; z-index: 5; pointer-events: none; border: 4px solid var(--yellow); border-radius: 14px; box-shadow: 0 0 0 3px var(--navy-2), inset 0 0 0 3px var(--navy-2); }
.player__cover:focus-visible .player__play { transform: scale(1.05); box-shadow: 0 0 0 3px var(--navy-2), 0 0 0 7px #fff; }
.player__soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: rgb(2 15 58 / 75%); }
.player__soon h2 { font-family: var(--font-display); margin: 0 0 6px; color: var(--yellow); }
.player__soon p { margin: 0; color: var(--muted); }
.player__bar { display: flex; justify-content: space-around; align-items: center; padding: 10px 6px 4px; }
.pbtn { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; font-weight: 700; font-size: 17px; padding: 8px 14px; border-radius: 12px; color: #fff; }
.pbtn .i { font-size: 26px; }
.pbtn:hover { background: rgb(255 255 255 / 10%); color: var(--yellow); }
.pbtn-sep { width: 1.5px; height: 30px; background: rgb(255 255 255 / 25%); }
.player.is-fullscreen { padding: 0; border-radius: 0; border: 0; background: #000; display: flex; flex-direction: column; }
.player.is-fullscreen .player__stage { flex: 1; max-height: none; aspect-ratio: auto !important; border-radius: 0; }
.player.is-fullscreen .player__bar { background: #031A5C; }
.draft-note { margin-top: 12px; padding: 10px 16px; border-radius: 14px; background: #FFF4C2; color: #5A4300; font-weight: 600; display: flex; gap: 10px; align-items: center; }

.info-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-top: 20px; }
.info-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 20px 26px; background: var(--panel); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.info-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); color: var(--yellow); }
.info-card h2 .i { font-size: 1.1em; }
.info-card p { margin: 0 0 4px; font-size: 17px; color: #EAF2FF; }
.controls { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 14px 0 0; margin: 12px 0 0; border-top: 1px solid rgb(255 255 255 / 15%); }
.controls li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.controls .i { font-size: 30px; color: var(--cyan); }
.tip-card { display: flex; align-items: center; gap: 12px; }
.tip-card__text { flex: 1; }
.tip-card__art { width: 120px; flex-shrink: 0; margin-block: -10px; }
.tip-card::after { content: ""; position: absolute; inset: auto 0 -2px 0; height: 40px; background: url("/assets/decor/clouds.svg") repeat-x bottom / 400px 100%; opacity: .7; pointer-events: none; }
.tip-card > * { position: relative; z-index: 1; }

.about-game { margin-top: 26px; }
.prose { font-size: 17px; line-height: 1.75; color: #EAF2FF; }
.prose h2 { font-family: var(--font-display); font-size: 24px; color: var(--yellow); margin: 1.4em 0 .4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 1.2em 0 .3em; }
.prose p { margin: 0 0 1em; }
.prose a { color: var(--yellow); }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1em; }

/* ---------------- רשימות / חיפוש ---------------- */
.page-banner { display: flex; align-items: center; gap: 20px; padding: 22px 32px 30px; margin-top: 10px; min-height: 150px; }
.page-banner__text { flex: 1; }
.page-banner h1 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.page-banner p { margin: 0; font-size: clamp(16px, 1.8vw, 21px); color: #EAF2FF; }
.page-banner__art { width: min(38%, 380px); flex-shrink: 0; margin-block: -14px -30px; }
/* לתמונות האלה יש width ו-height ב-HTML (כדי שהדף לא יקפוץ בטעינה). ה-CSS משנה רק את הרוחב, אז הגובה
   צריך להיות auto, אחרת הדפדפן לוקח אותו מה-HTML והתמונה נמתחת */
.page-banner__art, .welcome__art, .about-hero__art, img.cta__art { height: auto; }
.page-banner__icon { font-size: 110px; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 30%)); }
.qchip { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 7px 10px 7px 18px; border-radius: 999px; background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); font-weight: 800; font-size: 20px; text-decoration: none; }
.qchip .i { font-size: 18px; }

.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 20px 0 16px; }
.toolbar__label { font-size: 18px; font-weight: 600; padding-inline-end: 16px; border-inline-end: 1.5px solid rgb(255 255 255 / 30%); }
.toolbar__label strong { color: var(--yellow); }
.toolbar__filters { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.select-wrap { position: relative; margin-inline-start: auto; }
.select-wrap select { appearance: none; min-height: 44px; padding: 8px 18px 8px 44px; border-radius: 14px; background: linear-gradient(#0B57E0, #07358E); border: 1.5px solid rgb(40 219 255 / 55%); color: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.select-wrap select option { color: var(--navy); background: #fff; }
.select-wrap .i { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 20px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 10px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 18px; background: linear-gradient(#0B57E0, #07358E); border: 1.5px solid rgb(40 219 255 / 55%); }
.pager a:hover { border-color: var(--yellow); }
.pager [aria-current="page"] { background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); border-color: var(--yellow); }
.pager .pager__gap { background: none; border: 0; }
.pager .i { font-size: 22px; }

.cta { display: flex; align-items: center; gap: 22px; padding: 18px 30px 26px; margin-top: 28px; }
.cta__text { flex: 1; }
.cta h2 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); text-shadow: 0 2px 0 rgb(4 26 87 / 50%); }
.cta p { margin: 0; color: #EAF2FF; }
.cta__art { width: 120px; flex-shrink: 0; margin-block: -10px -26px; }

.empty { text-align: center; padding: 40px 20px; }
.empty__icon { font-size: 80px; margin-bottom: 10px; }
.empty h2 { font-family: var(--font-display); margin: 0 0 6px; font-size: 28px; }
.empty p { margin: 0 0 18px; color: var(--muted); font-size: 18px; }
.seo-text { margin-top: 30px; }

/* ---------------- המשחקים שלי ---------------- */
.my-hero { display: flex; align-items: center; gap: 20px; margin-top: 6px; }
.my-hero__text { flex: 1; }
.my-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; color: var(--yellow); text-shadow: 0 4px 0 rgb(4 26 87 / 60%); }
.my-hero p { margin: 4px 0 0; font-size: clamp(17px, 2vw, 24px); font-weight: 600; }
.my-hero__art { display: flex; align-items: center; gap: 10px; }
.my-hero__art .i { filter: drop-shadow(0 10px 20px rgb(0 0 0 / 30%)); }
.my-hero__art .big-heart { font-size: clamp(80px, 12vw, 150px); transform: rotate(-8deg); }
.my-hero__art .big-clock { font-size: clamp(70px, 10vw, 130px); }
.tabs-big { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.tab-big { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; border-radius: 18px; text-decoration: none; font-weight: 800; font-size: clamp(18px, 2vw, 24px); background: linear-gradient(#0B57E0, #07358E); border: 1.5px solid rgb(40 219 255 / 55%); box-shadow: var(--shadow); }
.tab-big .i { font-size: 34px; }
.tab-big.is-active { background: linear-gradient(#FFEE6B, var(--yellow-deep)); color: var(--navy); border-color: var(--yellow); }
.hint { text-align: center; color: var(--muted); margin: 14px 0 0; display: flex; justify-content: center; align-items: center; gap: 8px; }
.my-games-grid .fav-btn { background: #fff; border-color: #fff; }

/* ---------------- עמודי מידע ---------------- */
.info-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 14px 0 0; }
.info-tabs .pill { min-width: 130px; }
.about-hero { display: flex; align-items: center; gap: 20px; padding: 26px 36px 40px; margin-top: 18px; }
.about-hero__text { flex: 1; }
.about-hero h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 1.1; text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.about-hero h1 img { height: 1.5em; width: auto; }
.about-hero__lead { font-size: clamp(18px, 2vw, 24px); font-weight: 700; margin: 0 0 6px; }
.about-hero__body { font-size: clamp(16px, 1.6vw, 19px); color: #EAF2FF; margin: 0; max-width: 620px; }
.about-hero__art { width: min(34%, 300px); flex-shrink: 0; margin-block: -20px -50px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; list-style: none; padding: 0; }
.feature { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--panel); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.feature__text { flex: 1; }
.feature :is(h2, h3) { margin: 0 0 4px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); color: var(--yellow); }
.feature p { margin: 0; color: #EAF2FF; }
.feature .i { font-size: 76px; filter: drop-shadow(0 6px 12px rgb(0 0 0 / 30%)); }
.center-head { text-align: center; margin-top: 30px; }
.center-head h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); color: var(--yellow); text-shadow: 0 3px 0 rgb(4 26 87 / 55%); }
.center-head p { margin: 4px 0 0; font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }
.contact-row { display: grid; grid-template-columns: 2.1fr 1fr; gap: 18px; margin-top: 18px; }
.form-card { padding: 22px 26px; border-radius: var(--radius-lg); background: var(--panel); border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field select, .field textarea { width: 100%; border: 2px solid transparent; border-radius: 14px; background: #F3F7FF; color: var(--navy); padding: 12px 16px; font-size: 16px; outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgb(255 229 44 / 25%); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.form-foot small { color: var(--muted); }
.form-foot a { color: var(--yellow); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 14px; font-weight: 600; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.alert--ok { background: #D9FBEF; color: #035C3E; }
.alert--err { background: #FFE1EA; color: #8A0F32; }
.side-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px 26px; border-radius: var(--radius-lg); background: linear-gradient(160deg, #1166F6, #0738A8); border: 1.5px solid var(--line); box-shadow: var(--shadow); min-height: 300px; }
.side-card img { width: 85%; margin: 0 auto 6px; }
.side-card :is(h2, h3) { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); color: var(--yellow); }
.side-card p { margin: 0; font-size: 17px; }
.more-info { margin-top: 22px; }
.more-info h2 { text-align: center; margin: 0 0 14px; font-family: var(--font-display); font-size: 26px; }
.link-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
.link-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; text-decoration: none; font-weight: 800; font-size: 18px; background: linear-gradient(#0B57E0, #0A3BA8); border: 1.5px solid var(--line); transition: transform .15s, border-color .15s; }
.link-card:hover { transform: translateY(-2px); border-color: var(--yellow); }
.link-card__icon { font-size: 40px; color: var(--cyan); }
.link-card span { flex: 1; }
.legal { margin-top: 18px; padding: 28px 34px; }

/* ---------------- מודאל וטוסט ---------------- */
.modal { border: 0; padding: 0; border-radius: 22px; width: min(520px, calc(100% - 32px)); background: #fff; color: var(--navy); box-shadow: 0 30px 80px rgb(0 0 0 / 45%); }
.modal::backdrop { background: rgb(2 15 58 / 70%); backdrop-filter: blur(3px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: linear-gradient(#0B57E0, #07358E); color: #fff; }
.modal__head h2 { margin: 0; font-size: 22px; display: flex; gap: 10px; align-items: center; }
.modal__close { background: rgb(255 255 255 / 15%); border: 0; color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.modal :focus-visible { outline-color: var(--blue-bright); box-shadow: 0 0 0 3px #fff; }
.modal__head :focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 3px var(--navy-2); }
.modal__note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: #3A4A70; }
.modal__note a { color: #0645AD; font-weight: 700; }
.modal__body { padding: 20px 22px 22px; }
.modal .field input, .modal .field select, .modal .field textarea { background: #F0F4FC; border-color: #DCE5F7; }
.modal .field + .field { margin-top: 14px; }
.modal__actions { margin-top: 18px; display: flex; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 200; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 14px; font-weight: 600; box-shadow: 0 12px 30px rgb(0 0 0 / 40%); border: 1.5px solid var(--cyan); opacity: 0; pointer-events: none; transition: .25s; }
.toast.is-on { opacity: 1; transform: translateX(-50%); }

/* ---------------- פוטר ---------------- */
.site-footer { position: relative; margin-top: 30px; background: linear-gradient(180deg, #062C8E, #041A57); border-top: 1.5px solid rgb(40 219 255 / 35%); }
.site-footer::before { content: ""; position: absolute; inset: -40px 0 auto 0; height: 44px; background: url("/assets/decor/clouds.svg") repeat-x bottom / 600px 100%; opacity: .55; pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; padding-block: 34px 26px; }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin: 6px 0 0; font-weight: 700; font-size: 18px; }
.footer-col { padding-inline-start: 22px; border-inline-start: 1px solid rgb(255 255 255 / 15%); }
.footer-col h2 { margin: 0 0 10px; font-size: 17px; color: var(--yellow); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-col a { text-decoration: none; color: #DCE7FF; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); padding-block: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------------- 404 ---------------- */
.nf { text-align: center; padding: 40px 20px 10px; }
.nf__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(90px, 16vw, 180px); line-height: 1; color: var(--yellow); text-shadow: 0 6px 0 rgb(4 26 87 / 60%); }
.nf h1 { font-family: var(--font-display); margin: 6px 0; font-size: clamp(26px, 3vw, 36px); }
.nf p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }

/* ---------------- רספונסיבי ---------------- */
@media (max-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .game-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:nth-child(2) { border: 0; padding: 0; }
  .link-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-row { flex-wrap: wrap; gap: 12px; justify-content: space-between; }
  .brand img { width: 140px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .catnav__list li { flex: 0 0 auto; }
  .info-row, .contact-row { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .game-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-wide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 16px 20px; }
  .welcome__art, .about-hero__art { width: 140px; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__title { font-size: 14px; padding: 22px 6px 7px; }
  .game-grid--4 .card__title { font-size: 17px; }
  .fav-btn { width: 28px; height: 28px; font-size: 15px; top: 6px; inset-inline-end: 6px; }
  .card__badge { font-size: 11px; padding: 1px 8px; top: 6px; inset-inline-start: 6px; }
  .pill { min-height: 42px; font-size: 15px; padding: 6px 16px; }
  .pill .i { font-size: 22px; }
  .hero { flex-direction: column-reverse; align-items: stretch; text-align: center; padding: 10px 16px 26px; }
  .hero__art { width: 100%; margin: -10px 0 0; }
  .page-banner, .about-hero, .welcome, .cta { flex-direction: column; text-align: center; padding: 18px 18px 34px; }
  .page-banner__art, .about-hero__art, .welcome__art, .cta__art { width: 130px; margin: 0; }
  /* התמונה של "כל המשחקים" רחבה (בערך 2.7 על 1), ב-130 פיקסלים היא הייתה זעירה */
  .page-banner__art { width: min(86%, 320px); }
  .about-hero h1, .welcome__title { justify-content: center; }
  .welcome__body { margin-inline: auto; }
  .game-head { align-items: flex-start; }
  .player { padding: 6px; border-radius: 18px; }
  .player__bar { flex-wrap: wrap; gap: 4px; }
  .pbtn { font-size: 14px; padding: 6px 8px; gap: 6px; }
  .pbtn .i { font-size: 20px; }
  .pbtn-sep { display: none; }
  .tip-card__art { width: 80px; }
  .form-grid { grid-template-columns: 1fr; }
  .my-hero { flex-direction: column-reverse; text-align: center; }
  .tabs-big { gap: 10px; }
  .toolbar__label { border: 0; padding: 0; flex-basis: 100%; }
  .select-wrap { margin-inline-start: 0; }
  .link-cards, .cat-wide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col { border: 0; padding: 0; }
  .hbtn__circle { width: 44px; height: 44px; font-size: 24px; }
  .hbtn { font-size: 11px; }
  .legal { padding: 20px; }
}
@media (max-width: 420px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid--wide { grid-template-columns: 1fr; }
  .brand img { width: 120px; }
  .brand__domain { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* תוספות לתבניות */
.card-cell { position: relative; }
.card-cell:hover .fav-btn { transform: translateY(-3px); }
.card-cell .fav-btn:hover { transform: translateY(-3px) scale(1.12); }
.feature img { width: 76px; height: 76px; filter: drop-shadow(0 6px 12px rgb(0 0 0 / 30%)); }
.cta__art.i { font-size: 110px; width: 110px; height: 110px; }
.player__cover small { color: #fff; font-weight: 600; background: rgb(2 15 58 / 75%); padding: 3px 12px; border-radius: 999px; }
.seo-text h2 { font-size: 22px; }

/* נגן במסך קטן + מסך מלא מדומה (אייפון) */
.player.is-pseudo-fs { position: fixed; inset: 0; z-index: 1000; margin: 0; border-radius: 0; padding: 0; border: 0; background: #000; display: flex; flex-direction: column; }
.player.is-pseudo-fs .player__stage { flex: 1; max-height: none; aspect-ratio: auto !important; border-radius: 0; }
.player.is-pseudo-fs .player__bar { background: #031A5C; padding-bottom: max(6px, env(safe-area-inset-bottom)); }
body.no-scroll { overflow: hidden; }
@media (max-width: 680px) {
  .player__stage { min-height: 200px; }
  .player__cover-inner { gap: 10px; padding: 10px; }
  .player__thumb { width: 92px; border-radius: 18px; border-width: 2px; }
  .player__cover-title { display: none; }
  .player__play { min-height: 46px; font-size: 18px; padding: 8px 24px; }
}

/* ---------------- רשת צפופה (סגנון פריב) ---------------- */
.game-grid--dense { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.game-grid--dense .card { border-radius: 14px; border-width: 1.5px; }
.game-grid--dense .card__title { font-size: 14.5px; padding: 22px 6px 7px; }
.game-grid--dense .fav-btn { width: 27px; height: 27px; font-size: 14px; top: 6px; inset-inline-end: 6px; }
.game-grid--dense .card__badge { font-size: 11.5px; padding: 1px 9px; top: 6px; inset-inline-start: 6px; }
.game-grid--dense .card__play { width: 30px; height: 30px; bottom: 7px; inset-inline-end: 7px; }
.more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.more-wrap .btn.is-loading { opacity: .7; pointer-events: none; }
@media (max-width: 1100px) { .game-grid--dense { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 860px) { .game-grid--dense { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 480px) {
  .game-grid--dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .game-grid--dense .card__title { font-size: 12.5px; padding: 18px 4px 6px; }
  .game-grid--dense .fav-btn { width: 24px; height: 24px; font-size: 12px; top: 4px; inset-inline-end: 4px; }
  .game-grid--dense .card__badge { font-size: 10px; padding: 0 6px; top: 4px; inset-inline-start: 4px; }
}
@media (max-width: 680px) {
  .hero { padding: 6px 14px 20px; min-height: 0; }
  .hero__art { width: 72%; max-width: 280px; margin: -4px auto 0; }
  .hero__title { font-size: 25px; }
  .hero__sub { font-size: 15px; }
  .section-head .pill--sm { min-height: 34px; font-size: 13px; padding: 4px 12px; gap: 6px; }
  .section-head .pill--sm .i { font-size: 18px; }
  .section-title { font-size: 21px; }
}

/* ---------------- תגיות ---------------- */
.tag-list, .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-cloud { gap: 10px 12px; align-items: center; justify-content: center; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; line-height: 1.3; color: #fff;
  background: rgb(255 255 255 / 10%); border: 1.5px solid rgb(40 219 255 / 40%); transition: border-color .15s, background .15s, transform .15s;
}
.tag-chip > span { color: var(--cyan); }
.tag-chip small { font-size: 12px; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }
.tag-chip:hover { border-color: var(--yellow); background: rgb(255 255 255 / 16%); transform: translateY(-1px); }
.hash { color: var(--cyan); font-weight: 800; }
.game-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.game-tags__label { font-weight: 700; color: var(--muted); }
.page-banner__tag { font-family: var(--font-display); font-weight: 700; font-size: 120px; line-height: 1; color: var(--yellow); text-shadow: 0 6px 0 rgb(4 26 87 / 55%); padding-inline: 20px; }
@media (max-width: 680px) { .page-banner__tag { font-size: 70px; } .tag-chip { font-size: 14px; padding: 5px 12px; } }
.page-banner .decor-bubbles { width: 210px; top: -46px !important; opacity: .55; }


/* =========================================================
   נגישות ופרטיות: תפריט נגישות, הודעת פרטיות ומצבי תצוגה
   ========================================================= */
.footer-linkbtn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: #DCE7FF; cursor: pointer; text-align: start; }
.footer-linkbtn:hover { color: var(--yellow); }

.player-note { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 4px 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.player-note__item { display: inline-flex; align-items: flex-start; gap: 8px; }
.player-note .i { font-size: 18px; margin-top: 1px; color: var(--cyan); }
.player-note a { color: var(--yellow); font-weight: 600; }

.privacy-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%); }
.privacy-note .i { font-size: 24px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.privacy-note p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #EAF2FF; }
.privacy-note a { color: var(--yellow); font-weight: 700; }

/* טבלת העוגיות במדיניות העוגיות */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border-radius: 14px; border: 1px solid rgb(255 255 255 / 22%); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.cookie-table th, .cookie-table td { padding: 10px 12px; text-align: start; vertical-align: top; border-bottom: 1px solid rgb(255 255 255 / 15%); }
.cookie-table th { background: rgb(4 26 87 / 55%); color: var(--yellow); font-weight: 700; white-space: nowrap; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgb(255 255 255 / 12%); white-space: nowrap; }
/* כפתור בתוך טקסט (למשל "מחיקת נתוני האתר") נשבר לשתי שורות במסך צר או בהגדלת טקסט, במקום לחרוג מהמסך */
.prose .btn { white-space: normal; max-width: 100%; text-align: center; }
/* בטלפון כל שורה בטבלה הופכת לכרטיס, ושם העמודה מופיע לפני כל ערך: בלי גלילה הצידה, גם בהגדלת טקסט */
@media (max-width: 680px) {
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; width: 100%; }
  /* שמות העמודות מופיעים בכל כרטיס (data-label), אז שורת הכותרות מיותרת */
  .cookie-table thead { display: none; }
  .cookie-table tr { padding: 12px 14px; border-bottom: 1px solid rgb(255 255 255 / 15%); }
  .cookie-table tr:last-child { border-bottom: 0; }
  .cookie-table td { padding: 3px 0; border: 0; font-size: 14px; }
  .cookie-table td[data-label]::before { content: attr(data-label) ": "; color: var(--yellow); font-weight: 700; }
  .cookie-table td[data-label]:first-child { font-weight: 700; }
  .cookie-table code { white-space: normal; overflow-wrap: anywhere; }
}

/* ---------------- תפריט נגישות ---------------- */
.a11y-toggle {
  position: fixed; z-index: 900; inset-inline-start: 0; top: calc(50% - 26px);
  width: 52px; height: 52px; padding: 0; display: grid; place-items: center;
  background: #041A57; color: #fff; font-size: 30px;
  border: 2px solid #fff; border-inline-start: 0; border-start-end-radius: 16px; border-end-end-radius: 16px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 35%);
}
.a11y-toggle:hover { background: #06359B; }
.a11y-toggle:focus-visible { outline: 3px solid var(--yellow); outline-offset: -8px; box-shadow: 0 6px 18px rgb(0 0 0 / 35%); }
.a11y-toggle__count {
  position: absolute; top: -8px; inset-inline-end: -8px; min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 999px; background: var(--yellow); color: #041A57;
  font-size: 13px; font-weight: 800; line-height: 1; box-shadow: 0 0 0 2px #041A57;
}
body.no-scroll .a11y-toggle { display: none; }
/* הכפתור בצד שמאל, למי שהוא מסתיר לו תוכן */
html.a11y-side-left .a11y-toggle {
  inset-inline-start: auto; inset-inline-end: 0; border-inline-start: 2px solid #fff; border-inline-end: 0;
  border-start-end-radius: 0; border-end-end-radius: 0; border-start-start-radius: 16px; border-end-start-radius: 16px;
}
html.a11y-side-left .a11y-toggle__count { inset-inline-end: auto; inset-inline-start: -8px; }
html.a11y-side-left .a11y-panel { inset-inline-start: auto; inset-inline-end: 12px; }

.a11y-panel {
  position: fixed; z-index: 950; inset-inline-start: 12px; top: 50%; transform: translateY(-50%);
  width: min(400px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto;
  background: #fff; color: #0A1A44; border: 2px solid #0A1A44; border-radius: 20px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 45%); font-family: var(--font); font-size: 15px; line-height: 1.4; padding-bottom: 14px;
}
.a11y-panel:focus { outline: none; }
.a11y-panel :focus-visible { outline: 3px solid #0849D8; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.a11y-panel__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: #0A1A44; color: #fff; }
.a11y-panel__head :focus-visible { outline-color: var(--yellow); box-shadow: none; }
.a11y-panel__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; font-weight: 700; }
.a11y-panel__title .i { font-size: 26px; }
.a11y-x { width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid rgb(255 255 255 / 75%); background: transparent; color: #fff; display: grid; place-items: center; font-size: 18px; }
.a11y-x:hover { background: rgb(255 255 255 / 15%); }

.a11y-sec { margin: 14px 16px 0; }
.a11y-sec__title { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: #3A4A70; }
.a11y-size { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 2px solid #C9D6F2; border-radius: 14px; background: #F3F7FF; }
.a11y-size__label { margin: 0; font-size: 15px; font-weight: 700; color: #0A1A44; }
.a11y-size__ctrl { display: flex; align-items: center; gap: 8px; }
.a11y-size__btn { min-width: 48px; height: 40px; border-radius: 10px; border: 2px solid #0A1A44; background: #fff; color: #0A1A44; font-weight: 800; font-size: 17px; }
.a11y-size__btn:hover { background: #E3ECFF; }
.a11y-size__btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.a11y-size__value { min-width: 52px; text-align: center; font-weight: 800; }

.a11y-grid, .a11y-profiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.a11y-opt, .a11y-profile {
  position: relative; width: 100%; min-height: 82px; padding: 10px 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: 14px; border: 2px solid #C9D6F2; background: #F3F7FF; color: #0A1A44;
  font-weight: 700; font-size: 13.5px; line-height: 1.25; text-align: center;
}
.a11y-profile { min-height: 74px; background: #FFF8DB; border-color: #EBCB5A; }
.a11y-opt:hover, .a11y-profile:hover { border-color: #0849D8; }
.a11y-opt__icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.a11y-opt[aria-pressed="true"], .a11y-profile[aria-pressed="true"] { background: #0849D8; border-color: #0A1A44; color: #fff; }
.a11y-opt[aria-pressed="true"]::after, .a11y-profile[aria-pressed="true"]::after { content: "✓"; position: absolute; top: 4px; inset-inline-end: 8px; font-size: 14px; font-weight: 800; }
.a11y-opt[aria-expanded="true"] { border-color: #0849D8; background: #E3ECFF; }

.a11y-panel__warn { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #FFF1D6; color: #6B4100; font-size: 13px; line-height: 1.5; }
.a11y-structure { margin-top: 10px; padding: 10px; border: 2px solid #C9D6F2; border-radius: 14px; background: #F3F7FF; max-height: 260px; overflow-y: auto; }
.a11y-structure__hint { margin: 0 0 6px; font-size: 13px; color: #3A4A70; }
.a11y-structure__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.a11y-structure__list button { width: 100%; padding: 7px 10px; border-radius: 10px; border: 1.5px solid #D5DEF2; background: #fff; color: #0A1A44; font-weight: 700; font-size: 14px; text-align: start; }
.a11y-structure__list button:hover { border-color: #0849D8; }
.a11y-structure__list .lvl-2 button { padding-inline-start: 24px; }
.a11y-structure__list .lvl-3 button { padding-inline-start: 38px; font-weight: 500; }

.a11y-panel__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 16px 16px 0; }
.a11y-reset, .a11y-side { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 14px; border-radius: 999px; border: 2px solid #0A1A44; background: #fff; color: #0A1A44; font-weight: 700; font-size: 14px; }
.a11y-reset:hover, .a11y-side:hover { background: #E3ECFF; }
.a11y-side[aria-pressed="true"] { background: #0849D8; color: #fff; }
.a11y-link { display: inline-flex; align-items: center; gap: 6px; color: #0645AD; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.a11y-panel__note { margin: 12px 16px 0; font-size: 13px; line-height: 1.5; color: #3A4A70; }
.a11y-panel__note kbd { padding: 1px 6px; border: 1px solid #9AA9CC; border-radius: 6px; background: #F3F7FF; font-family: inherit; font-weight: 700; }
@media (max-width: 680px) {
  .a11y-toggle { width: 44px; height: 44px; font-size: 26px; top: calc(50% - 22px); }
}
@media (max-width: 380px) { .a11y-grid, .a11y-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* עזרי קריאה: סרגל ומסכה שעוקבים אחרי העכבר והפוקוס, הדגשת מה שמוקרא, וקפיצה לכותרת */
.a11y-aid { position: fixed; inset-inline: 0; z-index: 880; pointer-events: none; }
.a11y-aid--guide { top: 50%; height: 8px; background: var(--yellow); box-shadow: 0 0 0 2px #041A57, 0 4px 14px rgb(0 0 0 / 35%); }
.a11y-aid--mask { background: rgb(0 0 0 / 62%); }
.a11y-aid--top { top: 0; height: 40vh; }
.a11y-aid--bottom { top: 60vh; bottom: 0; }
.a11y-speaking { outline: 3px dashed var(--yellow) !important; outline-offset: 3px !important; }
.a11y-flash { outline: 4px solid var(--yellow) !important; outline-offset: 4px !important; box-shadow: 0 0 0 8px #041A57 !important; }

/* ---------------- הודעת פרטיות ---------------- */
.consent { position: fixed; z-index: 800; inset-inline: 12px; bottom: 12px; display: flex; justify-content: center; pointer-events: none; }
.consent__box {
  pointer-events: auto; width: min(980px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto;
  padding: 16px 20px 18px; border-radius: 20px; background: #fff; color: #0A1A44; border: 2px solid #0A1A44; box-shadow: 0 20px 50px rgb(0 0 0 / 45%);
}
.consent__title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.consent__title .i { font-size: 24px; color: #0849D8; }
.consent__title:focus { outline: none; }
.consent__text, .consent__more { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.consent__prefs fieldset { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1.5px solid #C9D6F2; background: #F5F8FF; font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.consent__opt strong { display: block; }
.consent__opt input { width: 22px; height: 22px; margin: 2px 0 0; flex-shrink: 0; accent-color: #0849D8; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent__btn { min-height: 44px; padding: 8px 22px; border-radius: 999px; border: 2px solid #0A1A44; background: #0A1A44; color: #fff; font-weight: 700; font-size: 15px; }
.consent__btn:hover { background: #0849D8; border-color: #0849D8; }
.consent__btn--ghost { background: #fff; color: #0A1A44; }
.consent__btn--ghost:hover { background: #E3ECFF; color: #0A1A44; border-color: #0A1A44; }
.consent__link { margin-inline-start: auto; color: #0645AD; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consent :focus-visible { outline: 3px solid #0849D8; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 680px) {
  .consent { inset-inline: 8px; bottom: 8px; }
  .consent__box { padding: 14px 14px 16px; }
  .consent__btn { flex: 1 1 auto; }
  .consent__link { margin-inline-start: 0; }
}
@media print { .a11y, .consent, .skip-link { display: none !important; } }

/* ---------------- מצבי התצוגה של תפריט הנגישות (מחלקות על <html>) ---------------- */
/* גודל טקסט: כל התוכן גדל והפריסה מסתדרת מחדש (התפריט עצמו נשאר בגודל קבוע) */
/* (על .container ולא על main: ב-flex של body הזום על main יוצא מגבולות המסך) */
html.a11y-size-1 .container { zoom: 1.15; }
html.a11y-size-2 .container { zoom: 1.3; }
html.a11y-size-3 .container { zoom: 1.5; }

/* גווני אפור, היפוך צבעים ורוויה. הם משתלבים זה בזה, ו-filter על <html> לא שובר רכיבים קבועים במסך */
html.a11y-gray { --a11y-gray: grayscale(1); }
html.a11y-invert { --a11y-invert: invert(1) hue-rotate(180deg); }
html.a11y-sat-low { --a11y-sat: saturate(.35); }
html.a11y-sat-high { --a11y-sat: saturate(1.9); }
html:is(.a11y-gray, .a11y-invert, .a11y-sat-low, .a11y-sat-high) { filter: var(--a11y-gray,) var(--a11y-invert,) var(--a11y-sat,); }
/* בהיפוך צבעים, תמונות ומשחקים מתהפכים שוב כדי שייראו רגיל */
html.a11y-invert :is(img, video, iframe, canvas) { filter: invert(1) hue-rotate(180deg); }
/* גם עזרי הקריאה ותפריט הנגישות חוזרים לצבעים הרגילים (המסכה נשארת כהה והכפתור קל למצוא) */
html.a11y-invert :is(.a11y-aid, .a11y-toggle, .a11y-panel) { filter: invert(1) hue-rotate(180deg); }

/* הדגשת כותרות */
html.a11y-headings body :is(h1, h2, h3, h4, h5, h6):not(.a11y *, .consent *) { outline: 2px solid var(--yellow); outline-offset: 4px; background-color: rgb(255 229 44 / 14%); border-radius: 6px; }

/* ניגודיות גבוהה: רקע שחור, טקסט לבן, קישורים צהובים */
html.a11y-contrast-dark body { background: #000 !important; }
html.a11y-contrast-dark body *:not(.a11y, .a11y *, .consent, .consent *, .a11y-aid, svg, svg *, img, video, iframe, canvas) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; text-shadow: none !important; box-shadow: none !important;
}
html.a11y-contrast-dark body *:not(.a11y *, .consent *)::before,
html.a11y-contrast-dark body *:not(.a11y *, .consent *)::after { background-image: none !important; }
html.a11y-contrast-dark body :is(a, a *):not(.a11y *, .consent *, svg, svg *) { color: #FFFF00 !important; }
html.a11y-contrast-dark body :is(.pill.is-active, .pill[aria-current="page"], .tab-big.is-active, .pager [aria-current="page"], .btn.btn--yellow, .card .card__badge, .badge-new.badge-new) { background-color: #FFFF00 !important; color: #000 !important; }
html.a11y-contrast-dark body :is(.pill.is-active, .pill[aria-current="page"], .tab-big.is-active, .btn.btn--yellow) * { color: #000 !important; background-color: transparent !important; }
html.a11y-contrast-dark ::placeholder { color: #DDD !important; }
html.a11y-contrast-dark body .search__form { border: 2px solid #fff !important; }
html:is(.a11y-contrast-dark, .a11y-contrast-light) .player__cover-bg { filter: none !important; }
html.a11y-contrast-dark body :focus-visible { outline-color: #FFFF00 !important; }

/* רקע בהיר: רקע לבן, טקסט שחור, קישורים כחולים */
html.a11y-contrast-light body { background: #fff !important; }
html.a11y-contrast-light body *:not(.a11y, .a11y *, .consent, .consent *, .a11y-aid, svg, svg *, img, video, iframe, canvas) {
  background-color: #fff !important; background-image: none !important; color: #0A0A0A !important;
  border-color: #0A1A44 !important; text-shadow: none !important; box-shadow: none !important;
}
html.a11y-contrast-light body *:not(.a11y *, .consent *)::before,
html.a11y-contrast-light body *:not(.a11y *, .consent *)::after { background-image: none !important; }
html.a11y-contrast-light body :is(a, a *):not(.a11y *, .consent *, svg, svg *) { color: #0033CC !important; }
html.a11y-contrast-light body :is(.pill.is-active, .pill[aria-current="page"], .tab-big.is-active, .pager [aria-current="page"], .btn.btn--yellow, .card .card__badge, .badge-new.badge-new) { background-color: #0A1A44 !important; color: #fff !important; }
html.a11y-contrast-light body :is(.pill.is-active, .pill[aria-current="page"], .tab-big.is-active, .btn.btn--yellow) * { color: #fff !important; background-color: transparent !important; }
html.a11y-contrast-light ::placeholder { color: #444 !important; }
html.a11y-contrast-light body .search__form { border: 2px solid #0A1A44 !important; }
html.a11y-contrast-light body :focus-visible { outline-color: #0033CC !important; }

/* הדגשת קישורים */
html.a11y-links body a:not(.a11y *, .consent *, .card, .cat-tile) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px !important; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-links body :is(.card, .cat-tile) { outline: 3px dashed var(--yellow); outline-offset: 2px; }
html.a11y-links body :is(.card__title, .cat-tile__name) { text-decoration: underline !important; text-underline-offset: 4px; }
html.a11y-links body :focus-visible { outline: 3px solid var(--yellow) !important; outline-offset: 3px !important; }

/* גופן קריא */
html.a11y-font body, html.a11y-font body *:not(svg, svg *) { font-family: Arial, "Segoe UI", Tahoma, Helvetica, sans-serif !important; }

/* ריווח טקסט (WCAG 1.4.12) */
html.a11y-spacing body :is(p, li, dd, dt, td, th, label, h1, h2, h3, h4, a, button, span, small, strong, input, textarea, select):not(.a11y *, .consent *) {
  line-height: 1.8 !important; letter-spacing: .06em !important; word-spacing: .16em !important;
}

/* עצירת אנימציות */
html.a11y-noanim, html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* הדגשת פוקוס: גם בלחיצת עכבר, ובולט יותר */
html.a11y-focus body :focus:not(main, .a11y-panel, .consent__title) { outline: 4px solid #FFFF00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 4px #000, 0 0 0 10px #FFFF00 !important; }

/* סמן גדול */
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, auto !important; }
html.a11y-cursor :is(a, button, select, summary, label, [role="button"]), html.a11y-cursor :is(a, button, summary, label) * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23FFE52C' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, pointer !important; }
