.activity-rewards-banner {
	position: relative;
	width: 100%;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);

	border-radius: 3px;
	margin-bottom: 30px;
}

.activity-rewards-banner a {
	padding: 40px 30px 40px 30px;
	display: block;
	width: 100%;
	height: 100%;
	white-space: normal;
}

.activity-rewards-banner h3 {
	text-align: center;
	font-size: 25px;
	margin-bottom: 30px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.21);
}

.activity-rewards-banner p {
	color: white;
	font-size: 20px;
	text-align: center;
	font-weight: bold;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.21);
}

.activity-rewards-banner img {
	width: 100%;
	max-width: 270px;
	display: block;
	margin: 0 auto 20px;
}


.day-in-a-row {
	color: #FBAB7E !important;
	font-weight: bold !important;
	border-bottom: 2px solid #FBAB7E;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.reward {
	padding: 15px;
	border-radius: 4px;
	display: flex;
	align-items: flex-start;
	position: relative;
	margin-bottom: 20px;
	border: 1px solid #dddddd;
	overflow: hidden;
}

.reward .received {
	display: none;
}

.reward.active .received {
	display: flex;
	position: absolute;
	width: 100%;
	height: 100%;
	align-items: center;
	margin: -15px;
	justify-content: center;
	font-size: 30px;
	color: #ffffff;
	background: rgba(51, 51, 51, 0.74);
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62);
}


.reward:last-child {
	margin-bottom: 0;
}

.reward .reward-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80px;
	height: 80px;
	background-color: #FBAB7E;
	background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
	border-radius: 5px;
}

.reward .reward-day span {
	font-size: 40px;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	line-height: 40px;
	margin-top: 10px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.reward .reward-day i {
	font-size: 12px;
	font-style: normal;
	color: #ffffff;
}

.reward .reward-content {
	flex: 1;
	align-self: center;
	display: flex;
	flex-direction: column;
	padding-left: 15px;
}

.reward .reward-content span:nth-child(1) {
	line-height: 46px;
	font-size: 22px;
}

.reward .reward-content span:nth-child(2) {
	font-size: 14px;
}

/* =========================================================
   REALBOYS CLEAN MODULE CSS ONLY 2026: activity_rewards
   Правка внутри существующего CSS модуля. Новые файлы не добавлены.
   ========================================================= */

:root {
  --rbm-activity_rewards-accent: #c85dff;
  --rbm-activity_rewards-accent-2: #57c6ff;
}

.block,
.box,
.panel,
.card,
.module-block,
.module-card {
  border-radius: 22px;
  border-color: rgba(126,153,194,.18);
  background:
    radial-gradient(circle at 0% 0%, rgba(200,93,255, .10), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.07), transparent 34%),
    linear-gradient(180deg, rgba(11,22,39,.96), rgba(7,17,29,.96));
  color: #edf4ff;
  box-shadow: 0 18px 46px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
}

h1,
h2,
h3,
h4,
h5,
.title,
.module-title,
[class*="title"],
[class*="head"] {
  color: #fff;
  font-weight: 1000;
  letter-spacing: -.03em;
}

p,
small,
.desc,
.description,
.text-muted,
[class*="desc"] {
  color: #9fb1ca;
}

a {
  color: #57c6ff;
  text-decoration: none;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
}

.btn,
button,
input[type="button"],
input[type="submit"] {
  border-radius: 13px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
  white-space: nowrap;
}

.btn-primary,
.btn-info {
  background: linear-gradient(180deg, #57c6ff, #c85dff);
  color: #fff;
}

.btn-success {
  background: linear-gradient(180deg, #43e0a0, #22b97a);
  color: #fff;
}

.btn-danger,
.btn-warning {
  background: linear-gradient(180deg, #ff4866, #e32645);
  color: #fff;
}

input,
select,
textarea,
.form-control {
  border-radius: 12px;
  background: rgba(8,15,27,.92);
  border: 1px solid rgba(126,153,194,.22);
  color: #edf4ff;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
  border-color: rgba(200,93,255, .46);
  box-shadow: 0 0 0 3px rgba(200,93,255, .10);
  outline: none;
}

.avatar,
.user-avatar,
.profile-avatar,
[class*="avatar"] {
  border-radius: 16px;
  overflow: hidden;
}

.badge,
.label,
[class*="badge"],
[class*="label"] {
  border-radius: 999px;
  background: rgba(200,93,255, .15);
  border: 1px solid rgba(200,93,255, .28);
  color: #fff;
  font-weight: 900;
}

.progress {
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #c85dff, #57c6ff);
}

/* CONSOLIDATED FROM realboys-correct-module.css — no separate overlay file */
/* =========================================================
   REALBOYS MODULE CORE SKIN 2026: activity_rewards
   Аккуратная тема под шаблон. Логика не изменена.
   ========================================================= */
.rbm-activity_rewards, .rbm-activity_rewards * { box-sizing: border-box; }
.rbm-activity_rewards { color:#edf4ff; max-width:100%; }
.rbm-activity_rewards a { color:#8bd7ff; text-decoration:none; }
.rbm-activity_rewards a:hover { color:#fff; }
.rbm-activity_rewards h1, .rbm-activity_rewards h2, .rbm-activity_rewards h3, .rbm-activity_rewards h4,
.rbm-activity_rewards .title, .rbm-activity_rewards [class*="title"], .rbm-activity_rewards [class*="head"] {
  color:#fff; font-weight:1000; letter-spacing:-.03em;
}
.rbm-activity_rewards .block, .rbm-activity_rewards .box, .rbm-activity_rewards .panel, .rbm-activity_rewards .card,
.rbm-activity_rewards [class*="block"], .rbm-activity_rewards [class*="panel"], .rbm-activity_rewards [class*="card"] {
  border-radius:22px;
  background:radial-gradient(circle at 0 0, rgba(227,38,69,.10), transparent 34%),
             linear-gradient(180deg, rgba(12,23,41,.96), rgba(7,17,29,.96));
  border:1px solid rgba(126,153,194,.18);
  box-shadow:0 18px 46px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.035);
  color:#edf4ff;
}
.rbm-activity_rewards .btn, .rbm-activity_rewards button, .rbm-activity_rewards input[type="button"], .rbm-activity_rewards input[type="submit"] {
  border-radius:13px; font-weight:900; border:1px solid rgba(255,255,255,.10);
  white-space:nowrap;
}
.rbm-activity_rewards input, .rbm-activity_rewards select, .rbm-activity_rewards textarea {
  border-radius:12px; background:rgba(8,15,27,.92); border:1px solid rgba(126,153,194,.22); color:#edf4ff;
}
.rbm-activity_rewards img { max-width:100%; object-fit:cover; }


/* =========================================================
   REALBOYS MODULE TARGET FIX 2026: module tables
   Таблицы/топы/правые кнопки.
   ========================================================= */
.rbm-table-fix, .rbm-table-fix * { box-sizing:border-box; }

.rbm-table-fix .table-responsive,
.rbm-table-fix .rb-table-responsive,
.rbm-table-fix [class*="table-wrap"] {
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:visible;
  padding-bottom:6px;
}

.rbm-table-fix table {
  width:100%;
  max-width:100%;
  table-layout:auto;
  border-collapse:separate;
  border-spacing:0 8px;
}

.rbm-table-fix table td,
.rbm-table-fix table th {
  vertical-align:middle;
  overflow:visible;
}

.rbm-table-fix table td:last-child {
  min-width:106px;
  width:auto;
  white-space:nowrap;
  overflow:visible;
}

.rbm-table-fix table td:last-child .btn,
.rbm-table-fix table td:last-child a,
.rbm-table-fix table td:last-child button {
  min-width:88px;
  width:auto;
  max-width:none;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
  padding-left:12px;
  padding-right:12px;
}


/* CONSOLIDATED FROM realboys-premium-module.css — no separate overlay file */
/* =========================================================
   REAL BOYS PREMIUM MODULE SKIN — activity_rewards
   Категория: Профиль / аватар / достижения
   Красивое оформление под шаблон Real Boys.
   Логика модуля не изменена.
   ========================================================= */

.rbm-activity_rewards {
  --rb-accent: #b55cff;
  --rb-accent-2: #dc8cff;
  --rb-accent-rgb: 181,92,255;
  --rb-bg: #07111d;
  --rb-card: #0b1424;
  --rb-card-2: #0e1a2f;
  --rb-line: rgba(126,153,194,.18);
  --rb-line-strong: rgba(126,153,194,.30);
  --rb-text: #edf4ff;
  --rb-muted: #9fb1ca;
  --rb-danger: #ff5b75;
  --rb-green: #32d987;
  --rb-gold: #f4d85c;
  color: var(--rb-text);
}

.rbm-activity_rewards,
.rbm-activity_rewards *,
.rbm-activity_rewards *::before,
.rbm-activity_rewards *::after {
  box-sizing: border-box;
}

/* Главная оболочка модуля */
.rbm-activity_rewards.realboys-module-scope,
.realboys-module-scope.rbm-activity_rewards,
.rbm-activity_rewards .module,
.rbm-activity_rewards .module_content,
.rbm-activity_rewards .content,
.rbm-activity_rewards .main-content {
  position: relative;
}

/* Премиальная панель */
.rbm-activity_rewards .block,
.rbm-activity_rewards .box,
.rbm-activity_rewards .panel,
.rbm-activity_rewards .card,
.rbm-activity_rewards .module-block,
.rbm-activity_rewards .module-card,
.rbm-activity_rewards .shop-block,
.rbm-activity_rewards .inventory-block,
.rbm-activity_rewards [class*="block"],
.rbm-activity_rewards [class*="panel"],
.rbm-activity_rewards [class*="card"] {
  position: relative;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .18), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(6,15,27,.98)) !important;
  border: 1px solid var(--rb-line) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
}

.rbm-activity_rewards .block::before,
.rbm-activity_rewards .box::before,
.rbm-activity_rewards .panel::before,
.rbm-activity_rewards .card::before,
.rbm-activity_rewards [class*="block"]::before,
.rbm-activity_rewards [class*="panel"]::before,
.rbm-activity_rewards [class*="card"]::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--rb-accent-rgb), .65), transparent);
  pointer-events: none;
}

/* Заголовки */
.rbm-activity_rewards h1,
.rbm-activity_rewards h2,
.rbm-activity_rewards h3,
.rbm-activity_rewards h4,
.rbm-activity_rewards h5,
.rbm-activity_rewards .title,
.rbm-activity_rewards .module-title,
.rbm-activity_rewards .block_head,
.rbm-activity_rewards .block-title,
.rbm-activity_rewards [class*="title"],
.rbm-activity_rewards [class*="head"] {
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: -.035em;
  text-shadow: 0 0 22px rgba(var(--rb-accent-rgb), .22);
}

.rbm-activity_rewards .title::first-letter,
.rbm-activity_rewards .module-title::first-letter,
.rbm-activity_rewards h1::first-letter,
.rbm-activity_rewards h2::first-letter,
.rbm-activity_rewards h3::first-letter {
  color: var(--rb-accent);
}

/* Описание */
.rbm-activity_rewards p,
.rbm-activity_rewards small,
.rbm-activity_rewards .desc,
.rbm-activity_rewards .description,
.rbm-activity_rewards .text-muted,
.rbm-activity_rewards .muted,
.rbm-activity_rewards [class*="desc"] {
  color: var(--rb-muted) !important;
}

/* Ссылки */
.rbm-activity_rewards a {
  color: var(--rb-accent-2) !important;
  text-decoration: none !important;
  transition: .18s ease;
}

.rbm-activity_rewards a:hover {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .32);
}

/* Карточки товаров/кейсов/инвентаря */
.rbm-activity_rewards .item,
.rbm-activity_rewards .product,
.rbm-activity_rewards .product-item,
.rbm-activity_rewards .shop_item,
.rbm-activity_rewards .shop-item,
.rbm-activity_rewards .market_item,
.rbm-activity_rewards .inventory_item,
.rbm-activity_rewards .inventory-item,
.rbm-activity_rewards .case,
.rbm-activity_rewards .case-item,
.rbm-activity_rewards .skin,
.rbm-activity_rewards .skin-item,
.rbm-activity_rewards [class*="item"],
.rbm-activity_rewards [class*="product"],
.rbm-activity_rewards [class*="case"],
.rbm-activity_rewards [class*="skin"] {
  position: relative;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(15,29,52,.96), rgba(9,18,32,.96)) !important;
  border: 1px solid rgba(126,153,194,.18) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
  color: var(--rb-text) !important;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.rbm-activity_rewards .item:hover,
.rbm-activity_rewards .product:hover,
.rbm-activity_rewards .product-item:hover,
.rbm-activity_rewards .shop_item:hover,
.rbm-activity_rewards .inventory_item:hover,
.rbm-activity_rewards .case:hover,
.rbm-activity_rewards .skin:hover,
.rbm-activity_rewards [class*="item"]:hover,
.rbm-activity_rewards [class*="product"]:hover,
.rbm-activity_rewards [class*="case"]:hover,
.rbm-activity_rewards [class*="skin"]:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--rb-accent-rgb), .48) !important;
  box-shadow:
    0 22px 48px rgba(0,0,0,.32),
    0 0 0 1px rgba(var(--rb-accent-rgb), .10),
    0 0 28px rgba(var(--rb-accent-rgb), .12) !important;
}

/* Глянец карточки */
.rbm-activity_rewards .item::after,
.rbm-activity_rewards .product::after,
.rbm-activity_rewards .product-item::after,
.rbm-activity_rewards .case::after,
.rbm-activity_rewards [class*="item"]::after,
.rbm-activity_rewards [class*="product"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 36%);
  pointer-events: none;
}

/* Картинки */
.rbm-activity_rewards img {
  max-width: 100%;
  object-fit: cover;
}

.rbm-activity_rewards .item img,
.rbm-activity_rewards .product img,
.rbm-activity_rewards .product-item img,
.rbm-activity_rewards .shop_item img,
.rbm-activity_rewards .inventory_item img,
.rbm-activity_rewards .case img,
.rbm-activity_rewards [class*="item"] img,
.rbm-activity_rewards [class*="product"] img,
.rbm-activity_rewards [class*="case"] img {
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
}

/* Цена / валюта / баланс */
.rbm-activity_rewards .price,
.rbm-activity_rewards .cost,
.rbm-activity_rewards .money,
.rbm-activity_rewards .balance,
.rbm-activity_rewards .rub,
.rbm-activity_rewards .coins,
.rbm-activity_rewards [class*="price"],
.rbm-activity_rewards [class*="cost"],
.rbm-activity_rewards [class*="money"],
.rbm-activity_rewards [class*="balance"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rb-gold) !important;
  font-weight: 1000 !important;
  text-shadow: 0 0 14px rgba(244,216,92,.18);
}

/* Badges */
.rbm-activity_rewards .badge,
.rbm-activity_rewards .label,
.rbm-activity_rewards [class*="badge"],
.rbm-activity_rewards [class*="label"] {
  border-radius: 999px !important;
  padding: 4px 9px !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border: 1px solid rgba(var(--rb-accent-rgb), .24) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

/* Кнопки */
.rbm-activity_rewards .btn,
.rbm-activity_rewards button,
.rbm-activity_rewards input[type="button"],
.rbm-activity_rewards input[type="submit"] {
  border-radius: 14px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  font-weight: 950 !important;
  box-shadow: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.rbm-activity_rewards .btn:hover,
.rbm-activity_rewards button:hover,
.rbm-activity_rewards input[type="button"]:hover,
.rbm-activity_rewards input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.24), 0 0 18px rgba(var(--rb-accent-rgb), .14) !important;
}

.rbm-activity_rewards .btn-primary,
.rbm-activity_rewards .btn-info,
.rbm-activity_rewards .btn-success,
.rbm-activity_rewards button.btn-primary,
.rbm-activity_rewards button.btn-success {
  background: linear-gradient(180deg, var(--rb-accent-2), var(--rb-accent)) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

.rbm-activity_rewards .btn-danger,
.rbm-activity_rewards .btn-warning {
  background: linear-gradient(180deg, #ff5b75, #b91834) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.14) !important;
}

/* Поля */
.rbm-activity_rewards input,
.rbm-activity_rewards select,
.rbm-activity_rewards textarea {
  border-radius: 14px !important;
  background: rgba(8,15,27,.92) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  color: var(--rb-text) !important;
}

.rbm-activity_rewards input:focus,
.rbm-activity_rewards select:focus,
.rbm-activity_rewards textarea:focus {
  border-color: rgba(var(--rb-accent-rgb), .52) !important;
  box-shadow: 0 0 0 3px rgba(var(--rb-accent-rgb), .12) !important;
  outline: none !important;
}

/* Таблицы */
.rbm-activity_rewards table {
  width: 100%;
  color: var(--rb-text) !important;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

.rbm-activity_rewards table th,
.rbm-activity_rewards table thead td {
  background: rgba(13,24,43,.98) !important;
  color: var(--rb-accent-2) !important;
  border-color: rgba(126,153,194,.16) !important;
  font-weight: 1000 !important;
}

.rbm-activity_rewards table tbody tr {
  background: rgba(11,20,36,.72) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.rbm-activity_rewards table td {
  background: rgba(11,20,36,.72) !important;
  border-color: rgba(126,153,194,.10) !important;
  color: #dce8fb !important;
}

/* Tabs */
.rbm-activity_rewards .nav-tabs {
  border-color: rgba(126,153,194,.16) !important;
}

.rbm-activity_rewards .nav-tabs a,
.rbm-activity_rewards .nav-tabs .nav-link {
  border-radius: 14px 14px 0 0 !important;
  color: var(--rb-muted) !important;
  background: rgba(11,20,36,.60) !important;
  border-color: rgba(126,153,194,.14) !important;
}

.rbm-activity_rewards .nav-tabs .active,
.rbm-activity_rewards .nav-tabs a.active {
  color: #fff !important;
  background: rgba(var(--rb-accent-rgb), .14) !important;
  border-color: rgba(var(--rb-accent-rgb), .32) !important;
}

/* Модалки */
.rbm-activity_rewards .modal-content {
  border-radius: 26px !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--rb-accent-rgb), .16), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(87,198,255,.08), transparent 34%),
    linear-gradient(180deg, #0b1424, #07111d) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 30px 86px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.045) !important;
  color: var(--rb-text) !important;
}

.rbm-activity_rewards .modal-header {
  border-bottom: 1px solid rgba(126,153,194,.16) !important;
  background: linear-gradient(90deg, rgba(var(--rb-accent-rgb), .16), rgba(87,198,255,.06)) !important;
}

.rbm-activity_rewards .modal-title {
  color: #fff !important;
  font-weight: 1000 !important;
}

/* Dropdown */
.rbm-activity_rewards .dropdown-menu {
  z-index: 9999 !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(12,23,41,.98), rgba(7,17,29,.98)) !important;
  border: 1px solid rgba(126,153,194,.22) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,.36) !important;
}

.rbm-activity_rewards .dropdown-menu a {
  color: #dce8fb !important;
}

.rbm-activity_rewards .dropdown-menu a:hover {
  background: rgba(var(--rb-accent-rgb), .12) !important;
  color: #fff !important;
}

/* Alerts */
.rbm-activity_rewards .alert {
  border-radius: 18px !important;
  border-color: rgba(126,153,194,.18) !important;
  background: rgba(11,20,36,.90) !important;
  color: #dce8fb !important;
}

/* Прогресс */
.rbm-activity_rewards .progress {
  border-radius: 999px !important;
  background: rgba(8,15,27,.9) !important;
  overflow: hidden;
}

.rbm-activity_rewards .progress-bar {
  background: linear-gradient(90deg, var(--rb-accent), var(--rb-accent-2)) !important;
  box-shadow: 0 0 18px rgba(var(--rb-accent-rgb), .25);
}

/* Мобильная защита */
@media(max-width: 767px) {
  .rbm-activity_rewards {
    overflow-x: auto;
  }

  .rbm-activity_rewards .item,
  .rbm-activity_rewards .product,
  .rbm-activity_rewards .product-item,
  .rbm-activity_rewards [class*="item"] {
    border-radius: 16px !important;
  }
}

/* =========================================================
   REALBOYS MODULE BEAUTY STYLES 2026
   Единый красивый вид модулей под шаблон.
   Только существующие CSS-файлы модулей, без новых подключений.
   ========================================================= */

.module,
.module-block,
.module_box,
.module-box,
.module-content,
.module_item,
.module-item,
.rb-module,
[class*="module"] .block,
[class*="module"] .card,
[class*="module"] .panel {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* Карточки модулей */
.module .block,
.module-block,
.module_box,
.module-box,
.module-content,
.module_item,
.module-item,
.rb-module-card,
[class*="module"] .card,
[class*="module"] .panel,
[class*="module"] .item,
[class*="module"] .service,
[class*="module"] .product,
[class*="module"] .case,
[class*="module"] .reward,
[class*="module"] .stat,
[class*="module"] .widget {
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(87,198,255,.055), transparent 32%),
    linear-gradient(180deg, rgba(13,24,42,.88), rgba(7,17,29,.88));
  border: 1px solid rgba(126,153,194,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.028), 0 10px 26px rgba(0,0,0,.14);
  overflow: hidden;
}

/* Заголовки модулей */
.module .block_head,
.module-block .block_head,
.module_box .block_head,
.module-box .block_head,
.module-content .block_head,
[class*="module"] .block_head,
[class*="module"] .card-header,
[class*="module"] .panel-heading,
[class*="module"] h1,
[class*="module"] h2,
[class*="module"] h3 {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.18;
}

/* Сетки */
[class*="module"] .row,
[class*="module"] [class*="col-"],
.module .row,
.module [class*="col-"] {
  min-width: 0;
}

[class*="module"] .row {
  row-gap: 14px;
}

/* Кнопки модулей */
[class*="module"] .btn,
[class*="module"] button,
[class*="module"] input[type="submit"],
[class*="module"] input[type="button"],
.module .btn,
.module button,
.module input[type="submit"],
.module input[type="button"] {
  min-height: 38px;
  border-radius: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Формы */
[class*="module"] input,
[class*="module"] select,
[class*="module"] textarea,
[class*="module"] .form-control,
.module input,
.module select,
.module textarea,
.module .form-control {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 12px;
}

/* Таблицы */
[class*="module"] table,
.module table {
  max-width: 100%;
}

[class*="module"] .table-responsive,
.module .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

/* Изображения */
[class*="module"] img,
.module img {
  max-width: 100%;
}

[class*="module"] .avatar,
[class*="module"] .user_avatar,
[class*="module"] .user-avatar,
[class*="module"] [class*="avatar"] img {
  object-fit: cover;
}

/* Длинный текст */
[class*="module"] p,
[class*="module"] span,
[class*="module"] div,
[class*="module"] a,
[class*="module"] td,
[class*="module"] th,
.module p,
.module span,
.module div,
.module a,
.module td,
.module th {
  overflow-wrap: anywhere;
}

/* Иконки/бейджи */
[class*="module"] .badge,
[class*="module"] .label,
.module .badge,
.module .label {
  border-radius: 999px;
  font-weight: 900;
}

/* Модалки внутри модулей */
[class*="module"] .modal-dialog,
[class*="module"] .modal-content,
.module .modal-dialog,
.module .modal-content {
  max-width: calc(100vw - 24px);
}

/* Не ломаем цвета групп, верификацию и colors */
[class*="module"] a[style*="groups_styles"],
[class*="module"] span[style*="groups_styles"],
[class*="module"] h3[style*="groups_styles"],
[class*="module"] .rb-colors-inline,
[class*="module"] .rb-chat-text-color {
  max-width: 100%;
}

@media (max-width: 767px) {
  [class*="module"] .btn,
  [class*="module"] button,
  .module .btn,
  .module button {
    min-height: 40px;
  }

  [class*="module"] .table-responsive table,
  .module .table-responsive table {
    min-width: 560px;
  }
}
