/* עמוד הניהול (מ-2026-11-20): רצועת זמן מימין · עכשיו + לשוניות במרכז · תצוגה ומוזיקה משמאל. גופן Heebo */
.admin, .admin button, .admin input, .admin select, .admin textarea, .login-page, .login-page button, .login-page input {
  font-family: 'Heebo', 'Segoe UI', Arial, sans-serif;
}
.admin h1, .admin h2, .admin h3 { font-family: 'Heebo', 'Segoe UI', Arial, sans-serif; }
.admin .app-head h1 { font-weight: 800; font-size: 22px; }
.admin .app-head { max-width: 1600px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.admin .card h2 { font-size: 19px; font-weight: 700; }
.admin .card h3 { font-weight: 700; }

.admin-layout {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) minmax(360px, 440px);
  gap: 18px; max-width: 1600px; margin: 16px auto 0; align-items: start;
}
.timeline, .admin .side { position: sticky; top: 12px; max-height: calc(100dvh - 24px); overflow: auto; }
@media (max-width: 1180px) {
  .admin-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .admin .side { grid-column: 1 / -1; position: static; max-height: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 760px) {
  .admin-layout { grid-template-columns: 1fr; }
  .timeline { position: static; }
  .admin .side { grid-template-columns: 1fr; }
}

/* ---------- רצועת זמן ---------- */
.timeline { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px; }
.timeline h2 { margin: 0 0 14px; font-size: 14px; color: var(--muted); font-weight: 500; font-family: inherit; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 30px 18px 0; display: flex; flex-direction: column; color: var(--muted); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; right: 7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #4a4256; background: #15111d; z-index: 1; }
.timeline li::after { content: ''; position: absolute; right: 13px; top: 18px; bottom: -2px; width: 2px; background: #352e40; }
.timeline li:last-child::after { display: none; }
.timeline li b { font-weight: 500; }
.timeline li span { font-size: 12px; }
.timeline li.done { color: var(--ink-soft); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.done::after { background: var(--gold); opacity: .55; }
.timeline li.now { color: var(--ink); }
.timeline li.now b { color: var(--gold); font-size: 16px; font-weight: 700; }
.timeline li.now::before { width: 18px; height: 18px; right: 4px; top: 1px; background: var(--gold); border-color: #fff3d0; box-shadow: 0 0 14px rgba(240, 196, 106, .8); }

/* ---------- תצוגת מציגה (מצב הדרכה) ---------- */
.presenter { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; align-items: start; }
.pv span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.pv .slide-frame { border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); }
.pv-cur .slide-frame { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(240, 196, 106, .3); }
.pv-next { opacity: .85; }
.presenter-nav .big { min-width: 130px; }
.pv-timer { font-size: 16px; color: var(--gold); margin-inline-start: 6px; }
.pv-notes { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 12px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-height: 160px; overflow: auto; }
.pv-notes b { color: var(--gold); }

/* ---------- שורת מצבים: קבלת פנים / הדרכה / משחק ---------- */
.mode-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.admin .mode-bar button { min-height: 52px; font-size: 18px; font-weight: 700; border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--ink-soft); }
.admin .mode-bar button[aria-pressed="true"] { background: linear-gradient(180deg, #f4cf7b, #c9953d); color: #23170a; border-color: transparent; box-shadow: 0 0 18px rgba(240, 196, 106, .35); }
.admin .mode-bar button[aria-pressed="true"]::after { content: 'על המסך'; font-size: 11px; font-weight: 500; margin-inline-start: 8px; padding: 1px 7px; border-radius: 99px; background: rgba(35, 23, 10, .18); }
body.admin[data-mode="welcome"] .timeline, body.admin[data-mode="training"] .timeline { opacity: .45; }

/* ---------- עכשיו ---------- */
.now-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.now-head { display: flex; gap: 16px; align-items: center; }
.now-head .qr-small { width: 92px; height: 92px; }
.now-head p { margin: 0; }
.now-head .code { font-size: 30px; }
.now-title { font-size: 13px; color: var(--muted); }
.now-title b { color: var(--gold); font-weight: 700; }
.now-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.now-note { margin: 0; font-size: 13px; color: var(--muted); }
.now-progress { display: flex; gap: 4px; align-items: center; }
.now-progress i { width: 18px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.now-progress i.on { background: var(--gold); box-shadow: 0 0 6px rgba(240, 196, 106, .7); }

/* ---------- לשוניות ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, .09); margin: 10px 0 14px; overflow-x: auto; }
.admin .tabs button { border: none; background: none; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 16px; font-size: 16px; color: var(--muted); min-height: 44px; white-space: nowrap; }
.admin .tabs button:hover:not(:disabled) { background: rgba(255, 255, 255, .04); }
.admin .tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); font-weight: 700; background: none; }

/* ---------- צד שמאל ---------- */
.admin .side { display: flex; flex-direction: column; gap: 12px; }
.admin .side .card { margin: 0; }
.preview-frame { position: relative; }
.preview-lbl { position: absolute; top: 8px; right: 8px; font-size: 11px; background: rgba(0, 0, 0, .6); padding: 2px 8px; border-radius: 99px; color: var(--ink-soft); }
.preview-card .row { margin-top: 10px; }
.preview-card .row > * { flex: 1; }

/* נגן מוזיקה בצד */
.music-card { display: flex; flex-direction: column; gap: 10px; }
.m-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m-head h2 { margin: 0 !important; font-size: 17px !important; }
.m-tag { font-size: 12px; padding: 2px 9px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: var(--ink-soft); white-space: nowrap; }
.m-tag.on { background: rgba(110, 220, 170, .12); color: #9fe8c6; }
.m-tag.warn { background: rgba(255, 170, 80, .15); color: #ffc58a; white-space: normal; }
.m-row { display: flex; align-items: center; gap: 8px; }
.m-row select { flex: 1; min-width: 0; }
.m-row input[type=range] { flex: 1; min-width: 0; accent-color: var(--gold); }
.admin .m-row button { min-height: 34px; padding: 0 10px; }
.admin .m-row .m-play { min-width: 44px; font-size: 17px; }
.t-mono { font-variant-numeric: tabular-nums; direction: ltr; font-size: 13px; }
.warn-text { color: #ffb36b; }

/* ---------- טפסים (מוזיקה ומדיה, הגדרות) ---------- */
.admin select, .admin input[type=text], .admin input[type=number], .admin textarea {
  background: #120e18; color: var(--ink); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 7px 10px; font-size: 15px;
}
.admin input:focus-visible, .admin select:focus-visible, .admin textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.admin textarea { width: 100%; min-height: 64px; resize: vertical; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
@media (max-width: 900px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 13px; color: var(--ink-soft); }
.field input[type=text] { width: 100%; }
.field.changed input, .field.changed textarea { border-color: rgba(240, 196, 106, .5); }

details.sec { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
details.sec > summary { cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary::after { content: '▾'; color: var(--muted); }
details.sec[open] > summary::after { content: '▴'; }
details.sec[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, .07); }
details.sec .in { padding: 14px 16px; }
.sec-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.admin button.link { background: none; border: none; color: var(--muted); text-decoration: underline; min-height: 0; padding: 4px; font-size: 13px; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); text-align: start; vertical-align: middle; }
.tbl th { color: var(--muted); font-weight: 500; font-size: 13px; }
.tbl input[type=text] { width: 100%; min-width: 120px; }
.tbl input.time { width: 76px; text-align: center; direction: ltr; }
.tbl td.actions { white-space: nowrap; text-align: end; }
.admin .tbl button { min-height: 34px; padding: 0 10px; font-size: 14px; }
.tbl tr.playing td:first-child { box-shadow: inset -3px 0 0 var(--gold); }

.team-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.4fr) 56px; gap: 8px; align-items: center; margin-bottom: 8px; }
.hint-task { margin-bottom: 16px; }
.hint-task h3 { margin: 0 0 6px; font-size: 15px; }
.hint-vers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.hint-vers textarea { width: 100%; min-height: 4.5em; resize: vertical; line-height: 1.5; }
.team-row .sw { width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); }
.team-row input[type=color] { width: 52px; height: 36px; padding: 2px; background: #120e18; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; cursor: pointer; }
.team-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.4fr) 56px; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }

.bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bg { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .2); }
.bg .im { aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; position: relative; }
.bg .cap { padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bg .cap label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.bg .cap input[type=range] { flex: 1; accent-color: var(--gold); }

.media-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .media-cards { grid-template-columns: 1fr; } }
.file-name { font-size: 13px; color: var(--ink-soft); word-break: break-all; margin: 0 0 8px; }
.upload-progress { font-size: 13px; color: var(--gold); }
.hidden-input { display: none; }

.toast.ok { background: #183427; border-color: rgba(110, 220, 170, .5); color: #c9f5df; }
.ctl-more > summary { cursor: pointer; color: var(--ink-soft); font-size: 14px; padding: 6px 0; }
/* בחירת גופן ליד כל טקסט */
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin select.font-pick { font-size: 13px; padding: 3px 6px; max-width: 150px; color: var(--ink-soft); }
.field input[type=text], .field textarea { font-size: 16px; }

/* ---------- לשונית "מצגת" (js/slidesui.js) ---------- */
.sl-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 12px; align-items: start; }
@media (max-width: 900px) { .sl-layout { grid-template-columns: 1fr; } }
.sl-list-card { position: sticky; top: 12px; max-height: calc(100dvh - 24px); overflow: auto; }
.sl-add { display: flex; gap: 6px; margin-bottom: 10px; }
.sl-add select { flex: 1; min-width: 0; }
.sl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sl-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; }
.sl-item:hover { background: rgba(255, 255, 255, .04); }
.sl-item.sel { border-color: var(--gold); background: rgba(240, 196, 106, .08); }
.sl-thumb { position: relative; }
.sl-thumb .slide-frame { border-radius: 6px; pointer-events: none; }
.sl-live { position: absolute; top: 3px; right: 3px; font-size: 10px; background: var(--gold); color: #23170a; border-radius: 99px; padding: 0 6px; font-weight: 700; }
.sl-meta { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.sl-meta b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sl-meta span { color: var(--muted); font-size: 12px; }
.sl-ops { display: flex; flex-direction: column; gap: 2px; }
.admin .sl-ops button { min-height: 22px; min-width: 26px; padding: 0; font-size: 10px; }
.sl-editor { display: flex; flex-direction: column; gap: 12px; }
.sl-editor-head { display: flex; gap: 10px; align-items: flex-end; }
.sl-preview .slide-frame { border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); max-width: 720px; }

/* משימת הנר התשיעי, בקשות הצטרפות וברקוד גדול */
.app-page button.qr-btn { padding: 0; min-height: 0; border: 0; background: none; border-radius: 10px; cursor: zoom-in; }
.pending-card { border-color: rgba(255, 170, 80, .55); background: rgba(255, 170, 80, .06); }
.pending-card .plist .seg { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.warn-inline { color: #ffc58a; }
.plist.compact li { padding: 2px 6px; font-size: 14px; }
.plist.compact button.x { min-height: 26px; min-width: 26px; }
.qr-modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 4, 10, .85); display: grid; place-items: center; cursor: zoom-out; }
.qr-modal .in { text-align: center; background: #1b1716; border: 1px solid rgba(240, 196, 106, .4); border-radius: 20px; padding: 24px; }
.qr-modal img { width: min(70vmin, 520px); height: auto; border-radius: 14px; background: #fff8e8; padding: 8px; }
.qr-modal p { margin: 10px 0 0; font-size: 20px; }
.qr-modal b { color: var(--gold); letter-spacing: .1em; }

/* ---------- לשונית "משתתפים וטלפונים" ---------- */
.ph-group { margin-bottom: 14px; }
.ph-group h3 { margin: 0 0 8px; padding-inline-start: 10px; border-inline-start: 4px solid var(--c); color: var(--ink); }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.ph-card { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.ph-card.off { opacity: .55; }
.ph-card.is-solved { box-shadow: inset 0 0 0 1px rgba(120, 220, 150, .45); }
.ph-card header { display: flex; align-items: center; gap: 6px; }
.ph-card header b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.ph-card .dot { width: 10px; height: 10px; border-radius: 50%; background: #5fd07e; box-shadow: 0 0 8px #5fd07e; flex: none; }
.ph-card.off .dot { background: #777; box-shadow: none; }
.ph-screen { margin: 0; font-weight: 700; color: var(--gold); }
.ph-detail { margin: 0; font-size: 13px; color: var(--ink-soft); }
.ph-card .wk-mirror { align-self: center; }
.ph-modal { position: fixed; inset: 0; z-index: 90; background: rgba(5, 4, 10, .78); display: grid; place-items: center; padding: 16px; }
.ph-modal .in { width: min(760px, 100%); max-height: 94vh; overflow: auto; background: #1b1716; border: 1px solid rgba(240, 196, 106, .35); border-radius: 18px; padding: 16px 18px; }
.ph-modal header { display: flex; align-items: center; justify-content: space-between; }
.ph-modal h2 { margin: 0; }
.ph-help { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin: 10px 0; }
.ph-tools { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 8px; }
.ph-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.app-page .ph-pick button { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 12px; min-height: 0; }
.app-page .ph-pick button.on { border-color: var(--gold); color: var(--gold); }
.ok-inline { color: #8be0a4; font-weight: 700; margin: 0; }

/* מתג "גישה מהאינטרנט" בראש עמוד הניהול */
.admin .ext-toggle { border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13px; border: 1px solid #6b5a3e; background: #241d14; color: #d8c8a8; cursor: pointer; }
.admin .ext-toggle[aria-pressed="true"] { background: #1f5a2e; border-color: #3fa35a; color: #eaffef; }

/* אוריה: טבלת המשפטים בלשונית "מוזיקה ומדיה" */
.uriya-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.uriya-table th, .uriya-table td { text-align: start; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.uriya-table th { font-weight: 500; opacity: .7; font-size: .9em; }

/* ---------- שמונה המשימות (riddlesui.js) ---------- */
.rd-team { display: inline-flex; align-items: center; gap: 5px; }
.rd-team::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.rd-alerts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 8px; }
.rd-alert { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-radius: 10px; line-height: 1.5; }
.rd-alert.env { background: rgba(240, 196, 106, .14); border: 1px solid rgba(240, 196, 106, .55); }
.rd-alert.hint { background: rgba(140, 180, 255, .12); border: 1px solid rgba(140, 180, 255, .45); }
.rd-alert button { margin-inline-start: auto; }
.rd-alert button + button { margin-inline-start: 0; }
.rd-rows { display: flex; flex-direction: column; gap: 10px; }
.rd-row { border: 1px solid var(--line); border-inline-start: 5px solid var(--c); border-radius: 12px; padding: 10px 12px; }
.rd-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rd-status { font-size: 14px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.rd-status.envelope { background: rgba(240, 196, 106, .2); color: var(--gold); font-weight: 700; }
.rd-status.done { background: rgba(110, 220, 170, .14); color: #9fe8c6; }
.rd-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 4px; font-size: 14px; }
.rd-chip { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.rd-chip.done { color: #9fe8c6; border-color: rgba(110, 220, 170, .4); }
.rd-chip.now { color: var(--ink); border-color: var(--gold); }
.rd-arrow { color: var(--muted); font-size: 12px; }
.rd-plan { margin: 6px 0; padding-inline-start: 20px; line-height: 1.8; }
.rd-plan a { color: var(--gold); }
.now-note .rd-alerts { margin-bottom: 8px; }
.rd-alert { font-size: 15px; font-style: normal; }
.rd-alert i { display: block; width: 100%; font-style: normal; color: var(--muted); font-size: 14px; }
.rd-alerts, .rd-card { font-family: 'Heebo', var(--sans, sans-serif); }
/* מנורת שבעת הקנים בעמוד הניהול */
.lm-admin { margin: 6px 0 0; }
.lm-admin summary { cursor: pointer; font-size: 14px; }
.lm-dots { display: inline-flex; gap: 3px; vertical-align: middle; }
.lm-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lm-dots i.on { background: #ffb347; box-shadow: 0 0 6px #ffb347; }
.lm-map { margin: 6px 0; padding-inline-start: 18px; line-height: 1.7; font-size: 14px; }
.lm-map svg, .lm-admin p svg { vertical-align: middle; color: var(--gold); }

/* ---------- בקרה חיה (2026-11-30) ---------- */
.tab-badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-inline-start: 4px; border-radius: 999px; background: #8a6a2a; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.tab-badge.urgent { background: #c0392b; box-shadow: 0 0 0 0 rgba(231, 76, 60, .7); animation: lv-pulse 1.6s infinite; }
@keyframes lv-pulse { 70% { box-shadow: 0 0 0 7px rgba(231, 76, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); } }
.lv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 14px; align-items: start; }
@media (max-width: 1100px) { .lv { grid-template-columns: 1fr; } .lv-alerts-card { order: -1; } }
.lv h3 { margin: 0; font-size: 17px; }
.lv-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.lv-alerts-card { position: sticky; top: 10px; max-height: calc(100vh - 20px); overflow: auto; }
.lv-team { color: var(--c); font-weight: 700; }
.lv-st.ok { color: #7fdca8; } .lv-st.idle { color: #f2c35a; } .lv-st.off { color: #ff7b6b; } .lv-st.away { color: #f0a35a; } .lv-st.none, .lv-st.demo { color: var(--muted); }

.lv-row { border: 1px solid rgba(255, 255, 255, .08); border-inline-start: 4px solid var(--c, #666); border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; background: rgba(255, 255, 255, .02); }
.lv-row-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lv-row-h .lv-team { font-size: 18px; }
.lv-status { flex: 1; color: var(--ink-soft); font-size: 14px; }
.lv-timer { font-variant-numeric: tabular-nums; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 15px; }
.lv-timer.yellow { background: rgba(242, 195, 90, .2); color: #f2c35a; }
.lv-timer.red { background: rgba(231, 76, 60, .25); color: #ff8b7b; }
.lv-stations { list-style: none; display: flex; gap: 4px; padding: 0; margin: 10px 0 8px; flex-wrap: wrap; }
.lv-stations li { display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 13px; }
.lv-stations li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 11px; font-weight: 700; }
.lv-stations li b { font-weight: 500; }
.lv-stations li.done { color: var(--ink-soft); } .lv-stations li.done span { background: var(--c, var(--gold)); color: #111; }
.lv-stations li.cur { background: color-mix(in srgb, var(--c, var(--gold)) 22%, transparent); color: var(--ink); outline: 1px solid var(--c, var(--gold)); }
.lv-stations li.cur b { font-weight: 700; }
.lv-stations li.env { background: rgba(242, 195, 90, .18); color: #f2c35a; outline: 1px dashed #f2c35a; }
.lv-people { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.admin .lv-p { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: var(--ink); }
.lv-p .dot { width: 10px; height: 10px; border-radius: 50%; background: #666; flex: none; }
.lv-p.ok .dot { background: #4cd38a; box-shadow: 0 0 6px rgba(76, 211, 138, .7); }
.lv-p.idle .dot { background: #f2c35a; }
.lv-p.away .dot { background: #f0a35a; }
.admin .lv-p.off { border-color: rgba(255, 110, 90, .6); background: rgba(231, 76, 60, .12); }
.lv-p.off .dot { background: #ff5a45; animation: lv-blink 1s steps(2) infinite; }
.lv-p.demo, .lv-p.none { opacity: .65; }
.admin .lv-p.sel { outline: 2px solid var(--gold); }
.lv-p small { font-size: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes lv-blink { 50% { opacity: .25; } }
.lv-pp { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(240, 196, 106, .08); border: 1px solid rgba(240, 196, 106, .35); display: flex; flex-direction: column; gap: 8px; }

.lv-compose { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.lv-compose label { display: flex; align-items: center; gap: 8px; }
.lv-compose select { min-width: 220px; }
.lv-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.admin .lv-quick button { font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.lv-send-row { display: flex; gap: 8px; align-items: stretch; }
.lv-send-row textarea { flex: 1; resize: vertical; font: inherit; }
.lv-sent { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.lv-sent li { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-size: 14px; }
.lv-sent li.cancelled { opacity: .5; text-decoration: line-through; }
.lv-read { margin-inline-start: 6px; font-size: 13px; color: #f2c35a; }
.lv-read.all { color: #7fdca8; }
.lv-cfg-body { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 14px; }
.lv-cfg-body input { width: 64px; }

.lv-alerts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lv-alert { border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .04); border-inline-start: 4px solid #888; }
.lv-alert.urgent { border-color: #e74c3c; background: rgba(231, 76, 60, .12); }
.lv-alert.warn { border-color: #f2c35a; background: rgba(242, 195, 90, .09); }
.lv-alert.info { border-color: #6aa8f0; }
.lv-a-top { display: flex; gap: 8px; align-items: flex-start; }
.lv-a-top .ic { font-size: 18px; line-height: 1.3; }
.lv-a-top p { margin: 0; flex: 1; font-size: 14px; line-height: 1.45; }
.admin .lv-a-top .x { padding: 0 6px; background: none; border: 0; color: var(--muted); font-size: 14px; }
.lv-a-bot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.lv-a-bot .muted { margin-inline-end: auto; }
.admin .lv-a-bot button { font-size: 13px; padding: 4px 10px; }
.lv-none { color: var(--muted); text-align: center; padding: 18px 0; }

.live-pops { position: fixed; top: 14px; left: 14px; z-index: 60; display: flex; flex-direction: column; gap: 8px; width: min(360px, calc(100vw - 28px)); }
.admin .live-pop { display: flex; gap: 10px; align-items: flex-start; text-align: start; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--ink); background: #241c2e; border: 1px solid rgba(255, 255, 255, .15); border-inline-start: 5px solid #f2c35a; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: lv-pop-in .3s ease-out; transition: opacity .4s, transform .4s; cursor: pointer; }
.admin .live-pop.urgent { border-inline-start-color: #e74c3c; }
.live-pop.out { opacity: 0; transform: translateY(-8px); }
@keyframes lv-pop-in { from { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .tab-badge.urgent, .lv-p.off .dot, .admin .live-pop { animation: none; } }
.lv-pp .row { display: flex; flex-wrap: wrap; gap: 6px; }
.admin .lv-pp .row button { flex: 0 0 auto; width: auto; white-space: nowrap; font-size: 13px; padding: 5px 10px; }

/* חלון התראות קטן בצד, מחוץ ללשוניות */
.live-mini { padding: 10px 12px; }
.live-mini.has-urgent { box-shadow: 0 0 0 2px rgba(231, 76, 60, .55); }
.lvm-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lvm-n { min-width: 20px; padding: 0 6px; border-radius: 10px; background: #f2c35a; color: #1a1420; font-size: 12px; font-weight: 700; text-align: center; }
.lvm-n.urgent { background: #e74c3c; color: #fff; }
.admin .lvm-open, .admin .lvm-more { margin-inline-start: auto; padding: 2px 6px; background: none; border: 0; color: var(--muted); font-size: 12px; cursor: pointer; }
.admin .lvm-more { display: block; margin: 6px auto 0; }
.live-mini ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.live-mini .lv-alert { padding: 8px 10px; }
.live-mini .lv-a-top p { font-size: 13px; cursor: pointer; }
.live-mini .lv-a-top .ic { font-size: 15px; }
.lvm-none { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }

/* סוג ההודעה לטלפונים */
.lv-style { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.admin .lv-style button { font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.admin .lv-style button[aria-pressed="true"] { background: var(--gold); color: #23170a; border-color: var(--gold); font-weight: 700; }

/* החותם של המשתתף בלשונית "טלפונים" */
.ph-seal { display: inline-flex; vertical-align: middle; margin-inline-end: 4px; }
.ph-seal img { border-radius: 50%; display: block; }

/* הפסקה במשחק (2026-12-02) */
.admin .pause-toggle { border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 13px; border: 1px solid #6b5a3e; background: #241d14; color: #f0d9a8; cursor: pointer; }
.admin .pause-toggle[aria-pressed="true"] { background: #7a2e1c; border-color: #e0734f; color: #fff2ea; animation: pause-pulse 1.6s ease-in-out infinite; }
@keyframes pause-pulse { 50% { box-shadow: 0 0 0 4px rgba(224, 115, 79, .3); } }
.pause-banner { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(224, 115, 79, .14); border: 2px solid #e0734f; }
.pause-banner b { display: block; font-size: 19px; color: #ffb69c; margin-bottom: 2px; }
.pause-banner span { font-size: 13.5px; color: var(--ink-soft, #cfc3ad); }
@media (prefers-reduced-motion: reduce) { .admin .pause-toggle[aria-pressed="true"] { animation: none; } }

/* עמוד הכניסה: הלוגו מעל הכרטיס, עם מרווח */
.login-head { padding: 28px 0 18px; }
