* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #1f2937; background: #f6f7fb; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(226,232,240,.9); box-shadow: 0 10px 28px rgba(15, 23, 42, .05); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 900; font-size: 20px; color: #111827; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, #0f766e 0%, #111827 100%); color: #fff; font-size: 16px; font-weight: 900; box-shadow: 0 10px 22px rgba(15, 118, 110, .2); }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; color: #4b5563; }
.main-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; transition: background .18s ease, color .18s ease; }
.nav-menu-icon { width: 16px; height: 16px; object-fit: contain; flex: 0 0 auto; margin-right: 6px; }
.main-nav a:hover { background: #f0fdfa; color: #0f766e; }
.main-nav .nav-pill { background: #111827; color: #fff; }
.main-nav .nav-pill:hover { background: #0f766e; color: #fff; }
.hero { background: linear-gradient(135deg, #102a43 0%, #155e75 55%, #0f766e 100%); color: #fff; padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: center; }
.eyebrow { color: #a7f3d0; font-weight: 700; margin: 0 0 10px; }
.hero h1 { font-size: 44px; margin: 0 0 16px; line-height: 1.15; letter-spacing: 0; }
.hero p { color: #e0f2fe; max-width: 680px; }
.hero-search { display: flex; gap: 12px; margin-top: 28px; }
.hero-search input, .filter-bar input, .filter-bar select { height: 46px; border: 1px solid #d1d5db; border-radius: 8px; padding: 0 14px; background: #fff; min-width: 0; }
.hero-search input { flex: 1; border: 0; }
.hero-search button, .filter-bar button { border: 0; border-radius: 8px; padding: 0 22px; background: #111827; color: #fff; font-weight: 700; cursor: pointer; }
.hero-hot-keywords { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: #dbeafe; font-size: 14px; }
.hero-hot-keywords span { color: #93c5fd; font-weight: 700; }
.hero-hot-keywords a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease, border-color .2s ease; }
.hero-hot-keywords a:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.42); }
.hero-panel { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 8px; padding: 24px; backdrop-filter: blur(10px); }
.hero-panel strong { display: block; font-size: 20px; margin-bottom: 10px; }
.hero-panel span { color: #a7f3d0; font-size: 14px; }
.section { padding: 34px 0; }
.site-announcement { background: #fff; border: 1px solid #bae6fd; border-left: 4px solid #0ea5e9; border-radius: 8px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); }
.site-announcement strong { display: block; color: #0f172a; font-size: 18px; margin-bottom: 6px; }
.site-announcement p { margin: 0; color: #475569; }
.section-title, .result-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-title h2 { margin: 0; font-size: 24px; }
.section-title a { color: #0f766e; font-weight: 700; }
.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.type-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 18px; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.type-card span { display: block; font-weight: 800; }
.type-card small { color: #6b7280; }
.category-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tags a { background: #fff; border: 1px solid #d1d5db; border-radius: 999px; padding: 8px 14px; color: #374151; display: inline-flex; align-items: center; gap: 8px; }
.category-tags small { color: #6b7280; font-size: 12px; }
.home-category-area { position: relative; display: block; }
.home-anchor-nav { position: fixed; left: max(12px, calc((100vw - 1180px) / 2 - 72px)); top: 112px; width: 52px; z-index: 5; display: grid; gap: 8px; padding: 7px; border: 1px solid #dfe6ee; border-radius: 8px; background: rgba(255,255,255,.95); box-shadow: 0 12px 30px rgba(15, 23, 42, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.home-anchor-nav.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.home-anchor-nav a { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 7px; color: #0f766e; font-size: 13px; font-weight: 900; overflow: hidden; background: #f8fafc; border: 1px solid #e5eef4; }
.home-anchor-nav a:hover { background: #ecfdf5; border-color: #99f6e4; color: #047857; transform: translateY(-1px); }
.home-anchor-nav img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-anchor-nav span { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #ecfeff, #f0fdf4); }
.home-category-list { display: grid; gap: 34px; min-width: 0; }
.home-category-section { scroll-margin-top: 96px; }
.filter-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; margin-bottom: 18px; align-items: end; }
.filter-bar button { min-width: 120px; }
.filter-submit-btn { height: 46px; min-width: 128px; justify-self: start; align-self: end; padding: 0 20px; background: linear-gradient(135deg, #111827 0%, #0f766e 100%); color: #fff; border: 1px solid #0f766e; box-shadow: 0 10px 24px rgba(15, 118, 110, .16); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.filter-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(15, 118, 110, .22); filter: brightness(1.02); }
.filter-submit-btn:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(15, 118, 110, .18); }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.resource-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); display: flex; flex-direction: column; min-height: 260px; }
.resource-card.recommend-card { background: #eff6ff; border-color: #bfdbfe; }
.resource-card.promo-card { background: #fff7ed; border-color: #fed7aa; }
.resource-cover { width: 100%; height: 150px; object-fit: cover; background: #e5e7eb; }
.software-icon-card { height: 150px; display: grid; place-items: center; background: #f8fafc; border-bottom: 1px solid #e5e7eb; }
.software-icon-card img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; }
.resource-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.resource-body h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.resource-body p { margin: 0; color: #4b5563; }
.muted { color: #6b7280 !important; font-size: 14px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #6b7280; }
.status-on, .status-off, .status-sold { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 12px; font-weight: 700; }
.status-on { background: #dcfce7; color: #166534; }
.status-off { background: #fee2e2; color: #991b1b; }
.status-sold { background: #fef3c7; color: #92400e; }
.flag { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 800; margin-right: 6px; }
.flag.recommend { background: #dbeafe; color: #1d4ed8; }
.flag.promo { background: #ffedd5; color: #c2410c; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-foot div { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.btn-dark { background: #111827; color: #fff; }
.btn-light { background: #f9fafb; border-color: #d1d5db; color: #374151; }
.btn-disabled { opacity: .48; cursor: not-allowed; pointer-events: none; }
.page-banner { background: #ffffff; border-bottom: 1px solid #e5e7eb; padding: 34px 0; }
.page-banner h1 { margin: 0 0 8px; }
.page-banner p { margin: 0; color: #6b7280; }
.page-banner-rich { max-width: 860px; color: #475569; }
.page-banner-rich strong { color: #111827; }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span { background: #fff; border: 1px solid #d1d5db; border-radius: 7px; padding: 8px 12px; color: #374151; }
.pagination a.active { background: #111827; color: #fff; border-color: #111827; }
.empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #d1d5db; border-radius: 8px; padding: 36px; text-align: center; color: #6b7280; }
.public-table-wrap { width: 100%; overflow-x: auto; background: #fff; border: 1px solid #d8dee8; border-radius: 8px; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.public-resource-table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; }
.public-resource-table th, .public-resource-table td { padding: 13px 14px; border-right: 1px solid #dae1e8; border-bottom: 1px solid #dae1e8; text-align: left; vertical-align: middle; }
.public-resource-table th:last-child, .public-resource-table td:last-child { border-right: 0; }
.public-resource-table tbody tr:last-child td { border-bottom: 0; }
.public-resource-table th { background: #f9fafb; color: #374151; font-size: 14px; white-space: nowrap; }
.public-resource-table th[data-sort-type] { position: relative; cursor: pointer; user-select: none; padding-right: 34px; }
.public-resource-table th[data-sort-type]::after { content: "↕"; position: absolute; right: 12px; top: 50%; width: 14px; text-align: center; transform: translateY(-50%); color: #9ca3af; font-weight: 400; }
.public-resource-table th[data-direction="asc"]::after { content: "↑"; color: #111827; }
.public-resource-table th[data-direction="desc"]::after { content: "↓"; color: #111827; }
.public-resource-table tbody tr:hover { background: #f8fafc; }
.public-resource-table tbody tr.recommend-row { background: #eff6ff; }
.public-resource-table tbody tr.promo-row { background: #fff7ed; }
.public-resource-table tbody tr.recommend-row:hover { background: #dbeafe; }
.public-resource-table tbody tr.promo-row:hover { background: #ffedd5; }
.public-resource-table th:not(.table-action-col),
.public-resource-table td:not(.table-action-col) { white-space: nowrap; }
.public-resource-table .table-action-col { position: sticky; right: 0; width: 200px; min-width: 200px; max-width: 200px; background: #fff; box-shadow: -10px 0 18px rgba(15, 23, 42, .06); z-index: 2; }
.public-resource-table th.table-action-col { background: #f9fafb; z-index: 3; }
.public-resource-table tr:hover .table-action-col { background: #f8fafc; }
.public-resource-table tr.recommend-row .table-action-col { background: #eff6ff; }
.public-resource-table tr.promo-row .table-action-col { background: #fff7ed; }
.public-resource-table tr.recommend-row:hover .table-action-col { background: #dbeafe; }
.public-resource-table tr.promo-row:hover .table-action-col { background: #ffedd5; }
.table-title { display: flex; align-items: center; gap: 10px; min-width: 220px; font-weight: 800; }
.table-title img { width: 34px; height: 34px; object-fit: contain; border-radius: 7px; background: #f3f4f6; border: 1px solid #e5e7eb; }
.table-icon { width: 34px; height: 34px; object-fit: contain; border-radius: 7px; background: #f3f4f6; border: 1px solid #e5e7eb; }
.keyword-highlight { display: inline; border-radius: 5px; padding: 1px 4px; background: color-mix(in srgb, var(--hl-color, #dc2626) 12%, #ffffff); border: 1px solid color-mix(in srgb, var(--hl-color, #dc2626) 24%, transparent); }
.primary-strong { font-weight: 800; }
.table-flags { min-height: 22px; margin-top: 6px; }
.table-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; white-space: nowrap; }
.favorite-toggle-form { display: inline-flex; margin: 0; }
.favorite-active { background: #16a34a; color: #fff; }
.toast-stack { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 1000; display: grid; gap: 12px; pointer-events: none; justify-items: center; }
.toast-message { position: relative; min-width: 220px; max-width: min(360px, calc(100vw - 32px)); padding: 14px 16px 15px; border-radius: 14px; border: 1px solid rgba(255,255,255,.24); background: linear-gradient(135deg, rgba(15, 23, 42, .96) 0%, rgba(31, 41, 55, .94) 100%); color: #fff; box-shadow: 0 18px 44px rgba(15, 23, 42, .24); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0; opacity: 0; transform: translateY(-12px) scale(.96); transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.toast-message::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.08)); }
.toast-message::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.28); transform-origin: left center; animation: toastProgress 2.8s linear forwards; }
.toast-message.show { opacity: 1; transform: translateY(0) scale(1); box-shadow: 0 22px 52px rgba(15, 23, 42, .28); }
.toast-message.success { background: linear-gradient(135deg, rgba(22, 163, 74, .96) 0%, rgba(21, 128, 61, .94) 100%); border-color: rgba(187, 247, 208, .42); }
.toast-message.error { background: linear-gradient(135deg, rgba(220, 38, 38, .96) 0%, rgba(185, 28, 28, .94) 100%); border-color: rgba(254, 202, 202, .4); }
@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
.empty-cell { text-align: center; color: #6b7280; padding: 28px !important; }
.content-slot-row td { background: #fff; padding: 12px !important; }
.content-slot-list { display: grid; gap: 12px; }
.content-slot-list.inline-content-slot { margin: 0; }
.content-slot-item { position: relative; border: 1px solid #fde68a; background: #fffbeb; border-radius: 8px; overflow: hidden; color: #78350f; }
.content-slot-link { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px; color: #78350f; }
.content-slot-item img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; background: #fff7ed; }
.content-slot-item strong { display: block; font-size: 15px; }
.content-slot-item p { margin: 4px 0 0; color: #92400e; }
.content-slot-ad-id { position: absolute; right: 5px; top: 5px; z-index: 2; padding: 1px 5px; border-radius: 4px; background: rgba(255, 251, 235, .86); color: #a16207; font-size: 11px; line-height: 1.4; pointer-events: none; }
.media-resource-list { display: grid; grid-template-columns: repeat(var(--media-columns, 1), minmax(0, 1fr)); gap: 16px; }
.media-resource-item { display: grid; grid-template-columns: 1fr; gap: 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); }
.media-resource-item.recommend-row { background: #eff6ff; }
.media-resource-item.promo-row { background: #fff7ed; }
.media-thumb { position: relative; display: grid; place-items: center; width: 100%; min-height: 180px; background: #f3f4f6; overflow: hidden; color: #0f766e; font-size: 34px; font-weight: 800; }
.media-thumb.has-cover { background-image: var(--media-cover); background-size: cover; background-position: center 30%; }
.media-thumb-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 70%, rgba(255,255,255,.88) 88%, rgba(255,255,255,1) 100%); }
.media-resource-item.recommend-row .media-thumb-fade { background: linear-gradient(to bottom, rgba(239,246,255,0) 0%, rgba(239,246,255,0) 70%, rgba(239,246,255,.88) 88%, rgba(239,246,255,1) 100%); }
.media-resource-item.promo-row .media-thumb-fade { background: linear-gradient(to bottom, rgba(255,247,237,0) 0%, rgba(255,247,237,0) 70%, rgba(255,247,237,.88) 88%, rgba(255,247,237,1) 100%); }
.media-body { min-width: 0; display: grid; gap: 8px; padding: 0 16px 16px; margin-top: -18px; position: relative; z-index: 1; }
.media-body h3 { margin: 0; font-size: 19px; }
.media-body p { margin: 0; color: #4b5563; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 34px 0; align-items: start; }
.detail-main, .detail-side { background: #fff; border: 1px solid #dfe6ee; border-radius: 8px; box-shadow: 0 16px 36px rgba(15, 23, 42, .07); }
.detail-main { overflow: hidden; }
.detail-hero { display: grid; grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr); min-height: 330px; background: linear-gradient(135deg, #f8fbff 0%, #ffffff 56%, #f0fdfa 100%); border-bottom: 1px solid #e5e7eb; }
.detail-hero.no-media { grid-template-columns: 1fr; min-height: 0; }
.detail-media { min-height: 330px; background-image: linear-gradient(to bottom, rgba(255,255,255,0) 58%, rgba(255,255,255,.94) 100%), var(--detail-cover); background-size: cover; background-position: center; border-right: 1px solid #e5e7eb; }
.detail-hero-body { display: grid; align-content: center; gap: 16px; padding: 34px; min-width: 0; }
.detail-flags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 28px; }
.detail-category { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: #e0f2fe; color: #0f766e; font-size: 12px; font-weight: 800; }
.detail-hero h1 { margin: 0; color: #0f172a; font-size: 34px; line-height: 1.18; letter-spacing: 0; word-break: break-word; }
.detail-hero p { margin: 0; color: #475569; line-height: 1.8; }
.detail-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.detail-stats div { display: grid; gap: 6px; padding: 14px 15px; border: 1px solid #e5e7eb; border-radius: 8px; background: rgba(255,255,255,.82); }
.detail-stats span { color: #64748b; font-size: 12px; font-weight: 800; }
.detail-stats strong { color: #111827; font-size: 18px; line-height: 1.25; word-break: break-word; }
.detail-section { padding: 26px 28px; border-bottom: 1px solid #e5e7eb; }
.detail-section:last-child { border-bottom: 0; }
.detail-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.detail-section-head span, .detail-side-head span { color: #0f766e; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.detail-section h2, .detail-side h2 { margin: 0; color: #111827; font-size: 21px; line-height: 1.25; }
.detail-description { margin: 0; color: #334155; line-height: 1.9; }
.detail-side { padding: 22px; position: sticky; top: 88px; }
.detail-side-head { display: grid; gap: 8px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #e5e7eb; }
.detail-side-head p { margin: 0; color: #64748b; font-size: 13px; white-space: normal; }
.detail-side p { white-space: pre-wrap; color: #374151; }
.contact-locked-box { display: grid; gap: 12px; padding: 18px; border: 1px solid #fed7aa; border-radius: 8px; background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.88); text-align: center; }
.contact-locked-box .locked-icon { display: inline-flex; align-items: center; justify-content: center; justify-self: center; width: 46px; height: 46px; border-radius: 999px; background: #ffedd5; color: #c2410c; font-size: 16px; font-weight: 900; }
.contact-locked-box strong { color: #111827; font-size: 19px; }
.contact-locked-box p { margin: 0; color: #7c2d12; white-space: normal; line-height: 1.75; }
.unlock-cost { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #111827; color: #fff; text-align: left; }
.unlock-cost span { font-size: 18px; font-weight: 900; }
.unlock-cost small { color: #cbd5e1; font-size: 12px; font-weight: 800; }
.side-content-slot { margin-top: 18px; }
.side-content-slot .content-slot-link { align-items: flex-start; }
.side-content-slot .content-slot-item img { width: 72px; height: 54px; }
.full { width: 100%; margin-top: 14px; }
.info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.info-item { display: grid; gap: 7px; min-height: 82px; padding: 14px 15px; border: 1px solid #e5e7eb; border-radius: 8px; background: #f9fafb; }
.info-item span { color: #64748b; font-size: 12px; font-weight: 800; }
.info-item strong { color: #111827; font-size: 15px; line-height: 1.55; word-break: break-word; }
.info-item strong a { color: #0f766e; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { border-top: 1px solid #dbe3ec; padding: 34px 0 18px; color: #64748b; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 18px; text-align: left; }
.footer-brand, .footer-block { min-width: 0; padding: 18px; border: 1px solid #e5e7eb; border-radius: 8px; background: rgba(255,255,255,.78); box-shadow: 0 10px 26px rgba(15, 23, 42, .04); }
.footer-brand { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
.footer-brand .brand-mark { width: 42px; height: 42px; grid-row: span 2; }
.footer-grid strong { display: block; color: #111827; margin-bottom: 8px; font-size: 15px; }
.footer-brand strong { margin: 0; font-size: 17px; }
.footer-grid p { margin: 0; line-height: 1.8; }
.footer-brand p { grid-column: 2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: #ecfdf5; color: #0f766e; font-weight: 800; font-size: 13px; }
.footer-links a:hover { background: #d1fae5; }
.footer-bottom { border-top: 1px solid #dae1e8; margin-top: 22px; padding-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; font-size: 13px; }
.auth-panel, .member-card, .member-side { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 22px; box-shadow: 0 10px 28px rgba(15, 23, 42, .06); }
.auth-panel { width: min(460px, 100%); margin: 0 auto; }
.auth-panel h1, .member-card h2, .member-side h1 { margin: 0 0 16px; }
.public-form { display: grid; gap: 14px; }
.public-form label { display: grid; gap: 7px; font-weight: 700; color: #374151; }
.public-form input, .public-form select, .public-form textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 12px; background: #fff; }
.form-alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-weight: 700; }
.form-alert.success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.form-alert.error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.member-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.member-side { position: sticky; top: 88px; }
.member-side-head { display: grid; gap: 4px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #dae1e8; }
.member-side-head strong { color: #111827; font-size: 18px; }
.member-side-head span { color: #6b7280; font-size: 13px; }
.member-menu { display: grid; gap: 8px; }
.member-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 9px 12px; color: #374151; font-weight: 700; background: #f9fafb; }
.member-menu a:hover, .member-menu a.active { background: #111827; color: #fff; border-color: #111827; }
.member-main { display: grid; gap: 18px; }
.member-top-slot { margin-bottom: 0; }
.member-top-slot .content-slot-item { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }
.member-top-slot .content-slot-link { color: #1e3a8a; }
.member-overview-card { display: grid; gap: 18px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); }
.member-overview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.member-overview-head h1 { margin: 6px 0 8px; font-size: 30px; line-height: 1.15; }
.member-overview-head p { margin: 0; color: #4b5563; }
.member-overview-label { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #e0f2fe; color: #0f766e; font-size: 12px; font-weight: 800; }
.member-key-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.member-stat-card { position: relative; display: grid; gap: 8px; padding: 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); overflow: hidden; }
.member-stat-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #0f766e; }
.member-stat-card span { color: #6b7280; font-size: 13px; font-weight: 700; }
.member-stat-card strong { color: #111827; font-size: 28px; line-height: 1.1; word-break: break-word; }
.member-stat-card small { color: #4b5563; font-size: 13px; }
.member-stat-card.accent-points::before { background: linear-gradient(180deg, #0ea5e9 0%, #0f766e 100%); }
.member-stat-card.accent-vip::before { background: linear-gradient(180deg, #f59e0b 0%, #ea580c 100%); }
.member-overview-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.member-meta-box { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.member-meta-box strong { color: #111827; font-size: 14px; }
.member-meta-box span { color: #4b5563; font-size: 13px; word-break: break-word; }
.member-profile-extra { display: grid; gap: 12px; padding-top: 4px; }
.member-profile-extra h2 { margin: 0; font-size: 18px; }
.member-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.member-actions-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.member-import-tip { display: grid; gap: 4px; padding: 14px 16px; margin-bottom: 14px; border: 1px solid #bfdbfe; border-left: 4px solid #0f766e; border-radius: 8px; background: #f0fdfa; }
.member-import-tip strong { color: #111827; }
.member-import-tip span { color: #0f766e; font-size: 13px; font-weight: 700; }
.member-import-tip code { white-space: normal; word-break: break-all; }
.member-import-tip.is-locked { border-color: #fde68a; border-left-color: #d97706; background: #fffbeb; }
.member-import-tip.is-locked span { color: #b45309; }
.member-center-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.member-center-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #f9fafb; color: #374151; font-weight: 800; }
.member-center-tabs a.active { background: #111827; border-color: #111827; color: #fff; }
.payment-qr-box { width: min(280px, 100%); margin: 0 auto 16px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .06); }
.payment-qr-box img { width: 100%; height: auto; object-fit: contain; }
.quick-recharge-grid { margin-bottom: 18px; }
.quick-recharge-card { position: relative; display: grid; gap: 6px; padding: 16px; border: 1px solid #d1d5db; border-radius: 12px; background: #fff; cursor: pointer; }
.quick-recharge-card input { position: absolute; top: 12px; right: 12px; width: auto; }
.quick-recharge-card strong { color: #111827; font-size: 16px; }
.quick-recharge-card span { color: #0f766e; font-weight: 800; }
.quick-recharge-card small { color: #6b7280; }
.info-rules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.rich-text-content { color: #475569; line-height: 1.85; white-space: normal; }
.category-intro-card { display: grid; gap: 14px; margin-bottom: 18px; padding: 18px 20px; border: 1px solid #fed7aa; border-left: 4px solid #ea580c; border-radius: 10px; background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%); box-shadow: 0 12px 28px rgba(234, 88, 12, .08); }
.category-intro-head { display: grid; gap: 6px; }
.category-intro-head span { color: #c2410c; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.category-intro-head h2 { margin: 0; color: #111827; font-size: 20px; }
.category-intro-card .rich-text-content { color: #7c2d12; }
.inline-public-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.copy-link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; margin-top: 14px; }
.copy-link-row input { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 12px; background: #f9fafb; color: #374151; }
.copy-tip { min-width: 48px; color: #0f766e; font-size: 13px; font-weight: 800; }
.member-batch-form { margin-bottom: 14px; }
.member-resource-filter { display: grid; grid-template-columns: minmax(240px, 1fr) 140px auto; gap: 10px; align-items: center; margin-bottom: 14px; }
.member-batch-toolbar { display: grid; grid-template-columns: 130px auto minmax(120px, 1fr) auto; gap: 10px; align-items: center; }
.member-resource-filter input, .member-resource-filter select,
.member-batch-toolbar input, .member-batch-toolbar select { min-width: 0; border: 1px solid #d1d5db; border-radius: 8px; padding: 9px 11px; background: #fff; }
.member-batch-toolbar label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: #374151; font-weight: 700; }
.member-batch-toolbar label input { width: auto; }
.contact-list { display: grid; gap: 10px; }
.contact-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px; background: #e0f2fe; color: #0f766e; font-size: 14px; font-weight: 800; }
.contact-text { display: grid; gap: 3px; min-width: 0; }
.contact-text strong { color: #111827; font-size: 14px; }
.contact-text span { color: #4b5563; word-break: break-all; }
.profile-contact-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.profile-contact-list .contact-item { padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
.detail-contact-list { margin-bottom: 14px; }
.detail-contact-note { margin-top: 14px !important; white-space: pre-wrap; color: #4b5563 !important; }
.table-scroll { width: 100%; overflow-x: auto; }
.member-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.member-table th, .member-table td { border-bottom: 1px solid #dae1e8; padding: 11px 10px; text-align: left; }
.member-table th { background: #f9fafb; color: #374151; }
.table-actions-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.inline-status-form { margin: 0; }
.form-grid-public { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.form-grid-public .wide { grid-column: 1 / -1; }
.public-resource-form-note { display: grid; gap: 4px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid #bfdbfe; border-left: 4px solid #0f766e; border-radius: 8px; background: #f0fdfa; }
.public-resource-form-note strong { color: #111827; font-size: 16px; }
.public-resource-form-note span { color: #0f766e; font-size: 13px; font-weight: 700; }
.public-form-section { display: grid; gap: 16px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; padding: 18px; margin-bottom: 16px; }
.public-form-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #eef2f7; }
.public-form-section-head h2 { margin: 0; font-size: 18px; color: #111827; }
.public-form-section-head p { max-width: 520px; margin: 0; color: #64748b; font-size: 13px; line-height: 1.6; }
.field-group-public { background: #f9fafb; }
.field-group-public h2 { margin: 0; font-size: 18px; }
.public-custom-field-panel { margin: 0; }
.public-field-input-block { position: relative; display: grid; gap: 10px; align-content: start; }
.primary-style-box { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; display: none; width: min(360px, 100%); border: 1px solid #cbd5e1; border-radius: 8px; padding: 12px; background: #fff; box-shadow: 0 18px 42px rgba(15, 23, 42, .16); }
.primary-style-box.is-active { display: block; }
.primary-style-box strong { display: block; margin-bottom: 10px; color: #111827; }
.primary-style-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; position: relative; }
.rich-toolbar-btn { min-width: 42px; }
.toolbar-color-input { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.upload-combo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.upload-combo-btn { position: relative; display: inline-flex !important; align-items: center; justify-content: center; min-width: 112px; padding: 0 14px; border-radius: 8px; background: #0f766e; color: #fff !important; font-weight: 800 !important; cursor: pointer; overflow: hidden; }
.upload-combo-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.public-form-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.check-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.check-row label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 700; }
.check-row input { width: auto; }
.public-modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 24px; }
.public-modal.is-open { display: flex; }
.public-modal-backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .58); }
.public-modal-dialog { position: relative; width: min(620px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 24px 70px rgba(15, 23, 42, .28); }
.login-modal-dialog { width: min(430px, 100%); }
.public-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.public-modal-head h2 { margin: 0; font-size: 20px; }
.auth-panel-pane { display: none; }
.auth-panel-pane.is-active { display: grid; }
.auth-react-frame { width: 100%; min-height: 560px; border: 0; border-radius: 8px; background: #fff; }
.login-modal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.login-modal-actions .btn { min-width: 110px; }
.login-modal-links { margin: 0; }
.link-button { border: 0; padding: 0; background: transparent; color: #0f766e; font-weight: 800; cursor: pointer; }
.modal-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 7px; border: 1px solid #d1d5db; background: #f9fafb; color: #374151; font-size: 22px; line-height: 1; }
.modal-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-grid, .detail-layout, .member-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-media { min-height: 240px; border-right: 0; border-bottom: 1px solid #e5e7eb; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-anchor-nav { position: sticky; top: 72px; width: auto; left: auto; z-index: 4; display: flex; align-items: center; gap: 8px; overflow-x: auto; margin-bottom: 18px; transform: none; }
  .home-anchor-nav a { flex: 0 0 auto; }
  .type-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 10px; }
  .member-key-stats, .member-overview-meta { grid-template-columns: 1fr; }
}
@media (max-width: 1590px) {
  .home-anchor-nav { position: sticky; top: 72px; width: auto; left: auto; z-index: 4; display: flex; align-items: center; gap: 8px; overflow-x: auto; margin-bottom: 18px; transform: none; }
  .home-anchor-nav a { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .brand { width: 100%; }
  .main-nav { width: 100%; gap: 6px; }
  .main-nav a { min-height: 34px; padding: 0 9px; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 32px; }
  .hero-search, .card-foot { flex-direction: column; align-items: stretch; }
  .filter-bar, .type-grid, .resource-grid { grid-template-columns: 1fr; }
  .media-resource-list { grid-template-columns: 1fr; }
  .public-resource-table .table-action-col { width: 126px; min-width: 126px; max-width: 126px; }
  .detail-hero-body, .detail-section { padding: 22px; }
  .detail-hero h1 { font-size: 28px; }
  .detail-stats { grid-template-columns: 1fr; }
  .member-overview-head { flex-direction: column; align-items: stretch; }
  .member-stat-card strong { font-size: 24px; }
  .form-grid-public, .inline-public-form, .copy-link-row, .member-resource-filter, .member-batch-toolbar { grid-template-columns: 1fr; }
  .public-form-section-head { flex-direction: column; }
  .media-thumb { width: 100%; height: 170px; }
  .info-list { grid-template-columns: 1fr; }
  .footer-brand { grid-template-columns: 1fr; }
  .footer-brand .brand-mark, .footer-brand p { grid-column: auto; }
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(148, 163, 184, 0.22);
  --glass-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --brand-1: #1677ff;
  --brand-2: #13c2c2;
  --brand-3: #0958d9;
  --surface-text: #0f172a;
}

body {
  position: relative;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--surface-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 119, 255, 0.16), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(19, 194, 194, 0.18), transparent 28%),
    linear-gradient(180deg, #f6fbff 0%, #eef4fb 52%, #f8fbff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  filter: blur(28px);
  pointer-events: none;
}

body::before {
  top: 88px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.18);
}

body::after {
  left: -50px;
  bottom: 90px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(19, 194, 194, 0.15);
}

.container { width: min(1240px, calc(100% - 32px)); }

.site-header {
  top: 12px;
  width: min(1240px, calc(100% - 24px));
  margin: 0 auto;
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--glass-shadow);
}

.header-inner { min-height: 82px; gap: 18px; }
.header-brand-block { display: grid; gap: 4px; min-width: 0; }
.brand { font-size: 22px; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.22);
}

.header-subtitle {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.main-nav {
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.main-nav a,
.header-ghost-link,
.nav-pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(22, 119, 255, 0.08);
  border-color: rgba(22, 119, 255, 0.14);
  color: var(--brand-3);
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-ghost-link {
  display: inline-flex;
  align-items: center;
  color: #334155;
  background: rgba(255, 255, 255, 0.44);
  border-color: rgba(148, 163, 184, 0.16);
}

.nav-pill {
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-3) 100%);
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.2);
}

.hero,
.page-banner {
  margin-top: 24px;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.hero {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #0b3ea8 0%, #1677ff 50%, #13c2c2 100%);
}

.hero-panel,
.site-announcement,
.type-card,
.resource-card,
.page-banner,
.public-table-wrap,
.auth-panel,
.member-card,
.member-side,
.detail-main,
.detail-side,
.footer-brand,
.footer-block,
.public-modal-dialog {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.type-card,
.resource-card,
.auth-panel,
.member-card,
.member-side,
.detail-main,
.detail-side,
.footer-brand,
.footer-block,
.public-modal-dialog,
.public-table-wrap {
  border-radius: 24px;
}

.filter-bar,
.member-import-tip,
.info-item,
.member-meta-box,
.member-stat-card,
.contact-locked-box {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.btn {
  border-radius: 999px;
  padding: 10px 16px;
}

.btn-dark {
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-3) 100%);
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.2);
}

.btn-light {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(148, 163, 184, 0.22);
  color: #1e293b;
}

.public-form input,
.public-form select,
.public-form textarea,
.hero-search input,
.filter-bar input,
.filter-bar select,
.copy-link-row input {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.member-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
}

.member-side {
  padding: 18px;
  top: 104px;
}

.member-side-shell {
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(19, 194, 194, 0.08));
}

.member-menu { gap: 14px; }
.member-menu-group { display: grid; gap: 8px; }

.member-menu-title {
  padding: 0 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-menu a,
.member-logout-link {
  gap: 12px;
  min-height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(148, 163, 184, 0.16);
}

.member-menu a:hover,
.member-menu a.active {
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.14), rgba(19, 194, 194, 0.1));
  border-color: rgba(22, 119, 255, 0.18);
  color: var(--brand-3);
}

.member-nav-badge {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.14), rgba(19, 194, 194, 0.14));
  color: var(--brand-3);
  font-size: 12px;
  font-weight: 900;
  flex: 0 0 auto;
}

.member-workbench-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.member-workbench-card {
  display: grid;
  gap: 6px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(19, 194, 194, 0.08));
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.member-workbench-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(22, 119, 255, 0.1);
  border-color: rgba(22, 119, 255, 0.22);
}

.member-workbench-card span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-workbench-card strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.4;
}

.member-workbench-card small {
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

.member-overview-card {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.52), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, rgba(246, 250, 255, 0.72) 100%);
}

.member-stat-card { border-radius: 20px; }

.site-footer {
  margin-top: 24px;
  background: transparent;
  border-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .header-inner,
  .main-nav,
  .header-action-group {
    justify-content: flex-start;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 0;
  }

  .member-layout,
  .member-workbench-grid {
    grid-template-columns: 1fr;
  }
}
