/* Mini App: партия. */
/* ---------- партия ---------- */
.where { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.where .pin { color: var(--ochre); } .where .pin .i { width: 22px; height: 22px; }
details.where-d summary { font: 700 15px "PT Sans"; } details.where-d summary .i { color: var(--ochre); width: 20px; height: 20px; flex: none; }
details.where-d summary .prev { flex: 1; min-width: 0; font-weight: 400; color: var(--parch-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
details.where-d[open] summary .prev { display: none; }
details.where-d .where-b { padding: 0 14px 12px; text-wrap: pretty; }
.look-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.look-list .row { display: flex; gap: 10px; align-items: flex-start; }
.look-list .row img, .look-list .row .em { width: 34px; height: 34px; flex: none; object-fit: contain; }
.look-list .row b { display: block; } .look-list .row small { color: var(--parch-dim); }
.afk-b { display: inline-block; vertical-align: middle; padding: 1px 6px; border-radius: var(--r-sm); border: 1px solid var(--ochre); color: var(--ochre); font: 700 11px/1.4 "PT Sans"; letter-spacing: .04em; }
.afk-t { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin-top: 10px; padding: 6px 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--night-2); color: var(--parch-dim); font: 13px/1.25 "PT Sans"; text-align: left; }
.afk-t small { font-size: 12px; }
.afk-t[aria-pressed="true"] { border-color: var(--ochre); color: var(--parch); }
.hero-stats { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.hero-stats .hp { font: 700 15px "PT Sans"; color: var(--danger); font-variant-numeric: tabular-nums; min-width: 52px; }
.hero-stats .ac { flex: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 2px 8px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12px; background: var(--night-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px 8px; }
.chip.bad { border-color: var(--wine-2); color: var(--danger-soft); }
.chip.ok { color: var(--parch-dim); }
.cv-l { list-style: none; margin: 0; padding: 0 12px 6px; }
.cv-l li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.cv-l li:first-child { border-top: 0; }
.cv-i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; } .cv-i img { width: 40px; height: 40px; object-fit: contain; } .cv-i .em .i { width: 24px; height: 24px; }
.cv-t { flex: 1; min-width: 0; font-size: 14px; } .cv-t small { color: var(--parch-dim); font-size: 12px; } .cv-t .chip { margin-left: 6px; padding: 1px 6px; }
.cv-n { width: 104px; min-height: 44px; flex: none; padding: 0 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--night-2); color: var(--parch); font: 16px "PT Sans", sans-serif; }
.cv-nm { flex: none; max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--candle); }
.cv-ed { display: inline-flex; align-items: center; gap: 6px; max-width: 132px; min-height: 44px; padding: 0 4px 0 8px; border-radius: var(--r-sm); }
.cv-ed .i { width: 14px; height: 14px; flex: none; color: var(--parch-dim); } .cv-ed .ph { color: var(--parch-dim); font-size: 13px; }
.cv-ed:hover, .cv-ed:focus-visible { background: var(--night-2); }
.cv-l .xbtn { flex: none; }
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; overflow: hidden; }
summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; font: 700 17px "Cormorant SC", serif; color: var(--parch); cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "›"; margin-left: auto; color: var(--parch-dim); transition: transform .15s ease-out; }
details[open] summary::after { transform: rotate(90deg); }
summary .n { font: 400 12px "PT Sans"; background: var(--night-2); border-radius: 999px; padding: 1px 8px; color: var(--parch-dim); }
details ul { margin: 0; padding: 0 14px 12px 30px; }
details li { margin: 4px 0; }

.toast { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar) + 12px + var(--safe-b)); z-index: 40;
  background: var(--parch); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 12px 14px;
  box-shadow: 0 10px 24px rgb(5 7 13 / .67); transform: translateY(16px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .2s ease-out, opacity .2s ease-out, visibility .2s; font-variant-numeric: tabular-nums; }
.toast.show { transform: none; opacity: 1; visibility: visible; }
body:has(#v-game.on) .toast { bottom: auto; top: calc(var(--appbar) + var(--safe-t) + 8px); transform: translateY(-16px); }   /* в игре — под шапкой: новое в ленте и поле ввода внизу остаются на виду */
body:has(#v-game.on) .toast.show { transform: none; }
body:has(.asheet.on) .toast { bottom: auto; top: calc(12px + var(--safe-t)); }   /* лист заявки открыт: тост сверху, не закрывает кнопки */
.toast small { display: block; color: #5a4a2e; }
.pets .cv-t small .i { width: 13px; height: 13px; vertical-align: -2px; }
