:root {
    --tipster-cover-url: none;
}


.tipsters-box {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: inline-block;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    -webkit-transition: all .3s;
    transition: all .12s;
    color: inherit;
    cursor: default;
    position: relative;
    font-family: Montserrat, sans-serif;
}

.tipsters-box.subs-followers-item {
    padding: 14px 20px;
}

.tipsters-box.subs-followers-item .tipsters-box-number {
    font-size: 21px;
}

.tipsters-box.subs-followers-item .subs-followers-item-container {
    gap: 20px;
}

.tipsters-box.subs-followers-item .subs-followers-item-container .name {
    font-size: 17px;font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.tipsters-box.subs-followers-item .subs-followers-item-container hr {
    display: none;
}

@media all and (max-width: 1180px) {
    .tipsters-box.subs-followers-item .tipsters-box-number {
        font-size: 19px;
    }
}

@media all and (max-width: 974px) {
    .tipsters-box.subs-followers-item .subs-followers-item-container {
        flex-direction: column;
        align-items: start;
        gap: 0;
    }

    .tipsters-box.subs-followers-item .subs-followers-item-stats {
        width: 100%;
        flex-wrap: wrap;
    }

    .tipsters-box.subs-followers-item .subs-followers-item-container hr {
        display: block;
        width: 100%;
    }

    .tipsters-box.subs-followers-item .subs-followers-item-container .name {
        font-size: 15px;
        max-width: 80vw;
    }
}

.tipsters-box.with-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), var(--tipster-cover-url);
}


.tipsters-box.loss, .tipsters-box.loss .tipster-name {
    background: rgba(255,240,240, .5);
    border-color: rgb(240,210,210);
}

.tipsters-box.win, .tipsters-box.win .tipster-name {
    background: rgba(240,255,240, .7);
    border-color: rgb(200,245,200);
}

.tipsters-box.loss .tipster-name {
    box-shadow: 0px 0px 10px 0px rgba(255,210,210,1);
}

.tipsters-box.win .tipster-name {
    box-shadow: 0px 0px 10px 0px rgba(210,255,210,1);
}

body.is-dark .tipsters-box.loss, body.is-dark  .tipsters-box.loss .tipster-name {
    background: rgba(65, 57, 63, .65);
    border-color: rgb(90, 61, 66);
}

body.is-dark .tipsters-box.win, body.is-dark  .tipsters-box.win .tipster-name {
    background: rgba(57, 66, 63, .58);
    border-color: rgb(43,82,47);
}


a.tipsters-box:hover, a.tipsters-box.active {
    box-shadow: 0px 0px 12px 0px rgba(63,112,249,0.2);
    cursor: pointer;
    color: inherit;
    transform: scale(1.005);
}

a.tipsters-box.active {
    pointer-events: none;
}

.tipsters-month {
    display: grid;
    align-items: center;
    grid-template-areas: "month picks wins losses avg-odd avg-stake success-rate profit yield";
    grid-template-columns: auto 60px 60px 60px 80px 80px 90px 90px 90px;
    padding: 16px;

}

.tipsters-month.win {
    background: rgb(225,255,225);
    border-color: rgb(180,230,180);
}

.tipsters-month.loss {
    background: rgb(255,225,225);
    border-color: rgb(235,200,200);
}

body.is-dark .tipsters-month.win {
    background: #3a4a3f;
    border-color: rgb(43,88,47);
}

body.is-dark .tipsters-month.loss {
    background: #584449;
    border-color: rgb(105, 61, 66);
}

.tipsters-month .month {
    grid-area: month;
}

.tipsters-month:not(.head) .month {
    font-weight: 600;
}

.tipsters-month .picks {
    grid-area: picks;
    text-align: center;
}

.tipsters-month .wins {
    grid-area: wins;
    text-align: center;
}

.tipsters-month .losses {
    grid-area: losses;
    text-align: center;
}

.tipsters-month .avg-odd {
    grid-area: avg-odd;
    text-align: center;
}

.tipsters-month .avg-stake {
    grid-area: avg-stake;
    text-align: center;
}

.tipsters-month .success-rate {
    grid-area: success-rate;
    text-align: center;
}

.tipsters-month .profit {
    grid-area: profit;
    text-align: center;
}

.tipsters-month .yield {
    grid-area: yield;
    text-align: center;
}

.tipsters-month.head {
    font-weight: 300;
    font-size: 11px;
    align-items: flex-end;
}

body.is-dark .tipsters-box {
    background: rgba(50, 50, 54, .6);
    border-color: #404046;
}

body.is-dark .tipsters-box.with-cover {
    background-image: linear-gradient(rgba(50, 50, 54, 0.9), rgba(50, 50, 54, 0.9)), var(--tipster-cover-url);
}

#desktop-how-to-start {
    top: 150px !important;
}

.tipsters-follow-button {
    gap: 8px;
    height: 34px;
    text-transform: uppercase;
    background: #fff;
}

body.is-dark .tipsters-follow-button {
    background: #323236;
    color: rgb(200,200,200);
}

.submenu-wrapper {
    position:fixed;
    top:80px;
    z-index:19;
    left:0;
    width:100%;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center
}

body.is-dark .submenu-wrapper {
    background: #333338;
    border-color: #4e4e56;
}

@media (max-width: 767px) {
    .submenu-wrapper {
        top: 60px;
    }
}

.submenu-container-desktop {
    display: flex;
    gap:10px;
    align-items: center
}

.submenu-container-mobile {
    display: none
}

.submenu-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding:12px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    user-select: none;
    color: rgb(120,120,120);
}

.submenu-item.delimeter {
    width: 1px;
    padding:12px 0;
    background: #e5e5e5;
}

body.is-dark .submenu-item.delimeter {
    background: #4e4e56;
}

body.is-dark .submenu-item {
    color: #a9abac;
}

.submenu-item:not(.active):hover {
    cursor: pointer;
    color: #283252;
    border-color: #188ae2;
}

body.is-dark .submenu-item:not(.active):hover {
    color: #283252;
}

body.is-dark .submenu-item:not(.active):hover {
    color: white;
    border-color: #188ae2;
}

.submenu-item.active {
   border-bottom: 2px solid #188ae2
}

.submenu-item svg {
    width: 18px;height:18px;
}

.submenu-item.active svg {
    color: #283252;
}

body.is-dark .submenu-item.active svg {
    color: white;
}

.submenu-label {
    font-family: Montserrat,sans-serif;
    font-size:15px;
    line-height: 15px;
}

.submenu-item.active .submenu-label {
    color: #283252;
}

body.is-dark .submenu-item.active .submenu-label {
    color: white;
}

.tipsters-box-number {
    font-size: 23px;font-weight: 600;font-family: Montserrat, sans-serif;
}

.tipsters-box-text {
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
}

.mobile-subsidebar-right {
    display: none;
}

/** Submenu mobile */
@media all and (max-width: 974px) {
    .submenu-wrapper {
        justify-content: end;
    }
    .submenu-wrapper > .submenu-item {
        display: none;
    }

    .submenu-container-desktop {
        display: none
    }

    .submenu-container-mobile {
        display: block;
    }

    body.is-dark .submenu-container-mobile .navbar-burger span {
        background: rgb(220,220,220);
    }

    .mobile-navbar {
        border-bottom: 1px solid #ededed;
    }

    body.is-dark .mobile-navbar {
        border-bottom: 0;
    }

    .mobile-subsidebar-right {
        display: block;
        top: 127px;
        height: calc(100% - 127px);
    }
}

@media all and (max-width: 767px) {
    .mobile-subsidebar-right {
        top: 107px;
        height: calc(100% - 107px);
    }
}

/** Submenu mobile - right */
.mobile-subsidebar-right {
    position: fixed;
    right: 0;
    width: 280px;
    background: #fff;
    border-top: 1px solid #ededed;
    border-left: 1px solid #ededed;
    z-index: 199;
    transform: translateX(100%);
    -webkit-transition: all .3s;
    transition: all .3s;
}

body.is-dark .mobile-subsidebar-right {
    background: #28282b;
    border-color: #2d2d31;
}

.mobile-subsidebar-right.is-active {
    transform: translateX(0);
}

.mobile-subsidebar-right .inner {
    position: relative;
    height: 100%;
    width: calc(100% - 60px);
    margin-left: 60px;
}

.mobile-subsidebar-right .inner .sidebar-title {
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 20px;
}

.mobile-subsidebar-right .inner .sidebar-title h3 {
    font-family: "Montserrat", sans-serif;
    color: #999;
    font-weight: 500;
    font-size: 1.4rem;
}

.mobile-subsidebar-right .inner .submenu {
    height: calc(100% - 70px);
    overflow-y: auto;
    margin-top: 10px;
    padding: 0 20px 20px 20px;
}

.mobile-subsidebar-right .inner .submenu li a {
    padding: 6px 0;
    width: 100%;
    display: block;
    color: #a2a5b9;
}

.mobile-subsidebar-right .inner .submenu li.divider {
    cursor: default;
    pointer-events: none;
    height: 10px;
    margin: 5px 0 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.mobile-subsidebar-right .inner .submenu li.is-active a {
    color: #007bff;
    font-weight: 500;
}

body.is-dark .mobile-subsidebar-right .submenu li.is-active a {
    color: #3498db !important;
}

/* Display Flex */
.d-flex {
    display: flex;
}

.d-inline-flex {
    display: inline-flex;
}

/* Flex Direction */
.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

/* Justify Content */
.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-evenly {
    justify-content: space-evenly;
}

/* Align Items */
.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.align-items-center {
    align-items: center;
}

.align-items-baseline {
    align-items: baseline;
}

.align-items-stretch {
    align-items: stretch;
}

/* Flex Wrap */
.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

/* Flex Grow */
.flex-grow-0 {
    flex-grow: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

/* Flex Shrink */
.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-shrink-1 {
    flex-shrink: 1;
}

/* Gap */
.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

.position-relative {
    position: relative;
}

.tipsters-box .tipster-name {
    position: absolute;
    top: -15px;
    left: 25px;

    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: rgb(60,60,60);
    padding: 0 15px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0px 0px 10px 0px rgba(210,210,210,1);
}

body.is-dark .tipsters-box .tipster-name {
    background: rgb(50, 50, 54);
    border-color: rgb(64, 64, 70);
    color: rgb(210, 210, 210);
    box-shadow: 0px 0px 10px 0px rgba(64,64,70,1);
}

.badge {
    display: inline-block;
    padding: 3px 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 11px;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    color: #fff;
    background-color: #007bff;
    margin:0;
}

.badge-primary {
    background-color: #007bff;
    color: #fff;
}

.badge-secondary {
    background-color: #6c757d;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

.badge-dark {
    background-color: #343a40;
    color: #fff;
}

.tipsters-comment-input {
    flex-grow: 1;
    background: transparent;
    border:0;
    resize: none;
    color: rgb(50,50,50);
    border-radius: 0;
    font-family: Montserrat;
    font-weight: 300;
    overflow: hidden;
}

.tipsters-comment-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

body.is-dark .tipsters-comment-input {
    color: rgb(220,220,220);
}

.tipsters-points-container {
    position: absolute;top:2px;right:8px;
}

.tipsters-points-container.is-active-text {
    font-size: 11px;opacity: .68;letter-spacing: 2px;
}

.tipsters-points-container.is-active-text.is-new {
    padding-right:40px
}

@media all and (max-width: 500px) {
    .tipsters-points-container.is-active-text {
        padding-top: 13px;
    }

    .tipsters-points-container.is-active-text.is-new {
        padding-right:26px
    }
}

.tipsters-box.win .tipsters-points-container svg {
    color: rgb(100,180,100);
}

.tipsters-box.loss .tipsters-points-container svg {
    color: rgb(220,120,120);
}

/* Fixture-level result icons (uvnitř tipsters-box, vedle live skóre).
   Sjednoceno s barvami pro celý ticket result výše. */
.tipsters-fixture-result-icon-win {
    color: rgb(100,180,100);
}

.tipsters-fixture-result-icon-loss {
    color: rgb(220,120,120);
}

.tipsters-fixture-result-icon-void {
    color: rgb(100,100,180);
}

/* Odkaz na detail tipsterova servisu (avatar + jméno + vlajka v ticket.tpl).
   Stejné chování jako body.is-dark #modal a — světlá modrá v dark, tmavší v light,
   plus hover transition 0.2s. */
.tipsters-ticket-service-link {
    color: rgb(24, 138, 226);
    transition: color 0.2s;
}

.tipsters-ticket-service-link:hover {
    color: rgb(20, 110, 200);
    text-decoration: none;
}

body.is-dark .tipsters-ticket-service-link {
    color: rgb(90, 192, 255);
}

body.is-dark .tipsters-ticket-service-link:hover {
    color: rgb(70, 160, 255);
    text-decoration: none;
}

/* Modal detail tiketu — header zbarvený podle výsledku tiketu. Alfa, ať barva
   nepřebíjí. */
.tipsters-ticket-detail-header.is-win {
    background: rgba(100, 180, 100, .15);
}

.tipsters-ticket-detail-header.is-loss {
    background: rgba(220, 120, 120, .15);
}

.tipsters-ticket-detail-header.is-void {
    background: rgba(100, 100, 180, .15);
}

.tipsters-ticket-detail-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(170,170,170,.18);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.tipsters-ticket-detail-header-tipster {
    font-size: 16px;
    font-weight: 600;
}

.tipsters-ticket-detail-header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: .65;
    font-size: 13px;
}

.tipsters-ticket-detail-header-profit {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 16px;
    margin-left: auto;
}

/* Aktivní (nevyhodnocený) ticket — header status text vpravo. Stejná typografie
   jako .tipsters-points-container.is-active-text, jen bez absolute pozice. */
.tipsters-ticket-detail-header-active {
    font-size: 11px;
    opacity: .68;
    letter-spacing: 2px;
    margin-left: auto;
}

/* Footer modalu — užší než header (cca 2/3 vertikálu), separátor nad ním. */
.tipsters-ticket-detail-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 28px;
    border-top: 1px solid rgba(170,170,170,.18);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.tipsters-ticket-detail-footer-date {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .8;
    font-size: 13px;
    font-weight: 600;
}

.tipsters-ticket-detail-footer-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

/* Strong text v dark modu má napevno color: #363636 (light text) — přebíjíme. */
body.is-dark strong {
    color: rgb(220, 220, 220);
}

/* Při šířce modalu = full viewport (mobil/tablet) je vpravo nahoře position-absolute
   X tlačítko (._modal-close). Proto rozbijeme header do 2 řádků: 1) tipster name,
   2) meta + profit. Tím se profit neumístí pod X. */
@media (max-width: 1179px) {
    .tipsters-ticket-detail-header-tipster {
        flex: 1 1 100%;
    }
    .tipsters-ticket-detail-header-meta {
        flex: 1;
    }
    /* První "|" oddělovač má smysl jen na desktopu, kde meta navazuje na tipster name.
       Na mobilu, kde meta začíná řádek, by stál samostatně. */
    .tipsters-ticket-detail-header-meta > span:first-child {
        display: none;
    }
}

/* Modal pro tipster ticket detail — vlastní velikost: výška dle obsahu (max 86vh,
   ať modal nepadne mimo viewport u extrémně dlouhých tiketů), border-radius
   na všech rozích (nejen top jako default #modal-content). */
@media (min-width: 1180px) {
    #modal.tipsters-ticket-detail-open #modal-content {
        height: auto;
        max-height: 86vh;
        border-radius: 6px;
    }
}

/* Modal detail tiketu — 2-sloupcový layout, na užších obrazovkách stacknutý. */
.tipsters-ticket-detail-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.tipsters-ticket-detail-left {
    flex: 1 1 60%;
    min-width: 320px;
    padding: 8px 0;
}

.tipsters-ticket-detail-right {
    flex: 1 1 35%;
    min-width: 280px;
    border-left: 1px solid rgba(170,170,170,.18);
    padding: 18px 24px;
}

@media (max-width: 768px) {
    .tipsters-ticket-detail-left {
        flex: 1 1 100%;
        min-width: 0;
    }
    .tipsters-ticket-detail-right {
        flex: 1 1 100%;
        min-width: 0;
        border-left: none;
    }
}

.tipsters-box.win .tipsters-points-container div {
    color: rgb(100,180,100);margin-left:2px;
}

.tipsters-box.loss .tipsters-points-container div {
    color: rgb(220,120,120);margin-left:2px;
}

.tipsters-match-date {
    gap: 6px;
    color: rgb(160,160,160);
    font-weight: 300;
    font-size: 12px;
    font-family: Montserrat, sans-serif;
    margin-bottom: 6px;
}

.tipsters-match-date svg {
    width: 14px;height: 14px;
}

.tipsters-match-teams {
    font-weight: 600;font-size: 22px;gap: 15px
}

.tipsters-month.win .yield {
    color: rgb(0,120,0);
    font-weight: 600;
    font-size: 15px;
}

.tipsters-month.loss .yield {
    color: rgb(255,0,0);
    font-weight: 600;
    font-size: 15px;
}

body.is-dark .tipsters-month.win .yield {
    color: rgb(120,250,120);
}

body.is-dark .tipsters-month.loss .yield {
    color: rgb(255,120,120);
}


.tipsters-box.void, .tipsters-box.void .tipster-name {
    background: rgb(247,247,255);
    border-color: rgb(210,210,240);
}

.tipsters-box.void .tipster-name {
    box-shadow: 0px 0px 10px 0px rgba(210,210,255,.1) !important;
}

body.is-dark .tipsters-box.void, body.is-dark  .tipsters-box.void .tipster-name {
    background: #3a3a45;
    border-color: #33335b;
}

.tipsters-box.void .tipsters-points-container svg {
    color: rgb(100,100,180);
}

.tipsters-box.void .tipsters-points-container div {
    color: rgb(100,100,180);margin-left:2px;
}

.tipsters-divider {
    background-color: rgb(210,210,210);margin: 0.6rem 0;
}

/* Užší varianta — symetrická 0.3rem (používá se nad stats řádkem). */
.tipsters-divider.is-tight {
    margin: 0.3rem 0;
}

/* Užší varianta — jen nahoře 0.3rem, pod čárou normální 0.6rem mezera. Pod
   stats řádkem chceme blízko ke statům, ale od fixture listu klasický
   odstup, ať se to vizuálně neslepí. */
.tipsters-divider.is-tight-top {
    margin: 0.3rem 0 0.6rem 0;
}

body.is-dark .tipsters-divider {
    background-color: rgb(70,70,70);
}

.tipsters-comments {
    background: rgba(0,0,0,0.075);padding: 15px;gap: 10px;
}

.tipsters-comments.is-empty {
    padding: 0;
}


.tipsters-match-report-icon {
    opacity: 0;
    transition: all 0.2s;
    color: rgb(220,120,120);
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.tipsters-match-report-icon:hover {
    color: rgb(255,80,80);
    cursor: pointer;
}

.tipsters-box:hover .tipsters-match-report-icon {
    opacity: 1;
}

.tipsters-comments-comment {
    gap: 15px;
}

.tipsters-comments-report-icon {
    opacity: 0;
    transition: all 0.2s;
    color: rgb(220,120,120);
    width:14px;
    height:14px;
}

.tipsters-comments-report-icon:hover {
    color: rgb(255,80,80);
    cursor: pointer;
}

.tipsters-comments-comment:hover .tipsters-comments-report-icon {
    opacity: 1;
}

.tipsters-profile-report-icon {
    opacity: 0;
    transition: all 0.2s;
    color: rgb(220,120,120);
    width:26px;
    height:26px;
    margin-left: 20px;
}

.tipsters-profile-report-icon:hover {
    color: rgb(255,80,80);
    cursor: pointer;
}

.tipster-header:hover .tipsters-profile-report-icon {
    opacity: 1;
}


.card-light {
    font-family: 'Montserrat', sans-serif !important;
    background: white !important;
}

body.is-dark .card-light {
    background: rgb(55,55,59) !important;
}

.tipsters-fixture-pick-left {
    width: 30%;
}

.tipsters-fixture-pick-right {
    width: 70%;
}

.tipsters-fixture-pick-competition-name {
    padding: 5px 12px;font-size: 13px;line-height: 19px;font-weight: 600;
    transition: all .2s;
}

.tipsters-search-highlight {
    background-color: rgb(255, 235, 59);
    color: #111;
    padding: 0 1px;
    border-radius: 2px;
}

body.is-dark .tipsters-search-highlight {
    background-color: rgb(255, 213, 79);
    color: #000;
}

.tipsters-fixture-pick-competition-name:not(.active):hover, .tipsters-fixture-pick-competition-name.active {
    background: rgba(24,138,226, 0.06);
    cursor: pointer;
}


.tipsters-fixture-pick-teams-item {
    padding: 0 6px 6px 6px;
}

.tipsters-fixture-pick-teams-container {
    background: rgb(246,247,248);border: 1px solid rgb(215,215,215);border-radius: 6px;padding: 4px 6px;font-size: 12px;font-weight: 300;
    transition: all 0.2s;
}

body.is-dark .tipsters-fixture-pick-teams-container {
    background: rgb(55,55,59);border: 1px solid #404046;
}

.tipsters-fixture-pick-teams-container:not(.active):hover, .tipsters-fixture-pick-teams-container.active {
    border-color: rgba(24,138,226, 0.6);
    background: rgba(24,138,226, 0.06);
}

body.is-dark .tipsters-fixture-pick-teams-container:not(.active):hover, body.is-dark .tipsters-fixture-pick-teams-container.active {
    border-color: rgba(24,138,226, 0.4);
    background: rgba(24,138,226, 0.04);
}

.tipsters-fixture-pick-teams-container:not(.active):hover {
    cursor: pointer;
}

.tipsters-fixture-pick-bet-name {
    padding: 8px 12px;font-size: 14px;line-height: 14px;font-weight: 600;
    text-transform: uppercase;
}

.tipsters-fixture-pick-bet-item {
    gap: 10px;background: rgb(246,247,248);border: 1px solid rgb(215,215,215);border-radius: 6px;padding: 4px 6px;font-size: 13px;font-weight: 400;
    transition: all 0.2s;
}

body.is-dark .tipsters-fixture-pick-bet-item {
    background: rgb(55,55,59);
    border: 1px solid #404046;
}

.tipsters-fixture-pick-bet-item:not(.active):not(.not-active):hover, .tipsters-fixture-pick-bet-item.active {
    border-color: rgba(24,138,226, 0.6);
    background: rgba(24,138,226, 0.06);
}

body.is-dark .tipsters-fixture-pick-bet-item:not(.active):not(.not-active):hover, body.is-dark .tipsters-fixture-pick-bet-item.active {
    border-color: rgba(24,138,226, 0.4);
    background: rgba(24,138,226, 0.04);
}

.tipsters-fixture-pick-bet-item:not(.active):not(.not-active):hover {
    cursor: pointer;
}

.tipsters-fixture-pick-bet-odd {
    font-weight: 600;color: #e67800;
}

body.is-dark .tipsters-fixture-pick-bet-odd {
    color: #ffdf1b;
}

.tipsters-button {
    display: block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    white-space: nowrap;
    line-height: 1.3em;
    user-select: none;
    cursor: default;
    border: none;
    font-family: "Montserrat", sans-serif;
    border-radius: 35px;
    border-bottom-right-radius: 0;
    font-size: 1.3em;
    font-weight: 600;
    padding: 15px 20px;
    color: #fff;
    background-color: #007bff;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, box-shadow 0.2s;
    position: fixed;
    bottom: 15px;
    right: 15px;
}
.tipsters-button:not([disabled]) {
    cursor: pointer;
}
.tipsters-button.tipsters-button-container .fa {
    padding-right: 15px;
}
.tipsters-button .tipsters-button-badge {
    width: 24px;
    height: 24px;
    position: absolute;
    top: -5px;
    left: -5px;
    border: 2px solid #f2f2f2;
    user-select: none;
    background-color: #007bff;
    color: white;
    transition: all 0.2s;
}

.tipsters-button:hover {
    background-color: #0075f2;
    box-shadow: 0 14px 26px -12px rgba(0,123,255,.42),0 4px 23px 0px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,123,255,.2);
}

.tipsters-button-badge {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #8685c6;
    font-size: 11px;
    border-radius: 50%;
}

.tipsters-button-odd {
    color: #ffdf1b;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
}

body.is-dark .tipsters-button {
    background-color: #3498db;
}

body.is-dark .tipsters-button:hover {
    box-shadow: 0 14px 26px -12px rgba(52,152,219,.42),0 4px 23px 0px rgba(0,0,0,.12),0 8px 10px -5px rgba(52,152,219,.2) !important;
    background-color: #258bcf;
}

body.is-dark .tipsters-button .tipsters-button-badge {
    background: #3498db;
    border-color: #3b3b41;
    color: white;
}

body.is-dark .dashboard-card.card-light hr, body.is-dark .main-panel.panel-light hr {
    background-color: #404046;
}

.tipsters-sport-tile {
    display: flex !important;
    font-family: 'Montserrat', sans-serif;
    padding: 6px 12px !important;
    gap: 10px;
    cursor: pointer;
    transition: all .2s;
    text-transform: uppercase;
    min-width: 80px;
    height: 80px;
}

.tipsters-sport-tile.active {
    cursor: default;
}

.tipsters-sport-tile:not(.active):hover, .tipsters-sport-tile.active {
    border-color: rgba(24,138,226, 0.6) !important;
    background: rgba(24,138,226, 0.06) !important;
}

body.is-dark .tipsters-sport-tile:not(.active):hover, body.is-dark .tipsters-sport-tile.active {
    border-color: rgba(24,138,226, 0.4) !important;
    background: rgba(24,138,226, 0.04) !important;
}

.tipsters-sport-tile:not(.active):hover {
    cursor: pointer;
}

.air-datepicker-button {
    color: white;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
}

.air-datepicker-button:hover {
    color: white;
    cursor: pointer;
}


body.is-dark .air-datepicker {
    --adp-background-color: #323236;
    --adp-background-color-hover: #3b3b41;
    --adp-background-color-active: #3b3b41;
    --adp-background-color-in-range: rgba(92, 196, 239, .1);
    --adp-background-color-in-range-focused: rgba(92, 196, 239, .2);
    --adp-background-color-selected-other-month-focused: #105370;
    --adp-background-color-selected-other-month: #0d4259;
    --adp-color: #b5b5b5;
    --adp-color-secondary: #636363;
    --adp-accent-color: #217fab;
    --adp-color-current-date: var(--adp-accent-color);
    --adp-color-other-month: rgb(100,100,100);
    --adp-color-disabled: #525252;
    --adp-color-disabled-in-range: #6b6b6b;
    --adp-color-other-month-hover: rgb(100,100,100);
    --adp-border-color: #2d2d30;
    --adp-border-color-inner: #3f3f3f;
    --adp-border-color-inline: #292929;
    --adp-nav-arrow-color: var(--adp-color-secondary);
    --adp-nav-color-secondary: var(--adp-color-secondary);
    --adp-day-name-color: #da810b;
    --adp-day-name-color-hover: #105370;
    --adp-cell-background-color-hover: var(--adp-background-color-hover);
    --adp-cell-background-color-selected: #17749b;
    --adp-cell-background-color-selected-hover: #1b84b1;
    --adp-cell-background-color-in-range: rgba(92, 196, 239, 0.1);
    --adp-cell-background-color-in-range-hover: rgba(92, 196, 239, 0.2);
    --adp-cell-border-color-in-range: var(--adp-cell-background-color-selected);
    --adp-btn-color: var(--adp-accent-color);
    --adp-btn-color-hover: var(--adp-color);
    --adp-btn-background-color-hover: var(--adp-background-color-hover);
    --adp-btn-background-color-active: var(--adp-background-color-active);
    --adp-time-track-color: RGBA(23, 116, 155, .6);
    --adp-time-track-color-hover: RGBA(23, 116, 155, .9);
    --adp-time-day-period-color: var(--adp-color-secondary);

    .air-datepicker-overlay {
        --adp-overlay-background-color: rgba(255, 255,255, .3);
    }

    .air-datepicker--pointer:after {
        background:var(--adp-background-color);
        border-top: 1px solid var(--adp-border-color-inline);
        border-right: 1px solid var(--adp-border-color-inline);
    }

    .air-datepicker--buttons,
    .air-datepicker--time {
        border-top: 1px solid var(--adp-border-color-inner);
    }

    .air-datepicker-nav {
        border-bottom: 1px solid var(--adp-border-color-inner);
    }

    .air-datepicker-time--row input[type=range]::-ms-thumb{
        background: var(--adp-time-track-color);
        border: 1px solid var(--adp-time-track-color);
    }

    .air-datepicker-time--row input[type=range]::-webkit-slider-thumb{
        background: var(--adp-time-track-color);
        border: 1px solid var(--adp-time-track-color);
    }

    .air-datepicker-time--row input[type=range]::-moz-range-thumb {
        background: var(--adp-time-track-color);
        border: 1px solid var(--adp-time-track-color);
    }

    .air-datepicker-time--row input[type=range]:hover::-webkit-slider-thumb {
        border-color: var(--adp-time-track-color-hover);
    }
    .air-datepicker-time--row input[type=range]:hover::-moz-range-thumb {
        border-color: var(--adp-time-track-color-hover);
    }

    .air-datepicker-time--row input[type=range]:hover::-ms-thumb {
        border-color: var(--adp-time-track-color-hover);
    }

    .air-datepicker-time--row input[type=range]:focus::-webkit-slider-thumb {
        background: var(--adp-cell-background-color-selected);
        border-color: var(--adp-cell-background-color-selected);
    }
    .air-datepicker-time--row input[type=range]:focus::-moz-range-thumb {
        background: var(--adp-cell-background-color-selected);
        border-color: var(--adp-cell-background-color-selected);
    }
    .air-datepicker-time--row input[type=range]:focus::-ms-thumb {
        background: var(--adp-cell-background-color-selected);
        border-color: var(--adp-cell-background-color-selected);
    }
}

input[name=competition]::placeholder,
input[name=home]::placeholder,
input[name=odd]::placeholder,
input[name=bet]::placeholder,
input[name=away]::placeholder,
input.disappearing-placeholder::placeholder {
    font-style: italic;
    opacity: .5;
}

.ql-toolbar.ql-snow {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #f7f9fc;
}

.ql-container {
    font-family: "Montserrat", sans-serif;
}

.ql-container.ql-snow {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.ql-editor.ql-blank::before {
    color: rgba(0,0,0,.33)
}

.ql-editor p {
    color: #283252;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
    line-height: 22px;
}

.ql-editor strong {
    color: #283252;
}

body.is-dark .ql-toolbar.ql-snow {
    background-color: #2d2d31;
}

body.is-dark .ql-editor p, body.is-dark .ql-editor strong {
    color: #a9abac;
}

body.is-dark .ql-editor.ql-blank::before {
    color: rgba(255,255,255,.33)
}

body.is-dark .ql-toolbar.ql-snow {
    border-color: #3c3c41;
}

body.is-dark .ql-container.ql-snow {
    border-color: #3c3c41;
    background-color: #27272b;
}

body.is-dark .ql-snow .ql-stroke {
    stroke: rgb(180,180,180);
}

.select.small:not(.is-multiple):not(.is-loading)::after {
    right: 1em;
    top: calc(50% - 9px);
    width: 17px;
    height: 17px;
    pointer-events: none;
    margin-right: -8px;
}

.select.small {
    font-size: 13px;
    height: 28px;
    line-height: 28px;
}

.select.small select {
    height: 28px;
    line-height: 1;
}

.bookie {
    max-height: 24px;
    border-radius: 3px;
}

.ql-editor {
    min-height: 114px;
}


.tipsters-service-ticket-fixture {
    background-color: rgb(246,247,248);
    border: 1px solid #e5e5e5;
    padding:8px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

body.is-dark .tipsters-service-ticket-fixture {
    background-color: #27272b;
    border-color: #3c3c41;
}

input[data-tipsters-service-ticket-odd]::-webkit-outer-spin-button,
input[data-tipsters-service-ticket-odd]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[data-tipsters-service-ticket-odd][type="number"] {
    -moz-appearance: textfield;
}

[data-tipsters-fixture-pick-teams] {
    padding-top: 6px;
    border-top: 1px solid #e5e5e5;
}

body.is-dark [data-tipsters-fixture-pick-teams] {
    border-color: #404046;
}

[data-tipsters-fixture-pick-teams-search-input]::placeholder {
    font-size: 90%;
    opacity: .8;
    font-style: italic;
}

[data-tipsters-fixture-pick-teams-search-input]:-ms-input-placeholder {
    font-size: 90%;
    opacity: .8;
    font-style: italic;
}

[data-tipsters-fixture-pick-teams-search-input]::-moz-placeholder {
    font-size: 90%;
    opacity: .8;
    font-style: italic;
}

[data-tipsters-fixture-pick-teams-search-input]::-moz-placeholder {
    font-size: 90%;
    opacity: .8;
    font-style: italic;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.blink {
    animation: blink-animation 2s infinite;
}

@keyframes blink-animation {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.bet-color-green {
    color: green;
}

body.is-dark .bet-color-green {
    color: #00ff00;
}

small.suspended {
    font-style: italic;font-weight: 300
}

.tipsters-service-ticket-fixture.live-fixture-not-exists, .tipsters-service-ticket-fixture.live-fixture-suspended {
    opacity: .5;
}

.tipsters-service-ticket-fixture.live-fixture-suspended {
    opacity: .6;
}

.tipsters-service-ticket-fixture.live-fixture-not-exists [data-odd-section] {
    display: none;
}

.tipsters-service-ticket-fixture [data-match-finished] {
    display: none;
}

.tipsters-service-ticket-fixture.live-fixture-not-exists [data-match-finished] {
    display: block;
}

.tipsters-service-ticket-fixture.live-fixture-not-exists [data-match-live] {
    display: none;
}

.tipsters-service-menu {
    border-top:1px solid rgb(229,229,229);
}

body.is-dark .tipsters-service-menu {
    border-top:1px solid #404046;
}

.tipsters-service-menu-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px;
    font-family: Montserrat, sans-serif !important;
    font-size: 15px;
    line-height: 30px;
}

.tipsters-service-menu-item .badge {
    font-weight: 400;
}

.tipsters-service-menu-item svg {
    margin-right: 0 !important;
}

.pointer-events-none {
    pointer-events: none;
}

.main-panel.tipster-header {
    padding:0;
    display: block;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    overflow:hidden;
}

.tipster-header-cover {
    background-size: cover;
    background-position: center top;
    width: 100%;
    height: 220px;
    position: relative;
}

.tipster-header-cover.custom {
    height: 110px;
}

.tipster-header-cover-button {
    position: absolute;
    top:10px;
    right:10px;
    background: rgb(240, 240, 240);
    border-radius: 6px;
    color: black;
    box-shadow: 0 0 11px rgba(33,33,33,.2);
    font-size: 13px;
    line-height: 13px;
    font-weight: 500;
    transition: all .2s;
    user-select: none;
}

body.is-dark .tipster-header-cover-button {
    background: rgb(220, 220, 220);
}

.tipster-header-cover-button:hover {
    cursor: pointer;
    box-shadow: 0 0 12px rgb(230,230,230);
    background: rgb(230,230,230);
}

body.is-dark .tipster-header-cover-button:hover {
    background: white;
    box-shadow: 0 0 12px white;
}

.tipster-header-main {
    display: flex;align-items: center;border-top:1px solid rgb(229,229,229);padding: 0 20px;position:relative
}

body.is-dark .tipster-header-main {
    border-color: #404046;
}

.tipster-header-main-buttons {
    position:absolute;right: 30px;top: 0;transform: translateY(-50%);
    gap: 15px;
    user-select: none;
}

.tipster-header-main-button {
    padding: 10px 30px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    background: #5ac4ff;
    color: #2f007f;
    border: none;
    gap: 8px;
    transition: all 0.2s;
}

.tipster-header-main-button:not(.disabled):hover {
    box-shadow: 0 0 11px #5ac4ff, 0 0 0 2px #5ac4ff;
    cursor: pointer;
}

.tipster-header-main-button.follow {
    background: #B0E0E6;
}

.tipster-header-main-button.follow:hover {
    box-shadow: 0 0 11px #B0E0E6, 0 0 0 2px #B0E0E6;
    cursor: pointer;
}

.tipster-header-main-button.unfollow {
    background: rgb(230, 176, 176);
}

.tipster-header-main-button.unfollow:hover {
    box-shadow: 0 0 11px rgb(230, 176, 176), 0 0 0 2px rgb(230, 176, 176);
    cursor: pointer;
}

.tipster-header-main-button.disabled {
    cursor: not-allowed;
    background: rgb(238,238,238);
    color: rgb(150,150,150);
}

body.is-dark .tipster-header-main-button.disabled {
    background: #3b3b41;
    color: rgb(120,120,120);
}

.tipster-avatar-container {
    margin-top: -75px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.tipster-avatar-container img {
    border-radius: 50%;border: 4px solid rgb(242,242,242);width: 150px;height: 150px;
}

body.is-dark .tipster-avatar-container img {
    border-color: #323236;
}

.tipster-header-name-container {
    margin-left: 20px;
    margin-top: 18px;
}

.tipster-header-name {
    font-size: 24px;line-height: 31.2px;margin-right: 15px;
    white-space: nowrap;
    max-width: 500px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.tipster-header-name-flag {
    max-height: 20px
}

.tipster-header-joined {
    font-size: 16px;line-height: 16px;font-weight: 300
}

.tipster-header-main-buttons-mobile {
    display: none;
}

.tipster-stats-container {
    flex-wrap: wrap;
    gap: 20px;
}

.tipster-stats-item {
    flex: 1 1 calc(12.5% - 20px);
}

.tipster-avatar-button-container {
    position: absolute;bottom: 25px;right: 25px;transform: translate(50%, 50%);
}

.tipster-avatar-button {
    background: rgb(248,248,248);
    color: black;
    transition: all .2s;
    width: 36px;height:36px;border-radius: 50%;
    border:1px dashed rgb(230,230,230);
}

.tipster-avatar-button svg {
    width: 18px;
    height: 18px;
}

.tipster-avatar-button:hover {
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 0 12px rgb(248,248,248);
}

body.is-dark .tipster-avatar-button {
    background: #3b3b41;
    color: white;
    border:1px dashed rgb(80,80,80);
}

body.is-dark .tipster-avatar-button:hover {
    box-shadow: 0 0 12px #3b3b41;

}

.tipster-profile-avatar-name-container {
    display: flex;
    align-items: start;
}

.tipster-header-name-wrapper {
    margin-bottom: 12px;
}

.tipsters-service-break-active {
    font-weight:400;font-size:12px;line-height:14px;position: absolute;top:50%;left:50%;transform: translate(-50%, -50%);color: white;background-color: #ff9800;
}

.tipsters-list-tipster .tipster-header-cover.custom {
    height: 74px;
}

.tipsters-list-tipster .tipster-header-cover.custom.is-season-break-active {
    height: 84px;
}

@media all and (max-width: 820px) {
    .tipster-avatar-container {
        margin-top: 0;
    }

    .tipster-header-name {
        max-width: none;
        white-space: normal;
    }

    .tipster-header-main-buttons {
        display: none;
    }

    .tipster-header-main {
        padding-top: 15px;
        border-top: 0;
    }

    .tipster-header-main-buttons-mobile {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        gap: 15px;
        margin:10px 20px 0 20px;
    }

    .tipster-stats-item {
        flex: 1 1 calc(25% - 20px);
    }

    .tipster-avatar-container img {
        width: 120px;
        height: 120px;
    }

    .tipster-header-cover-button .text {
        display: none;
    }


    .tipster-header-name-container {
        margin-top: 0;
    }

    .tipster-profile-avatar-name-container {
        align-items: center;
    }
}

@media all and (max-width: 768px) {
    .tipster-header-cover.custom {
        height: 10px;
    }

    .tipster-header-cover.custom.is-season-break-active {
        height: 54px;
    }

    .tipster-header-cover.custom.is-season-break-active .tipsters-service-break-active {
        left: auto;
        top: 10px;
        right: 10px;
        transform: none;
    }

    /*.tipster-header-cover.custom:not(.is-season-break-active) .tipsters-list-chart-icons {
        left: auto;
        right: 6px;
    }*/

    .tipsters-list-tipster .tipster-header-cover.custom:not(.is-season-break-active) .tipsters-list-chart-icons {
        left: 6px;
        right: auto;
    }

    .tipsters-list-tipster .tipster-header-cover.custom.is-season-break-active .tipsters-service-break-active {
        top: auto;
        left: 50%;
        right: auto;
        bottom: 10px;
        transform: translate(-50%, 0);
    }

    .tipsters-list-tipster .tipster-header-cover.custom:not(.is-season-break-active) {
        height: 35px;
    }
}

@media (max-width: 570px) {
    .tipster-stats-item {
        flex: 1 1 calc(50% - 20px);
    }

    .tipster-header-cover {
        height: 180px;
    }

    .tipster-avatar-container img {
        width: 80px;
        height: 80px;
    }

    .tipster-avatar-button {
        width: 26px;
        height: 26px;
        right:14px;
        bottom:18px;
    }

    .tipster-avatar-button svg {
        width: 13px;
        height: 13px;
    }

    .tipster-avatar-button-container {
        bottom: 18px;
        right: 18px;
    }

    .tipster-header-name {
        font-size: 20px;
    }

    .tipster-header-name-flag {
        max-height: 16px;
    }

    .tipster-header-joined {
        font-size: 14px;
    }

    .tipster-header-name-wrapper {
        margin-bottom: 4px;
    }
}

.tipsters-match-separator {
    height:62px;width:1px;background: rgb(230,230,230);
}

body.is-dark .tipsters-match-separator {
    background: rgb(54,54,58);
}

.tipsters-pending-fixture-result-win {
    background-color: rgba(0,255,0,0.03);
}

body.is-dark .tipsters-pending-fixture-result-win {
    background-color: rgba(0, 255, 0,0.017);
}

.tipsters-pending-fixture-result-loss {
    background-color: rgba(255,0,0,0.03);
}

body.is-dark .tipsters-pending-fixture-result-loss {
    background-color: rgba(255,0,0,0.02);
}

/* tipster-top-items-N — sdílená paleta mezi legend chips (background)
   a SVG slice paths v DonutChartJob (fill + stroke). Chip badges drží sytou
   solid barvu přes `background:`. SVG slice používá stejnou barvu jako
   stroke, ale fill je rgba s opacity (light 0.15 / dark 0.3) — stejný
   border+light-fill kontrast jako Win Rate. Specificity 0,2,0 přebíjí
   default `.donut-slice-border` (0,1,0). */
.tipster-top-items-1 { background: #FFDFBA; }
.tipster-top-items-2 { background: #BAE1FF; }
.tipster-top-items-3 { background: #C9FFBA; }
.tipster-top-items-4 { background: #FFBAE1; }
.tipster-top-items-5 { background: #FFCABA; }

.donut-slice.tipster-top-items-1 { fill: rgba(255, 223, 186, 0.15); stroke: #FFDFBA; }
.donut-slice.tipster-top-items-2 { fill: rgba(186, 225, 255, 0.15); stroke: #BAE1FF; }
.donut-slice.tipster-top-items-3 { fill: rgba(201, 255, 186, 0.15); stroke: #C9FFBA; }
.donut-slice.tipster-top-items-4 { fill: rgba(255, 186, 225, 0.15); stroke: #FFBAE1; }
.donut-slice.tipster-top-items-5 { fill: rgba(255, 202, 186, 0.15); stroke: #FFCABA; }

body.is-dark .tipster-top-items-1 { background: #844700; color: white; }
body.is-dark .tipster-top-items-2 { background: #004b84; color: white; }
body.is-dark .tipster-top-items-3 { background: rgb(61, 172, 120); color: white; }
body.is-dark .tipster-top-items-4 { background: #3e2a38; color: white; }
body.is-dark .tipster-top-items-5 { background: #652f20; color: white; }

body.is-dark .donut-slice.tipster-top-items-1 { fill: rgba(132, 71, 0, 0.3);  stroke: #844700; }
body.is-dark .donut-slice.tipster-top-items-2 { fill: rgba(0, 75, 132, 0.3);  stroke: #004b84; }
body.is-dark .donut-slice.tipster-top-items-3 { fill: rgba(61, 172, 120, 0.3); stroke: rgb(61, 172, 120); }
body.is-dark .donut-slice.tipster-top-items-4 { fill: rgba(62, 42, 56, 0.3);  stroke: #3e2a38; }
body.is-dark .donut-slice.tipster-top-items-5 { fill: rgba(101, 47, 32, 0.3); stroke: #652f20; }

/* Win Rate donut — Lost/Won používají barvy z Profit Chart (rgb(160,60,60)
   pro červenou, rgb(61,172,120) pro zelenou). Void je neutrální modrá ze
   stávajícího Chart.js renderingu. */
/* Win Rate donut Won/Lost — paleta vychází z Profit Chartu:
     fill   = .tipsters-tipster-chart-{green|red}-fill (rgba s alfa)
     stroke = .tipsters-tipster-chart-{green|red}      (sytá line color)
   Selektor `.donut-slice.donut-winrate-...` má vyšší specificity (0,2,0)
   než `.donut-slice-border` (0,1,0), takže stroke z téhle classy přebíjí
   default themeable border bez nutnosti !important. Border width drží
   setSliceBorder() v PHP (Win Rate volá 3px). Void zůstává neutrální modrá
   a používá default themeable border. */
.donut-slice.donut-winrate-won {
    fill: rgba(61, 172, 120, 0.15);
    stroke: #32CD32;
}
.donut-slice.donut-winrate-lost {
    fill: rgba(160, 60, 60, 0.1);
    stroke: #FA8072;
}
.donut-winrate-void {
    fill: rgba(150, 180, 230, 0.6);
}
body.is-dark .donut-slice.donut-winrate-won {
    fill: rgba(61, 172, 120, 0.3);
    stroke: rgb(61, 172, 120);
}
body.is-dark .donut-slice.donut-winrate-lost {
    fill: rgba(160, 60, 60, 0.2);
    stroke: rgb(160, 60, 60);
}
body.is-dark .donut-winrate-void {
    fill: rgb(54, 80, 130);
}

.top-chart-legend-item {
    cursor: pointer;
}

.tipsters-sport-football::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("/assets/img/tipsters/sports/football.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-football.small::before {
    width: 15px;
    height: 15px;
}

.tipsters-sport-ice-hockey::before {
    content: "";
    width: 22px;
    height: 22px;
    background-image: url("/assets/img/tipsters/sports/ice-hockey.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-ice-hockey.small::before {
    width: 18px;
    height: 18px;
}

.tipsters-sport-basketball::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("/assets/img/tipsters/sports/basketball.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-basketball.small::before {
    width: 13px;
    height: 13px;
}

.tipsters-sport-golf::before {
    content: "";
    width: 19px;
    height: 19px;
    background-image: url("/assets/img/tipsters/sports/golf.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-golf.small::before {
    width: 15px;
    height: 15px;
}

.tipsters-sport-horse-racing::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("/assets/img/tipsters/sports/horse-racing.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-horse-racing.small::before {
    width: 20px;
    height: 20px;
}

.tipsters-sport-tennis::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("/assets/img/tipsters/sports/tennis.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-tennis.small::before {
    width: 13px;
    height: 13px;
}

.tipsters-sport-race-track::before {
    content: "";
    width: 17px;
    height: 17px;
    background-image: url("/assets/img/tipsters/sports/race-track.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-race-track.small::before {
    width: 13px;
    height: 13px;
}

.tipsters-sport-esport::before {
    content: "";
    width: 21px;
    height: 21px;
    background-image: url("/assets/img/tipsters/sports/esport.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tipsters-sport-esport.small::before {
    width: 17px;
    height: 17px;
}

body.is-dark .tipsters-ticket-graded img {
    content: url('/assets/img/tipsters/graded-livepick-white.svg');
}

.tipsters-ticket-fixture-link {
    gap: 6px;opacity: 1;font-weight: 400;font-style: italic;
    color: inherit;
    transition: all .2s;
}

.tipsters-ticket-fixture-link:hover {
    color: #3273dc;
    cursor: pointer;
}

.tipsters-service-owner-comment {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tipsters-box.not-subscribed .tipsters-locked-area {
    pointer-events: none;
    user-select: none;
    position: relative;
}

.tipsters-box.not-subscribed .tipsters-locked-area > * {
    filter: blur(5px);
    opacity: 0.6;
}

/* Lock ikona je překryv jen nad zamčeným blokem (fixtures + analysis +
   comments) — service header s názvem, odkazem a statistikami zůstává
   čitelný, ať user vidí, ke komu by si měl koupit sub. */
.tipsters-box.not-subscribed .tipsters-locked-area::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-image: url('/assets/img/tipsters/ticket-lock.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.tipsters-feed-tipster-profit-yield {
    font-size: 12px;
    display: flex;
    flex-direction:column;
    font-weight: 400;
}

.tipsters-feed-tipster-profit-yield .positive {
    color: rgb(0, 164, 0);
}

.tipsters-feed-tipster-profit-yield .negative {
    color: rgb(220, 120, 120);
}

.tipsters-feed-tipster-name {
    max-width: 180px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
    font-weight: 600;
}

.tipsters-feed-section-choose {
    gap: 10px
}

.tipsters-feed-section-choose .show-text {
    font-size: 13px;font-weight: 300;
}

@media all and (max-width: 767px) {
    .tipsters-feed-section-choose {
        flex-direction: column;
        align-items: start;
    }

    .tipsters-feed-section-choose > svg{
        display: none;
    }

    .tipsters-feed-section-choose .show-text {
        margin-bottom: 0;
        font-weight: 400;
    }

    .tipsters-feed-section-choose .list-box-container {
        flex-direction: column;
        width: 100%;
    }

    .tipsters-feed-section-choose .list-box-container.row .list-box:first-child {
        border-radius: 6px 6px 0 0;
        border-bottom: 0;
        border-right: 1px solid #DBDBDB;
    }

    .tipsters-feed-section-choose  .list-box-container.row .list-box:last-child {
        border-radius: 0 0 6px 6px;
        border-top: 0;
        border-left: 1px solid #DBDBDB;
    }

    body.is-dark .tipsters-feed-section-choose .list-box-container.row .list-box:first-child {
        border-color: #404046;
    }

    body.is-dark .tipsters-feed-section-choose  .list-box-container.row .list-box:last-child {
        border-color: #404046;
    }
}

@media all and (max-width: 1150px) {
    .tipsters-feed-tipster-name {
        max-width: 150px;
    }
}

@media all and (max-width: 1090px) {
    .tipsters-feed-tipster-name {
        max-width: 140px;
    }

    .tipsters-feed-tipster-profit-yield {
        font-size: 11px;
    }
}

@media all and (max-width: 1040px) {
    .tipsters-feed-tipster-name {
        max-width: 130px;
    }
}

@media all and (max-width: 1000px) {
    .tipsters-feed-tipster-name {
        max-width: 120px;
    }
}

@media all and (max-width: 950px) {
    .tipsters-feed-tipster-name {
        max-width: 110px;
    }
}

.tipsters-feed-tipster {
    transition: all .2s;
    user-select: none;
}

.tipsters-feed-tipster:not(.justify-content-end):hover {
    cursor: pointer;
    box-shadow: 0px 0px 12px 0px rgba(63,112,249,0.2);
}

body.is-dark .tipsters-feed-tipster:not(.justify-content-end):hover {
    box-shadow: 0px 0px 12px 0px rgba(63,112,249,0.1);
}

.tipsters-tipster-chart-green {
    stroke: #32CD32;
}

circle.tipsters-tipster-chart-green {
    fill: #32CD32;
}

.tipsters-tipster-chart-red {
    stroke: #FA8072;
}

circle.tipsters-tipster-chart-red {
    fill: #FA8072;
}

.tipsters-tipster-chart-zero {
    stroke: rgb(245,245,245);
}

/* Neutral varianta — pro segmenty / pointy / fill, kde cumulative profit
   je přesně 0 (např. flat line pro neaktivní servis). Záměrně tlumená
   gray, aby se neutrální čára nedala zaměnit s growth (positive zelená)
   nebo loss (negative červená) trendem. Light a dark verze drží stejný
   kontrast vůči pozadí. */
.tipsters-tipster-chart-neutral {
    stroke: rgb(180, 180, 180);
}
circle.tipsters-tipster-chart-neutral {
    fill: rgb(180, 180, 180);
}
body.is-dark .tipsters-tipster-chart-neutral {
    stroke: rgb(110, 110, 115);
}
body.is-dark circle.tipsters-tipster-chart-neutral {
    fill: rgb(110, 110, 115);
}


body.is-dark .tipsters-tipster-chart-green {
    stroke: rgb(61,172,120);
}

body.is-dark circle.tipsters-tipster-chart-green {
    fill: rgb(61,172,120);
}


body.is-dark .tipsters-tipster-chart-red {
    stroke: rgb(160,60,60);
}

body.is-dark circle.tipsters-tipster-chart-red {
    fill: rgb(160,60,60);
}


body.is-dark .tipsters-tipster-chart-zero {
    stroke: rgb(54, 54, 56);
}

/* Plné výplně (background s opacity) pro Profit Chart na detailu tipstera */
.tipsters-tipster-chart-green-fill {
    fill: rgba(61, 172, 120, 0.15);
}
body.is-dark .tipsters-tipster-chart-green-fill {
    fill: rgba(61, 172, 120, 0.3);
}

.tipsters-tipster-chart-red-fill {
    fill: rgba(160, 60, 60, 0.1);
}
body.is-dark .tipsters-tipster-chart-red-fill {
    fill: rgba(160, 60, 60, 0.2);
}

/* Horizontální grid lines pro Profit Chart */
.tipsters-tipster-chart-grid {
    stroke: rgb(240, 240, 240);
    fill: none;
}
body.is-dark .tipsters-tipster-chart-grid {
    stroke: rgb(64, 64, 70);
}

/* Number labely vlevo od grafu */
.tipsters-tipster-chart-axis-label {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgb(40, 40, 40);
    line-height: 1;
    pointer-events: none;
    text-align: right;
    white-space: nowrap;
}
body.is-dark .tipsters-tipster-chart-axis-label {
    color: rgb(150, 150, 150);
}

/* Visible body v grafu — render je HTML div (ne SVG circle), aby zůstaly
   perfektní kruhy bez ohledu na non-uniform SVG scaling (preserveAspectRatio
   ='none' by SVG circle deformovalo do oválu). Pozice je v procentech šířky
   a px na Y, transform centruje bod přesně na (x, y). Hover handler v
   functions.js přidává .is-hovered, CSS transition zvětší width/height
   o 4px (= +2px na poloměr). */
.tipsters-chart-point-html {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 150ms ease-out, height 150ms ease-out;
    pointer-events: none;
    box-sizing: border-box;
}
.tipsters-chart-point-html.is-hovered {
    width: calc(var(--lcwn-d-base, 4px) + 4px) !important;
    height: calc(var(--lcwn-d-base, 4px) + 4px) !important;
}

/* Tooltip kotva — invisible 1×1 element na (x, y) datového bodu, hover handler
   na ni programově trigger()uje mouseenter, globální tooltip handler si pak
   z její offset() vezme přesnou pozici a tooltip vyleze nad bodem. */
.tipsters-chart-anchor-html {
    position: absolute;
    width: 1px;
    height: 1px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Background-color pro HTML body — paralela k SVG circle.fill v původních
   třídách (které stále drží stroke pro line/path elementy). */
.tipsters-chart-point-html.tipsters-tipster-chart-green {
    background-color: #32CD32;
}
.tipsters-chart-point-html.tipsters-tipster-chart-red {
    background-color: #FA8072;
}
body.is-dark .tipsters-chart-point-html.tipsters-tipster-chart-green {
    background-color: rgb(61,172,120);
}
body.is-dark .tipsters-chart-point-html.tipsters-tipster-chart-red {
    background-color: rgb(160,60,60);
}

/* DonutChartJob — 8 default barev pro paths v dílcích. Používají se postupně,
   když uživatel u addItem() nezadá vlastní cssClass. Pořadí je deterministické,
   takže 1. dílek má vždy první barvu.

   Vzor "border + light fill": stávající barva paletu drží jako stroke (sytý
   obrys), fill je rgba(<barva>, 0.15) light / 0.3 dark — stejný kontrast
   jako Win Rate. Selektor `.donut-slice.donut-color-N` má specificity 0,2,0,
   takže přebíjí default `.donut-slice-border` (0,1,0) bez !important.
   Pastelová paleta laděná pro světlé pozadí; dark verze je mid-tone
   (lightness ~50-55%, saturation ~30-40%), ne neon ani washed-out pastel. */
.donut-slice.donut-color-1 { fill: rgba(141, 196, 229, 0.15); stroke: #8DC4E5; }  /* nebeská modrá */
.donut-slice.donut-color-2 { fill: rgba(149, 213, 164, 0.15); stroke: #95D5A4; }  /* mátová zelená */
.donut-slice.donut-color-3 { fill: rgba(240, 207, 139, 0.15); stroke: #F0CF8B; }  /* pastel žlutá */
.donut-slice.donut-color-4 { fill: rgba(240, 160, 146, 0.15); stroke: #F0A092; }  /* korál */
.donut-slice.donut-color-5 { fill: rgba(184, 164, 213, 0.15); stroke: #B8A4D5; }  /* levandulová */
.donut-slice.donut-color-6 { fill: rgba(143, 210, 200, 0.15); stroke: #8FD2C8; }  /* mint */
.donut-slice.donut-color-7 { fill: rgba(240, 170, 192, 0.15); stroke: #F0AAC0; }  /* baby růžová */
.donut-slice.donut-color-8 { fill: rgba(197, 197, 208, 0.15); stroke: #C5C5D0; }  /* silver */

body.is-dark .donut-slice.donut-color-1 { fill: rgba(91, 143, 185, 0.3); stroke: #5B8FB9; }  /* steel blue */
body.is-dark .donut-slice.donut-color-2 { fill: rgba(111, 168, 119, 0.3); stroke: #6FA877; }  /* moss green */
body.is-dark .donut-slice.donut-color-3 { fill: rgba(194, 160, 95, 0.3); stroke: #C2A05F; }  /* muted gold */
body.is-dark .donut-slice.donut-color-4 { fill: rgba(181, 118, 90, 0.3); stroke: #B5765A; }  /* terracotta */
body.is-dark .donut-slice.donut-color-5 { fill: rgba(140, 122, 184, 0.3); stroke: #8C7AB8; }  /* dusty purple */
body.is-dark .donut-slice.donut-color-6 { fill: rgba(91, 168, 154, 0.3); stroke: #5BA89A; }  /* muted teal */
body.is-dark .donut-slice.donut-color-7 { fill: rgba(181, 120, 148, 0.3); stroke: #B57894; }  /* muted rose */
body.is-dark .donut-slice.donut-color-8 { fill: rgba(126, 132, 140, 0.3); stroke: #7E848C; }  /* slate gray */

/* Slice path — base styling. Hover-enlarge je čistě CSS přes :hover, ale jen
   pro paths které mají tooltip (data-title nebo data-chart-tooltip-target).
   Bez tooltipu zůstává slice statický (uživatel chtěl reaktivitu jen s tooltipem).
   transform-box: view-box + transform-origin: center scaluje slice ze středu
   donut grafu (default fill-box by scaloval z centroidu samotné slice path,
   což vypadá divně). */
.donut-slice {
    transform-box: view-box;
    transform-origin: center;
    transition: transform 150ms ease-out;
}
.donut-slice[data-title]:hover,
.donut-slice[data-chart-tooltip-target]:hover,
.donut-slice.is-hovered {
    transform: scale(1.04);
    cursor: pointer;
}

/* Border kolem slice dílků (DonutChartJob::setSliceBorder) — themeable přes
   dvě varianty. Default je světlá verze; body.is-dark přepíše stroke v dark
   módu. Inline stroke="..." atribut na cestě má precedenci nad touto třídou
   (volající si může vynutit fixní barvu nezávisle na tématu). */
.donut-slice-border {
    stroke: rgb(220, 220, 220);
}
body.is-dark .donut-slice-border {
    stroke: rgb(80, 80, 80);
}

/* Tooltip content (data/hodnota) — používá se v setToolTipText() pro chart
   tooltipy nad datovými body. Barvy hodnoty kopírují Yield (positive zelená,
   negative červená) pro světlé i tmavé téma. */
.tipsters-tooltip-date {
    font-size: 11px;
    opacity: 0.75;
    line-height: 1.3;
}
.tipsters-tooltip-value {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    margin-top: 2px;
}
/* Tooltip má tmavé pozadí na světlém i tmavém webu (.globalTooltip má vždy
   bg ~rgb(40-70)), takže positive/negative barvy musí vždy odpovídat tmavému
   pozadí — světlé varianty kontrastní proti tmavému boxu. */
.tipsters-tooltip-value.positive {
    color: rgb(120, 250, 120);
}
.tipsters-tooltip-value.negative {
    color: rgb(255, 120, 120);
}
.tipsters-tooltip-value.neutral {
    color: rgb(200, 200, 200);
}

.tipsters-list-chart-label, .tipsters-list-chart-icons {
    position: absolute;
    opacity: .9;

    background: #fff;
    border: 1px solid #e5e5e5;
    line-height: 20px;
    font-size: 11px;
    color: rgb(60,60,60);
    font-weight: 400;
    white-space: nowrap;

    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    height: 22px;
    padding:0 8px;
    border-radius: 6px
}

.tipsters-list-chart-icons {
    top:6px;
    left: 6px;
    transform: none;
    border-radius: 4px;
    padding:0 6px;
    height: 23px;
    right: auto;
}

body.is-dark .tipsters-list-chart-label, body.is-dark .tipsters-list-chart-icons {
    background: rgb(50, 50, 54);
    border-color: rgb(64, 64, 70);
    color: rgb(210, 210, 210);
}

.tipsters-list-chart-icons div:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 9px;
    background: rgb(240,240,240);
    margin: 0 6px;
    display: block;
}

body.is-dark .tipsters-list-chart-icons div:not(:last-child)::after {
    background: rgb(64, 64, 70);
}


body.is-dark .button.h-button.tipsters-list-order-button {
    background: rgb(55,55,59) !important;
    border-color: #404046;
    color: #aaaab3;
}

.tipsters-list-container .tipster-header-name {
    font-size: 21px;
    max-width: 300px;
    font-weight: 500;
}

.tipsters-list-container .tipster-header-name-wrapper {
    margin-bottom: 0;
}

.tipsters-list-container .tipster-header-name-container {
    margin-top: 16px;
    margin-left: 10px;
}

.tipsters-list-container .tipster-header-main {
    border: 0;
}

.tipsters-list-container .tipster-header-cover {
    border-bottom: 1px solid rgb(229,229,229);
}

body.is-dark .tipsters-list-container .tipster-header-cover {
    border-bottom: 1px solid #404046;
}

.tipster-stats-item .value {
    font-size: 23px;font-weight: 600;
}

.tipster-stats-item .name {
    font-size: 12px;font-weight: 300;text-align: center;
}

.tipsters-list-container .tipster-stats-container {
    gap: 10px;
}

.tipsters-list-container .tipster-stats-item .name {
    font-size: 11px;
}

.tipsters-list-container .tipster-header-main {
    width: 60%
}

.tipsters-list-container .tipster-list-chart-container {
    width:40%; height: 60px; position: relative;
}

.tipster-list-chart-container svg {
    height: 60px;
}

.tipsters-list-container .tipster-header-cover {
    height: 120px;
}

@media all and (max-width: 1200px) {
    .tipsters-list-container .tipster-header-name {
        font-size: 18px;
        max-width: calc(25.833vw);
    }

    .tipsters-list-container .tipster-header-name-flag {
        max-height: 17px;
    }

    .tipsters-list-container .tipster-stats-item .value {
        font-size: 21px;
    }
}

@media all and (max-width: 1000px) {
    .tipsters-list-container .tipster-stats-item {
        flex: 1 1 calc(25% - 20px);
    }

    .tipsters-list-container .tipster-stats-container {
        gap: 15px;
    }

    .tipsters-list-container .tipster-header-main {
        width: 70%
    }

    .tipsters-list-container .tipster-list-chart-container {
        width:30%;height: 50px;
    }

    .tipster-list-chart-container svg {
        height: 50px;
    }

    .tipsters-list-container .tipster-header-name {
        white-space: nowrap;
    }

    .tipsters-list-container .tipster-avatar-container {
        /*margin-top: -45px;*/
    }

    .tipsters-list-container .tipster-header-main {
        padding-top: 0;
    }
}

.tipster-list-chart-container hr {
    display: none;
}

.tipsters-list-container .tipster-avatar-container {
    margin-top: -45px;
}

.tipsters-list-container .tipster-avatar-container img {
    width: 90px;height: 90px;
}

.quick-actions-area-divider {
    width:1px;align-self:stretch;
    background: rgb(229,229,229);
}

body.is-dark .quick-actions-area-divider {
    background: rgb(54,54,58);
}

@media all and (max-width: 768px) {
    .tipsters-list-container .tipster-header-main {
        width: 100%;
        margin: 12px 0 20px 0;
    }

    .tipsters-list-container .tipster-list-chart-container {
        width:100%;
    }

    .tipster-list-chart-container hr {
        display: block;
        margin-bottom: 4px;
        margin-top: 0;
    }

    .tipsters-list-container .tipster-list-chart-container {
        height: auto;
    }

    .tipsters-list-chart-label {
        top: -11px;
    }

    .tipsters-list-container .tipster-avatar-container {
        margin-top: 0;
    }

    .tipsters-list-container .tipster-header-name-container {
        margin-top: 0;
    }

    .tipsters-list-container .tipster-header-name {
        max-width: 76vw;
        font-size: 18px;
    }

    .tipsters-list-container .tipster-header-name-flag {
        max-height: 14px;
    }

    .tipsters-list-container .tipster-avatar-container img {
        width: 44px;height: 44px;
    }

    .tipsters-list-container .tipster-avatar-container {
        display: flex;align-items: center;
    }
}

@media all and (max-width: 550px) {
    .tipsters-list-container .tipster-header-name {
        max-width: calc(74vw - 30px);
    }

    .tipsters-list-container .tipster-header-main {
        padding: 0 0 0 8px;
    }
}

@media all and (max-width: 400px) {
    .tipsters-list-container .tipster-header-name {
        max-width: calc(74vw - 40px);
    }
}

.tipsters-list-sub-follow-count {
    gap: 20px;
    width:100%;
    display: flex;
    align-items: center;
}

@media all and (max-width: 380px) {
    .tipsters-list-container .tipster-stats-item {
        flex: 1 1 calc(50% - 20px);
    }

    .tipsters-list-container .tipster-header-name {
        max-width: calc(66vw - 40px);
    }

    .tipsters-list-sub-follow-count {
        flex-direction: column;
    }

    .tipsters-list-sub-follow-count > div{
        width: 100%;
    }

    .quick-actions-area-divider {
        display: none;
    }
}

.tipsters-list-range-input {
    font-size: 12px;
    line-height: 12px;
    height: 22px;
    padding: 0 8px;
    width: 80px;
    text-align: center;
    cursor: default;
}

.tipsters-list-range-input::-webkit-outer-spin-button,
.tipsters-list-range-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.tipsters-list-range-input[type=number] {
    -moz-appearance:textfield;
}

[data-tipsters-list-range-filter] .range-slider {
    width: 100%;
    position: relative;
    padding: 10px 0;
}

input[data-range-input][type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: absolute;
    left: 0;
}

input[data-range-input][type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    margin-top: -5px;
    position: relative;
    z-index: 1;
}

input[data-range-input][type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    background: #e8e8e8;
    border-radius: 3px;
    border: none;
}

body.is-dark input[data-range-input][type=range]::-webkit-slider-runnable-track{
    background: rgb(78,78,82);
}

.tipsters-filter-section {
    background: rgb(250,250,250);border:1px solid rgb(229,229,229);border-radius: 6px;padding: 6px;
}

body.is-dark .tipsters-filter-section {
    background: rgb(50, 50, 54);
    border-color: rgb(64, 64, 70);
}

.list-box-container.small .list-box {
    padding: 4px 10px;
    font-weight: 400;
    font-size: 12px;
}

.tipsters-filter-activity-cancel {
    position: absolute;top:50%;transform: translateY(-50%);right:0;color: rgb(250,120,120);cursor: pointer;
}

.dropdown-item[data-filter-order] svg {
    display: none;
}

.dropdown-item[data-filter-order].active svg {
    display: inline-block;
}

.main-panel.tipster-header.tipsters-list-tipster {
    cursor: pointer;
    transition: all .2s;
    border-bottom: 1px solid #e5e5e5;
    border-radius: 8px;
}

body.is-dark .main-panel.tipster-header.tipsters-list-tipster {
    border-bottom: 1px solid #404046;
}

.main-panel.tipster-header.tipsters-list-tipster:hover, body.is-dark .main-panel.tipster-header.tipsters-list-tipster:hover {
    border-color: rgba(24,138,226,0.5);
    box-shadow: 0px 0px 3px 0 rgba(24,138,226,0.5);
}

.tipster-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.tipster-quick-stats.cl3 {
    grid-template-columns: repeat(3, 1fr);
}

.tipster-quick-stats.cl2 {
    grid-template-columns: repeat(2, 1fr);
}

.tipster-stats-settings-item {
    padding: 15px 12px;
    background: white;
    border: 1px solid rgb(229,229,229);
    border-radius: 6px;
    transition: all .3s;
}

body.is-dark .tipster-stats-settings-item {
    background: #323236;
    border: 1px solid #404046;
}

.tipster-quick-stats .tipster-quick-stats-item {
    padding: 15px 12px;
    background: #f5f6fa;
    border: 1px solid #f5f6fa;
    border-radius: 6px;
    transition: all .3s;
}

.tipster-quick-stats .tipster-quick-stats-item.light {
    background: #fff;
    border: 1px solid #e5e5e5;
}

body.is-dark .tipster-quick-stats .tipster-quick-stats-item {
    background: #28282b;
    border: 1px solid #404046;
}

body.is-dark .tipster-quick-stats .tipster-quick-stats-item.light {
    background: #323236;
    border: 1px solid #404046;
}

.tipster-quick-stats .tipster-quick-stats-item .item-value, .tipster-stats-settings-item .item-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: #283252;
}

body.is-dark .tipster-quick-stats .tipster-quick-stats-item .item-value, body.is-dark .tipster-stats-settings-item .item-value {
    color: #aaaab3;
}

.tipster-quick-stats .tipster-quick-stats-item .item-description, .tipster-stats-settings-item .item-description {
    color: #a2a5b9;
    font-size: .9rem;
}

body.is-dark .tipster-quick-stats .tipster-quick-stats-item .item-description, body.is-dark .tipster-stats-settings-item .item-description {

}

@media all and (max-width: 1100px) {
    .tipster-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 500px) {
    .tipster-quick-stats {
        grid-template-columns: 1fr;
    }
}

#modal.small-1 #modal-content {
    width: 800px;
    left: calc((100vw - 800px) / 2);
}

#modal.small-2 #modal-content {
    width: 680px;
    left: calc((100vw - 680px) / 2);
}

#modal.small-3 #modal-content {
    width: 560px;
    left: calc((100vw - 560px) / 2);
}

#modal.auto-height #modal-content {
    height: auto;
    border-radius: 6px;
    max-height: 90vh;
    overflow-y: auto;
}

.tipsters-tipster-notification-item {
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 10px 14px;
    transition: all 0.2s;
}

.tipsters-tipster-notification-item .divider {
    background: rgb(229,229,229);width:1px;height: 36px;
}

body.is-dark .tipsters-tipster-notification-item .divider {
    background: #404046;
}

body.is-dark .tipsters-tipster-notification-item {
    background: #323236;
    border-color: #404046;
}

.tipsters-tipster-notification-item:not(.active):not(.not-available):hover {
    background: white;
    border-color: rgba(24,138,226,0.5);
    box-shadow: 0px 0px 3px 0 rgba(24,138,226,0.5);
}

body.is-dark .tipsters-tipster-notification-item:not(.active):not(.not-available):hover {
    background: rgb(55,55,59);
}

.tipsters-tipster-notification-item.active {
    cursor: default;
    background: white;
    border-color: rgba(24,138,226,0.5);
    box-shadow: 0px 0px 3px 0 rgba(24,138,226,0.5);
}

body.is-dark .tipsters-tipster-notification-item.active {
    background: rgb(55,55,59);
}

.tipsters-tipster-notification-item.not-available {
    cursor: not-allowed;
    opacity: .75;
    user-select: none;
}

.tipsters-tipster-notification-item.not-available .form-switch {
    cursor: not-allowed;
}

.tipsters-tipster-notification-list .tipsters-tipster-notification-item:not(:first-child) {
    margin-top: 20px;
}

.notification-item-title {
    font-size: 18px;font-weight: 600;color: #283252;
}

body.is-dark .notification-item-title {
    color: #a2a5b9;
}

.notification-item-description {
    font-size: 13px;color: #a2a5b9;margin-top: 3px;
}

body.is-dark .notification-item-description {
    color: #a2a5b9;
}

body.is-dark .hr-light {
    background: rgb(65,65,65);
}

.profit-color-success {
    color: #2E8B57;
}

.profit-color-danger {
    color: #DC143C;
}

body.is-dark .profit-color-success {
    color: #00bc8c;
}

body.is-dark .profit-color-danger {
    color: #e74c3c;
}

.cursor-pointer {
    cursor: pointer;
}

.select select[disabled], [disabled].textarea, [disabled].input, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .textarea, fieldset[disabled] .input {
    color: #acacac;
    font-style: italic;
}

body.is-dark .select select[disabled], body.is-dark [disabled].textarea, body.is-dark [disabled].input, body.is-dark fieldset[disabled] .select select, body.is-dark .select fieldset[disabled] select, body.is-dark fieldset[disabled] .textarea, body.is-dark fieldset[disabled] .input {
    background-color: #323236;
    border-color: #404046;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: rgb(120,120,120);
    font-style: italic;
}

body.is-dark .select select[disabled].light, body.is-dark [disabled].textarea.light, body.is-dark [disabled].input.light, body.is-dark fieldset[disabled] .select select.light, body.is-dark .select fieldset[disabled] select.light, body.is-dark fieldset[disabled] .textarea.light, body.is-dark fieldset[disabled] .input.light {
    background-color: #3b3b41;
    border-color: #404046 ;
}

#modal.light #modal-content {
    background: #f2f2f2;
    border: 1px solid #f2f2f2;
}

body.is-dark #modal.light #modal-content {
    background: #3b3b41;
    border: 1px solid #3b3b41;
}

input.no-arrows::-webkit-outer-spin-button,
input.no-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.no-arrows[type=number] {
    -moz-appearance:textfield;
}

.tipsters-list-checkbox-item {
    border: 1px solid #e5e5e5;
    padding: 7px 9px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    user-select: none;
}

body.is-dark .tipsters-list-checkbox-item {
    border-color: #404046;
}

.red-badge-glow {
    animation: red-badge-glow 1.4s infinite;
}

@-webkit-keyframes red-badge-glow {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 9px rgba(220, 53, 69, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}
@keyframes red-badge-glow {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 9px rgba(220, 53, 69, 0);
        box-shadow: 0 0 0 9px rgba(220, 53, 69, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

#notifications-panel-wrapper {
    padding:0 10px;
}

.notification-item {
    background: rgb(250,250,250);
    border: 1px solid rgb(237,237,237);
    padding: 0;
    position: relative;
    border-radius: 6px;
    margin-bottom: 16px;
}

.notification-item.light {
    background: white;
    border-color: #e5e5e5;
}

body.is-dark .notification-item {
    background: rgb(40, 40, 44);
    border-color: rgb(54, 54, 58);
}

body.is-dark .notification-item.light {
    background: rgb(55,55,59);
    border-color: #404046;
}

.notification-item .notification-header-wrapper {
    border-bottom: 1px solid rgb(237,237,237);
}

.notification-item.light .notification-header-wrapper {
    border-bottom: 1px solid #e5e5e5;
}

.notification-item .notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    padding: 7px 14px 7px 14px;
}

.notification-item .notification-header.new {
    margin-left: 32px;
}

.notification-item[data-href] {
    cursor: pointer;
}

.notification-item .notification-header .badge {
    font-weight: 600;
}

.notification-item .notification-body {
    padding: 10px 14px 10px 14px;
}

.notification-item .notification-header svg {
    width: 14px;height: 14px;
}

body.is-dark .notification-item .notification-header-wrapper {
    border-bottom: 1px solid rgb(54, 54, 58);
}

body.is-dark .notification-item.light .notification-header-wrapper {
    border-bottom: 1px solid #404046;
}


.notification-ribbon {
    width: 60px;
    height: 60px;
    overflow: hidden;
    position: absolute;
    top: -1px;
    left:-1px;
}

.notification-ribbon span {
    position: absolute;
    display: block;
    width: 100px;
    padding: 3px 0;
    background-color: #f91f3e;
    box-shadow: 0 1.5px 3px rgba(0,0,0,.1);
    color: #fff;
    font: 400 11px/1 'Montserrat', sans-serif;
    text-shadow: 0 0.3px 0.3px rgba(0,0,0,.2);
    text-transform: uppercase;
    text-align: center;
}

.ribbon-top-left span {
    right: -7.5px;
    top: 9px;
    transform: rotate(-45deg);
}

.ribbon-top-right {
    right: -1px;
    left: auto;
}

.ribbon-top-right span {
    left: -7.5px;
    top: 9px;
    transform: rotate(45deg);
}

@media screen and (min-width: 1216px), print {
    .column.is-offset-1-5, .column.is-offset-1-5-tablet {
        margin-left: 12.4999999999%;
    }
}

@media all and (min-width: 768px) {
    .is-70-px {
        flex: 0 0 70px !important;
    }

    .is-60-px {
        flex: 0 0 60px !important;
    }
}

.quick-actions-divider {
    width: 1px;height: 18px;background: rgb(229,229,229);
}

.tipster-stats-divider {
    width: 1px;height: 40px;background: rgb(229,229,229);
}


body.is-dark .quick-actions-divider {
    background: rgb(60,60,64);
}

body.is-dark .tipster-stats-divider {
    background: rgb(60,60,64);
}

.tipsters-list-container.dashboard .tipster-stats-divider-wrapper{
    width: 141px; flex-shrink: 0;
}

@media all and (max-width: 930px) {
    .tipsters-list-container.dashboard .tipster-stats-divider-wrapper{
        width: 60px;
    }
}

.tipsters-list-container.dashboard .tipster-stats-container .tipsters-list-chart-label {
    top: -27px;
}

.tipsters-list-chart-label.mobile {
    display: none;
}

.tipsters-list-container.dashboard .tipster-stats-dashboard-wrapper-mobile {
    display: none;
}

.quick-actions-area {
    background: repeating-linear-gradient(
            -30deg,
            #fff,
            #fff 10px,
            rgb(247, 255, 247) 10px,
            rgb(247, 255, 247) 20px
    )
}

body.is-dark .quick-actions-area {
    background: repeating-linear-gradient(
            -30deg,
            #323236,
            #323236 10px,
            rgb(50, 53, 54) 10px,
            rgb(50, 53, 54) 20px
    )
}

@media all and (max-width: 768px) {
    .tipsters-list-container.dashboard .tipster-stats-dashboard-wrapper-desktop {
        display: none;
    }

    .tipsters-list-container.dashboard .tipster-stats-dashboard-wrapper-mobile {
        display: block;
    }

    .tipster-dashboard-action-buttons {
        flex-direction: column;
        width: 100%;
        padding:0 15px;
    }

    .tipster-dashboard-action-buttons .quick-actions-divider {
        width: 100%;height: 1px;
    }

    .quick-actions-area {
        flex-direction: column;
        padding-top: 10px;
    }

    .tipster-dashboard-action-buttons button {
        width: 100%;
    }

    .tipster-dashboard-header {
        flex-direction: column;
    }

    .tipster-dashboard-header .list-box-container {
        align-self: end;
    }

    .tipsters-feed-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .tipsters-feed-container .is-3 > div {
        border-bottom: 1px solid rgb(229,229,229);
        padding-bottom: 14px;
        margin-bottom: -14px;
    }

    body.is-dark .tipsters-feed-container .is-3 > div {
        border-bottom: 1px solid rgb(62,62,68);
    }

    .tipsters-match-teams {
        font-size: 19px;
    }
}

.ticket-sport-league-wrapper {
    gap: 15px;
}

@media all and (max-width: 600px) {
    .ticket-sport-league-wrapper {
        gap: 5px;
        flex-direction: column;
        align-items: start;
        margin-bottom: 4px;
    }
}

@media all and (max-width: 1180px) {
    #modal.auto-height #modal-content {
        max-height: 100vh;
    }
}

.tipsters-fixture-pick-container {
    gap: 20px;
}

.text-mobile {
    display: none;
}

.tipster-top-charts-wrapper {
    gap: 30px;
}

@media all and (max-width: 768px) {
    .tipster-top-charts-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .text-desktop {
        display: none;
    }

    .text-mobile {
        display: block;
    }

    .tipsters-add-fixture-header {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }

    .tipsters-add-fixture-header > div:nth-child(2) {
        align-self: end;
    }

    .tipsters-fixture-pick-container {
        flex-direction: column;
    }

    .tipsters-fixture-pick-left {
        width: 100%;
    }

    .tipsters-fixture-pick-right {
        width: 100%;
    }
}


.account-wrapper .account-box.is-navigation .account-menu .account-menu-item:last-child {
    margin-bottom: 0;
}

.flex-table .flex-table-item .flex-table-cell.is-user, .flex-table .flex-table-item .flex-table-cell.is-media {
    padding-left: 10px;
}

.tipsters-my-reports-open {
    display: flex;
    align-items: center;
}

.tipsters-my-reports-open .h-button {
    display: none;
}

.tipsters-my-reports-item {
    position: relative;
}

.tipsters-my-reports-item .notification-ribbon {
    display: none;
}

.tipsters-my-reports-item.is-new .notification-ribbon {
    display: block;
}

.flex-table .flex-table-item.is-new .flex-table-cell.is-media > div {
    padding-left: 22px;
}

/* Feed ticket card header — jméno tipstera vlevo + cachovaný 1m profit chart
   vpravo, pod tím sdílený stats partial. `tipster-list-chart-container` třída
   už existuje (list page), ale je scopovaná na .tipsters-list-container; pro
   feed tedy přidávám vlastní rozměry. */
.tipsters-feed-tipster-header .tipsters-feed-tipster-chart {
    width: 40%;
    max-width: 400px;
    height: 60px;
    flex-shrink: 0;
}

.tipsters-feed-tipster-header .tipsters-feed-tipster-chart svg {
    height: 60px;
}

@media (max-width: 768px) {
    .tipsters-feed-tipster-header .tipsters-feed-tipster-chart {
        width: 100%;
        max-width: none;
        height: auto;
    }

    .tipsters-feed-tipster-header .tipsters-feed-tipster-chart hr {
        display: block;
        margin-bottom: 4px;
        margin-top: 0;
    }

    .tipsters-feed-tipster-header .tipsters-list-chart-label {
        top: -11px;
    }
}

/* Stats partial ve feed cardu — sdílí styly s profile page (.tipster-stats-*).
   Feed-specific tweak: žádné vlastní marginy (řízeno divider .is-tight /
   .is-tight-top obklopující řádek) a menší písmo, ať se 8 statů rovnoměrně
   vejde pod jméno tipstera bez přetečení.
   Místo wrappingu na úzkých obrazovkách (vznikalo více řádků a všechno se
   roztahovalo) zachováváme tabulkový vzhled a nabídneme horizontální scroll. */
.tipsters-box .tipster-stats-container {
    margin-top: 0;
    margin-bottom: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.tipsters-box .tipster-stats-item {
    flex: 0 0 auto;
}

.tipsters-box .tipster-stats-item .value {
    font-size: 15px;
}

.tipsters-box .tipster-stats-item .name {
    font-size: 9px;
    white-space: nowrap;
}

/* Feed-only ticket card padding/label tweaks. is-feed-context se přidává v
   ticket.tpl jen když je showFeedTipsterStats=true. */
@media all and (min-width: 769px) {
    /* Inline style="padding-top: 23px" v ticket.tpl je default; tady ho na
       feedu zmenšujeme, protože nad ticketem už je hlavička s jménem +
       chartem a 23px navíc by tvořilo zbytečně velkou mezeru. !important
       je nutné kvůli inline. */
    .tipsters-box.is-feed-context {
        padding-top: 12px !important;
    }

    /* Label "Profit last 30 days" je defaultně absolutně středovaný (left:50%
       + translateX(-50%)). Na feedu ho srovnáváme doleva, ať netrčí přes
       střed chartu. Sám label má dedikovanou třídu .tipsters-feed-chart-label
       níž (font-size + weight); position override je tady, abychom udrželi
       stejnou kombinaci selektorů jako u zbytku is-feed-context overridů. */
    .tipsters-box.is-feed-context .tipsters-feed-chart-label {
        left: 0;
        transform: none;
    }
}

/* Feed-only chart label — vlastní třída přidávaná v ticket.tpl jen když je
   showFeedTipsterStats=true. Profile / list / dashboard page nemá tuhle
   třídu na .tipsters-list-chart-label, takže tam zůstává defaultní 11px /
   400 z původního pravidla. */
.tipsters-feed-chart-label {
    font-size: 10px;
    font-weight: 300;
}

@media all and (max-width: 768px) {
    /* Na malých screenech je jméno tipstera nad chartem (chart skáče pod
       něj na 100% width) — chceme malou mezeru pod jménem, ať to nelepí
       na chart. */
    .tipsters-box.is-feed-context .tipsters-ticket-service-link {
        padding-bottom: 10px;
    }
}

@media all and (max-width: 768px) {
    .tipsters-my-reports-open {
        justify-content: center;
    }

    .tipsters-my-reports-open .h-button {
        display: flex;
        align-items: center;
    }

    .tipsters-my-reports-open .h-icon {
        display: none;
    }

    .flex-table .flex-table-cell .badge {
        float: right;
    }

    .tipsters-my-reports-wrapper {
        margin-top: 18px;
    }

    .tipsters-my-reports-item.is-new [data-title] {
        padding-left: 10px;
    }
}

.svg-path-orange {
    stroke: #ffb400;
    vector-effect: non-scaling-stroke;
}

.svg-path-blue {
    stroke: #01bdff;
    vector-effect: non-scaling-stroke;
}

hr.fancy {
    border: 0;height: 1px;background-image: linear-gradient(to right, rgba(245,245,245, 1), rgba(210,210,210, 0.5), rgba(245,245,245, 1));
    margin: 6px 0;
}

body.is-dark hr.fancy {
    background-image: linear-gradient(to right, rgba(120,120,120, 0), rgba(70,70,70, 1), rgba(120,120,120, 0));
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0dcaf0;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 0.9rem;
    flex-shrink: 0;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

#filterSearchBar {
    display: flex;
    align-items: center;
    background-color:white;
    height:52px;
    width:100%;
    border-bottom:1px solid rgb(220,220,220);
    padding:0 10px;
    box-sizing: border-box;
}

#filterSearchBar table {
    width:100%;
    border-collapse: separate;
    border: 1px solid #e3e3e3;
    border-radius: 5px;
    height: 33px;
    color: #555;
}

#filterSearchBar table svg {
    color: rgb(140,140,140);
}

#filterSearchBar table input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family:Montserrat, sans-serif;
    width:100%;
    line-height:21px;
    font-size:13px;
    color: rgb(40,40,40);
    padding:0;
    border:0;
    outline: none;
}


body.is-dark #filterSearchBar {
    background-color: rgb(55,55,59);
    border-bottom: 1px solid #404046;
}

body.is-dark #filterSearchBar table {
    border: 1px solid #404046;
    background: #2d2d30;
}

body.is-dark #filterSearchBar table i {
    color: rgb(210,210,210);
}

body.is-dark #filterSearchBar table input {
    color: rgb(210,210,210);
    background-color: transparent;
}

.account-wrapper .account-box.is-simple {
    padding: 0;
}

.account-wrapper .account-box.is-simple .form-head .left h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    line-height: 1.3;
}

.account-wrapper .account-box.is-simple .form-body {
    padding: 20px;
}

.account-wrapper .account-box.is-simple .form-head {
    border-bottom: 1px solid #e5e5e5;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.account-wrapper .account-box.is-simple .form-head {
    padding: 12px 20px;
}

body.is-dark .account-wrapper .account-box.is-simple .form-head {
    border-color: #404046;
}


.weekdays-flex {
    display: flex;
    justify-content: center;   /* horizontálně na střed */
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
}

.weekdays-flex__cell {
    display: flex;
    flex-direction: column;
    align-items: center;       /* obsah buňky na střed */
    justify-content: center;
    gap: 8px;
    padding: 8px;
    min-width: 56px;

    border: 1px solid rgb(227,227,227);
    border-radius: 8px;
    background: rgb(250,250,250);
}

body.is-dark .weekdays-flex__cell {
    background-color: rgb(55, 55, 59);
    border-color: rgb(78, 80, 89);
}

.weekdays-flex__day {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none; /* nech zkratky přesně jak chceš */
}

.weekdays-flex__check input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

body.is-dark .box-lighter {
    background: rgb(55, 55, 59);
}

.tipsters-fixture-pick-bet-input {
    width: 300px;max-width: 100%;
}

@media all and (max-width: 930px) {
    .tipsters-fixture-pick-bet-input {
        width: 200px;
    }
}

@media all and (max-width: 769px) {
    .tipsters-fixture-pick-bet-input {
        width: 300px;
    }
}

@media all and (max-width: 630px) {
    .tipsters-fixture-pick-bet-input {
        width: 200px;
    }
}

@media all and (max-width: 530px) {
    .tipsters-fixture-pick-bet-input {
        width: 100%;
    }

    .tipsters-fixture-pick-bet-item.is-custom {
        flex-direction: column;
        padding-bottom: 10px;
    }

    .tipsters-fixture-pick-bet-separator {
        display: none;
    }

    .tipsters-fixture-pick-bet-item.is-custom button {
        margin-top: 6px;
    }
}

@media all and (max-width: 990px) {
    .tipsters-months-overview-year {
        margin-bottom: 14px;
    }
}

.tipsters-button-text {
    gap: 15px;
}

@media all and (max-width: 1600px) {
    .tipsters-button {
        right: 5px;
        bottom: 5px;
        padding: 13px 18px;
        font-size: 1.1rem;
        line-height: 1.1rem;
        font-weight: 500;
    }

    .tipsters-button-odd {
        font-weight: 600;
        font-size: 15px;
        line-height: 15px;
    }
}

@media all and (max-width: 900px) {
    .tipsters-button {
        right: 5px;
        bottom: 5px;
        padding: 10px 15px;
        font-size: 0.9rem;
        line-height: 0.9rem;
        font-weight: 500;
    }

    .tipsters-button-odd {
        font-weight: 600;
        font-size: 13px;
        line-height: 13px;
    }

    .tipsters-button-tipsters-text {
        display: none;
    }

    .tipsters-button .tipsters-button-badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
        top:-6px;
        left:-6px;
    }

    .tipsters-button-text {
        gap: 6px;
        padding-left: 2px;
    }
}

.tipsters-list-reset-order-wrapper {
    flex-wrap: wrap;
    gap: 18px;
}

.tipsters-list-reset-order-wrapper > * {
    flex: 0 0 auto;
}

.tipsters-list-reset-order-wrapper > *:last-child {
    margin-left: auto;
}

[data-tipsters-list-filter-column] .select2-container, [data-tipsters-list-filter-column] .select2  {
    max-width: none;
}

h4 {
    font-weight: 500;
}

.tipsters-analysis {
    opacity: .8;
}

.tipsters-analysis p {
    font-family: inherit;
    font-weight: 400;
    color: inherit;
}

.tipsters-list-chart-no-data {
    position: absolute;top: 50%;left: 50%;transform: translate(-50%, 0);font-weight: 300;font-size: 12px;opacity: .7;font-style: italic;
}

@media all and (max-width: 768px) {
    .tipsters-list-chart-no-data {
        position: static;
        top: auto;left: auto;transform: none;
        text-align: center;
        margin-top: 14px;
    }
}

.list-box-container {
    user-select: none;
}