body {
    margin: 0;
    min-height: 100vh;
    color: #172033;
    background:
        radial-gradient(circle at 12% 10%, rgba(104, 92, 255, .18), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(0, 194, 255, .14), transparent 28%),
        linear-gradient(135deg, #f5f7ff 0%, #edf2fb 55%, #f7f9fc 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#wrap {
    min-height: calc(100vh - 105px);
}

#wrap > .container {
    width: 100%;
    max-width: 1320px;
    padding: 34px 28px 18px;
}

.tc-shell {
    width: 100%;
}

.tc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 18px;
}

.tc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: #fff;
    font-weight: 800;
    border-radius: 14px;
    background: linear-gradient(135deg, #695cff, #26b9ff);
    box-shadow: 0 12px 28px rgba(91, 83, 220, .28);
}

.tc-brand strong,
.tc-brand small {
    display: block;
}

.tc-brand strong {
    color: #172033;
    font-size: 19px;
    line-height: 1.1;
}

.tc-brand small {
    margin-top: 3px;
    color: #8790a5;
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.tc-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: #405068;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(126, 139, 166, .2);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(49, 62, 88, .08);
}

.tc-secure-badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28c984;
    box-shadow: 0 0 0 5px rgba(40, 201, 132, .12);
}

.tc-language-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 8px 6px 13px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(126, 139, 166, .2);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(49, 62, 88, .08);
}

.tc-language-form label {
    margin: 0;
    color: #7a869d;
    font-size: 11px;
    font-weight: 700;
}

.tc-language-form select {
    height: 32px;
    padding: 4px 27px 4px 10px;
    color: #263149;
    font-size: 12px;
    font-weight: 700;
    background: #f3f5fa;
    border: 0;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

.tc-language-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1180px;
    margin: 0 auto 30px;
    padding: 11px 15px;
    color: #526078;
    font-size: 12px;
    background: rgba(255,255,255,.66);
    border: 1px solid rgba(126, 139, 166, .14);
    border-radius: 14px;
}

.tc-language-status > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-language-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    color: #6258e5;
    font-weight: 900;
    background: rgba(105, 92, 255, .1);
    border-radius: 50%;
}

.tc-language-status small {
    color: #929caf;
    font-size: 10px;
    text-align: right;
}

.tc-footer {
    padding: 23px 0;
    color: #7f899d;
    background: rgba(255,255,255,.62);
    border-top: 1px solid rgba(126, 139, 166, .13);
}

.tc-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    max-width: 1180px;
    margin: 0 auto;
}

.tc-footer strong,
.tc-footer small {
    display: block;
}

.tc-footer strong {
    color: #344057;
    font-size: 13px;
}

.tc-footer small {
    margin-top: 4px;
    font-size: 10px;
}

.tc-footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
}

.tc-footer-links a {
    color: #5966d9;
    font-weight: 700;
}

@media (max-width: 760px) {
    #wrap > .container {
        padding: 20px 14px 10px;
    }

    .tc-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .tc-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    .tc-language-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .tc-language-status small {
        text-align: left;
    }

    .tc-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 470px) {
    .tc-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tc-secure-badge,
    .tc-language-form {
        justify-content: center;
    }

    .tc-language-form select {
        flex: 1;
    }
}

/* TOTALCASINO COMPACT COMMON V2 */

.tc-header {
    margin-bottom: 10px;
}

.tc-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
}

.tc-brand strong {
    font-size: 16px;
}

.tc-brand small {
    margin-top: 2px;
    font-size: 9px;
}

.tc-secure-badge {
    padding: 7px 11px;
    font-size: 10px;
}

.tc-language-form {
    padding-top: 4px;
    padding-bottom: 4px;
}

.tc-language-form select {
    height: 28px;
    font-size: 10px;
}

.tc-language-status {
    margin-bottom: 15px;
    padding: 7px 12px;
    font-size: 10px;
}

.tc-language-status-icon {
    width: 20px;
    height: 20px;
}

.tc-language-status small {
    font-size: 9px;
}
