/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: #f3f4f6;
    color: #333;
    -webkit-font-smoothing: antialiased;
}
body {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 70px;
    position: relative;
}
a { text-decoration: none; color: inherit; }
button, input, select { font-family: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Header Info Box ===== */
.infobox {
    background: linear-gradient(135deg, #4facfe 0%, #00c6fb 100%);
    padding: 16px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.infobox .top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}
.infobox .desc {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    z-index: 1;
    position: relative;
}
.infobox .bgicon {
    width: 52px;
    height: 52px;
    opacity: 0.55;
    z-index: 0;
}
.infobox .bgicon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Stats row */
.tongji {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(2px);
}
.acea-row {
    display: flex;
    align-items: center;
}
.row-middle { align-items: center; }
.row-center-wrapper { justify-content: center; }
.juli {
    display: flex;
    align-items: center;
    margin-right: 12px;
    color: #fff;
    font-size: 12px;
}
.juli img {
    width: 18px;
    height: 18px;
    margin-right: 4px;
    filter: brightness(0) invert(1);
}
.juli:last-child { margin-right: 0; }

/* ===== Search Bar ===== */
.waikuang {
    padding: 12px 16px;
    background: #fff;
    margin: 0 12px;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    margin-top: -22px;
    position: relative;
    z-index: 2;
}
.sousuo {
    background: #f4f4f4;
    border-radius: 20px;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #999;
    font-size: 13px;
}
.sousuo .icon-search {
    margin-right: 6px;
    font-size: 14px;
    flex-shrink: 0;
}
.sousuo input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #333;
    -webkit-appearance: none;
}
.sousuo input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.sousuo input[type="search"]::placeholder {
    color: #999;
}

/* ===== Filters ===== */
.filter-bar {
    padding: 12px 12px 4px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar select,
.filter-bar .chip {
    flex-shrink: 0;
    background: #fff;
    border: none;
    border-radius: 16px;
    padding: 7px 12px;
    font-size: 12px;
    color: #333;
    outline: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M0 1l5 4 5-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    padding-right: 24px;
}
.filter-bar .chip.active {
    background: #e8f4ff;
    color: #007aff;
}

/* ===== Tabs ===== */
.tab-bar {
    display: flex;
    align-items: center;
    background: #fff;
    margin: 12px 12px 0;
    border-radius: 12px;
    padding: 10px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.tab-item {
    flex: 1;
    text-align: center;
    font-size: 14px;
    color: #606266;
    padding: 6px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.tab-item.active {
    color: #007aff;
    background: #e8f4ff;
    font-weight: 500;
}
.sort-options {
    display: flex;
    gap: 10px;
    padding: 10px 16px 0;
    font-size: 13px;
    color: #777;
}
.sort-options span {
    cursor: pointer;
    padding: 4px 0;
}
.sort-options span.active {
    color: #007aff;
    font-weight: 500;
}

/* ===== Featured Group Cards ===== */
.section-title {
    padding: 16px 16px 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #007aff;
    border-radius: 2px;
    margin-right: 8px;
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px 12px;
}
.featured-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
}
.featured-card .thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f0f7ff;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007aff;
    font-size: 12px;
    overflow: hidden;
}
.featured-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-card .name {
    font-size: 13px;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.featured-card .badge {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 4px;
    margin-bottom: 8px;
}
.featured-card .btn {
    display: block;
    width: 100%;
    background: #e8f4ff;
    color: #007aff;
    border: none;
    border-radius: 16px;
    padding: 6px 0;
    font-size: 13px;
    cursor: pointer;
}

/* ===== Latest Group List ===== */
.group-list {
    padding: 0 12px 16px;
}
.group-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.group-item .img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: #f4f4f4;
    flex-shrink: 0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #aaa;
    font-size: 11px;
}
.group-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.group-item .wenzi {
    flex: 1;
    min-width: 0;
}
.group-item .title-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.group-item .tag {
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 4px;
    margin-right: 6px;
    flex-shrink: 0;
}
.group-item .tag.type-ge {
    color: #52c41a;
    background: #f6ffed;
}
.group-item .tag.type-qi {
    color: #fa8c16;
    background: #fff7e6;
}
.group-item .bt {
    font-size: 14px;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}
.group-item .meta {
    display: flex;
    align-items: center;
    color: #909399;
    font-size: 12px;
}
.group-item .meta span {
    display: flex;
    align-items: center;
    margin-right: 10px;
}
.group-item .meta i {
    margin-right: 3px;
    font-size: 13px;
}
.group-item .bnt {
    flex-shrink: 0;
    background: #e8f4ff;
    color: #007aff;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 8px;
}

/* ===== QR Code targets ===== */
.qr-target canvas,
.qr-target img {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ===== Top Bar ===== */
.topbar {
    display: flex;
    align-items: center;
    height: 46px;
    background: #fff;
    padding: 0 12px;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.topbar .back {
    color: #333;
    font-size: 14px;
    min-width: 60px;
}
.topbar .title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding-right: 60px;
}

/* ===== Detail Page ===== */
.detail-page {
    padding: 16px;
}
.qr-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
}
.qr-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    background: #f4f4f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #909399;
    font-size: 14px;
}
.qr-tip {
    color: #909399;
    font-size: 13px;
}
.detail-info {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
}
.detail-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.detail-title .tag {
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 4px;
    margin-right: 6px;
}
.detail-title .tag.type-ge {
    color: #52c41a;
    background: #f6ffed;
}
.detail-title .tag.type-qi {
    color: #fa8c16;
    background: #fff7e6;
}
.detail-meta {
    color: #909399;
    font-size: 13px;
    margin-bottom: 12px;
}
.detail-meta span {
    margin-right: 14px;
}
.detail-desc {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
}
.detail-actions {
    display: flex;
    gap: 12px;
}
.detail-actions .btn-primary,
.form-card .btn-primary,
.page-empty .btn-primary,
.me-page .btn-primary {
    flex: 1;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
}
.detail-actions .btn-primary.vip {
    background: #ffbe00;
    color: #fff;
}

/* ===== Empty Page ===== */
.page-empty {
    padding: 60px 20px;
    text-align: center;
}
.page-empty .icon-big {
    font-size: 56px;
    margin-bottom: 12px;
}
.page-empty p {
    color: #606266;
    font-size: 15px;
    margin-bottom: 20px;
}
.btn-link {
    display: inline-block;
    background: #e8f4ff;
    color: #007aff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
}

/* ===== Publish Page ===== */
.publish-page {
    padding: 16px;
}
.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.form-row {
    margin-bottom: 16px;
}
.form-row label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.form-row input {
    width: 100%;
    height: 42px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
}
.form-row input:focus {
    border-color: #007aff;
}
.upload-box {
    width: 100%;
    height: 120px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* ===== Me Page ===== */
.me-page {
    padding: 16px;
}
.me-header {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
}
.me-header .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e8f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-right: 14px;
}
.me-header .info .name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.me-header .info .sub {
    font-size: 13px;
    color: #909399;
}
.menu-list {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.menu-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
    cursor: pointer;
}
.menu-item:last-child {
    border-bottom: none;
}

/* ===== Bottom nav link reset ===== */
.bottom-nav a.nav-item {
    text-decoration: none;
}

/* ===== Load More ===== */
.load-more {
    text-align: center;
    padding: 14px 0 24px;
    color: #909399;
    font-size: 13px;
    cursor: pointer;
}

/* ===== Bottom Nav ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
    z-index: 100;
}
.bottom-nav .nav-item {
    flex: 1;
    text-align: center;
    color: #909399;
    font-size: 11px;
    cursor: pointer;
}
.bottom-nav .nav-item.active {
    color: #007aff;
}
.bottom-nav .nav-item .icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 2px;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}
.bottom-nav .nav-item .icon.chat {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4a2 2 0 00-2 2v18l4-4h14a2 2 0 002-2V4a2 2 0 00-2-2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4a2 2 0 00-2 2v18l4-4h14a2 2 0 002-2V4a2 2 0 00-2-2z'/%3E%3C/svg%3E");
}
.bottom-nav .nav-item .icon.location {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 010-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 010-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E");
}
.bottom-nav .nav-item .icon.plus {
    width: 42px;
    height: 28px;
    border-radius: 14px;
    background: #007aff;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
}
.bottom-nav .nav-item .icon.card {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E");
}
.bottom-nav .nav-item .icon.user {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.42 0-8 1.79-8 4v2h16v-2c0-2.21-3.58-4-8-4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-4.42 0-8 1.79-8 4v2h16v-2c0-2.21-3.58-4-8-4z'/%3E%3C/svg%3E");
}

/* ===== Modal ===== */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-box {
    background: #fff;
    border-radius: 14px;
    width: 280px;
    max-width: 100%;
    padding: 24px 20px 16px;
    text-align: center;
}
.modal-box .msg {
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}
.modal-box .actions {
    display: flex;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
}
.modal-box .actions button {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    padding: 8px;
    cursor: pointer;
}
.modal-box .actions .cancel {
    color: #606266;
    border-right: 1px solid #f0f0f0;
}
.modal-box .actions .confirm {
    color: #007aff;
    font-weight: 500;
}

/* ===== Toast / Loading ===== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
    z-index: 300;
}

/* ===== Auth (login / register) ===== */
.auth-page { padding: 40px 20px 80px; }
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    max-width: 360px;
    margin: 0 auto;
}
.auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px;
}
.auth-error {
    background: #fff1f0;
    color: #e23134;
    border: 1px solid #ffccc7;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 16px;
}
.auth-card .form-row { margin-bottom: 16px; }
.auth-card .form-row label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.auth-card .form-row input {
    width: 100%;
    height: 44px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}
.auth-card .form-row input:focus { border-color: #007aff; }
.auth-card .btn-primary {
    width: 100%;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
}
.auth-foot {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #909399;
}
.auth-foot a { color: #007aff; }

/* ===== Me page enhancements ===== */
a.menu-item { display: block; text-decoration: none; color: #333; }
.me-header.notlogin { justify-content: flex-start; }
.me-login-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.me-login-actions .btn-primary,
.me-login-actions .btn-link {
    flex: 1;
    text-align: center;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
}
.me-login-actions .btn-link {
    background: #e8f4ff;
    color: #007aff;
}
.vip-tag {
    display: inline-block;
    background: linear-gradient(90deg, #ffd66b, #ff9b3d);
    color: #fff;
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}
.me-stats {
    display: flex;
    background: #fff;
    border-radius: 16px;
    padding: 16px 0;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.me-stats .stat {
    flex: 1;
    text-align: center;
    position: relative;
}
.me-stats .stat::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #f0f0f0;
}
.me-stats .stat:last-child::after { display: none; }
.me-stats .num { font-size: 17px; font-weight: 700; color: #333; }
.me-stats .lbl { font-size: 12px; color: #909399; margin-top: 4px; }
.me-logout { margin-top: 14px; }
.me-logout .btn-primary {
    width: 100%;
    text-align: center;
    background: #ff4d4f;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
}
.me-action { margin-top: 14px; }
.me-action .btn-primary {
    width: 100%;
    text-align: center;
    background: #007aff;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 12px 0;
    font-size: 15px;
    cursor: pointer;
}
.me-section { margin: 14px 0; }
.mg-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.mg-item .thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f0f7ff;
    color: #007aff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 12px;
    flex-shrink: 0;
}
.mg-item .t { flex: 1; font-size: 14px; color: #333; }
.mg-item .bnt {
    background: #e8f4ff;
    color: #007aff;
    border: none;
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 13px;
    cursor: pointer;
}
