.p12-express-page {
  min-height: 60vh;
  display: block;
  padding: 8px 16px 80px;
}

.p12-express-page.mainV2__page--inner {
  padding-top: 20px;
}

/* На десктопе топбар фиксированный (--mv2-topbar-h): без запаса сверху
   заголовок страницы вызова уезжал под шапку. */
@media (min-width: 991px) {
  .p12-express-page,
  .p12-express-page.mainV2__page--inner {
    padding-top: calc(var(--mv2-topbar-h, 60px) + 20px);
  }
}

.p12-express-overlay {
  position: fixed;
  inset: 0;
  /* Как у штатного .mainV2__sheet-overlay: нижняя навигация имеет z-index 120
     и перекрывала кнопки шита, прижатого к низу экрана.
     --mv2-bottom-nav-h объявлена только до 990px, на десктопе fallback 0. */
  bottom: var(--mv2-bottom-nav-h, 0px);
  z-index: 400;
  background: rgba(20, 24, 18, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.p12-express-overlay .p12-express-sheet {
  max-height: calc(100vh - var(--mv2-bottom-nav-h, 0px) - 8px);
  max-height: calc(100dvh - var(--mv2-bottom-nav-h, 0px) - 8px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p12-express-overlay .p12-express-sheet__body {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.p12-express-overlay[hidden] {
  display: none;
}

.p12-express-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 12px 20px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.p12-express-sheet--static,
.p12-express-page > .p12-express-sheet {
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  padding-top: 24px;
  overflow: visible;
}

.p12-express-sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #d5dcc8;
  margin: 4px auto 12px;
  pointer-events: none;
}

.p12-express-sheet--static .p12-express-sheet__handle,
.p12-express-page > .p12-express-sheet .p12-express-sheet__handle {
  display: none;
}

.p12-express-sheet__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #33480A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  pointer-events: auto;
}

.p12-express-page > .p12-express-sheet .p12-express-sheet__close {
  display: none;
}

.p12-express-sheet__head {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 8px;
  padding: 8px 44px 0 0;
  position: relative;
}
.p12-express-sheet__head .p12-express-sheet__title {
  margin: 0 !important;
  padding: 0;
  flex: 1;
  min-width: 0;
  pointer-events: none;
}
.p12-express-sheet__info {
  position: relative;
  flex-shrink: 0;
  margin: 2px 0 0;
}
.p12-express-sheet__info > summary {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  border-radius: 50%;
  color: #6b7c4a;
  cursor: pointer;
}
.p12-express-sheet__info > summary::-webkit-details-marker,
.p12-express-sheet__info > summary::marker {
  display: none;
}
.p12-express-sheet__info > summary i {
  font-size: 18px;
  line-height: 1;
}
.p12-express-sheet__info-panel {
  position: absolute;
  z-index: 8;
  right: 0;
  top: calc(100% + 4px);
  width: min(280px, calc(100vw - 48px));
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 0.5px solid #e2e6dc;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.12);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  color: #4a5540;
}
.p12-express-sheet__title {
  margin: 0 0 14px !important;
  padding: 8px 44px 0 0;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  color: #1f2910;
  overflow: visible !important;
  font-family: inherit;
  pointer-events: none;
}

.p12-express-sheet__lead,
.p12-express-sheet__hint {
  margin: 0 0 14px;
  color: #4a5540;
  font-size: 14px;
  line-height: 1.4;
}

.p12-express-sheet__hint {
  font-size: 13px;
}

.p12-express-sheet__player {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
}
.p12-express-sheet__player-main {
  min-width: 0;
  flex: 1;
}
.p12-express-sheet__swap {
  flex-shrink: 0;
  margin-left: auto;
  padding: 6px 2px;
  font-size: 13px;
  font-weight: 600;
  color: #33480A !important;
  text-decoration: underline;
  background: transparent !important;
  border: 0 !important;
}

.p12-express-sheet__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef2e3;
  color: #33480A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.p12-express-sheet__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p12-express-sheet__name {
  display: block;
  text-decoration: none;
  font-weight: 700;
  color: #1f2910;
}

.p12-express-sheet__meta {
  font-size: 13px;
  color: #6b7c76;
}

.p12-express-sheet label,
.p12-express-sheet .p12-express-chip {
  float: none !important;
  height: auto !important;
  width: auto !important;
  margin: 0 !important;
  font-family: inherit;
}

.p12-express-sheet .p12-express-sheet__label {
  display: block !important;
  width: 100% !important;
  margin: 8px 0 6px !important;
  font-size: 13px;
  font-weight: 600;
  color: #33480A;
}

.p12-express-sheet__label span {
  font-weight: 400;
  color: #7a8670;
}

.p12-express-exclude {
  margin: 4px 0 12px;
}
.p12-express-exclude > summary {
  display: flex !important;
  align-items: baseline;
  gap: 8px;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 0;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #C46B62;
}
.p12-express-exclude > summary::-webkit-details-marker,
.p12-express-exclude > summary::marker {
  display: none;
}
.p12-express-exclude > summary [data-exclude-summary] {
  color: #C46B62;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(196, 107, 98, 0.75);
}
.p12-express-exclude > summary:hover [data-exclude-summary] {
  color: #B2554C;
}
.p12-express-exclude > summary em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #7a8670;
  text-decoration: none !important;
}
.p12-express-exclude[open] > summary {
  margin-bottom: 8px !important;
}
.p12-express-exclude__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.p12-express-exclude__pills:empty {
  display: none;
}
.p12-express-exclude__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 4px 6px 4px 10px;
  background: #F4F6EC;
  border: 1px solid #D5DCC8;
  border-radius: 999px;
  color: #33480A;
}
.p12-express-exclude__pill em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p12-express-exclude__pill button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7a8670;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.p12-express-exclude__wrap {
  position: relative;
}
.p12-express-exclude__wrap.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
/* Как поиск на «Результатах»: одно компактное поле, без отдельной иконки.
   main.css задаёт input { width: 285px !important; float } — перебиваем. */
.p12-express-sheet input.p12-express-exclude__input {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  background-image: none !important;
  border: 0.5px solid rgba(31, 31, 31, 0.14) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  color: #1a1f16 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.p12-express-sheet input.p12-express-exclude__input::placeholder {
  color: #8a9480;
  opacity: 1;
}
.p12-express-sheet input.p12-express-exclude__input:focus {
  border-color: rgba(51, 72, 10, 0.4) !important;
  outline: none;
}
.p12-express-exclude__hints {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
}
.p12-express-exclude__hints[hidden] {
  display: none;
}
.p12-express-exclude__hints-cap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  color: #7a8670;
}
.p12-express-exclude__hints-info {
  margin: 0;
}
.p12-express-exclude__hints-info > summary {
  width: 22px;
  height: 22px;
  margin: 0 !important;
}
.p12-express-exclude__hints-info > summary i {
  font-size: 15px;
}
.p12-express-exclude__hints-info .p12-express-sheet__info-panel {
  left: 0;
  right: auto;
  width: min(260px, calc(100vw - 48px));
}
.p12-express-sheet button.p12-express-exclude__hint {
  display: inline-flex !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 4px 10px !important;
  border: 0.5px solid #D5DCC8 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #33480A !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  cursor: pointer;
}
.p12-express-sheet button.p12-express-exclude__hint:hover {
  background: #F4F6EC !important;
}
.p12-express-exclude__drop {
  position: static;
  z-index: 1;
  margin-top: 6px;
  max-height: 280px;
  overflow: auto;
  padding: 4px;
  background: #fff;
  border: 0.5px solid #e2e6dc;
  border-radius: 10px;
}
.p12-express-exclude__drop[hidden] {
  display: none;
}
.p12-express-exclude__empty {
  margin: 0;
  padding: 6px 8px;
  font-size: 12px;
  color: #8a9584;
}
.p12-express-sheet button.p12-express-exclude__row,
.p12-express-sheet a.p12-express-exclude__row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100% !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 7px 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  text-align: left !important;
  color: #1f2910 !important;
  cursor: pointer;
}
.p12-express-sheet button.p12-express-exclude__row:hover,
.p12-express-sheet button.p12-express-exclude__row:focus,
.p12-express-sheet a.p12-express-exclude__row:hover,
.p12-express-sheet a.p12-express-exclude__row:focus {
  background: #F4F6EC !important;
}
.p12-express-exclude__row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #1a1f16;
}
.p12-express-exclude__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.p12-express-exclude__tag {
  flex-shrink: 0;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: #7a8670;
}
.p12-express-exclude__tag.is-played {
  color: #33480A;
}
.p12-express-exclude__tag--mute {
  font-weight: 500;
  color: #9aa38f;
}

.p12-express-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 8px;
}

.p12-express-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.p12-express-chip {
  position: relative;
  cursor: pointer;
  margin: 0;
  float: none;
  height: auto;
}

.p12-express-chip--day {
  display: block;
  min-width: 0;
}

.p12-express-sheet input[type="checkbox"],
.p12-express-sheet input[type="radio"],
.p12-express-chip input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0);
  border: 0 !important;
  background: transparent !important;
  opacity: 0;
  pointer-events: none;
}
.p12-express-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #cfd6c0;
  background: #fff;
  color: #33480A;
  font-size: 13px;
  line-height: 1.2;
}

.p12-express-chip--day span {
  width: 100%;
  min-height: 40px;
  padding: 8px 0;
  font-weight: 600;
}

.p12-express-chip input:checked + span,
.p12-express-chip input:focus-visible + span {
  border-color: #A8CC00;
  background: #DCEF7A;
}

.p12-express-chip.is-disabled {
  cursor: default;
}

.p12-express-chip.is-disabled span {
  opacity: 0.45;
}

.p12-express-sheet textarea.p12-express-sheet__text {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 72px !important;
  height: 72px !important;
  margin: 0 0 16px !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  border: 1px solid #cfd6c0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1f2910 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  text-align: left !important;
  resize: none !important;
  appearance: none;
  -webkit-appearance: none;
}
.p12-express-sheet input.p12-express-sheet__text {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 8px 0 8px !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  border: 1px solid #cfd6c0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #1f2910 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-align: left !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.p12-express-sheet textarea.p12-express-sheet__text::placeholder,
.p12-express-sheet input.p12-express-sheet__text::placeholder {
  color: #8a9480;
  opacity: 1;
  text-align: left;
}

/* main.css: input { width: 285px !important } — иначе поля УС вылезают из шита. */
.p12-express-sheet input[type="hidden"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: absolute !important;
}

.p12-express-us {
  margin: 0 0 4px;
}
.p12-express-us__you {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.3;
  color: #4a5540;
}
.p12-express-us__you b {
  color: #1f2910;
  font-weight: 700;
}
.p12-express-us__intents {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.p12-express-us__intent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  min-width: 0;
  padding: 6px 4px;
  border: 1px solid #cfd6c0;
  border-radius: 14px;
  background: #fff;
  color: #33480A;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.p12-express-us__intent strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.p12-express-us__intent em {
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: #6b7c4a;
  letter-spacing: 0.01em;
}
.p12-express-us__intent.is-on {
  border-color: #A8CC00;
  background: #DCEF7A;
}
.p12-express-us__intent.is-on em {
  color: #33480A;
}
.p12-express-us__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}
.p12-express-us__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.p12-express-us__side > span {
  font-size: 12px;
  font-weight: 600;
  color: #6b7c4a;
}
.p12-express-us__dash {
  padding-bottom: 12px;
  color: #6b7c4a;
  font-weight: 700;
  line-height: 1;
}
.p12-express-step {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: stretch;
  min-height: 44px;
  border: 1px solid #cfd6c0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.p12-express-step button {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f6f8ef !important;
  color: #33480A !important;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}
.p12-express-step button:hover {
  background: #DCEF7A !important;
}
.p12-express-step__val {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #1f2910;
  background: #fff;
}

.p12-express-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.p12-express-invite__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #A8CC00;
  background: #DCEF7A;
  color: #33480A;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.p12-express-invite__btn:hover {
  background: #D0E85C;
  color: #33480A;
}

.p12-express-invite__btn:focus-visible {
  outline: 2px solid #33480A;
  outline-offset: 2px;
}

.p12-express-invite__btn--ghost {
  background: #fff;
  border-color: #cfd6c0;
  color: #33480A;
}

.p12-express-invite__btn--block {
  width: 100% !important;
  margin-top: 8px;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}
.p12-express-overlay .p12-express-sheet form[data-express-open-form] .p12-express-invite__btn--block {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin-bottom: 0;
  box-shadow: 0 -16px 20px 8px #fff;
}

.p12-express-invite__note {
  margin: 12px 0;
  color: #4a5540;
}

/* Лист после отправки вызова: галочка в заголовке, «Отозвать» и «Готово» в строку */
.p12-express-sheet__title--sent {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p12-express-sheet__title--sent .ti {
  font-size: 20px;
  color: #4c7a1f;
}

.p12-express-sheet__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.p12-express-sheet__actions form {
  margin: 0;
}

.p12-express-sheet__actions .p12-express-invite__btn {
  flex: 1 1 0;
}

/* Отзыв отвечает на месте кнопок — сообщению нужен тот же отступ, что и кнопкам */
.p12-express-sheet__actions .mainV2__answer {
  margin-top: 0;
}

.p12-express-slots {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #1f2910;
}

/* Дни одной строкой: заголовок «Когда удобно» и список из двух пунктов
   занимали четыре строки на один факт */
.p12-express-sheet__when {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #33480A;
}
.p12-express-sheet__when b {
  font-weight: 600;
}

.p12-express-sheet__comment {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #f6f8ef;
  border-radius: 12px;
  color: #1f2910;
}

.p12-express-sheet__back {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: #4a5540;
  text-decoration: underline;
}

.p12-express-preview {
  margin-top: 20px;
  padding: 14px 14px 12px;
  border: 1px dashed #cfd6c0;
  border-radius: 14px;
  background: #f7f8f2;
}

.p12-express-preview__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #7a8670;
}

.p12-express-preview__lead {
  margin: 0 0 12px;
  font-size: 14px;
  color: #1f2910;
}

.p12-express-preview__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  pointer-events: none;
}

.p12-express-preview__btns .p12-express-invite__btn {
  min-height: 40px;
  opacity: 0.85;
}

/* Публичный вызов: белая карточка с двумя игроками — тот же язык, что у карточки
   результата в ленте (аватар, имя, УС под именем), только вместо счёта «vs». */
.p12-challenge {
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.p12-challenge__title {
  margin: 0 0 18px !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  color: #1f2910;
  font-family: inherit;
}

.p12-challenge__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 8px;
  padding: 4px 0 16px;
}

.p12-challenge__player {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.p12-challenge__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef2e3;
  color: #33480A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}

.p12-challenge__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p12-challenge__player-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #1f2910;
}

.p12-challenge__player-meta {
  font-size: 12px;
  line-height: 1.25;
  color: #6b7c76;
}

/* Стрелка вместо «vs»: вызов направленный, а слово «вызывает» рядом с именами
   в именительном падеже читалось бы как ошибка. Для скринридера слово оставляем. */
.p12-challenge__vs {
  align-self: center;
  padding-top: 16px;
  font-size: 22px;
  line-height: 1;
  color: #9aa78f;
}

.p12-challenge__vs-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.p12-challenge__when {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #33480A;
}

.p12-challenge__when b {
  font-weight: 600;
}

.p12-challenge__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
}

.p12-challenge__status--wait {
  color: #4a5540;
}

.p12-challenge__status--on {
  color: var(--mv2-result-win-text, #2f7a3f);
}

.p12-challenge__status--off {
  color: var(--mv2-result-loss-text, #8a5a5a);
}

.p12-challenge__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.p12-challenge__actions:empty {
  display: none;
}

.p12-challenge__foot {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7c76;
}

/* Строка «скопировать ссылку»: как ссылка-приглашение в профиле,
   тот же обработчик копирования и тот же фидбек галочкой. */
.p12-express-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #cfd6c0;
  background: #f7f8f2;
  text-align: left;
  cursor: pointer;
}

.p12-express-share__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #DCEF7A;
  color: #33480A;
  flex-shrink: 0;
}

.p12-express-share__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.p12-express-share__text strong {
  font-size: 14px;
  color: #1f2910;
}

.p12-express-share__text span {
  font-size: 12px;
  color: #6b7c76;
}

.p12-express-share__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid #A8CC00;
  background: #DCEF7A;
  color: #33480A;
  cursor: pointer;
}

.p12-express-share__copy:hover {
  background: #D0E85C;
}

.p12-express-share__copy:focus-visible {
  outline: 2px solid #33480A;
  outline-offset: 2px;
}

.p12-express-share__copy.is-copied {
  background: #fff;
  border-color: #A8CC00;
}

.p12-express-profile-banner {
  flex: 0 0 100%;
  width: 100%;
  order: -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #A8CC00;
  background: #F4F8DC;
  color: #33480A;
}

.p12-express-profile-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.p12-express-profile-banner__copy strong {
  font-size: 15px;
}

.p12-express-profile-banner__copy span {
  font-size: 13px;
  color: #4a5540;
}

.p12-express-profile-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.p12-express-profile-banner__actions form {
  margin: 0;
}

.p12-express-profile-banner .p12-express-invite__btn {
  min-height: 40px;
  margin: 0;
}

@media (min-width: 720px) {
  .p12-express-overlay {
    align-items: center;
  }

  .p12-express-overlay .p12-express-sheet {
    border-radius: 20px;
    margin-bottom: 0;
    padding-top: 22px;
  }

  .p12-express-overlay .p12-express-sheet__handle {
    display: none;
  }
}

@media (max-width: 480px) {
  .p12-express-invite__actions {
    flex-direction: column;
  }
  .p12-express-invite__btn {
    width: 100%;
  }
  /* Вызов остаётся в две колонки с «vs»: столбиком он теряет смысл противостояния */
  .p12-challenge {
    padding: 18px 14px 16px;
  }
  .p12-challenge__title {
    font-size: 18px !important;
  }
  .p12-challenge__avatar {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }
  .p12-challenge__vs {
    padding-top: 14px;
  }
}

.p12-express-chat {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #f6f8ef;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
  color: #1f2910;
}

.p12-open-shelf__bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.p12-open-shelf {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.p12-open-create {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0.5px solid #A8CC00;
  background: #DCEF7A;
  color: #33480A;
  font-family: var(--mv2-font, inherit);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.p12-open-create i {
  font-size: 14px;
}
.p12-open-create:hover {
  background: #D0E85C;
  color: #33480A;
  text-decoration: none;
}
.p12-open-create--quiet {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}
.p12-open-shelf,
.p12-open-shelf:focus,
.p12-open-shelf:focus-visible,
.p12-open-shelf:focus-within {
  outline: none !important;
  box-shadow: none;
}
.p12-open-shelf__sum {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 2px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mv2-font, inherit);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mv2-secondary, #6f6f6f);
  outline: none !important;
  box-shadow: none !important;
  border: 0;
  border-radius: var(--mv2-r-sm, 8px);
  -webkit-tap-highlight-color: transparent;
}
.p12-open-shelf__sum::-webkit-details-marker { display: none; }
.p12-open-shelf__sum::marker { content: none; }
.p12-open-shelf__sum:focus,
.p12-open-shelf__sum:focus-visible,
.p12-open-shelf__sum:active {
  outline: none !important;
  box-shadow: none !important;
}
.p12-open-shelf__n {
  margin-left: 0;
  padding: 1px 7px;
  border-radius: 999px;
  background: #DCEF7A;
  color: #33480A;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 700;
}
.p12-open-shelf__sum--static {
  cursor: default;
  flex: 1;
  min-width: 0;
}
.p12-open-shelf > .p12-open-shelf__sum::after {
  content: '';
  margin-left: 8px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
}
.p12-open-shelf[open] .p12-open-shelf__sum::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.p12-open-shelf__list {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p12-open-shelf__list .mainV2__invite {
  margin: 0;
}
.p12-open-shelf--in-feed {
  margin: 18px 0 8px;
}
.p12-open-shelf--in-feed:first-child {
  margin-top: 0;
}

.p12-kind {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.6;
  padding: 1px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}
.p12-kind--you {
  background: #1F1F1F;
  color: #fff;
}
.p12-kind--open,
.p12-kind--us {
  background: transparent;
  border: 0.5px solid var(--mv2-border, rgba(31,31,31,.14));
  color: var(--mv2-secondary, #6f6f6f);
}
.p12-kind--us {
  text-transform: none;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.p12-open-card--you {
  box-shadow: inset 3px 0 0 #1F1F1F, 0 1px 6px rgba(0,0,0,.07);
}

/* Компактная карточка (открытый и персональный вызов): одна строка. */
.p12-open-card.mainV2__card.mainV2__invite {
  padding: 10px 12px;
  border-radius: var(--mv2-r-xl, 14px);
  overflow: visible;
}
.p12-open-card__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.p12-open-card .mainV2__match-avatar {
  width: 40px;
  height: 40px;
  font-size: 13px;
}
.p12-open-card__body {
  flex: 1;
  min-width: 0;
}
.p12-open-card__body .mainV2__invite-title {
  gap: 6px;
}
.p12-open-card__body .mainV2__match-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.p12-open-card__meta {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mv2-secondary, #6f6f6f);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p12-open-card__stakes {
  font-weight: 600;
  color: var(--mv2-primary, #1f1f1f);
}
.p12-open-card .mainV2__invite-ttl {
  display: inline-flex;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 600;
}
.p12-open-card .mainV2__invite-ttl i {
  font-size: 12px;
}
.p12-open-card__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  align-self: center;
}
.p12-open-card__cta form[data-express-answer]:not(.mainV2__express-reply-decline) {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.p12-open-card__cta .match-action-btn {
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
}
.p12-open-card__cta .mainV2__invite-share {
  flex-shrink: 0;
}
/* Сообщение и комментарий — под игроком на всю ширину, не в колонке кнопок. */
.p12-open-card.is-answered > [data-express-answer-box],
.p12-open-card > [data-express-answer-box]:has(.mainV2__answer) {
  display: block;
  width: 100%;
  max-width: none;
  flex: none;
  align-self: stretch;
  justify-content: flex-start;
  padding: 8px 0 0 50px;
  box-sizing: border-box;
}
.p12-open-card .mainV2__answer {
  max-width: none !important;
  width: 100%;
  text-align: left;
}
.p12-open-card .mainV2__answer-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
}
.p12-open-card .mainV2__answer-more {
  width: 100%;
}
.p12-open-card .mainV2__answer-more > summary {
  text-align: left;
}
.p12-open-card .mainV2__answer-note {
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
}
.p12-open-card input.mainV2__answer-input {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  height: auto !important;
  margin: 0 !important;
}
@media (max-width: 720px) {
  .p12-open-card__row {
    flex-wrap: wrap;
  }
  .p12-open-card__cta {
    width: 100%;
    padding-left: 50px;
  }
  .p12-open-card__cta form[data-express-answer]:not(.mainV2__express-reply-decline) {
    width: 100%;
  }
  .p12-open-card__cta .match-action-btn {
    flex: 1 1 0;
  }
  .p12-open-card.is-answered > [data-express-answer-box],
  .p12-open-card > [data-express-answer-box]:has(.mainV2__answer) {
    padding-left: 50px;
  }
}

a.p12-express-create,
.p12-express-sheet a.p12-express-choose__way,
.p12-express-sheet button.p12-express-choose__way,
.p12-express-sheet button.p12-express-choose__back {
  display: flex !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font-family: inherit !important;
  text-decoration: none !important;
  box-sizing: border-box;
  cursor: pointer;
}

a.p12-express-create--tile {
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: start;
  text-align: left !important;
  width: 100% !important;
  height: auto !important;
  min-height: 108px;
  padding: 16px 18px !important;
  border: 2px solid #A8CC00 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #33480A !important;
  box-shadow: none;
  overflow: visible;
}
.sched-v6-page a.p12-express-create--tile:hover,
a.p12-express-create--tile:hover {
  opacity: 1;
  transform: none;
  background: #F7FAD4 !important;
  color: #33480A !important;
}
.p12-express-create__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  color: #33480A;
}
.p12-express-create__txt strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.p12-express-create__txt em {
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
  color: #4a5540;
}

.p12-express-choose__ways {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}
.p12-express-sheet a.p12-express-choose__way,
.p12-express-sheet button.p12-express-choose__way {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  width: 100% !important;
  min-height: 64px;
  padding: 12px 16px !important;
  border: 1px solid #cfd6c0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #1f2910 !important;
  text-align: left;
}
.p12-express-sheet a.p12-express-choose__way:hover,
.p12-express-sheet button.p12-express-choose__way:hover {
  border-color: #A8CC00 !important;
  background: #F4F6EC !important;
}
.p12-express-choose__way strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.p12-express-choose__way em {
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  color: #6b7c4a;
}
.p12-express-sheet button.p12-express-choose__back {
  align-items: center;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6b7c4a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.p12-express-choose__search[hidden],
.p12-express-choose__ways[hidden] {
  display: none !important;
}
