/*
 * XChat Reborn Mobile UX v0.3
 * Загружается после theme.css.
 * Desktop > 1024px не изменяется.
 */

/* ============================================================
 * PHONE
 * ============================================================ */
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .xc-room {
    width: 100% !important;
    min-width: 0 !important;
    height: var(--xchat-mobile-vh, 100dvh) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .xc-room-frame {
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: hidden;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto !important;
  }

  /* ---------- header ---------- */
  .xc-top-strip {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 42px !important;
    padding: 4px 7px !important;
    gap: 8px !important;
  }

  .xc-logo-box {
    display: flex !important;
    align-items: center;
    height: 34px !important;
    min-width: 0;
  }

  .xc-logo-box img {
    width: auto !important;
    height: 27px !important;
    max-width: 145px;
    object-fit: contain;
  }

  .xc-private-box,
  .xc-top-empty {
    display: none !important;
  }

  .xc-mobile-users-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #5d83d9;
    border-radius: 4px;
    background: #071332;
    color: #67ea91;
    font: 700 13px Verdana, Arial, sans-serif;
    white-space: nowrap;
    touch-action: manipulation;
  }

  .xc-mobile-users-btn:active {
    background: #10265c;
  }

  /* ---------- marquee ---------- */
  .xc-marquee-strip {
    height: 19px !important;
    min-height: 19px !important;
    line-height: 19px !important;
    font-size: 11px !important;
    overflow: hidden;
  }

  /* ---------- chat ---------- */
  .xc-main-zone {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 0 !important;
    overflow: hidden !important;
  }

  .xc-chat-window {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 8px 9px 10px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    -webkit-overflow-scrolling: touch;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
  }

  .xc-chat-window .xc-line {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* ---------- online drawer ---------- */
  .xc-side {
    position: fixed !important;
    z-index: 10020 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;

    width: min(84vw, 320px) !important;
    height: var(--xchat-mobile-vh, 100dvh) !important;
    min-height: 0 !important;

    box-sizing: border-box !important;
    padding-top: env(safe-area-inset-top) !important;
    padding-bottom: env(safe-area-inset-bottom) !important;

    border: 0 !important;
    border-left: 1px solid #5d83d9 !important;
    box-shadow: -8px 0 30px rgba(0,0,0,.72) !important;

    transform: translateX(105%);
    transition: transform .2s ease-out;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .xc-side.xc-side-open {
    transform: translateX(0);
  }

  .xc-mobile-side-head {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    box-sizing: border-box;
    padding: 5px 7px 5px 10px;
    border-bottom: 1px solid #344b93;
    background: #06102c;
    color: #fff;
    font: 700 13px Verdana, Arial, sans-serif;
  }

  .xc-mobile-side-close {
    width: 34px;
    height: 34px;
    border: 1px solid #7288cc;
    border-radius: 4px;
    background: #0a1744;
    color: #fff;
    font: 700 22px/30px Arial, sans-serif;
    touch-action: manipulation;
  }

  .xc-side-overlay {
    position: fixed !important;
    z-index: 10010 !important;
    inset: 0 !important;
    display: block !important;
    background: rgba(0,0,0,.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease;
  }

  .xc-side-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  html.xc-mobile-drawer-open {
    overflow: hidden !important;
  }

  /* ---------- input ---------- */
  .xc-bottom {
    position: relative !important;
    z-index: 10;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 42px 54px !important;
    align-items: center !important;
    gap: 4px !important;

    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    min-height: 48px !important;
    padding: 5px 6px !important;
  }

  .xc-mini-input,
  .xc-target-slot {
    display: none !important;
  }

  .xc-say-select {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 13px !important;
    touch-action: manipulation;
  }

  #messageInput.xc-message-input,
  #messageInput {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    box-sizing: border-box !important;
    padding: 5px 8px !important;

    /* iOS: не увеличивать страницу при focus */
    font-size: 16px !important;
    line-height: 20px !important;
  }

  #smileButton,
  #smileButton.xc-smile-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    height: 38px !important;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 34px !important;
    touch-action: manipulation;
  }

  .xc-send-btn {
    width: 54px !important;
    min-width: 54px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    touch-action: manipulation;
  }

  /* ---------- footer ---------- */
  .xc-footer-menu {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    min-height: 31px !important;
    height: auto !important;
    padding:
      4px
      7px
      max(4px, env(safe-area-inset-bottom))
      !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .xc-footer-menu #xchatStableFooter.xsf-footer-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: max-content;
    min-width: 100%;
  }

  .xc-footer-menu .xsf-footer-item {
    flex: 0 0 auto;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
  }

  /* ---------- popups ---------- */
  .xps,
  .xadmin-window,
  #xchatInfoPopup .xchat-info-window {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(var(--xchat-mobile-vh, 100dvh) - 20px) !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .xc-chat-window::-webkit-scrollbar,
  .xc-users-list::-webkit-scrollbar,
  .xc-side::-webkit-scrollbar {
    width: 4px;
  }
}

/* ============================================================
 * TABLET
 * ============================================================ */
@media (min-width: 701px) and (max-width: 1024px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .xc-room {
    min-width: 0 !important;
    height: var(--xchat-mobile-vh, 100dvh) !important;
  }

  .xc-room-frame {
    height: 100% !important;
    min-height: 0 !important;
    grid-template-rows: auto auto minmax(0,1fr) auto auto !important;
  }

  .xc-main-zone {
    grid-template-columns: minmax(0, 1fr) 210px !important;
    min-height: 0 !important;
  }

  .xc-chat-window,
  .xc-side {
    min-height: 0 !important;
  }

  .xc-top-strip {
    grid-template-columns: 150px minmax(0,1fr) 210px !important;
  }

  #messageInput.xc-message-input,
  #messageInput {
    font-size: 16px !important;
    min-width: 0 !important;
  }

  .xc-bottom {
    min-height: 44px !important;
  }

  #smileButton,
  #smileButton.xc-smile-btn {
    min-width: 36px !important;
    width: 36px !important;
    height: 34px !important;
  }

  .xc-footer-menu {
    padding-bottom: max(3px, env(safe-area-inset-bottom)) !important;
  }
}

/* Desktop does not display phone-only controls. */
@media (min-width: 701px) {
  .xc-mobile-users-btn,
  .xc-mobile-side-head,
  .xc-side-overlay {
    display: none !important;
  }
}


/* xchat-mobile-smile-sheet-v03 */

/* backdrop создаётся mobile.js */
.xc-smile-mobile-backdrop {
  display: none;
}

@media (max-width: 1024px) {
  .xc-smile-mobile-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999980 !important;

    display: block !important;

    background: rgba(0, 0, 0, .62) !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      opacity .16s ease,
      visibility .16s ease;
  }

  html.xc-smile-sheet-open
  .xc-smile-mobile-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /*
   * На touch layout позиционирование полностью принадлежит CSS.
   * Никаких старых desktop left/top.
   */
  #smilePanel.xc-smile-panel.xc-smile-mobile-sheet {
    position: fixed !important;
    z-index: 999999 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    overflow: hidden !important;

    border: 1px solid #4f68b8 !important;
    background: #050b28 !important;
    color: #fff !important;

    box-shadow:
      0 -8px 32px rgba(0, 0, 0, .78) !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-head {
    position: sticky;
    top: 0;
    z-index: 3;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    box-sizing: border-box;

    min-height: 44px !important;
    margin: 0 !important;
    padding: 5px 7px 5px 11px !important;

    border-bottom: 1px solid #31478f !important;
    background: #071332 !important;

    color: #fff58a !important;
    font: 700 13px Verdana, Arial, sans-serif !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 36px !important;
    min-width: 36px !important;
    height: 34px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid #7488cc !important;
    border-radius: 5px !important;

    background: #111e4d !important;
    color: #fff !important;

    font: 700 22px/30px Arial, sans-serif !important;

    touch-action: manipulation;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-close:active {
    background: #293969 !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-grid {
    display: grid !important;

    box-sizing: border-box !important;

    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 3px !important;

    border: 1px solid #253b87 !important;
    border-radius: 5px !important;

    background: #091647 !important;

    touch-action: manipulation;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-item:active {
    border-color: #ffe66b !important;
    background: #3c310d !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-item img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 34px !important;
    max-height: 34px !important;

    object-fit: contain;
  }
}


/* ============================================================
 * PHONE — bottom sheet
 * ============================================================ */
@media (max-width: 700px) {
  #smilePanel.xc-smile-panel.xc-smile-mobile-sheet {
    left: 0 !important;
    right: 0 !important;

    top: auto !important;
    bottom: 0 !important;

    width: 100vw !important;
    max-width: 100vw !important;

    height: auto !important;

    max-height:
      min(
        62dvh,
        calc(var(--xchat-mobile-vh, 100dvh) * .62)
      ) !important;

    padding:
      0
      6px
      max(7px, env(safe-area-inset-bottom))
      !important;

    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;

    border-radius: 13px 13px 0 0 !important;

    transform: none !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-grid {
    grid-template-columns:
      repeat(7, minmax(0, 1fr)) !important;

    gap: 5px !important;

    max-height:
      calc(
        min(
          62dvh,
          calc(var(--xchat-mobile-vh, 100dvh) * .62)
        ) - 52px
      ) !important;

    padding: 7px 2px 3px !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-item {
    min-height: 44px !important;
  }
}


/* ============================================================
 * TABLET — floating bottom sheet
 * ============================================================ */
@media (min-width: 701px) and (max-width: 1024px) {
  #smilePanel.xc-smile-panel.xc-smile-mobile-sheet {
    left: 50% !important;
    right: auto !important;

    top: auto !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;

    width: min(540px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;

    height: auto !important;
    max-height: 54dvh !important;

    padding: 0 7px 8px !important;

    border-radius: 11px !important;

    transform: translateX(-50%) !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-grid {
    grid-template-columns:
      repeat(8, minmax(0, 1fr)) !important;

    gap: 5px !important;

    max-height: calc(54dvh - 54px) !important;

    padding: 7px 1px 1px !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-item {
    min-height: 42px !important;
  }
}


/* xchat-touch-layout-contract-v1 */

/*
 * На touch-экранах mobile.css становится единственным источником
 * геометрии комнаты. Старые desktop order/grid rules ниже не участвуют.
 */
@media (max-width: 1024px) {
  .xc-room,
  .xc-room-frame {
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }

  .xc-room {
    width: 100vw !important;
    height: var(--xchat-mobile-vh, 100dvh) !important;
    overflow: hidden !important;
  }

  .xc-room-frame {
    display: grid !important;

    width: 100% !important;
    height: 100% !important;

    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      auto
      auto
      minmax(0, 1fr)
      auto
      auto
      !important;

    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;

    overflow: hidden !important;
  }

  .xc-top-strip {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }

  .xc-marquee-strip {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
  }

  .xc-main-zone {
    grid-column: 1 !important;
    grid-row: 3 !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;

    overflow: hidden !important;
  }

  /*
   * Composer имеет собственную строку.
   * Никаких отрицательных margin/position/order из desktop.
   */
  #sendForm.xc-bottom {
    grid-column: 1 !important;
    grid-row: 4 !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;

    margin: 0 !important;

    box-sizing: border-box !important;

    overflow: visible !important;
  }

  .xc-footer-menu {
    grid-column: 1 !important;
    grid-row: 5 !important;

    position: static !important;
    inset: auto !important;
    transform: none !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    box-sizing: border-box !important;
  }

  #sendForm > #actionSelect,
  #sendForm > #messageInput,
  #sendForm > #smileButton,
  #sendForm > .xc-send-btn {
    position: static !important;
    inset: auto !important;

    float: none !important;
    transform: none !important;

    margin: 0 !important;

    order: 0 !important;

    box-sizing: border-box !important;
  }

  #sendForm > #miniInput,
  #sendForm > #targetSlot {
    display: none !important;
  }

  #sendForm > #actionSelect {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  #sendForm > #messageInput {
    grid-column: 2 !important;
    grid-row: 1 !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  #sendForm > #smileButton {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  #sendForm > .xc-send-btn {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }
}


/* PHONE */
@media (max-width: 700px) {
  #sendForm.xc-bottom {
    display: grid !important;

    grid-template-columns:
      38px
      minmax(0, 1fr)
      42px
      54px
      !important;

    grid-template-rows: 38px !important;

    align-items: stretch !important;

    gap: 4px !important;
    padding: 5px 6px !important;

    min-height: 48px !important;
  }

  #sendForm > #actionSelect,
  #sendForm > #messageInput,
  #sendForm > #smileButton,
  #sendForm > .xc-send-btn {
    height: 38px !important;
    min-height: 38px !important;
  }

  .xc-footer-menu {
    min-height: 31px !important;

    padding:
      4px
      7px
      max(4px, env(safe-area-inset-bottom))
      !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}


/* TABLET */
@media (min-width: 701px) and (max-width: 1024px) {
  #sendForm.xc-bottom {
    display: grid !important;

    grid-template-columns:
      96px
      minmax(0, 1fr)
      40px
      64px
      !important;

    grid-template-rows: 36px !important;

    align-items: stretch !important;

    gap: 5px !important;
    padding: 4px 6px !important;

    min-height: 44px !important;
  }

  #sendForm > #actionSelect,
  #sendForm > #messageInput,
  #sendForm > #smileButton,
  #sendForm > .xc-send-btn {
    height: 36px !important;
    min-height: 36px !important;
  }

  #sendForm > #messageInput {
    font-size: 16px !important;
    line-height: 20px !important;
  }

  .xc-footer-menu {
    min-height: 27px !important;

    padding:
      3px
      6px
      max(3px, env(safe-area-inset-bottom))
      !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

/* xchat-phone-smile-above-composer-v1 */
@media (max-width: 700px) {
  /*
   * Composer + footer остаются доступными, пока открыт picker.
   * Это позволяет повторным нажатием ☺ закрыть смайлы.
   *
   * Текущая touch-геометрия:
   * composer ~49px
   * footer   ~32px
   */
  html.xc-smile-sheet-open
  .xc-smile-mobile-backdrop {
    bottom:
      calc(
        81px +
        env(safe-area-inset-bottom)
      ) !important;
  }

  #smilePanel.xc-smile-panel.xc-smile-mobile-sheet {
    top: auto !important;

    bottom:
      calc(
        81px +
        env(safe-area-inset-bottom)
      ) !important;

    /*
     * Теперь это picker над composer, поэтому нижние углы
     * тоже округляем.
     */
    border: 1px solid #4f68b8 !important;
    border-radius: 13px !important;

    box-shadow:
      0 8px 34px rgba(0,0,0,.78),
      0 -6px 24px rgba(0,0,0,.52)
      !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-grid {
    /*
     * Оставляем запас под видимый composer/footer.
     */
    max-height:
      calc(
        min(
          58dvh,
          calc(var(--xchat-mobile-vh, 100dvh) * .58)
        ) - 52px
      ) !important;
  }
}


/* xchat-mobile-smile-close-v2 */
@media (max-width: 700px) {
  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-head {
    min-height: 54px !important;
    padding: 3px 5px 3px 12px !important;
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-close {
    position: relative !important;
    z-index: 20 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 8px !important;

    font: 700 30px/1 Arial, sans-serif !important;

    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;

    -webkit-tap-highlight-color:
      rgba(255,255,255,.12);
  }

  #smilePanel.xc-smile-mobile-sheet
  .xc-smile-grid {
    max-height:
      calc(
        min(
          58dvh,
          calc(var(--xchat-mobile-vh, 100dvh) * .58)
        ) - 62px
      ) !important;
  }
}

/* xchat-touch-target-chip-v1
   Единственный target owner остаётся #targetBox/#targetChip.
   На touch показываем chip над composer, не меняя его высоту. */
@media (max-width: 1024px) {
  #sendForm.xc-input-row-target-v10 {
    position: relative !important;
    overflow: visible !important;
  }

  #sendForm.xc-input-row-target-v10 > #targetBox {
    display: none !important;
    position: absolute !important;

    left: 6px !important;
    right: 6px !important;
    bottom: calc(100% + 4px) !important;

    width: auto !important;
    max-width: none !important;

    height: 32px !important;
    min-height: 32px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: flex-start !important;

    overflow: visible !important;
    z-index: 40 !important;
    pointer-events: none;
  }

  #sendForm.xc-input-row-target-v10 > #targetBox.has-target,
  #sendForm.xc-input-row-target-v10 > #targetBox.xc-target.has-target {
    display: flex !important;
  }

  #sendForm #targetChip.xc-target-chip {
    display: inline-flex !important;
    align-items: center !important;

    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;

    max-width: min(340px, calc(100vw - 24px)) !important;

    padding: 1px 3px 1px 8px !important;
    gap: 5px !important;

    border-radius: 6px !important;

    font-family: Verdana, Arial, sans-serif !important;
    font-size: var(--xchat-ui-mobile-size, 12px) !important;
    line-height: 18px !important;

    box-shadow: 0 2px 8px rgba(0,0,0,.55) !important;

    pointer-events: auto !important;
  }

  #sendForm #targetChip .xc-target-mode {
    flex: 0 0 auto !important;
    font-size: .9em !important;
    text-transform: uppercase;
  }

  #sendForm #targetChip .xc-target-name {
    display: block !important;

    min-width: 0 !important;
    max-width: 220px !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  #sendForm #targetChipClose {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 30px !important;

    width: 30px !important;
    height: 30px !important;

    margin: 0 !important;

    font-size: 22px !important;
    line-height: 30px !important;

    touch-action: manipulation;
    cursor: pointer;
  }
}
