* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #ffffff 100%);
    background-size: 400% 400%;
    color: #333;
    font-size: 14px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%231e40af"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%233b82f6"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%2360a5fa"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

[v-cloak] {
    display: none;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(24, 144, 255, 0.1);
    border-radius: 50%;
}

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

.header {
    background: #ffffff;
    padding: 0 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.logo-img {
    width: 130px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #b1854b 0%, #8e6734 100%);
    color: #fff;
    font-size: 22px;
}

.nav-menu {
    display: flex;
    gap: 6px;
}

.nav-menu a {
    color: #333;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #e53935;
}

.nav-menu a.active {
    background: rgba(229, 57, 53, 0.12);
    color: #8b1a1a;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 4px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    border-radius: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-credit {
    background: linear-gradient(135deg, #fff5e6, #ffe6cc);
    color: #8b1a1a;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.btn-login,
.btn-logout {
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    background: #fff;
    cursor: pointer;
}

.btn-login {
    border-color: #1890ff;
    color: #1890ff;
}

.btn-login:hover {
    background: #1890ff;
    color: #fff;
}

.btn-logout:hover {
    background: #ff4d4f;
    color: #fff;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    color: #333;
    border-radius: 4px;
    margin-bottom: 5px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.mobile-menu a:hover,
.mobile-menu button:hover,
.mobile-menu a.active {
    background: #e6f7ff;
    color: #1890ff;
}

.mobile-menu .mobile-user-info {
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    padding-top: 15px;
}

.mobile-menu .mobile-user-info span {
    display: block;
    padding: 8px 15px;
    color: #666;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-media-link {
    display: block;
    margin-bottom: 25px;
}

.hero-media {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.9);
}

.hero-media video,
.hero-media img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.page-title {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff0db 0%, #f1cfa7 100%);
    border: 3px solid #d4af37;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(218, 165, 32, 0.5), 0 0 60px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #fff0db 0%, #f1cfa7 100%);
    border-radius: 15px 15px 0 0;
}

.page-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.4) 1px, transparent 2px), radial-gradient(circle at 60% 70%, rgba(255,255,255,0.3) 1px, transparent 2px), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 1px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.page-title h1 {
    font-size: 32px;
    color: #8b4513;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.page-title p {
    font-size: 16px;
    color: #a0522d;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
    font-weight: 500;
    line-height: 1.8;
}

.message-box {
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    color: #52c41a;
}

.message-box.error {
    background: #fff2f0;
    border-color: #ffccc7;
    color: #ff4d4f;
}

.message-box .message-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff0db 0%, #f1cfa7 100%);
    border: 2px solid rgba(212, 175, 55, 0.75);
    border-radius: 16px;
    box-shadow: 0 10px 32px rgba(218, 165, 32, 0.28);
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.category-item {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.62);
    color: #6a4517;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(142, 103, 52, 0.2);
    cursor: pointer;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.82);
    color: #6a4517;
}

.category-item.active {
    background: linear-gradient(135deg, #b1854b 0%, #8e6734 100%);
    color: #fff;
    border-color: #b1854b;
    box-shadow: 0 4px 15px rgba(177, 133, 75, 0.4);
    font-weight: bold;
}

.activity-container {
    max-width: 1200px;
    margin: 0 auto;
}

.activity-section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 24px;
    width: 100%;
    text-align: center;
}

.activity-section-title img {
    display: block;
    max-width: min(100%, 420px);
    height: auto;
    margin: 0 auto;
}

.mid-rule-wrap {
    max-width: 1200px;
    margin: 0 auto 28px;
}

.mid-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mid-rule-card {
    min-height: 220px;
    padding-top: 34px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff0db 0%, #f1cfa7 100%);
    box-shadow: 0 12px 28px rgba(88, 55, 20, 0.18);
}

.mid-rule-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    line-height: 32px;
    font-size: 14px;
    font-weight: 700;
    color: #301809;
    background: #ecc187;
}

.mid-rule-card-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 32px;
    padding: 0 10px;
    margin-right: 2px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #c24a4a 0%, #8f2424 100%);
}

.mid-rule-card-no em {
    margin-right: 2px;
    font-style: normal;
    font-size: 12px;
}

.mid-rule-card-content {
    color: #5c402a;
    padding: 12px 24px 18px;
    line-height: 1.9;
}

.toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.92);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.toolbar-left,
.toolbar-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.toolbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: #f5f5f5;
    color: #666;
}

.toolbar-pill.warning {
    background: #fff7e6;
    color: #d48806;
}

.toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
    cursor: pointer;
}

.toolbar-btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.activity-grid {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    position: relative;
    border-radius: 10px;
    color: #5c402a;
    margin-bottom: 34px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.15);
}

.activity-card-left {
    margin-right: 420px;
    padding: 37px 37px 30px;
    border-radius: 10px 0 0 10px;
    background-image: linear-gradient(-35deg, #fff0db 0%, #f1cfa7 100%);
}

.activity-card-right {
    position: absolute;
    width: 421px;
    height: 100%;
    border-radius: 0 10px 10px 0;
    right: 0;
    top: 0;
    background-color: #e6c197;
}

.activity-card-right-content {
    position: absolute;
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.activity-title {
    font-size: 18px;
    color: #301809;
    font-weight: bold;
    line-height: 1.7;
    margin-bottom: 10px;
}

.activity-title-original {
    display: inline-block;
    margin-left: 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #926b36;
    text-decoration: line-through;
    font-weight: 600;
    white-space: nowrap;
}

.activity-subtitle {
    font-size: 13px;
    color: #93745c;
    margin-bottom: 16px;
    line-height: 1.8;
}

.activity-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.activity-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(255,255,255,0.6);
    color: #5c402a;
    border: 1px solid rgba(147,116,92,0.22);
}

.activity-specs {
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.spec-item {
    display: inline-block;
    width: 200px;
    box-sizing: border-box;
    padding-right: 20px;
    margin-bottom: 12px;
    vertical-align: top;
}

.spec-label {
    color: #93745c;
    float: left;
}

.spec-value {
    color: #5c402a;
    display: block;
    padding-left: 62px;
}

.product-description {
    background: rgba(255,255,255,0.45);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.9;
    color: #5c402a;
}

.product-pack-box {
    background: rgba(255,255,255,0.42);
    border-radius: 8px;
    padding: 15px;
}

.product-pack-title {
    font-size: 15px;
    color: #301809;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-pack-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 13px;
    color: #5c402a;
}

.product-pack-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.product-pack-item {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(147,116,92,0.18);
    color: #5c402a;
    font-size: 12px;
}

.opened-groups-wrap {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(147, 116, 92, 0.14);
}

.opened-groups-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #5c402a;
    font-weight: 700;
}

.opened-groups-more {
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(142, 103, 52, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #8e6734;
    cursor: pointer;
    font-size: 12px;
}

.opened-groups-more:hover {
    background: #fff;
}

.opened-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(147, 116, 92, 0.14);
    font-size: 13px;
}

.opened-group-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.group-leader {
    color: #5c402a;
    font-weight: 700;
    line-height: 1.5;
}

.group-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.group-need {
    color: #c62828;
    font-weight: 700;
}

.group-countdown {
    color: #93745c;
    font-size: 12px;
}

.no-opened-groups {
    padding: 12px 0 2px;
    color: #8e7a68;
    font-size: 13px;
    text-align: center;
}

.opened-groups-list-btn {
    margin-top: 14px;
}

.price-badge {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
    background-color: #ae2121;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
}

.price-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 18px 0;
}

.group-price {
    display: inline-block;
    font-size: 28px;
    color: #d71e1e;
}

.group-price .price-unit {
    font-size: 14px;
}

.price-role {
    display: inline-block;
    min-width: 54px;
    color: #5c402a;
    font-weight: bold;
}

.price-combo-box {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,0.42);
    border: 1px solid rgba(147,116,92,0.14);
}

.price-combo-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px;
    align-items: stretch;
}

.price-combo-row + .price-combo-row {
    border-top: 1px solid rgba(147,116,92,0.14);
}

.price-main-cell,
.price-side-cell {
    padding: 14px 16px;
}

.price-main-cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-side-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    border-left: 1px solid rgba(147,116,92,0.14);
    text-align: right;
}

.price-side-label {
    color: #93745c;
    font-size: 12px;
    line-height: 1.4;
}

.price-side-value {
    color: #5c402a;
    font-size: 15px;
    font-weight: 700;
}

.countdown-box,
.group-progress-box {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.45);
}

.countdown-label,
.progress-label {
    color: #93745c;
    font-size: 13px;
}

.countdown-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.countdown-value {
    color: #8b4513;
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
}

.countdown-value.inline {
    margin-top: 0;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #5c402a;
    font-size: 13px;
}

.progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #b1854b 0%, #8e6734 100%);
}

.product-select,
.package-select {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 12px;
}

.el-public-select .el-select__wrapper {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 0 1px #e3d1bb;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.el-public-select .el-select__wrapper.is-hovering {
    box-shadow: inset 0 0 0 1px #caa06a;
}

.el-public-select .el-select__wrapper.is-focused {
    box-shadow: inset 0 0 0 1px #b1854b, 0 0 0 4px rgba(177, 133, 75, 0.12);
}

.el-public-select .el-select__selected-item,
.el-public-select .el-select__placeholder {
    color: #5c402a;
    font-size: 14px;
}

.el-public-select .el-select__placeholder.is-transparent {
    color: #a6835e;
}

.el-public-select .el-select__caret {
    color: #8e6734;
}

.el-public-select.is-disabled .el-select__wrapper {
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 0 0 1px rgba(227, 209, 187, 0.8);
}

.gb-public-select-popper.el-select__popper .el-popper__arrow::before {
    background: #fff7ed;
    border-color: rgba(177, 133, 75, 0.2);
}

.gb-public-select-popper.el-select__popper {
    border-radius: 16px;
    border: 1px solid rgba(177, 133, 75, 0.18);
    box-shadow: 0 18px 36px rgba(88, 55, 20, 0.18);
}

.gb-public-select-popper .el-select-dropdown__wrap {
    padding: 8px;
}

.gb-public-select-popper .el-select-dropdown__item {
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    color: #5c402a;
    font-size: 14px;
}

.gb-public-select-popper .el-select-dropdown__item.is-hovering,
.gb-public-select-popper .el-select-dropdown__item:hover {
    background: rgba(177, 133, 75, 0.12);
    color: #6a4517;
}

.gb-public-select-popper .el-select-dropdown__item.is-selected {
    color: #8e6734;
    font-weight: 700;
    background: rgba(177, 133, 75, 0.16);
}

.btn-open-group,
.btn-action {
    display: block;
    width: 100%;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 19px;
    background-image: linear-gradient(0deg, rgb(177,133,75) 0%, rgb(142,103,52) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    margin-top: 12px;
    font-weight: 600;
    font-size: 13px;
}

.btn-action.secondary {
    background: #fff;
    border: 1px solid #8e6734;
    color: #8e6734;
}

.btn-action.secondary:hover {
    background: rgba(255,255,255,0.7);
}

.btn-open-group:hover {
    background-image: linear-gradient(0deg, rgb(201,151,90) 0%, rgb(160,120,67) 100%);
}

.empty-state {
    text-align: center;
    padding: 120px 20px;
    color: #ffffff;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.rules-wrap {
    margin-top: 36px;
}

.rule-container {
    width: 100%;
    padding: 34px 30px;
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
    color: #ffffff;
    line-height: 1.5;
    border-radius: 18px;
    background: rgba(18, 56, 126, 0.42);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.16);
    backdrop-filter: blur(8px);
}

.rule-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.rule-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #ffd700;
    border-radius: 1.5px;
}

.rule-list {
    list-style: none;
    font-size: 15px;
    padding-left: 5px;
    counter-reset: rule-item;
}

.rule-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 18px;
    line-height: 1.8;
}

.rule-list li::before {
    content: counter(rule-item);
    counter-increment: rule-item;
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #ffd700;
    color: #c8102e;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    border-radius: 50%;
}

.highlight {
    color: #ffd700;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rule-rich-text {
    font-size: 15px;
    line-height: 1.95;
}

.rule-rich-text p,
.rule-rich-text ul,
.rule-rich-text ol {
    margin: 0 0 12px;
}

.rule-rich-text p:last-child,
.rule-rich-text ul:last-child,
.rule-rich-text ol:last-child {
    margin-bottom: 0;
}

.rule-rich-text ul,
.rule-rich-text ol {
    padding-left: 22px;
}

.rule-rich-text li {
    margin-bottom: 8px;
}

.mid-rule-card-content.rule-rich-text {
    color: #6a4517;
}

.mid-rule-card-content.rule-rich-text strong {
    color: #8b4513;
}

.bottom-rule-rich-text a {
    color: #ffd700;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hm-float-main * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hm-float-main .float-container {
    position: fixed;
    z-index: 999;
    text-align: center;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hm-float-main .float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb84d, #ff8c00);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.4);
    margin-bottom: 4px;
    border: none;
}

.hm-float-main .float-label {
    width: 66px;
    height: 20px;
    line-height: 20px;
    background-color: #ff8c00;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.3);
}

.hm-float-main .modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.hm-float-main .modal-mask.show {
    display: flex;
}

.hm-float-main .modal-content {
    width: 350px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hm-float-main .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
}

.hm-float-main .close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.hm-float-main .hm-float-modal-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.hm-float-main .qrcode-box {
    text-align: center;
    margin-bottom: 20px;
}

.hm-float-main .qrcode-box img {
    width: 280px;
    height: 280px;
    object-fit: contain;
}

.hm-float-main .hm-float-join-btn {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: #1677ff;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.hm-float-main .hm-float-join-btn:hover {
    background: #0958d9;
}

@media screen and (max-width: 1080px) {
    .activity-card-left {
        margin-right: 350px;
    }

    .activity-card-right {
        width: 351px;
    }

    .activity-card-right-content {
        width: 308px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-right {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .main-container {
        padding: 15px;
    }

    .page-title h1 {
        font-size: 22px;
    }

    .hero-media video,
    .hero-media img {
        max-height: 260px;
    }

    .rule-container {
        padding: 22px 18px;
    }

    .mid-rule-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mid-rule-card {
        min-height: 0;
        padding-top: 0;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

    .mid-rule-card-title {
        margin-right: -8px;
        border-radius: 15px 0 0 15px;
        background: rgba(0, 0, 0, 0.12);
        color: #ffe6c1;
    }

    .mid-rule-card-no {
        min-width: 36px;
        height: 30px;
        font-size: 15px;
        color: #8d6b3e;
        background: linear-gradient(-35deg, #fff0db 0%, #f1cfa7 100%);
    }

    .mid-rule-card-no em {
        display: none;
    }

    .mid-rule-card-content {
        padding: 12px 0 0 44px;
        color: #fff;
    }

    .activity-card {
        background-image: linear-gradient(-35deg, #fff0db 0%, #f1cfa7 100%);
    }

    .activity-card-left {
        padding: 15px 15px 5px;
        margin-right: 0;
        background-image: none;
    }

    .activity-card-right {
        position: relative;
        width: auto;
        background-color: transparent;
        background-image: none;
        height: auto;
    }

    .activity-card-right-content {
        position: static;
        transform: none;
        width: auto;
        padding: 0 15px 18px;
    }

    .group-price {
        margin: 0 10px 0 0;
        font-size: 22px;
        font-weight: bold;
    }

    .price-combo-row {
        grid-template-columns: 1fr;
    }

    .price-side-cell {
        border-left: none;
        border-top: 1px dashed rgba(147,116,92,0.14);
        text-align: left;
    }

    .btn-open-group,
    .btn-action {
        width: 100%;
    }

    .opened-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .group-status {
        align-items: flex-start;
    }

    .hm-float-main .float-container {
        right: 10px;
        top: auto;
        bottom: 200px;
        transform: none;
    }

    .hm-float-main .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        line-height: 50px;
        margin-bottom: 3px;
    }

    .hm-float-main .float-label {
        width: 68px;
        height: 18px;
        line-height: 18px;
        font-size: 11px;
    }
}
