@media (max-width: 820px) {
    html.fz-h5-v2 .fz-live-shell,
    html.fz-h5-v2 .fz-live-room-page {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 10px 10px 18px !important;
    }

    html.fz-h5-v2 .fz-live-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 4px 0 12px;
    }

    html.fz-h5-v2 .fz-live-heading > div { min-width: 0; }
    html.fz-h5-v2 .fz-live-heading h1 {
        margin: 0 0 3px;
        font-size: 22px;
    }
    html.fz-h5-v2 .fz-live-heading p {
        overflow: hidden;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    html.fz-h5-v2 .fz-live-outline-btn {
        min-height: 34px;
        padding: 0 10px;
        align-self: center;
    }
    html.fz-h5-v2 .fz-live-types {
        gap: 6px;
        padding: 10px 0;
    }
    html.fz-h5-v2 .fz-live-types button {
        min-height: 34px;
        padding: 0 13px;
    }
    html.fz-h5-v2 .fz-live-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        min-height: 120px;
    }
    html.fz-h5-v2 .fz-live-card {
        display: block;
        border-radius: 7px;
    }
    html.fz-h5-v2 .fz-live-card-cover {
        min-height: 0;
        aspect-ratio: 3 / 4;
    }
    html.fz-h5-v2 .fz-live-card-status,
    html.fz-h5-v2 .fz-live-card-online {
        bottom: 7px;
        padding: 3px 6px;
        font-size: 10px;
    }
    html.fz-h5-v2 .fz-live-card-status { left: 7px; }
    html.fz-h5-v2 .fz-live-card-online { right: 7px; }
    html.fz-h5-v2 .fz-live-card-body { padding: 8px; }
    html.fz-h5-v2 .fz-live-card-body h2 {
        margin-bottom: 0;
        font-size: 14px;
    }
    html.fz-h5-v2 .fz-live-card-access {
        right: 6px;
        bottom: 6px;
        padding: 3px 5px;
        font-size: 9px;
    }
    html.fz-h5-v2 .fz-live-card-meta { font-size: 11px; }

    html.fz-h5-v2 .fz-live-room-page {
        padding: 0 0 12px !important;
        background: #02050a;
    }
    html.fz-h5-v2 .fz-live-room-layout {
        position: relative;
        display: block;
        margin: 0;
    }
    html.fz-h5-v2 .fz-live-stage-panel {
        position: relative;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: #000;
    }
    html.fz-h5-v2 .fz-live-stage {
        height: min(68svh, 640px);
        min-height: 390px;
        aspect-ratio: auto;
        border-radius: 0;
        background: #000;
    }
    html.fz-h5-v2 .fz-live-stage > .video-js,
    html.fz-h5-v2 .fz-live-stage .vjs-tech {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    html.fz-h5-v2 .fz-live-poster {
        opacity: .7;
        object-fit: cover;
    }
    html.fz-h5-v2 .fz-live-anchor-hud {
        top: 9px;
        right: 9px;
        left: 9px;
        gap: 7px;
        padding: 0;
    }
    html.fz-h5-v2 .fz-live-anchor-hud > img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    html.fz-h5-v2 .fz-live-anchor-hud > div {
        padding: 3px 0;
        background: transparent;
        text-shadow: 0 1px 5px #000, 0 0 8px #000;
        backdrop-filter: none;
    }
    html.fz-h5-v2 .fz-live-anchor-hud strong { font-size: 13px; }
    html.fz-h5-v2 .fz-live-anchor-hud .fz-live-room-state { display: none; }
    html.fz-h5-v2 .fz-live-anchor-hud button {
        width: 36px;
        height: 36px;
    }

    html.fz-h5-v2 .fz-live-gate,
    html.fz-h5-v2 .fz-live-confirm,
    html.fz-h5-v2 .fz-live-stage-alert {
        padding: 14px;
    }
    html.fz-h5-v2 .fz-live-gate h2,
    html.fz-h5-v2 .fz-live-confirm h2,
    html.fz-h5-v2 .fz-live-stage-alert h2 {
        font-size: 19px;
    }
    html.fz-h5-v2 .fz-live-confirm-panel,
    html.fz-h5-v2 .fz-live-stage-alert-panel {
        padding: 18px 14px;
        border-radius: 8px;
    }
    html.fz-h5-v2 .fz-live-stage-alert-icon {
        min-width: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
    }
    html.fz-h5-v2 .fz-live-stage-alert-actions {
        grid-template-columns: 1fr 1.15fr 1fr;
        gap: 6px;
        margin-top: 15px;
    }
    html.fz-h5-v2 .fz-live-stage-alert-actions a,
    html.fz-h5-v2 .fz-live-stage-alert-actions button {
        min-height: 38px;
        padding: 0 5px;
        font-size: 12px;
    }
    html.fz-h5-v2 .fz-live-viewer-summary {
        grid-template-columns: 30px minmax(0, 1fr) auto 30px;
        gap: 6px;
        margin-top: 10px;
        padding: 6px;
    }
    html.fz-h5-v2 .fz-live-viewer-summary > img {
        width: 30px;
        height: 30px;
    }
    html.fz-h5-v2 .fz-live-viewer-summary > button {
        width: 30px;
        min-height: 30px;
        padding: 0;
        justify-content: center;
    }
    html.fz-h5-v2 .fz-live-viewer-summary > button span { display: none; }

    html.fz-h5-v2 .fz-live-side {
        position: absolute;
        z-index: 4;
        top: 42%;
        right: 8px;
        bottom: 58px;
        left: 8px;
        height: auto;
        min-height: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        pointer-events: none;
    }
    html.fz-h5-v2 .fz-live-side-title { display: none; }
    html.fz-h5-v2 .fz-live-chat {
        height: 100%;
        background: transparent;
    }
    html.fz-h5-v2 .fz-live-chat-list {
        padding: 0 48px 7px 0;
        overflow-y: auto;
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 100%);
        mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 100%);
        pointer-events: auto;
        scrollbar-width: none;
    }
    html.fz-h5-v2 .fz-live-chat-list::-webkit-scrollbar { display: none; }
    html.fz-h5-v2 .fz-live-chat-empty { display: none !important; }
    html.fz-h5-v2 .fz-live-chat-item {
        display: flex;
        align-items: flex-start;
        gap: 6px;
        width: fit-content;
        max-width: 92%;
        padding: 3px 0;
        color: #fff;
        text-shadow: 0 1px 4px #000, 0 0 7px #000;
    }
    html.fz-h5-v2 .fz-live-chat-avatar {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        border-color: rgba(255,255,255,.55);
        background: rgba(10,20,33,.5);
    }
    html.fz-h5-v2 .fz-live-chat-meta { gap: 4px; }
    html.fz-h5-v2 .fz-live-chat-meta strong { font-size: 11px; }
    html.fz-h5-v2 .fz-live-chat-meta time { display: none; }
    html.fz-h5-v2 .fz-live-chat-badge {
        padding: 0 3px;
        font-size: 8px;
    }
    html.fz-h5-v2 .fz-live-chat-item p {
        margin-top: 0;
        color: #fff;
        font-size: 12px;
        line-height: 1.35;
    }
    html.fz-h5-v2 .fz-live-chat-gift-event,
    html.fz-h5-v2 .fz-live-chat-gift-event.is-premium {
        width: fit-content;
        max-width: 92%;
        margin: 3px 0;
        padding: 3px 0;
        border: 0;
        background: transparent;
        color: #ffe29a;
        text-shadow: 0 1px 5px #000, 0 0 8px #000;
        box-shadow: none;
    }
    html.fz-h5-v2 .fz-live-chat-unread {
        right: 0;
        bottom: 48px;
        min-height: 26px;
        border-radius: 13px;
        pointer-events: auto;
    }
    html.fz-h5-v2 .fz-live-chat-feedback {
        position: absolute;
        right: 0;
        bottom: 45px;
        left: 0;
        padding: 5px 8px;
        border: 0;
        background: rgba(3,8,14,.65);
        text-shadow: 0 1px 4px #000;
        pointer-events: none;
    }
    html.fz-h5-v2 .fz-live-chat-form {
        flex: 0 0 auto;
        padding: 5px 0 0;
        border: 0;
        background: transparent;
        pointer-events: auto;
    }
    html.fz-h5-v2 .fz-live-chat-compose {
        grid-template-columns: 34px minmax(0, 1fr) 38px;
        gap: 5px;
    }
    html.fz-h5-v2 .fz-live-chat-compose input,
    html.fz-h5-v2 .fz-live-chat-compose button {
        height: 36px;
        border-color: rgba(155,180,205,.42);
        background: rgba(6,14,24,.68);
        backdrop-filter: blur(8px);
    }
    html.fz-h5-v2 .fz-live-chat-compose button[type='submit'] {
        border-color: var(--live-gold);
        background: var(--live-gold);
    }
    html.fz-h5-v2 .fz-live-emoji-panel {
        right: 0;
        bottom: 45px;
        grid-template-columns: repeat(6, 30px);
        background: rgba(7,15,25,.94);
    }

    html.fz-h5-v2 .fz-live-toolbar {
        position: relative;
        z-index: 6;
        min-height: 52px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 6px;
        padding: 7px 9px;
        border-top-color: rgba(68,99,128,.5);
        background: #07111e;
    }
    html.fz-h5-v2 .fz-live-tools {
        min-width: 0;
        gap: 8px;
    }
    html.fz-h5-v2 .fz-live-tools button,
    html.fz-h5-v2 .fz-live-gift-open {
        min-height: 34px;
        padding: 0 9px;
        border: 1px solid var(--live-line);
        border-radius: 6px;
        background: #0d1a2a;
        color: #eaf2fb;
    }
    html.fz-h5-v2 .fz-live-gift-open {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border-color: rgba(242,189,82,.65);
        color: var(--live-gold);
    }
    html.fz-h5-v2 .fz-live-gift-open[hidden] { display: none; }
    html.fz-h5-v2 .fz-live-notice { display: none; }
    html.fz-h5-v2 .fz-live-connection {
        min-width: 0;
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    html.fz-h5-v2 .fz-live-gift-dock {
        position: absolute;
        z-index: 12;
        right: 0;
        bottom: 52px;
        left: 0;
        max-height: 48%;
        margin: 0;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scrollbar-width: none;
    }
    html.fz-h5-v2 .fz-live-gift-dock::-webkit-scrollbar { display: none; }
    html.fz-h5-v2 .fz-live-gift-head {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 4px 10px;
        color: #fff;
        font-size: 11px;
        text-shadow: 0 1px 5px #000, 0 0 8px #000;
    }
    html.fz-h5-v2 .fz-live-gift-head strong { color: var(--live-gold); }
    html.fz-h5-v2 .fz-live-gift-head em {
        margin-left: auto;
        color: #d9e4f0;
        font-style: normal;
    }
    html.fz-h5-v2 .fz-live-gift-head button {
        width: 28px;
        height: 28px;
        border: 0;
        background: transparent;
        color: #fff;
    }
    html.fz-h5-v2 .fz-live-gift-list {
        height: auto;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 3px;
        overflow: visible;
        padding: 2px 6px 8px;
        background: transparent;
    }
    html.fz-h5-v2 .fz-live-gift {
        min-width: 0;
        min-height: 64px;
        padding: 3px 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        text-shadow: 0 1px 5px #000, 0 0 8px #000;
        box-shadow: none;
    }
    html.fz-h5-v2 .fz-live-gift:hover,
    html.fz-h5-v2 .fz-live-gift:active,
    html.fz-h5-v2 .fz-live-gift.is-sending {
        border: 0;
        background: transparent;
        filter: brightness(1.18);
        transform: translateY(-1px);
        box-shadow: none;
    }
    html.fz-h5-v2 .fz-live-gift img {
        width: 36px;
        height: 36px;
        margin-bottom: 1px;
        filter: drop-shadow(0 2px 5px #000);
    }
    html.fz-h5-v2 .fz-live-gift strong { font-size: 10px; }
    html.fz-h5-v2 .fz-live-gift span { font-size: 9px; }
    html.fz-h5-v2 .fz-live-gift-tickers {
        top: 50%;
        width: calc(100% - 20px);
    }
    html.fz-h5-v2 .fz-live-gift-ticker {
        max-width: 220px;
        background: transparent;
    }
    html.fz-h5-v2 .fz-live-gift-queue-status {
        bottom: 22%;
        padding: 4px 8px;
        border: 0;
        background: transparent;
        text-shadow: 0 1px 5px #000, 0 0 8px #000;
        box-shadow: none;
    }
    html.fz-h5-v2 .fz-live-room-copy {
        display: none;
    }
    html.fz-h5-v2 .fz-live-toast {
        top: 50%;
        bottom: auto;
        width: min(320px, calc(100vw - 28px));
        justify-content: center;
        text-align: center;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 380px) {
    html.fz-h5-v2 .fz-live-stage { min-height: 360px; }
    html.fz-h5-v2 .fz-live-gift-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    html.fz-h5-v2 .fz-live-stage-alert-actions { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page {
        position: fixed !important;
        z-index: 10000;
        inset: 0;
        width: 100vw !important;
        max-width: none !important;
        height: 100svh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        background: #000;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-layout,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-panel,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage {
        position: relative;
        width: 100%;
        height: 100svh !important;
        min-height: 0 !important;
        margin: 0;
        overflow: hidden;
        border: 0;
        background: #000;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage > .video-js,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage .vjs-tech,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-poster,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-iframe-wrap,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-iframe-wrap iframe {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .video-js .vjs-control-bar {
        display: none !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player {
        position: fixed;
        z-index: 21;
        left: 9px;
        bottom: calc(58px + env(safe-area-inset-bottom, 0px));
        width: min(48vw, 220px);
        height: 30px;
        display: grid;
        grid-template-columns: 26px 38px minmax(0, 1fr);
        align-items: center;
        gap: 4px;
        padding: 0 7px 0 3px;
        border-radius: 15px;
        background: rgba(2, 7, 13, .24);
        color: #fff;
        text-shadow: 0 1px 4px #000;
        backdrop-filter: blur(5px);
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player[hidden] { display: none; }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player button {
        width: 26px;
        height: 26px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 13px;
        line-height: 1;
        cursor: pointer;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player span {
        font-size: 11px;
        font-variant-numeric: tabular-nums;
        text-align: center;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input {
        width: 100%;
        height: 14px;
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
        background: transparent;
        cursor: pointer;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input::-webkit-slider-runnable-track {
        height: 3px;
        border-radius: 2px;
        background: linear-gradient(90deg, #fff var(--live-progress, 0%), rgba(255,255,255,.36) var(--live-progress, 0%));
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input::-webkit-slider-thumb {
        width: 9px;
        height: 9px;
        margin-top: -3px;
        border: 0;
        border-radius: 50%;
        -webkit-appearance: none;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,.7);
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input::-moz-range-track {
        height: 3px;
        border-radius: 2px;
        background: rgba(255,255,255,.36);
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input::-moz-range-progress { height: 3px; background: #fff; }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-mini-player input::-moz-range-thumb {
        width: 9px;
        height: 9px;
        border: 0;
        border-radius: 50%;
        background: #fff;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-side {
        z-index: 12;
        top: 42%;
        right: 8px;
        bottom: calc(100px + env(safe-area-inset-bottom, 0px));
        left: 8px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-list {
        padding-bottom: 5px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-gift-dock {
        z-index: 22;
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
        max-height: 46svh;
        background: transparent;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-copy {
        display: none !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-alert {
        z-index: 60;
        padding: 14px;
        pointer-events: auto;
        background: rgba(0, 4, 10, .82);
        backdrop-filter: blur(7px);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-alert {
        z-index: 61;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm-panel,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-alert-panel {
        width: min(100%, 390px);
        max-height: calc(100svh - 28px);
        overflow-y: auto;
        padding: 20px 16px 16px;
        border: 1px solid rgba(244, 190, 75, .72);
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(10, 25, 43, .98), rgba(5, 13, 24, .98));
        box-shadow: 0 22px 70px rgba(0, 0, 0, .72), 0 0 24px rgba(244, 190, 75, .1);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm-icon,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-alert-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        margin-bottom: 10px;
        border-radius: 50%;
        color: var(--live-gold);
        font-size: 19px;
        background: rgba(244, 190, 75, .1);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm p,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-stage-alert p {
        font-size: 13px;
        line-height: 1.6;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-viewer-summary {
        grid-template-columns: 34px minmax(0, 1fr) auto 34px;
        margin-top: 12px;
        padding: 8px;
        border-radius: 7px;
        background: rgba(4, 13, 24, .72);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm-actions {
        gap: 8px;
        margin-top: 14px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-confirm-actions button {
        min-height: 42px;
        border-radius: 7px;
        touch-action: manipulation;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-anchor-hud,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-side,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-toolbar,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-gift-dock,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-chat-form {
        pointer-events: none !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-feedback {
        position: fixed;
        z-index: 31;
        right: 8px;
        bottom: calc(54px + env(safe-area-inset-bottom, 0px));
        left: 8px;
        border-radius: 5px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-emoji-panel {
        position: fixed;
        z-index: 33;
        right: 8px;
        bottom: calc(54px + env(safe-area-inset-bottom, 0px));
        left: 8px;
        width: auto;
    }
}

@media (max-width: 820px) {
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud {
        top: 10px;
        right: auto;
        left: 10px;
        width: auto;
        max-width: calc(100vw - 62px);
        gap: 5px;
        padding: 3px 4px;
        border: 1px solid rgba(255,255,255,.26);
        border-radius: 23px;
        background: rgba(3,8,14,.46);
        box-shadow: 0 5px 18px rgba(0,0,0,.26);
        backdrop-filter: blur(8px);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        cursor: pointer;
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > .fz-live-anchor-meta {
        max-width: 118px;
        padding: 2px 3px;
        cursor: pointer;
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > .fz-live-anchor-meta strong,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > .fz-live-anchor-meta span {
        max-width: 112px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > button[data-follow-btn] {
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin-left: 0;
        font-size: 0;
        box-shadow: none;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > button[data-follow-btn] i { display: none; }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > button[data-follow-btn]::before {
        content: '+';
        color: #171106;
        font-size: 25px;
        font-weight: 500;
        line-height: 1;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-anchor-hud > button[data-follow-btn].active::before {
        content: '\2713';
        color: #042b20;
        font-size: 18px;
        font-weight: 800;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-exit {
        position: fixed;
        z-index: 26;
        top: 11px;
        right: 10px;
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #fff;
        font-size: 30px;
        font-weight: 300;
        text-shadow: 0 1px 5px #000;
        backdrop-filter: none;
        touch-action: manipulation;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-exit-mark {
        display: block;
        line-height: 1;
        transform: translateY(-1px);
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-exit-label { display: none; }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-toolbar {
        min-height: calc(52px + env(safe-area-inset-bottom, 0px));
        height: calc(52px + env(safe-area-inset-bottom, 0px));
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
        pointer-events: none;
        background: linear-gradient(180deg, transparent, rgba(2,7,13,.82));
        backdrop-filter: none;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-tools {
        display: none !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-lines,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-notice,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-connection,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-fullscreen {
        display: none !important;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-toolbar-actions {
        position: absolute;
        z-index: 24;
        right: 8px;
        bottom: calc(7px + env(safe-area-inset-bottom, 0px));
        margin: 0;
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-gift-open {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--live-gold);
        font-size: 20px;
        filter: drop-shadow(0 1px 5px #000);
        box-shadow: none;
        backdrop-filter: none;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-gift-open i { font-size: 23px; }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-gift-open span { display: none; }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-side {
        top: auto;
        right: 8px;
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
        left: 8px;
        height: min(30svh, 260px);
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-list {
        padding: 0 46px 4px 0;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-form,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-chat-form {
        position: fixed;
        z-index: 23;
        right: 52px;
        bottom: calc(7px + env(safe-area-inset-bottom, 0px));
        left: 8px;
        padding: 0;
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-chat-compose {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr) 38px;
        gap: 5px;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose input {
        border: 1px solid rgba(255,255,255,.3);
        border-radius: 20px;
        background: rgba(7, 10, 15, .24);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
        backdrop-filter: blur(7px);
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose input::placeholder { color: rgba(255,255,255,.7); }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose button,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose button[type='submit'] {
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: #fff;
        font-size: 19px;
        box-shadow: none;
        backdrop-filter: none;
    }
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose button[type='submit'] {
        color: var(--live-gold);
        filter: drop-shadow(0 1px 4px rgba(0,0,0,.75));
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-emoji,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-chat-compose button[type='submit'],
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-chat-emoji,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-chat-compose button[type='submit'] {
        display: block;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-tools,
    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-chat-compose-open .fz-live-toolbar-actions {
        opacity: 1;
        pointer-events: auto;
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-gift-dock {
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
    }

    html.fz-h5-v2 body.fz-h5-live-detail .fz-live-room-page.is-live-modal-open .fz-live-exit {
        pointer-events: none !important;
    }
}
