/* =========================================================
   N.G.O SCORE — ANALYSIS APP THEME
========================================================= */

/*
   MAIN COLORS

   Dark Navy  : #0b132b
   Dark Blue  : #1c2541
   Gold       : #ffbe0b
   Gold Light : #FFD700
   Bright Blue: #2575fc
   Green      : #2ecc71
   Neon Green : #00ff00
   White      : #ffffff
   Light Gray : #ddd
*/


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(
            circle at top,
            #1c2541 0%,
            #0b132b 42%,
            #050914 100%
        );

    color: #ffffff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   PAGE
========================================================= */

.analysis-page {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding:
        10px 12px 0px;
}


/* =========================================================
   HEADER
========================================================= */

.analysis-header {
    position: sticky;

    top: 0;

    z-index: 20;

    padding:
        10px 0 13px;

    background:
        linear-gradient(
            to bottom,
            #0b132b 78%,
            rgba(11,19,43,0)
        );
}


/* =========================================================
   DATE BAR
========================================================= */

.date-bar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

    margin:
        0 0 10px;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.date-back {
    width: 40px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #1c2541;

    border:
        1px solid
        rgba(255,190,11,.30);

    color: #FFD700;

    font-size: 21px;

    cursor: pointer;

    transition:
        background .18s,
        transform .18s,
        border-color .18s;
}

.date-back:hover {
    background: #2575fc;

    border-color: #2575fc;

    color: #ffffff;
}

.date-back:active {
    transform: scale(.95);
}


/* =========================================================
   CALENDAR DATE
========================================================= */

.date-picker-wrapper {
    position: relative;

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;
}

.date-current {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 38px;

    padding:
        0 10px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;
}

.date-calendar-icon {
    color: #FFD700;

    font-size: 16px;

    line-height: 1;
}

.date-input {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;

    cursor: pointer;
}


/* =========================================================
   SEARCH / FILTERS
========================================================= */

.filters {
    display: grid;

    grid-template-columns:
        1fr;

    gap: 8px;

    margin-bottom: 15px;
}

.search-box,
.league-select {
    width: 100%;

    height: 43px;

    padding:
        0 13px;

    border-radius: 11px;

    border:
        1px solid
        rgba(37,117,252,.35);

    outline: none;

    background: #1c2541;

    color: #ffffff;

    font-size: 13px;

    transition:
        border-color .18s,
        box-shadow .18s,
        background .18s;
}

.search-box::placeholder {
    color: #ddd;

    opacity: .65;
}

.search-box:focus,
.league-select:focus {
    background: #1c2541;

    border-color: #2575fc;

    box-shadow:
        0 0 0 2px
        rgba(37,117,252,.15);
}

.league-select {
    cursor: pointer;

    border-color:
        rgba(255,190,11,.30);
}

.league-select:focus {
    border-color: #ffbe0b;

    box-shadow:
        0 0 0 2px
        rgba(255,190,11,.12);
}

.league-select option {
    background: #1c2541;

    color: #ffffff;
}


/* =========================================================
   LEAGUE SECTION
========================================================= */

.league-section {
    margin-bottom: 20px;
}


/* =========================================================
   LEAGUE TITLE
========================================================= */

.league-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding:
        9px 11px;

    margin-bottom: 6px;

    border-radius: 10px;

    background: #1c2541;

    border:
        1px solid
        rgba(255,190,11,.18);

    box-shadow:
        0 3px 10px
        rgba(0,0,0,.20);
}

.league-name {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #FFD700;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: .3px;
}

.league-count {
    flex-shrink: 0;

    color: #ddd;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   MATCH CONTAINER
========================================================= */

.match-container {
    width: 100%;

    border-radius: 10px;

    overflow: hidden;

    background: #1c2541;

    border:
        1px solid
        rgba(255,255,255,.055);

    margin-bottom: 5px;

    transition:
        border-color .18s,
        background .18s;
}

.match-container:hover {
    border-color:
        rgba(37,117,252,.35);
}

.match-container.open {
    border-color:
        rgba(255,190,11,.35);
}


/* =========================================================
   MATCH ROW
========================================================= */

.match-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        50px
        minmax(0,1fr)
        52px
        18px;

    align-items: center;

    min-height: 62px;

    padding:
        8px 7px;

    background: #1c2541;

    transition:
        background .18s,
        transform .18s;

    cursor: pointer;
}

.match-row:hover {
    background:
        rgba(37,117,252,.10);

    transform:
        translateX(2px);
}


/* =========================================================
   OPEN MATCH
========================================================= */

.match-container.open .match-row {
    background:
        linear-gradient(
            90deg,
            #1c2541,
            #18213d
        );

    box-shadow:
        inset 3px 0 0 #ffbe0b;
}


/* =========================================================
   TEAM
========================================================= */

.team {
    position: relative;

    display: block;

    min-width: 0;

    width: 100%;

    height: 34px;
}


/* =========================================================
   HOME TEAM
========================================================= */

.team.home {
    text-align: right;

    padding-right: 35px;
}


/* =========================================================
   AWAY TEAM
========================================================= */

.team.away {
    text-align: left;

    padding-left: 35px;
}

/* =========================================================
   TEAM NAME — FIX OVERFLOW
========================================================= */

.team-name {
    display: block;

    width: 100%;
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    font-size: 13px;

    font-weight: 700;

    color: #ffffff;

    line-height: 34px;
}

.team-cancelled {
    color: #ddd;

    text-decoration: line-through;

    opacity: .55;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .team-name {
        display: block;

        width: 100%;

        min-width: 0;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;

        font-size: 12px;

        line-height: 32px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .team-name {
        font-size: 11px;

        line-height: 30px;
    }
}

/* =========================================================
   CANCELLED
========================================================= */

.team-cancelled {
    color: #ddd;

    text-decoration: line-through;

    opacity: .55;
}


/* =========================================================
   TEAM LOGO
========================================================= */

.team-logo,
.team-logo-placeholder {
    position: absolute;

    top: 50%;

    width: 27px;

    height: 27px;

    transform: translateY(-50%);
}

.team-logo {
    object-fit: contain;

    display: block;
}

.team-logo-placeholder {
    display: block;

    border-radius: 50%;

    background: #0b132b;

    border:
        1px solid
        rgba(255,255,255,.12);
}

.team.home .team-logo,
.team.home .team-logo-placeholder {
    right: 0;
}

.team.away .team-logo,
.team.away .team-logo-placeholder {
    left: 0;
}


/* =========================================================
   VS / SCORE
========================================================= */

.versus {
    width: 100%;

    text-align: center;

    color: #ddd;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .5px;
}

.match-score {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 42px;

    height: 34px;

    padding:
        0 7px;

    border-radius: 8px;

    background: #0b132b;

    border:
        1px solid
        rgba(46,204,113,.35);

    color: #2ecc71;

    font-size: 13px;

    font-weight: 900;

    line-height: 1;

    white-space: nowrap;

    overflow: hidden;
}

.match-postponed {
    color: #FFD700;

    font-weight: 900;
}

.match-vs {
    color: #ddd;
}


/* =========================================================
   TIME
========================================================= */

.match-time {
    text-align: right;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;
}


/* =========================================================
   ARROW
========================================================= */

.match-arrow {
    text-align: right;

    color: #2575fc;

    font-size: 19px;

    transition:
        transform .2s ease,
        color .2s ease;
}

.match-container.open .match-arrow {
    transform: rotate(90deg);

    color: #FFD700;
}


/* =========================================================
   PREDICTION PANEL
========================================================= */

.prediction-panel {
    display: none;

    width: 100%;

    padding: 12px;

    background: #ffffff;

    border-top:
        1px solid
        rgba(255,190,11,.25);

    animation:
        predictionOpen
        .20s
        ease;
}

.match-container.open
.prediction-panel {
    display: block;
}

@keyframes predictionOpen {

    from {
        opacity: 0;

        transform:
            translateY(-6px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* =========================================================
   PREDICTION HEADER
========================================================= */

.prediction-panel::before {
    content: "PREDICTION";

    display: block;

    margin:
        1px 2px 10px;

    color: #0b132b;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.2px;

    text-align: center;
}


/* =========================================================
   WINNER
========================================================= */

.winner-box {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #0b132b 0%,
            #1c2541 100%
        );

    color: #ffffff;

    border-radius: 14px;

    padding:
        17px 12px;

    text-align: center;

    border:
        1px solid
        rgba(255,190,11,.45);

    box-shadow:
        0 5px 15px
        rgba(11,19,43,.20);

    margin-bottom: 9px;

    overflow: hidden;
}

.winner-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #ffbe0b;
}

.winner-label {
    color: #ffbe0b;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.winner-prediction {
    margin-top: 7px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 900;

    line-height: 1.25;

    text-transform: uppercase;
}


/* =========================================================
   PREDICTION GRID
========================================================= */

.prediction-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    margin-bottom: 8px;
}

.prediction-section {
    position: relative;

    background:
        linear-gradient(
            145deg,
            #0b132b 0%,
            #1c2541 100%
        );

    border-radius: 12px;

    overflow: hidden;

    border:
        1px solid
        rgba(11,19,43,.12);

    box-shadow:
        0 4px 12px
        rgba(11,19,43,.16);

    min-width: 0;
}

.prediction-section::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        rgba(255,190,11,.75);
}

.prediction-title {
    padding:
        10px 10px 3px;

    background: transparent;

    color: #dddddd;

    font-size: 8px;

    font-weight: 900;

    letter-spacing: .8px;

    text-transform: uppercase;

    text-align: center;
}

.prediction-value {
    min-height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        7px 8px 10px;

    background: transparent;

    color: #2ecc71;

    font-size: 14px;

    font-weight: 900;

    text-align: center;

    line-height: 1.2;
}


/* =========================================================
   DOUBLE CHANCE
========================================================= */

.double-chance-section {
    margin-bottom: 8px;
}


/* =========================================================
   CORRECT SCORE
========================================================= */

.correct-score-section {
    margin-bottom: 8px;

    background:
        linear-gradient(
            145deg,
            #0b132b 0%,
            #1c2541 100%
        );

    border-radius: 12px;

    overflow: hidden;

    border:
        1px solid
        rgba(11,19,43,.12);

    box-shadow:
        0 4px 12px
        rgba(11,19,43,.16);
}

.correct-score-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 7px;

    padding: 8px;

    background: transparent;
}

.correct-score-item {
    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    border-radius: 9px;

    background: #0b132b;

    border:
        1px solid
        rgba(37,117,252,.25);

    color: #ffffff;

    font-size: 13px;

    font-weight: 900;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.03);
}


/* =========================================================
   EMPTY INNER
========================================================= */

.prediction-panel .inner-empty {
    padding:
        14px 10px;

    border-radius: 10px;

    background: #0b132b;

    color: #dddddd;

    font-size: 10px;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   HISTORY BLOCK
========================================================= */

.history-block {
    margin-bottom: 8px;

    background: #1c2541;

    border-radius: 12px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    box-shadow:
        0 3px 10px
        rgba(0,0,0,.18);
}

.history-heading {
    padding:
        10px 12px;

    background: #0b132b;

    color: #FFD700;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .7px;

    text-transform: uppercase;

    border-bottom:
        1px solid
        rgba(255,190,11,.18);
}

.history-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto
        auto;

    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding:
        8px 11px;

    background: #1c2541;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}

.history-row:last-child {
    border-bottom: 0;
}

.history-opponent {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffffff;

    font-size: 11px;

    font-weight: 700;
}

.history-score {
    color: #ddd;

    font-size: 11px;

    font-weight: 900;

    white-space: nowrap;
}

.history-result {
    min-width: 40px;

    padding:
        4px 6px;

    border-radius: 6px;

    text-align: center;

    font-size: 8px;

    font-weight: 900;
}

.history-result.win {
    background:
        rgba(46,204,113,.15);

    color: #2ecc71;
}

.history-result.draw {
    background:
        rgba(255,190,11,.12);

    color: #FFD700;
}

.history-result.loss {
    background:
        rgba(255,68,68,.12);

    color: #ff6666;
}

.history-result.neutral {
    background:
        rgba(221,221,221,.08);

    color: #ddd;
}


/* =========================================================
   H2H
========================================================= */

.h2h-block {
    background: #1c2541;

    border-radius: 12px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.07);

    box-shadow:
        0 3px 10px
        rgba(0,0,0,.18);
}

.h2h-heading {
    padding:
        10px 12px;

    background: #0b132b;

    color: #FFD700;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .7px;

    text-transform: uppercase;

    border-bottom:
        1px solid
        rgba(255,190,11,.18);
}

.h2h-row {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto
        minmax(0,1fr);

    align-items: center;

    gap: 8px;

    min-height: 42px;

    padding:
        8px 11px;

    background: #1c2541;

    border-bottom:
        1px solid
        rgba(255,255,255,.055);
}

.h2h-row:last-child {
    border-bottom: 0;
}

.h2h-team {
    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;
}

.h2h-team.right {
    text-align: right;
}

.h2h-score {
    color: #2ecc71;

    font-size: 11px;

    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   EMPTY INNER
========================================================= */

.inner-empty {
    padding:
        14px 10px;

    background: #1c2541;

    color: #ddd;

    font-size: 10px;

    font-weight: 700;

    text-align: center;
}


/* =========================================================
   EMPTY BOX
========================================================= */

.empty-box {
    padding:
        26px 16px;

    margin-top: 10px;

    border-radius: 13px;

    background: #1c2541;

    border:
        1px solid
        rgba(255,190,11,.20);

    color: #ddd;

    text-align: center;

    font-size: 13px;

    line-height: 1.5;
}

.empty-box strong {
    color: #FFD700;
}


/* =========================================================
   ERROR BOX
========================================================= */

.error-box {
    padding: 15px;

    margin-top: 10px;

    border-radius: 12px;

    background:
        rgba(255,68,68,.10);

    border:
        1px solid
        rgba(255,68,68,.40);

    color: #ffaaaa;

    font-size: 13px;

    line-height: 1.5;

    word-break: break-word;
}


/* =========================================================
   HISTORY PAGE
========================================================= */

.history-list {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.history-date {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 14px;

    border-radius: 12px;

    background: #1c2541;

    border:
        1px solid
        rgba(255,255,255,.07);

    transition:
        background .18s,
        transform .18s,
        border-color .18s;
}

.history-date:hover {
    background:
        rgba(37,117,252,.12);

    border-color:
        rgba(37,117,252,.35);

    transform:
        translateX(2px);
}

.history-date-title {
    color: #ffffff;

    font-size: 14px;

    font-weight: 800;
}

.history-date-count {
    margin-top: 4px;

    color: #ddd;

    font-size: 10px;

    font-weight: 700;
}

.history-arrow {
    color: #2575fc;

    font-size: 20px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #0b132b;
}

::-webkit-scrollbar-thumb {
    background: #1c2541;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2575fc;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .analysis-page {
        padding:
            8px 9px 0;
    }


    .match-row {
        grid-template-columns:
            minmax(0,1fr)
            50px
            minmax(0,1fr)
            47px
            13px;

        padding:
            8px 3px;
    }


    .team {
        height: 32px;
    }


    .team.home {
        padding-right: 31px;
    }


    .team.away {
        padding-left: 31px;
    }


    .team-name {
        font-size: 12px;

        line-height: 32px;
    }


    .team-logo,
    .team-logo-placeholder {
        width: 24px;
        height: 24px;
    }


    .match-time {
        font-size: 11px;
    }


    .match-score {
        min-width: 42px;

        height: 32px;

        padding:
            0 7px;

        font-size: 12px;

        white-space: nowrap;
    }


    .prediction-panel {
        padding: 8px;
    }


    .winner-box {
        padding:
            16px 10px;
    }


    .winner-prediction {
        font-size: 19px;
    }


    .prediction-grid {
        gap: 7px;
    }


    .prediction-title {
        padding:
            9px 8px 0;

        font-size: 8px;
    }


    .prediction-value {
        min-height: 41px;

        padding:
            8px 6px;

        font-size: 12px;
    }


    .correct-score-list {
        gap: 6px;

        padding: 7px;
    }


    .correct-score-item {
        min-height: 40px;

        font-size: 12px;
    }


    .history-row {
        gap: 6px;

        padding:
            8px 9px;
    }


    .history-opponent {
        font-size: 10px;
    }


    .history-score {
        font-size: 10px;
    }


    .h2h-row {
        gap: 6px;

        padding:
            8px 9px;
    }


    .h2h-team {
        font-size: 9px;
    }


    .h2h-score {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .league-name {
        font-size: 11px;
    }


    .league-count {
        font-size: 9px;
    }


    .team-name {
        font-size: 11px;
    }


    .match-row {
        grid-template-columns:
            minmax(0,1fr)
            50px
            minmax(0,1fr)
            43px
            11px;
    }


    .team.home {
        padding-right: 29px;
    }


    .team.away {
        padding-left: 29px;
    }


    .team-logo,
    .team-logo-placeholder {
        width: 22px;
        height: 22px;
    }


    .team-name {
        line-height: 30px;
    }


    .match-time {
        font-size: 10px;
    }


    .match-arrow {
        font-size: 17px;
    }

}


/* =========================================================
   ANALYSIS — BY TIME
========================================================= */

.analysis-sort-tools {
    display: flex;

    align-items: center;

    margin:
        0 0 14px 0;
}

.analysis-sort-btn {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 40px;

    padding:
        0 15px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 10px;

    background:
        rgba(255,255,255,.05);

    color:
        rgba(255,255,255,.65);

    text-decoration: none;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .4px;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.analysis-sort-btn:hover {
    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,255,255,.20);

    color: #ffffff;
}

.analysis-sort-btn:active {
    transform:
        scale(.97);
}

.analysis-sort-btn.active {
    background:
        rgba(255,190,11,.12);

    border-color:
        rgba(255,190,11,.45);

    color: #FFD700;
}

.sort-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.30);

    transition:
        background .18s ease,
        box-shadow .18s ease;
}

.analysis-sort-btn.active .sort-dot {
    background: #ffbe0b;

    box-shadow:
        0 0 8px
        rgba(255,190,11,.55);
}


/* =========================================================
   PREDICTION RESULT STATUS
========================================================= */


/* =========================================================
   HIT — GREEN
========================================================= */

.prediction-status-hit {
    border-color:
        #2ecc71 !important;
}

.prediction-status-hit .winner-label,
.prediction-status-hit .prediction-title {
    color:
        #2ecc71 !important;
}

.prediction-status-hit .winner-prediction,
.prediction-status-hit .prediction-value {
    color:
        #2ecc71 !important;
}

.prediction-status-hit .correct-score-item {
    border-color:
        #2ecc71 !important;

    color:
        #2ecc71 !important;
}


/* =========================================================
   MISS — RED
========================================================= */

.prediction-status-miss {
    border-color:
        #e74c3c !important;
}

.prediction-status-miss .winner-label,
.prediction-status-miss .prediction-title {
    color:
        #e74c3c !important;
}

.prediction-status-miss .winner-prediction,
.prediction-status-miss .prediction-value {
    color:
        #e74c3c !important;
}

.prediction-status-miss .correct-score-item {
    border-color:
        #e74c3c !important;

    color:
        #e74c3c !important;
}


/* =========================================================
   PENDING — WHITE
========================================================= */

.prediction-status-pending {
    border-color:
        #ffffff !important;
}

.prediction-status-pending .winner-label,
.prediction-status-pending .prediction-title {
    color:
        #ffffff !important;
}

.prediction-status-pending .winner-prediction,
.prediction-status-pending .prediction-value {
    color:
        #ffffff !important;
}

.prediction-status-pending .correct-score-item {
    border-color:
        rgba(255,255,255,.45) !important;

    color:
        #ffffff !important;
}

/* =========================================================
   ANALYSIS.PHP ONLY — ULTRA COMPACT VIP AFFILIATE BAR
========================================================= */

.analysis-page + .affiliate-bar {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;

    padding: 1px 8px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: center !important;
    align-items: center !important;

    overflow: hidden !important;
}

.analysis-page + .affiliate-bar .title {
    font-size: 13px !important;
    line-height: 14px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.analysis-page + .affiliate-bar .subtitle {
    font-size: 8px !important;
    line-height: 9px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   ANALYSIS.PHP — VIP BAR / SCROLL END
========================================================= */

.analysis-page + .affiliate-bar {
    position: fixed !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100% !important;

    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;

    padding: 1px 8px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    justify-content: center !important;
    align-items: center !important;

    overflow: hidden !important;

    z-index: 99999 !important;
}

.analysis-page + .affiliate-bar .title {
    font-size: 13px !important;
    line-height: 14px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.analysis-page + .affiliate-bar .subtitle {
    font-size: 8px !important;
    line-height: 9px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   SPACE ONLY WHEN PAGE CAN SCROLL
========================================================= */

.analysis-page.has-scroll {
    padding-bottom: 40px !important;
}

.analysis-page.no-scroll {
    padding-bottom: 0 !important;
}