/* ============================================================
   星海 · 员工成长中心 —— H5 版样式
   设计变量集中在 :root，换品牌色只改这里
   ============================================================ */

:root {
    --brand: #6d4aff;
    --brand-2: #a855f7;
    --brand-deep: #5433e0;
    --brand-soft: #efe9ff;
    --pink: #f472b6;
    --warm: #ff9f43;
    --mint: #2fc7a8;
    --danger: #f04438;

    --ink: #1a1630;
    --ink-2: #5c5478;
    --ink-3: #9a93b8;
    --ink-4: #c4bfd8;
    --line: rgba(109, 74, 255, 0.09);
    --card: #ffffff;
    --bg: #f6f4ff;

    --sb: 24px;
    --navh: 52px;

    --r: 18px;
    --shadow: 0 6px 24px rgba(83, 51, 190, 0.07);
    --shadow-lg: 0 14px 40px rgba(83, 51, 190, 0.14);
}

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

html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 8%, rgba(109, 74, 255, 0.45) 0%, transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(244, 114, 182, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, #1d1638 0%, #100c1e 100%);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

/* ---------------- 舞台 ---------------- */
.stage {
    display: flex;
    height: 100%;
    padding: 0 64px;
    align-items: center;
    gap: 72px;
    justify-content: center;
}

.intro {
    width: 420px;
    flex-shrink: 0;
    animation: introIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes introIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.intro-logo {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(109, 74, 255, 0.9), rgba(244, 114, 182, 0.75));
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(109, 74, 255, 0.4);
}

.intro-co {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.intro-co-sub {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    letter-spacing: 0.6px;
}

.intro-title {
    margin: 30px 0 0;
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.18;
}

.intro-title em {
    background: linear-gradient(100deg, #b79bff, #f9a8d4 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.intro-desc {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13.5px;
    line-height: 1.85;
}

.intro-feats {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.intro-feats li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.intro-feats b {
    color: rgba(183, 155, 255, 0.75);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-variant-numeric: tabular-nums;
}

.intro-tip {
    margin-top: 30px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.intro-tip-t {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-tip p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    line-height: 1.75;
}

.intro-foot {
    display: flex;
    margin-top: 28px;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 11px;
    letter-spacing: 0.4px;
}

.intro-foot .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

/* ---------------- 手机 ---------------- */
/* 外壳：按可用高度整体缩放，避免窗口偏矮时被裁切 */
.device-slot {
    position: relative;
    flex-shrink: 0;
}

.device-scale {
    transform-origin: top left;
}

.device {
    position: relative;
    padding: 9px;
    border-radius: 54px;
    background: linear-gradient(160deg, #3d3454, #1b1730 55%, #2c2444);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 120px rgba(109, 74, 255, 0.25);
    flex-shrink: 0;
    animation: deviceIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both 0.1s;
}

@keyframes deviceIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.device-inner {
    overflow: hidden;
    width: 390px;
    /* 高度跟随窗口，窗口偏矮时内部滚动，而不是把底部导航裁掉 */
    height: min(844px, calc(100vh - 32px));
    border-radius: 46px;
    background: var(--bg);
}

.screen {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: var(--bg);
}

/* 双缓冲容器：页面切换时两层交叉淡入，避免白屏与跳动 */
.stack {
    position: relative;
    overflow: hidden;
    flex: 1;
}

.view {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.26s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.view.active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.view.leaving {
    z-index: 1;
    opacity: 0;
    transform: translateY(-5px);
}

.view::-webkit-scrollbar {
    display: none;
}

.view.sub {
    padding-bottom: 0;
}

/* ---------------- 底部导航 ---------------- */
.tabbar {
    display: flex;
    height: 62px;
    padding-bottom: 6px;
    border-top: 1px solid rgba(109, 74, 255, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    flex-shrink: 0;
}

.tabbar.hide {
    display: none;
}

.tab-item {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    color: var(--ink-3);
    cursor: pointer;
    flex-direction: column;
    font-size: 10px;
    gap: 3px;
    justify-content: center;
    transition: color 0.2s;
}

.tab-item img {
    width: 25px;
    height: 25px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-item.on {
    color: var(--brand);
    font-weight: 600;
}

.tab-item.on img {
    transform: translateY(-1px) scale(1.04);
}

.tab-item .badge {
    position: absolute;
    top: 7px;
    left: 50%;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border: 1.5px solid #fff;
    border-radius: 8px;
    background: #ff5d73;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    line-height: 13px;
    margin-left: 8px;
}

/* ---------------- 通用排版 ---------------- */
.pad {
    padding: 0 16px;
}

.t-hero {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.26;
}

.t-h1 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.32;
}

.t-h2 {
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

.t-h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.t-body {
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.72;
}

.t-sm {
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.5;
}

.t-xs {
    font-size: 10.5px;
    color: var(--ink-3);
    line-height: 1.4;
}

.muted {
    color: var(--ink-3);
}

.num {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.ell {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ell-2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ell-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.row {
    display: flex;
    align-items: center;
}

.between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex1 {
    flex: 1;
    min-width: 0;
}

.gap6 {
    gap: 6px;
}

.gap8 {
    gap: 8px;
}

.gap10 {
    gap: 10px;
}

.gap12 {
    gap: 12px;
}

.mt8 {
    margin-top: 8px;
}

.mt12 {
    margin-top: 12px;
}

.mt16 {
    margin-top: 16px;
}

.mt20 {
    margin-top: 20px;
}

.mb12 {
    margin-bottom: 12px;
}

.card {
    padding: 16px;
    border-radius: var(--r);
    background: var(--card);
    box-shadow: var(--shadow);
}

.card-flat {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: #fff;
}

.divider {
    height: 1px;
    background: var(--line);
}

/* 渐变 */
.g1 {
    background-image: linear-gradient(135deg, #7c5cff, #b18cff);
}

.g2 {
    background-image: linear-gradient(135deg, #ff8fb1, #ff6fa5);
}

.g3 {
    background-image: linear-gradient(135deg, #ffbe6b, #ff8a5b);
}

.g4 {
    background-image: linear-gradient(135deg, #5ad1c8, #3a9fe0);
}

.g5 {
    background-image: linear-gradient(135deg, #7d8cff, #4f5be8);
}

.g6 {
    background-image: linear-gradient(135deg, #c78cff, #7c5cff);
}

.g7 {
    background-image: linear-gradient(135deg, #ffd36e, #ff9f43);
}

.g8 {
    background-image: linear-gradient(135deg, #8e7bff, #5b8def);
}

.g9 {
    background-image: linear-gradient(135deg, #ffb1c9, #c084fc);
}

/* 按钮 */
.btn {
    display: inline-flex;
    height: 44px;
    padding: 0 20px;
    align-items: center;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-image: linear-gradient(120deg, #6d4aff, #9b6bff 58%, #f472b6 135%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(109, 74, 255, 0.3);
}

.btn-ghost {
    border: 1px solid rgba(109, 74, 255, 0.22);
    background: rgba(109, 74, 255, 0.04);
    color: var(--brand);
}

.btn-soft {
    background: var(--brand-soft);
    color: var(--brand);
}

.btn-warm {
    background-image: linear-gradient(120deg, #ffb347, #ff8a3d);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 138, 61, 0.3);
}

.btn-sm {
    height: 32px;
    padding: 0 14px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.45;
    box-shadow: none;
}

/* 标签 */
.tag {
    display: inline-flex;
    height: 21px;
    padding: 0 8px;
    align-items: center;
    border-radius: 6px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 10px;
    font-weight: 600;
    gap: 4px;
}

.tag-warm {
    background: rgba(255, 159, 67, 0.14);
    color: #d9761a;
}

.tag-mint {
    background: rgba(47, 199, 168, 0.14);
    color: #17977d;
}

.tag-pink {
    background: rgba(244, 114, 182, 0.14);
    color: #d6438e;
}

.tag-gray {
    background: rgba(154, 147, 184, 0.14);
    color: var(--ink-3);
}

.tag-solid {
    background: rgba(24, 18, 48, 0.42);
    color: #fff;
    backdrop-filter: blur(8px);
}

.pill {
    display: inline-flex;
    height: 26px;
    padding: 0 12px;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12px;
}

/* 头像 */
.avatar {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.5px;
}

.avatar.sm {
    width: 30px;
    height: 30px;
    font-size: 12px;
}

.avatar.xs {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.avatar.ring {
    box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.85);
}

/* 分段控件 */
.seg {
    display: flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.07);
}

.seg-item {
    display: flex;
    height: 30px;
    align-items: center;
    border-radius: 999px;
    color: var(--ink-2);
    cursor: pointer;
    flex: 1;
    font-size: 12.5px;
    font-weight: 500;
    justify-content: center;
    transition: all 0.24s ease;
}

.seg-item.on {
    background: #fff;
    color: var(--brand);
    font-weight: 650;
    box-shadow: 0 2px 8px rgba(109, 74, 255, 0.14);
}

/* 进度条 */
.bar {
    overflow: hidden;
    height: 5px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.1);
}

.bar-in {
    height: 100%;
    border-radius: 999px;
    background-image: linear-gradient(90deg, #8b6bff, #f472b6);
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 图标 */
.ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ico-sm {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ico-xs {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* 渐变图标块 */
.tile {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    border-radius: 13px;
    flex-shrink: 0;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(83, 51, 190, 0.16);
}

.tile img {
    width: 23px;
    height: 23px;
}

.tile.sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.tile.sm img {
    width: 18px;
    height: 18px;
}

/* 空态 */
.empty {
    display: flex;
    padding: 48px 20px;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.empty img {
    width: 76px;
    height: 76px;
    opacity: 0.3;
}

.empty p {
    margin: 0;
    color: var(--ink-3);
    font-size: 12.5px;
}

/* ---------------- 页面级：通用头部 ---------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    height: calc(var(--navh) + var(--sb));
    padding: var(--sb) 14px 0;
    align-items: center;
    background: rgba(246, 244, 255, 0.86);
    backdrop-filter: blur(16px);
    flex-shrink: 0;
    gap: 6px;
}

.navbar.solid {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
}

.navbar .back {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    justify-content: center;
    margin-left: -6px;
}

.navbar .back:active {
    background: rgba(109, 74, 255, 0.08);
}

.navbar .back i {
    display: block;
    width: 9px;
    height: 9px;
    border-bottom: 1.8px solid var(--ink);
    border-left: 1.8px solid var(--ink);
    transform: rotate(45deg);
    margin-left: 3px;
}

.navbar .nav-title {
    font-size: 15px;
    font-weight: 650;
}

.navbar .nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
}

/* 页头 */
.page-head {
    padding: calc(var(--sb) + 6px) 16px 12px;
}

.page-head .eyebrow {
    color: var(--ink-3);
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.page-head h2 {
    margin: 4px 0 0;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.6px;
}

/* ---------------- 活动大厅 ---------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--sb) + 14px) 16px 42px;
    border-radius: 0 0 26px 26px;
    background-image: linear-gradient(148deg, #5b39f0 0%, #7c5cff 38%, #a855f7 68%, #e879c4 100%);
    box-shadow: 0 12px 30px rgba(91, 57, 240, 0.26);
}

.hero .blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
}

.hero .b1 {
    top: -90px;
    right: -70px;
    width: 230px;
    height: 230px;
}

.hero .b2 {
    bottom: -60px;
    left: -70px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
}

.hero .b3 {
    top: 105px;
    left: 60px;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.07);
}

.hero-top {
    position: relative;
    display: flex;
    padding-top: 6px;
    align-items: center;
    justify-content: space-between;
}

.hero .logo {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
}

.hero .co {
    color: #fff;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.5px;
}

.hero .co-sub {
    margin-top: 1px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
}

.bell {
    position: relative;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    justify-content: center;
}

.bell img {
    width: 18px;
    height: 18px;
}

.bell .dot {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 7px;
    height: 7px;
    border: 1.5px solid #7c5cff;
    border-radius: 50%;
    background: #ff5d73;
}

.greet {
    position: relative;
    margin-top: 20px;
}

.greet-hi {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.greet-sub {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    letter-spacing: 0.3px;
}

.hero-stats {
    position: relative;
    display: flex;
    margin-top: 18px;
    padding: 13px 0;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.hs {
    flex: 1;
    cursor: pointer;
    text-align: center;
}

.hs-num {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.hs-num small {
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 500;
}

.hs-label {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}

.hs-line {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.22);
}

.ann {
    position: relative;
    z-index: 5;
    display: flex;
    height: 46px;
    margin: -23px 16px 0;
    padding: 0 10px 0 8px;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(83, 51, 190, 0.14);
    cursor: pointer;
}

.ann-badge {
    display: flex;
    height: 24px;
    padding: 0 9px;
    align-items: center;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 650;
    gap: 4px;
}

.ann-badge img {
    width: 12px;
    height: 12px;
}

.ann-swiper {
    overflow: hidden;
    height: 46px;
    flex: 1;
    margin-left: 8px;
    position: relative;
}

.ann-track {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ann-item {
    height: 46px;
    overflow: hidden;
    color: var(--ink);
    font-size: 12.5px;
    line-height: 46px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ann-more {
    display: flex;
    width: 20px;
    align-items: center;
    justify-content: center;
}

.ann-more img {
    width: 13px;
    height: 13px;
    opacity: 0.45;
}

.cats {
    display: flex;
    overflow-x: auto;
    padding: 14px 16px 6px;
    gap: 8px;
    scrollbar-width: none;
}

.cats::-webkit-scrollbar {
    display: none;
}

.cat {
    display: inline-flex;
    height: 32px;
    padding: 0 15px;
    align-items: center;
    border: 1px solid rgba(109, 74, 255, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--ink-2);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 12.5px;
    gap: 5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cat img {
    width: 12px;
    height: 12px;
}

.cat.on {
    border-color: transparent;
    background-image: linear-gradient(120deg, #6d4aff, #a855f7);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 5px 14px rgba(109, 74, 255, 0.26);
}

.sec {
    display: flex;
    margin: 18px 16px 10px;
    align-items: baseline;
    justify-content: space-between;
}

.sec-t {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.sec-more {
    color: var(--ink-3);
    font-size: 11px;
}

.hot {
    overflow: hidden;
    padding: 2px 0 0;
    touch-action: pan-y;
    cursor: grab;
}

.hot:active {
    cursor: grabbing;
}

.hot-track {
    display: flex;
    padding: 0 16px;
    gap: 12px;
    will-change: transform;
}

.hot-dots {
    display: flex;
    padding: 10px 0 2px;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hot-dots i {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 3px;
    background: rgba(109, 74, 255, 0.18);
    transition: width 0.3s ease, background 0.3s ease;
}

.hot-dots i.on {
    width: 16px;
    background-image: linear-gradient(90deg, #6d4aff, #a855f7);
}

.hot-card {
    position: relative;
    overflow: hidden;
    width: 292px;
    height: 142px;
    padding: 13px 14px;
    border-radius: 18px;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 10px 24px rgba(83, 51, 190, 0.2);
}

.hot-tex,
.act-tex {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        linear-gradient(180deg, rgba(22, 16, 44, 0) 40%, rgba(22, 16, 44, 0.36) 100%),
        radial-gradient(rgba(255, 255, 255, 0.22) 1.2px, transparent 1.2px);
    background-size: 100% 100%, 13px 13px;
    opacity: 0.9;
}

.hot-icon {
    position: absolute;
    right: -12px;
    bottom: -18px;
    width: 116px;
    height: 116px;
    opacity: 0.13;
}

.hot-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hot-points {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    font-size: 10.5px;
    font-weight: 600;
}

.hot-body {
    position: absolute;
    right: 14px;
    bottom: 13px;
    left: 14px;
}

.hot-title {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.28;
}

.hot-sub {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
}

.hot-meta {
    display: flex;
    margin-top: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10.5px;
    gap: 5px;
}

.hot-meta img {
    width: 12px;
    height: 12px;
}

.dot-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.culture {
    display: flex;
    margin: 16px 16px 0;
    padding: 13px 14px;
    align-items: center;
    border: 1px solid rgba(109, 74, 255, 0.08);
    border-radius: 16px;
    background-image: linear-gradient(120deg, rgba(109, 74, 255, 0.07), rgba(244, 114, 182, 0.07));
    gap: 11px;
}

.culture .mark {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    border-radius: 10px;
    background-image: linear-gradient(135deg, #6d4aff, #f472b6);
    color: #fff;
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    box-shadow: 0 5px 14px rgba(109, 74, 255, 0.25);
}

.culture .q {
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: 0.1px;
}

.culture .from {
    margin-top: 3px;
    color: var(--ink-3);
    font-size: 9.5px;
    letter-spacing: 0.3px;
}

.culture .swap {
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(83, 51, 190, 0.1);
}

.list {
    padding: 0 16px 8px;
}

.act {
    overflow: hidden;
    margin-bottom: 13px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.act:active {
    transform: scale(0.99);
}

.act-cover {
    position: relative;
    height: 108px;
    padding: 10px;
}

.act-icon {
    position: absolute;
    right: -10px;
    bottom: -20px;
    width: 96px;
    height: 96px;
    opacity: 0.16;
}

.act-cover-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #6ee7b7;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(110, 231, 183, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(110, 231, 183, 0);
    }
}

.act-pts {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #d9761a;
    font-size: 11px;
    font-weight: 700;
}

.act-pts small {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.8;
}

.act-date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(24, 18, 48, 0.34);
    color: #fff;
    font-size: 10.5px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
}

.act-body {
    padding: 12px 14px 13px;
}

.act-title {
    min-height: 40px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.38;
}

.act-meta {
    display: flex;
    margin-top: 5px;
    align-items: center;
    color: var(--ink-3);
    font-size: 11px;
    gap: 4px;
}

.act-meta img {
    width: 12px;
    height: 12px;
}

.act-foot {
    display: flex;
    margin-top: 11px;
    align-items: center;
    gap: 12px;
}

.act-bar {
    flex: 1;
}

.act-bar-t {
    display: block;
    margin-top: 4px;
    color: var(--ink-3);
    font-size: 10px;
}

.act-btn {
    display: flex;
    width: 64px;
    height: 30px;
    align-items: center;
    border-radius: 999px;
    background-image: linear-gradient(120deg, #6d4aff, #a855f7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(109, 74, 255, 0.24);
}

.act-btn.done {
    background: var(--brand-soft);
    background-image: none;
    color: var(--brand);
    box-shadow: none;
}

.foot-note {
    padding: 22px 0 16px;
    color: var(--ink-4);
    font-size: 10px;
    text-align: center;
}
