:root {
    --tsg-navy: #10182b;
    --tsg-gold: #b99549;
    --tsg-surface: rgba(255, 255, 255, 0.94);
}

body {
    background:
        linear-gradient(rgba(16, 24, 43, 0.46), rgba(16, 24, 43, 0.46)),
        url("/Public/uploads/tsg-film-bg.png") center top / cover fixed no-repeat;
}

.mobile {
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.88);
}

.header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--tsg-gold);
}

.header img {
    max-width: 46%;
    object-fit: contain;
}

.tsg-brand-name {
    display: inline-block;
    max-width: 34%;
    margin-left: 0.08rem;
    color: var(--tsg-navy);
    font: 600 0.18rem/1.2 Arial, sans-serif;
    vertical-align: middle;
}

.list_outer ul li {
    border: 1px solid rgba(185, 149, 73, 0.45);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(16, 24, 43, 0.08);
}

.list_outer ul li > a > img:first-child {
    aspect-ratio: 16 / 7;
    object-fit: cover;
}

.tsg-language-switcher {
    position: fixed;
    top: 0.14rem;
    right: 1.45rem;
    left: auto;
    z-index: 3001;
    display: flex;
    align-items: center;
    gap: 0.08rem;
    padding: 0.06rem 0.08rem;
    color: var(--tsg-navy);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(185, 149, 73, 0.6);
    border-radius: 6px;
    font-size: 0.18rem;
}

.tsg-language-switcher::before {
    content: "\1F310";
    font-size: 0.2rem;
    line-height: 1;
}

.tsg-language-switcher label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tsg-language-switcher select {
    border: 0;
    color: var(--tsg-navy);
    background: transparent;
    font-size: 0.18rem;
    cursor: pointer;
}

.header .tsg-language-switcher {
    position: absolute;
    top: 0.17rem;
    right: 1.55rem;
}

.othertop .tsg-language-switcher {
    position: absolute;
    top: 0.12rem;
    right: 0.16rem;
}

@media (min-width: 900px) {
    html { font-size: 100px !important; }
    .mobile,
    .header,
    .indexbanner {
        width: min(100%, 1200px);
    }
    .mobile {
        box-shadow: 0 0 36px rgba(0, 0, 0, 0.28);
    }
    .header {
        left: 50%;
        transform: translateX(-50%);
    }
    .indexbanner img {
        width: 100%;
        height: clamp(300px, 36vw, 520px);
        object-fit: cover;
    }
    .list_outer ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.22rem;
        padding: 0 0.24rem;
    }
    .list_outer ul li {
        width: auto;
        margin-top: 0;
    }
    .tsg-language-switcher {
        right: max(1.55rem, calc(50% - 580px));
        left: auto;
    }
    .header .tsg-language-switcher { right: 1.55rem; }
}

/* Codex: compact language switcher */
.tsg-language-switcher{right:.12rem!important;left:auto!important;top:.08rem!important;gap:.04rem!important;padding:.025rem .06rem!important;border-radius:4px!important;font-size:.14rem!important}
.tsg-language-switcher::before{font-size:.16rem!important;line-height:1!important}
.tsg-language-switcher select{font-size:.14rem!important;max-width:1.25rem!important}
.header .tsg-language-switcher{right:.12rem!important}
