/* Mini App: заявки ведущему: хотбар, лист заявки, цели. */
/* ---------- заявки (D4): строки хотбара, лист заявки, цели, реакция ---------- */
.list .entry.act { display: flex; align-items: center; gap: 8px; padding: 10px 8px 10px 12px; min-height: 52px; cursor: pointer; border-bottom: 1px solid var(--line); }
.list .entry.act:last-child { border-bottom: 0; }
.entry.act .body { flex: 1; min-width: 0; }
.entry.act > .i { color: var(--parch-dim); flex: none; }
.entry.act:active { background: #ffcf6b10; }
.asheet { z-index: 39; max-height: 88dvh; }
.asheet .hd b { display: flex; align-items: center; gap: 6px; min-width: 0; }
.asheet .hd .x { width: 44px; height: 44px; display: grid; place-items: center; color: var(--parch-dim); }
.asheet .lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ochre); font-weight: 700; margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.asheet .lbl .opt-n { margin-left: auto; color: var(--parch-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.asheet .short { color: var(--parch-dim); font-size: 13px; }
.asheet .warn { color: var(--danger-soft); font-size: 13px; margin-top: 6px; }
.tlist { display: flex; flex-direction: column; gap: 6px; }
.tgt { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--night-2); text-align: left; width: 100%; }
.tgt .dot2 { width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--parch-dim)); flex: none; }
.tgt .nm2 { flex: 1; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tgt .ch { font-size: 12px; color: var(--parch-dim); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tgt .ch.hp { color: var(--danger-soft); }
.tgt .ok { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--parch-dim); display: grid; place-items: center; color: transparent; flex: none; }
.tgt[aria-pressed="true"] { border-color: var(--candle); background: #ffcf6b14; }
.tgt[aria-pressed="true"] .ok { background: var(--ochre); border-color: var(--candle); color: var(--ink); }
.tgt.down { opacity: .55; }
.tgt[disabled] { opacity: .4; cursor: not-allowed; }
.tgt .ch.far { color: var(--candle); border-color: var(--ochre); }
.tsub { margin: 6px 2px 0; font-size: 12px; color: var(--parch-dim); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { min-height: 44px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--night-2); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.pill small { color: var(--parch-dim); font-size: 12px; }
.pill[aria-pressed="true"] { background: var(--ochre); color: var(--ink); border-color: var(--candle); font-weight: 700; }
.pill[aria-pressed="true"] small { color: var(--ink); }
.pill:disabled { opacity: .4; }
.cellpick { display: flex; align-items: center; gap: 10px; }
.cellpick b { font: 700 20px "Cormorant SC", serif; color: var(--candle); min-width: 48px; }
.asheet .go { position: relative; }
.asheet .go:disabled { filter: grayscale(1); opacity: .5; }
.asheet input.bd-in { width: 100%; height: auto; margin: 0; accent-color: auto; }
.asheet .foot { font-size: 12px; color: var(--parch-dim); text-align: center; margin-top: 6px; }
.qbtn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 14px; margin-bottom: 8px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--night-2); font-size: 15px; text-align: left; }
.qbtn .i { width: 20px; height: 20px; color: var(--candle); }
.qbtn .qi { flex: none; width: 34px; height: 34px; margin-left: -4px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgb(5 7 13 / .4); }   /* иконка действия; нет своей — значок по виду */
.qbtn .qi img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.qbtn small { margin-left: auto; color: var(--parch-dim); font-size: 12px; }
.qbtn.main { background: var(--ochre); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--ink); }
.qbtn.main .i, .qbtn.main small { color: var(--ink); }
.act-ev { align-self: flex-end; display: flex; gap: 8px; align-items: center; background: #2b2f22; border: 1px solid #5a6a3d; border-radius: var(--r-md); padding: 6px 6px 6px 12px; max-width: 94%; }
.act-ev.other { align-self: flex-start; background: #262b38; border-color: var(--line); }
.act-ev .who { display: block; font-size: 12px; color: var(--ochre); font-weight: 700; }
.act-ev.cancelled span, .bubble.cancelled .txt { opacity: .45; text-decoration: line-through; }
.bubble .x { float: right; margin: -4px -6px 0 8px; display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: var(--r-sm); color: var(--parch-dim); }
.x .i { width: 16px; height: 16px; }
/* крестик отмены рисуется 36px, а ловит палец на 44px */
.roll-ev .x, .act-ev .x, .bubble .x { position: relative; }
.roll-ev .x::after, .act-ev .x::after, .bubble .x::after { content: ""; position: absolute; inset: -4px; }
.near-ev .near-go::after { content: ""; position: absolute; inset: -4px 0; }   /* палец: 44 px, ряд ленты не растёт */
.fchips button::after { content: ""; position: absolute; inset: -7px -2px; }
.react-card { border: 2px solid var(--candle); background: linear-gradient(180deg, #3a2f1c, #2b2433); border-radius: var(--r-lg); padding: 10px 12px 12px; margin-bottom: 8px; box-shadow: 0 0 0 4px #ffcf6b1a; }
.react-card .rt { display: flex; align-items: center; gap: 6px; font: 700 20px "Cormorant SC", serif; color: var(--candle); }
.react-card .rx { font-size: 13px; color: var(--parch-dim); margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.react-card .rb { display: flex; flex-wrap: wrap; gap: 8px; }
.react-card button { flex: 1 1 140px; min-height: 52px; border-radius: var(--r-md); padding: 6px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--ochre); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; box-shadow: 0 3px 0 var(--ink); }
.react-card button small { font-weight: 400; font-size: 12px; }
.react-card button.no { background: var(--card); color: var(--parch); border-color: var(--line); box-shadow: none; flex: 0 1 120px; }
.react-card button:disabled { opacity: .5; }
.react-row { display: flex; align-items: center; gap: 8px; min-height: 36px; margin-bottom: 8px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--card); font-size: 13px; color: var(--parch-dim); }   /* ответ дан, ведущий ещё не разыграл: одна строка */
.react-row .i { width: 16px; height: 16px; color: var(--candle); flex: none; } .react-row b { color: var(--parch); }
.dock.reacting .gm-btn { display: none; }   /* бой стоит до ответа на реакцию: ответ сам уходит ведущему */
.pickbar { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 5; display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--night-3) 93%, transparent); border: 1px solid var(--candle); border-radius: var(--r-md); padding: 6px 6px 6px 12px; font-size: 15px; }
.pickbar span { flex: 1; min-width: 0; }
.mapbox .pickbar svg { position: static; width: 20px; height: 20px; }
.pickbar button { min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.pickbar button.ok { background: var(--ochre); color: var(--ink); border-color: var(--ink); font-weight: 700; }
.pick-cell { fill: var(--candle); fill-opacity: .25; stroke: var(--candle); stroke-width: 2; }
/* прицел (act.js paintPick): граница дальности, стрелка к цели с бегущими штрихами, клетки зоны по движку, обводка тех, кого заденет */
.pickbar.aim span { line-height: 1.25; } .pickbar.aim small { display: block; font-size: 12px; color: var(--parch-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickbar.aim button { flex: none; display: grid; place-items: center; padding: 0 12px; } .pickbar.aim button:disabled { opacity: .5; }
.aim-ring { fill: rgb(255 207 107 / .05); stroke: var(--candle); stroke-opacity: .55; stroke-width: 2; stroke-dasharray: 8 6; pointer-events: none; }
.aim-line { stroke: var(--candle); stroke-width: 3.5; stroke-linecap: round; pointer-events: none; } .aim-line.far { stroke: var(--side-foe); stroke-dasharray: 3 7; }
.aim-flow { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 14; pointer-events: none; animation: aimflow .7s linear infinite; }
@keyframes aimflow { to { stroke-dashoffset: -16; } }
.aim-head { fill: var(--candle); pointer-events: none; } .aim-head.far { fill: var(--side-foe); }
.aim-cell { fill: var(--hot); fill-opacity: .2; stroke: var(--hot); stroke-opacity: .65; stroke-width: 1.5; pointer-events: none; }
.tok.aimed .disc { stroke: var(--hot); stroke-width: 4.5; }
.gm.draft::after { content: ""; display: inline-block; width: 8px; height: 16px; margin-left: 3px; vertical-align: -2px; background: var(--wine); animation: blink 1s steps(2) infinite; }
.gm.draft { opacity: .92; }
.icon.mic.rec { background: var(--wine-2); border-color: var(--danger); color: var(--white-ish); animation: blink 1.2s ease-in-out infinite; }
.icon.mic.busy { opacity: .6; }
.compose .icon[hidden] { display: none; }

