/* css/components.css — רכיבים משותפים לכל הדפים
   נטען אחרי style.css ומסתמך על המשתנים שמוגדרים שם. */

/* ── כותרת וניווט ──────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 34, 0.94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 8px 24px rgba(3,7,18,.35);
}
/* פס אדום דק למעלה — כמו מכסה של פוקידקס */
.app-header::before {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, var(--accent-primary) 0 70%, var(--accent-secondary) 70% 85%, var(--accent-blue) 85%);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text-primary);
  font-family: var(--font-num); font-size: 1.15rem; letter-spacing: -.2px; white-space: nowrap;
  direction: ltr;
}
.brand b { color: var(--accent-secondary); font-weight: 800; }
.logo-ball { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .logo-ball { transform: rotate(-200deg); }

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 3px 12px 3px 4px; border-radius: 999px;
  background: var(--bg-tertiary); border: 1px solid var(--glass-border);
  text-decoration: none; color: var(--text-primary);
}
.user-chip:hover { border-color: #34436d; }
.user-name { font-size: .95rem; font-weight: 700; }

.user-level {
  display: inline-grid; place-items: center;
  min-width: 26px; height: 26px; padding: 0 6px;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-num);
  font-size: 0.82rem;
  font-weight: 800;
}

.silver-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 203, 5, 0.1);
  color: var(--highlight);
  padding: 4px 12px 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 203, 5, 0.28);
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 0.92rem;
}
/* מטבע מצויר במקום אימוג'י */
.coin {
  width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 35%, #fff3b0, #ffcb05 45%, #d99a00);
  box-shadow: inset 0 0 0 1.5px rgba(120, 80, 0, .45);
}

.app-nav {
  display: flex;
  gap: 2px;
  padding: 0 14px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1240px;
  margin: 0 auto;
}
.app-nav::-webkit-scrollbar { display: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.nav-link.active {
  color: #fff;
  background: rgba(255, 77, 61, 0.14);
}
.nav-link.active .nav-icon { color: var(--accent-primary); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -8px; inset-inline: 12px; height: 3px;
  border-radius: 3px 3px 0 0; background: var(--accent-primary);
}

.nav-icon { display: inline-flex; }
.ico { display: block; }

@media (max-width: 720px) {
  .brand-name { display: none; }
  .header-top { padding: 8px 12px; }
  .user-chip { padding-inline-end: 4px; }
  .user-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 620px) {
  .nav-text { display: none; }
  .nav-link { padding: 9px 8px; }
  .app-nav { justify-content: space-between; padding: 0 4px 8px; gap: 0; }
  .nav-link.active::after { inset-inline: 6px; }
}

/* ── פריסת עמוד ────────────────────────────────────────── */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  width: 100%;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.page-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.3px; line-height: 1.15; }
.page-sub { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }

/* באנר בראש דף: צבע של הדף + ציור רשמי של פוקימון שמציץ מהצד.
   --c1/--c2 נקבעים בכל דף. בלי תמונות AI — ציורים רשמיים מ-/sprites (מוגשים מהשרת שלנו). */
.page-head.page-banner {
  position: relative; overflow: hidden; align-items: center;
  min-height: 158px; padding: 26px 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.3px) 0 0 / 18px 18px,
    linear-gradient(115deg, var(--c2, #1e3a8a) 0%, var(--c1, #2563eb) 100%);
  box-shadow: 0 14px 34px rgba(3,7,18,.4), inset 0 -4px 0 rgba(0,0,0,.18);
  isolation: isolate;
}
/* פוכדור גדול ושקוף ברקע, מאחורי הפוקימון */
.page-head.page-banner::before {
  content: ''; position: absolute; z-index: -1;
  width: 300px; height: 300px; inset-inline-end: -40px; top: 50%; transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34px, rgba(255,255,255,.14) 35px 52px, transparent 53px),
    linear-gradient(transparent calc(50% - 9px), rgba(255,255,255,.14) calc(50% - 9px) calc(50% + 9px), transparent calc(50% + 9px));
  box-shadow: inset 0 0 0 18px rgba(255,255,255,.14);
}
.banner-text { position: relative; z-index: 1; max-width: 62%; display: flex; flex-direction: column; gap: 4px; }
.banner-text .head-actions, .banner-text .toolbar { margin-top: 10px !important; }
.banner-text > .btn { margin-top: 10px; align-self: flex-start; }
.page-banner .page-title { font-size: 2.1rem; text-shadow: 0 2px 0 rgba(0,0,0,.18); }
.page-banner .page-sub { color: rgba(255,255,255,.86); font-weight: 500; }
.page-banner .field { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.25); }
.banner-mon {
  position: absolute; z-index: 0; inset-inline-end: 34px; bottom: -26px;
  height: 190px; width: auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
  animation: bannerIn .6s cubic-bezier(.34,1.56,.64,1) both;
  pointer-events: none;
}
.banner-mon.second { inset-inline-end: 190px; height: 150px; bottom: -18px; animation-delay: .12s; opacity: .95; }
@keyframes bannerIn { from { transform: translateY(40px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .page-head.page-banner { min-height: 128px; padding: 18px 18px; }
  .banner-text { max-width: 70%; }
  .page-banner .page-title { font-size: 1.45rem; }
  .page-banner .page-sub { font-size: .85rem; }
  .banner-mon { height: 120px; inset-inline-end: 6px; bottom: -12px; }
  .banner-mon.second { display: none; }
  .page-head.page-banner::before { width: 200px; height: 200px; inset-inline-end: -50px; }
}

.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--text-primary);
}
/* קו צבעוני קטן לפני כותרת קטע */
.section-title::before {
  content: ''; width: 4px; height: 1.05em; border-radius: 4px; background: var(--accent-primary);
}

/* ── טאבים ─────────────────────────────────────────────── */
.tabs {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  flex: 1;
  min-width: max-content;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  color: var(--text-secondary);
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
}

.tab:hover { color: var(--text-primary); }

.tab.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--accent-dark);
}

/* ── כפתורים נוספים ────────────────────────────────────── */
.btn-sm { padding: 7px 14px; font-size: 0.86rem; border-radius: 10px; }
.btn-xs { padding: 5px 10px; font-size: 0.78rem; border-radius: 8px; border-bottom-width: 2px; }

.btn-danger {
  background: var(--danger);
  border-bottom-color: #a61b1b;
  color: #fff;
}
.btn-danger:hover { filter: brightness(1.12); }

.btn-success {
  background: var(--success);
  border-bottom-color: #15803d;
  color: #fff;
}
.btn-success:hover { filter: brightness(1.12); }

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── רשתות כרטיסים ─────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.card-grid.tight {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: 0 2px 0 rgba(3,7,18,.25);
  transition: var(--transition);
}

.card.clickable { cursor: pointer; }
.card.clickable:hover {
  transform: translateY(-3px);
  border-color: #3a4a78;
  box-shadow: 0 10px 24px rgba(3, 7, 18, 0.5);
}

.card.selected {
  border-color: var(--accent-secondary);
  background: rgba(255, 203, 5, 0.07);
  box-shadow: 0 0 0 2px rgba(255, 203, 5, .25);
}

/* ── כרטיס פוקימון ─────────────────────────────────────── */
.poke-card { display: flex; flex-direction: column; gap: 10px; }

.poke-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.poke-sprite {
  width: 68px;
  height: 68px;
  image-rendering: pixelated;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.poke-sprite.lg { width: 190px; height: 190px; object-fit: contain; image-rendering: auto; }
.poke-sprite.sm { width: 46px; height: 46px; }

.poke-meta { flex: 1; min-width: 0; }

.poke-name {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.poke-nick { color: var(--text-secondary); font-size: 0.82rem; font-weight: 500; }

.poke-lvl {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

.poke-dexnum {
  font-family: ui-monospace, monospace;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.shiny-star { color: #ffd700; }

.slot-tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 700;
}

/* ── תגי טיפוס ונדירות ─────────────────────────────────── */
.type-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  margin-inline-end: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.rarity-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid currentColor;
}

/* ── פסי HP והתקדמות ───────────────────────────────────── */
.hp-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.hp-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 4px;
  text-align: left;
  direction: ltr;
}

/* ── טבלת סטטים ────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: 110px 1fr 46px;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 0.85rem;
}

.stat-row .stat-name { color: var(--text-secondary); }
.stat-row .stat-val { text-align: left; font-weight: 700; direction: ltr; }

/* ── רשימות מהלכים ─────────────────────────────────────── */
.move-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.move-chip {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.move-chip .del {
  color: var(--danger);
  cursor: pointer;
  font-weight: 700;
  opacity: 0.7;
}
.move-chip .del:hover { opacity: 1; }

/* ── מודאל ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 20, 0.78);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-box {
  background: #111a30;
  border: 1px solid #2a3860;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  animation: popIn 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}
.modal-box::before { content: ''; height: 3px; flex-shrink: 0; background: var(--accent-primary); }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }

.modal-box.wide { max-width: 760px; }

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--glass-border);
}

.modal-head h3 { font-size: 1.2rem; font-weight: 700; }

.modal-x {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.modal-x:hover { background: var(--bg-tertiary); color: var(--text-primary); }

.modal-body { padding: 22px; overflow-y: auto; }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.confirm-text { color: var(--text-secondary); line-height: 1.6; }

/* ── מצבי טעינה / ריק ──────────────────────────────────── */
.state-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── שדות קלט משניים ───────────────────────────────────── */
.field {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.field:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(255, 203, 5, 0.18);
}

select.field { cursor: pointer; }

/* ── לוח סטטיסטיקות ────────────────────────────────────── */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.stat-tile {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  text-align: center;
  position: relative; overflow: hidden;
}
.stat-tile::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--tile-color, var(--accent-blue)); opacity: .8; }
.stat-tile:nth-child(6n+1) { --tile-color: var(--accent-blue); }
.stat-tile:nth-child(6n+2) { --tile-color: var(--accent-secondary); }
.stat-tile:nth-child(6n+3) { --tile-color: var(--accent-primary); }
.stat-tile:nth-child(6n+4) { --tile-color: var(--success); }
.stat-tile:nth-child(6n+5) { --tile-color: #a78bfa; }
.stat-tile:nth-child(6n+6) { --tile-color: #f472b6; }

.stat-tile .val { font-size: 1.6rem; font-weight: 800; font-family: var(--font-num); }
.stat-tile .lbl { font-size: 0.82rem; color: var(--text-secondary); margin-top: 3px; }

/* ── טבלה ──────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }

.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: right;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
}

.data-table tr.me { background: rgba(255, 203, 5, 0.08); box-shadow: inset -3px 0 0 var(--accent-secondary); }
.data-table tr:hover td { background: rgba(255, 255, 255, 0.03); }

.rank-1 { color: #ffd700; font-weight: 800; }
.rank-2 { color: #c0c0c0; font-weight: 800; }
.rank-3 { color: #cd7f32; font-weight: 800; }

/* ── שורות פעילות ──────────────────────────────────────── */
.activity-item {
  padding: 10px 14px;
  border-inline-start: 3px solid var(--accent-blue);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.activity-time { color: var(--text-secondary); font-size: 0.76rem; margin-top: 3px; }

/* ── תגי מכון ──────────────────────────────────────────── */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.86rem;
  margin: 0 0 8px 8px;
}

/* ── שורת פעולות ───────────────────────────────────────── */
.actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.toolbar .grow { flex: 1; min-width: 180px; }

/* ── אחרי עליית רמה (קרב) ─────────────────────────────────── */
.xp-breakdown { color: var(--text-secondary); font-size: .82rem; }
.choice-list { display: grid; gap: 8px; margin: 12px 0; }
.choice-list .btn { width: 100%; }
.xp-track .hp-fill { background: linear-gradient(90deg, #3b8cff, #60c1ff) !important; }
.xp-label { font-size: .75rem; color: var(--text-secondary); margin-top: 2px; direction: ltr; unicode-bidi: isolate; font-family: var(--font-num); }

/* ── פוקי-סנטר ─────────────────────────────────────────────── */
.pc-notice { margin-bottom: 16px; line-height: 1.6; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

/* ── סטטוס בקרב ──────────────────────────────────────────────── */
.status-badge { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  color: #fff; vertical-align: middle; white-space: nowrap; }

/* ── תיק: מכירה וזריקה ──────────────────────────────────────── */
.bag-actions { display: flex; gap: 6px; margin-top: 6px; }
.bag-actions .btn:first-child { flex: 1; }

/* ── כפתור דיווח באג צף ─────────────────────────────────────── */
.bug-fab {
  position: fixed; bottom: 18px; left: 18px; z-index: 50;
  width: 42px; height: 42px; border-radius: 50%; opacity: .85;
  border: 1px solid var(--glass-border, rgba(255,255,255,.12));
  background: #18223d; color: #fff; font-size: 1.15rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: transform .15s ease;
}
.bug-fab:hover { transform: scale(1.08); opacity: 1; }

/* טקסט משני */
.muted { color: var(--text-secondary); font-size: .88em; }

/* ── פריטים ─────────────────────────────────────────────── */
.item-icon { image-rendering: pixelated; vertical-align: middle; display: inline-block; }
.item-emoji { display: inline-block; line-height: 1; vertical-align: middle; }
.item-art {
  width: 80px; height: 80px; margin: 0 auto 6px; display: grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle at 50% 40%, #243259, #172241 70%);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.25);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.card:hover .item-art { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.battle-btn .item-icon { margin-inline-end: 4px; }

/* ── ספרייט על צלחת בצבע הטיפוס ─────────────────────────── */
.mon-plate {
  width: 88px; height: 88px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 65%, color-mix(in srgb, var(--tc) 55%, transparent), transparent 68%),
    color-mix(in srgb, var(--tc) 14%, var(--bg-secondary));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc) 35%, transparent), inset 0 -3px 0 rgba(0,0,0,.2);
}
.mon-plate img { width: 96px; height: 96px; image-rendering: pixelated; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.mon-plate.sm { width: 64px; height: 64px; border-radius: 16px; }
.mon-plate.sm img { width: 72px; height: 72px; }
.card:hover .mon-plate img { animation: hop .45s ease; }
@keyframes hop { 40% { transform: translateY(-6px); } 70% { transform: translateY(1px); } }

/* סלוט פנוי בשישייה */
.empty-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 180px; text-align: center; text-decoration: none; color: var(--text-secondary);
  background: transparent; border: 2px dashed #2b3a63; box-shadow: none;
}
.empty-slot strong { color: var(--text-primary); }
.empty-slot:hover { border-color: var(--accent-primary); background: rgba(255,77,61,.05); transform: translateY(-3px); }
.empty-ball {
  width: 44px; height: 44px; border-radius: 50%; opacity: .5;
  background: linear-gradient(#ff4d3d 0 46%, #0d1426 46% 54%, #e8ecf5 54%);
  box-shadow: inset 0 0 0 3px #0d1426;
  position: relative;
}
.empty-ball::after { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: #e8ecf5; box-shadow: 0 0 0 3px #0d1426; }
.empty-slot:hover .empty-ball { opacity: 1; animation: wobble .6s ease; }
@keyframes wobble { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-5deg); } }

/* צ'יפ מידע קטן (דף הבית, מכונים) */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; font-weight: 700;
}
