/**
 * 卦录与备注弹层模块（gua-records.css）
 * - 卦录为顶栏标签页内嵌列表；含卦录卡片、备注/删除/移动弹层与页面 Toast。
 * - 仅负责卦录记录链路相关样式，不承载起卦流程与解卦正文样式。
 * - 建议在 coin-animation.css 之后、style.css 之前加载。
 */
/* 卦录：顶栏「卦录」标签下的页内区域（原全屏浮层已移除） */
.liuyao-gua-rec-embedded {
    padding: 4px 2px 16px;
    box-sizing: border-box;
}

.liuyao-gua-rec-subtabs-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.liuyao-gua-rec-subtabs {
    flex: 4 1 0;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    background: linear-gradient(180deg, #eef6f2 0%, #e2ebe6 100%);
    border: 1px solid #c5ddd0;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.liuyao-gua-rec-subtab {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 2px;
    border: none;
    border-radius: 9px;
    background: transparent;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    font-family: inherit;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.liuyao-gua-rec-search-toggle {
    flex: 1 1 0;
    min-width: 0;
    align-self: stretch;
    padding: 8px 10px;
    border: 1px solid #c5ddd0;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #eef6f2 100%);
    color: #1a5c40;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    -webkit-tap-highlight-color: transparent;
}

.liuyao-gua-rec-search-toggle:hover {
    border-color: #2f6b52;
}

.liuyao-gua-rec-search-toggle[aria-pressed='true'] {
    background: #2a6350;
    border-color: #1e4d3f;
    color: #f4faf7;
    box-shadow: 0 1px 4px rgba(30, 77, 63, 0.25);
}

.liuyao-gua-rec-search-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.liuyao-gua-rec-search-panel[hidden] {
    display: none;
}

.liuyao-gua-rec-browse-panel[hidden] {
    display: none;
}

.liuyao-gua-rec-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px 0;
}

.liuyao-gua-rec-search-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.liuyao-gua-rec-search-input:focus {
    outline: none;
    border-color: #2f6b52;
    box-shadow: 0 0 0 2px rgba(47, 107, 82, 0.18);
}

.liuyao-gua-rec-search-submit {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #2a6350 0%, #1e4d3f 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.liuyao-gua-rec-search-reset {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.liuyao-gua-rec-search-reset:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.liuyao-gua-rec-search-history {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 8px 0 0;
    padding: 0 2px;
}

.liuyao-gua-rec-search-history[hidden] {
    display: none;
}

.liuyao-gua-rec-search-history-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.liuyao-gua-rec-search-history-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.liuyao-gua-rec-search-history-item {
    max-width: 100%;
    padding: 4px 10px;
    border: 1px solid #c5ddd0;
    border-radius: 999px;
    background: #f4faf7;
    color: #1a5c40;
    font-size: 12px;
    line-height: 1.4;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.liuyao-gua-rec-search-history-item:hover {
    background: #e8f4ee;
    border-color: #2f6b52;
}

.liuyao-gua-rec-search-hint {
    margin: 8px 12px 0;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.liuyao-gua-rec-bucket-badge {
    display: inline-block;
    margin-right: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
    color: #1a5c40;
    background: #e8f4ee;
    border: 1px solid rgba(47, 107, 82, 0.22);
    vertical-align: middle;
}

.liuyao-gua-rec-subtab:hover {
    color: #334155;
    background: rgba(255, 255, 255, 0.45);
}

.liuyao-gua-rec-subtab[aria-selected="true"],
.liuyao-gua-rec-subtab.is-active {
    background: #fff;
    color: #1a5c40;
    font-weight: 700;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(47, 107, 82, 0.12);
}

.liuyao-gua-rec-subtab:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.liuyao-gua-rec-share-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 0 10px;
}

.liuyao-gua-rec-classic-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 0 10px;
}

.liuyao-gua-rec-classic-cats[hidden] {
    display: none;
}

.liuyao-gua-rec-share-groups-wrap[hidden] {
    display: none;
}

/* 分享 Tab：组别行容器（与顶栏子 Tab 同系） */
.liuyao-gua-rec-tag-panel {
    margin: 10px 0 0;
}

.liuyao-gua-rec-tag-panel-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid #c5ddd0;
    border-radius: 12px;
    background: linear-gradient(180deg, #eef6f2 0%, #e2ebe6 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 1px 2px rgba(15, 23, 42, 0.04);
}

.liuyao-gua-rec-tag-panel-row--groups {
    align-items: center;
}

.liuyao-gua-rec-tag-panel-label {
    flex: 0 0 auto;
    align-self: center;
    min-width: 2.2em;
    padding: 0 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
}

.liuyao-gua-rec-tag-panel-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 2px 0;
}

.liuyao-gua-rec-classic-cat-btn {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.liuyao-gua-rec-classic-cat-btn.is-active {
    border-color: #2f6b52;
    background: #e8f4ee;
    color: #1a5c40;
    font-weight: 700;
}

.liuyao-gua-rec-classic-cat-btn.liuyao-gua-rec-classic-cat-add {
    border-style: dashed;
    color: #2f6b52;
    background: #f8fcf9;
}

.liuyao-gua-rec-cat-add-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 2px;
    vertical-align: middle;
}

.liuyao-gua-rec-cat-add-form[hidden] {
    display: none !important;
}

.liuyao-gua-rec-cat-add-input {
    width: 5.5em;
    min-width: 5.5em;
    max-width: 5.5em;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 8px;
}

.liuyao-gua-rec-cat-add-input:focus {
    outline: none;
    border-color: #2f6b52;
    box-shadow: 0 0 0 2px rgba(47, 107, 82, 0.15);
}

.liuyao-gua-rec-cat-add-submit,
.liuyao-gua-rec-cat-add-cancel {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 10px;
    cursor: pointer;
    white-space: nowrap;
}

.liuyao-gua-rec-cat-add-submit {
    border-color: #2f6b52;
    background: #e8f4ee;
    color: #1a5c40;
    font-weight: 700;
}

.liuyao-gua-rec-cat-add-cancel:hover,
.liuyao-gua-rec-cat-add-submit:hover {
    filter: brightness(0.97);
}

.liuyao-gua-rec-embedded-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    border: 1px solid #dfe7e3;
    border-radius: 12px;
    overflow: visible;
    margin: 5px 0;
    background: #fafcfb;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.liuyao-gua-rec-embedded-body .history-list {
    flex: 0 0 auto;
    min-height: auto;
}

.history-list {
    flex: 0 0 auto;
    overflow-y: visible;
    padding: 10px 12px 16px;
}

.history-list::-webkit-scrollbar {
    width: auto;
    height: auto;
    display: block;
}

.liuyao-gua-rec-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #eef2f7;
}

#liuyaoGuaRecPaginationBottom {
    border-top: 1px solid #eef2f7;
    border-bottom: none;
}

.liuyao-gua-rec-page-btn {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    padding: 4px 10px;
    cursor: pointer;
}

.liuyao-gua-rec-page-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.liuyao-gua-rec-page-info {
    font-size: 12px;
    color: #64748b;
}
.history-loading,
.history-empty,
.history-error {
    text-align: center;
    padding: 32px 16px;
    color: #666;
}
.history-error {
    color: #c62828;
}

.liuyao-gua-rec-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px; 
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #334155;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 -1px 0 rgba(15, 23, 42, 0.12) inset,
        0 2px 8px rgba(15, 23, 42, 0.08);
}

.liuyao-gua-rec-item--request-comment > .liuyao-gua-rec-request-comment-badge {
    position: absolute;
    top: 4px;
    right: 10px;
    z-index: 2;
}

.liuyao-gua-rec-item--request-comment .liuyao-gua-rec-badges {
    margin-top: 22px;
}

.liuyao-gua-rec-request-comment-badge {
    flex: 0 0 auto;
    width: max-content;
    max-width: calc(100% - 20px);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 1px 2px rgba(120, 40, 0, 0.35);
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 42%, #ea580c 72%, #dc2626 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 2px 10px rgba(234, 88, 12, 0.42),
        0 0 0 1px rgba(251, 191, 36, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    pointer-events: none;
    animation: liuyao-gua-rec-request-comment-pulse 2.4s ease-in-out infinite;
}

@keyframes liuyao-gua-rec-request-comment-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 2px 10px rgba(234, 88, 12, 0.42),
            0 0 0 1px rgba(251, 191, 36, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }
    50% {
        transform: scale(1.04);
        box-shadow:
            0 4px 16px rgba(234, 88, 12, 0.55),
            0 0 0 2px rgba(251, 191, 36, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }
}

.liuyao-gua-rec-loadzone {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #e6ebf1;
    border-radius: 6px;
    background: #fcfdff;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.liuyao-gua-rec-loadzone:focus-visible {
    outline: 2px solid #2f6b52;
    outline-offset: 2px;
}

.liuyao-gua-rec-line1 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.35;
    min-width: 0;
}

.liuyao-gua-rec-line1-text {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
}

.liuyao-gua-rec-line1-sep {
    font-weight: 600;
    color: #6b7280;
}

.liuyao-gua-rec-line1-remark {
    font-weight: 500;
    color: #374151;
}

.liuyao-gua-rec-line2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #374151;
    white-space: nowrap;
}

.liuyao-gua-rec-search-note-snippet {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 3px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

.liuyao-gua-rec-search-note-label {
    flex: 0 0 auto;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    color: #1a5c40;
    background: rgba(232, 244, 238, 0.95);
    border: 1px solid rgba(47, 107, 82, 0.18);
}

.liuyao-gua-rec-search-note-body {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-all;
}

.liuyao-gua-rec-search-note-more {
    flex: 0 0 auto;
    font-size: 11px;
    color: #94a3b8;
}

.liuyao-gua-rec-search-comment-snippet {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 3px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

.liuyao-gua-rec-search-comment-label {
    flex: 0 0 auto;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    color: #9a3412;
    background: rgba(255, 237, 213, 0.95);
    border: 1px solid rgba(234, 88, 12, 0.18);
}

.liuyao-gua-rec-search-comment-body {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-all;
}

.liuyao-gua-rec-search-comment-more {
    flex: 0 0 auto;
    font-size: 11px;
    color: #94a3b8;
}

.liuyao-gua-rec-search-hit {
    padding: 0 1px;
    border-radius: 2px;
    color: inherit;
    background: rgba(254, 240, 138, 0.95);
    font-weight: 600;
}

/* 卦录编号区：按分池展示一种序号（卦录 / 分享 / 经典） */
.liuyao-gua-rec-badges {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}

.liuyao-gua-rec-my-no-badge,
.liuyao-gua-rec-share-no-badge,
.liuyao-gua-rec-group-share-no-badge,
.liuyao-gua-rec-classic-no-badge {
    padding: 1px 7px;
    border-radius: 5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-family: ui-monospace, 'Cascadia Code', 'SF Mono', Consolas, monospace;
    letter-spacing: 0.03em;
    line-height: 1.35;
    white-space: nowrap;
    user-select: text;
}

/* 我的卦录序号：卦录+收藏内按创建时间 1 起（不含经典池） */
.liuyao-gua-rec-my-no-badge {
    color: #b45309;
    background: rgba(255, 251, 235, 0.98);
    border: 1px solid rgba(217, 119, 6, 0.35);
}

.liuyao-gua-rec-offline-pending-badge {
    color: #92400e;
    background: rgba(254, 243, 199, 0.98);
    border: 1px solid rgba(217, 119, 6, 0.45);
    font-size: 11px;
    padding: 0 6px;
    border-radius: 8px;
    margin-left: 4px;
}

/* 分享编号：广场分享池内按 shared_at 1 起 */
.liuyao-gua-rec-share-no-badge {
    color: #0f766e;
    background: rgba(240, 253, 250, 0.98);
    border: 1px solid rgba(13, 148, 136, 0.32);
}

/* 小组内分享序号：本组内按 share_targets.shared_at 1 起 */
.liuyao-gua-rec-group-share-no-badge {
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* 经典卦录独立序号（经典池内按创建时间 1 起） */
.liuyao-gua-rec-classic-no-badge {
    color: #5b21b6;
    background: rgba(245, 243, 255, 0.98);
    border: 1px solid rgba(124, 58, 237, 0.32);
}

.liuyao-gua-rec-line3-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0;
}

.liuyao-gua-rec-classic-cat-line {
    margin-top: 2px;
    font-size: 12px;
    color: #6b7280;
    text-align: left;
}

.liuyao-gua-rec-time-left {
    flex: 0 0 auto;
    min-width: 0;
}

.liuyao-gua-rec-time-right {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.liuyao-gua-rec-line3-share-only {
    justify-content: flex-end;
}

.liuyao-gua-rec-share-meta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.liuyao-gua-rec-share-owner {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #475569;
}

.liuyao-gua-rec-share-time {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
}

.liuyao-gua-rec-sizhu {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex: 1 1 auto;
    font-size: 17px;
    font-weight: 700;
}

.liuyao-gua-rec-month-day {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
}

.liuyao-gua-rec-month {
    font-weight: 700;
}

.liuyao-gua-rec-day {
    font-weight: 700;
}
.liuyao-gua-rec-sizhu-gap {
    width: 0.62em;
    flex: 0 0 0.62em;
}

.liuyao-gua-rec-sizhu-item {
    font-weight: 700;
}
.liuyao-gua-rec-gua-names {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: right;
    font-size: 17px;
    color: #111827;
}

.liuyao-gua-rec-gua-strong {
    font-weight: 700;
}
.liuyao-gua-rec-gua-zhi {
    color: #6b7280;
    font-weight: 600;
}

.liuyao-gua-rec-actions-stack {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap:3px;
    margin: 0px 3px 6px;
    align-self: stretch;
}

.liuyao-gua-rec-action-btn {
    border: 1px solid #d7dbe3;
    background: #ffffff;
    color: #1f2937;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    min-width: 56px;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s ease;
}

.liuyao-gua-rec-action-btn:hover {
    border-color: #b9c2d0;
    background: #e9ecef;
}

.liuyao-gua-rec-comment-btn.liuyao-gua-comment-count-host {
    position: relative;
}

.liuyao-gua-rec-note-btn.liuyao-gua-note-count-host {
    position: relative;
}

.liuyao-gua-rec-action-btn.liuyao-gua-comment-count-host .liuyao-gua-comment-count-badge,
.liuyao-gua-rec-action-btn.liuyao-gua-note-count-host .liuyao-gua-note-count-badge {
    top: -5px;
    right: -4px;
}

.liuyao-gua-rec-request-comment-btn.is-active {
    color: #fff;
    border-color: #ea580c;
    background: linear-gradient(165deg, #fde68a 0%, #f97316 48%, #ea580c 100%);
    box-shadow: 0 1px 4px rgba(234, 88, 12, 0.35);
}

.liuyao-gua-rec-request-comment-btn.is-active:hover {
    background: linear-gradient(165deg, #fcd34d 0%, #fb923c 48%, #dc2626 100%);
    border-color: #c2410c;
    color: #fff;
}

.liuyao-gua-rec-del {
    color: #b71c1c;
    border-color: #ffcdd2;
}

/* 卦录 · 编辑备注 / 删除确认（叠在卦录面板之上，非系统 prompt / confirm） */
.liuyao-gua-rec-remark-dialog {
    position: fixed;
    inset: 0;
    z-index: 10006;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.liuyao-gua-rec-remark-dialog.show {
    opacity: 1;
    visibility: visible;
}
.liuyao-gua-rec-remark-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 18, 35, 0.55);
    backdrop-filter: blur(3px);
}
.liuyao-gua-rec-remark-panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: min(88vh, 560px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(40, 30, 80, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.liuyao-gua-rec-remark-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #2f6b52 0%, #1a5f4a 100%);
    color: #fff;
    flex-shrink: 0;
}
.liuyao-gua-rec-remark-head h3 {
    margin: 0;
    font-size: 1.08em;
    font-weight: 600;
}
.liuyao-gua-rec-remark-x {
    background: rgba(255, 255, 255, 0.22);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.45em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.liuyao-gua-rec-remark-x:hover {
    background: rgba(255, 255, 255, 0.32);
}
.liuyao-gua-rec-remark-body {
    padding: 16px 18px 8px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.liuyao-gua-rec-remark-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}
.liuyao-gua-rec-remark-ta {
    width: 100%;
    min-height: 120px;
    max-height: 40vh;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.5;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    background: #fafbfc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.liuyao-gua-rec-remark-ta:hover {
    border-color: #c7d2fe;
    background: #fff;
}
.liuyao-gua-rec-remark-ta:focus {
    outline: none;
    border-color: #2f6b52;
    box-shadow: 0 0 0 3px rgba(47, 107, 82, 0.22);
    background: #fff;
}
.liuyao-gua-rec-remark-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}
.liuyao-gua-rec-remark-hint {
    flex: 1 1 auto;
    min-width: 0;
}
.liuyao-gua-rec-remark-count {
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
    color: #2f6b52;
    font-weight: 600;
}
.liuyao-gua-rec-remark-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 18px 16px;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
    flex-shrink: 0;
}
.liuyao-gua-rec-remark-actions .liuyao-gua-rec-remark-cancel.prayer-btn {
    padding: 8px 18px;
    font-size: 15px;
    border-radius: 999px;
}
.liuyao-gua-rec-delete-dialog.liuyao-gua-rec-remark-dialog {
    z-index: 10007;
}
/* 评论/情境笔记删除确认：须高于完整排盘浮层(99998)与甲子选择(100010) */
#liuyaoGuaRecCommentDeleteDialog.logout-confirm-dialog,
#liuyaoCtxNotesDeleteDialog.logout-confirm-dialog {
    z-index: 100012;
}
/* 分享小组确认：高于小组管理全屏浮层 */
#liuyaoShareGroupConfirmDialog.logout-confirm-dialog {
    z-index: 12150;
}
.liuyao-gua-rec-delete-msg {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #374151;
}

.liuyao-gua-rec-move-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.liuyao-gua-rec-classic-cat-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.liuyao-notes-category-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width: 768px) {
    .liuyao-notes-category-options {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.liuyao-gua-rec-move-option[disabled] {
    opacity: 0.5;
    cursor: default;
}

/* 六爻页 Toast（笔记 / 祝文等，与八字 baziShowToast 读屏约定一致） */
.liuyao-page-toast {
    position: fixed;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background: rgba(40, 40, 50, 0.92);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    z-index: 100002;
    max-width: 90%;
    text-align: center;
}
.liuyao-page-toast[data-type="success"] { background: rgba(46, 125, 50, 0.95); }
.liuyao-page-toast[data-type="error"] { background: rgba(183, 28, 28, 0.95); }
.liuyao-page-toast[data-type="warning"] { background: rgba(230, 126, 34, 0.95); }
.liuyao-page-toast[data-type="info"] { background: rgba(40, 40, 50, 0.92); }

/* 平板/宽屏：卦录列表双列展示 */
@media (min-width: 768px) {
    .history-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-content: start;
    }

    .liuyao-gua-rec-item {
        margin-bottom: 0;
        height: 100%;
    }

    .history-list > .history-loading,
    .history-list > .history-empty,
    .history-list > .history-error {
        grid-column: 1 / -1;
    }
}

/* 分享 Tab：组别行 */
.liuyao-gua-rec-share-groups {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    width: 100%;
}

.liuyao-gua-rec-share-groups-fixed {
    flex: 0 0 auto;
    padding-right: 10px;
    margin-right: 6px;
    border-right: 1px solid rgba(47, 107, 82, 0.2);
}

.liuyao-gua-rec-share-groups-scroll {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 2px 0;
    min-width: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(47, 107, 82, 0.35) transparent;
}

.liuyao-gua-rec-share-groups-scroll::-webkit-scrollbar {
    height: 4px;
}

.liuyao-gua-rec-share-groups-scroll::-webkit-scrollbar-thumb {
    background: rgba(47, 107, 82, 0.35);
    border-radius: 999px;
}

.liuyao-gua-rec-share-group-tab,
.liuyao-gua-rec-share-group-create {
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: #475569;
    font-size: 12px;
    line-height: 1.2;
    padding: 6px 11px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    font-weight: 500;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

/* 广场：固定左侧、加大；高亮对齐 .yongshen-select-btn.active */
.liuyao-gua-rec-share-group-tab--plaza {
    min-width: 3.6em;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: linear-gradient(180deg, #fafafa 0%, #f1f5f9 100%);
    color: #334155;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 1px 2px rgba(15, 23, 42, 0.06);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.22s ease,
        transform 0.15s ease;
}

.liuyao-gua-rec-share-group-tab--plaza:hover:not(.is-active) {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
    border-color: #2f6b52;
    color: #1a5c40;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.92) inset,
        0 2px 4px rgba(15, 23, 42, 0.07);
}

/* 组别 Tab 选中高亮 → css/gua-records-shell.css */

.liuyao-gua-rec-share-group-tab:hover:not(.liuyao-gua-rec-share-group-tab--plaza):not(.is-active),
.liuyao-gua-rec-share-group-create:hover {
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
}

.liuyao-gua-rec-share-group-create {
    border-style: dashed;
    border-color: rgba(47, 107, 82, 0.28);
    color: #1a5c40;
    background: rgba(255, 255, 255, 0.35);
}

.liuyao-gua-rec-share-group-create:hover {
    border-color: #2f6b52;
    background: rgba(255, 255, 255, 0.75);
}

.liuyao-gua-rec-share-group-gear {
    font-size: 11px;
    opacity: 0.7;
    padding: 0 1px;
    cursor: pointer;
    line-height: 1;
}

.liuyao-gua-rec-share-group-gear:hover {
    opacity: 1;
}

.liuyao-gua-rec-share-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 0 0 10px;
}

.liuyao-gua-rec-share-btn.is-active {
    border-color: #2f6b52;
    color: #1a5c40;
}

.liuyao-gua-rec-fav-btn.is-active {
    border-color: #2f6b52;
    color: #1a5c40;
}

/* 分享目标菜单 */
.liuyao-share-target-menu {
    position: absolute;
    z-index: 12050;
    min-width: 140px;
    max-width: 240px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.liuyao-share-target-item {
    border: none;
    background: transparent;
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.liuyao-share-target-item:hover {
    background: #f1f5f9;
}

.liuyao-share-target-item.is-on {
    background: #e8f4ee;
    color: #1a5c40;
    font-weight: 600;
}

.liuyao-share-target-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

.liuyao-share-target-check {
    float: right;
}

/* 小组管理：全屏浮层（对齐站务管理 / 成员管理 fullsheet） */
.liuyao-share-group-modal {
    position: fixed;
    inset: 0;
    z-index: 12100;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.liuyao-share-group-modal[aria-hidden='false'] {
    display: flex;
}

.liuyao-share-group-fullsheet {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    height: 100%;
    margin: 0;
    background: #f7faf8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.liuyao-share-group-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 6px;
    box-sizing: border-box;
    background: #2a6350;
    color: #f4faf7;
}

.liuyao-share-group-head-text {
    flex: 1 1 auto;
    min-width: 0;
}

.liuyao-share-group-head-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.liuyao-share-group-head h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.04em;
    word-break: break-word;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.liuyao-share-group-head-dissolve {
    flex: 0 0 auto;
    margin: 0;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    font-family: inherit;
    border-radius: 4px;
    border: 1px solid rgba(254, 202, 202, 0.55);
    background: rgba(255, 255, 255, 0.1);
    color: #fecaca;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.liuyao-share-group-head-dissolve:hover {
    background: rgba(254, 226, 226, 0.18);
    border-color: rgba(254, 202, 202, 0.85);
    color: #fff;
}

.liuyao-share-group-head-dissolve[hidden] {
    display: none;
}

.liuyao-share-group-modal-sub {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
}

.liuyao-share-group-head-btn {
    flex: 0 0 auto;
    box-sizing: border-box;
    min-width: 36px;
    width: 36px;
    height: 32px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    color: #f4faf7;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.liuyao-share-group-head-btn:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.45);
}

.liuyao-share-group-head-btn--ghost {
    font-size: 17px;
    font-weight: 600;
}

.liuyao-share-group-head-spacer {
    flex: 0 0 36px;
    width: 36px;
    height: 32px;
}

.liuyao-share-group-modal-body {
    padding: 16px 14px 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}

.liuyao-share-group-section + .liuyao-share-group-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f0;
}

.liuyao-share-group-section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.liuyao-share-group-section-title {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #334155;
}

.liuyao-share-group-member-count {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

.liuyao-share-group-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.liuyao-share-group-field-label,
.liuyao-share-group-invite-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.liuyao-share-group-field input,
.liuyao-share-group-invite input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    background: #fafbfc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.liuyao-share-group-field input:hover,
.liuyao-share-group-invite input:hover {
    border-color: #c5ddd0;
    background: #fff;
}

.liuyao-share-group-field input:focus,
.liuyao-share-group-invite input:focus {
    outline: none;
    border-color: #2f6b52;
    box-shadow: 0 0 0 3px rgba(47, 107, 82, 0.22);
    background: #fff;
}

.liuyao-share-group-field input:read-only {
    background: #f3f4f6;
    color: #64748b;
    cursor: default;
}

.liuyao-share-group-members {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.liuyao-share-group-members-empty {
    padding: 14px 12px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px dashed #e2e8f0;
}

.liuyao-share-group-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f0;
    font-size: 13px;
}

.liuyao-share-group-member-item.is-self {
    background: #f4faf7;
    border-color: #d4e8de;
}

.liuyao-share-group-member-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.liuyao-share-group-member-avatar {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f4ee 0%, #d4e8de 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.liuyao-share-group-member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.liuyao-share-group-member-name {
    min-width: 0;
    color: #334155;
    line-height: 1.4;
    word-break: break-word;
}

.liuyao-share-group-owner-tag,
.liuyao-share-group-self-tag {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    vertical-align: middle;
    font-style: normal;
}

.liuyao-share-group-owner-tag {
    color: #1a5c40;
    background: #e8f4ee;
    border: 1px solid rgba(47, 107, 82, 0.18);
}

.liuyao-share-group-self-tag {
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.liuyao-share-group-member-action {
    flex: 0 0 auto;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    color: #475569;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.liuyao-share-group-member-action:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.liuyao-share-group-member-leave {
    color: #b45309;
    border-color: #fcd34d;
    background: #fffbeb;
}

.liuyao-share-group-member-kick {
    color: #b91c1c;
    border-color: #fecaca;
    background: #fef2f2;
}

.liuyao-share-group-invite-actions {
    flex: 0 0 auto;
}

.liuyao-share-group-invite-open-btn {
    margin: 0;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    font-family: inherit;
    color: #64748b;
    background: transparent;
    border: 1px solid #dbe3ea;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition:
        color 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.liuyao-share-group-invite-open-btn:hover {
    color: #1a5c40;
    border-color: #c5ddd0;
    background: rgba(236, 253, 245, 0.55);
}

.liuyao-share-group-invite-modal {
    position: fixed;
    inset: 0;
    z-index: 12200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.liuyao-share-group-invite-modal[aria-hidden='false'] {
    display: flex;
}

.liuyao-share-group-invite-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.liuyao-share-group-invite-panel {
    position: relative;
    width: min(100%, 360px);
    max-height: min(70vh, 420px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.liuyao-share-group-invite-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #eef2f0;
}

.liuyao-share-group-invite-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #334155;
}

.liuyao-share-group-invite-close {
    margin: 0;
    padding: 0 6px;
    border: none;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    font-family: inherit;
}

.liuyao-share-group-invite-close:hover {
    color: #475569;
}

.liuyao-share-group-invite-body {
    padding: 12px 14px 14px;
    overflow-y: auto;
}

.liuyao-share-group-invite-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #334155;
    background: #fff;
}

.liuyao-share-group-invite-input:focus {
    outline: none;
    border-color: #2f6b52;
    box-shadow: 0 0 0 2px rgba(47, 107, 82, 0.15);
}

.liuyao-share-group-invite-hint {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: #94a3b8;
}

.liuyao-share-group-search-results {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.liuyao-share-group-search-empty {
    margin: 0;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #94a3b8;
}

.liuyao-share-group-search-pick {
    width: 100%;
    text-align: left;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 10px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    color: #334155;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.liuyao-share-group-search-pick:hover {
    background: #f4faf7;
    border-color: #c5ddd0;
    color: #1a5c40;
}

.liuyao-share-group-modal-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}

.liuyao-share-group-btn {
    margin: 0;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.liuyao-share-group-btn-primary {
    color: #fff;
    border: 1px solid #1e4d3f;
    background: linear-gradient(180deg, #2a6350 0%, #1e4d3f 100%);
    box-shadow: 0 1px 3px rgba(30, 77, 63, 0.2);
}

.liuyao-share-group-btn-primary:hover {
    background: linear-gradient(180deg, #327a62 0%, #245a49 100%);
}

.liuyao-share-group-btn-ghost {
    color: #475569;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.liuyao-share-group-btn-ghost:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.liuyao-share-group-modal-foot .liuyao-share-group-btn[hidden] {
    display: none;
}

.liuyao-share-group-modal-foot[hidden] {
    display: none;
}

.liuyao-share-group-modal-body .liuyao-share-group-members-wrap[hidden],
.liuyao-share-group-invite-actions[hidden] {
    display: none;
}
