/* y10-tablet.css — "הטאבלט שלי" (js/y10-tablet.js).
 * סגור: טאבלט קטן ומוטה בפינה. פתוח: מסתובב ועף למרכז (תלת-ממד), ואז המסך "נדלק". */
.tb-root {
  --closed: translate(var(--tx), var(--ty)) scale3d(var(--s), var(--s), var(--s)) rotateX(10deg) rotateY(-24deg) rotateZ(4deg);
  position: fixed; inset: 0; z-index: 70; pointer-events: none; perspective: 1600px;
  font-family: "Assistant", system-ui, sans-serif; direction: rtl;
}
html.tb-lockscroll { overflow: hidden; }
body.has-tablet { padding-bottom: 96px; } /* מקום לטאבלט הסגור בפינה */

.tb-scrim {
  position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s;
  background: radial-gradient(circle at 50% 45%, rgba(76,29,149,.35), rgba(10,8,40,.72)); backdrop-filter: blur(5px);
}
.tb-root.open .tb-scrim { opacity: 1; pointer-events: auto; }
.tb-root.closing .tb-scrim { opacity: 0; }

/* ---------- המכשיר ---------- */
.tb-dev {
  position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h);
  margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2);
  pointer-events: auto; cursor: pointer; transform-style: preserve-3d; transform: var(--closed); outline: none;
}
.tb-root:not(.open):not(.closing) .tb-dev { transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.tb-root:not(.open):not(.closing) .tb-dev:hover,
.tb-root:not(.open):not(.closing) .tb-dev:focus-visible {
  transform: translate(var(--tx), calc(var(--ty) - 8px)) scale3d(calc(var(--s) * 1.12), calc(var(--s) * 1.12), calc(var(--s) * 1.12)) rotateX(4deg) rotateY(-10deg) rotateZ(1deg);
}
.tb-root.open .tb-dev { transform: none; cursor: default; }
/* פתוח לגמרי: בלי הקשר תלת-ממדי — בכרום גלגל העכבר לא גולל בתוך preserve-3d / backface-visibility */
.tb-root.booted .tb-dev { transform-style: flat; }
.tb-root.booted .tb-face { backface-visibility: visible; -webkit-backface-visibility: visible; }
.tb-root.booted .tb-back { display: none; }
.tb-root.opening .tb-dev { animation: tbOpen 1.05s cubic-bezier(.33,.75,.25,1) both; }
.tb-root.closing .tb-dev { animation: tbClose .9s cubic-bezier(.55,0,.35,1) both; }
@keyframes tbOpen {
  0%   { transform: translate(var(--tx), var(--ty)) scale3d(var(--s), var(--s), var(--s)) rotateX(10deg) rotateY(-24deg) rotateZ(4deg); }
  45%  { transform: translate(calc(var(--tx) * .3), calc(var(--ty) * .3 - 6vh)) scale3d(.5, .5, .5) rotateX(18deg) rotateY(-215deg) rotateZ(-4deg); }
  82%  { transform: translate(0, 0) scale3d(1.03, 1.03, 1.03) rotateX(-3deg) rotateY(-352deg) rotateZ(0deg); }
  100% { transform: translate(0, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(-360deg) rotateZ(0deg); }
}
@keyframes tbClose {
  0%   { transform: translate(0, 0) scale3d(1, 1, 1) rotateX(0deg) rotateY(-360deg) rotateZ(0deg); }
  20%  { transform: translate(0, 0) scale3d(.94, .94, .94) rotateX(4deg) rotateY(-350deg) rotateZ(0deg); }
  60%  { transform: translate(calc(var(--tx) * .5), calc(var(--ty) * .5 - 4vh)) scale3d(.42, .42, .42) rotateX(16deg) rotateY(-180deg) rotateZ(-6deg); }
  100% { transform: translate(var(--tx), var(--ty)) scale3d(var(--s), var(--s), var(--s)) rotateX(10deg) rotateY(-24deg) rotateZ(4deg); }
}
.tb-reduce.opening .tb-dev, .tb-reduce.closing .tb-dev { animation-duration: .2s; }
@keyframes tbFade { from { opacity: 0; } }
.tb-reduce.opening .tb-dev { animation-name: tbFade; }
.tb-reduce.closing .tb-dev { animation-name: tbFade; animation-direction: reverse; }

.tb-face { position: absolute; inset: 0; border-radius: calc(var(--h) * .05); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.tb-front {
  padding: clamp(12px, 2.2vmin, 22px); background: linear-gradient(145deg, #3a3d58, #12131f 55%, #26283a);
  box-shadow: inset 0 0 0 2px #5d6080, inset 0 0 0 5px #1a1b2a, 0 40px 90px -25px rgba(10,8,40,.75), 0 12px 30px rgba(10,8,40,.35);
}
.tb-dev.has-new .tb-front { animation: tbGlow 2.2s ease-in-out infinite; }
@keyframes tbGlow {
  50% { box-shadow: inset 0 0 0 2px #a78bfa, inset 0 0 0 5px #1a1b2a, 0 0 0 10px rgba(167,139,250,.45), 0 0 70px 20px rgba(167,139,250,.7); }
}
.tb-dev.buzz .tb-front { animation: tbBuzz .8s ease-in-out, tbGlow 2.2s 0.8s ease-in-out infinite; }
@keyframes tbBuzz {
  0%, 100% { transform: none; } 15% { transform: rotate(-4deg) scale(1.06); } 30% { transform: rotate(4deg) scale(1.06); }
  45% { transform: rotate(-3deg) scale(1.04); } 60% { transform: rotate(3deg); } 75% { transform: rotate(-1.5deg); }
}
.tb-cam { position: absolute; top: 50%; left: clamp(4px, .9vmin, 9px); width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #0b0c14; box-shadow: 0 0 0 2px #2b2d40, inset 1px 1px 2px #3b82f6; }
.tb-home {
  position: absolute; top: 50%; right: clamp(1px, .35vmin, 4px); width: clamp(10px, 1.6vmin, 16px); height: clamp(10px, 1.6vmin, 16px);
  margin-top: -8px; border-radius: 50%; border: 2px solid #4b4e68; background: radial-gradient(circle, #20222f, #11121b); cursor: pointer; padding: 0;
}
.tb-root.open .tb-home:hover { border-color: #a78bfa; box-shadow: 0 0 10px #a78bfa; }
.tb-back {
  transform: rotateY(180deg); display: grid; place-items: center;
  background: linear-gradient(120deg, #d6d9e4, #9ea3b8 40%, #e8eaf1 55%, #a3a8bc);
  box-shadow: inset 0 0 0 2px #c3c7d4, 0 30px 70px -25px rgba(10,8,40,.7);
}
.tb-logo { display: grid; justify-items: center; font-size: calc(var(--h) * .16); line-height: 1.05; color: #4b5068; text-shadow: 0 1px 0 #fff; }
.tb-logo b { font-family: "Rubik", sans-serif; font-size: calc(var(--h) * .07); letter-spacing: .05em; }
.tb-logo small { font-size: calc(var(--h) * .035); font-weight: 700; opacity: .7; }
.tb-lens { position: absolute; top: 6%; right: 5%; width: calc(var(--h) * .1); height: calc(var(--h) * .1); border-radius: 30%; background: #2d3042; box-shadow: inset 0 0 0 4px #4a4e66, inset 0 0 0 9px #15161f; }

/* ---------- המסך ---------- */
.tb-screen { position: relative; height: 100%; border-radius: calc(var(--h) * .025); overflow: hidden; background: #0d0b2a; container-type: size; }
.tb-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 45%, transparent 55%); transform: translateX(80%); }
.tb-root:not(.open) .tb-glare { transform: none; }
.tb-root.booted .tb-glare { animation: tbSweep 1.1s .15s ease-out both; }
@keyframes tbSweep { from { transform: translateX(-90%); } to { transform: translateX(110%); } }

.tb-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2cqh;
  color: #fff; text-align: center; transition: opacity .35s;
  background: radial-gradient(circle at 18% 18%, rgba(244,114,182,.85), transparent 42%), radial-gradient(circle at 85% 82%, rgba(56,189,248,.85), transparent 48%),
              radial-gradient(circle at 70% 20%, rgba(250,204,21,.5), transparent 35%), linear-gradient(140deg, #5b21b6, #1e1b4b);
}
.tl-time { font-family: "Rubik", sans-serif; font-weight: 800; font-size: 14cqmin; line-height: 1; text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.tl-date { font-size: 3.6cqmin; opacity: .85; font-weight: 700; margin-bottom: 2cqh; }
.tl-ico { font-size: 26cqmin; line-height: 1; filter: drop-shadow(0 10px 25px rgba(0,0,0,.35)); }
.tl-name { font-family: "Rubik", sans-serif; font-weight: 900; font-size: 7cqmin; }
.tl-count { font-size: 4.4cqmin; font-weight: 700; opacity: .92; }
.tl-count b { font-family: "Rubik", sans-serif; font-size: 1.4em; }
.tl-new:empty { display: none; }
.tl-new { font-size: 4.4cqmin; font-weight: 800; background: rgba(255,255,255,.18); border-radius: 99px; padding: .3em 1em; }
.tl-new span { color: #fde047; }
.tl-hint { position: absolute; bottom: 4cqh; font-size: 3cqmin; opacity: .75; font-weight: 700; animation: tbHint 2s ease-in-out infinite; }
@keyframes tbHint { 50% { opacity: .3; transform: translateY(-.6cqh); } }
.tb-root.booted .tb-lock { opacity: 0; pointer-events: none; }

/* תג "חדשים" ובועה ליד הטאבלט הסגור */
.tb-pip {
  position: absolute; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: #e11d48; color: #fff;
  font: 800 13px/26px "Rubik", sans-serif; text-align: center; box-shadow: 0 4px 12px rgba(225,29,72,.5), 0 0 0 2px #fff;
  transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); z-index: 2; direction: ltr;
}
.tb-pip.show { transform: scale(1); }
.tb-root.open .tb-pip, .tb-root.closing .tb-pip { transform: scale(0); transition-duration: .1s; }
.tb-bubble {
  position: absolute; max-width: min(320px, 80vw); background: #1e1b4b; color: #fff; padding: 10px 16px; border-radius: 16px 16px 16px 4px;
  font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(30,27,75,.35); opacity: 0; transform: translateY(14px) scale(.9); transform-origin: bottom left;
  transition: opacity .3s, transform .4s cubic-bezier(.3,1.5,.5,1);
}
.tb-bubble b { color: #fde047; font-family: "Rubik", sans-serif; }
.tb-bubble.show { opacity: 1; transform: none; }
.tb-root.open .tb-bubble { opacity: 0; }

/* ---------- האפליקציה ---------- */
.tb-app {
  position: absolute; inset: 0; display: flex; flex-direction: column; visibility: hidden; opacity: 0;
  background: radial-gradient(circle at 0 0, #ede9fe, transparent 40%), radial-gradient(circle at 100% 100%, #e0f2fe, transparent 45%), #f8f7ff;
  color: #1e1b4b; cursor: auto;
}
.tb-root.booted .tb-app { visibility: visible; opacity: 1; animation: tbBoot .6s ease-out both; }
@keyframes tbBoot {
  0% { clip-path: inset(49.5% 0 49.5% 0); filter: brightness(4) saturate(0); }
  40% { clip-path: inset(0 0 0 0); filter: brightness(1.8) saturate(.5); }
  100% { clip-path: inset(0 0 0 0); filter: none; }
}
.tb-reduce.booted .tb-app { animation: tbFade .2s both; }

.tb-status { display: flex; justify-content: space-between; align-items: center; padding: 4px 16px; font-size: 12px; font-weight: 800; color: #4c1d95; opacity: .75; }
.tb-clock { font-family: "Rubik", sans-serif; }
.tb-batt { direction: ltr; }
.tb-head { display: flex; align-items: center; gap: 12px; padding: 4px 16px 10px; flex-wrap: wrap; }
.tb-title { display: flex; align-items: center; gap: 10px; }
.tb-title > span { font-size: 30px; filter: drop-shadow(0 4px 8px rgba(124,58,237,.35)); }
.tb-title b { display: block; font-family: "Rubik", sans-serif; font-size: 21px; font-weight: 900; color: #4c1d95; }
.tb-title small { font-size: 13px; font-weight: 700; color: #6b6893; }
.tb-search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #ddd6fe; border-radius: 99px; padding: 0 14px; transition: border-color .2s, box-shadow .2s; }
.tb-search:focus-within { border-color: #7c3aed; box-shadow: 0 0 0 4px rgba(124,58,237,.15); }
.tb-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 600 16px "Assistant", sans-serif; padding: 9px 0; color: #1e1b4b; min-width: 0; }
.tb-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #ede9fe; color: #4c1d95; font-size: 17px; font-weight: 900; cursor: pointer; transition: transform .2s, background .2s; }
.tb-x:hover { background: #ddd6fe; transform: rotate(90deg); }
.tb-tabs { display: flex; gap: 8px; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.tb-tabs::-webkit-scrollbar { display: none; }
.tb-tabs button {
  flex-shrink: 0; border: 2px solid #ddd6fe; background: #fff; border-radius: 99px; padding: 6px 14px; cursor: pointer;
  font: 700 14px "Assistant", sans-serif; color: #4c1d95; transition: all .2s; white-space: nowrap;
}
.tb-tabs button.on { background: linear-gradient(135deg, #7c3aed, #4f46e5); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(124,58,237,.35); }
.tb-body { flex: 1; overflow-y: auto; padding: 4px 16px 20px; overscroll-behavior: contain; }

.tb-sec { margin-bottom: 18px; }
.tb-sec h3 { font-family: "Rubik", sans-serif; font-size: 17px; font-weight: 800; color: #312e81; margin: 6px 0 8px; display: flex; align-items: center; gap: 8px; }
.tb-sec h3 small { background: #ede9fe; color: #6d28d9; border-radius: 99px; padding: 1px 10px; font-size: 13px; }
.tb-sec h4 { font-size: 15px; font-weight: 800; color: #5b21b6; margin: 14px 0 8px; scroll-margin-top: 8px; }
.tb-now { background: linear-gradient(135deg, rgba(250,204,21,.18), rgba(249,115,22,.12)); border: 2px dashed #fbbf24; border-radius: 18px; padding: 4px 12px 12px; }
.tb-prog { display: block; height: 6px; background: #ede9fe; border-radius: 99px; overflow: hidden; margin-bottom: 4px; }
.tb-prog u { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #06b6d4); border-radius: 99px; }
.tb-stlock, .tb-ulock p, .tb-lockhint, .tb-empty { color: #7c7a9c; font-weight: 700; font-size: 14px; }
.tb-stlock { margin: 10px 0; padding: 10px 14px; background: repeating-linear-gradient(-45deg, #f4f3fb, #f4f3fb 10px, #ecebf7 10px, #ecebf7 20px); border-radius: 14px; }
.tb-ulock { background: #f4f3fb; border-radius: 18px; padding: 4px 14px 2px; opacity: .85; }
.tb-ulock h3 { color: #7c7a9c; }

.tb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tb-card {
  position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: right; gap: 2px; padding: 0 0 10px;
  background: #fff; border: 2px solid #ece9fb; border-radius: 16px; overflow: hidden; cursor: pointer; font-family: inherit; color: inherit;
  box-shadow: 0 3px 10px rgba(76,29,149,.06); transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: tbCard .45s calc(var(--d, 0) * 30ms) cubic-bezier(.3,1.3,.5,1) both;
}
@keyframes tbCard { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.tb-card:hover, .tb-card:focus-visible { transform: translateY(-4px); border-color: #a78bfa; box-shadow: 0 12px 24px rgba(124,58,237,.18); outline: none; }
.tc-img { width: 100%; height: 96px; object-fit: cover; background: #f4f3fb; display: block; }
.tc-img.emo { display: grid; place-items: center; font-size: 48px; background: linear-gradient(135deg, #f5f3ff, #e0f2fe); }
.tc-t { padding: 6px 10px 0; font-weight: 800; font-size: 15px; line-height: 1.25; }
.tc-en { padding: 0 10px; font-size: 12px; color: #7c7a9c; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-new { position: absolute; top: 6px; right: 6px; background: #e11d48; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; box-shadow: 0 3px 8px rgba(225,29,72,.4); animation: tbPop 1.6s ease-in-out infinite; }
@keyframes tbPop { 50% { transform: scale(1.12); } }
.tb-card mark, .tb-body mark { background: #fde047; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- ערך ---------- */
.tb-entry { display: flex; flex-direction: column; min-height: 100%; }
.tb-entry.in-next { animation: tbInNext .4s cubic-bezier(.3,1.1,.5,1) both; }
.tb-entry.in-prev { animation: tbInPrev .4s cubic-bezier(.3,1.1,.5,1) both; }
@keyframes tbInNext { from { opacity: 0; transform: translateX(-48px) rotateY(8deg); } }
@keyframes tbInPrev { from { opacity: 0; transform: translateX(48px) rotateY(-8deg); } }
.te-back { align-self: flex-start; border: 0; background: none; color: #6d28d9; font: 800 14px "Assistant", sans-serif; cursor: pointer; padding: 4px 0 10px; }
.te-back:hover { text-decoration: underline; }
.te-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 22px; align-items: start; flex: 1; }
.te-media { position: sticky; top: 0; }
.te-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; box-shadow: 0 18px 40px -12px rgba(76,29,149,.35); background: #fff; animation: tbImg .6s cubic-bezier(.3,1.3,.5,1) both; }
.te-img.emo { display: grid; place-items: center; font-size: clamp(80px, 14vmin, 150px); background: linear-gradient(135deg, #ede9fe, #e0f2fe); }
@keyframes tbImg { from { transform: scale(.85) rotate(-3deg); opacity: 0; } }
.te-crumb { display: inline-block; background: #ede9fe; color: #5b21b6; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 3px 12px; }
.te-txt h2 { font-family: "Rubik", sans-serif; font-size: clamp(26px, 4vmin, 38px); font-weight: 900; color: #312e81; margin: 10px 0 0; line-height: 1.1; }
.te-en { color: #7c3aed; font-weight: 800; font-size: 15px; text-align: right; margin-top: 4px; }
.te-en { unicode-bidi: plaintext; }
.te-tx { font-size: 18px; line-height: 1.65; margin: 14px 0; }
.te-tx b { color: #6d28d9; }
.te-ex { background: #fffbeb; border-right: 5px solid #f59e0b; border-radius: 12px; padding: 10px 14px; font-size: 16px; line-height: 1.55; }
.te-ex.code { border-right: 0; border-left: 5px solid #22c55e; background: #0f172a; color: #a7f3d0; text-align: left; }
.te-ex.code code { font: 600 16px/1.5 "Consolas", "Courier New", monospace; background: none; color: inherit; padding: 0; }
.te-see { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.te-see b { font-size: 14px; color: #4c1d95; margin-left: 4px; }
.te-see button, .te-see .lk { border: 2px solid #c4b5fd; background: #fff; color: #5b21b6; border-radius: 99px; padding: 4px 12px; font: 700 14px "Assistant", sans-serif; cursor: pointer; transition: all .2s; }
.te-see button:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.te-see .lk { cursor: default; border-style: dashed; color: #9a98b8; border-color: #ddd; }
.te-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 12px; border-top: 2px solid #ece9fb; }
.te-nav span { font-family: "Rubik", sans-serif; font-weight: 800; color: #6b6893; }
.te-nav button { border: 0; border-radius: 99px; padding: 10px 20px; font: 800 15px "Assistant", sans-serif; cursor: pointer; background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; box-shadow: 0 6px 16px rgba(124,58,237,.3); transition: transform .2s; }
.te-nav button:hover:not(:disabled) { transform: translateY(-2px); }
.te-nav button:disabled { opacity: .35; cursor: default; box-shadow: none; }

@media (max-width: 699px) {
  .tb-front { padding: 8px; }
  .tb-head { gap: 8px; padding: 2px 10px 8px; }
  .tb-title > span { font-size: 24px; }
  .tb-title b { font-size: 18px; }
  .tb-search { order: 3; flex-basis: 100%; }
  .tb-x { margin-inline-start: auto; }
  .tb-tabs { padding: 0 10px 8px; }
  .tb-tabs button span { display: none; }
  .tb-tabs button[data-u="all"] span { display: inline; }
  .tb-body { padding: 4px 10px 16px; }
  .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-img { height: 78px; }
  .te-grid { grid-template-columns: 1fr; gap: 12px; }
  .te-media { position: static; }
  .te-img { aspect-ratio: 16 / 9; }
  .te-tx { font-size: 17px; }
  .tb-cam, .tb-home { display: none; }
  body.has-tablet { padding-bottom: 84px; }
}
@media print { .tb-root { display: none; } }

/* ---- סוללה (אמצעי עזר מוגבלים בבחינה) ---- */
.tb-ebatt { position: absolute; top: 2.2cqmin; left: 2.6cqmin; z-index: 6; display: flex; align-items: center; gap: 1.2cqmin; color: #fff; font: 800 4.2cqmin "Rubik", sans-serif; direction: ltr; pointer-events: none; }
.tb-ebatt i { position: relative; width: 11cqmin; height: 5.4cqmin; border: .7cqmin solid currentColor; border-radius: 1.2cqmin; padding: .5cqmin; display: block; }
.tb-ebatt i::after { content: ""; position: absolute; right: -1.8cqmin; top: 1.3cqmin; width: 1cqmin; height: 2cqmin; background: currentColor; border-radius: 0 .6cqmin .6cqmin 0; }
.tb-ebatt b { display: block; height: 100%; border-radius: .5cqmin; background: #4ade80; transition: width .8s cubic-bezier(.3,1.4,.5,1); }
.tb-root.tb-low .tb-ebatt b { background: #f59e0b; animation: tbBlink 1.2s ease-in-out infinite; }
.tb-root.tb-dead .tb-ebatt { color: #f87171; }
.tb-root.tb-dead .tb-ebatt b { width: 0 !important; }
.tb-deadmsg { position: absolute; inset: 0; z-index: 5; display: grid; place-content: center; text-align: center; gap: 1cqmin; background: radial-gradient(circle at 50% 40%, #1f1b2e, #050409); color: #fca5a5; font-size: 16cqmin; animation: tbDead 2.4s ease-in-out infinite; }
.tb-deadmsg b { font: 800 6cqmin "Rubik", sans-serif; color: #fff; }
.tb-deadmsg small { font: 600 3.6cqmin "Assistant", sans-serif; color: #94a3b8; }
.tb-root.booted .tb-deadmsg { display: none; }
/* hidden חייב לגבור על display:flex/grid — אחרת "הסוללה נגמרה" מופיע תמיד, גם בלי מגבלת טאבלט */
.tb-ebatt[hidden], .tb-deadmsg[hidden] { display: none !important; }
@keyframes tbBlink { 50% { opacity: .35; } }
@keyframes tbDead { 50% { filter: brightness(.6); } }

/* בבחינה עם טאבלט מוגבל: השאלה שממנה נפתח הטאבלט, בראש המסך */
.tb-qhead { margin: 0 10px 6px; padding: 8px 12px; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #431407; font-size: .88rem; line-height: 1.5; max-height: 30vh; overflow: auto; }
.tb-qhead b.tq-n { color: #c2410c; }
.tb-qhead ol { margin: 4px 0 0; padding-inline-start: 20px; }
