/*
 * TikTox 第三组手机端重制
 * 设计基准：曜石黑 + 红蓝霓虹对抗 + 香槟金 VIP + 蓝黑玻璃卡片。
 * 桌面端保留原响应式结构，390–430px 手机宽度为主要还原尺寸。
 */

.brand small em,
.brand small i {
    font-style: normal;
}
.brand small em { color: var(--red); }
.brand small i { color: var(--cyan); }
.balance-pill > b { color: #d6dbe5; font-size: 25px; font-weight: 400; line-height: 1; }
.arena-mobile-title,
.mobile-carousel-heading,
.mobile-carousel { display: none; }

.tiktok-carousel {
    position: relative;
    overflow: hidden;
    height: 420px;
    margin-bottom: 26px;
    border: 1px solid rgba(73,147,236,.22);
    border-radius: 30px;
    background: #040a14;
    box-shadow: 0 28px 85px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.04);
}
.home-inline-carousel {
    height: 238px;
    margin: 18px 0 30px;
    border-radius: 22px;
}
.carousel-track,
.carousel-slide { position: absolute; inset: 0; }
.carousel-slide {
    overflow: hidden;
    background-position: center 28%;
    background-size: cover;
    opacity: 0;
    transform: scale(1.035);
    visibility: hidden;
    transition: opacity .8s ease,transform 6.5s linear,visibility .8s;
}
.carousel-slide.active { opacity: 1; transform: scale(1); visibility: visible; }
.carousel-shade {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg,rgba(2,6,13,.95),rgba(2,6,13,.72) 42%,rgba(2,6,13,.12) 76%),
        linear-gradient(180deg,rgba(2,6,13,.08),rgba(2,6,13,.68));
}
.carousel-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}
.carousel-cover-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}
.carousel-content {
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: clamp(28px,5vw,68px);
    z-index: 2;
    width: min(560px,62%);
    transform: translateY(-50%);
}
.carousel-content > span {
    display: inline-flex;
    padding: 6px 10px;
    color: #e9fcff;
    border: 1px solid rgba(30,238,255,.38);
    border-radius: 999px;
    background: rgba(22,141,255,.13);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.8px;
}
.carousel-content h2 {
    margin: 14px 0 9px;
    color: white;
    font-size: clamp(31px,4vw,53px);
    line-height: 1.13;
    letter-spacing: -1.8px;
    text-shadow: -2px 1px rgba(254,44,85,.5),2px -1px rgba(22,141,255,.45);
}
.carousel-content p { margin: 0 0 23px; color: #aeb9c9; font-size: 14px; }
.carousel-content a {
    display: inline-flex;
    pointer-events: auto;
    min-height: 43px;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
    color: #d9f9ff;
    border: 1px solid rgba(30,238,255,.25);
    border-radius: 11px;
    background: rgba(4,12,24,.62);
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}
.carousel-index {
    position: absolute;
    pointer-events: none;
    right: 30px;
    bottom: 24px;
    z-index: 2;
    color: #7bdfff;
    font-size: 17px;
    letter-spacing: 2px;
}
.carousel-index i { color: #6f7c8f; font-style: normal; }
.carousel-controls {
    position: absolute;
    bottom: 21px;
    left: clamp(28px,5vw,68px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
}
.carousel-controls > button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #dfe8f4;
    border: 1px solid rgba(119,171,235,.2);
    border-radius: 50%;
    background: rgba(4,12,24,.68);
    cursor: pointer;
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-dots button {
    width: 24px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.22);
    cursor: pointer;
}
.carousel-dots button.active { width: 42px; background: linear-gradient(90deg,var(--red),var(--cyan)); }

.support-meter {
    position: relative;
    display: flex;
    height: 18px;
    align-items: center;
    margin-top: 9px;
    border-radius: 5px;
    background: rgba(255,255,255,.06);
}
.support-meter > span { position: relative; height: 100%; }
.support-meter > span b { position: absolute; z-index: 1; color: white; font-size: 11px; line-height: 18px; }
.red-meter { background: linear-gradient(90deg,#c9183d,#ff3159); }
.red-meter b { left: 7px; }
.blue-meter { background: linear-gradient(90deg,#1267db,#249bff); }
.blue-meter b { right: 7px; }
.support-meter i {
    position: absolute;
    left: 50%;
    z-index: 2;
    color: white;
    font-style: italic;
    font-weight: 900;
    transform: translateX(-50%);
}
.compact-support { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); font-size: 10px; }
.compact-support span:last-child { text-align: right; }
.compact-support b { display: block; color: white; }
.fair-play {
    margin: -10px 0 16px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}
.count-side { display: grid; }
.count-side small { color: var(--muted); font-size: 11px; font-weight: 500; }
.orders-title {
    display: flex;
    min-height: 130px;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.orders-title h1 {
    margin: 0;
    font-size: 58px;
    letter-spacing: -2px;
}
.orders-title > b,
.profile-heading > b {
    color: var(--red);
    font-size: 38px;
    text-shadow: 2px 1px 0 var(--cyan), 0 0 18px currentColor;
}
.orders-title > b:nth-of-type(2),
.profile-heading > b:nth-of-type(2) { color: var(--blue); }
.order-wave,
.profile-wave {
    width: 150px;
    height: 38px;
    opacity: .65;
    background:
        linear-gradient(90deg, transparent, currentColor, transparent) center / 100% 1px no-repeat,
        linear-gradient(currentColor,currentColor) 18% 50% / 2px 28% no-repeat,
        linear-gradient(currentColor,currentColor) 27% 50% / 2px 54% no-repeat,
        linear-gradient(currentColor,currentColor) 36% 50% / 2px 78% no-repeat,
        linear-gradient(currentColor,currentColor) 45% 50% / 2px 42% no-repeat,
        linear-gradient(currentColor,currentColor) 54% 50% / 2px 66% no-repeat,
        linear-gradient(currentColor,currentColor) 63% 50% / 2px 34% no-repeat,
        linear-gradient(currentColor,currentColor) 72% 50% / 2px 58% no-repeat,
        linear-gradient(currentColor,currentColor) 81% 50% / 2px 24% no-repeat;
    filter: drop-shadow(0 0 8px currentColor);
}
.red-wavelet { color: var(--red); }
.blue-wavelet { color: var(--blue); }
.order-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 16px;
}
.order-tools button,
.order-tools label {
    min-height: 42px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
}
.order-tools button { min-width: 130px; padding: 0 18px; }
.order-tools label { display: flex; width: 250px; align-items: center; padding: 0 14px; }
.order-tools input {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    color: white;
    border: 0;
    outline: 0;
    background: transparent;
}
.order-poster {
    position: relative;
    overflow: hidden;
    width: 140px;
    height: 185px;
    border: 1px solid rgba(37,244,238,.42);
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(37,183,255,.1);
}
.order-poster img { width: 100%; height: 100%; object-fit: cover; }
.order-poster > i {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: white;
    border-radius: 50%;
    background: rgba(2,7,16,.42);
    font-size: 13px;
    font-style: normal;
    transform: translate(-50%,-50%);
    backdrop-filter: blur(7px);
}
.order-poster > small,
.poster-duration {
    position: absolute;
    bottom: 8px;
    left: 9px;
    z-index: 3;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 6px #000;
}
.rank-ribbon {
    position: absolute;
    top: 0;
    left: 7px;
    z-index: 3;
    display: grid;
    width: 30px;
    height: 40px;
    place-items: start center;
    padding-top: 4px;
    color: #fff6da;
    background: linear-gradient(145deg, #ffd772, #bd6e1d);
    clip-path: polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);
    font-family: Georgia,serif;
    font-size: 17px;
    font-weight: 800;
    text-shadow: 0 1px 2px #704010;
}
.poster-duration { display: none; font-size: 10px; }
.order-creator {
    display: flex;
    align-items: center;
    gap: 8px;
}
.order-creator small { display: grid; color: white; }
.order-creator small i { color: var(--cyan); font-style: normal; }
.order-creator small b { color: var(--muted); font-size: 10px; font-weight: 500; }
.order-versus {
    display: grid;
    grid-template-columns: 1fr 36px 1fr;
    align-items: center;
    margin: 7px 0 3px;
    text-align: center;
}
.order-versus::before,
.order-versus::after {
    grid-row: 1;
    height: 1px;
    content: "";
}
.order-versus::before { grid-column: 1 / 3; background: linear-gradient(90deg,transparent,var(--red),rgba(255,255,255,.8)); }
.order-versus::after { grid-column: 2 / 4; background: linear-gradient(90deg,rgba(255,255,255,.8),var(--blue),transparent); }
.order-versus b,
.order-versus i { z-index: 1; grid-row: 1; font-style: italic; }
.order-versus b:first-of-type { grid-column: 1; color: var(--red-2); }
.order-versus i { grid-column: 2; color: white; font-weight: 900; text-shadow: -2px 0 var(--red),2px 0 var(--blue); }
.order-versus b:last-of-type { grid-column: 3; color: #479fff; }
.order-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.order-foot time { color: var(--muted); font-size: 11px; }
.order-foot .order-status { position: static; }
.wallet-icon {
    display: grid;
    width: 92px;
    height: 76px;
    place-items: center;
    color: #ffd16e;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 40%,rgba(255,205,102,.28),transparent 48%),
        linear-gradient(145deg,rgba(254,44,85,.22),rgba(254,44,85,.04));
    font-size: 42px;
    text-shadow: 0 0 20px var(--red);
}
.wallet-balance { flex: 1; }
.level-card { position: relative; padding-right: 110px; }
.level-medal {
    position: absolute;
    top: 12px;
    right: 19px;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    align-content: center;
    color: #f7d383;
    border: 1px solid #dca741;
    background: linear-gradient(145deg,#30200b,#080704);
    clip-path: polygon(25% 5%,75% 5%,95% 25%,95% 75%,75% 95%,25% 95%,5% 75%,5% 25%);
    font-size: 9px;
    box-shadow: 0 0 24px rgba(232,178,71,.28);
}
.level-medal em { display: block; font-family: Georgia,serif; font-size: 34px; font-style: normal; line-height: .9; }

@media (min-width: 681px) {
    .mobile-carousel-heading,
    .mobile-carousel { display: none !important; }
}

@media (max-width: 680px) {
    :root {
        --bg: #020711;
        --panel: rgba(8,17,33,.91);
        --panel-2: rgba(10,23,43,.88);
        --line: rgba(131,176,235,.17);
        --text: #f7f9ff;
        --muted: #8f9aaf;
        --red: #ff2e59;
        --red-2: #ff5776;
        --blue: #168dff;
        --cyan: #1eeeff;
        --gold: #efc463;
        --green: #26dfb0;
        --shadow: 0 20px 55px rgba(0,0,0,.5);
        --radius: 16px;
    }

    html { background: #020711; }
    body {
        overflow-x: hidden;
        padding-bottom: 78px;
        background:
            radial-gradient(circle at -7% 15%,rgba(254,44,85,.12),transparent 26%),
            radial-gradient(circle at 107% 38%,rgba(22,141,255,.12),transparent 29%),
            linear-gradient(145deg,#01040a 0%,#050b16 52%,#020711 100%);
        font-size: 13px;
    }
    body::before {
        opacity: .32;
        background-image:
            linear-gradient(rgba(69,132,210,.025) 1px,transparent 1px),
            linear-gradient(90deg,rgba(69,132,210,.025) 1px,transparent 1px);
        background-size: 26px 26px;
    }
    .ambient { opacity: .12; filter: blur(100px); }

    .site-header {
        position: relative;
        top: auto;
        width: 100%;
        min-height: 61px;
        gap: 7px;
        padding: 10px 16px 8px;
    }
    .site-header::before {
        inset: 0;
        border: 0;
        background: linear-gradient(180deg,rgba(1,4,10,.97),rgba(1,4,10,.72));
    }
    .brand {
        gap: 5px;
        color: white;
        font-family: Inter,"Arial Black","PingFang SC",sans-serif;
        font-size: 24px;
        font-style: italic;
        font-weight: 900;
        letter-spacing: -.8px;
        white-space: nowrap;
    }
    .brand-note {
        width: 36px;
        height: 36px;
        color: white;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        font-family: inherit;
        font-size: 37px;
        text-shadow: -3px -1px 0 var(--cyan),3px 1px 0 var(--red),0 0 13px rgba(30,238,255,.3);
    }
    .brand-note::after { display: none; }
    .brand small {
        display: inline;
        margin-left: 1px;
        color: var(--cyan);
        font-family: "PingFang SC","Microsoft YaHei",sans-serif;
        font-size: 13px;
        font-style: normal;
        font-weight: 900;
        letter-spacing: -.6px;
    }
    .balance-pill,
    .login-pill {
        min-height: 40px;
        padding: 0 10px;
        border-color: rgba(236,199,116,.44);
        background: rgba(5,10,19,.76);
        box-shadow: inset 0 0 15px rgba(238,194,96,.045);
        font-size: 14px;
        white-space: nowrap;
    }
    .coin { width: 21px; height: 21px; font-size: 12px; }
    .balance-pill > b { font-size: 20px; }
    .guest-actions { gap: 5px; }
    .login-pill { min-width: 62px; justify-content: center; border-color: rgba(30,238,255,.32); }

    .site-main {
        width: calc(100% - 18px);
        padding: 0 0 16px;
    }
    .site-announcement { display: none; }
    .desktop-carousel { display: none !important; }
    .mobile-carousel { display: block; }
    .tiktok-carousel.home-inline-carousel {
        display: block;
        height: 132px;
        margin: 10px 2px 12px;
        border: 1px solid rgba(87,157,239,.2);
        border-radius: 16px;
        background: #040a14;
        box-shadow: 0 16px 38px rgba(0,0,0,.3);
    }
    .home-inline-carousel .carousel-controls { bottom: 7px; left: 13px; gap: 4px; }
    .home-inline-carousel .carousel-dots { gap: 3px; }
    .home-inline-carousel .carousel-dots button { width: 12px; height: 2px; }
    .home-inline-carousel .carousel-dots button.active { width: 24px; background: linear-gradient(90deg,var(--red),var(--cyan)); }
    .mobile-carousel-heading {
        display: flex;
        align-items: baseline;
        gap: 7px;
        margin: 16px 4px 8px;
    }
    .mobile-carousel-heading span {
        color: var(--cyan);
        font-size: 8px;
        font-weight: 900;
        letter-spacing: 1.2px;
    }
    .mobile-carousel-heading h2 { margin: 0; font-size: 18px; }
    .mobile-carousel-heading small { margin-left: auto; color: var(--muted); font-size: 9px; }

    /* 首页顶部红蓝主视觉 */
    .hero { display: block; min-height: 0; }
    .hero-copy { display: none; }
    .hero-arena {
        min-height: 202px;
        padding: 15px 13px 9px;
        border: 1px solid rgba(93,151,224,.16);
        border-radius: 18px;
        background:
            radial-gradient(circle at 50% 42%,rgba(238,187,82,.17),transparent 16%),
            radial-gradient(circle at 5% 46%,rgba(254,44,85,.18),transparent 36%),
            radial-gradient(circle at 95% 47%,rgba(21,143,255,.19),transparent 35%),
            linear-gradient(100deg,rgba(254,44,85,.075),rgba(2,7,16,.74) 47%,rgba(21,143,255,.075)),
            #040a14;
        box-shadow: inset 0 1px rgba(255,255,255,.025),0 20px 50px rgba(0,0,0,.27);
    }
    .hero-arena::before,
    .hero-arena::after {
        top: 91px;
        bottom: auto;
        width: 43%;
        height: 1px;
        filter: drop-shadow(0 0 7px currentColor);
    }
    .hero-arena::before { color: var(--red); background: linear-gradient(90deg,transparent,var(--red)); }
    .hero-arena::after { color: var(--blue); background: linear-gradient(90deg,var(--blue),transparent); }
    .arena-mobile-title {
        position: relative;
        z-index: 2;
        display: block;
        margin: 0 0 5px;
        color: #f8fbff;
        font-size: 25px;
        font-weight: 950;
        letter-spacing: 1px;
        text-align: center;
        line-height: 1.05;
        text-shadow: -2px 2px 0 rgba(254,44,85,.82),2px -1px 0 rgba(22,141,255,.68),0 0 18px rgba(255,255,255,.18);
    }
    .arena-mobile-title b { color: white; }
    .arena-seal { display: none; }
    .hero-arena > .wave {
        top: 47px;
        width: 100%;
        color: transparent;
        font-size: 0;
        letter-spacing: 0;
    }
    .hero-arena > .wave::before,
    .hero-arena > .wave::after {
        position: absolute;
        top: -3px;
        color: currentColor;
        content: "♫";
        font-size: 28px;
    }
    .hero-arena > .wave::before { left: 10px; color: var(--red); text-shadow: 0 0 14px var(--red); }
    .hero-arena > .wave::after { right: 10px; color: var(--cyan); text-shadow: 0 0 14px var(--blue); }
    .versus {
        z-index: 2;
        gap: 10px;
        margin-top: 12px;
    }
    .versus span {
        font-family: "Arial Black",Inter,sans-serif;
        font-size: 36px;
        font-style: italic;
        font-weight: 950;
        letter-spacing: -2px;
        line-height: 1;
    }
    .versus span:first-child { color: #ff3b5f; text-shadow: 0 0 18px rgba(254,44,85,.42); }
    .versus span:last-child { color: #268fff; text-shadow: 0 0 18px rgba(22,141,255,.42); }
    .versus b {
        width: 38px;
        height: 38px;
        color: #fff3cf;
        border: 0;
        background: radial-gradient(circle,#e9b84d 0 12%,rgba(234,176,62,.2) 35%,transparent 68%);
        box-shadow: none;
        font-size: 22px;
        font-style: italic;
        text-shadow: 0 0 10px #ffad2d;
    }
    .round-chip {
        z-index: 2;
        margin: 5px 0;
        padding: 2px 12px;
        color: #f4ce72;
        border: 1px solid transparent;
        border-radius: 999px;
        background:
            linear-gradient(#07101d,#07101d) padding-box,
            linear-gradient(90deg,var(--red),var(--cyan)) border-box;
        font-size: 11px;
    }
    .countdown {
        z-index: 2;
        width: 100%;
        grid-template-columns: 1fr 38px 1fr;
        padding: 4px;
        border: 1px solid rgba(66,149,247,.28);
        border-radius: 999px;
        background:
            linear-gradient(90deg,rgba(254,44,85,.2),rgba(3,9,18,.88) 48%,rgba(22,141,255,.2));
        box-shadow: inset 0 0 20px rgba(0,0,0,.2),0 0 14px rgba(41,123,230,.1);
    }
    .countdown span { color: #e6e9f0; font-size: 9px; line-height: 1.1; }
    .countdown strong { color: white; font-size: 23px; font-weight: 600; line-height: 1.15; }
    .countdown i {
        display: grid;
        width: 34px;
        height: 34px;
        place-items: center;
        color: white;
        border: 1px solid rgba(83,193,255,.44);
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%,rgba(254,44,85,.5),rgba(15,44,84,.9) 63%);
        box-shadow: 0 0 14px rgba(30,238,255,.2);
        font-size: 11px;
    }

    .quick-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 7px;
        margin: 9px 2px 0;
    }
    .quick-grid a {
        display: grid;
        grid-template-columns: 29px 1fr 8px;
        min-height: 55px;
        gap: 4px;
        padding: 6px 7px;
        border-color: rgba(126,174,233,.16);
        border-radius: 13px;
        background: linear-gradient(135deg,rgba(15,29,49,.88),rgba(5,12,23,.92));
        text-align: left;
    }
    .quick-grid a:first-child {
        border-color: rgba(254,44,85,.25);
        background: linear-gradient(135deg,rgba(94,23,44,.7),rgba(32,13,27,.84));
    }
    .quick-grid a:nth-child(2) { border-color: rgba(22,141,255,.23); }
    .quick-grid a > b {
        display: block;
        width: auto;
        height: auto;
        color: var(--red);
        border: 0;
        font-family: inherit;
        font-size: 21px;
        text-shadow: 0 0 12px currentColor;
    }
    .quick-grid a:nth-child(2) > b { color: var(--cyan); }
    .quick-grid a:nth-child(3) > b { color: var(--gold); }
    .quick-grid strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
    .quick-grid small { overflow: hidden; margin-top: 0; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
    .quick-grid i { display: block; color: #a8b3c2; font-size: 16px; }

    /* 手机轮播保留后台四张内容，但缩成设计体系内的信息卡 */
    .tiktok-carousel.mobile-carousel {
        height: 132px;
        margin: 0 2px 11px;
        border: 1px solid rgba(87,157,239,.2);
        border-radius: 16px;
        background: #040a14;
        box-shadow: 0 16px 38px rgba(0,0,0,.3);
    }
    .mobile-carousel .carousel-shade {
        background:
            linear-gradient(90deg,rgba(3,7,14,.94),rgba(3,7,14,.72) 55%,rgba(3,7,14,.17)),
            linear-gradient(180deg,transparent,rgba(2,7,15,.45));
    }
    .mobile-carousel .carousel-content {
        top: 50%;
        right: 52px;
        bottom: auto;
        left: 13px;
        width: auto;
        transform: translateY(-50%);
    }
    .mobile-carousel .carousel-content > span {
        padding: 3px 6px;
        color: #dffbff;
        border-color: rgba(30,238,255,.3);
        background: rgba(22,141,255,.13);
        font-size: 6px;
    }
    .mobile-carousel .carousel-content h2 {
        margin: 5px 0 2px;
        font-family: inherit;
        font-size: 16px;
        font-weight: 850;
        letter-spacing: -.4px;
    }
    .mobile-carousel .carousel-content p {
        max-width: 240px;
        margin: 0 0 6px;
        font-size: 8px;
    }
    .mobile-carousel .carousel-content a {
        min-height: 25px;
        padding: 0 8px;
        color: #d8f8ff;
        border-color: rgba(30,238,255,.2);
        border-radius: 7px;
        background: rgba(4,14,27,.66);
        font-size: 7px;
    }
    .mobile-carousel .carousel-controls { bottom: 7px; left: 13px; gap: 4px; }
    .mobile-carousel .carousel-dots { gap: 3px; }
    .mobile-carousel .carousel-dots button { width: 12px; height: 2px; }
    .mobile-carousel .carousel-dots button.active { width: 24px; background: linear-gradient(90deg,var(--red),var(--cyan)); }
    .mobile-carousel .carousel-index { right: 10px; bottom: 7px; font-size: 8px; }

    .section { margin: 10px 0 0; }
    .section-heading { display: none; }
    .section-heading .eyebrow { display: none; }
    .section-heading h2 { margin: 0; font-size: 18px; }
    .section-heading > a { font-size: 10px; }
    .home-events { grid-template-columns: 1fr; gap: 8px; }

    /* 首页竖向榜单卡 */
    .event-card.compact {
        height: 176px;
        min-height: 176px;
        border-color: rgba(109,160,225,.18);
        border-radius: 15px;
        background:
            radial-gradient(circle at 10% 20%,rgba(254,44,85,.08),transparent 30%),
            radial-gradient(circle at 96% 80%,rgba(22,141,255,.075),transparent 33%),
            linear-gradient(145deg,rgba(10,19,35,.96),rgba(4,10,20,.97));
        box-shadow: inset 0 1px rgba(255,255,255,.025),0 12px 30px rgba(0,0,0,.22);
    }
    .event-card.compact .event-body {
        display: grid;
        grid-template-columns: 112px minmax(0,1fr);
        gap: 11px;
        height: 176px;
        padding: 8px;
    }
    .event-card.compact .poster {
        width: 112px;
        height: 158px;
        min-height: 158px;
        border: 1px solid rgba(30,238,255,.65);
        border-radius: 13px;
        box-shadow: 0 0 13px rgba(30,238,255,.22),inset 0 0 12px rgba(254,44,85,.08);
    }
    .event-card.compact:nth-child(1) .poster { border-color: rgba(255,56,92,.75); box-shadow: 0 0 13px rgba(254,44,85,.28); }
    .event-card.compact:nth-child(3) .poster { border-color: rgba(211,62,255,.68); box-shadow: 0 0 13px rgba(211,62,255,.23); }
    .event-card.compact .poster-duration { display: none; }
    .event-card.compact .play {
        width: 37px;
        height: 37px;
        color: white;
        border: 0;
        background: rgba(3,9,18,.4);
        box-shadow: none;
        font-size: 12px;
    }
    .event-card.compact .event-info {
        min-width: 0;
        padding: 3px 1px 1px;
    }
    .event-card.compact .creator {
        position: static;
        grid-template-columns: 34px 1fr auto;
        gap: 6px;
        margin: 0;
    }
    .event-card.compact .avatar { width: 34px; height: 34px; }
    .event-card.compact .creator strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
    .event-card.compact .creator small { font-size: 7px; }
    .event-card.compact .creator-link { display: none; }
    .event-card.compact .music-note { font-size: 19px; }
    .event-card.compact .event-info h3 {
        overflow: hidden;
        margin: 7px 0 1px;
        font-size: 16px;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .event-card.compact .event-info > p {
        overflow: hidden;
        min-height: 16px;
        margin: 0 0 8px;
        font-size: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .support-meter {
        position: relative;
        display: flex;
        overflow: visible;
        height: 13px;
        align-items: center;
        margin-top: 2px;
        border-radius: 4px;
        background: rgba(255,255,255,.06);
    }
    .support-meter > span { position: relative; height: 100%; }
    .support-meter > span b {
        position: absolute;
        top: -2px;
        color: white;
        font-size: 9px;
        line-height: 13px;
    }
    .red-meter { border-radius: 4px 0 0 4px; background: linear-gradient(90deg,#c9183d,#ff3159); box-shadow: 0 0 10px rgba(254,44,85,.35); }
    .red-meter b { left: 5px; }
    .blue-meter { border-radius: 0 4px 4px 0; background: linear-gradient(90deg,#1267db,#249bff); box-shadow: 0 0 10px rgba(22,141,255,.35); }
    .blue-meter b { right: 5px; }
    .support-meter i {
        position: absolute;
        left: 50%;
        z-index: 2;
        color: white;
        font-size: 12px;
        font-style: italic;
        font-weight: 950;
        text-shadow: -2px 0 var(--red),2px 0 var(--blue);
        transform: translateX(-50%);
    }
    .compact-support {
        display: flex;
        justify-content: space-between;
        margin-top: 4px;
        font-size: 7px;
    }
    .compact-support span { color: var(--red-2); }
    .compact-support span:last-child { color: #4ba9ff; text-align: right; }
    .compact-support b { display: block; font-size: 9px; font-weight: 600; }
    .event-card.compact .social-row {
        gap: 13px;
        margin-top: 5px;
        font-size: 8px;
    }
    .event-card.compact .tiktok-source { margin-left: 0; font-size: 0; }
    .event-card.compact .tiktok-source::after { content: "分享"; font-size: 8px; }

    /* 首页全部分类房间：复用投注大厅房间卡片，不再使用首页紧凑卡片。 */
    .home-all-rooms { margin-top: 16px; }
    .home-all-rooms > .section-heading { margin-bottom: 12px; }
    .home-all-rooms > .section-heading h2 { font-size: 22px; }
    .home-room-category + .home-room-category { margin-top: 20px; padding-top: 18px; }
    .home-category-heading { gap: 9px; margin: 0 2px 8px; }
    .home-category-heading > div { gap: 1px 7px; }
    .home-category-heading > div > span { font-size: 20px; }
    .home-category-heading h3 { font-size: 16px; }
    .home-category-heading small { font-size: 8px; }
    .home-category-heading > a { font-size: 9px; }

    /* 投注大厅 */
    .lobby-stage.page-hero {
        position: relative;
        display: block;
        overflow: hidden;
        min-height: 158px;
        margin: 0 0 6px;
        padding: 11px 13px 9px;
        border: 1px solid rgba(76,143,225,.16);
        border-radius: 18px;
        background:
            radial-gradient(circle at 2% 34%,rgba(254,44,85,.17),transparent 34%),
            radial-gradient(circle at 98% 35%,rgba(22,141,255,.18),transparent 35%),
            linear-gradient(100deg,rgba(254,44,85,.06),rgba(3,9,18,.8) 48%,rgba(22,141,255,.06));
        box-shadow: 0 15px 38px rgba(0,0,0,.25);
        text-align: center;
    }
    .lobby-stage::before,
    .lobby-stage::after {
        position: absolute;
        top: 76px;
        width: 43%;
        height: 1px;
        content: "";
    }
    .lobby-stage::before { left: 0; background: linear-gradient(90deg,transparent,var(--red)); box-shadow: 0 0 8px var(--red); }
    .lobby-stage::after { right: 0; background: linear-gradient(90deg,var(--blue),transparent); box-shadow: 0 0 8px var(--blue); }
    .lobby-title .eyebrow,
    .lobby-title p { display: none; }
    .lobby-stage h1 {
        margin: 0 0 2px;
        font-size: 30px;
        font-weight: 950;
        letter-spacing: 2px;
        text-shadow: -2px 1px var(--red),2px -1px var(--blue);
    }
    .lobby-stage h1::before,
    .lobby-stage h1::after {
        display: inline-block;
        margin: 0 13px;
        content: "♫";
        font-size: 22px;
        vertical-align: 3px;
    }
    .lobby-stage h1::before { color: var(--red); text-shadow: 0 0 12px currentColor; }
    .lobby-stage h1::after { color: var(--cyan); text-shadow: 0 0 12px currentColor; }
    .mini-countdown {
        width: 100%;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
    }
    .mini-countdown > span {
        display: inline-flex;
        margin: 0 0 6px;
        padding: 2px 10px;
        color: #f2cd6f;
        border: 1px solid transparent;
        border-radius: 999px;
        background:
            linear-gradient(#07101d,#07101d) padding-box,
            linear-gradient(90deg,var(--red),var(--cyan)) border-box;
        font-size: 10px;
    }
    .mini-countdown > .draw-countdown-row {
        grid-template-columns: 1fr 44px 1fr;
        min-height: 66px;
        margin-top: 0;
        padding: 4px 8px;
        border: 1px solid rgba(71,151,244,.28);
        border-radius: 999px;
        background: linear-gradient(90deg,rgba(254,44,85,.21),rgba(3,9,18,.87) 48%,rgba(22,141,255,.2));
    }
    .mini-countdown .count-side { display: grid; }
    .mini-countdown .count-side small { color: #e2e6ee; font-size: 10px; }
    .mini-countdown .draw-countdown-row b { font-size: 28px; font-weight: 600; }
    .mini-countdown .red-count b,
    .mini-countdown .blue-count b { color: white; }
    .mini-countdown .draw-countdown-row > i {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        color: white;
        border: 1px solid rgba(63,190,255,.45);
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%,rgba(254,44,85,.5),rgba(12,51,100,.85));
        box-shadow: 0 0 18px rgba(30,238,255,.18);
        font-size: 14px;
    }
    .fair-play {
        margin: 0 0 7px;
        color: #8c98aa;
        font-size: 10px;
    }
    .filter-bar { display: none; }
    .event-list { grid-template-columns: 1fr; gap: 8px; }
    .event-list .event-card {
        border-color: rgba(101,158,227,.2);
        border-radius: 15px;
        background: linear-gradient(145deg,rgba(10,20,37,.97),rgba(4,10,20,.98));
        box-shadow: inset 0 1px rgba(255,255,255,.025),0 13px 32px rgba(0,0,0,.24);
    }
    .event-list .vip-line {
        min-height: 31px;
        padding: 4px 11px;
        color: #f0c86e;
        border-bottom-color: rgba(239,196,99,.16);
        font-size: 9px;
    }
    .event-list .vip {
        color: #f4ca6b;
        font-family: Inter,sans-serif;
        font-size: 18px;
        font-weight: 950;
        text-shadow: 0 0 11px rgba(239,196,99,.26);
    }
    .event-list .event-body {
        grid-template-columns: 98px minmax(0,1fr);
        gap: 9px;
        padding: 8px;
    }
    .event-list .poster {
        width: 98px;
        min-height: 148px;
        border-color: rgba(30,238,255,.6);
        border-radius: 11px;
        box-shadow: 0 0 12px rgba(30,238,255,.18);
    }
    .event-list .poster-duration { display: none; }
    .event-list .play {
        width: 35px;
        height: 35px;
        color: white;
        border: 0;
        background: rgba(3,9,18,.4);
        box-shadow: none;
        font-size: 11px;
    }
    .event-list .creator { grid-template-columns: 33px 1fr auto; gap: 6px; }
    .event-list .avatar { width: 33px; height: 33px; }
    .event-list .creator strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
    .event-list .creator small { font-size: 7px; }
    .event-list .creator-link { display: none; }
    .event-list .music-note { font-size: 20px; }
    .event-list .event-info h3 { margin: 6px 0 1px; font-size: 15px; }
    .event-list .event-info > p {
        min-height: 13px;
        margin: 0 0 6px;
        font-size: 8px;
    }
    .event-list .odds {
        grid-template-columns: 1fr 34px 1fr;
        border-color: rgba(57,150,255,.48);
        border-radius: 9px;
        background: linear-gradient(90deg,rgba(254,44,85,.2),rgba(3,9,18,.88) 50%,rgba(22,141,255,.2));
    }
    .event-list .odds div { padding: 4px 2px; }
    .event-list .odds div span { font-size: 7px; }
    .event-list .odds strong { font-size: 18px; }
    .event-list .odds b {
        color: #ffd070;
        font-size: 15px;
        text-shadow: 0 0 10px rgba(255,180,46,.48);
    }
    .event-list .side-actions { gap: 9px; margin-top: 7px; }
    .event-list .bet-button {
        min-height: 36px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 850;
    }
    .event-list .bet-button.red {
        border-color: #ff5273;
        background: linear-gradient(180deg,#f94366,#a51135);
        box-shadow: inset 0 1px rgba(255,255,255,.25),0 0 13px rgba(254,44,85,.35);
    }
    .event-list .bet-button.blue {
        border-color: #3bb4ff;
        background: linear-gradient(180deg,#209bff,#0757bb);
        box-shadow: inset 0 1px rgba(255,255,255,.24),0 0 13px rgba(22,141,255,.34);
    }
    .event-list .social-row { gap: 14px; margin-top: 5px; font-size: 8px; }
    .event-list .tiktok-source { margin-left: auto; font-size: 0; }
    .event-list .tiktok-source::after { content: "分享"; font-size: 8px; }

    /* 注单页 */
    .orders-title {
        min-height: 64px;
        gap: 8px;
        margin-top: 1px;
    }
    .orders-title h1 {
        font-size: 29px;
        letter-spacing: 1px;
        text-shadow: -2px 1px var(--red),2px -1px var(--blue);
    }
    .orders-title > b { font-size: 23px; }
    .order-wave { width: 52px; height: 27px; }
    .tabs {
        overflow: hidden;
        min-height: 39px;
        gap: 0;
        margin: 0 2px 7px;
        padding: 0;
        border: 1px solid rgba(108,160,225,.2);
        border-radius: 15px;
        background: rgba(7,15,29,.78);
    }
    .tabs button {
        min-height: 39px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 12px;
    }
    .tabs button + button { border-left: 1px solid rgba(255,255,255,.035); }
    .tabs button.active {
        color: white;
        border: 1px solid rgba(254,44,85,.7);
        border-radius: 14px;
        background: linear-gradient(100deg,rgba(254,44,85,.22),rgba(254,44,85,.06));
        box-shadow: inset 0 0 16px rgba(254,44,85,.1);
    }
    .stats-card {
        width: auto;
        min-width: 0;
        margin: 0 2px 7px;
        border-color: rgba(101,157,225,.18);
        border-radius: 15px;
        background: linear-gradient(145deg,rgba(11,20,36,.92),rgba(5,12,23,.92));
    }
    .stats-card div { padding: 9px 3px; }
    .stats-card span { font-size: 8px; }
    .stats-card strong { margin-top: 2px; font-size: 18px; }
    .stats-card div:nth-child(2) strong { color: var(--red-2); }
    .stats-card .blue-text { color: #4faaff !important; }
    .order-tools { margin: 0 3px 7px; }
    .order-tools button,
    .order-tools label { min-height: 32px; font-size: 10px; }
    .order-tools button { min-width: 86px; padding: 0 12px; }
    .order-tools label { width: 148px; padding: 0 10px; }
    .order-tools input { font-size: 10px; }
    .order-list { gap: 7px; }
    .order-card {
        grid-template-columns: 112px minmax(0,1fr);
        gap: 10px;
        min-height: 196px;
        padding: 7px;
        border-color: rgba(100,157,226,.2);
        border-radius: 15px;
        background:
            radial-gradient(circle at 0 0,rgba(254,44,85,.075),transparent 28%),
            radial-gradient(circle at 100% 100%,rgba(22,141,255,.07),transparent 30%),
            linear-gradient(145deg,rgba(9,19,36,.97),rgba(4,10,20,.98));
        box-shadow: inset 0 1px rgba(255,255,255,.025);
    }
    .order-poster {
        width: 112px;
        height: 156px;
        border-radius: 12px;
    }
    .order-poster > i { width: 36px; height: 36px; }
    .order-poster > small { bottom: 7px; left: 8px; font-size: 9px; }
    .order-main { min-width: 0; }
    .order-creator { gap: 6px; }
    .order-creator .avatar { width: 33px; height: 33px; }
    .order-creator small { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
    .order-creator small b { font-size: 7px; }
    .order-main h3 {
        overflow: hidden;
        max-width: 100%;
        margin: 5px 0 1px;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .order-main p {
        overflow: hidden;
        margin: 0 0 2px;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .order-versus { grid-template-columns: 1fr 30px 1fr; margin: 3px 0 1px; font-size: 10px; }
    .order-data { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; }
    .order-data span {
        display: block !important;
        overflow: hidden;
        padding: 3px 2px;
        border-left: 1px solid var(--line);
        font-size: 6px;
        text-align: center;
    }
    .order-data b {
        overflow: hidden;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .order-foot {
        position: absolute;
        right: 0;
        bottom: -35px;
        left: -122px;
        min-height: 31px;
        margin: 0;
        padding: 6px 2px 0;
    }
    .order-foot time { font-size: 8px; }
    .order-foot .order-status {
        padding: 3px 10px;
        font-size: 8px;
    }
    .order-card { margin-bottom: 0; padding-bottom: 39px; }

    /* 个人中心 */
    .profile-heading {
        display: flex;
        min-height: 70px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 3px 0 0;
    }
    .profile-heading .eyebrow { display: none; }
    .profile-heading h1 {
        margin: 0;
        font-size: 29px;
        letter-spacing: 2px;
        text-shadow: -2px 1px var(--red),2px -1px var(--blue);
    }
    .profile-heading > b { font-size: 22px; }
    .profile-wave { width: 52px; height: 27px; }
    .profile-card {
        grid-template-columns: 122px minmax(0,1fr);
        gap: 12px;
        min-height: 170px;
        padding: 12px 10px;
        border: 1px solid transparent;
        border-radius: 18px;
        background:
            linear-gradient(145deg,rgba(9,18,34,.97),rgba(4,10,20,.98)) padding-box,
            linear-gradient(110deg,var(--red),rgba(255,255,255,.08) 47%,var(--cyan)) border-box;
        box-shadow: 0 14px 35px rgba(0,0,0,.25);
    }
    .profile-avatar {
        width: 122px;
        height: 122px;
        padding: 3px;
        box-shadow: 0 0 18px rgba(254,44,85,.27),0 0 26px rgba(22,141,255,.16);
    }
    .profile-avatar img { border-width: 3px; }
    .profile-avatar span {
        right: -2px;
        bottom: 5px;
        width: 37px;
        height: 37px;
        border-color: var(--cyan);
        background: #071223;
        font-size: 18px;
        text-shadow: 2px 1px var(--red);
    }
    .profile-copy h2 {
        margin: 0 0 7px;
        font-size: 19px;
        white-space: nowrap;
    }
    .profile-copy h2 i { color: var(--cyan); }
    .vip-badge {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 8px;
        color: #f5cc70;
        border-color: rgba(239,196,99,.28);
        background: linear-gradient(90deg,rgba(239,196,99,.14),rgba(239,196,99,.03));
        font-size: 10px;
    }
    .vip-badge::before { content: "VIP"; margin-right: 5px; color: #ffd97d; font-family: Georgia,serif; font-size: 13px; }
    .vip-badge::after { content: "›"; margin-left: auto; color: white; font-size: 18px; }
    .profile-copy > small { margin: 7px 0; font-size: 8px; }
    .creator-stats { justify-content: space-between; gap: 5px; }
    .creator-stats span { min-width: 0; font-size: 8px; }
    .creator-stats b { font-size: 15px; }

    .wallet-card {
        display: grid;
        grid-template-columns: 68px 1fr;
        gap: 6px 9px;
        margin: 8px 0;
        padding: 11px 10px 9px;
        border-color: rgba(105,158,224,.18);
        border-radius: 17px;
        background:
            radial-gradient(circle at 5% 45%,rgba(254,44,85,.09),transparent 27%),
            linear-gradient(145deg,rgba(10,19,35,.96),rgba(4,10,20,.97));
    }
    .wallet-icon { width: 68px; height: 63px; border-radius: 17px; font-size: 31px; }
    .wallet-balance span { font-size: 10px; }
    .wallet-card strong { margin-top: 1px; font-size: 30px; }
    .wallet-actions {
        display: grid;
        grid-column: 1 / 3;
        grid-template-columns: repeat(3,1fr);
        gap: 7px;
    }
    .wallet-actions button {
        min-width: 0;
        min-height: 34px;
        color: white;
        border-color: rgba(45,156,255,.7);
        border-radius: 999px;
        background: linear-gradient(180deg,rgba(28,133,255,.36),rgba(9,62,146,.55));
        font-size: 11px;
    }
    .wallet-actions button:first-child {
        border-color: rgba(255,73,106,.76);
        background: linear-gradient(180deg,rgba(254,44,85,.55),rgba(142,16,49,.58));
    }
    .wallet-actions button:last-child {
        border-color: rgba(30,238,255,.55);
        background: linear-gradient(180deg,rgba(15,176,207,.27),rgba(9,74,116,.55));
    }
    .feature-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 7px;
    }
    .feature-grid button {
        position: relative;
        display: flex;
        min-height: 100px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 1px;
        padding: 8px;
        border-color: rgba(101,158,225,.18);
        border-radius: 14px;
        background: linear-gradient(145deg,rgba(11,21,38,.96),rgba(4,10,20,.97));
    }
    .feature-grid button:nth-child(3n+1) {
        background: linear-gradient(145deg,rgba(58,20,44,.75),rgba(12,12,25,.96));
    }
    .feature-grid i {
        position: absolute;
        top: 10px;
        left: 9px;
        color: var(--red-2);
        font-size: 26px;
        text-shadow: 0 0 12px currentColor;
    }
    .feature-grid button:nth-child(3n+2) i { color: var(--cyan); }
    .feature-grid button:nth-child(3n) i { color: var(--gold); }
    .feature-grid b { font-size: 11px; }
    .feature-grid small { font-size: 7px; }
    .feature-grid button::after {
        position: absolute;
        top: 8px;
        right: 8px;
        color: #a3acba;
        content: "›";
        font-size: 18px;
    }
    .level-card {
        min-height: 78px;
        margin: 8px 0;
        padding: 11px 78px 10px 12px;
        border-color: rgba(101,158,225,.2);
        border-radius: 15px;
        background: linear-gradient(145deg,rgba(10,20,37,.96),rgba(4,10,20,.97));
    }
    .level-card > div:first-child { font-size: 10px; }
    .level-card strong { color: #62c8ff; font-size: 17px; }
    .level-card .progress { height: 6px; margin: 7px 0; }
    .level-card small { font-size: 7px; }
    .level-medal { top: 6px; right: 8px; width: 64px; height: 64px; }
    .level-medal em { font-size: 29px; }
    .profile-actions {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }
    .profile-actions button,
    .profile-actions a {
        min-height: 43px;
        border-color: rgba(101,158,225,.19);
        border-radius: 13px;
        background: linear-gradient(145deg,rgba(10,20,37,.94),rgba(4,10,20,.96));
        font-size: 11px;
    }
    .profile-actions a { grid-column: 1 / 3; }

    /* 底部悬浮导航 */
    .responsible {
        width: calc(100% - 18px);
        margin: 10px auto 5px;
        padding: 8px 6px;
        color: #8f9bac;
        border: 1px solid rgba(103,158,224,.16);
        border-radius: 13px;
        background: linear-gradient(90deg,rgba(254,44,85,.055),rgba(5,12,23,.84),rgba(22,141,255,.055));
        font-size: 8px;
    }
    .responsible span { color: #d4dce7; }
    .responsible a { color: var(--cyan); }
    .mobile-nav {
        right: 3px;
        bottom: 3px;
        left: 3px;
        grid-template-columns: repeat(4,1fr);
        min-height: 65px;
        padding: 5px 5px max(5px,env(safe-area-inset-bottom));
        border: 1px solid rgba(106,161,229,.27);
        border-radius: 22px;
        background: rgba(4,10,20,.94);
        box-shadow: 0 -9px 28px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.03);
        backdrop-filter: blur(20px);
    }
    .mobile-nav a {
        min-height: 50px;
        gap: 1px;
        color: #a0a8b5;
        font-size: 10px;
        text-shadow: none;
    }
    .mobile-nav i { display: grid; width: 25px; height: 25px; place-items: center; }
    .mobile-nav svg {
        width: 23px;
        height: 23px;
        overflow: visible;
        fill: none;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.8;
    }
    .mobile-nav a.active {
        color: white;
        text-shadow: none;
    }
    .mobile-nav a.active i {
        color: #ff7990;
        filter: drop-shadow(0 0 7px var(--red));
    }
    .mobile-nav a.active::after {
        bottom: -1px;
        width: 29px;
        height: 3px;
        background: linear-gradient(90deg,var(--red),#ff99aa);
        box-shadow: 0 0 8px var(--red);
    }
    .mobile-nav a:nth-child(2).active i { color: #ffc7d1; }
    .mobile-nav a:nth-child(3).active i { color: #ff8fa4; }
    .mobile-nav a:nth-child(4).active i { color: #ff8fa4; }

    /* 登录 / 注册也使用同一套手机视觉 */
    body[data-page="login"] .mobile-nav,
    body[data-page="register"] .mobile-nav,
    body[data-page="login"] .responsible,
    body[data-page="register"] .responsible { display: none; }
    body[data-page="login"],
    body[data-page="register"] { padding-bottom: 0; }
    body[data-page="login"] .site-main,
    body[data-page="register"] .site-main { width: calc(100% - 24px); }
    .auth-shell,
    .register-shell {
        overflow: visible;
        min-height: 0;
        border: 1px solid transparent;
        border-radius: 20px;
        background:
            linear-gradient(145deg,rgba(9,18,34,.98),rgba(3,9,18,.99)) padding-box,
            linear-gradient(135deg,rgba(254,44,85,.75),rgba(255,255,255,.04) 50%,rgba(30,238,255,.75)) border-box;
        box-shadow: 0 20px 55px rgba(0,0,0,.42);
    }
    .auth-showcase,
    .register-showcase { display: none; }
    .auth-panel,
    .register-panel {
        padding: 23px 18px;
        border-radius: 20px;
        background:
            radial-gradient(circle at 0 0,rgba(254,44,85,.1),transparent 31%),
            radial-gradient(circle at 100% 100%,rgba(22,141,255,.1),transparent 33%),
            rgba(4,11,22,.97);
    }
    .auth-logo { margin-bottom: 13px; }
    .auth-logo .brand-note {
        width: 39px;
        height: 39px;
        font-size: 39px;
    }
    .auth-logo b { font-size: 24px; }
    .auth-panel .eyebrow { color: var(--cyan); }
    .auth-panel h1 { margin-top: 5px; font-size: 28px; }
    .input-wrap input {
        min-height: 47px;
        color: white;
        border-color: rgba(114,171,239,.2);
        background: rgba(8,20,38,.72);
    }
    .input-wrap input:focus {
        border-color: var(--cyan);
        box-shadow: 0 0 0 3px rgba(30,238,255,.07),0 0 16px rgba(30,238,255,.08);
    }
    .auth-submit {
        color: white;
        border: 1px solid rgba(255,99,126,.78);
        background: linear-gradient(100deg,#df1b48,#f43c66 46%,#116ed7);
        box-shadow: 0 10px 26px rgba(254,44,85,.23);
    }
    .auth-switch a { color: var(--cyan); }
    .agreement { font-size: 9px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }

    .order-poster > i,
    .order-poster > small,
    .order-poster > .rank-ribbon { display: none; }

    .event-card.hotspot-pending .poster-hotspot-state {
        top: 6px;
        right: 6px;
        padding: 3px 6px;
        font-size: 7px;
    }
    .event-card.compact.hotspot-pending .hotspot-pending-panel {
        min-height: 64px;
        margin-top: 5px;
        padding: 7px 8px;
        gap: 2px;
        border-radius: 9px;
    }
    .event-card.compact.hotspot-pending .hotspot-pending-panel b { font-size: 10px; }
    .event-card.compact.hotspot-pending .hotspot-pending-panel span {
        display: -webkit-box;
        overflow: hidden;
        font-size: 8px;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .event-card.compact.hotspot-pending .hotspot-pending-panel small { display: none; }
    .event-list .event-card.hotspot-pending .hotspot-pending-panel {
        min-height: 70px;
        padding: 8px;
    }
    .event-list .event-card.hotspot-pending .hotspot-pending-panel b { font-size: 10px; }
    .event-list .event-card.hotspot-pending .hotspot-pending-panel span { font-size: 8px; line-height: 1.35; }
    .event-list .event-card.hotspot-pending .hotspot-pending-panel small { display: none; }

    .bet-modal { padding: 12px; }
    .modal-panel {
        border: 1px solid transparent;
        border-radius: 19px;
        background:
            linear-gradient(145deg,#0b182c,#040b16) padding-box,
            linear-gradient(135deg,var(--red),var(--cyan)) border-box;
    }
    .modal-panel .primary-button {
        color: white;
        border-color: rgba(255,255,255,.15);
        background: linear-gradient(100deg,var(--red),#dc2d70 48%,var(--blue));
    }
}

@media (max-width: 374px) {
    .site-header { padding-right: 10px; padding-left: 10px; }
    .brand { font-size: 21px; }
    .brand-note { width: 31px; font-size: 32px; }
    .brand small { font-size: 11px; }
    .balance-pill { padding: 0 8px; font-size: 12px; }
    .versus span { font-size: 33px; }
    .quick-grid strong { font-size: 10px; }
    .event-card.compact .event-body { grid-template-columns: 102px minmax(0,1fr); gap: 8px; }
    .event-card.compact .poster { width: 102px; }
    .event-list .event-body { grid-template-columns: 91px minmax(0,1fr); gap: 7px; }
    .event-list .poster { width: 91px; }
    .order-card { grid-template-columns: 102px minmax(0,1fr); }
    .order-poster { width: 102px; }
    .order-foot { left: -112px; }
    .profile-card { grid-template-columns: 108px minmax(0,1fr); }
    .profile-avatar { width: 108px; height: 108px; }
}

/* 开奖记录：午夜黑金玻璃风，移动端优先 */
.filter-bar a{min-height:40px;padding:0 17px;color:#8996aa;border:1px solid rgba(103,158,224,.15);border-radius:999px;background:rgba(8,17,32,.72);font-size:12px;font-weight:700;line-height:38px}.filter-bar a.active{color:#fff;border-color:rgba(37,244,238,.26);background:linear-gradient(100deg,rgba(254,44,85,.17),rgba(37,169,255,.14))}.filter-bar .result-link{margin-left:auto;color:#e8c477}.event-times{display:flex;gap:12px;margin:6px 0;color:#728299;font-size:9px}
.results-hero{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:22px 0 14px;padding:24px;border:1px solid rgba(232,196,119,.2);border-radius:22px;background:radial-gradient(circle at 12% 0,rgba(254,44,85,.13),transparent 38%),radial-gradient(circle at 92% 100%,rgba(37,169,255,.13),transparent 38%),rgba(6,13,25,.88);box-shadow:0 20px 60px rgba(0,0,0,.3)}.results-hero h1{margin:5px 0;font-size:32px}.results-hero p{margin:0;color:#8996aa}.results-hero>a{color:#25f4ee;font-size:12px}.draw-list{display:grid;gap:10px;margin-bottom:30px}.draw-row{display:grid;grid-template-columns:150px minmax(0,1fr) 130px;align-items:center;gap:18px;padding:15px 18px;border:1px solid rgba(103,158,224,.16);border-radius:18px;background:linear-gradient(120deg,rgba(12,24,43,.92),rgba(4,10,20,.96));box-shadow:0 12px 35px rgba(0,0,0,.2)}.draw-row.current{border-color:rgba(232,196,119,.38);background:linear-gradient(120deg,rgba(55,25,22,.64),rgba(5,14,28,.98));box-shadow:inset 0 0 25px rgba(232,196,119,.04),0 12px 35px rgba(0,0,0,.25)}.draw-round span,.draw-round strong,.draw-round small{display:block}.draw-round span{width:max-content;margin-bottom:5px;padding:3px 7px;border-radius:999px;color:#e8c477;background:rgba(232,196,119,.1);font-size:9px}.draw-round strong{font-size:16px}.draw-round small{margin-top:4px;color:#74839a;font-size:9px}.draw-info h2{overflow:hidden;margin:0 0 10px;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.draw-sides{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center}.draw-sides>span{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:9px;font-size:10px}.draw-sides .red{color:#ff93a7;background:rgba(254,44,85,.1)}.draw-sides .blue{color:#85d7ff;background:rgba(37,169,255,.1)}.draw-sides .won{outline:1px solid currentColor;box-shadow:0 0 14px currentColor}.draw-sides i{color:#fff;font-size:9px;font-style:normal;text-align:center}.draw-result{text-align:right}.draw-result small,.draw-result strong,.draw-result span{display:block}.draw-result small{color:#75839a;font-size:8px}.draw-result strong{margin:3px 0;font-size:17px}.draw-result span{color:#9ba7b8;font-size:9px}.draw-result.red strong{color:#fe5575}.draw-result.blue strong{color:#35b8ff}.draw-result.pending strong{color:#e8c477}

@media (max-width: 700px){
    .filter-bar{display:flex;overflow-x:auto;justify-content:flex-start}.filter-bar a{flex:0 0 auto;min-height:0;padding:7px 10px;border-radius:999px;color:#8996aa;font-size:10px;line-height:1}.filter-bar a.active{color:#fff;background:linear-gradient(100deg,rgba(254,44,85,.22),rgba(37,169,255,.18))}.filter-bar .result-link{margin-left:0;color:#e8c477}
    .event-times{display:flex;gap:9px;margin:4px 0;color:#6f8199;font-size:8px}
    .results-hero{align-items:flex-start;margin:12px 0 10px;padding:17px;border-radius:17px}.results-hero h1{font-size:25px}.results-hero p{font-size:9px}.results-hero>a{font-size:9px;white-space:nowrap}
    .draw-list{gap:7px}.draw-row{grid-template-columns:72px minmax(0,1fr) 59px;gap:7px;padding:10px 9px;border-radius:13px}.draw-round span{font-size:7px}.draw-round strong{font-size:11px}.draw-round small{font-size:7px}.draw-info h2{margin-bottom:7px;font-size:10px}.draw-sides{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)}.draw-sides>span{display:grid;gap:2px;padding:5px 6px;font-size:8px;white-space:nowrap}.draw-sides>span b{font-size:7px}.draw-sides i{font-size:7px}.draw-result small{font-size:6px}.draw-result strong{font-size:11px}.draw-result span{font-size:7px}
}

/* V12 personal center overrides */
@media (max-width: 700px) {
    .profile-card.simple-profile-card { grid-template-columns: 100px minmax(0,1fr); gap: 14px; min-height: 0; padding: 15px 12px; }
    .profile-card.simple-profile-card .profile-avatar { width: 96px; height: 96px; }
    .profile-card.simple-profile-card .profile-avatar span { width: 32px; height: 32px; font-size: 15px; }
    .profile-card.simple-profile-card .profile-copy h2 { display: flex; margin-bottom: 7px; font-size: 18px; white-space: normal; }
    .profile-wallet-card { display: flex; }
    .profile-feature-grid { display: grid; grid-template-columns: 1fr 1fr; }
    .profile-feature-grid button, .profile-feature-grid a { display: grid; }
}

/* V13 personal center mobile alignment */
@media (max-width: 700px) {
    .profile-card.simple-profile-card { grid-template-columns: 82px minmax(0,1fr); gap: 13px; min-height: 0; padding: 14px 12px; }
    .profile-card.simple-profile-card .profile-avatar { width: 78px; height: 78px; padding: 3px; }
    .profile-card.simple-profile-card .profile-avatar img { border-width: 3px; }
    .profile-card.simple-profile-card .profile-avatar span { display: none; }
    .profile-card.simple-profile-card .profile-copy h2 { gap: 5px; margin-bottom: 7px; font-size: 17px; line-height: 1.2; }
    .profile-feature-grid button, .profile-feature-grid a { grid-template-columns: 34px minmax(0,1fr); min-height: 82px; padding: 12px; column-gap: 10px; }
    .profile-feature-grid .profile-icon, .profile-feature-grid a .profile-icon { width: 32px; height: 32px; font-size: 0; line-height: 0; }
    .profile-feature-grid .profile-icon svg { width: 19px; height: 19px; }
}

/* V14 final mobile overrides: prevent legacy absolute icons and layout drift */
@media (max-width: 700px) {
    .mobile-nav { display: grid; grid-template-columns: repeat(5,1fr) !important; }
    .profile-feature-grid button,.profile-feature-grid a { position: relative !important; display: grid !important; align-items: center !important; text-align: left !important; }
    .profile-feature-grid .profile-icon,.profile-feature-grid a .profile-icon,.profile-feature-grid .profile-icon svg { position: static !important; inset: auto !important; float: none !important; transform: none !important; }
    .profile-feature-grid button b,.profile-feature-grid a b,.profile-feature-grid button small,.profile-feature-grid a small { position: static !important; inset: auto !important; transform: none !important; }
    .profile-heading { min-height: 42px; margin: 5px 0 6px; padding: 5px 0; }
    .profile-heading h1 { font-size: 21px; }
    .profile-heading > b,.profile-wave { display: none; }
}

/* V15 language selector */
.site-header { grid-template-columns: auto 1fr auto auto; gap: 12px; }
@media (max-width: 940px) { .site-header { grid-template-columns: 1fr auto auto; } }
@media (max-width: 700px) {
    .site-header { grid-template-columns: minmax(0,1fr) auto auto; gap: 7px; }
    .language-switcher { display: block; }
    .language-switcher label { min-height: 34px; padding: 0 6px; }
    .language-switcher label > span { display: none; }
    .language-switcher select { width: 50px; max-width: 50px; padding: 0 10px 0 0; font-size: 9px; }
}

/* V21 profile mobile alignment */
@media(max-width:700px){
.profile-feature-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
.profile-feature-grid button,.profile-feature-grid a{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;grid-template-rows:auto auto!important;min-width:0!important;min-height:86px!important;padding:13px!important;border-radius:14px!important}
.profile-feature-grid .profile-icon,.profile-feature-grid a .profile-icon{display:grid!important;width:38px!important;height:38px!important;place-items:center!important;border-radius:12px!important}
.profile-feature-grid b,.profile-feature-grid small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.profile-modal-panel{width:min(94vw,520px)!important;max-height:86vh!important;overflow:auto!important}
}

/* V27.4 static real-cover-only cards; the carousel reuses four of the eighteen rooms. */
.poster-hitarea { position: absolute; inset: 0; z-index: 8; display: block; border-radius: inherit; }
.event-card.cover-unavailable .poster,
.event-card.cover-unavailable .avatar,
.carousel-slide.cover-unavailable { background-color: #02060d; }
.event-card .rank-ribbon,
.event-card .play,
.event-card .poster-duration,
.event-card .poster-source-note,
.event-card .poster-open,
.tiktok-carousel .carousel-content,
.tiktok-carousel .carousel-index,
.tiktok-carousel .carousel-shade,
.rank-ribbon,
.poster-rank,
.vip-rank,
.room-rank,
.event-rank { display: none !important; }
.carousel-cover-image,
.tiktok-carousel .carousel-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.tiktok-carousel .carousel-cover-link { position: absolute; inset: 0; z-index: 2; }
.event-poster iframe,
.event-poster video,
.event-poster .tiktok-player,
.event-poster .play-button,
.event-poster .poster-play,
.tiktok-carousel iframe,
.tiktok-carousel video { display: none !important; }

/* V27.4 compact bet history: no poster/avatar images, one concise row per bet. */
.compact-order-list {
    display: grid;
    gap: 8px;
}
.compact-order-row {
    display: grid;
    grid-template-columns: auto minmax(100px, 1fr) auto auto auto auto auto auto;
    align-items: center;
    gap: 8px 12px;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid rgba(105, 228, 239, .18);
    border-radius: 12px;
    background: rgba(5, 15, 29, .88);
    font-size: 12px;
    color: #a9bdd0;
}
.compact-order-row span,
.compact-order-row time,
.compact-order-row em {
    white-space: nowrap;
}
.compact-order-row b { color: #fff; font-weight: 800; }
.compact-order-round { color: #fff !important; font-weight: 850; }
.compact-order-room { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.compact-order-side { font-weight: 900; }
.compact-order-side.red { color: #ff4975; }
.compact-order-side.blue { color: #31b8ff; }
.compact-order-row .order-status {
    position: static;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    font-style: normal;
    font-size: 11px;
}
@media (max-width: 760px) {
    .compact-order-row {
        grid-template-columns: auto minmax(80px, 1fr) auto auto;
        gap: 6px 9px;
        padding: 9px 10px;
    }
    .compact-order-row span:nth-of-type(5),
    .compact-order-row span:nth-of-type(6) { display: none; }
    .compact-order-row time { grid-column: 2 / 3; font-size: 10px; }
}


/* V27.4 exchange-style asset deposit page. */
.deposit-page { display: grid; gap: 18px; }
.deposit-heading {
    display: flex; justify-content: space-between; align-items: end; gap: 20px;
    padding: 20px 22px; border: 1px solid rgba(87, 220, 235, .2);
    border-radius: 18px; background: linear-gradient(135deg, rgba(7,20,38,.95), rgba(14,8,25,.95));
}
.deposit-heading h1 { margin: 5px 0; font-size: clamp(26px,4vw,42px); }
.deposit-heading p { margin: 0; color: #91a7bb; }
.deposit-heading > a { color: #67e5eb; white-space: nowrap; }
.deposit-layout {
    display: grid; grid-template-columns: minmax(180px, 240px) minmax(0,1fr);
    gap: 14px; align-items: start;
}
.deposit-channel-list {
    display: grid; gap: 8px; position: sticky; top: 86px;
}
.deposit-channel-list button {
    display: grid; grid-template-columns: 54px 1fr; gap: 2px 10px; text-align: left;
    padding: 13px 14px; border-radius: 13px; border: 1px solid rgba(90,211,230,.16);
    background: rgba(7,17,32,.92); color: #fff; cursor: pointer;
}
.deposit-channel-list button strong { grid-row: span 2; align-self: center; font-size: 16px; color: #54e3e9; }
.deposit-channel-list button span { font-weight: 800; }
.deposit-channel-list button small { color: #7991a8; }
.deposit-channel-list button.active { border-color: #18d8df; box-shadow: 0 0 0 1px rgba(24,216,223,.28), 0 12px 28px rgba(0,0,0,.25); }
.deposit-console {
    display: grid; gap: 14px; padding: 18px; border: 1px solid rgba(96,220,233,.2);
    border-radius: 18px; background: rgba(5,14,27,.94);
}
.deposit-network-panel { display: grid; gap: 14px; }
.deposit-network-panel[hidden] { display: none !important; }
.deposit-network-title { display: flex; gap: 12px; align-items: center; }
.deposit-network-title > span {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg,#1ce4e9,#2675ff); color: #03121e; font-weight: 950;
}
.deposit-network-title h2 { margin: 0; font-size: 20px; }
.deposit-network-title p { margin: 3px 0 0; color: #8299ae; }
.deposit-address-area {
    display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: center;
    padding: 16px; border-radius: 14px; background: #030a15; border: 1px solid rgba(255,255,255,.08);
}
.deposit-address-area img { width: 132px; height: 132px; object-fit: contain; border-radius: 10px; background: #fff; padding: 5px; }
.deposit-address-area > div { display: grid; gap: 8px; min-width: 0; }
.deposit-address-area span,.deposit-memo span { color: #8197aa; font-size: 12px; }
.deposit-address-area code,.deposit-memo code {
    display: block; overflow-wrap: anywhere; color: #fff; font-size: 14px; line-height: 1.55;
    padding: 10px; background: rgba(255,255,255,.04); border-radius: 9px;
}
.deposit-address-area button,.deposit-memo button {
    justify-self: start; border: 1px solid rgba(53,231,235,.42); color: #65edf0; background: transparent;
    border-radius: 999px; padding: 6px 13px; cursor: pointer;
}
.deposit-memo { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px; border: 1px solid rgba(255,198,55,.28); border-radius: 12px; }
.deposit-memo span { grid-column: 1/-1; }
.deposit-rules { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.deposit-rules span { padding: 10px; background: rgba(255,255,255,.035); border-radius: 10px; color: #8198ad; font-size: 12px; }
.deposit-rules b { display: block; margin-top: 4px; color: #fff; font-size: 14px; }
.deposit-instructions { margin: 0; color: #9bb0c1; line-height: 1.7; }
.deposit-submit-form { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.deposit-submit-form label { display: grid; gap: 6px; color: #b9c8d6; font-weight: 700; }
.deposit-submit-form input,.deposit-submit-form textarea {
    width: 100%; border: 1px solid rgba(100,210,225,.18); border-radius: 11px; background: #040c18; color: #fff; padding: 11px 12px;
}
.deposit-empty { padding: 38px; text-align: center; border: 1px dashed rgba(100,210,225,.3); border-radius: 18px; }
.deposit-history { display: grid; gap: 8px; }
.deposit-history article {
    display: grid; grid-template-columns: minmax(110px,1fr) auto minmax(150px,1.4fr) auto auto;
    gap: 10px; align-items: center; padding: 11px 13px; border-radius: 12px;
    border: 1px solid rgba(93,211,225,.15); background: rgba(5,14,27,.86);
}
.deposit-history article span { display: grid; }
.deposit-history article small { color: #8196a8; }
.deposit-history article code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8196a8; }
.deposit-history article time { color: #8196a8; font-size: 11px; }
.deposit-history article em { font-style: normal; }
@media (max-width: 760px) {
    .deposit-heading { align-items: start; padding: 16px; }
    .deposit-layout { grid-template-columns: 1fr; }
    .deposit-channel-list { position: static; display: flex; overflow-x: auto; padding-bottom: 4px; }
    .deposit-channel-list button { min-width: 170px; }
    .deposit-console { padding: 13px; }
    .deposit-address-area { grid-template-columns: 1fr; }
    .deposit-address-area img { margin: auto; }
    .deposit-rules { grid-template-columns: 1fr; }
    .deposit-history article { grid-template-columns: 1fr auto; }
    .deposit-history article code { grid-column: 1/-1; }
}

.profile-wallet-actions .wallet-action-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 0 18px; border-radius: 999px;
    background: linear-gradient(135deg,#18dce4,#1685ff); color: #03111d;
    font-weight: 900; text-decoration: none;
}


/* V27.4 local auto-generated deposit QR and optional registration email. */
.deposit-auto-qr{width:min(220px,42vw);aspect-ratio:1;background:#fff;border-radius:18px;padding:10px;display:grid;place-items:center;overflow:hidden;box-shadow:0 16px 35px rgba(0,0,0,.28)}
.deposit-auto-qr img{display:block;width:100%;height:100%;object-fit:contain}
.deposit-auto-qr.qr-unavailable{background:rgba(255,255,255,.06);border:1px dashed rgba(255,255,255,.22);color:#d9cfc0;text-align:center;padding:22px}
.deposit-auto-qr.qr-unavailable span{display:block;font-weight:800}.deposit-auto-qr.qr-unavailable small{display:block;margin-top:8px;color:#a99d8f}
.deposit-address-copy{min-width:0;display:grid;gap:8px;align-content:center}.deposit-address-copy>span{font-size:12px;color:#aa9e90;text-transform:uppercase;letter-spacing:.12em}
.deposit-address-copy code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-all;padding:12px 14px;border-radius:12px;background:rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.09);color:#f5e8d3}
.deposit-address-copy button{justify-self:start}.deposit-address-copy small{color:#9e9286}.wallet-action-link.disabled{opacity:.45;pointer-events:none}.field-help{display:block;margin-top:6px;color:#8f8479;font-size:12px}
@media(max-width:680px){.deposit-address-area{grid-template-columns:1fr}.deposit-auto-qr{width:min(220px,70vw);justify-self:center}.deposit-address-copy button{width:100%}}

/* Home room cards only: smaller mobile cards and two-line title truncation. */
@media (max-width: 700px) {
    body[data-page="home"] .home-category-room-list {
        gap: 7px;
    }
    body[data-page="home"] .home-category-room-list .event-card {
        border-radius: 13px;
    }
    body[data-page="home"] .home-category-room-list .vip-line {
        min-height: 27px;
        gap: 8px;
        padding: 3px 9px;
        font-size: 8px;
    }
    body[data-page="home"] .home-category-room-list .vip {
        font-size: 15px;
    }
    body[data-page="home"] .home-category-room-list .event-body {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 7px;
        padding: 6px;
    }
    body[data-page="home"] .home-category-room-list .poster {
        width: 82px;
        min-height: 112px;
        height: 112px;
        border-radius: 9px;
    }
    body[data-page="home"] .home-category-room-list .event-info {
        min-width: 0;
    }
    body[data-page="home"] .home-category-room-list .event-info h3,
    body[data-page="home"] .home-category-room-list .event-card.title-only-card .event-info h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: 1px 0 5px;
        max-height: 2.44em;
        font-size: 13px;
        line-height: 1.22;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    body[data-page="home"] .home-category-room-list .event-title-link {
        display: -webkit-box;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    body[data-page="home"] .home-category-room-list .odds {
        grid-template-columns: 1fr 28px 1fr;
        border-radius: 8px;
    }
    body[data-page="home"] .home-category-room-list .odds div {
        padding: 3px 1px;
    }
    body[data-page="home"] .home-category-room-list .odds div span {
        font-size: 6px;
    }
    body[data-page="home"] .home-category-room-list .odds strong {
        font-size: 16px;
    }
    body[data-page="home"] .home-category-room-list .odds b {
        font-size: 12px;
    }
    body[data-page="home"] .home-category-room-list .side-actions {
        gap: 6px;
        margin-top: 5px;
    }
    body[data-page="home"] .home-category-room-list .bet-button {
        min-height: 30px;
        border-radius: 999px;
        font-size: 12px;
    }
}

@media (max-width: 374px) {
    body[data-page="home"] .home-category-room-list .event-body {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 6px;
    }
    body[data-page="home"] .home-category-room-list .poster {
        width: 76px;
        min-height: 108px;
        height: 108px;
    }
}
