/* =========================================================================
   怪兽增强 · 前台样式
   全部作用域限定在 body.gs-on 与模块类下，不覆盖主题核心布局
   ========================================================================= */

/* -------------------------------------------------------------------------
   0. 变量与基础
   ---------------------------------------------------------------------- */
body.gs-on {
    --gs-accent: #6366f1;
    --gs-tag-radius: 6px;
    --gs-tag-size: 12px;
    --gs-tag-weight: 600;
    --gs-tag-icon: 12px;
    --gs-img-radius: 12px;
    --gs-img-radius-sm: 8px;
    --gs-list-radius: 14px;
    --gs-list-title: 17px;
    --gs-list-gap: 12px;
    --gs-prefix-size: 12px;
}

/* -------------------------------------------------------------------------
   1. 标签胶囊
   ---------------------------------------------------------------------- */
/* 标签统一骨架：毛玻璃底 + 液态玻璃内高光，文字垂直居中且清晰 */
body.gs-m-tags .posts-item .item-tags .meta-pay.gs-tag,
body.gs-m-tags .posts-item .item-tags a.gs-tag-custom {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: max(8px, var(--gs-tag-radius, 6px));
    font-size: var(--gs-tag-size);
    font-weight: var(--gs-tag-weight);
    line-height: 1;
    padding: 5px 10px;
    letter-spacing: .2px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(15, 23, 42, .42), 0 0 1px rgba(15, 23, 42, .2);
    white-space: nowrap;
    vertical-align: middle;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px) saturate(165%);
    backdrop-filter: blur(10px) saturate(165%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55),
                inset 0 -1px 0 rgba(255, 255, 255, .14),
                0 6px 16px -10px rgba(15, 23, 42, .8);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

/* 弧面反光：液态玻璃的关键层，半透明不遮挡文字 */
body.gs-m-tags .posts-item .item-tags .meta-pay.gs-tag::before,
body.gs-m-tags .posts-item .item-tags a.gs-tag-custom::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .02) 52%, rgba(255, 255, 255, .12)),
                radial-gradient(130% 90% at 8% -10%, rgba(255, 255, 255, .34), transparent 62%);
    pointer-events: none;
}

body.gs-m-tags .posts-item .item-tags .meta-pay.gs-tag i,
body.gs-m-tags .posts-item .item-tags .meta-pay.gs-tag svg {
    font-size: var(--gs-tag-icon);
    width: var(--gs-tag-icon);
    height: var(--gs-tag-icon);
    flex: 0 0 auto;
    position: relative;
}

body.gs-m-tags.gs-tag-upper .posts-item .item-tags .meta-pay.gs-tag {
    text-transform: uppercase;
}

body.gs-m-tags .posts-item:hover .item-tags .meta-pay.gs-tag {
    filter: brightness(1.06) saturate(1.06);
}

body.gs-m-tags .posts-item .item-tags .gs-tag:hover,
body.gs-m-tags .posts-item .item-tags a.gs-tag-custom:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6),
                inset 0 -1px 0 rgba(255, 255, 255, .16),
                0 12px 22px -12px rgba(15, 23, 42, .85);
}

/* 倒计时 */
.gs-countdown {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    white-space: nowrap;
}

.gs-tag.gs-ended,
.gs-tag-custom.gs-ended {
    filter: grayscale(100%);
    opacity: .55;
}

/* 优惠码 */
.gs-coupon {
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline dotted;
    text-underline-offset: 2px;
}

/* -------------------------------------------------------------------------
   2. 昵称特效
   ---------------------------------------------------------------------- */
.gs-nick {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    position: relative;
    max-width: 100%;
    vertical-align: baseline;
}

.gs-nick-text {
    display: inline;
}

.gs-nick-icon {
    border-radius: 4px;
    object-fit: contain;
    flex: 0 0 auto;
}

@keyframes gs-nick-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gs-nick-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}

@media (prefers-reduced-motion: reduce) {

    .gs-nick,
    .gs-nick-text {
        animation: none !important;
    }
}

/* 组件盒模型统一（防止主题未设置全局 border-box 时溢出） */
.gs-lottery,
.gs-lottery *,
.gs-vanity,
.gs-vanity *,
.gs-chat,
.gs-chat *,
.gs-bounty-box,
.gs-bounty-box *,
.gs-stats,
.gs-stats *,
.gs-uid,
.gs-nick,
.gs-quick-post-wrap *,
.gs-wheel-wrap *,
.gs-empty {
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   3. 内容美化：正文图片
   ---------------------------------------------------------------------- */
body.gs-m-content .entry-content img,
body.gs-m-content .post-content img,
body.gs-m-content .article-content img {
    border-radius: var(--gs-img-radius);
    max-width: 100%;
    height: auto;
}

body.gs-m-content .entry-content figure img,
body.gs-m-content .entry-content .wp-caption img {
    border-radius: var(--gs-img-radius);
}

body.gs-img-shadow .entry-content img {
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .45);
}

body.gs-img-hover .entry-content img {
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}

@media (hover: hover) {
    body.gs-img-hover .entry-content img:hover {
        transform: scale(1.012);
        box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
    }
}

body.gs-m-content .entry-content figcaption,
body.gs-m-content .entry-content .wp-caption-text {
    text-align: center;
    font-size: 12.5px;
    color: var(--muted-2-color, #999);
    margin-top: 8px;
}

/* 移动端小图圆角 */
@media (max-width: 768px) {

    body.gs-m-content .entry-content img,
    body.gs-m-content .post-content img {
        border-radius: var(--gs-img-radius-sm);
    }
}

/* -------------------------------------------------------------------------
   4. 内容美化：文章列表卡片
   ---------------------------------------------------------------------- */
body.gs-m-content .posts-item {
    transition: transform .25s cubic-bezier(.2, .8, .3, 1), box-shadow .25s ease, background .25s ease;
}

body.gs-list-card .posts-item.card,
body.gs-list-card .posts-item.list {
    border-radius: var(--gs-list-radius);
    padding: 14px;
    margin-bottom: var(--gs-list-gap);
    background: var(--main-bg-color, #fff);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 26px -22px rgba(16, 24, 40, .35);
    border: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
}

body.gs-list-glass .posts-item.card,
body.gs-list-glass .posts-item.list {
    border-radius: var(--gs-list-radius);
    padding: 14px;
    margin-bottom: var(--gs-list-gap);
    background: color-mix(in srgb, var(--main-bg-color, #fff) 78%, transparent);
    border: 1px solid color-mix(in srgb, var(--main-color, #333) 12%, transparent);
    backdrop-filter: blur(10px);
}

body.gs-list-plain .posts-item.card,
body.gs-list-plain .posts-item.list {
    border-radius: var(--gs-list-radius);
    margin-bottom: var(--gs-list-gap);
    background: transparent;
}

body.gs-m-content .posts-item .item-heading,
body.gs-m-content .posts-item .item-heading a {
    font-size: var(--gs-list-title);
    line-height: 1.5;
}

body.gs-list-hover .posts-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -26px rgba(16, 24, 40, .55);
}

body.gs-list-hover .posts-item:hover .item-heading a {
    color: var(--theme-color, var(--gs-accent));
}

body.gs-m-content .posts-item .item-thumbnail img,
body.gs-m-content .posts-item .item-thumbnail .radius8 {
    border-radius: calc(var(--gs-list-radius) - 4px);
}

/* -------------------------------------------------------------------------
   5. 文章前缀（标签行分类胶囊 · 毛玻璃 + 液态玻璃）
   ---------------------------------------------------------------------- */
body.gs-m-content .posts-item .item-tags a.but:not(.meta-pay) {
    --gs-pfx: #6366f1;
    --gs-pfx-2: #8b5cf6;
    --gs-pfx-soft: rgba(99, 102, 241, .16);
    --gs-pfx-glow: rgba(139, 92, 246, .4);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: var(--gs-prefix-size, 12px);
    font-weight: var(--gs-prefix-bold, 700);
    line-height: 1;
    padding: .34em .68em;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    color: var(--gs-pfx) !important;
    /* 多层背景 = 半透明玻璃底 + 顶部弧面高光 */
    background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .02) 55%, rgba(255, 255, 255, .16)),
                var(--gs-pfx-soft) !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px) saturate(165%);
    backdrop-filter: blur(10px) saturate(165%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65),
                inset 0 -1px 0 rgba(255, 255, 255, .16),
                0 6px 16px -11px var(--gs-pfx-glow);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.gs-m-content .posts-item .item-tags a.but:not(.meta-pay)::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gs-pfx), var(--gs-pfx-2));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .5), 0 0 8px var(--gs-pfx-glow);
    flex: 0 0 auto;
}

body.gs-m-content .posts-item:hover .item-tags a.but:not(.meta-pay) {
    transform: translateY(-1px);
    filter: saturate(1.1);
}

/* 圆点样式 */
body.gs-prefix-dot .posts-item .item-tags a.but:not(.meta-pay) {
    background: transparent !important;
    border-color: transparent;
    box-shadow: none;
    padding-left: 0;
    border-radius: 0;
}

/* 左侧色条 */
body.gs-prefix-bar .posts-item .item-tags a.but:not(.meta-pay) {
    background: transparent !important;
    border-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 8px;
    color: var(--gs-pfx) !important;
}

body.gs-prefix-bar .posts-item .item-tags a.but:not(.meta-pay)::before {
    width: 3px;
    height: 13px;
    border-radius: 2px;
}

/* 扫光 */
body.gs-prefix-anim .posts-item .item-tags a.but:not(.meta-pay)::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-18deg);
    animation: gs-pfx-shine 5.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gs-pfx-shine {
    0%,
    55% { left: -60%; }
    80%,
    100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
    body.gs-prefix-anim .posts-item .item-tags a.but:not(.meta-pay)::after {
        animation: none;
    }
}

/* -------------------------------------------------------------------------
   6. 用户：UID / 统计 / 头像光环
   ---------------------------------------------------------------------- */
.gs-uid {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    padding: 0 6px;
    height: 18px;
    border-radius: 5px;
    font-size: 11px;
    line-height: 1;
    background: color-mix(in srgb, var(--main-color, #333) 8%, transparent);
    color: var(--muted-2-color, #888);
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gs-uid b {
    font-weight: 700;
    color: var(--theme-color, #f04494);
    letter-spacing: .2px;
}

.gs-uid-label {
    font-style: normal;
    opacity: .75;
    font-size: 10px;
    letter-spacing: .3px;
}

.gs-uid-plain {
    background: transparent;
    padding: 0;
    margin-left: 4px;
}

/* 用户中心统计 */
.gs-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 4px 8px;
    border-radius: 12px;
}

.gs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 4px;
    position: relative;
}

.gs-stat+.gs-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: var(--main-border-color, rgba(0, 0, 0, .06));
}

.gs-stat i {
    font-size: 15px;
    color: var(--theme-color, #f04494);
    opacity: .9;
}

.gs-stat b {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.3px;
    color: var(--key-color, #333);
    font-variant-numeric: tabular-nums;
}

.gs-stat span {
    font-size: 11.5px;
    color: var(--muted-2-color, #999);
}

/* 头像光环 */
body.gs-avatar-ring .avatar-img img,
body.gs-avatar-ring .avatar {
    position: relative;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 18px -2px rgba(255, 255, 255, .5);
    animation: gs-avatar-glow 3.6s ease-in-out infinite;
}

@keyframes gs-avatar-glow {

    0%,
    100% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 12px -2px rgba(255, 255, 255, .35);
    }

    50% {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 1), 0 0 22px 0 rgba(255, 255, 255, .6);
    }
}

/* -------------------------------------------------------------------------
   7. 社区美化
   ---------------------------------------------------------------------- */
body.gs-cm {
    --gs-accent: #6366f1;
    --gs-accent-soft: rgba(99, 102, 241, .12);
}

/* 板块列表 */
body.gs-cm .plate-lists {
    gap: 12px;
}

body.gs-cm .plate-item {
    border-radius: 14px;
    padding: 12px;
    background: var(--main-bg-color, #fff);
    border: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.gs-cm-lift .plate-item:hover {
    transform: translateY(-3px);
    border-color: var(--gs-accent-soft);
    box-shadow: 0 16px 34px -26px rgba(16, 24, 40, .6);
}

body.gs-cm .plate-thumb {
    border-radius: 12px;
    overflow: hidden;
}

body.gs-cm-plate .plate-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, rgba(255, 255, 255, .28), transparent 55%);
    pointer-events: none;
}

body.gs-cm .plate-thumb {
    position: relative;
}

/* 板块卡片（横向滚动） */
body.gs-cm .plate-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--main-bg-color, #fff);
    border: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
    transition: transform .22s ease, box-shadow .22s ease;
}

body.gs-cm-lift .plate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px -26px rgba(16, 24, 40, .6);
}

/* 帖子 */
body.gs-cm .forum-posts {
    border-radius: 14px;
    padding: 16px;
    background: var(--main-bg-color, #fff);
    border: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.gs-cm-lift .forum-posts:hover {
    transform: translateY(-2px);
    border-color: var(--gs-accent-soft);
    box-shadow: 0 16px 34px -26px rgba(16, 24, 40, .55);
}

body.gs-cm .forum-posts .forum-title {
    font-weight: 700;
    letter-spacing: -.2px;
}

body.gs-cm .forum-posts .forum-title a:hover {
    color: var(--gs-accent);
}

/* 徽章 */
body.gs-cm .badg,
body.gs-cm .but-plate {
    border-radius: 7px;
    font-weight: 500;
}

body.gs-badge-soft .forum-posts .badg.jb-red,
body.gs-badge-soft .forum-posts .badg.c-red {
    background: rgba(239, 68, 68, .12);
    color: #ef4444;
}

body.gs-badge-soft .but-plate {
    background: var(--gs-accent-soft);
    color: var(--gs-accent);
    border: 0;
}

/* 置顶高亮 */
body.gs-cm-sticky .forum-posts:has(.img-badge),
body.gs-cm-sticky .forum-posts:has(.badg.c-red) {
    position: relative;
    overflow: hidden;
}

body.gs-cm-sticky .forum-posts:has(.img-badge)::before,
body.gs-cm-sticky .forum-posts:has(.badg.c-red)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ef4444, #f97316);
}

/* 左侧导航 */
body.gs-cm-nav .sidebar .nav-item,
body.gs-cm-nav .user-center-sidebar .nav-item {
    border-radius: 10px;
    transition: background .18s, color .18s;
}

body.gs-cm-nav .sidebar .nav-item.active,
body.gs-cm-nav .user-center-sidebar .nav-item.active {
    background: var(--gs-accent-soft);
    color: var(--gs-accent);
    font-weight: 600;
}

/* 右侧卡片 */
body.gs-cm-side .zib-widget,
body.gs-cm-side .sidebar .widget {
    border-radius: 14px;
}

/* 密度 */
body.gs-density-compact .forum-posts {
    padding: 12px;
    margin-bottom: 8px;
}

body.gs-density-compact .forum-posts .forum-title {
    font-size: 14.5px;
}

body.gs-density-relaxed .forum-posts {
    padding: 20px;
    margin-bottom: 18px;
}

body.gs-density-relaxed .forum-posts .forum-title {
    font-size: 17px;
}

/* 图片圆角 */
body.gs-cm-grid .forum-posts img,
body.gs-cm-grid .forum-lists img {
    border-radius: 10px;
}

/* 楼层 */
.gs-floor {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    padding: 0 5px;
    height: 16px;
    border-radius: 4px;
    font-size: 10.5px;
    background: color-mix(in srgb, var(--main-color, #333) 7%, transparent);
    color: var(--muted-2-color, #999);
}

/* 悬浮发帖 */
.gs-quick-post-wrap {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 99;
}

.gs-quick-post {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 18px;
    border-radius: 999px !important;
    background: linear-gradient(120deg, #6366f1, #8b5cf6) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 14px 30px -14px rgba(99, 102, 241, .9);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gs-quick-post:hover {
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 18px 36px -14px rgba(99, 102, 241, 1);
}

/* -------------------------------------------------------------------------
   8. 抽奖（液态玻璃）
   ---------------------------------------------------------------------- */
.gs-glass {
    position: relative;
    border-radius: 26px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .65));
    background: var(--gs-glass-bg, rgba(255, 255, 255, .55));
    backdrop-filter: blur(26px) saturate(170%);
    -webkit-backdrop-filter: blur(26px) saturate(170%);
    box-shadow:
        0 24px 70px -36px rgba(15, 23, 42, .55),
        inset 0 1px 0 rgba(255, 255, 255, .65),
        inset 0 -1px 0 rgba(255, 255, 255, .18);
    overflow: hidden;
}

body.gs-on {
    --gs-glass-bg: rgba(255, 255, 255, .56);
    --gs-glass-brd: rgba(255, 255, 255, .7);
    --gs-glass-tile: rgba(255, 255, 255, .45);
    --gs-glass-line: rgba(15, 23, 42, .07);
}

body.dark-theme.gs-on,
body.dark.gs-on {
    --gs-glass-bg: rgba(26, 28, 36, .55);
    --gs-glass-brd: rgba(255, 255, 255, .12);
    --gs-glass-tile: rgba(255, 255, 255, .06);
    --gs-glass-line: rgba(255, 255, 255, .08);
}

.gs-lottery {
    padding: 24px 24px 20px;
}

.gs-lt-glow {
    position: absolute;
    inset: -40% -10% auto -10%;
    height: 70%;
    background:
        radial-gradient(40% 60% at 20% 20%, rgba(99, 102, 241, .55), transparent 70%),
        radial-gradient(45% 60% at 80% 10%, rgba(236, 72, 153, .45), transparent 70%);
    filter: blur(46px);
    opacity: .55;
    pointer-events: none;
}

.gs-lt-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
}

.gs-lt-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: .28em;
    font-weight: 600;
    opacity: .55;
    margin-bottom: 6px;
}

.gs-lt-hero h3 {
    margin: 0 0 4px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.6px;
    background: linear-gradient(120deg, var(--key-color, #111), rgba(99, 102, 241, .95));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gs-lt-hero p {
    margin: 0;
    font-size: 13px;
    color: var(--muted-2-color, #8b95a7);
}

.gs-lt-cost {
    flex: 0 0 auto;
    text-align: center;
    padding: 8px 16px;
    border-radius: 16px;
    background: var(--gs-glass-tile);
    border: 1px solid var(--gs-glass-brd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    line-height: 1.1;
}

.gs-lt-cost b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #6366f1;
    font-variant-numeric: tabular-nums;
}

.gs-lt-cost span {
    font-size: 11px;
    color: var(--muted-2-color, #8b95a7);
}

.gs-lt-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    gap: 22px;
    align-items: start;
    padding-top: 8px;
}

.gs-lt-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.gs-wheel-wrap {
    position: relative;
    width: min(430px, 78vw);
    margin: 0 auto;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.gs-wheel-ring {
    position: absolute;
    inset: -2.5%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, .55), rgba(236, 72, 153, .5), rgba(56, 189, 248, .5), rgba(99, 102, 241, .55));
    filter: blur(14px);
    opacity: .55;
    animation: gs-ring-spin 18s linear infinite;
}

@keyframes gs-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.gs-wheel {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: transform 4.6s cubic-bezier(.15, .85, .12, 1);
    will-change: transform;
    z-index: 1;
    padding: 8px;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .35), 0 24px 60px -30px rgba(15, 23, 42, .6);
}

.gs-wheel-svg {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.gs-wheel-marker {
    position: absolute;
    left: 50%;
    top: -1.5%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 20px solid #ef4444;
    filter: drop-shadow(0 4px 8px rgba(239, 68, 68, .55));
    z-index: 4;
}

.gs-wheel-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 23%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .9);
    background: linear-gradient(150deg, #6366f1, #a855f7 55%, #ec4899);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 5;
    box-shadow: 0 16px 34px -14px rgba(99, 102, 241, .95), inset 0 2px 6px rgba(255, 255, 255, .45);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gs-wheel-btn span {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
}

.gs-wheel-btn small {
    font-size: 10px;
    opacity: .9;
}

.gs-wheel-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.gs-wheel-btn:disabled {
    opacity: .8;
    cursor: not-allowed;
}

.gs-lottery.is-spinning .gs-wheel-btn {
    animation: gs-btn-pulse 1s ease-in-out infinite;
}

@keyframes gs-btn-pulse {

    0%,
    100% {
        box-shadow: 0 16px 34px -14px rgba(99, 102, 241, .95), 0 0 0 0 rgba(168, 85, 247, .45);
    }

    50% {
        box-shadow: 0 16px 34px -14px rgba(99, 102, 241, .95), 0 0 0 16px rgba(168, 85, 247, 0);
    }
}

.gs-lt-result {
    min-height: 26px;
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
}

.gs-lt-result.is-show {
    opacity: 1;
    transform: translateY(0);
}

.gs-lt-result.is-error {
    color: #ef4444;
}

/* 右侧播报 + 账户 */
.gs-lt-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.gs-lt-panel {
    border-radius: 18px;
    border: 1px solid var(--gs-glass-brd);
    background: var(--gs-glass-tile);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
    padding: 12px 14px;
}

.gs-lt-panel-h {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--key-color, #333);
    margin-bottom: 8px;
}

.gs-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
    animation: gs-pulse 2s ease-in-out infinite;
}

@keyframes gs-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(.9);
    }
}

.gs-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 268px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.gs-feed-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 2px;
    border-bottom: 1px solid var(--gs-glass-line);
}

.gs-feed-item:last-child {
    border-bottom: 0;
}

.gs-feed-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
    background: rgba(127, 127, 127, .15);
}

.gs-feed-txt {
    flex: 1;
    min-width: 0;
    line-height: 1.35;
}

.gs-feed-txt b {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--key-color, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-feed-txt span {
    font-size: 11.5px;
    color: var(--muted-2-color, #8b95a7);
}

.gs-feed-item i {
    font-style: normal;
    font-size: 10.5px;
    color: var(--muted-3-color, #b1b1b1);
    flex: 0 0 auto;
}

.gs-feed-item.is-new {
    animation: gs-feed-in .5s ease;
}

@keyframes gs-feed-in {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.gs-feed-empty {
    padding: 18px 4px;
    text-align: center;
    font-size: 12px;
    color: var(--muted-2-color, #999);
    border: 0 !important;
}

.gs-lt-account {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    text-align: center;
}

.gs-la-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 2px;
}

.gs-la-item span {
    font-size: 11px;
    color: var(--muted-2-color, #999);
}

.gs-la-item b {
    font-size: 16px;
    font-weight: 800;
    color: #6366f1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.2px;
}

.gs-lt-login {
    display: block;
    text-align: center;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(120deg, #6366f1, #8b5cf6);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
}

/* 奖品一览 */
.gs-lt-showcase {
    margin-top: 18px;
}

.gs-lt-showcase-h {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted-2-color, #8b95a7);
    margin-bottom: 10px;
    letter-spacing: .06em;
}

.gs-prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
}

.gs-prize-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 14px;
    background: var(--gs-glass-tile);
    border: 1px solid var(--gs-glass-brd);
    transition: transform .18s ease, box-shadow .18s ease;
}

.gs-prize-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -22px rgba(15, 23, 42, .7);
}

.gs-prize-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    overflow: hidden;
}

.gs-prize-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gs-prize-emoji {
    font-style: normal;
    font-size: 22px;
    line-height: 1;
}

.gs-prize-card b {
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    color: var(--key-color, #333);
    line-height: 1.3;
}

.gs-lt-rules {
    margin: 16px 0 0;
    padding: 12px 16px;
    list-style: none;
    border-radius: 14px;
    background: rgba(127, 127, 127, .06);
    font-size: 12px;
    color: var(--muted-2-color, #8b95a7);
    line-height: 1.9;
}

.gs-lt-rules li::before {
    content: "·";
    margin-right: 6px;
    color: #6366f1;
    font-weight: 900;
}

@media (max-width: 860px) {
    .gs-lt-body {
        grid-template-columns: 1fr;
    }

    .gs-lt-side {
        order: 2;
    }

    .gs-feed {
        max-height: 220px;
    }

    .gs-lottery {
        padding: 18px 14px 16px;
        border-radius: 22px;
    }

    .gs-lt-hero h3 {
        font-size: 21px;
    }

    .gs-wheel-wrap {
        width: min(360px, 84vw);
    }

    .gs-wheel-btn span {
        font-size: 13px;
    }

    .gs-prize-grid {
        grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .gs-wheel-btn small {
        display: none;
    }

    .gs-lt-cost b {
        font-size: 18px;
    }

    .gs-lt-hero h3 {
        font-size: 19px;
    }
}

/* -------------------------------------------------------------------------
   9. 靓号商城（液态玻璃）
   ---------------------------------------------------------------------- */
.gs-vanity {
    padding: 22px;
}

.gs-v-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.gs-v-head h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.5px;
    background: linear-gradient(120deg, var(--key-color, #111), #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gs-v-head p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted-2-color, #8b95a7);
}

.gs-v-account {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}

.gs-v-account > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gs-glass-tile);
    border: 1px solid var(--gs-glass-brd);
    color: var(--muted-2-color, #8b95a7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.gs-v-account b {
    color: #6366f1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.gs-v-mine b {
    color: #10b981;
}

.gs-v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 12px;
}

.gs-v-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 13px 13px 12px;
    border-radius: 18px;
    border: 1px solid var(--gs-glass-brd);
    background: var(--gs-glass-tile);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

.gs-v-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, .45), transparent 46%);
    opacity: .7;
    pointer-events: none;
}

.gs-v-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, .55);
    box-shadow: 0 22px 40px -26px rgba(79, 70, 229, .85), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.gs-v-badges {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 10.5px;
    line-height: 1.7;
}

.gs-v-type,
.gs-v-pay {
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.gs-v-type {
    background: linear-gradient(120deg, rgba(99, 102, 241, .95), rgba(168, 85, 247, .95));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px -6px rgba(99, 102, 241, .9);
}

.gs-v-pay {
    background: rgba(127, 127, 127, .12);
    color: var(--muted-2-color, #8b95a7);
}

.gs-v-no {
    position: relative;
    z-index: 1;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(120deg, #6366f1 10%, #a855f7 50%, #ec4899 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 4px 0 2px;
    text-shadow: 0 8px 20px rgba(99, 102, 241, .18);
}

.gs-v-price {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 9px;
    border-top: 1px dashed var(--gs-glass-line);
    font-size: 11px;
    color: var(--muted-2-color, #999);
}

.gs-v-price b {
    font-size: 14px;
    color: #f04494;
    font-weight: 800;
    white-space: nowrap;
}

.gs-v-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(120deg, #6366f1, #8b5cf6 60%, #ec4899);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: .3px;
    box-shadow: 0 10px 22px -12px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: filter .15s, transform .15s;
}

.gs-v-btn:hover {
    filter: brightness(1.07);
    color: #fff;
    transform: translateY(-1px);
}

.gs-v-btn:disabled {
    opacity: .65;
    cursor: wait;
}

.gs-v-btn.is-own {
    background: rgba(127, 127, 127, .12);
    color: var(--muted-2-color, #888);
    box-shadow: none;
    cursor: default;
}

.gs-v-card.is-sold {
    opacity: .5;
    filter: grayscale(1);
}

.gs-v-card.is-mine {
    border-color: rgba(16, 185, 129, .6);
    background: linear-gradient(160deg, rgba(16, 185, 129, .14), var(--gs-glass-tile));
}

.gs-v-result {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
    min-height: 20px;
}

.gs-v-result.is-error {
    color: #ef4444;
}

@media (max-width: 768px) {
    .gs-vanity {
        padding: 16px 14px;
    }

    .gs-v-head h3 {
        font-size: 20px;
    }

    .gs-v-grid {
        grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
        gap: 10px;
    }

    .gs-v-card {
        padding: 11px 11px 10px;
        border-radius: 15px;
    }

    .gs-v-no {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .gs-v-btn {
        height: 31px;
        font-size: 12px;
    }
}

/* -------------------------------------------------------------------------
   10. 悬赏
   ---------------------------------------------------------------------- */
.gs-bounty-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    background: linear-gradient(120deg, rgba(99, 102, 241, .1), rgba(236, 72, 153, .08));
    border: 1px solid rgba(99, 102, 241, .18);
}

.gs-bounty-box.is-done {
    background: color-mix(in srgb, var(--main-color, #333) 5%, transparent);
    border-color: var(--main-border-color, rgba(0, 0, 0, .06));
}

.gs-bounty-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-size: 17px;
    flex: 0 0 auto;
}

.gs-bounty-main {
    flex: 1;
    min-width: 0;
}

.gs-bounty-title {
    font-size: 14.5px;
    font-weight: 700;
}

.gs-bounty-title b {
    color: var(--theme-color, #f04494);
    font-size: 18px;
    margin: 0 2px;
}

.gs-bounty-sub {
    font-size: 12px;
    color: var(--muted-2-color, #999);
    margin-top: 2px;
}

.gs-bounty-state {
    font-size: 12px;
    font-weight: 600;
    color: #6366f1;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, .12);
    flex: 0 0 auto;
}

.gs-bounty-box.is-done .gs-bounty-state {
    color: var(--muted-2-color, #999);
    background: color-mix(in srgb, var(--main-color, #333) 8%, transparent);
}

.gs-bounty-adopt-wrap {
    margin-top: 8px;
}

.gs-bounty-adopt {
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(120deg, #10b981, #059669);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

/* -------------------------------------------------------------------------
   11. 聊天室（液态玻璃）
   ---------------------------------------------------------------------- */
.gs-chat {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
}

.gs-chat-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gs-glass-line);
}

.gs-chat-head h3 {
    margin: 0;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: -.2px;
    flex: 1;
    color: var(--key-color, #111);
}

.gs-chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
    animation: gs-pulse 2.4s ease-in-out infinite;
}

.gs-chat-online {
    font-size: 11.5px;
    color: var(--muted-2-color, #8b95a7);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(127, 127, 127, .1);
}

.gs-chat-body {
    height: 430px;
    overflow-y: auto;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.gs-chat-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.gs-chat-msg.is-self {
    flex-direction: row-reverse;
}

.gs-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
    background: rgba(127, 127, 127, .15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
}

.gs-chat-main {
    max-width: min(76%, 520px);
    min-width: 0;
}

.gs-chat-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--muted-2-color, #8b95a7);
    margin-bottom: 4px;
}

.gs-chat-msg.is-self .gs-chat-meta {
    justify-content: flex-end;
}

.gs-chat-meta i {
    font-style: normal;
    opacity: .65;
}

.gs-chat-text {
    padding: 10px 14px;
    border-radius: 6px 16px 16px 16px;
    background: var(--gs-glass-tile);
    border: 1px solid var(--gs-glass-brd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
    font-size: 13.5px;
    line-height: 1.72;
    word-break: break-word;
    white-space: pre-wrap;
    color: var(--main-color, #333);
}

.gs-chat-msg.is-self .gs-chat-text {
    border-radius: 16px 6px 16px 16px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px -16px rgba(99, 102, 241, .9);
}

/* 红包 */
.gs-rp {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 13px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .28);
    cursor: pointer;
    text-align: left;
    background: linear-gradient(120deg, #f43f5e, #fb923c);
    color: #fff;
    box-shadow: 0 16px 30px -20px rgba(244, 63, 94, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.gs-rp.is-done {
    background: rgba(127, 127, 127, .14);
    color: var(--muted-2-color, #999);
    box-shadow: none;
    border-color: transparent;
    cursor: default;
}

.gs-rp-ico {
    font-size: 21px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2));
}

.gs-rp-txt {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gs-rp-txt b {
    font-size: 13px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-rp-txt small {
    font-size: 11px;
    opacity: .9;
}

.gs-rp-go {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
    flex: 0 0 auto;
}

.gs-chat-emoji {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    padding: 8px 16px 4px;
    border-top: 1px solid var(--gs-glass-line);
}

.gs-chat-emoji button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.gs-chat-emoji button:hover {
    background: rgba(127, 127, 127, .12);
    transform: translateY(-1px);
}

.gs-chat-foot {
    border-top: 1px solid var(--gs-glass-line);
    padding: 12px 16px 16px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.gs-chat-foot textarea {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    resize: none;
    border-radius: 14px;
    border: 1px solid var(--gs-glass-brd);
    background: var(--gs-glass-tile);
    padding: 11px 13px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--main-color, #333);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: border-color .15s, box-shadow .15s;
}

.gs-chat-foot textarea:focus {
    border-color: rgba(99, 102, 241, .6);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}

.gs-chat-actions {
    display: flex;
    gap: 8px;
}

.gs-chat-send,
.gs-chat-rp-btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    border: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: filter .15s, transform .15s;
}

.gs-chat-send {
    background: linear-gradient(120deg, #6366f1, #8b5cf6 60%, #ec4899);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(99, 102, 241, .95);
}

.gs-chat-send:hover,
.gs-chat-rp-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.gs-chat-rp-btn {
    background: rgba(244, 63, 94, .12);
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, .22);
}

.gs-chat-rp-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 0 16px 16px;
}

.gs-chat-rp-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11.5px;
    color: var(--muted-2-color, #888);
}

.gs-chat-rp-form input {
    width: 108px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--gs-glass-brd);
    padding: 0 10px;
    background: var(--gs-glass-tile);
    color: var(--main-color, #333);
}

.gs-chat-rp-form .gs-rp-note input {
    width: 160px;
}

.gs-chat-login {
    justify-content: center;
    padding: 18px;
}

/* -------------------------------------------------------------------------
   11.1 在线用户（液态玻璃）
   ---------------------------------------------------------------------- */
.gs-online {
    padding: 16px 18px 18px;
    border-radius: 20px;
    border: 1px solid var(--gs-glass-brd);
    background: var(--gs-glass-bg);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 18px 44px -32px rgba(15, 23, 42, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.gs-on-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.gs-on-head b {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: var(--key-color, #111);
}

.gs-on-ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(99, 102, 241, .14);
    color: #6366f1;
}

.gs-on-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(127, 127, 127, .1);
    border: 1px solid var(--gs-glass-brd);
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted-2-color, #8b95a7);
    margin-bottom: 14px;
}

.gs-on-pill b {
    color: #6366f1;
    font-weight: 800;
    margin: 0 2px;
}

.gs-on-num {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .9);
}

.gs-on-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gs-on-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    width: 62px;
}

.gs-on-ava {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .6);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .7), 0 8px 18px -12px rgba(15, 23, 42, .6);
}

.gs-on-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.gs-on-dot {
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--main-bg-color, #fff);
}

.gs-on-user small {
    font-size: 11px;
    color: var(--muted-2-color, #8b95a7);
    max-width: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-on-guest .gs-on-ava {
    background: rgba(127, 127, 127, .12);
    color: var(--muted-2-color, #8b95a7);
}

.gs-on-guest-face {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

/* -------------------------------------------------------------------------
   12. 移动端适配
   ---------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   12. 移动端适配（多断点，覆盖 320 ~ 768）
   ---------------------------------------------------------------------- */
@media (max-width: 768px) {
    .gs-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 2px;
    }

    .gs-stat:nth-child(3n+1)::before {
        display: none;
    }

    .gs-stat:nth-child(n+4) {
        border-top: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
    }

    body.gs-list-card .posts-item.card,
    body.gs-list-card .posts-item.list,
    body.gs-list-glass .posts-item.card,
    body.gs-list-glass .posts-item.list {
        padding: 10px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    body.gs-m-content .posts-item .item-heading,
    body.gs-m-content .posts-item .item-heading a {
        font-size: 15.5px;
    }

    .gs-lottery {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .gs-wheel-wrap {
        width: min(340px, 88vw);
    }

    .gs-wheel-btn span {
        font-size: 13px;
    }

    .gs-lottery-meta {
        gap: 12px;
        font-size: 12px;
    }

    .gs-vanity {
        padding: 16px 14px;
    }

    .gs-vanity-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
        gap: 8px;
    }

    .gs-vanity-no {
        font-size: 18px;
    }

    .gs-chat-body {
        height: 60vh;
        padding: 12px;
        gap: 12px;
    }

    .gs-chat-main {
        max-width: 82%;
    }

    .gs-chat-foot {
        padding: 10px;
        gap: 8px;
    }

    .gs-chat-send,
    .gs-chat-rp-btn {
        height: 38px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .gs-chat-foot textarea {
        min-height: 38px;
    }

    .gs-quick-post-wrap {
        right: 14px;
        bottom: 82px;
    }

    .gs-quick-post {
        height: 40px;
        padding: 0 15px;
        font-size: 13px;
    }

    .gs-bounty-box {
        padding: 12px;
        gap: 10px;
    }

    .gs-bounty-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .gs-bounty-title {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .gs-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gs-stat:nth-child(3n+1)::before {
        display: none;
    }

    .gs-stat:nth-child(n+4) {
        border-top: 1px solid var(--main-border-color, rgba(0, 0, 0, .05));
    }

    .gs-stat b {
        font-size: 16px;
    }

    .gs-chat-avatar {
        width: 28px;
        height: 28px;
    }

    .gs-chat-text {
        font-size: 13px;
        padding: 8px 11px;
    }

    .gs-lottery-head h3 {
        font-size: 17px;
    }

    .gs-wheel-btn span {
        font-size: 12px;
    }

    .gs-wheel-btn small {
        display: none;
    }

    .gs-vanity-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gs-vanity-no {
        font-size: 16px;
        letter-spacing: 0;
    }

    .gs-rp-txt b {
        font-size: 12.5px;
    }

    .gs-quick-post span {
        display: none;
    }

    .gs-quick-post {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50% !important;
    }
}

/* 暗色主题微调（子比使用 body.dark-theme） */
body.dark-theme.gs-on .gs-lottery,
body.dark-theme.gs-on .gs-vanity,
body.dark-theme.gs-on .gs-chat {
    box-shadow: 0 20px 50px -38px rgba(0, 0, 0, .9);
}

body.dark-theme .gs-chat-text {
    background: rgba(255, 255, 255, .07);
}

body.dark-theme .gs-stat b {
    color: var(--key-color, #f8fafc);
}

/* -------------------------------------------------------------------------
   13. 板块多列（仅当设置为 2 / 3 列时生效，宽屏）
   ---------------------------------------------------------------------- */
@media (min-width: 992px) {

    body.gs-cm-cols-2 .plate-lists,
    body.gs-cm-cols-3 .plate-lists {
        display: grid;
        gap: 12px;
        align-items: stretch;
    }

    body.gs-cm-cols-2 .plate-lists {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.gs-cm-cols-3 .plate-lists {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.gs-cm-cols-2 .plate-lists .plate-item,
    body.gs-cm-cols-3 .plate-lists .plate-item {
        margin: 0;
        height: 100%;
    }
}

/* -------------------------------------------------------------------------
   14. 空状态
   ---------------------------------------------------------------------- */
.gs-empty,
.gs-lottery .gs-empty {
    padding: 40px 16px;
    text-align: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--main-color, #333) 4%, transparent);
    color: var(--muted-2-color, #999);
    font-size: 13px;
}

/* -------------------------------------------------------------------------
   15. 兼容回退：不支持 color-mix 的浏览器（Chrome <111 / Safari <16.2）
   ---------------------------------------------------------------------- */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .gs-uid {
        background: rgba(127, 127, 127, .14);
    }

    .gs-floor {
        background: rgba(127, 127, 127, .12);
    }

    .gs-chat-text {
        background: rgba(127, 127, 127, .1);
    }

    .gs-lottery-rules,
    .gs-vanity-item,
    .gs-empty,
    .gs-lottery .gs-empty {
        background: rgba(127, 127, 127, .07);
    }

    .gs-bounty-box.is-done {
        background: rgba(127, 127, 127, .07);
    }

    .gs-bounty-box.is-done .gs-bounty-state {
        background: rgba(127, 127, 127, .12);
    }

    .gs-rp.is-done {
        background: rgba(127, 127, 127, .14);
    }

    body.gs-list-glass .posts-item.card,
    body.gs-list-glass .posts-item.list {
        background: var(--main-bg-color, #fff);
    }

    body.gs-cm .plate-item,
    body.gs-cm .forum-posts,
    body.gs-cm .plate-card {
        background: var(--main-bg-color, #fff);
    }
}

/* -------------------------------------------------------------------------
   16. 用户增强（UID / 侧栏统计）
   ---------------------------------------------------------------------- */
body.gs-m-content .wp-posts-content img,
body.gs-m-content .article-content img {
    border-radius: var(--gs-img-radius);
}

body.gs-img-shadow .wp-posts-content img {
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .45);
}

body.gs-img-hover .wp-posts-content img {
    transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease;
}

@media (hover: hover) {
    body.gs-img-hover .wp-posts-content img:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
    }
}

/* UID 按钮 / 徽章 */
span.gs-uid.but {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
    border: 0;
    line-height: 1.6;
}

span.gs-uid.but:hover {
    filter: brightness(1.05);
}

.gs-uid-badge i {
    margin-right: 3px;
}

.gs-uid-plain {
    cursor: pointer;
}

/* 侧边栏统计卡 */
.gs-side-stats {
    padding: 16px 18px;
}

.gs-side-title {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--key-color, #333);
}

.gs-side-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13px;
    color: var(--muted-2-color, #999);
    border-bottom: 1px dashed var(--main-border-color, rgba(0, 0, 0, .06));
}

.gs-side-row:last-child {
    border-bottom: 0;
}

.gs-side-row b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: var(--key-color, #333);
    font-variant-numeric: tabular-nums;
}

/* 聊天室表情条 */
.gs-chat-emoji {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    padding: 8px 14px 4px;
    border-top: 1px solid var(--main-border-color, rgba(0, 0, 0, .06));
    background: color-mix(in srgb, var(--main-color, #333) 2%, transparent);
}

.gs-chat-emoji button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, transform .15s;
}

.gs-chat-emoji button:hover {
    background: color-mix(in srgb, var(--main-color, #333) 8%, transparent);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .gs-chat-emoji button {
        width: 26px;
        height: 26px;
        font-size: 15px;
    }
}

/* -------------------------------------------------------------------------
   17. 文章前缀胶囊（标题前 · 毛玻璃 + 液态玻璃）
   ---------------------------------------------------------------------- */
body.gs-prefix-title .posts-item .item-heading .gs-prefix-btn,
body.gs-prefix-title .posts-item h2 .gs-prefix-btn,
body.gs-prefix-title .forum-posts .gs-prefix-btn {
    /* 字号恒相对父级标题（1em）再乘比例，并以上限兜底 —— 永远不会大过标题 */
    font-size: min(calc(1em * var(--gs-prefix-ratio, .72)), var(--gs-list-title, 17px));
    font-weight: var(--gs-prefix-bold, 700);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    position: relative;
    box-sizing: border-box;
    padding: .36em .66em;
    margin-right: .5em;
    border-radius: 999px;
    color: #fff;
    letter-spacing: .02em;
    white-space: nowrap;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gs-pfx-c1, #6366f1), var(--gs-pfx-c2, #8b5cf6));
    text-shadow: 0 1px 2px rgba(15, 23, 42, .45), 0 0 1px rgba(15, 23, 42, .28);
    box-shadow: 0 4px 12px -8px rgba(15, 23, 42, .7);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

/* 文字独立一层：水平垂直都居中，且压在玻璃高光之上、保证清晰 */
.gs-prefix-btn .gs-pfx-txt {
    position: relative;
    z-index: 2;
    display: inline-block;
    line-height: 1;
}

/* 液态玻璃：模糊底 + 玻璃描边 + 内高光 + 弧面反光 */
body.gs-prefix-liquid.gs-prefix-title .gs-prefix-btn {
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    backdrop-filter: blur(14px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, .48);
    /* 双声明渐进增强：旧浏览器不支持 color-mix 时退回固定柔光色 */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62),
                inset 0 -1px 0 rgba(255, 255, 255, .18),
                inset 0 0 14px rgba(255, 255, 255, .12),
                0 10px 22px -12px rgba(99, 102, 241, .6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62),
                inset 0 -1px 0 rgba(255, 255, 255, .18),
                inset 0 0 14px rgba(255, 255, 255, .12),
                0 10px 22px -12px color-mix(in srgb, var(--gs-pfx-c2, #8b5cf6) 70%, transparent);
}

body.gs-prefix-liquid.gs-prefix-title .gs-prefix-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .02) 48%, rgba(255, 255, 255, .12) 100%),
                radial-gradient(130% 90% at 8% -10%, rgba(255, 255, 255, .4), transparent 62%);
    pointer-events: none;
    z-index: 1;
}

body.gs-prefix-title .posts-item:hover .gs-prefix-btn {
    transform: translateY(-1px);
    filter: brightness(1.06) saturate(1.06);
}

/* 扫光层 */
.gs-prefix-btn .gs-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .52), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 3;
}

body.gs-prefix-anim .gs-prefix-btn .gs-shine {
    animation: gs-shine 5s ease-in-out infinite;
}

@keyframes gs-shine {
    0%,
    55% { left: -100%; }
    85%,
    100% { left: 160%; }
}

@media (prefers-reduced-motion: reduce) {
    body.gs-prefix-anim .gs-prefix-btn .gs-shine {
        animation: none;
    }
}

/* 多尺寸手机适配：字号跟随标题自动缩放，只微调内边距 */
@media (max-width: 1024px) {
    body.gs-prefix-title .gs-prefix-btn { padding: .34em .6em; margin-right: .46em; }
}
@media (max-width: 768px) {
    body.gs-prefix-title .gs-prefix-btn { padding: .32em .56em; margin-right: .42em; }
}
@media (max-width: 480px) {
    body.gs-prefix-title .gs-prefix-btn { padding: .3em .5em; margin-right: .38em; letter-spacing: 0; }
}
@media (max-width: 380px) {
    body.gs-prefix-title .gs-prefix-btn { padding: .28em .46em; margin-right: .34em; }
}
@media (max-width: 340px) {
    body.gs-prefix-title .gs-prefix-btn { padding: .26em .42em; margin-right: .3em; }
}

/* 横屏矮屏：进一步收紧，避免前缀把标题挤换行 */
@media (max-height: 560px) and (orientation: landscape) {
    body.gs-prefix-title .gs-prefix-btn { padding: .26em .44em; margin-right: .32em; }
}

/* 标题前缀模式下，隐藏标签行里重复的分类标签 */
body.gs-prefix-hide-tag .posts-item .item-tags a.but:not(.meta-pay) {
    display: none !important;
}

/* 抽奖账户条 */
.gs-lottery-account {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0 6px;
    padding: 12px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--main-color, #333) 4%, transparent);
}

.gs-la-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.gs-la-item span {
    font-size: 11.5px;
    color: var(--muted-2-color, #999);
}

.gs-la-item b {
    font-size: 17px;
    font-weight: 700;
    color: var(--theme-color, #f04494);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.2px;
}

@media (max-width: 480px) {
    .gs-la-item b {
        font-size: 15px;
    }

    .gs-lottery-account {
        padding: 10px 6px;
        gap: 4px;
    }
}

/* =========================================================================
   v1.3 · 幸运抽奖（高级舞台版 / 液态玻璃 + 全尺寸手机适配）
   所有选择器均以 .gs-lt-v3 限定，优先级高于旧版规则
   ====================================================================== */
.gs-lottery.gs-lt-v3,
.gs-lottery.gs-lt-v3 * {
    box-sizing: border-box;
}

.gs-lottery.gs-lt-v3 {
    position: relative;
    isolation: isolate;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(18px, 2.4vw, 34px) clamp(16px, 2.6vw, 36px) clamp(16px, 2.2vw, 28px);
    border-radius: clamp(20px, 2.4vw, 32px);
    overflow: hidden;
    color: var(--main-color, #1f2430);
}

/* 背景光晕（液态玻璃底层） */
.gs-lt-v3 .gs-lt-aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.gs-lt-v3 .gs-lt-aurora i {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(58px);
    opacity: .55;
}

.gs-lt-v3 .gs-lt-aurora i:nth-child(1) {
    width: 46%;
    height: 62%;
    top: -26%;
    left: -8%;
    background: radial-gradient(circle, rgba(99, 102, 241, .85), transparent 70%);
}

.gs-lt-v3 .gs-lt-aurora i:nth-child(2) {
    width: 44%;
    height: 58%;
    top: -18%;
    right: -8%;
    background: radial-gradient(circle, rgba(236, 72, 153, .75), transparent 70%);
}

.gs-lt-v3 .gs-lt-aurora i:nth-child(3) {
    width: 56%;
    height: 48%;
    bottom: -30%;
    left: 24%;
    background: radial-gradient(circle, rgba(56, 189, 248, .6), transparent 72%);
    opacity: .38;
}

body.dark-theme .gs-lt-v3 .gs-lt-aurora i { opacity: .32; }

/* ---------- Hero ---------- */
.gs-lt-v3 .gs-lt-hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 28px);
    padding-bottom: clamp(14px, 1.8vw, 22px);
    border-bottom: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .08));
}

.gs-lt-v3 .gs-lt-hero-main { min-width: 0; flex: 1 1 auto; }

.gs-lt-v3 .gs-lt-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .26em;
    color: var(--muted-2-color, #8b95a7);
    margin-bottom: 8px;
}

.gs-lt-v3 .gs-lt-kicker > i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .16);
}

.gs-lt-v3 .gs-lt-kicker-sep { opacity: .4; margin: 0 1px; }

.gs-lt-v3 .gs-lt-hero h3 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3.1vw, 38px);
    font-weight: 900;
    letter-spacing: -.8px;
    line-height: 1.16;
    background: linear-gradient(105deg, var(--key-color, #111) 8%, #6366f1 52%, #c026d3 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gs-lt-v3 .gs-lt-hero p {
    margin: 0;
    font-size: clamp(12px, 1.1vw, 14px);
    line-height: 1.6;
    color: var(--muted-2-color, #8b95a7);
    overflow-wrap: anywhere;
}

.gs-lt-v3 .gs-lt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.gs-lt-v3 .gs-lt-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted-2-color, #8b95a7);
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    white-space: nowrap;
}

.gs-lt-v3 .gs-lt-chip b { color: #6366f1; font-weight: 800; font-variant-numeric: tabular-nums; }
.gs-lt-v3 .gs-lt-chip-live { color: #0f766e; }
.gs-lt-v3 .gs-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
    animation: gs-pulse 2s ease-in-out infinite;
    flex: 0 0 auto;
}

.gs-lt-v3 .gs-lt-cost-card {
    position: relative;
    flex: 0 0 auto;
    min-width: 118px;
    padding: 14px 18px 12px;
    text-align: center;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .28));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 18px 36px -26px rgba(79, 70, 229, .85);
    overflow: hidden;
}

body.dark-theme .gs-lt-v3 .gs-lt-cost-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03));
}

.gs-lt-v3 .gs-lt-cost-card > span {
    display: block;
    font-size: 11px;
    color: var(--muted-2-color, #8b95a7);
    letter-spacing: .08em;
}

.gs-lt-v3 .gs-lt-cost-card > b {
    display: block;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4f46e5, #a855f7 60%, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.gs-lt-v3 .gs-lt-cost-card > small {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .28em;
    color: var(--muted-3-color, #b1b1b1);
}

.gs-lt-v3 .gs-lt-cost-shine {
    position: absolute;
    top: -40%;
    left: -60%;
    width: 45%;
    height: 180%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
    transform: skewX(-18deg);
    animation: gs-cost-shine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gs-cost-shine {
    0%, 62% { left: -60%; }
    88%, 100% { left: 140%; }
}

/* ---------- 主体 ---------- */
.gs-lt-v3 .gs-lt-body {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
    gap: clamp(16px, 2vw, 30px);
    align-items: start;
    padding-top: clamp(14px, 1.8vw, 24px);
}

.gs-lt-v3 .gs-lt-stage,
.gs-lt-v3 .gs-lt-side {
    min-width: 0;
    max-width: 100%;
}

.gs-lt-v3 .gs-lt-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gs-lt-v3 .gs-lt-stage-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-size: 11.5px;
}

.gs-lt-v3 .gs-lt-stage-title {
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--key-color, #111);
}

.gs-lt-v3 .gs-lt-stage-tip {
    color: var(--muted-2-color, #8b95a7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- 转盘 ---------- */
.gs-lt-v3 .gs-wheel-wrap {
    position: relative;
    width: min(100%, 430px);
    margin: 0 auto;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.gs-lt-v3 .gs-wheel-halo {
    position: absolute;
    inset: -6%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(99, 102, 241, .5), rgba(236, 72, 153, .45), rgba(56, 189, 248, .45), rgba(250, 204, 21, .4), rgba(99, 102, 241, .5));
    filter: blur(30px);
    opacity: .5;
    animation: gs-ring-spin 22s linear infinite;
}

.gs-lt-v3 .gs-wheel-ring {
    position: absolute;
    inset: -2.5%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .28);
    pointer-events: none;
}

.gs-lt-v3 .gs-wheel {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transition: transform 4.6s cubic-bezier(.15, .85, .12, 1);
    will-change: transform;
    z-index: 1;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 28px 64px -34px rgba(15, 23, 42, .85), inset 0 0 0 1px rgba(255, 255, 255, .4);
    padding: 6px;
}

.gs-lt-v3 .gs-wheel-svg { width: 100%; height: 100%; display: block; border-radius: 50%; }

.gs-lt-v3 .gs-wheel-marker {
    position: absolute;
    left: 50%;
    top: -1%;
    transform: translateX(-50%);
    width: 26px;
    height: 34px;
    z-index: 4;
    filter: drop-shadow(0 6px 10px rgba(239, 68, 68, .55));
}

.gs-lt-v3 .gs-wheel-marker::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #fecaca, #ef4444 55%, #b91c1c);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    border-radius: 4px 4px 12px 12px;
}

.gs-lt-v3 .gs-wheel-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .9);
}

.gs-lt-v3 .gs-wheel-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22%;
    max-width: 96px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .92);
    background: linear-gradient(150deg, #6366f1, #a855f7 52%, #ec4899);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 5;
    box-shadow: 0 16px 36px -14px rgba(99, 102, 241, .95), inset 0 2px 8px rgba(255, 255, 255, .45), 0 0 0 6px rgba(255, 255, 255, .16);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.gs-lt-v3 .gs-wheel-btn span { font-size: clamp(12px, 1.3vw, 16px); font-weight: 900; letter-spacing: .5px; }
.gs-lt-v3 .gs-wheel-btn small { font-size: 9.5px; opacity: .9; }
.gs-lt-v3 .gs-wheel-btn:hover { transform: translate(-50%, -50%) scale(1.06); filter: brightness(1.06); }
.gs-lt-v3 .gs-wheel-btn:disabled { opacity: .82; cursor: wait; }
.gs-lt-v3 .gs-wheel-btn.is-loading span { animation: gs-btn-blink 1s ease-in-out infinite; }

@keyframes gs-btn-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.gs-lt-v3.is-spinning .gs-wheel-btn {
    animation: gs-btn-pulse 1.1s ease-in-out infinite;
}

@keyframes gs-btn-pulse {
    0%, 100% { box-shadow: 0 16px 36px -14px rgba(99, 102, 241, .95), 0 0 0 6px rgba(168, 85, 247, .22); }
    50% { box-shadow: 0 16px 36px -14px rgba(99, 102, 241, .95), 0 0 0 18px rgba(168, 85, 247, 0); }
}

/* 中奖浮层 */
.gs-lt-v3 .gs-lt-win {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: grid;
    place-items: center;
    padding: 16px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    opacity: 0;
    transition: opacity .25s ease;
}

.gs-lt-v3 .gs-lt-win.is-show { opacity: 1; }

.gs-lt-v3 .gs-lt-win-inner {
    width: min(78%, 250px);
    padding: 18px 16px 16px;
    border-radius: 24px;
    text-align: center;
    background: linear-gradient(155deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .72));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .9), inset 0 1px 0 #fff;
    transform: scale(.86) translateY(10px);
    transition: transform .32s cubic-bezier(.2, .9, .3, 1.2);
}

.gs-lt-v3 .gs-lt-win.is-show .gs-lt-win-inner { transform: scale(1) translateY(0); }

body.dark-theme .gs-lt-v3 .gs-lt-win-inner {
    background: linear-gradient(155deg, rgba(38, 40, 54, .95), rgba(28, 30, 42, .9));
    border-color: rgba(255, 255, 255, .14);
    color: #f8fafc;
}

.gs-lt-v3 .gs-lt-win-kicker {
    display: block;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .24em;
    color: #6366f1;
    margin-bottom: 6px;
}

.gs-lt-v3 .gs-lt-win-icon { font-size: 38px; line-height: 1.1; }
.gs-lt-v3 .gs-lt-win-inner > b { display: block; font-size: 19px; font-weight: 900; margin: 4px 0 2px; }
.gs-lt-v3 .gs-lt-win-sub { display: block; font-size: 12px; color: var(--muted-2-color, #8b95a7); overflow-wrap: anywhere; }

.gs-lt-v3 .gs-lt-win-close {
    margin-top: 12px;
    min-height: 34px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(120deg, #6366f1, #a855f7 60%, #ec4899);
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
}

.gs-lt-v3 .gs-lt-result {
    min-height: 24px;
    width: 100%;
    font-size: 13px;
    font-weight: 700;
    color: #0f766e;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s, transform .25s;
    overflow-wrap: anywhere;
}

.gs-lt-v3 .gs-lt-result.is-show { opacity: 1; transform: none; }
.gs-lt-v3 .gs-lt-result.is-error { color: #e11d48; }

/* ---------- 侧栏 ---------- */
.gs-lt-v3 .gs-lt-side { display: flex; flex-direction: column; gap: 12px; }

.gs-lt-v3 .gs-lt-panel {
    min-width: 0;
    border-radius: 20px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 16px 40px -32px rgba(15, 23, 42, .7);
    padding: 14px;
}

.gs-lt-v3 .gs-lt-panel-h {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--key-color, #111);
    margin-bottom: 12px;
}

.gs-lt-v3 .gs-lt-panel-h em {
    margin-left: auto;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--muted-3-color, #b1b1b1);
}

.gs-lt-v3 .gs-la-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.gs-lt-v3 .gs-la-item {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 4px 8px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .32);
    border: 1px solid rgba(255, 255, 255, .45);
}

body.dark-theme .gs-lt-v3 .gs-la-item { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .08); }

.gs-lt-v3 .gs-la-item span { font-size: 10.5px; color: var(--muted-2-color, #8b95a7); white-space: nowrap; }

.gs-lt-v3 .gs-la-item b {
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 900;
    color: #4f46e5;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-lt-v3 .gs-la-item i { font-style: normal; font-size: 8.5px; letter-spacing: .14em; color: var(--muted-3-color, #b1b1b1); }

.gs-lt-v3 .gs-lt-quota {
    height: 5px;
    border-radius: 99px;
    background: rgba(127, 127, 127, .18);
    overflow: hidden;
    margin-top: 12px;
}

.gs-lt-v3 .gs-lt-quota-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    transition: width .5s ease;
}

.gs-lt-v3 .gs-lt-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 14px;
    background: linear-gradient(120deg, #6366f1, #8b5cf6 60%, #ec4899);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

/* 中奖播报窗口 */
.gs-lt-v3 .gs-feed-window {
    position: relative;
    height: clamp(180px, 22vw, 268px);
    overflow: hidden;
    border-radius: 14px;
}

.gs-lt-v3 .gs-feed-window::before,
.gs-lt-v3 .gs-feed-window::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 22px;
    z-index: 2;
    pointer-events: none;
}

.gs-lt-v3 .gs-feed-window::before { top: 0; background: linear-gradient(180deg, var(--gs-glass-tile, rgba(255, 255, 255, .45)), transparent); }
.gs-lt-v3 .gs-feed-window::after { bottom: 0; background: linear-gradient(0deg, var(--gs-glass-tile, rgba(255, 255, 255, .45)), transparent); }

.gs-lt-v3 .gs-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    will-change: transform;
}

.gs-lt-v3 .gs-feed.is-marquee { animation: gs-feed-scroll var(--gs-feed-duration, 34s) linear infinite; }

.gs-lt-v3 .gs-feed-window:hover .gs-feed.is-marquee { animation-play-state: paused; }

@keyframes gs-feed-scroll {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.gs-lt-v3 .gs-feed-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 4px;
    border-bottom: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .07));
    min-width: 0;
}

.gs-lt-v3 .gs-feed-item img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex: 0 0 auto;
    object-fit: cover;
    background: rgba(127, 127, 127, .15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .6);
}

.gs-lt-v3 .gs-feed-txt { flex: 1 1 auto; min-width: 0; line-height: 1.35; }

.gs-lt-v3 .gs-feed-txt b {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--key-color, #111);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-lt-v3 .gs-feed-txt span { font-size: 11px; color: var(--muted-2-color, #8b95a7); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-lt-v3 .gs-feed-txt em { font-style: normal; color: #6366f1; font-weight: 600; }

.gs-lt-v3 .gs-feed-right { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; gap: 2px; }
.gs-lt-v3 .gs-feed-right strong { font-size: 11px; font-weight: 800; color: #0f766e; white-space: nowrap; }
.gs-lt-v3 .gs-feed-right i { font-style: normal; font-size: 9.5px; color: var(--muted-3-color, #b1b1b1); white-space: nowrap; }

.gs-lt-v3 .gs-feed-item.is-new { animation: gs-feed-in .6s ease; }
@keyframes gs-feed-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.gs-lt-v3 .gs-feed-empty {
    padding: 30px 8px;
    text-align: center;
    font-size: 12px;
    color: var(--muted-2-color, #999);
    border: 0 !important;
}

/* ---------- 奖品一览 ---------- */
.gs-lt-v3 .gs-lt-showcase { margin-top: clamp(18px, 2.2vw, 30px); }

.gs-lt-v3 .gs-lt-sec-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.gs-lt-v3 .gs-lt-sec-head h4 { margin: 0; font-size: 14px; font-weight: 900; letter-spacing: -.2px; color: var(--key-color, #111); }
.gs-lt-v3 .gs-lt-sec-head span { font-size: 9.5px; font-weight: 800; letter-spacing: .18em; color: var(--muted-3-color, #b1b1b1); }

.gs-lt-v3 .gs-prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(88px, 10vw, 118px), 1fr));
    gap: clamp(8px, 1vw, 12px);
}

.gs-lt-v3 .gs-prize-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 6px 11px;
    border-radius: 18px;
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}

.gs-lt-v3 .gs-prize-card:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px rgba(79, 70, 229, .9), inset 0 1px 0 rgba(255, 255, 255, .8); }

.gs-lt-v3 .gs-prize-index {
    position: absolute;
    top: 7px;
    left: 9px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--muted-3-color, #b1b1b1);
}

.gs-lt-v3 .gs-prize-thumb {
    width: clamp(40px, 4.4vw, 52px);
    height: clamp(40px, 4.4vw, 52px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35));
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px -12px rgba(15, 23, 42, .6);
    overflow: hidden;
}

.gs-lt-v3 .gs-prize-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gs-lt-v3 .gs-prize-emoji { font-style: normal; font-size: clamp(20px, 2.2vw, 26px); line-height: 1; }

.gs-lt-v3 .gs-prize-card b {
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    color: var(--key-color, #111);
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.gs-lt-v3 .gs-prize-card small { font-size: 10px; color: var(--muted-2-color, #8b95a7); white-space: nowrap; }

/* ---------- 规则 ---------- */
.gs-lt-v3 .gs-lt-rules {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: clamp(16px, 2vw, 24px) 0 0;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(127, 127, 127, .07);
    border: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .06));
}

.gs-lt-v3 .gs-lt-rules-ico { color: #6366f1; font-size: 14px; line-height: 1.7; }
.gs-lt-v3 .gs-lt-rules ul { margin: 0; padding: 0; list-style: none; font-size: 11.5px; line-height: 1.85; color: var(--muted-2-color, #8b95a7); }
.gs-lt-v3 .gs-lt-rules li::before { content: "·"; margin-right: 6px; color: #6366f1; font-weight: 900; }
.gs-lt-v3 .gs-lt-rules b { color: var(--key-color, #111); }

/* =========================================================================
   抽奖 · 移动端全尺寸适配（320 / 360 / 375 / 390 / 414 / 430 / 600 / 768 / 1024）
   ====================================================================== */
@media (max-width: 1024px) {
    .gs-lt-v3 .gs-lt-body { grid-template-columns: 1fr; gap: 18px; }
    .gs-lt-v3 .gs-lt-side { order: 2; }
    .gs-lt-v3 .gs-lt-stage { order: 1; }
    .gs-lt-v3 .gs-wheel-wrap { width: min(100%, 400px); }
    .gs-lt-v3 .gs-feed-window { height: 210px; }
    .gs-lt-v3 .gs-lt-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .gs-lt-v3 .gs-lt-feed-panel { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .gs-lottery.gs-lt-v3 { padding: 18px 14px 16px; border-radius: 22px; }
    .gs-lt-v3 .gs-lt-hero { flex-direction: column; align-items: stretch; gap: 12px; }
    .gs-lt-v3 .gs-lt-cost-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-width: 0;
        width: 100%;
        padding: 10px 14px;
        border-radius: 16px;
        text-align: left;
    }
    .gs-lt-v3 .gs-lt-cost-card > span { font-size: 11px; }
    .gs-lt-v3 .gs-lt-cost-card > b { font-size: 22px; margin-left: auto; }
    .gs-lt-v3 .gs-lt-cost-card > small { display: none; }
    .gs-lt-v3 .gs-lt-chips { margin-top: 10px; }
    .gs-lt-v3 .gs-lt-stage-tip { display: none; }
    .gs-lt-v3 .gs-wheel-wrap { width: min(100%, 360px); }
    .gs-lt-v3 .gs-lt-side { display: flex; flex-direction: column; }
    .gs-lt-v3 .gs-feed-window { height: 190px; }
    .gs-lt-v3 .gs-prize-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

@media (max-width: 600px) {
    .gs-lt-v3 .gs-lt-hero h3 { font-size: 24px; }
    .gs-lt-v3 .gs-prize-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gs-lt-v3 .gs-lt-sec-head span { display: none; }
    .gs-lt-v3 .gs-lt-rules { padding: 10px 12px; }
}

@media (max-width: 480px) {
    .gs-lottery.gs-lt-v3 { padding: 16px 12px 14px; border-radius: 18px; }
    .gs-lt-v3 .gs-lt-hero h3 { font-size: 21px; }
    .gs-lt-v3 .gs-lt-hero p { font-size: 12px; }
    .gs-lt-v3 .gs-lt-kicker { font-size: 9px; letter-spacing: .18em; }
    .gs-lt-v3 .gs-lt-kicker-sep { display: none; }
    .gs-lt-v3 .gs-lt-chip { font-size: 10.5px; padding: 4px 9px; }
    .gs-lt-v3 .gs-wheel-wrap { width: 100%; }
    .gs-lt-v3 .gs-wheel-btn span { font-size: 12px; }
    .gs-lt-v3 .gs-wheel-btn small { display: none; }
    .gs-lt-v3 .gs-lt-panel { padding: 12px 11px; border-radius: 16px; }
    .gs-lt-v3 .gs-la-item { padding: 8px 2px 6px; }
    .gs-lt-v3 .gs-la-item span { font-size: 9.5px; }
    .gs-lt-v3 .gs-la-item b { font-size: 15px; }
    .gs-lt-v3 .gs-prize-card { padding: 12px 4px 9px; border-radius: 14px; }
    .gs-lt-v3 .gs-prize-index { display: none; }
    .gs-lt-v3 .gs-feed-window { height: 176px; }
    .gs-lt-v3 .gs-lt-win-inner { width: 84%; padding: 14px 12px 12px; }
}

@media (max-width: 380px) {
    .gs-lottery.gs-lt-v3 { padding: 14px 10px 12px; }
    .gs-lt-v3 .gs-lt-hero h3 { font-size: 19px; }
    .gs-lt-v3 .gs-lt-chips { gap: 5px; }
    .gs-lt-v3 .gs-lt-chip { font-size: 10px; padding: 3px 7px; }
    .gs-lt-v3 .gs-lt-stage-title { font-size: 11px; }
    .gs-lt-v3 .gs-prize-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .gs-lt-v3 .gs-prize-card b { font-size: 11px; }
    .gs-lt-v3 .gs-la-item b { font-size: 13.5px; }
    .gs-lt-v3 .gs-la-item span { font-size: 9px; }
    .gs-lt-v3 .gs-feed-right strong { font-size: 10px; }
    .gs-lt-v3 .gs-lt-rules ul { font-size: 11px; }
    .gs-lt-v3 .gs-lt-win-icon { font-size: 30px; }
    .gs-lt-v3 .gs-lt-win-inner > b { font-size: 16px; }
}

@media (max-width: 340px) {
    .gs-lt-v3 .gs-lt-cost-card > span { font-size: 10px; }
    .gs-lt-v3 .gs-lt-cost-card > b { font-size: 19px; }
    .gs-lt-v3 .gs-lt-panel-h em { display: none; }
    .gs-lt-v3 .gs-feed-item { gap: 6px; }
    .gs-lt-v3 .gs-feed-item img { width: 26px; height: 26px; }
}

/* 横屏矮屏：避免转盘撑满整屏 */
@media (max-height: 560px) and (orientation: landscape) and (max-width: 900px) {
    .gs-lt-v3 .gs-wheel-wrap { width: min(100%, 300px); }
    .gs-lt-v3 .gs-feed-window { height: 150px; }
}

/* 刘海屏安全区 */
@supports (padding: env(safe-area-inset-left)) {
    .gs-lottery.gs-lt-v3 {
        padding-left: max(clamp(16px, 2.6vw, 36px), env(safe-area-inset-left));
        padding-right: max(clamp(16px, 2.6vw, 36px), env(safe-area-inset-right));
    }
    @media (max-width: 480px) {
        .gs-lottery.gs-lt-v3 {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-lt-v3 .gs-lt-aurora i,
    .gs-lt-v3 .gs-wheel-halo,
    .gs-lt-v3 .gs-lt-cost-shine,
    .gs-lt-v3 .gs-feed.is-marquee,
    .gs-lt-v3 .gs-live-dot,
    .gs-lt-v3.is-spinning .gs-wheel-btn {
        animation: none !important;
    }
    .gs-lt-v3 .gs-wheel { transition-duration: .8s; }
}

/* =========================================================================
   v1.3 · 靓号商城（高级版 / 购买后可见 / 液态玻璃）
   ====================================================================== */
.gs-vanity.gs-v3,
.gs-vanity.gs-v3 *,
.gs-front-toast { box-sizing: border-box; }

.gs-vanity.gs-v3 {
    position: relative;
    isolation: isolate;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(18px, 2.4vw, 34px) clamp(16px, 2.6vw, 36px) clamp(16px, 2.2vw, 28px);
    border-radius: clamp(20px, 2.4vw, 32px);
    overflow: hidden;
    color: var(--main-color, #1f2430);
}

.gs-v3 .gs-v-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gs-v3 .gs-v-aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(60px); opacity: .5; }
.gs-v3 .gs-v-aurora i:nth-child(1) { width: 44%; height: 60%; top: -28%; left: -6%; background: radial-gradient(circle, rgba(245, 158, 11, .8), transparent 70%); }
.gs-v3 .gs-v-aurora i:nth-child(2) { width: 42%; height: 56%; top: -16%; right: -8%; background: radial-gradient(circle, rgba(225, 29, 72, .7), transparent 70%); }
.gs-v3 .gs-v-aurora i:nth-child(3) { width: 54%; height: 46%; bottom: -30%; left: 26%; background: radial-gradient(circle, rgba(139, 92, 246, .58), transparent 72%); opacity: .34; }
body.dark-theme .gs-v3 .gs-v-aurora i { opacity: .3; }

/* ---------- Hero ---------- */
.gs-v3 .gs-v-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 26px);
    padding-bottom: clamp(14px, 1.8vw, 22px);
    border-bottom: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .08));
}

.gs-v3 .gs-v-hero-main { min-width: 0; flex: 1 1 auto; }

.gs-v3 .gs-v-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .22em;
    color: #b45309;
    margin-bottom: 8px;
}
.gs-v3 .gs-v-kicker b { font-size: 8px; opacity: .6; }
body.dark-theme .gs-v3 .gs-v-kicker { color: #fbbf24; }

.gs-v3 .gs-v-hero h3 {
    margin: 0 0 6px;
    font-size: clamp(24px, 3.1vw, 38px);
    font-weight: 900;
    letter-spacing: -.8px;
    line-height: 1.16;
    background: linear-gradient(105deg, var(--key-color, #111) 6%, #d97706 44%, #db2777 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gs-v3 .gs-v-hero p { margin: 0; font-size: clamp(12px, 1.1vw, 14px); line-height: 1.6; color: var(--muted-2-color, #8b95a7); }

.gs-v3 .gs-v-wallet { display: flex; gap: 8px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }

.gs-v3 .gs-v-wallet-item {
    position: relative;
    min-width: 104px;
    padding: 10px 14px 9px;
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .28));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    text-align: center;
}
body.dark-theme .gs-v3 .gs-v-wallet-item { background: linear-gradient(155deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); }
.gs-v3 .gs-v-wallet-item span { display: block; font-size: 10.5px; color: var(--muted-2-color, #8b95a7); }
.gs-v3 .gs-v-wallet-item b { display: block; font-size: 20px; font-weight: 900; color: #b45309; font-variant-numeric: tabular-nums; letter-spacing: -.4px; }
.gs-v3 .gs-v-wallet-item i { font-style: normal; font-size: 8.5px; letter-spacing: .14em; color: var(--muted-3-color, #b1b1b1); }

.gs-v3 .gs-v-login {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 46px; padding: 0 18px; border-radius: 14px;
    background: linear-gradient(120deg, #f59e0b, #ef4444);
    color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none;
}

/* ---------- 通用小标题 ---------- */
.gs-v3 .gs-v-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.gs-v3 .gs-v-sec-head h4 { margin: 0; font-size: 14px; font-weight: 900; color: var(--key-color, #111); letter-spacing: -.2px; }
.gs-v3 .gs-v-sec-head span { font-size: 9.5px; font-weight: 800; letter-spacing: .16em; color: var(--muted-3-color, #b1b1b1); }

/* ---------- 我的靓号 ---------- */
.gs-v3 .gs-v-mine-box {
    margin-top: clamp(16px, 2vw, 24px);
    padding: clamp(14px, 1.8vw, 20px);
    border-radius: 22px;
    border: 1px solid rgba(245, 158, 11, .32);
    background: linear-gradient(145deg, rgba(251, 191, 36, .16), rgba(255, 255, 255, .36) 55%, rgba(236, 72, 153, .1));
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 18px 40px -32px rgba(180, 83, 9, .85);
}
body.dark-theme .gs-v3 .gs-v-mine-box { background: linear-gradient(145deg, rgba(251, 191, 36, .12), rgba(255, 255, 255, .04) 55%, rgba(236, 72, 153, .08)); }

.gs-v3 .gs-v-mine-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(180px, 22vw, 260px), 1fr)); gap: 12px; }

.gs-v3 .gs-v-mine-card {
    position: relative;
    padding: 14px 16px 12px;
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .38));
    border: 1px solid rgba(255, 255, 255, .8);
    box-shadow: inset 0 1px 0 #fff, 0 16px 32px -26px rgba(120, 53, 15, .9);
    overflow: hidden;
}
.gs-v3 .gs-v-mine-card.is-active { border-color: rgba(245, 158, 11, .6); }
body.dark-theme .gs-v3 .gs-v-mine-card { background: linear-gradient(150deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); border-color: rgba(255, 255, 255, .14); }

.gs-v3 .gs-v-mine-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gs-v3 .gs-v-mine-state { font-size: 10px; font-weight: 700; color: #0f766e; white-space: nowrap; }
.gs-v3 .gs-v-mine-no {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(115deg, #b45309, #f59e0b 40%, #ec4899 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 26px rgba(245, 158, 11, .22);
    overflow-wrap: anywhere;
}
.gs-v3 .gs-v-mine-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--muted-2-color, #8b95a7); border-top: 1px dashed rgba(127, 127, 127, .22); padding-top: 8px; }

.gs-v3 .gs-v-mine-empty {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 6px 2px;
}
.gs-v3 .gs-v-mine-empty-ico { font-size: 26px; flex: 0 0 auto; }
.gs-v3 .gs-v-mine-empty > div { flex: 1 1 180px; min-width: 0; }
.gs-v3 .gs-v-mine-empty b { display: block; font-size: 13.5px; font-weight: 800; color: var(--key-color, #111); }
.gs-v3 .gs-v-mine-empty small { display: block; font-size: 11.5px; color: var(--muted-2-color, #8b95a7); margin-top: 2px; }
.gs-v3 .gs-v-mine-login,
.gs-v3 .gs-v-mine-pick {
    flex: 0 0 auto; min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
    background: linear-gradient(120deg, #f59e0b, #ef4444); color: #fff;
    font-size: 12px; font-weight: 800; text-decoration: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- 工具栏 ---------- */
.gs-v3 .gs-v-toolbar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin: clamp(18px, 2.2vw, 28px) 0 14px;
}
.gs-v3 .gs-v-search {
    position: relative; display: flex; align-items: center; gap: 8px;
    flex: 1 1 220px; min-width: 0; max-width: 340px;
    height: 42px; padding: 0 12px;
    border-radius: 14px;
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
    color: var(--muted-2-color, #8b95a7);
    transition: border-color .18s, box-shadow .18s;
}
.gs-v3 .gs-v-search:focus-within { border-color: rgba(245, 158, 11, .7); box-shadow: 0 0 0 4px rgba(245, 158, 11, .14); }
.gs-v3 .gs-v-search svg { flex: 0 0 auto; }
.gs-v3 .gs-v-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; color: var(--main-color, #333); }
.gs-v3 .gs-v-search input::-webkit-search-cancel-button { display: none; }
.gs-v3 .gs-v-search-clear { flex: 0 0 auto; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .15); color: inherit; cursor: pointer; font-size: 15px; line-height: 1; }

.gs-v3 .gs-v-filters { display: flex; gap: 6px; flex-wrap: wrap; flex: 1 1 auto; min-width: 0; }
.gs-v3 .gs-v-filters button {
    min-height: 32px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    color: var(--muted-2-color, #8b95a7);
    font-size: 11.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: all .18s ease;
}
.gs-v3 .gs-v-filters button:hover { transform: translateY(-1px); color: var(--key-color, #111); }
.gs-v3 .gs-v-filters button.is-active {
    background: linear-gradient(120deg, #f59e0b, #ef4444);
    border-color: transparent; color: #fff;
    box-shadow: 0 8px 18px -10px rgba(239, 68, 68, .9);
}

.gs-v3 .gs-v-sort {
    flex: 0 0 auto; height: 38px; padding: 0 10px; border-radius: 12px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    color: var(--main-color, #333); font-size: 12px; outline: none;
}

/* ---------- 卡片 ---------- */
.gs-v3 .gs-v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 15vw, 190px), 1fr));
    gap: clamp(9px, 1.1vw, 14px);
}

.gs-v3 .gs-v-card {
    position: relative; min-width: 0;
    display: flex; flex-direction: column; gap: 9px;
    padding: 14px 14px 12px;
    border-radius: 20px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: linear-gradient(155deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .3));
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 16px 36px -30px rgba(15, 23, 42, .8);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body.dark-theme .gs-v3 .gs-v-card { background: linear-gradient(155deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }

.gs-v3 .gs-v-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(140deg, rgba(255, 255, 255, .5), transparent 44%);
    opacity: .55;
}
.gs-v3 .gs-v-card:hover { transform: translateY(-5px); border-color: rgba(245, 158, 11, .6); box-shadow: 0 26px 46px -28px rgba(180, 83, 9, .9), inset 0 1px 0 rgba(255, 255, 255, .9); }

.gs-v3 .gs-v-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.gs-v3 .gs-v-type, .gs-v3 .gs-v-pay { padding: 3px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; line-height: 1.5; }
.gs-v3 .gs-v-type { background: linear-gradient(120deg, #f59e0b, #ef4444); color: #fff; box-shadow: 0 4px 10px -6px rgba(239, 68, 68, .9); }
.gs-v3 .gs-v-pay { background: rgba(127, 127, 127, .13); color: var(--muted-2-color, #8b95a7); }

.gs-v3 .gs-v-no-wrap { position: relative; z-index: 1; text-align: center; padding: 2px 0 0; }
.gs-v3 .gs-v-no {
    position: relative; z-index: 1;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    letter-spacing: .06em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(115deg, #b45309 6%, #f59e0b 38%, #db2777 94%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow-wrap: anywhere;
}
.gs-v3 .gs-v-no-glow {
    position: absolute; left: 50%; top: 50%; width: 70%; height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 158, 11, .35), transparent 70%);
    filter: blur(14px); pointer-events: none;
}

.gs-v3 .gs-v-meta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 9px; border-top: 1px dashed rgba(127, 127, 127, .24); font-size: 11px; color: var(--muted-2-color, #999); }
.gs-v3 .gs-v-meta b { font-size: 14px; font-weight: 900; color: #be123c; white-space: nowrap; }

.gs-v3 .gs-v-btn {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; border-radius: 999px; border: 0;
    background: linear-gradient(120deg, #f59e0b, #ef4444 62%, #db2777);
    color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .3px; cursor: pointer;
    box-shadow: 0 12px 24px -12px rgba(239, 68, 68, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: filter .16s, transform .16s;
    -webkit-tap-highlight-color: transparent;
}
.gs-v3 .gs-v-btn:hover { filter: brightness(1.07); color: #fff; transform: translateY(-1px); }
.gs-v3 .gs-v-btn:disabled { opacity: .65; cursor: wait; }
.gs-v3 .gs-v-btn.is-own { background: rgba(127, 127, 127, .13); color: var(--muted-2-color, #888); box-shadow: none; cursor: default; }

.gs-v3 .gs-v-card.is-sold { opacity: .48; filter: grayscale(.85); }
.gs-v3 .gs-v-card.is-mine {
    border-color: rgba(16, 185, 129, .6);
    background: linear-gradient(160deg, rgba(16, 185, 129, .16), rgba(255, 255, 255, .42));
    box-shadow: 0 18px 40px -30px rgba(5, 150, 105, .9), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.gs-v3 .gs-v-card.is-mine .gs-v-btn.is-own { background: rgba(16, 185, 129, .18); color: #047857; font-weight: 800; }

.gs-v3 .gs-v-empty { padding: 34px 12px; text-align: center; font-size: 13px; color: var(--muted-2-color, #999); }

/* ---------- 购买记录 ---------- */
.gs-v3 .gs-v-records { margin-top: clamp(20px, 2.4vw, 32px); }
.gs-v3 .gs-v-records-list {
    border-radius: 18px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: var(--gs-glass-tile, rgba(255, 255, 255, .4));
    overflow: hidden;
}
.gs-v3 .gs-v-rec-head, .gs-v3 .gs-v-rec-row {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, .8fr);
    gap: 8px; align-items: center;
    padding: 10px 14px; font-size: 11.5px;
}
.gs-v3 .gs-v-rec-head { background: rgba(127, 127, 127, .09); font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--muted-2-color, #8b95a7); }
.gs-v3 .gs-v-rec-row { border-top: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .06)); color: var(--muted-2-color, #8b95a7); }
.gs-v3 .gs-v-rec-row b { font-size: 15px; font-weight: 900; color: #b45309; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.gs-v3 .gs-v-rec-row em { font-style: normal; color: #047857; font-weight: 700; }
.gs-v3 .gs-v-rec-empty { padding: 22px 14px; text-align: center; font-size: 12px; color: var(--muted-2-color, #999); }

/* ---------- 底部 ---------- */
.gs-v3 .gs-v-tips { display: flex; align-items: flex-start; gap: 9px; margin-top: clamp(16px, 2vw, 24px); }
.gs-v3 .gs-v-tips > span { color: #f59e0b; font-size: 14px; line-height: 1.6; }
.gs-v3 .gs-v-tips p { margin: 0; font-size: 11.5px; line-height: 1.8; color: var(--muted-2-color, #8b95a7); }
.gs-v3 .gs-v-result { margin-top: 12px; min-height: 18px; font-size: 12.5px; font-weight: 700; color: #047857; overflow-wrap: anywhere; }
.gs-v3 .gs-v-result.is-error { color: #e11d48; }

/* 迷你版（[gs_my_vanity]） */
.gs-v3.gs-v3-mini { padding: 18px; }
.gs-v3.gs-v3-mini .gs-v-mine-box { margin-top: 0; }

/* ---------- 全站靓号徽章（作者页 / 用户中心） ---------- */
.gs-vanity-badge {
    display: inline-flex; align-items: center; gap: 4px;
    margin-left: 6px; padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px; font-weight: 800; line-height: 1.6;
    color: #fff; vertical-align: middle; white-space: nowrap;
    background: linear-gradient(120deg, #f59e0b, #ef4444 60%, #db2777);
    box-shadow: 0 4px 12px -6px rgba(239, 68, 68, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.gs-vanity-badge i { font-style: normal; font-size: 8px; opacity: .85; }

/* ---------- 全局轻提示 ---------- */
.gs-front-toast {
    position: fixed; left: 50%; bottom: max(26px, env(safe-area-inset-bottom));
    z-index: 99999;
    max-width: min(88vw, 420px);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 13px; font-weight: 700; text-align: center;
    color: #fff;
    background: rgba(24, 28, 40, .86);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .18);
    transform: translate(-50%, 20px);
    opacity: 0; pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}
.gs-front-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.gs-front-toast.is-ok { background: linear-gradient(120deg, rgba(5, 150, 105, .92), rgba(15, 118, 110, .92)); }
.gs-front-toast.is-error { background: linear-gradient(120deg, rgba(190, 18, 60, .94), rgba(225, 29, 72, .92)); }

/* =========================================================================
   靓号 · 移动端全尺寸适配
   ====================================================================== */
@media (max-width: 1024px) {
    .gs-v3 .gs-v-grid { grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 20vw, 170px), 1fr)); }
}

@media (max-width: 768px) {
    .gs-vanity.gs-v3 { padding: 18px 14px 16px; border-radius: 22px; }
    .gs-v3 .gs-v-hero { flex-direction: column; align-items: stretch; gap: 12px; }
    .gs-v3 .gs-v-wallet { justify-content: flex-start; }
    .gs-v3 .gs-v-wallet-item { flex: 1 1 0; min-width: 0; }
    .gs-v3 .gs-v-toolbar { gap: 8px; }
    .gs-v3 .gs-v-search { max-width: none; flex: 1 1 100%; }
    .gs-v3 .gs-v-filters { flex: 1 1 100%; order: 3; }
    .gs-v3 .gs-v-sort { order: 2; }
    .gs-v3 .gs-v-grid { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
    .gs-v3 .gs-v-mine-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gs-v3 .gs-v-hero h3 { font-size: 24px; }
    .gs-v3 .gs-v-sec-head span { display: none; }
    .gs-v3 .gs-v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gs-v3 .gs-v-rec-head { display: none; }
    .gs-v3 .gs-v-rec-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 4px; }
    .gs-v3 .gs-v-rec-row span:nth-child(3) { grid-column: 1 / -1; font-size: 10.5px; }
}

@media (max-width: 480px) {
    .gs-vanity.gs-v3 { padding: 16px 12px 14px; border-radius: 18px; }
    .gs-v3 .gs-v-hero h3 { font-size: 21px; }
    .gs-v3 .gs-v-hero p { font-size: 12px; }
    .gs-v3 .gs-v-kicker { font-size: 9px; letter-spacing: .16em; }
    .gs-v3 .gs-v-wallet-item b { font-size: 17px; }
    .gs-v3 .gs-v-card { padding: 12px 11px 10px; border-radius: 16px; gap: 7px; }
    .gs-v3 .gs-v-no { font-size: 27px; }
    .gs-v3 .gs-v-btn { min-height: 34px; font-size: 12px; }
    .gs-v3 .gs-v-mine-box { padding: 13px 12px; border-radius: 18px; }
    .gs-v3 .gs-v-mine-no { font-size: 32px; }
    .gs-v3 .gs-v-filters { gap: 5px; }
    .gs-v3 .gs-v-filters button { min-height: 30px; padding: 0 10px; font-size: 11px; }
    .gs-v3 .gs-v-sort { height: 34px; font-size: 11px; }
}

@media (max-width: 380px) {
    .gs-vanity.gs-v3 { padding: 14px 10px 12px; }
    .gs-v3 .gs-v-hero h3 { font-size: 19px; }
    .gs-v3 .gs-v-grid { gap: 7px; }
    .gs-v3 .gs-v-card { padding: 10px 9px 9px; }
    .gs-v3 .gs-v-no { font-size: 23px; }
    .gs-v3 .gs-v-meta b { font-size: 12.5px; }
    .gs-v3 .gs-v-type, .gs-v3 .gs-v-pay { font-size: 9px; padding: 2px 7px; }
    .gs-v3 .gs-v-wallet-item b { font-size: 15px; }
    .gs-v3 .gs-v-mine-empty { gap: 10px; }
    .gs-v3 .gs-v-mine-empty-ico { font-size: 22px; }
}

@media (max-width: 340px) {
    .gs-v3 .gs-v-wallet-item > span { font-size: 9.5px; }
    .gs-v3 .gs-v-mine-login, .gs-v3 .gs-v-mine-pick { padding: 0 12px; font-size: 11px; }
}

@supports (padding: env(safe-area-inset-left)) {
    .gs-vanity.gs-v3 {
        padding-left: max(clamp(16px, 2.6vw, 36px), env(safe-area-inset-left));
        padding-right: max(clamp(16px, 2.6vw, 36px), env(safe-area-inset-right));
    }
    @media (max-width: 480px) {
        .gs-vanity.gs-v3 {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-v3 .gs-v-card:hover { transform: none; }
}

/* =========================================================================
   v1.3 · 聊天室（高级版 / 液态玻璃 + 全尺寸适配）
   ====================================================================== */
.gs-chat.gs-chat-v3,
.gs-chat.gs-chat-v3 * { box-sizing: border-box; }

.gs-chat.gs-chat-v3 {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    border-radius: clamp(20px, 2.4vw, 28px);
    overflow: hidden;
    color: var(--main-color, #1f2430);
}

.gs-chat-v3 [hidden] { display: none !important; }

.gs-chat-v3 .gs-chat-aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.gs-chat-v3 .gs-chat-aurora i { position: absolute; border-radius: 50%; filter: blur(56px); opacity: .38; }
.gs-chat-v3 .gs-chat-aurora i:nth-child(1) { width: 55%; height: 45%; top: -22%; left: -8%; background: radial-gradient(circle, rgba(99, 102, 241, .8), transparent 70%); }
.gs-chat-v3 .gs-chat-aurora i:nth-child(2) { width: 50%; height: 45%; bottom: -24%; right: -8%; background: radial-gradient(circle, rgba(236, 72, 153, .7), transparent 70%); }

/* ---------- 头部 ---------- */
.gs-chat-v3 .gs-chat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px clamp(14px, 1.8vw, 22px);
    border-bottom: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .08));
    background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent);
}

.gs-chat-v3 .gs-chat-logo {
    width: 38px; height: 38px; flex: 0 0 auto;
    border-radius: 13px;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(140deg, #6366f1, #a855f7 55%, #ec4899);
    box-shadow: 0 10px 22px -12px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.gs-chat-v3 .gs-chat-title-wrap { flex: 1 1 auto; min-width: 0; }
.gs-chat-v3 .gs-chat-head h3 {
    margin: 0; font-size: 15.5px; font-weight: 900; letter-spacing: -.3px;
    color: var(--key-color, #111);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gs-chat-v3 .gs-chat-sub {
    display: block; font-size: 11px; color: var(--muted-2-color, #8b95a7);
    margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.gs-chat-v3 .gs-chat-head-right { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }

.gs-chat-v3 .gs-chat-avatars { display: flex; align-items: center; padding-left: 6px; }
.gs-chat-v3 .gs-chat-avatars img {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
    margin-left: -7px; border: 2px solid var(--main-bg-color, #fff);
    box-shadow: 0 3px 8px -4px rgba(15, 23, 42, .7);
    background: rgba(127, 127, 127, .15);
}

.gs-chat-v3 .gs-chat-online {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 10px; border-radius: 999px;
    font-size: 11px; font-weight: 700; white-space: nowrap;
    color: var(--muted-2-color, #8b95a7);
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
}
.gs-chat-v3 .gs-live-dot {
    width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto;
    background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
    animation: gs-pulse 2.2s ease-in-out infinite;
}

/* ---------- 消息区 ---------- */
.gs-chat-v3 .gs-chat-body {
    height: clamp(320px, 44vw, 470px);
    overflow-y: auto;
    padding: 16px clamp(14px, 1.8vw, 22px) 18px;
    display: flex; flex-direction: column; gap: 14px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.gs-chat-v3 .gs-chat-welcome {
    align-self: center;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 999px;
    font-size: 10.5px; color: var(--muted-2-color, #8b95a7);
    background: rgba(127, 127, 127, .09);
    border: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .06));
    text-align: center;
}
.gs-chat-v3 .gs-chat-welcome span { color: #6366f1; }

.gs-chat-v3 .gs-chat-msg { display: flex; gap: 10px; align-items: flex-start; min-width: 0; animation: gs-msg-in .3s ease; }
@keyframes gs-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gs-chat-v3 .gs-chat-msg.is-self { flex-direction: row-reverse; }

.gs-chat-v3 .gs-chat-avatar {
    width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; object-fit: cover;
    background: rgba(127, 127, 127, .15);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .65), 0 6px 14px -10px rgba(15, 23, 42, .8);
}

.gs-chat-v3 .gs-chat-main { max-width: min(78%, 520px); min-width: 0; }

.gs-chat-v3 .gs-chat-meta {
    display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
    font-size: 11px; color: var(--muted-2-color, #8b95a7); margin-bottom: 5px;
}
.gs-chat-v3 .gs-chat-msg.is-self .gs-chat-meta { justify-content: flex-end; }
.gs-chat-v3 .gs-chat-meta i { font-style: normal; opacity: .7; font-size: 10px; }

.gs-chat-v3 .gs-chat-text {
    padding: 10px 14px;
    border-radius: 6px 18px 18px 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .38));
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 10px 24px -20px rgba(15, 23, 42, .8);
    font-size: 13.5px; line-height: 1.72;
    word-break: break-word; white-space: pre-wrap; overflow-wrap: anywhere;
    color: var(--main-color, #333);
}
body.dark-theme .gs-chat-v3 .gs-chat-text { background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); }

.gs-chat-v3 .gs-chat-msg.is-self .gs-chat-text {
    border-radius: 18px 6px 18px 18px;
    background: linear-gradient(135deg, #6366f1, #a855f7 60%, #ec4899);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
    box-shadow: 0 14px 28px -18px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}

/* 红包卡 */
.gs-chat-v3 .gs-rp {
    display: flex; align-items: center; gap: 10px;
    width: 100%; min-width: 0;
    padding: 11px 13px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    cursor: pointer; text-align: left;
    background: linear-gradient(125deg, #f43f5e, #f97316 65%, #fbbf24);
    color: #fff;
    box-shadow: 0 16px 30px -20px rgba(244, 63, 94, .95), inset 0 1px 0 rgba(255, 255, 255, .35);
    transition: transform .16s ease, filter .16s ease;
}
.gs-chat-v3 .gs-rp:hover { transform: translateY(-2px); filter: brightness(1.04); }
.gs-chat-v3 .gs-rp.is-done { background: rgba(127, 127, 127, .14); color: var(--muted-2-color, #999); box-shadow: none; border-color: transparent; cursor: default; }
.gs-chat-v3 .gs-rp.is-claimed { filter: saturate(.75); }
.gs-chat-v3 .gs-rp-ico { font-size: 22px; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)); }
.gs-chat-v3 .gs-rp-txt { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.gs-chat-v3 .gs-rp-txt b { font-size: 13px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-chat-v3 .gs-rp-txt small { font-size: 10.5px; opacity: .92; }
.gs-chat-v3 .gs-rp-go { font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .26); flex: 0 0 auto; white-space: nowrap; }

/* 新消息提示 */
.gs-chat-v3 .gs-chat-new {
    position: absolute; left: 50%; bottom: 116px; transform: translateX(-50%);
    z-index: 6; min-height: 32px; padding: 0 16px;
    border: 0; border-radius: 999px;
    background: linear-gradient(120deg, #6366f1, #a855f7);
    color: #fff; font-size: 11.5px; font-weight: 700; cursor: pointer;
    box-shadow: 0 12px 26px -14px rgba(99, 102, 241, .95);
    display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- 输入区 ---------- */
.gs-chat-v3 .gs-chat-composer {
    position: relative;
    border-top: 1px solid var(--gs-glass-line, rgba(15, 23, 42, .08));
    background: linear-gradient(0deg, rgba(255, 255, 255, .24), transparent);
}

.gs-chat-v3 .gs-chat-emoji {
    display: flex; gap: 3px; flex-wrap: wrap;
    padding: 9px clamp(12px, 1.6vw, 20px) 3px;
    max-height: 92px; overflow-y: auto;
}
.gs-chat-v3 .gs-chat-emoji button {
    width: 32px; height: 32px; flex: 0 0 auto;
    border: 0; border-radius: 10px; background: transparent;
    font-size: 16px; line-height: 1; cursor: pointer;
    transition: background .15s, transform .15s;
}
.gs-chat-v3 .gs-chat-emoji button:hover { background: rgba(127, 127, 127, .13); transform: translateY(-1px); }

.gs-chat-v3 .gs-chat-foot {
    display: flex; gap: 9px; align-items: flex-end;
    padding: 10px clamp(12px, 1.6vw, 20px) 4px;
}

.gs-chat-v3 .gs-chat-foot textarea {
    flex: 1 1 auto; min-width: 0;
    min-height: 44px; max-height: 120px;
    resize: none; border-radius: 16px;
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    background: var(--gs-glass-tile, rgba(255, 255, 255, .45));
    padding: 11px 13px;
    font-size: 13.5px; line-height: 1.6;
    color: var(--main-color, #333); outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
    transition: border-color .16s, box-shadow .16s;
    font-family: inherit;
}
.gs-chat-v3 .gs-chat-foot textarea:focus { border-color: rgba(99, 102, 241, .65); box-shadow: 0 0 0 4px rgba(99, 102, 241, .12); }

.gs-chat-v3 .gs-chat-actions { display: flex; gap: 6px; flex: 0 0 auto; }

.gs-chat-v3 .gs-chat-send,
.gs-chat-v3 .gs-chat-rp-btn,
.gs-chat-v3 .gs-chat-emoji-btn {
    height: 44px; border-radius: 14px; border: 0;
    font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
    transition: filter .16s, transform .16s, background .16s;
    -webkit-tap-highlight-color: transparent;
}
.gs-chat-v3 .gs-chat-send {
    padding: 0 16px;
    background: linear-gradient(120deg, #6366f1, #a855f7 60%, #ec4899);
    color: #fff;
    box-shadow: 0 12px 24px -14px rgba(99, 102, 241, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
    display: inline-flex; align-items: center; gap: 6px;
}
.gs-chat-v3 .gs-chat-send span { font-size: 10px; opacity: .9; }
.gs-chat-v3 .gs-chat-send:hover { filter: brightness(1.07); transform: translateY(-1px); }
.gs-chat-v3 .gs-chat-send:disabled { opacity: .6; cursor: wait; }

.gs-chat-v3 .gs-chat-rp-btn,
.gs-chat-v3 .gs-chat-emoji-btn {
    width: 42px; padding: 0; font-size: 17px;
    background: rgba(127, 127, 127, .1);
    border: 1px solid var(--gs-glass-brd, rgba(255, 255, 255, .7));
    color: var(--main-color, #333);
}
.gs-chat-v3 .gs-chat-rp-btn:hover,
.gs-chat-v3 .gs-chat-emoji-btn:hover,
.gs-chat-v3 .gs-chat-rp-btn.is-active,
.gs-chat-v3 .gs-chat-emoji-btn.is-active { background: rgba(99, 102, 241, .16); transform: translateY(-1px); }

.gs-chat-v3 .gs-chat-foot-meta {
    display: flex; justify-content: space-between; gap: 8px;
    padding: 2px clamp(14px, 1.8vw, 22px) 11px;
    font-size: 10px; color: var(--muted-3-color, #b1b1b1);
}

/* 红包弹层 */
.gs-chat-v3 .gs-chat-rp-form {
    position: absolute; left: clamp(12px, 1.6vw, 20px); right: clamp(12px, 1.6vw, 20px);
    bottom: calc(100% - 6px);
    z-index: 9;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .76));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 26px 54px -26px rgba(15, 23, 42, .9), inset 0 1px 0 #fff;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    animation: gs-rp-in .24s ease;
}
@keyframes gs-rp-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
body.dark-theme .gs-chat-v3 .gs-chat-rp-form { background: linear-gradient(155deg, rgba(38, 40, 54, .96), rgba(28, 30, 42, .92)); border-color: rgba(255, 255, 255, .14); }

.gs-chat-v3 .gs-chat-rp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gs-chat-v3 .gs-chat-rp-head b { font-size: 13.5px; font-weight: 900; color: var(--key-color, #111); }
.gs-chat-v3 .gs-chat-rp-close { width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .13); color: var(--muted-2-color, #888); font-size: 17px; line-height: 1; cursor: pointer; }

.gs-chat-v3 .gs-chat-rp-fields { display: flex; gap: 9px; flex-wrap: wrap; }
.gs-chat-v3 .gs-chat-rp-fields label { display: flex; flex-direction: column; gap: 5px; flex: 1 1 92px; min-width: 0; font-size: 10.5px; color: var(--muted-2-color, #8b95a7); }
.gs-chat-v3 .gs-chat-rp-fields input {
    height: 36px; width: 100%; border-radius: 11px;
    border: 1px solid rgba(127, 127, 127, .22);
    padding: 0 10px; background: rgba(127, 127, 127, .06);
    color: var(--main-color, #333); font-size: 12.5px; outline: none;
}
.gs-chat-v3 .gs-chat-rp-fields input:focus { border-color: rgba(244, 63, 94, .6); }
.gs-chat-v3 .gs-chat-rp-fields .gs-rp-note { flex: 1 1 140px; }
.gs-chat-v3 .gs-rp-submit { width: 100%; margin-top: 12px; justify-content: center; background: linear-gradient(120deg, #f43f5e, #f97316); }

/* 未登录 */
.gs-chat-v3 .gs-chat-login { justify-content: center; padding: 18px; }
.gs-chat-v3 .gs-chat-login-btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 22px; border-radius: 14px;
    background: linear-gradient(120deg, #6366f1, #a855f7 60%, #ec4899);
    color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none;
}

/* =========================================================================
   聊天室 · 移动端全尺寸适配
   ====================================================================== */
@media (max-width: 1024px) {
    .gs-chat-v3 .gs-chat-body { height: clamp(300px, 46vw, 420px); }
}

@media (max-width: 768px) {
    .gs-chat.gs-chat-v3 { border-radius: 20px; }
    .gs-chat-v3 .gs-chat-head { padding: 12px 13px; gap: 9px; }
    .gs-chat-v3 .gs-chat-logo { width: 34px; height: 34px; border-radius: 11px; }
    .gs-chat-v3 .gs-chat-head h3 { font-size: 14.5px; }
    .gs-chat-v3 .gs-chat-avatars img { width: 23px; height: 23px; }
    .gs-chat-v3 .gs-chat-body { height: min(58vh, 460px); padding: 13px 12px 15px; gap: 12px; }
    .gs-chat-v3 .gs-chat-main { max-width: 84%; }
    .gs-chat-v3 .gs-chat-foot { padding: 9px 11px 4px; gap: 7px; }
    .gs-chat-v3 .gs-chat-foot textarea { min-height: 40px; font-size: 13px; }
    .gs-chat-v3 .gs-chat-send, .gs-chat-v3 .gs-chat-rp-btn, .gs-chat-v3 .gs-chat-emoji-btn { height: 40px; }
    .gs-chat-v3 .gs-chat-send { padding: 0 13px; }
    .gs-chat-v3 .gs-chat-rp-btn, .gs-chat-v3 .gs-chat-emoji-btn { width: 38px; font-size: 15px; }
    .gs-chat-v3 .gs-chat-emoji { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 8px 11px 3px; }
    .gs-chat-v3 .gs-chat-emoji button { width: 30px; height: 30px; }
    .gs-chat-v3 .gs-chat-new { bottom: 104px; }
}

@media (max-width: 600px) {
    .gs-chat-v3 .gs-chat-sub { display: none; }
    .gs-chat-v3 .gs-chat-foot-meta span:last-child { display: none; }
}

@media (max-width: 480px) {
    .gs-chat.gs-chat-v3 { border-radius: 17px; }
    .gs-chat-v3 .gs-chat-avatars { display: none; }
    .gs-chat-v3 .gs-chat-online { font-size: 10px; padding: 4px 8px; }
    .gs-chat-v3 .gs-chat-avatar { width: 30px; height: 30px; }
    .gs-chat-v3 .gs-chat-body { height: min(56vh, 430px); }
    .gs-chat-v3 .gs-chat-text { font-size: 13px; padding: 9px 12px; }
    .gs-chat-v3 .gs-chat-main { max-width: 86%; }
    .gs-chat-v3 .gs-chat-send { font-size: 0; padding: 0 12px; }
    .gs-chat-v3 .gs-chat-send span { font-size: 13px; }
    .gs-chat-v3 .gs-chat-rp-form { left: 8px; right: 8px; padding: 12px; }
    .gs-chat-v3 .gs-chat-rp-fields label { flex: 1 1 calc(50% - 6px); }
    .gs-chat-v3 .gs-chat-rp-fields .gs-rp-note { flex: 1 1 100%; }
}

@media (max-width: 380px) {
    .gs-chat-v3 .gs-chat-head { padding: 10px 10px; }
    .gs-chat-v3 .gs-chat-logo { width: 30px; height: 30px; }
    .gs-chat-v3 .gs-chat-head h3 { font-size: 13.5px; }
    .gs-chat-v3 .gs-chat-body { padding: 11px 9px 13px; gap: 10px; }
    .gs-chat-v3 .gs-chat-actions { gap: 4px; }
    .gs-chat-v3 .gs-chat-rp-btn, .gs-chat-v3 .gs-chat-emoji-btn { width: 34px; font-size: 14px; }
    .gs-chat-v3 .gs-chat-send { padding: 0 10px; }
    .gs-chat-v3 .gs-rp-go { font-size: 10.5px; padding: 4px 8px; }
    .gs-chat-v3 .gs-rp-txt b { font-size: 12px; }
}

@media (max-width: 340px) {
    .gs-chat-v3 .gs-chat-online { display: none; }
    .gs-chat-v3 .gs-chat-foot { gap: 5px; padding-left: 8px; padding-right: 8px; }
}

@supports (padding: env(safe-area-inset-left)) {
    .gs-chat-v3 .gs-chat-foot { padding-left: max(11px, env(safe-area-inset-left)); padding-right: max(11px, env(safe-area-inset-right)); }
}

@media (prefers-reduced-motion: reduce) {
    .gs-chat-v3 .gs-chat-msg,
    .gs-chat-v3 .gs-chat-rp-form,
    .gs-chat-v3 .gs-live-dot { animation: none !important; }
    .gs-chat-v3 .gs-chat-body { scroll-behavior: auto; }
}

/* GS_V13_END */
