:root {
  --mobile-bottom-navigation-height: 68px;
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-surface: #ffffff;
  --mobile-surface-soft: #f6f8fb;
  --mobile-border: #e4e9f0;
  --mobile-text: #18202b;
  --mobile-muted: #697386;
  --mobile-brand: #2488bd;
  --mobile-brand-dark: #17678f;
}

.mobile-bottom-navigation {
  display: none;
}

@media (max-width: 767px) {
  html {
    scroll-padding-bottom: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom) + 12px);
  }

  body {
    padding-bottom: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom));
  }

  #bottom-info {
    display: none !important;
  }

  .mobile-bottom-navigation {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1600;
    display: block;
    min-height: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom));
    padding-bottom: var(--mobile-safe-bottom);
    border-top: 1px solid rgba(18, 32, 48, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(23, 39, 58, 0.12);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
  }

  .mobile-bottom-navigation-inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: 640px;
    height: var(--mobile-bottom-navigation-height);
    margin: 0 auto;
  }

  .mobile-bottom-navigation-item {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 8px 2px 6px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #737d8e;
    text-align: center;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
  }

  a.mobile-bottom-navigation-item:hover,
  a.mobile-bottom-navigation-item:focus,
  a.mobile-bottom-navigation-item:active {
    color: var(--mobile-brand-dark);
    text-decoration: none;
    outline: none;
  }

  a.mobile-bottom-navigation-item:active {
    transform: translateY(1px);
  }

  .mobile-bottom-navigation-item.is-active {
    color: var(--mobile-brand-dark);
  }

  .mobile-bottom-navigation-item.is-active::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--mobile-brand);
    content: '';
    transform: translateX(-50%);
  }

  .mobile-bottom-navigation-icon {
    display: flex;
    width: 26px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
  }

  .mobile-bottom-navigation-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-navigation-item.is-disabled {
    color: #a8afbb;
    cursor: default;
  }

  /* The random advertising class prefix is intentionally matched by suffix.
     A bottom catfish remains directly above, never over, the navigation. */
  [class*="-inline"][class*="-sticky"][class*="-bottom"] {
    bottom: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom)) !important;
  }

  #cookie-consent.cookie-consent {
    bottom: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom)) !important;
  }

  #up-to-top.active,
  #up-to-top {
    bottom: calc(var(--mobile-bottom-navigation-height) + var(--mobile-safe-bottom) + 16px);
  }

  .popover {
    max-width: calc(100vw - 24px) !important;
    border-color: #dce3ec;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(23, 39, 58, 0.18);
  }

  .popover .popover-title {
    padding: 11px 14px;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
  }

  .popover .popover-content {
    padding: 12px 14px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 359px) {
  .mobile-bottom-navigation-label {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-navigation-item {
    transition: none;
  }
}

/* Shared responsive refresh for legacy catalog and account screens. */
@media (max-width: 767px) {
  #content.section {
    padding-top: 14px;
    padding-bottom: 24px;
  }

  #content > .container {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  #content .page-header {
    margin: 8px 0 18px;
  }

  #content .page-header h1 {
    margin-top: 0;
    font-size: 25px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  #content-center > .nav-tabs,
  #content-center > nav > .nav-tabs,
  #content-center .tab-content > .tab-pane > .nav-tabs,
  #content-center > .tab-content > .tab-pane > .nav-tabs {
    display: flex;
    width: 100%;
    padding: 2px 2px 7px;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 0;
    gap: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #content-center > .nav-tabs::-webkit-scrollbar,
  #content-center > nav > .nav-tabs::-webkit-scrollbar,
  #content-center .tab-content > .tab-pane > .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  #content-center .nav-tabs > li,
  #content-center .nav-tabs > li.pull-right {
    float: none !important;
    flex: 0 0 auto;
    margin: 0;
    scroll-snap-align: start;
  }

  #content-center .nav-tabs > li > a {
    min-height: 42px;
    padding: 10px 13px;
    border: 1px solid var(--mobile-border);
    border-radius: 11px;
    background: #fff;
    color: #465264;
    white-space: nowrap;
  }

  #content-center .nav-tabs > li.active > a,
  #content-center .nav-tabs > li.active > a:hover,
  #content-center .nav-tabs > li.active > a:focus {
    border-color: #9bc8df;
    background: #edf7fb;
    color: #17678f;
  }

  #content-center > .tab-content,
  #content-center > nav + .tab-content {
    padding-top: 14px;
  }

  .table-responsive {
    margin-bottom: 16px;
    border: 0;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .dropdown-menu {
    max-width: calc(100vw - 24px);
  }

  /* Forecast cards used on the home page, sports, championships and profiles. */
  .forecast-item {
    margin-bottom: 22px;
    overflow: visible;
    border-color: #dfe6ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(23, 39, 58, 0.09);
  }

  .forecast-item > .panel-heading {
    position: relative;
    min-height: 54px;
    padding: 16px 13px 12px;
    border-radius: 16px 16px 0 0;
    line-height: 1.35;
  }

  .forecast-item > .panel-heading > a {
    display: inline;
    padding-right: 4px;
    overflow-wrap: anywhere;
  }

  .forecast-item .forecast-item-date-added {
    top: -10px;
    right: 12px;
    min-height: 21px;
    padding: 3px 8px;
    line-height: 15px;
    box-shadow: 0 3px 10px rgba(23, 39, 58, 0.12);
  }

  .forecast-item > .panel-body {
    padding: 14px;
  }

  .forecast-item-customer {
    padding: 11px 13px;
    margin: -14px -14px 15px;
    border-bottom: 1px solid #e7ebf0;
    background: #f7f9fc;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .forecast-item-customer a,
  .forecast-item-customer abbr,
  .forecast-item-customer .label {
    display: inline-block;
    margin: 2px 1px;
  }

  .forecast-item .panel-body > .row > [class*="col-md-"] {
    margin-bottom: 8px;
  }

  .forecast-item .h4 {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    font-size: 16px;
    line-height: 1.4;
  }

  .forecast-item .member-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
  }

  .forecast-item .member-item-name.left,
  .forecast-item .member-item-name.right {
    padding-right: 0;
    padding-left: 0;
    overflow-wrap: anywhere;
  }

  .forecast-item .member-img.left,
  .forecast-item .member-img.right {
    position: static;
    width: 28px;
    height: 28px;
    flex: none;
    margin: 0 5px;
    object-fit: contain;
  }

  .forecast-item .match-results {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
  }

  .forecast-item .btn-lg {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 14px;
  }

  .forecast-item .forecast-description-short {
    max-height: 122px;
    line-height: 1.6;
  }

  .forecast-item .forecast-description + [class*="col-xs-"] img,
  .forecast-item .img-thumbnail {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
  }

  .forecast-item .bgm-lightgray {
    padding: 12px;
    margin-right: -14px;
    margin-left: -14px;
  }

  .forecast-item ol {
    padding-left: 22px;
  }

  .forecast-item ol > li {
    margin-bottom: 9px;
    overflow-wrap: anywhere;
  }

  /* Personal profile, account, comments and statistics. */
  #account-account #account-userpic,
  #customer-customer #content-center .thumbnail {
    width: min(100%, 220px);
    margin-right: auto;
    margin-left: auto;
  }

  #account-account .account-info,
  #customer-customer .account-info {
    padding: 16px;
    border: 1px solid var(--mobile-border);
    border-radius: 14px;
    background: #fff;
  }

  #account-account .account-info table,
  #customer-customer .account-info table {
    margin-bottom: 0;
  }

  #account-account .account-info td,
  #customer-customer .account-info td {
    padding: 8px 4px;
    overflow-wrap: anywhere;
  }

  #account-account .account-info td:first-child,
  #customer-customer .account-info td:first-child {
    width: 48%;
    color: var(--mobile-muted);
  }

  #customer-statistic .chart,
  #account-tournament .chart {
    max-width: 100%;
    height: 300px !important;
  }

  #customer-statistic #statistic-general {
    display: block;
    border: 1px solid var(--mobile-border);
    border-radius: 14px;
    background: #fff;
  }

  #customer-statistic #statistic-general tbody,
  #customer-statistic #statistic-general tr {
    display: block;
  }

  #customer-statistic #statistic-general tr {
    padding: 10px 12px;
    border-top: 1px solid #edf0f4;
  }

  #customer-statistic #statistic-general tr:first-child {
    border-top: 0;
  }

  #customer-statistic #statistic-general td {
    display: block;
    width: 100%;
    padding: 4px 0;
    border: 0;
  }

  #customer-statistic #monthly-statistic-table,
  #customer-statistic .statistic-table table {
    min-width: 680px;
  }

  .comments-block .media,
  .review-list > .media {
    padding: 12px;
    margin-top: 10px;
    border: 1px solid var(--mobile-border);
    border-radius: 14px;
    background: #fff;
  }

  .comments-block .review-subject {
    padding: 9px 11px;
    border-radius: 10px;
    background: #f4f7fa;
    overflow-wrap: anywhere;
  }

  .reviews-block .review-subject {
    padding: 9px 11px;
    border-radius: 10px;
    background: #f4f7fa;
    overflow-wrap: anywhere;
  }

  .comments-block .media-object {
    width: 44px;
    height: 44px;
    object-fit: cover;
  }

  .comments-block .review-body > .pull-right {
    float: none !important;
    margin-bottom: 5px;
    text-align: right;
  }

  .reviews-block .review-body > .pull-right {
    float: none !important;
    margin-bottom: 5px;
    text-align: right;
  }

  .comments-block .text-wrap {
    line-height: 1.55;
  }

  #account-review .input-group .form-control {
    min-width: 0;
  }

  /* Forecast subscription feed becomes readable cards instead of a wide table. */
  #account-forecast-subscription .forecast-list,
  #account-forecast-subscription .forecast-list tbody,
  #account-forecast-subscription .forecast-list tr,
  #account-forecast-subscription .forecast-list td {
    display: block;
    width: 100% !important;
    max-width: none !important;
  }

  #account-forecast-subscription .forecast-list thead {
    display: none;
  }

  #account-forecast-subscription .forecast-list tr {
    position: relative;
    padding: 13px 44px 13px 78px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--mobile-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(23, 39, 58, 0.06);
  }

  #account-forecast-subscription .forecast-list tr.info {
    border-color: #9bc8df;
    background: #f3fbff;
  }

  #account-forecast-subscription .forecast-list td {
    padding: 3px 0;
    border: 0;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  #account-forecast-subscription .forecast-list td:first-child {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 52px !important;
  }

  #account-forecast-subscription .forecast-list td:first-child img {
    width: 48px;
    height: 48px;
    object-fit: cover;
  }

  #account-forecast-subscription .forecast-list td:last-child {
    position: absolute;
    top: 12px;
    right: 12px;
    width: auto !important;
  }

  #account-tournament #tournament-list > h2 {
    padding: 14px 15px 0;
    margin: 0;
    border: 1px solid var(--mobile-border);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    background: #fff;
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  #account-tournament #tournament-list > h2 + .m-b-30 {
    padding: 10px 15px 14px;
    margin-bottom: 0;
    border-right: 1px solid var(--mobile-border);
    border-bottom: 1px solid var(--mobile-border);
    border-left: 1px solid var(--mobile-border);
    border-radius: 0 0 14px 14px;
    background: #fff;
    line-height: 1.6;
  }

  /* Bookmaker filters and rating cards. */
  #information-bookmaker .bookmaker-filter-help {
    padding: 9px 11px;
    border-radius: 10px;
    background: #f3f7fa;
    color: var(--mobile-muted);
    font-size: 12px;
  }

  #information-bookmaker .bookmaker-filter-help i {
    margin-right: 5px;
    color: var(--mobile-brand-dark);
  }

  #information-bookmaker #form-filter .bookmaker-filter-row {
    display: flex;
    width: 100%;
    padding-bottom: 7px;
    overflow-x: auto;
    gap: 7px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #information-bookmaker #form-filter .bookmaker-filter-row::-webkit-scrollbar {
    display: none;
  }

  #information-bookmaker #form-filter .bookmaker-filter-row > .btn,
  #information-bookmaker #form-filter .bookmaker-filter-row > .btn-group {
    display: block;
    width: auto;
    flex: 0 0 auto;
  }

  #information-bookmaker #form-filter .bookmaker-filter-row .btn {
    min-height: 42px;
    border-radius: 10px;
  }

  .bookmaker-card-table,
  .bookmaker-card-table tbody,
  .bookmaker-card-table tr,
  .bookmaker-card-table td {
    display: block;
    width: 100% !important;
  }

  .bookmaker-card-table thead {
    display: none;
  }

  .bookmaker-card-table .bookmaker-card-row {
    padding: 15px;
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--mobile-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 39, 58, 0.07);
  }

  .bookmaker-card-table .bookmaker-card-row > td {
    display: grid;
    grid-template-columns: minmax(82px, 36%) minmax(0, 1fr);
    align-items: center;
    padding: 9px 0;
    border: 0;
    border-top: 1px solid #edf0f4;
    text-align: right !important;
    overflow-wrap: anywhere;
  }

  .bookmaker-card-table .bookmaker-card-row > td::before {
    color: var(--mobile-muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
  }

  .bookmaker-card-table .bookmaker-card-row > .bookmaker-card-brand {
    display: flex;
    min-height: 62px;
    justify-content: center;
    border-top: 0;
  }

  .bookmaker-card-table .bookmaker-card-brand::before {
    display: none;
  }

  .bookmaker-card-table .bookmaker-card-brand img {
    max-width: 180px;
    max-height: 58px;
    object-fit: contain;
  }

  .bookmaker-card-table .bookmaker-card-actions-cell {
    display: block;
  }

  .bookmaker-card-table .bookmaker-card-actions-cell::before {
    display: none;
  }

  .bookmaker-card-table .bookmaker-list-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .bookmaker-card-table .bookmaker-list-actions .btn {
    width: 100%;
    border-radius: 9px !important;
    white-space: normal;
  }

  /* Article catalog and rich article media. */
  .article-list-card {
    padding: 13px;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid var(--mobile-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(23, 39, 58, 0.06);
  }

  .article-list-card .img-thumbnail {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
  }

  .article-list-card .img-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .article-list-card .h4 {
    margin-top: 10px !important;
    font-size: 19px;
    line-height: 1.35;
  }

  .article-responsive-content img,
  .article-responsive-content figure,
  .article-responsive-content table,
  .paid-information-content img,
  .paid-information-content figure {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .article-responsive-content iframe,
  .article-responsive-content video {
    width: 100% !important;
    max-width: 100% !important;
  }

  .article-responsive-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Translation screen and empty state. */
  #event-translation #form-filter .btn-group-justified-float {
    display: flex;
    padding-bottom: 6px;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }

  #event-translation #form-filter .btn-group-justified-float > a,
  #event-translation #form-filter .btn-group-justified-float > .btn-group {
    width: auto;
    flex: 0 0 auto;
  }

  #event-translation .panel {
    overflow: hidden;
    border-radius: 14px;
  }

  #event-translation .panel-heading .h4 {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  #event-translation .member-item {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    flex-wrap: wrap;
  }

  #event-translation .member-item-name.left,
  #event-translation .member-item-name.right {
    padding: 0 5px;
    overflow-wrap: anywhere;
  }

  #event-translation .member-img {
    position: static;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .translation-empty-state {
    display: flex;
    padding: 24px 18px;
    align-items: center;
    flex-direction: column;
    border: 1px solid #dce8ef;
    border-radius: 18px;
    background:
      radial-gradient(circle at 92% 5%, rgba(36, 136, 189, .13), transparent 38%),
      linear-gradient(145deg, #f7fbfd, #fff);
    box-shadow: 0 12px 34px rgba(23, 68, 92, .08);
    text-align: center;
  }

  .translation-empty-icon {
    position: relative;
    display: flex;
    width: 82px;
    height: 82px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 26px;
    background: linear-gradient(145deg, #258abd, #17678f);
    color: #fff;
    box-shadow: 0 13px 26px rgba(23, 103, 143, .24);
    font-size: 34px;
  }

  .translation-empty-icon > span {
    position: absolute;
    right: -6px;
    bottom: -6px;
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #f2a33c;
    font-size: 10px;
  }

  .translation-empty-copy h2 {
    margin: 0 0 8px;
    color: var(--mobile-text);
    font-size: 21px;
    line-height: 1.25;
  }

  .translation-empty-copy p {
    margin-bottom: 18px;
    color: var(--mobile-muted);
    line-height: 1.55;
  }

  .translation-empty-action {
    width: 100%;
    padding: 11px 14px;
    border-radius: 11px;
  }

  /* Add forecast and legacy forecast detail. */
  #account-forecast-add #forecast-form .control-label {
    padding-top: 0;
    margin-bottom: 7px;
    text-align: left;
  }

  #account-forecast-add #forecast-form .form-group {
    padding: 12px;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    background: #fff;
  }

  #account-forecast-add #description-label {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    line-height: 1.35;
  }

  #account-forecast-add .forecast-tournament-label {
    display: block;
    width: 100%;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #account-forecast-add #event-bits {
    padding: 14px 14px 14px 34px;
    overflow-wrap: anywhere;
  }

  #forecast-forecast .forecast-list-item {
    padding: 14px;
    border: 1px solid var(--mobile-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 28px rgba(23, 39, 58, 0.07);
  }

  #forecast-forecast .f-heading {
    font-size: 19px;
    line-height: 1.45;
  }

  #forecast-forecast .f-heading img {
    width: 38px;
    height: 38px;
    object-fit: cover;
  }

  #forecast-forecast .forecast-list-item > p:first-of-type {
    text-align: right;
  }

  #forecast-forecast .forecast-list-item .thumbnail,
  #forecast-forecast .forecast-description img {
    width: 100% !important;
    height: auto !important;
    margin-top: 12px;
  }

  #forecast-forecast .forecast-list-item .well {
    padding: 12px;
    border-radius: 12px;
  }

  /* Paid section: compact navigation, card tables and new buyer artwork. */
  body[id^="paid-"] #content-center > nav > .nav-tabs {
    margin-bottom: 8px;
  }

  body[id^="paid-"] .paid-card-table,
  body[id^="paid-"] .paid-card-table tbody,
  body[id^="paid-"] .paid-card-table tr,
  body[id^="paid-"] .paid-card-table td {
    display: block;
    width: 100% !important;
    max-width: none !important;
  }

  body[id^="paid-"] .paid-card-table thead {
    display: none;
  }

  body[id^="paid-"] .paid-card-table > tbody > tr:not(.paid-analyst-detail-row) {
    padding: 14px;
    margin-bottom: 13px;
    overflow: visible;
    border: 1px solid var(--mobile-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(23, 39, 58, .06);
  }

  body[id^="paid-"] .paid-card-table > tbody > tr:not(.paid-analyst-detail-row) > td {
    display: grid;
    grid-template-columns: minmax(105px, 42%) minmax(0, 1fr);
    align-items: center;
    min-height: 38px;
    padding: 7px 0;
    border: 0;
    border-top: 1px solid #edf0f4;
    text-align: right !important;
    overflow-wrap: anywhere;
  }

  body[id^="paid-"] .paid-card-table > tbody > tr:not(.paid-analyst-detail-row) > td:first-child {
    border-top: 0;
  }

  body[id^="paid-"] .paid-card-table > tbody > tr:not(.paid-analyst-detail-row) > td::before {
    color: var(--mobile-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
  }

  #table-paid-forecast-list td:nth-child(1)::before,
  #table-paid-subscribe-list td:nth-child(2)::before,
  #table-analyst-list td:nth-child(2)::before { content: 'Аналитик'; }
  #table-paid-forecast-list td:nth-child(2)::before { content: 'Дата события'; }
  #table-paid-forecast-list td:nth-child(3)::before { content: 'Спорт'; }
  #table-paid-forecast-list td:nth-child(4)::before { content: 'Коэффициент'; }
  #table-paid-forecast-list td:nth-child(5)::before { content: 'Цена'; }
  #table-paid-forecast-list td:nth-child(6)::before { content: 'Покупка'; }
  #table-paid-subscribe-list td:nth-child(1)::before,
  #table-analyst-list td:nth-child(1)::before { content: '№'; }
  #table-paid-subscribe-list td:nth-child(3)::before,
  #table-analyst-list td:nth-child(3)::before { content: 'Прибыль'; }
  #table-paid-subscribe-list td:nth-child(4)::before,
  #table-analyst-list td:nth-child(4)::before { content: 'Банк'; }
  #table-paid-subscribe-list td:nth-child(5)::before { content: 'Проходимость'; }
  #table-paid-subscribe-list td:nth-child(6)::before { content: 'Средний коэффициент'; }
  #table-paid-subscribe-list td:nth-child(7)::before { content: 'Подписка'; }
  #table-paid-subscribe-list td:nth-child(8)::before { content: 'Действие'; }
  #table-analyst-list td:nth-child(5)::before { content: 'Общая прибыль'; }
  #table-analyst-list td:nth-child(6)::before { content: 'Проходимость'; }
  #table-analyst-list td:nth-child(7)::before { content: 'Средний коэффициент'; }
  #table-analyst-list td:nth-child(8)::before { content: 'Продажи'; }
  #table-analyst-list td:nth-child(9)::before { content: 'Прогнозы'; }

  body[id^="paid-"] .paid-card-table .media {
    min-width: 0;
    margin: 0;
    text-align: left;
  }

  body[id^="paid-"] .paid-card-table .media-object,
  body[id^="paid-"] .paid-card-table .media-left img {
    width: 44px;
    height: 44px;
    object-fit: cover;
  }

  body[id^="paid-"] .paid-card-table .btn-block,
  body[id^="paid-"] .paid-card-table .btn-group-justified {
    min-width: 0;
  }

  .paid-analyst-detail-row {
    padding: 0 8px 14px;
    margin-top: -14px;
  }

  .paid-analyst-detail-row > td {
    padding: 0 !important;
    border: 0 !important;
  }

  .paid-buyer-hero {
    position: relative;
    height: 190px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #d9e6f0;
    border-radius: 18px;
    background:
      radial-gradient(circle at 15% 15%, rgba(91, 191, 170, .24), transparent 34%),
      radial-gradient(circle at 85% 85%, rgba(36, 136, 189, .22), transparent 36%),
      linear-gradient(145deg, #f4fbfa, #f5f9fd);
  }

  .paid-buyer-hero-icon,
  .paid-buyer-hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 14px 30px rgba(23, 68, 92, .2);
  }

  .paid-buyer-hero-icon {
    top: 35px;
    left: 50%;
    width: 98px;
    height: 118px;
    border-radius: 34px 34px 45px 45px;
    background: linear-gradient(150deg, #258abd, #17678f);
    font-size: 45px;
    transform: translateX(-50%);
  }

  .paid-buyer-hero-card {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 23px;
  }

  .paid-buyer-hero-card-one {
    top: 24px;
    left: 15%;
    background: linear-gradient(145deg, #5bbfaa, #349c86);
    transform: rotate(-8deg);
  }

  .paid-buyer-hero-card-two {
    right: 14%;
    bottom: 24px;
    background: linear-gradient(145deg, #efa84a, #d98724);
    transform: rotate(8deg);
  }

  .paid-buyer-hero-spark {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #70cdbb;
    box-shadow: 18px 10px 0 #e9a64e, -10px 24px 0 #85b9d3;
  }

  .paid-buyer-hero-spark-one { top: 30px; right: 15%; }
  .paid-buyer-hero-spark-two { bottom: 36px; left: 17%; }

  .paid-information-content {
    line-height: 1.65;
  }

  .paid-information-buyer > img:first-child,
  .paid-information-buyer > p:first-child > img:only-child {
    display: none !important;
  }

  body[id^="paid-"] #html-payment-methods-form .input-group,
  body[id^="paid-"] .popover .input-group {
    width: 100% !important;
  }

  body[id^="paid-"] #forecast-form .control-label {
    padding-top: 0;
    margin-bottom: 7px;
    text-align: left;
  }

  body[id^="paid-"] #forecast-form .form-group {
    padding: 12px;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid #e7ebf0;
    border-radius: 12px;
    background: #fff;
  }

  body[id^="paid-"] #forecast-form .paid-odds-selector,
  body[id^="paid-"] #forecast-form .paid-odds-selector .btn,
  body[id^="paid-"] #forecast-form #event-odds .tab-content {
    width: 100% !important;
    max-width: 100%;
  }

  body[id^="paid-"] #forecast-form #event-odds > .tab-content,
  body[id^="paid-"] #forecast-form #event-odds .tab-pane > .tab-content {
    margin-top: 10px;
  }

  body[id^="paid-"] #forecast-form #event-bits {
    padding: 13px 13px 13px 34px;
    overflow-wrap: anywhere;
  }

  .paid-order-table,
  .paid-order-table tbody,
  .paid-order-table tr,
  .paid-order-table td {
    display: block;
    width: 100% !important;
  }

  .paid-order-table thead {
    display: none;
  }

  .paid-order-table tbody.pay-forecast {
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid var(--mobile-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(23, 39, 58, .06);
  }

  .paid-order-table tbody.pay-forecast tr {
    padding: 8px 0;
    border-top: 1px solid #edf0f4;
  }

  .paid-order-table tbody.pay-forecast tr:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .paid-order-table tbody.pay-forecast td {
    display: grid;
    grid-template-columns: minmax(92px, 36%) minmax(0, 1fr);
    align-items: center;
    min-height: 34px;
    padding: 5px 0;
    border: 0;
    text-align: right !important;
    overflow-wrap: anywhere;
  }

  .paid-order-table tbody.pay-forecast td::before {
    color: var(--mobile-muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-align: left;
    text-transform: uppercase;
  }

  .paid-order-table tbody.pay-forecast td:empty {
    display: none;
  }

  .paid-order-table tbody.pay-forecast td[colspan] {
    display: block;
    text-align: left !important;
  }

  .paid-order-table tbody.pay-forecast td[colspan]::before {
    display: none;
  }

  .paid-order-table .media {
    margin: 0;
    text-align: left;
  }

  .paid-order-table .media-object,
  .paid-order-table .media-left img,
  .paid-subscription-card .media-object {
    width: 44px;
    height: 44px;
    object-fit: cover;
  }

  .paid-subscription-card {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--mobile-border);
    border-radius: 13px;
    background: #fff;
  }

  .paid-subscription-empty {
    display: flex;
    padding: 14px;
    align-items: center;
    flex-direction: column-reverse;
    border-radius: 14px;
    background: #f5f8fb;
    text-align: center;
  }

  .paid-subscription-empty img {
    width: 72px;
    height: auto;
    margin: 0 0 12px !important;
  }

  .paid-analyst-history-table,
  .paid-analyst-history-table tbody,
  .paid-analyst-history-table tr,
  .paid-analyst-history-table td {
    display: block;
    width: 100% !important;
  }

  .paid-analyst-history-table thead {
    display: none;
  }

  .paid-analyst-history-table tbody > tr:not(.paid-history-description) {
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid var(--mobile-border);
    border-radius: 13px;
    background: #fff;
  }

  .paid-analyst-history-table tbody > tr:not(.paid-history-description) > td {
    display: grid;
    grid-template-columns: minmax(90px, 35%) minmax(0, 1fr);
    padding: 6px 0;
    border: 0;
    border-top: 1px solid #edf0f4;
    text-align: right !important;
    overflow-wrap: anywhere;
  }

  .paid-analyst-history-table tbody > tr:not(.paid-history-description) > td:first-child {
    border-top: 0;
  }

  .paid-analyst-history-table tbody > tr:not(.paid-history-description) > td::before {
    color: var(--mobile-muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
  }

  .paid-history-description {
    margin: -11px 7px 11px;
  }

  .paid-history-description td {
    padding: 0 !important;
    border: 0 !important;
  }

  #paid-account .tab-pane > table,
  #paid-account .well table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #paid-account .tab-pane > table > thead,
  #paid-account .tab-pane > table > tbody,
  #paid-account .well table > tbody {
    min-width: 520px;
  }

  body[id^="paid-"] .tab-pane > .btn-group {
    display: flex;
    width: 100%;
  }

  body[id^="paid-"] .tab-pane > .btn-group > .btn {
    min-width: 0;
    flex: 1 1 50%;
    white-space: normal;
  }
}
