
        :root {
                    --traffy-buttonRewardImage-background-image-two: url('https://telegramhash.com/static/lightning-charge-fill.svg');
                }
                @font-face {
                    font-family: 'Inter';
                    src: url('../static/Inter.woff2') format('woff2'), url('../static/Inter.ttf') format('truetype');
                    font-weight: 100 900;
                    font-style: normal;
                    font-display: swap;
                }
                .traffy-custom {
                    --traffy-buttonRewardImage-background-image: var(--traffy-buttonRewardImage-background-image-two, url('https://telegramhash.com/static/lightning-charge-fill.svg'));
                    --traffy-buttonRewardImage-background-size: 14px;
                    --traffy-buttonCheckRewardImage-background-image: none;
                    --traffy-buttonCheckRewardImage-background-size: 0;
                    --traffy-taskElementImageCont-display: block;
                    --traffy-taskElementInfoCont-gap: 10px;
                    --traffy-taskElementButtonContOuter-background-color: #ffab60;
                    --traffy-taskElementCont-bg: #2a2c2e;
                    --traffy-taskElementInstructionText-color: #fff;
                    --traffy-taskElementCont-height: auto;
                    --traffy-taskElementCont-font-family: 'Inter', Arial, sans-serif;
                    --traffy-taskElementButtonContOuter-font-size: 12px;
                    --traffy-taskElementButtonText-font-size: 14px;
                    --traffy-taskElementButtonCheckText-font-size: 14px;
                    --traffy-taskElementCont-width: none;
                }
        body {
    background-color: #1a1c1e; /* Тёмный фон */
    color: #ffffff; /* Белый текст */
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    overflow: scroll;
}

body::-webkit-scrollbar {
    display: none;
}

.container {
    margin: 0 20px 20px 20px;
    border-radius: 8px;
    overflow: hidden;
    padding-top: 20px;
}

.fullscreen-iframe {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            border: none;
            z-index: 1000;
            background: white;
        }

.block {
    background-color: #2a2c2e; /* Тёмно-серый фон для блоков */
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #3b3b3b;
}

.block h2 {
    margin: 0;
    border-left: 2px solid #444;
    padding-left: 5px;
}

.balance {
    font-weight: bold;
    color: #fff; /* Зелёный цвет для баланса */
}

.times {
    margin: 5px 0 5px 0;
    color: rgba(142, 142, 147, 1);
}


.reward-green {
    background-color: #ffab60; /* Зелёный фон */
}

/* Красный фон для награды майнера, если майнер - другой пользователь */
.reward-red {
    background-color: #593b21; /* Красный фон */
}

.button {
    background-color: #444; /* Цвет кнопки */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.buttonm {
    background-color: #444; /* Цвет кнопки */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.buttonm:not(.active) {
    background: linear-gradient(90deg, #ffab60, #ffc795, #ffab60);
    background-size: 200% auto;
    animation: gradientFlow 1.5s linear infinite;
    box-shadow: 0 0 10px #ffab6066;
    text-shadow: 0px 2px 5px #00000052;
}

.buttonm.active {
    background: #444;
    animation: none;
    font-weight: normal;
  }

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.button-energy {
    background-color: transparent;
    border: 1px solid #444;
    border-radius: 6px;
    color: white;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

#worker-toggle-label {
align-items: center;
text-align: center;
}
#worker-toggle-container {
    display: flex;
    align-items: center;  /* Выравнивание элементов по вертикали */
    gap: 8px;  /* Отступ между элементами */
    justify-content: space-between;
}

#worker-toggle-container-turbo {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}
.button:hover {
    background-color: #555; /* Цвет кнопки при наведении */
}

.button:disabled {
    background-color: #cccccc; /* Серый цвет для состояния disabled */
    cursor: not-allowed;
    color: #444444;
}

.button-energy:hover {
    background-color: #ffab6021;
    border: 1px solid #ffab60;
}

ul {
    list-style-type: none; /* Убираем маркеры списка */
    padding: 0;
}

.lili {
    background-color: #333; /* Тёмный фон для элементов списка */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    color: #ffffff;
}

.block-info {
    display: flex;
    flex-direction: row;
    padding: 10px;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
}

.ref-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 10px;
}

.block-label {
    margin-right: 7px;
    font-size: 15px;
}
.workers{
padding: 7.5px 8px;
background-color: #444; /* Фон для номера блока */
color: #ffffff;
border-radius: 4px;
display: flex;
align-items: center;
}
.header {
    display: flex;
    align-items: center; /* Центрирование элементов по вертикали */
    gap: 5px; /* Отступ между иконкой и заголовком */
    margin-bottom: 10px;
}
.header h2 {
    margin: 0;
    font-size: 1.2em;
    line-height: 1;
}

@keyframes flashHighlight {
0% {
    background-color: #2a2c2e;
    border: 1px solid #3b3b3b;
}
50% {
    background-color: #4f341d; /* Светло-зеленый цвет */
    border: 1px solid #4f341d;
}
100% {
    background-color: #2a2c2e;
    border: 1px solid #3b3b3b;
}
}

#block-now.highlight {
animation: flashHighlight 1s ease;
}

#block-info {
    background-color: transparent;
    border: 1px solid #a9a9a9;
    transition: all 0.3s ease;
}

#block-info:hover {
    background-color: #ffab6021;
    border: 1px solid #ffab60;
}

#block-info-span {
    color: #a9a9a9;
    font-size: 8px;
    transition: all 0.3s ease;
}

#block-info-span:hover {
    color: #fff;
}

@keyframes textflashHighlight {
0% {
    color: #fff;
}
50% {
    color: #ffab60; /* Светло-зеленый цвет */
}
100% {
    color: #fff;
}
}

#user-balance.highlight {
animation: textflashHighlight 1s ease;
}

.progress-container {
display: flex;
align-items: center;
gap: 10px;
}

#es {
    position: relative;
    z-index: 2;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: start;
    margin-left: 3px;
    font-size: 8px;
    color: #ffffff7a;
}

.progress-wrapper {
width: 100%;
height: 16px;
position: relative;  /* Чтобы элементы внутри могли использовать relative positioning */
overflow: hidden;
}

.progress-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #593b21; /* Цвет фона под прогресс-баром */
border-radius: 3px;
z-index: 0; /* Размещаем на заднем слое */
}

.progress-bar {
position: relative;
top: 0;
left: 0;
width: 0%; /* Начальное значение */
height: 100%;
background-color: #ffab60;
border-radius: 3px;
transition: width 0.5s; /* Плавное изменение ширины */
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
z-index: 1; /* Размещаем поверх фона */
}

#progress-text {
position: relative;
z-index: 2; /* Текст всегда выше всех элементов */
white-space: nowrap; /* Предотвращает перенос текста */
text-overflow: ellipsis; /* Добавляет многоточие, если текст не помещается */
max-width: 100%; /* Ограничиваем ширину текста размером прогресс-бара */
text-align: center; /* Центрируем текст */
}

.block-number {
    display: inline-block;
    font-size: 12px; /* Уменьшенный размер для номера блока */
    padding: 2px 4px;
    background-color: #444; /* Фон для номера блока */
    color: #ffffff;
    border-radius: 4px;
    text-align: center;
}

.reward-container {
display: flex;
justify-content: space-between; /* Располагает элементы по краям */
gap: 10px; /* Отступ между элементами */
margin-top: 0; /* Отступ сверху, если требуется */
}

.block-label-container {
display: flex;
align-items: center;
font-weight: bold;
font-size: 12px; /* Настройте размер шрифта по необходимости */
}

.ref-label-container {
display: flex;
align-items: center;
font-weight: bold;
font-size: 14px; /* Настройте размер шрифта по необходимости */
gap: 7px;
}
td {
    text-align: left;
    padding: 4px 8px;
    padding-left: 0;
}
.ref-avatar {
    width: 30px;
    height: 30px;
    background-color: #fff;
    margin: 5px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.div-ref {
    display: block;
}

.ref-balance-container {
    color: #ababab;
    font-size: 12px;
    font-weight: 400;
}

.miner {
    font-weight: bold;
    margin: 5px 0 5px 0;
    margin-bottom: 0;
}

.prev-hash {
    font-size: 8px;
    text-align: center;
    font-style: italic;
    color: #bbb; /* Светло-серый для предыдущего хеша */
    margin: 5px 0;
    background-color: #444; /* Фон для блока кода */
    padding: 5px;
    border-radius: 5px;
    overflow: hidden; /* Убираем переполнение */
    white-space: pre-wrap; /* Перенос строк */
    word-wrap: break-word; /* Перенос длинных слов */
    width: 100%; /* Ширина блока кода */
}

nav ul{
    height:250px;
    width:95%;
}

nav ul{
    overflow:hidden;
    overflow-y:scroll;
}

nav {
    width: 95%;
}

nav::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(139,167,32,0) 0%, #1a1c1e 20%);
    pointer-events: none;
}


.traffy-taskElementCont {
    margin-bottom: 10px;
    border: 1px solid #3b3b3b;
}

.traffy-taskElementButtonContInner {
    align-items: center;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    gap: 4px;
}

.difficulty {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 10px; /* Уменьшаем размер шрифта */
    margin: 5px 0;
}
.toggle-switch {
display: none;
}
.switch-label {
width: 36px;
height: 20px;
background-color: #ccc;
border-radius: 5px;
position: relative;
cursor: pointer;
transition: background-color 0.3s ease;
}
.switch-label::before {
content: "";
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background-color: #fff;
border-radius: 5px;
transition: 0.3s ease;
}
.toggle-switch:checked + .switch-label {
background-color: #ffab60; /* Цвет, похожий на стиль Telegram */
}

.toggle-switch:checked + .switch-label::before {
transform: translateX(16px); /* Сдвиг кружка в сторону */
}
.toggle-switch:disabled + .switch-label {
background-color: #cccccc; /* Серый цвет для состояния disabled */
cursor: not-allowed;
}
.footer {
display: flex;
justify-content: space-around;
background-color: #1a1c1e;
border-top: 1px solid #656565;
padding-top: 10px;
padding-bottom: 25px;
position: fixed;
bottom: 0;
width: 100%;
z-index: 1000;
}

.footer-button {
background-color: transparent;
border: 1px solid #818181;
border-radius: 5px;
color: white;
cursor: pointer;
font-size: 12px;
z-index: 1001;
}

.content-container {
z-index: 999;
display: flex;
justify-content: center;
margin: 0 20px 20px 20px;
}

.content-section {
align-content: center;
justify-content: start;
align-items: center;
flex-direction: column;
flex-wrap: nowrap;
display: none;
background-color: rgb(26, 28, 30);
margin-bottom: 45px;
bottom: 0px;
height: 100%;
width: 100%;
z-index: 998;
}

.content-section h3 {
color: #fff;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
    z-index: 999; /* Это гарантирует, что он будет выше всех элементов */
}
.locked {
    pointer-events: none; /* Отключаем все элементы, кроме футера */
    opacity: 0.5; /* Сделать интерфейс более тусклым */
}
.closed {
color: #555555;
}
.copy-container {
    display: flex;
    align-items: center;
}
.copy-container input {
    width: 200px;
    padding: 5px;
    margin-right: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: default;
    border-radius: 5px;
}
.copy-button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1c1e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #593b21;
    border-top: 3px solid #ffab60;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

.status-stopped {
    font-weight: bold;
    background-color: #595757;
    padding: 3px 5px;
    border-radius: 4px;
    border: 1px solid #737373;
}

.status-mining {
    font-weight: bold;
    background-color: #ffab60;
    padding: 3px 5px;
    border-radius: 4px;
}

.status-low {
    font-weight: bold;
    background-color: #593b21;
    padding: 3px 5px;
    border-radius: 4px;
}

.rotating-text-wrapper {
  position: relative;
  display: inline-block;
}

.rotating-text-wrapper h4 {
  font-size: 14px;
  line-height: 14px;
  font-weight: 590;
  margin: 0;
  background-image: linear-gradient(135deg, #ffffff, #4fafbd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rotateGradientBg 4s linear infinite;
  background-size: 200% 200%;
}

@keyframes rotateGradientBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.task {
  --adsgram-task-font-size: 14px; /* min 14px */
  --adsgram-task-icon-size: 30px; /* min 30px */
  --adsgram-task-icon-title-gap: 5px; /* min 5px max 40px */
  --adsgram-task-button-width: 50px; /* min 40px */
  --adsgram-task-icon-border-radius: 50%;

  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 5px;
  background-color: #2a2c2e;
  color: white;
  border: 1px solid #3b3b3b;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.task__reward {
    margin: 0;
    font-size: 12px;
    color: #ffab60;
}

.task__button {
  background-color: #ffab60;
  border-radius: 8px;
  padding: 4px 4px;
}

.task__button_done {
  background-color: #593b21;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
button {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.block-full-info {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;
}

#slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    touch-action: pan-y;
}

.slider-tab {
    flex: 1;
    padding: 10px;
    background: #444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 5px;
    transition: background 0.2s ease;
}

.slider-tab:last-child {
    margin-right: 0;
}

#minimal-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 15px;
            margin-bottom: 0; /* No margin if details are directly below */
            border-radius: 8px; /* Will be rounded top if details shown */
            color: white;
            cursor: default;
            background: linear-gradient(90deg, #005f8c, #007cb9, #12a0e6, #1bb3ff, #12a0e6, #007cb9, #005f8c);
            background-size: 300% 100%;
            animation: gradientShift 10s ease infinite;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            box-sizing: border-box;
            width: 100%;
            position: relative; /* For z-index if needed, and positioning details */
            z-index: 10;
            margin: 0 0 20px 0;
        }

        /* Rounded corners logic */
        #minimal-banner.details-hidden {
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
        }
        #minimal-banner.details-shown {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }


        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        #minimal-banner-text {
            font-size: 14px;
            font-weight: 500;
            margin-right: 15px;
        }
        
        #minimal-banner .banner-buttons {
            display: flex;
            align-items: center; /* Align icon button properly */
            gap: 10px;
        }

        #minimal-banner button { /* General style for buttons in banner */
            padding: 6px 12px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: 12px;
            font-weight: bold;
            transition: background-color 0.2s ease, transform 0.1s ease;
        }
        #minimal-banner button:active {
            transform: scale(0.98);
        }

        #vote-us-btn-minimal {
            background-color: #ffffff;
            color: #007cb9;
        }
        #vote-us-btn-minimal:hover {
            background-color: #f0f0f0;
        }

.slider-tab.active {
    background: #ffab60;
}
.tads.static {
    padding: 4px 4px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    box-sizing: border-box;
    justify-content: flex-start;
    border: 1px solid #444;
    border-radius: 5px;
}
div[id*='tads-container-'] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .tads {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    width: 100%;
    background: transparent;
    text-align: left;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .tads-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    gap: 0;
  }
  .tads-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    width: 32px;
    height: 32px;
  }
  .tads-title {
    font-size: 12px;
    color: #fff;
  }
  .tads-text {
    font-size: 10px;
    line-height: 16px;
    color: #999;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
  }
  .tads-logo {
    margin-left: auto;
  }
  .tads-logo-image {
    height: 20px;
  }
  .task-wall {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid #3b3b3b;
    padding: 10px 12px;
    margin-bottom: 10px;
    background-color: #2a2c2e;
    border-radius: 8px;
}
.task-logo-wall {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.task-logo-wall img {
    border-radius: 8px;
    width: 28px;
    height: 28px;
}
.task-info-wall {
    flex-grow: 1;
    margin: 0;
    gap: 4px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}
.task-info-wall h4 {
    margin: 0;
}
.task-info-wall p {
    margin: 0;
}
.task-reward-wall {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-top: 4px;
}
.task-start-btn-wall {
    display: flex;
    padding: 6px 12px;
    background: #ffab60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
.task-start-btn-wall:disabled {
    background: gray;
    cursor: default;
}
.task-an {
    display: flex;
    align-items: center;
    border: 1px solid #3b3b3b;
    padding: 10px 12px;
    margin-bottom: 10px;
    background-color: #2a2c2e;
    border-radius: 8px;
}
.task-logo-an {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.task-logo-an img {
    border-radius: 8px;
    width: 28px;
    height: 28px;
}
.task-info-an {
    flex-grow: 1;
    margin: 0;
    gap: 4px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}
.task-info-an h4 {
    margin: 0;
}
.task-info-an p {
    margin: 0;
}
.task-reward-an {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-top: 4px;
}
.task-start-btn-an {
    display: flex;
    padding: 6px 12px;
    background: #ffab60;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-right: 8px;
}
.task-start-btn-an:disabled {
    background: gray;
    cursor: default;
}
.bquest-banners-list {
    gap: 6px !important;
}
.bquest-banner-container {
    padding: 12px !important;
    box-sizing: border-box !important;
}
.bquest-banner-cost-caption {
    margin: 0 !important;
    font-size: 10px !important;
}
.bquest-rewards-and-coin-pic-container {
    gap: 2px !important;
}
.bquest-coint-picture {
    width: 10px !important;
    height: 10px !important;
}
.bquest-modal {
    padding: 1rem !important;
}
.buqest-banner-title {
    max-width: 100% !important;
    font-weight: bold !important;
}
.bquest-text-and-rewards-container {
    gap: 6px !important;
}