.prediction-user-card,
.prediction-user-card * { box-sizing: border-box; }

.prediction-user-card {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 681px;
  margin: 0 auto 30px;
  flex-direction: column;
  overflow: visible;
  border: 1px solid #e6e8eb;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
  color: #14161a;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.prediction-user-card--success { border-color: #c6eedb; }
.prediction-user-card--fail { border-color: #f2d5d3; }
.prediction-user-card--unknown { border-color: #dce9f5; }

.prediction-user-card__head {
  position: relative;
  z-index: 5;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(31,111,235,.14);
  border-radius: 12px 12px 0 0;
  background: #e4f2fd;
}

.prediction-user-card--tournament .prediction-user-card__head { background: #eaf6ee; }
.prediction-user-card--professional .prediction-user-card__head { background: #ffe7d4; }

.prediction-user-card__avatar,
.prediction-user-card__avatar > span,
.prediction-user-card__avatar > img {
  display: flex;
  width: 28px;
  height: 28px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.prediction-user-card__avatar { overflow: hidden; border: 1px solid #cfe3f2; background: #fff; color: #42607a; font-size: 10.5px; font-weight: 750; text-decoration: none; }
.prediction-user-card__avatar > img { object-fit: cover; }
.prediction-user-card__avatar:hover { text-decoration: none; }

.prediction-user-card__author { display: flex; min-width: 0; align-items: center; gap: 7px; }
.prediction-user-card__author > a { overflow: hidden; color: #14161a; font-size: 14px; font-weight: 750; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.prediction-user-card__author > a:hover { color: #1f5b87; }
.prediction-user-card__profit { flex: none; color: #c4201b; font-size: 15px; font-weight: 750; line-height: 1; }
.prediction-user-card__profit.is-positive { color: #0b8f5b; }

.prediction-user-card__head-spacer { flex: 1; }

.prediction-user-card__rank {
  flex: none;
  padding: 4px 7px;
  border: 1px solid #d8e3ec;
  border-radius: 6px;
  background: #fff;
  color: #4a5159;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.prediction-user-card__rank--expert { border-color: #c8dfe5; color: #2f6f7e; }
.prediction-user-card__rank--master { border-color: #cae5d5; color: #28734b; }
.prediction-user-card__rank--guru { border-color: #d3d5f1; color: #5b5fae; }
.prediction-user-card__rank--thinker { border-color: #ded0ec; color: #7a4fa3; }
.prediction-user-card__rank--enlightened { border-color: #eddcb4; color: #8f6200; }
.prediction-user-card__rank--oracle { border-color: #c9ddfa; color: #1f6feb; }
.prediction-user-card__rank--admin { border-color: #f3bdb9; color: #a3130f; }
.prediction-user-card__rank-short { display: none; }

.prediction-user-card__stats-button,
.prediction-user-card__icon-button {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #cfe3f2;
  border-radius: 9px;
  background: #fff;
  color: #42607a;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.prediction-user-card__stats-button:hover,
.prediction-user-card__stats-button[aria-expanded="true"] { border-color: #8fb6d6; background: #f2f9ff; color: #1f5b87; }

.prediction-user-card__tip-wrap { position: relative; display: flex; flex: none; align-items: center; }
.prediction-user-card__pro-icon,
.prediction-user-card__tournament-icon { display: flex; width: 23px; height: 23px; flex: none; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #a94e21; font-size: 18px; cursor: help; }
.prediction-user-card__pro-icon { color: #0b8f5b; }
.prediction-user-card__tournament-icon { border: 1px solid #e8d9ae; border-radius: 7px; background: #fff; color: #9a7100; font-size: 11px; }
.prediction-user-card__pro-icon:hover,
.prediction-user-card__tournament-icon:hover { transform: translateY(-1px); }

.prediction-user-card__tip {
  position: absolute;
  top: calc(100% + 8px);
  left: -6px;
  z-index: 40;
  display: none;
  width: 268px;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20,22,26,.14);
  color: #4a5159;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}

.prediction-user-card__tip > strong { display: flex; align-items: center; gap: 7px; padding: 9px 11px; border-bottom: 1px solid #d7efe3; background: #eaf8f1; color: #245d43; font-size: 13px; }
.prediction-user-card__tip > span { display: block; padding: 0 11px 4px; }
.prediction-user-card__tip > strong + span { padding-top: 9px; }
.prediction-user-card__tip > .prediction-user-card__tip-intro { padding-bottom: 6px; color: #14161a; font-weight: 750; }
.prediction-user-card__tip > span:last-child { padding-bottom: 11px; }
.prediction-user-card__tip-wrap.is-open .prediction-user-card__tip { display: block; }

.prediction-user-card__admin { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #f1e6bc; background: #fbf5e7; font-size: 12px; }
.prediction-user-card__admin label { margin: 0 auto 0 0; font-weight: 500; }
.prediction-user-card__admin button { padding: 4px 7px; border: 1px solid #ded5b6; border-radius: 6px; background: #fff; color: #5a5136; }

.prediction-user-card__body { display: flex; flex-direction: column; gap: 10px; padding: 13px 12px; }

.prediction-user-card__match-strip,
.prediction-user-card__event-strip { display: grid; min-width: 0; align-items: center; padding: 8px 10px; border: 1px solid #eceef1; border-radius: 18px; background: #fafbfc; }
.prediction-user-card__match-strip { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 12px; padding: 9px 12px; }
.prediction-user-card__event-strip { grid-template-columns: auto minmax(0,1fr) auto; gap: 10px; }

.prediction-user-card__team { display: flex; min-width: 0; align-items: center; gap: 8px; }
.prediction-user-card__team--home { flex-direction: row-reverse; justify-content: flex-start; text-align: right; }
.prediction-user-card__team--away { text-align: left; }
.prediction-user-card__team strong,
.prediction-user-card__event-strip > strong { overflow: hidden; color: #22262c; font-size: 15px; font-weight: 650; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }

.prediction-user-card__team-logo { display: flex; width: 24px; height: 24px; flex: none; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e1e4e8; border-radius: 50%; background: #fff; color: #5a6169; font-size: 8px; font-weight: 750; }
.prediction-user-card__team-logo img { display: block; width: 22px; height: 22px; object-fit: contain; }

.prediction-user-card__match-center,
.prediction-user-card__event-state { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.prediction-user-card__match-center b,
.prediction-user-card__event-state b { color: #14161a; font-size: 14px; font-weight: 750; line-height: 1; white-space: nowrap; }
.prediction-user-card__match-center b.is-score { font-size: 17px; }
.prediction-user-card__match-center small,
.prediction-user-card__event-state small { color: #5a6169; font-size: 10.5px; font-weight: 650; letter-spacing: .05em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.prediction-user-card__match-center small:empty,
.prediction-user-card__event-state small:empty { display: none; }
.prediction-user-card__match-center small.is-live,
.prediction-user-card__event-state small.is-live { color: #c4201b; }
.prediction-user-card__match-center small.is-live::before,
.prediction-user-card__event-state small.is-live::before { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #c4201b; content: ""; vertical-align: 1px; }

.prediction-user-card__bet { display: flex; min-width: 0; align-items: center; gap: 12px; }
.prediction-user-card__bet > strong { flex: 1; color: #14161a; font-size: 15px; font-weight: 650; line-height: 1.35; text-wrap: pretty; }
.prediction-user-card--fail .prediction-user-card__bet > strong { color: #5a6169; }
.prediction-user-card__bet > strong > span { color: #5a6169; font-size: 12px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.prediction-user-card__bet > strong > i { color: #b2b7be; font-style: normal; font-weight: 400; }

.prediction-user-card__odds { display: inline-flex; flex: none; align-items: center; color: #14161a; font-style: normal; line-height: 1; }
.prediction-user-card__odds em { color: inherit; font-size: 16px; font-style: normal; font-weight: 800; }
.prediction-user-card__odds > b { display: inline-flex; align-self: stretch; align-items: center; justify-content: center; padding-right: 6px; border-right: 1px solid currentColor; font-size: 18px; line-height: 1; }
.prediction-user-card__odds--success,
.prediction-user-card__odds--fail,
.prediction-user-card__odds--unknown { gap: 7px; padding: 6px 10px; border: 1px solid; border-radius: 18px; }
.prediction-user-card__odds--success { border-color: #b5e8ce; background: #e3f7ec; color: #0b6e46; }
.prediction-user-card__odds--fail { border-color: #f3bdb9; background: #fde0de; color: #a3130f; }
.prediction-user-card__odds--unknown { border-color: #c3ddf3; background: #e1effb; color: #1f5b87; }
.prediction-user-card__odds--unknown > b { font-size: 13px; }

.prediction-user-card__description { color: #2c3036; font-size: 15px !important; line-height: 1.6; text-align: left; }
.prediction-user-card__description p { margin: 0 0 7px; }
.prediction-user-card__description p:last-child { margin-bottom: 0; }
.prediction-user-card__restricted { padding: 13px; border: 1px solid #f0dfc5; border-radius: 10px; background: #fff9ef; color: #5a5136; font-size: 14px; }

.prediction-user-card__stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 11px 12px; border: 1px solid #e3edf5; border-radius: 10px; background: #f7fbfe; }
.prediction-user-card__stats[hidden] { display: none; }
.prediction-user-card__stats > div { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.prediction-user-card__stats > div > strong { margin-bottom: 1px; color: #42607a; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.prediction-user-card__stats span { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.prediction-user-card__stats small { color: #737a83; font-size: inherit; }
.prediction-user-card__stats b { color: #22262c; font-size: inherit; font-weight: 650; text-align: right; }
.prediction-user-card .is-positive { color: #0b8f5b; }
.prediction-user-card .is-negative { color: #c4201b; }

.prediction-user-card__footer { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 6px 11px; border-top: 1px solid #e9ebee; border-radius: 0 0 12px 12px; background: #f7f8fa; }
.prediction-user-card.has-comments-open .prediction-user-card__footer { border-radius: 0; }
.prediction-user-card__footer-spacer { flex: 1; }
.prediction-user-card__vote-group { display: flex; min-width: 0; align-items: center; }
.prediction-user-card__vote { display: flex; min-height: 28px; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid #e3e5e8; border-radius: 8px; background: #fff; color: #5a6169; font-size: 12.5px; font-weight: 750; line-height: 1; cursor: pointer; }
.prediction-user-card__vote:hover { border-color: rgba(11,143,91,.45); color: #0b8f5b; }
.prediction-user-card__vote--down:hover { border-color: rgba(196,32,27,.4); color: #c4201b; }
.prediction-user-card__vote.is-active { border-color: rgba(11,143,91,.45); background: #e3f7ec; color: #0b8f5b; box-shadow: inset 0 0 0 1px rgba(11,143,91,.18); }
.prediction-user-card__vote--down.is-active { border-color: rgba(196,32,27,.4); background: #fde6e5; color: #c4201b; box-shadow: inset 0 0 0 1px rgba(196,32,27,.15); }
.prediction-user-card__vote:disabled { cursor: default; opacity: .55; }

.prediction-user-card__faces { display: flex; flex-direction: row-reverse; align-items: center; padding: 0 0 0 7px; border: 0; background: none; cursor: pointer; opacity: .85; }
.prediction-user-card__faces > span { display: flex; width: 21px; height: 21px; margin-left: -6px; align-items: center; justify-content: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #dce3ea; box-shadow: 0 0 0 1px rgba(16,24,40,.06); color: #3f454d; font-size: 9px; font-weight: 750; }
.prediction-user-card__faces img { width: 100%; height: 100%; object-fit: cover; }
.prediction-user-card__faces:hover { opacity: 1; }

.prediction-user-card__subscribe { flex: none; }
.prediction-user-card__subscribe .prediction-user-card__icon-button { border-color: #e3e5e8; color: #5a6169; }
.prediction-user-card__subscribe .btn-unsubscribe { border-color: rgba(11,143,91,.45); background: #e3f7ec; color: #0b8f5b; }
.prediction-user-card__subscribe-menu { display: flex; width: 250px; align-items: center; gap: 8px; padding: 6px 14px; }
.prediction-user-card__subscribe-menu label { margin: 0 auto 0 0; color: #4a5159; font-size: 12px; font-weight: 500; }

.prediction-user-card__comments-button { display: inline-flex; min-height: 28px; align-items: center; gap: 5px; padding: 4px 5px; border: 0; border-radius: 8px; background: none; color: #8a939c; font-size: 13px; font-weight: 650; line-height: 1; text-decoration: none; cursor: pointer; }
.prediction-user-card__comments-button:hover,
.prediction-user-card__comments-button[aria-expanded="true"] { border-color: #cfe3f2; background: #f2f9ff; color: #1f5b87; text-decoration: none; }
.prediction-user-card__comments-button b { font-weight: 750; }

.prediction-user-comments { padding: 13px 12px; border-top: 1px solid #e9ebee; background: #fff; border-radius: 0 0 12px 12px; }
.prediction-user-comments .prediction-review-form { margin: 0 0 14px; padding: 11px; border: 1px solid #e3edf5; border-radius: 10px; background: #f7fbfe; }
.prediction-user-comments .prediction-review-form textarea { min-height: 78px; resize: vertical; border-color: #d8e3ec; border-radius: 8px; box-shadow: none; font-size: 14px; }
.prediction-user-comments .prediction-review-submit { margin-top: 8px; text-align: right; }
.prediction-user-comments .alert { margin: 0 0 12px; border-radius: 8px; }
.prediction-user-comments .media-list { margin: 0; }
.prediction-user-comments .media { margin-top: 0; padding: 10px 0; border-bottom: 1px solid #eceef1; }
.prediction-user-comments .media:last-child { border-bottom: 0; }
.prediction-user-comments .media-left { padding-right: 9px; }
.prediction-user-comments .media-object.thumbnail { width: 34px; height: 34px; margin: 0; padding: 0; border: 1px solid #e1e4e8; border-radius: 50%; object-fit: cover; }
.prediction-user-comments .review-body { padding: 0; border: 0; background: transparent; }
.prediction-user-comments .media-heading { margin: 0 0 5px; color: #22262c; font-size: 13px; font-weight: 700; }
.prediction-user-comments .review-body > p { margin: 0; color: #3f454d; font-size: 13px; line-height: 1.5; }
.prediction-user-comments .review-body .text-muted { color: #8a9199; font-size: 10.5px; }
.prediction-user-comments .review-list { margin: 8px 0 0; padding: 0 0 0 10px; border-left: 2px solid #e3edf5; }
.prediction-user-comments .review-list .media { padding: 8px 0 8px 8px; }
.prediction-user-comments .btn-answer,
.prediction-user-comments .btn-delete { padding: 2px 5px; border-radius: 5px; font-size: 10px; }
.prediction-user-comments hr { display: none; }

#modal-customer-vote .modal-content { overflow: hidden; border: 1px solid #e6e8eb; border-radius: 14px; box-shadow: 0 18px 44px rgba(16,24,40,.24); }
#modal-customer-vote .modal-header { border-bottom-color: #e9ebee; background: #f7f8fa; }
#modal-customer-vote .modal-title { color: #22262c; font-size: 15px; font-weight: 750; }
#modal-customer-vote .modal-body { padding: 12px; }
#modal-customer-vote .panel { overflow: hidden; border-radius: 10px; box-shadow: none; }
#modal-customer-vote .list-group-item { min-height: 58px; font-size: 12px; }
#modal-customer-vote .list-group-item img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

@media (min-width: 768px) {
  .prediction-user-card__tip-wrap:hover .prediction-user-card__tip,
  .prediction-user-card__tip-wrap:focus-within .prediction-user-card__tip { display: block; }
}

@media (max-width: 767px) {
  .prediction-user-card { margin-bottom: 24px; }
  .prediction-user-card__head { gap: 6px; padding: 6px 9px; }
  .prediction-user-card__avatar,
  .prediction-user-card__avatar > span,
  .prediction-user-card__avatar > img { width: 26px; height: 26px; }
  .prediction-user-card__avatar { font-size: 11px; }
  .prediction-user-card__pro-icon { width: 20px; height: 20px; font-size: 17px; }
  .prediction-user-card__tournament-icon { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; }
  .prediction-user-card__author { min-width: 0; gap: 5px; overflow: hidden; }
  .prediction-user-card__author > a { font-size: 16px; }
  .prediction-user-card__profit { font-size: 16px; }
  .prediction-user-card__rank { max-width: 84px; overflow: hidden; padding: 3px 5px; border-radius: 5px; font-size: 11px; letter-spacing: .035em; text-overflow: ellipsis; }
  .prediction-user-card__rank-full { display: none; }
  .prediction-user-card__rank-short { display: inline; }
  .prediction-user-card__stats-button,
  .prediction-user-card__icon-button { width: 26px; height: 26px; border-radius: 9px; }
  .prediction-user-card__tip { left: -8px; width: 244px; font-size: 15px; }
  .prediction-user-card__tip > strong { font-size: 15px; }

  .prediction-user-card__body { gap: 9px; padding: 11px 10px; }
  .prediction-user-card__match-strip { grid-template-columns: minmax(0,1fr) auto; gap: 7px 10px; padding: 8px 10px; }
  .prediction-user-card__team { grid-column: 1; gap: 7px; }
  .prediction-user-card__team--home { flex-direction: row; text-align: left; }
  .prediction-user-card__team--away { grid-row: 2; text-align: left; }
  .prediction-user-card__match-center { grid-column: 2; grid-row: 1 / span 2; align-items: flex-end; padding-left: 10px; border-left: 1px solid #eceef1; text-align: right; }
  .prediction-user-card__team strong,
  .prediction-user-card__event-strip > strong { font-size: 16px; }
  .prediction-user-card__team-logo { width: 20px; height: 20px; font-size: 7px; }
  .prediction-user-card__team-logo img { width: 18px; height: 18px; }
  .prediction-user-card__match-center b,
  .prediction-user-card__event-state b { font-size: 16px; }
  .prediction-user-card__match-center b.is-score { font-size: 20px; }
  .prediction-user-card__match-center small,
  .prediction-user-card__event-state small { max-width: 88px; font-size: 12px; white-space: normal; }
  .prediction-user-card__event-strip { grid-template-columns: auto minmax(0,1fr); padding: 8px 9px; }
  .prediction-user-card__event-state { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding-top: 2px; }

  .prediction-user-card__bet { gap: 8px; }
  .prediction-user-card__bet > strong { font-size: 16px; line-height: 1.35; }
  .prediction-user-card__bet > strong > span { font-size: 12px; }
  .prediction-user-card__odds em { font-size: 17px; }
  .prediction-user-card__odds > b { padding-right: 5px; font-size: 18px; }
  .prediction-user-card__odds--success,
  .prediction-user-card__odds--fail,
  .prediction-user-card__odds--unknown { gap: 6px; padding: 5px 9px; }
  .prediction-user-card__description { display: -webkit-box; overflow: hidden; font-size: 16px !important; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .prediction-user-card__stats { grid-template-columns: 1fr; gap: 12px; padding: 10px; }
  .prediction-user-card__stats > div > strong { font-size: 12px; }
  .prediction-user-card__stats span { font-size: 15px; }

  .prediction-user-card__footer { flex-wrap: wrap; gap: 4px; row-gap: 5px; padding: 5px 7px; }
  .prediction-user-card__vote { min-height: 26px; gap: 4px; padding: 5px 7px; font-size: 15px; }
  .prediction-user-card__faces { padding-left: 6px; }
  .prediction-user-card__faces > span { width: 19px; height: 19px; font-size: 9px; }
  .prediction-user-card__faces > span:nth-child(n+3) { display: none; }
  .prediction-user-card__comments-button { min-height: 26px; padding: 4px 5px; font-size: 15px; }
  .prediction-user-card__comments-button span { display: none; }
  .prediction-user-card__subscribe-menu { width: 235px; }
  .prediction-user-comments { padding: 11px 10px; }
  .prediction-user-comments .media-left.hidden-xs { display: table-cell !important; }
  .prediction-user-comments .pull-left.visible-xs { display: none !important; }
  .prediction-user-comments .review-body > p { font-size: 14px; }
}
