* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg: #061120;
    --card: rgba(13, 28, 48, .86);
    --card2: rgba(255, 255, 255, .07);
    --line: rgba(255, 255, 255, .11);
    --text: #eef6ff;
    --sub: rgba(238, 246, 255, .72);
    --gold: #ffd36a;
    --gold2: #ffb938;
    --blue: #34c8ff;
    --green: #62f2a6;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
}

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

img {
    display: block;
    width: 100%;
    border: 0;
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 8%, rgba(52, 200, 255, .24), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(255, 211, 106, .18), transparent 30%),
        radial-gradient(circle at 50% 92%, rgba(51, 242, 166, .16), transparent 36%),
        linear-gradient(180deg, #07172c 0%, #040b16 100%);
}

.page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 38px 38px;
}

.page-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 18px 14px 0;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 2px 12px;
}

.top-pill {
    height: 28px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #201500;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    box-shadow: 0 8px 22px rgba(255, 185, 56, .18);
}

.top-live {
    height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(98, 242, 166, .28);
    border-radius: 999px;
    background: rgba(98, 242, 166, .08);
    color: rgba(227, 255, 239, .9);
    font-size: 11px;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(98, 242, 166, .12);
    animation: livePulse 1.2s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(.72); opacity: .55; }
}

.hero-title-block {
    padding: 8px 2px 16px;
}

.hero-title-block h1 {
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: .4px;
    font-weight: 900;
    text-shadow: 0 8px 28px rgba(0, 0, 0, .4);
}

.hero-title-block h1 span {
    display: block;
    margin-top: 8px;
    font-size: 26px;
    color: var(--gold);
}

.hero-title-block p {
    margin-top: 12px;
    color: var(--sub);
    font-size: 14px;
    line-height: 1.65;
}

.match-card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 22px 60px rgba(0,0,0,.32);
    backdrop-filter: blur(14px);
}

.match-top {
    display: grid;
    grid-template-columns: 1fr 112px 1fr;
    align-items: center;
    gap: 8px;
    padding: 13px 12px;
    background: rgba(2, 10, 22, .56);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.team span {
    max-width: 100%;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #d71920, #ff6b70);
    box-shadow: 0 8px 18px rgba(215,25,32,.24);
}

.team-logo.blue {
    background: linear-gradient(135deg, #0b67d5, #4cc2ff);
    box-shadow: 0 8px 18px rgba(52,200,255,.22);
}

.score-box {
    text-align: center;
}

.score-box em {
    display: inline-flex;
    align-items: center;
    height: 18px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(98, 242, 166, .12);
    color: var(--green);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.score-box strong {
    display: block;
    margin-top: 3px;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 950;
    color: #fff;
}

.score-box small {
    display: inline-block;
    margin-top: 3px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
}

.visual-box {
    position: relative;
    min-height: 210px;
    background: #061120;
}

.visual-box img {
    height: 245px;
    object-fit: cover;
    object-position: center top;
}

.visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.7)),
        radial-gradient(circle at center, transparent 40%, rgba(0,0,0,.35));
}

.play-layer {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 18px;
    background: rgba(3, 12, 25, .68);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.play-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #08111e;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    box-shadow: 0 8px 20px rgba(255,185,56,.3);
    font-size: 18px;
    font-weight: 900;
}

.play-layer strong {
    display: block;
    font-size: 15px;
    font-weight: 900;
}

.play-layer span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.68);
    font-size: 12px;
}

.match-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255,255,255,.95);
    color: #172232;
}

.match-tabs span {
    position: relative;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 900;
}

.match-tabs span.active {
    color: #049ad8;
}

.match-tabs span.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 24px;
    height: 4px;
    border-radius: 99px;
    transform: translateX(-50%);
    background: #09b7ff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 13px;
}

.contact-btn {
    height: 50px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}

.contact-btn {
    height: 48px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);
}

.contact-btn b {
    font-size: 14px;
    font-weight: 900;
}

.mini-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 950;
}

.mini-icon.wechat {
    color: #062110;
    background: linear-gradient(135deg, #87ffa9, #19d765);
}

.mini-icon.qq {
    color: #061421;
    background: linear-gradient(135deg, #78d9ff, #21a6ff);
}

.mini-icon.st {
    color: #201000;
    background: linear-gradient(135deg, #ffe39a, #ffad33);
}

.content-panel {
    margin-top: 14px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 48px rgba(0,0,0,.2);
    backdrop-filter: blur(12px);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
}

.panel-title span {
    width: 5px;
    height: 18px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--blue), var(--gold));
}

.panel-title strong {
    font-size: 17px;
    font-weight: 950;
}

.main-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255,255,255,.9);
}

.info-card {
    margin-top: 12px;
    padding: 13px;
    border-radius: 18px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.75;
    background:
        linear-gradient(135deg, rgba(52,200,255,.12), rgba(255,211,106,.08));
    border: 1px solid rgba(255,255,255,.1);
}

.quote-box {
    margin-top: 13px;
    padding: 12px 13px;
    border-radius: 16px;
    color: #ffe7aa;
    font-size: 14px;
    line-height: 1.65;
    background: rgba(255, 211, 106, .08);
    border: 1px solid rgba(255, 211, 106, .22);
}

.float-action-bar {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 20;
    width: 100%;
    max-width: 480px;
    transform: translateX(-50%);
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(4,11,22,.92) 36%, rgba(4,11,22,.98));
}

.main-btn {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #1d1200;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: .4px;
    background: linear-gradient(135deg, #fff1b7, #ffc13f 48%, #ffdf7e);
    box-shadow:
        0 12px 32px rgba(255, 185, 56, .36),
        inset 0 1px 0 rgba(255,255,255,.55);
    animation: btnFloat 2.2s ease-in-out infinite;
}

@keyframes btnFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.bottom-space {
    height: 96px;
}

@media (min-width: 700px) {
    body {
        display: flex;
        justify-content: center;
    }

    .page-wrap {
        padding-top: 28px;
    }
}

/* ================= 三条弹窗 ================= */
.st-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.st-modal.show {
    display: flex;
}

.st-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
}

.st-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(16, 35, 58, .98), rgba(5, 13, 26, .98));
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    animation: stPop .22s ease-out;
}

@keyframes stPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.st-modal-x {
    position: absolute;
    right: 12px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
}

.st-modal-title {
    padding: 4px 40px 12px 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 950;
}

.st-modal-img-wrap {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}

.st-modal-img-wrap img {
    width: 100%;
    display: block;
}

.st-modal-btn {
    margin-top: 14px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #1d1200;
    font-size: 16px;
    font-weight: 950;
    background: linear-gradient(135deg, #fff1b7, #ffc13f 48%, #ffdf7e);
    box-shadow: 0 12px 30px rgba(255, 185, 56, .28);
}