/* =====================================================================
   משחקי הקו – אתר הלקוחות. בהיר, צבעוני וחי.
   כל משחק עם צבע משלו: המכירה ההפוכה (אלמוג), המיליונר (מנטה), בורסת החדשות (שמיים).
   החוט המקשר: צהוב האסימון וכחול עמוק. גופנים: Fredoka (כותרות, עגול ושמח) · Rubik (טקסט).
   הקובץ נטען אחרי app.css ומגדיר מחדש את המשתנים, כך שגם רכיבי המשחקים (web.js) בהירים וצבעוניים.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Rubik:wght@400;500;600;700&display=swap');

:root.play {
  --navy: #16224F;
  --sun: #FFC21A;
  --coral: #FF6B4A;
  --mint: #12B886;
  --sky: #3D7BFF;
  --violet: #7C5CFF;
  --game: var(--sky);          /* צבע המשחק הפתוח (מוגדר לפי data-game) */
  --game-soft: #E3ECFF;

  --bg: #F6F8FF; --bg-2: #ECF1FE; --card: #FFFFFF; --ink: var(--navy); --text: #29345F; --muted: #68718F;
  --line: #E1E7F6; --accent: var(--sun); --accent-ink: #3A2A00; --accent-soft: #FFF4CF;
  --good: var(--mint); --good-soft: #DDF7EE; --info: var(--sky); --info-soft: #E3ECFF;
  --bad: #F2492A; --bad-soft: #FFE6E0; --warn: #E8930C; --warn-soft: #FFF1D6;
  --key: #FFFFFF; --key-shadow: #D2D9EE; --side: var(--navy); --side-2: #22306A;
  --s1: var(--sky); --s2: var(--sun); --s3: var(--mint); --s4: var(--coral);
  --radius: 22px; --radius-s: 14px;
  --shadow: 0 1px 2px rgba(22,34,79,.05), 0 14px 34px -16px rgba(22,34,79,.22);
  --font: 'Rubik', 'Assistant', 'Segoe UI', Arial, sans-serif;
  --display: 'Fredoka', 'Rubik', 'Secular One', Arial, sans-serif;
  --mono: 'Rubik', ui-monospace, monospace;
  color-scheme: light;
}
#app[data-game="coral"] { --game: var(--coral); --game-soft: #FFE6DF; }
#app[data-game="mint"] { --game: var(--mint); --game-soft: #DDF7EE; }
#app[data-game="sky"] { --game: var(--sky); --game-soft: #E3ECFF; }
#app[data-game="violet"] { --game: var(--violet); --game-soft: #ECE7FF; }

/* רקע חי: כתמי צבע רכים שנעים לאט */
.play body { background: var(--bg); color: var(--text); font-size: 17px; overflow-x: hidden; }
.play body::before { content: ''; position: fixed; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(28% 32% at 12% 18%, rgba(255,194,26,.22), transparent 70%),
    radial-gradient(30% 34% at 88% 10%, rgba(61,123,255,.16), transparent 70%),
    radial-gradient(30% 30% at 80% 85%, rgba(18,184,134,.14), transparent 70%),
    radial-gradient(26% 30% at 10% 90%, rgba(255,107,74,.14), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(3%, -3%) rotate(3deg); } }
.play h1, .play h2, .play h3 { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: 0; line-height: 1.1; }
.play h1 { font-size: clamp(32px, 6vw, 48px); }
.play h2 { font-size: 26px; }
.play h3 { font-size: 20px; }
.play :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- מבנה בסיסי ---------- */
.topbar { position: sticky; top: 0; z-index: 50; }
.topbar-in { margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; color: inherit; text-decoration: none; }
.page { margin: 0 auto; display: flex; flex-direction: column; }
.center-load { display: grid; place-items: center; min-height: 40vh; }
.back { display: inline-flex; align-items: center; text-decoration: none; }
#topUser { flex-wrap: nowrap; gap: 8px; }
.brand-name, .on-air .num, #topUser .btn { white-space: nowrap; }

.play .topbar { background: rgba(255,255,255,.82); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.play .topbar-in { max-width: 1120px; padding: 10px 20px; }
.play .brand { gap: 10px; }
.play .brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--navy); }
.play .brand .asimon { width: 36px; height: 36px; animation: spin-y 6s ease-in-out infinite; }
@keyframes spin-y { 0%, 80% { transform: rotateY(0); } 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.on-air { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 12px; box-shadow: 0 2px 6px -2px rgba(22,34,79,.12); font-weight: 600; }
.on-air:hover { border-color: var(--mint); }
.on-air .lbl { font-size: 13px; color: var(--mint); font-weight: 700; }
.on-air .num { font-weight: 700; font-size: 15px; direction: ltr; }
.on-air i, .lamp { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(18,184,134,.5); animation: ping 1.8s ease-out infinite; flex: none; display: inline-block; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(18,184,134,.55); } 100% { box-shadow: 0 0 0 10px rgba(18,184,134,0); } }
.play .page { max-width: 1120px; padding: 30px 20px 90px; gap: 30px; }

/* ---------- טיפוגרפיה ---------- */
.mega { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 7vw, 76px) !important; line-height: 1.02 !important; color: var(--navy); margin: 0; text-wrap: balance; }
.hl { position: relative; color: var(--navy); white-space: nowrap; z-index: 0; }
.hl::after { content: ''; position: absolute; inset-inline: -4px; bottom: .08em; height: .38em; background: var(--sun); border-radius: 10px; z-index: -1; transform-origin: right; animation: mark 0.9s .3s cubic-bezier(.2,.8,.2,1) backwards; }
@keyframes mark { from { transform: scaleX(0); } }
.kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 15px; margin: 0; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 6px -2px rgba(22,34,79,.1); }
.lede { font-size: 19px; color: var(--text); max-width: 46ch; line-height: 1.6; }
.fine { font-size: 14px; color: var(--muted); }
.big-line { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 34px); color: var(--navy); text-decoration: none; direction: ltr; align-self: flex-start; background: #fff; border: 2px dashed var(--sun); padding: 4px 18px; border-radius: 16px; }
.big-line:hover { background: var(--accent-soft); }

/* ---------- האסימון ---------- */
.asimon { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 28%, #FFE68F, var(--sun) 46%, #D99A0B 100%);
  box-shadow: inset 0 0 0 3px rgba(255,240,190,.6), inset 0 0 0 6px rgba(201,138,18,.3), 0 3px 0 #C98A12, 0 8px 16px -6px rgba(150,100,0,.5); }
.asimon > i { position: absolute; inset-inline: 16%; top: 50%; height: 10%; min-height: 3px; transform: translateY(-50%); border-radius: 4px; background: #8A5E08; box-shadow: inset 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,240,190,.7); }
.asimon > b { position: relative; font-family: var(--display); font-weight: 700; font-size: 38px; line-height: 1; color: #4A3200; }
.asimon:has(> b) > i { inset-inline: 7%; background: linear-gradient(90deg, #8A5E08 0 20%, transparent 20% 80%, #8A5E08 80% 100%); box-shadow: none; }

/* ---------- איורים ---------- */
.art-wrap { display: contents; }
.art { width: 100%; height: auto; display: block; overflow: visible; direction: ltr; }
.art text.scr { font-family: var(--display); font-weight: 700; font-size: 24px; fill: #fff; letter-spacing: .05em; }
.art text.tn { font-family: var(--display); font-weight: 700; font-size: 22px; fill: var(--navy); }
.art text.tn.win { font-size: 28px; fill: #4A3200; }
.art text.tn.small { font-size: 18px; fill: #4A3200; }
.art g, .art rect, .art path, .art circle { transform-box: fill-box; transform-origin: center; }
.art-hero .phone { animation: bob 4.5s ease-in-out infinite; }
.art-hero .glow { animation: breathe 5s ease-in-out infinite; }
.art-hero .waves path { opacity: 0; animation: wave 2.4s ease-out infinite; }
.art-hero .waves path:nth-child(2), .art-hero .waves path:nth-child(4) { animation-delay: .5s; }
.art-hero .k { animation: keyblink 3.6s ease-in-out infinite; }
.art-hero .k3 { animation-delay: .2s; } .art-hero .k4 { animation-delay: .6s; } .art-hero .k5 { animation-delay: 1s; }
.art .c1 { animation: float 5s ease-in-out infinite; } .art .c2 { animation: float 6s 1s ease-in-out infinite; } .art .c3 { animation: float 4.6s .5s ease-in-out infinite; } .art .c4 { animation: float 5.4s 1.6s ease-in-out infinite; }
.art .spark { animation: twinkle 2.4s ease-in-out infinite; } .art .spark.s2 { animation-delay: 1.2s; }
.art .tile { animation: bob 3.2s ease-in-out infinite; } .art .t1 { animation-delay: .3s; } .art .t2 { animation-delay: .6s; } .art .t3 { animation-delay: .9s; } .art .t4 { animation-delay: 1.2s; }
.art .crown { animation: crown 3.2s .6s ease-in-out infinite; }
.art .win { animation: lights 3s steps(2) infinite; } .art .w1 { animation-delay: .4s; } .art .w2 { animation-delay: .9s; } .art .w3 { animation-delay: 1.4s; } .art .w4 { animation-delay: 1.9s; } .art .w5 { animation-delay: 2.4s; }
.art .up { animation: rise 3.6s ease-in-out infinite; } .art .u2 { animation-delay: 1.2s; } .art .u3 { animation-delay: 2.2s; }
.art .sun { animation: breathe 4s ease-in-out infinite; }
.art .draw { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 3.4s ease-in-out infinite; }
.art .arrow { animation: twinkle 3.4s ease-in-out infinite; }
.art .bob { animation: bob 3s ease-in-out infinite; } .art .cloud { animation: float 6s ease-in-out infinite; }
.art .paper { animation: sway 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes float { 50% { transform: translate(4px, -12px) rotate(8deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes wave { 0% { opacity: 0; transform: scale(.85); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes keyblink { 0%, 70%, 100% { filter: none; } 80% { filter: brightness(1.5) drop-shadow(0 0 6px #fff); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@keyframes crown { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-6deg); } }
@keyframes lights { 50% { opacity: .25; } }
@keyframes rise { 0% { transform: translateY(14px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-26px); opacity: 0; } }
@keyframes draw { 0% { stroke-dashoffset: 220; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: .3; } }
@keyframes sway { 50% { transform: rotate(-3deg) translateY(-4px); } }

/* ---------- מסך הבית ---------- */
.home { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: center; }
.home-copy { display: flex; flex-direction: column; gap: 20px; animation: rise-in .7s cubic-bezier(.2,.8,.2,1) backwards; }
.home-art, .login-art { max-width: 460px; justify-self: center; width: 100%; animation: pop-in .8s .15s cubic-bezier(.2,1.2,.3,1) backwards; }
@keyframes rise-in { from { transform: translateY(18px); opacity: .001; } }
@keyframes pop-in { from { transform: scale(.85) rotate(-3deg); opacity: .001; } }

/* פס חדשות זז */
.ticker { overflow: hidden; border-radius: 999px; background: var(--navy); color: #fff; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-in { display: inline-flex; gap: 46px; padding-inline-end: 46px; white-space: nowrap; animation: tick 34s linear infinite; }
.ticker:hover .ticker-in { animation-play-state: paused; }
.tk { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; }
.tk b { font-family: var(--display); color: var(--sun); font-weight: 700; }
.tk::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
@keyframes tick { to { transform: translateX(50%); } }

/* כרטיסי המשחקים */
.gcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.gcard { --c: var(--sky); --cs: #E3ECFF; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(22,34,79,.04), 0 18px 40px -22px rgba(22,34,79,.35); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  animation: rise-in .6s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 120ms + 200ms); }
.gcard.c-coral { --c: var(--coral); --cs: #FFE6DF; } .gcard.c-mint { --c: var(--mint); --cs: #DDF7EE; } .gcard.c-sky { --c: var(--sky); --cs: #E3ECFF; } .gcard.c-violet { --c: var(--violet); --cs: #ECE7FF; }
.gcard:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 4px 8px rgba(22,34,79,.06), 0 30px 50px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.gcard-art { position: relative; background: linear-gradient(180deg, var(--cs), color-mix(in srgb, var(--cs) 40%, #fff)); padding: 22px 22px 6px; }
.gcard-art .art { max-height: 190px; }
.gkey { position: absolute; top: 14px; inset-inline-start: 14px; width: 48px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--c); font-family: var(--display); font-weight: 700; font-size: 28px; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 35%, #D2D9EE); }
.gcard-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gcard-body h2 { font-size: 28px; }
.gcard-body p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.gcard-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.play .gcard .btn-primary { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--c) 70%, #000); }
.gcard:hover .btn-primary { filter: brightness(1.06); }
.on-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* איך זה עובד */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; }
.how b { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 28px; color: #fff; background: var(--sky); box-shadow: 0 4px 0 #2A5BD0; }
.how li:nth-child(2) b { background: var(--coral); box-shadow: 0 4px 0 #D9472A; } .how li:nth-child(3) b { background: var(--mint); box-shadow: 0 4px 0 #0B8A63; }
.how span { display: flex; flex-direction: column; color: var(--muted); font-size: 14.5px; }
.how strong { font-family: var(--display); font-size: 21px; color: var(--navy); }

@media (max-width: 860px) {
  .home { grid-template-columns: 1fr; gap: 10px; }
  .home-art { max-width: 300px; order: -1; }
  .how { grid-template-columns: 1fr; }
}

/* ---------- כניסה ---------- */
.play .login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.login-copy { display: flex; flex-direction: column; gap: 20px; animation: rise-in .7s cubic-bezier(.2,.8,.2,1) backwards; }
.handset { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 480px; }
.handset h2 { font-size: 26px; }
.handset-label { font-weight: 600; color: var(--text); }
.handset-screen { background: var(--bg-2); border-radius: 18px; padding: 4px 16px; border: 2px solid transparent; transition: border-color .15s, background .15s; }
.handset-screen:focus-within { border-color: var(--sky); background: #fff; }
.handset-input { width: 100%; border: 0; background: transparent; color: var(--navy); font-family: var(--display); font-weight: 600; font-size: clamp(22px, 6vw, 30px); letter-spacing: .03em; text-align: right; padding: 12px 0; outline: none; min-width: 0; }
.play .handset-input:focus, .play .handset-input:focus-visible { outline: none; box-shadow: none; }
.handset-input::placeholder { color: #A9B3D3; }
.btn-big { min-height: 56px; font-size: 18px; }
@media (max-width: 860px) { .play .login { grid-template-columns: 1fr; gap: 10px; } .login-art { order: -1; max-width: 260px; } }

/* ---------- הקוד ---------- */
.code-screen { max-width: 680px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; padding: 30px 24px; }
.coin-slot { display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.slot-coins { display: flex; gap: 14px; direction: ltr; position: relative; z-index: 1; }
.slot-coins .asimon { width: 86px; height: 86px; }
.slot-coins .asimon b { font-size: 50px; }
.slot { width: min(440px, 80vw); height: 16px; border-radius: 10px; background: var(--navy); box-shadow: inset 0 3px 6px rgba(0,0,0,.5); margin-top: -10px; }
.asimon.drop { animation: coin-drop .7s cubic-bezier(.3,0,.3,1) backwards; }
.asimon.drop.d1 { animation-delay: .18s; } .asimon.drop.d2 { animation-delay: .36s; } .asimon.drop.d3 { animation-delay: .54s; }
@keyframes coin-drop { 0% { transform: translateY(-120px) rotate(-30deg); } 60% { transform: translateY(6px) rotate(4deg); } 78% { transform: translateY(-6px); } 100% { transform: none; } }
.dial-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; text-align: right; }
.dial-steps li { background: var(--bg-2); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; }
.dial-steps b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--sun); color: #4A3200; font-family: var(--display); }
.dial-steps strong { font-family: var(--display); font-size: 20px; color: var(--navy); }
kbd { font-family: var(--display); font-size: 18px; background: #fff; color: var(--navy); border-radius: 8px; padding: 0 8px; box-shadow: 0 2px 0 var(--key-shadow); }
.waiting { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
@media (max-width: 600px) { .dial-steps { grid-template-columns: 1fr; } .slot-coins { gap: 8px; } .slot-coins .asimon { width: 64px; height: 64px; } .slot-coins .asimon b { font-size: 38px; } }

/* ---------- סרגל המשחק ---------- */
.game-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.play .back { color: var(--navy); font-weight: 600; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.play .back:hover { border-color: var(--game); color: var(--game); }

/* =====================================================================
   הרכיבים המשותפים (app.css) – בהירים, בצבע המשחק הפתוח
   ===================================================================== */
.play .card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; }
.play .btn { border-radius: 14px; font-weight: 600; border-color: var(--line); background: #fff; color: var(--navy); box-shadow: 0 2px 0 var(--key-shadow); transition: transform .1s, box-shadow .1s, filter .15s; }
.play .btn:hover { background: var(--bg-2); }
.play .btn:active { transform: translateY(2px); box-shadow: none; }
.play .btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 4px 0 #0A1233; }
.play .btn-primary:hover { background: var(--navy); filter: brightness(1.2); }
.play .btn-accent { background: var(--sun); color: #3A2A00; border-color: var(--sun); box-shadow: 0 4px 0 #C98A12; }
.play .btn-accent:hover { background: var(--sun); filter: brightness(1.05); }
.play .btn-danger { color: var(--bad); border-color: #FFC9BD; }
.play .btn-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.play .dial-path span { background: var(--navy); color: #fff; border-radius: 8px; font-family: var(--display); font-weight: 600; }

/* כותרת המשחק: לוח בצבע המשחק עם נקודות אור */
.play .game-state { background: linear-gradient(135deg, var(--game), color-mix(in srgb, var(--game) 70%, var(--navy))); color: #fff; border-radius: 28px; padding: 24px 26px; box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--game) 80%, #000); position: relative; overflow: hidden; }
.play .game-state::after { content: ''; position: absolute; inset-inline-end: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
.play .game-state h1 { color: #fff; font-size: clamp(32px, 6vw, 46px); }
.play .game-state .big { font-family: var(--display); font-weight: 700; font-size: clamp(46px, 9vw, 64px); color: #fff; line-height: 1; }
.play .game-state .big small { color: rgba(255,255,255,.85); }
.play .game-state .lbl, .play .game-state .sub { color: rgba(255,255,255,.88); }
.play .game-facts b { font-family: var(--display); font-weight: 700; color: #fff; font-size: 26px; }
.play .game-facts span { color: rgba(255,255,255,.8); }
.play .pill { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.play .pill.open, .play .pill.good { background: #fff; color: var(--mint); border-color: #fff; }
.play .pill.bad { background: #fff; color: var(--bad); border-color: #fff; }
.play .game-wallet { background: #fff; border: 2px solid var(--sun); border-radius: 28px; box-shadow: var(--shadow); }
.play .game-wallet .big { font-family: var(--display); font-weight: 700; font-size: 58px; color: var(--navy); }
.play .game-note { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.play .game-note.win { background: linear-gradient(120deg, #FFE68F, var(--sun)); border: 0; color: #3A2A00; animation: pop-in .6s cubic-bezier(.2,1.2,.3,1) backwards; }
.play .game-note h2 { font-size: 26px; }

/* אסימונים במשחק */
.play .coin { width: 26px; height: 26px; background: radial-gradient(circle at 34% 28%, #FFE68F, var(--sun) 46%, #D99A0B); box-shadow: inset 0 0 0 2px rgba(255,240,190,.6), 0 2px 0 #C98A12; position: relative; animation: bob 2.6s ease-in-out infinite; }
.play .coin:nth-child(2) { animation-delay: .3s; } .play .coin:nth-child(3) { animation-delay: .6s; }
.play .coin::after { content: ''; position: absolute; inset-inline: 22%; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 2px; background: #8A5E08; }
.play .coin.used { background: transparent; border: 2px dashed #E5C36A; box-shadow: none; animation: none; }
.play .coin.used::after { display: none; }

/* תפריט המשחק: מקשים צבעוניים */
.play .game-menu { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; padding: 8px; top: 66px; }
.play .game-menu button, .play .game-menu a { color: var(--muted); border-radius: 16px; font-weight: 600; transition: background .15s, color .15s; }
.play .game-menu button:hover { background: var(--bg-2); color: var(--navy); }
.play .game-menu b { width: 44px; height: 44px; border-radius: 14px; font-family: var(--display); font-weight: 700; font-size: 24px; background: #fff; color: var(--navy); box-shadow: 0 4px 0 var(--key-shadow), inset 0 0 0 1px var(--line); transition: transform .12s; }
.play .game-menu [aria-selected="true"], .play .game-menu [aria-current="page"] { background: var(--game-soft); color: var(--navy); }
.play .game-menu [aria-selected="true"] b, .play .game-menu [aria-current="page"] b { background: var(--game); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--game) 65%, #000); transform: translateY(-2px); }
.play .game-menu button:active b { transform: translateY(3px); box-shadow: none; }

/* מדדים */
.play .kpi { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 2px 4px rgba(22,34,79,.04); transition: transform .2s; }
.play .kpi:hover { transform: translateY(-3px); }
.play .kpi .v { font-family: var(--display); font-weight: 700; font-size: 36px; color: var(--navy); }
.play .kpi.accent { background: var(--accent-soft); border-color: var(--sun); }
.play .kpi.good { border-color: #9BE3C9; } .play .kpi.good .v { color: var(--mint); }
.play .kpi.bad { border-color: #FFC0B2; } .play .kpi.bad .v { color: var(--bad); }

/* מקשי הטלפון */
.play .key { background: #fff; color: var(--navy); box-shadow: 0 4px 0 var(--key-shadow), inset 0 0 0 1px var(--line); border-radius: 18px; font-family: var(--display); font-weight: 600; font-size: 30px; }
.play .key:hover { background: var(--bg-2); }
.play .key.k-ok { background: var(--game); color: #fff; box-shadow: 0 4px 0 color-mix(in srgb, var(--game) 65%, #000); }
.play .key:active, .play .key.pressed { transform: translateY(4px); box-shadow: 0 0 0 var(--key-shadow); }

/* בחירה, צ'יפים, מתגים, דירוג, שורות */
.play .choice { background: #fff; border-color: var(--line); transition: transform .12s, border-color .15s; }
.play .choice:hover { transform: translateY(-2px); border-color: var(--game); }
.play .choice > b { background: var(--bg-2); color: var(--navy); }
.play .choice[aria-pressed="true"] { border-color: var(--game); background: var(--game-soft); }
.play .choice[aria-pressed="true"] > b { background: var(--game); color: #fff; box-shadow: none; }
.play button.chip { background: #fff; border-color: var(--line); color: var(--navy); }
.play .chip[aria-pressed="true"] { background: var(--game); border-color: var(--game); color: #fff; }
.play .rank-n { font-family: var(--display); font-weight: 700; }
.play .rank-row { transition: background .15s; }
.play .rank-row:hover { background: var(--bg-2); border-radius: 12px; }
.play .rank-row.me { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--sun); }
.play .rank-v, .play .line .n, .play .line .w { font-family: var(--display); font-weight: 700; }
.play .line .w { background: var(--bg-2); }
.play .seg button[aria-pressed="true"], .play .seg button.is-active { color: var(--navy); }
.play .empty b { font-family: var(--display); }

/* הודעות וחלונות */
.play .toast { background: var(--navy); color: #fff; border-radius: 16px; animation: pop-in .35s cubic-bezier(.2,1.2,.3,1); }
.play .toast.good { background: var(--mint); } .play .toast.bad { background: var(--bad); }
.play .modal { border-radius: 28px; animation: pop-in .3s cubic-bezier(.2,1.2,.3,1); }
.play .spinner { border-color: var(--line); border-top-color: var(--sky); }

@media (max-width: 560px) {
  .on-air .lbl { display: none; }
  .play .brand-name { font-size: 20px; }
  .play .brand .asimon { width: 30px; height: 30px; }
  .play .topbar-in { padding: 8px 12px; }
  #topUser .btn span[dir] { display: none; }
  .play .game-menu { top: 56px; }
  .play .game-head > * { flex: 1 1 100%; }
  .gcard-body h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .play *, .play *::before, .play *::after { animation: none !important; transition: none !important; } }

/* ---------- תחתית קבועה לגוגל (footer.site-about ב-index.html). לא מסתירים אותה ולא מעבירים ל-JS ---------- */
.play .site-about { max-width: 1120px; margin: 10px auto 40px; padding: 30px 20px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 15.5px; line-height: 1.65; }
.play .site-about h2 { font-family: var(--display); font-size: 24px; color: var(--navy); margin: 0 0 8px; }
.play .site-about p { margin: 0; color: var(--muted); }
.play .site-about a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sun); }
.play .site-about .about-games { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.play .site-about .about-games li { --c: var(--sky); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: 20px; padding: 14px 18px 16px; }
.play .site-about .about-games li:nth-child(1) { --c: var(--coral); }
.play .site-about .about-games li:nth-child(2) { --c: var(--mint); }
.play .site-about .about-games li:nth-child(3) { --c: var(--sky); }
.play .site-about h3 { font-family: var(--display); font-size: 19px; color: var(--navy); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.play .site-about .about-ext { font-family: var(--font); font-weight: 600; font-size: 12.5px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 999px; padding: 2px 10px; margin: 0; }
