/* web-20261116-r1 (owner BLOCK 6 / BLOCK 8): wide screens use the width; the phone header shows the wordmark; «2 часа бесплатно» is
   clearly visible on the first screen. Loaded last; only layout and type, no new elements. */

/* ---- BLOCK 6: the record result — working width 1280 px, two columns from 1200 px: text on the left, the player (with «Следить по
   стенограмме» / «К текущему тексту») on the right, sticky while the text scrolls. Phones and narrow windows keep one column. ---- */
@media (min-width: 1200px) {
  #results.mx-result > .job-card,
  #results.mx-result > #partial-transcript-notice { max-width: 1280px; }
  #results.mx-result .results-layout { max-width: 1280px; }
  #results.mx-result .results-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 31%, 420px);
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
  }
  #results.mx-result .results-main > * { grid-column: 1; min-width: 0; }
  #results.mx-result .results-main > .result-header { grid-column: 1 / -1; }
  #results.mx-result .results-main > #player-wrap {
    grid-column: 2;
    grid-row: 2 / span 60;
    position: sticky;
    top: 92px;
    align-self: start;
    margin-top: 0;
  }
  #results.mx-result .results-main > #player-wrap .playback-tools { flex-wrap: wrap; }
  #results.mx-result .results-main > #player-wrap video { width: 100%; height: auto; max-height: 60vh; }
}

/* ---- BLOCK 8: the wordmark «Meetxt» next to the icon in the phone header (it was hidden below 760 px) ---- */
@media (max-width: 760px) {
  body > .topbar .brand { gap: 8px; }
  body > .topbar .brand .brand-text { display: flex !important; align-items: center; min-width: 0; }
  body > .topbar .brand .brand-text > :not(.brand-name) { display: none !important; }
  body > .topbar .brand .brand-name { display: block !important; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: var(--text, #0d1830); }
  .public-topbar .public-brand-name, .public-brand > span { display: inline !important; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
}
@media (max-width: 340px) { body > .topbar .brand .brand-name { font-size: 16px; } }

/* ---- BLOCK 8: «2 часа бесплатно» — the existing line of the first screen becomes a clear badge (same element, nothing added) ---- */
#start .landing-trust { margin-top: 22px; }
#start .landing-trust li {
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 111, 219, .12), rgba(124, 77, 255, .14));
  border: 1px solid rgba(47, 111, 219, .28);
  color: var(--text, #0d1830);
  font-size: 15px;
  font-weight: 700;
}
#start .landing-trust i { font-size: 18px; }
:root[data-theme="dark"] #start .landing-trust li { color: #eef3ff; border-color: rgba(140, 170, 255, .4); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #start .landing-trust li { color: #eef3ff; border-color: rgba(140, 170, 255, .4); } }
/* 1366×768 and similar: a little less air above the hero so the badge stays inside the first screen */
@media (min-width: 981px) and (max-height: 820px) { #start .landing-hero { padding-top: 36px; padding-bottom: 30px; } }

/* ---- BLOCK 8: honest payment state, same on meetxt.ru and meetxt.com (note written by checkout-tbank) ---- */
#payment .mx-pay-cur-note { margin: 12px 0 6px; padding: 10px 14px; border-radius: 12px; background: #eef5ff; border: 1px solid #cfe0fb; color: #22324f; font-size: 14px; line-height: 1.5; }
#payment .mx-pay-cur-note[data-kind="soon"] { background: #fff8e8; border-color: #f2dca6; }
#payment .mx-pay-cur-rub { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: var(--primary, #1677e5); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
:root[data-theme="dark"] #payment .mx-pay-cur-note { background: #13244a; border-color: #2a4372; color: #e3ebff; }
:root[data-theme="dark"] #payment .mx-pay-cur-note[data-kind="soon"] { background: #3a2e12; border-color: #6b5420; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #payment .mx-pay-cur-note { background: #13244a; border-color: #2a4372; color: #e3ebff; } :root:not([data-theme="light"]) #payment .mx-pay-cur-note[data-kind="soon"] { background: #3a2e12; border-color: #6b5420; } }
