feat: 工具盒视觉重设计 + 个人中心详情弹窗

本次提交对全部工具入口页(MorePage)进行了全面的信息架构和视觉升级,并为个人中心新增卡片点击详情弹窗。

## 工具盒(MorePage)重设计
- 工具卡片增加 useCase 使用场景说明和 tags 标签行,帮助用户快速理解每个工具的适用场景
- 核心工具(Featured)卡片新增 kicker 标题、steps 操作步骤、outcome 产出说明,强化工作流引导
- 新增 ToolComparePanel 组件,为每个工具展示 Before/After 对比示意舞台
- 分类筛选按钮新增计数徽章,展示每个分类下的工具数量
- 页面头部新增 eyebrow(AI Tool Hub)+ 工具概览统计信息
- 最近使用区域增加分类标签副标题
- 空分类场景新增引导式空状态面板
- 全面补充 aria-label 和无障碍键盘支持

## 个人中心详情弹窗
- 新增 ProfileDetailSelection 类型和 openDetailSelection/closeDetailSelection 流程
- 使用 createPortal 渲染详情弹窗,支持代表作和资产两种详情视图
- 弹窗内支持媒体预览(图片/视频)、元数据展示、下载和删除操作
- 列表卡片(代表作/项目/资产)改为 interactive-card,支持键盘 Enter/Space 激活
- 删除项目按钮增加 event.stopPropagation 防止冒泡触发卡片点击
- 弹窗打开时锁定 body 滚动,Esc 键关闭

## App.tsx 适配
- 传递 setTasks 给 ProfilePage,支持代表作移除操作
- 传递 onOpenProject 回调,支持从个人中心打开项目

## CSS 样式升级
- more.css: 全面重设页头布局(grid 三栏)、筛选胶囊、核心卡片 Before/After 舞台、步骤条、响应式适配
- profile.css: 新增详情弹窗 overlay/panel/preview 布局、交互卡片 hover/focus 状态
- dark-green.css: 工具盒与详情弹窗的深绿主题样式约 780 行
This commit is contained in:
2026-06-07 11:42:00 +08:00
parent 5bdeac20fb
commit 4530058648
6 changed files with 2514 additions and 111 deletions
+783
View File
@@ -8516,6 +8516,789 @@
overflow-y: hidden;
}
/* Personal center design-taste pass: keep the black-green product language, but unify spacing, surfaces, and responsive behavior. */
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
--profile-page: #08090b;
--profile-panel: #121416;
--profile-panel-soft: #16191b;
--profile-control: #181b1e;
--profile-control-strong: #1d2124;
--profile-border: rgba(255, 255, 255, 0.085);
--profile-border-strong: rgba(255, 255, 255, 0.15);
--profile-text: #f4f7f5;
--profile-muted: rgba(225, 235, 231, 0.64);
--profile-soft: rgba(225, 235, 231, 0.42);
--profile-accent: #00ff88;
--profile-accent-soft: rgba(0, 255, 136, 0.12);
--profile-accent-border: rgba(0, 255, 136, 0.34);
--profile-radius-lg: 18px;
--profile-radius-md: 14px;
--profile-radius-sm: 10px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 260px),
var(--profile-page);
color: var(--profile-text);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
height: clamp(148px, 18vw, 210px);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
var(--profile-panel);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner-overlay {
background:
linear-gradient(180deg, rgba(8, 9, 11, 0.24) 0%, rgba(8, 9, 11, 0.7) 68%, var(--profile-page) 100%),
linear-gradient(90deg, rgba(8, 9, 11, 0.76), rgba(8, 9, 11, 0.28) 48%, rgba(8, 9, 11, 0.68));
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
grid-template-columns: minmax(272px, 304px) minmax(0, 1fr);
gap: clamp(18px, 2.2vw, 28px);
width: min(1220px, calc(100% - 48px));
margin-top: -54px;
padding-bottom: clamp(44px, 5vw, 72px);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard :is(
.profile-page__sidebar,
.profile-page__account-card,
.profile-page__main-tabs,
.profile-page__section,
.profile-page__list-card,
.profile-page__review-item,
.profile-page__empty-state
) {
border: 1px solid var(--profile-border);
border-radius: var(--profile-radius-lg);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.012)),
var(--profile-panel);
box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
gap: 16px;
padding: clamp(16px, 1.8vw, 22px);
}
@media (min-width: 1024px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
position: sticky;
top: 18px;
align-self: start;
}
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
gap: 10px;
width: 100%;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
width: 90px;
height: 90px;
padding: 3px;
border-color: var(--profile-accent-border);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
var(--profile-accent-soft);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
width: 82px;
height: 82px;
border-color: rgba(5, 8, 13, 0.94);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__username {
color: var(--profile-text);
font-size: clamp(19px, 1.5vw, 22px);
line-height: 1.2;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display {
width: min(268px, 100%);
min-height: 38px;
border-color: var(--profile-border);
background: rgba(255, 255, 255, 0.035);
color: var(--profile-muted);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display:focus-visible {
border-color: var(--profile-accent-border);
background: var(--profile-accent-soft);
color: var(--profile-text);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
min-width: 0;
padding: 12px 8px;
border: 1px solid var(--profile-border);
border-radius: var(--profile-radius-sm);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
var(--profile-control);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count strong {
color: var(--profile-text);
font-size: 20px;
font-weight: 850;
font-variant-numeric: tabular-nums;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count span {
color: var(--profile-muted);
font-size: 11px;
font-weight: 700;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
gap: 12px;
padding: 12px;
border-radius: var(--profile-radius-md);
background:
radial-gradient(circle at 14% 0%, rgba(0, 255, 136, 0.11), transparent 32%),
linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.016)),
rgba(10, 14, 13, 0.72);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs {
gap: 5px;
padding: 5px;
border: 1px solid var(--profile-border);
border-radius: 12px;
background: rgba(255, 255, 255, 0.026);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
min-height: 44px;
border: 1px solid transparent;
border-radius: 9px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button.is-active,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button.is-active {
border-color: var(--profile-accent-border);
background: var(--profile-accent-soft);
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
grid-template-columns: minmax(0, 1fr) auto;
padding: 12px;
border-color: var(--profile-border);
border-radius: 13px;
background:
linear-gradient(135deg, rgba(0, 255, 136, 0.06), transparent 60%),
rgba(255, 255, 255, 0.026);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary small,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary em {
color: var(--profile-soft);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary strong {
color: var(--profile-text);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric strong {
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
display: grid;
gap: 9px;
width: 100%;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn {
min-height: 42px;
border-color: var(--profile-border);
border-radius: var(--profile-radius-sm);
background: var(--profile-control);
color: var(--profile-muted);
font-weight: 700;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn:focus-visible {
border-color: var(--profile-border-strong);
background: var(--profile-control-strong);
color: var(--profile-text);
outline: none;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary {
border-color: rgba(0, 255, 136, 0.74);
background:
linear-gradient(180deg, rgba(88, 255, 172, 0.98), rgba(0, 216, 116, 0.92));
color: #061014;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn.profile-page__share-btn--primary:focus-visible {
border-color: #35ffa2;
background:
linear-gradient(180deg, rgba(115, 255, 187, 1), rgba(0, 216, 116, 0.96));
color: #061014;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--plan {
min-height: 34px;
border-color: var(--profile-accent-border);
border-style: dashed;
background: var(--profile-accent-soft);
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__share-btn--danger {
border-color: rgba(255, 90, 95, 0.18);
background: rgba(255, 90, 95, 0.045);
color: rgba(255, 165, 168, 0.84);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main {
gap: 16px;
min-width: 0;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 6px;
min-height: 52px;
margin: 0;
padding: 6px;
border-radius: var(--profile-radius-lg);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
min-width: 0;
min-height: 40px;
padding: 0 12px;
border: 1px solid transparent;
border-radius: 12px;
background: transparent;
color: var(--profile-muted);
font-weight: 760;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
display: flex;
flex-direction: column;
gap: 14px;
padding: clamp(14px, 1.8vw, 20px);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
grid-template-columns: minmax(0, 1fr) auto;
grid-template-areas:
"title meta"
"desc meta";
row-gap: 4px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
color: var(--profile-text);
font-size: 16px;
font-weight: 820;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-desc {
color: var(--profile-muted);
font-size: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-meta {
border-color: var(--profile-accent-border);
background: var(--profile-accent-soft);
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
gap: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-card {
border-radius: var(--profile-radius-md);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.034), transparent),
rgba(255, 255, 255, 0.018);
transition:
border-color var(--transition-fast),
background var(--transition-fast),
transform var(--transition-fast);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__interactive-card:hover,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__interactive-card:focus-visible {
border-color: rgba(0, 255, 136, 0.28);
background:
linear-gradient(180deg, rgba(0, 255, 136, 0.046), transparent),
rgba(255, 255, 255, 0.024);
transform: translateY(-1px);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
grid-template-columns: 94px minmax(0, 1fr);
height: auto;
min-height: 128px;
max-height: none;
padding: 14px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
width: 94px;
height: 98px;
min-height: 98px;
max-height: 98px;
border-color: var(--profile-border);
border-radius: 12px;
background:
linear-gradient(135deg, rgba(0, 255, 136, 0.06), transparent 64%),
var(--profile-control);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
height: 98px;
min-height: 98px;
max-height: 98px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-badge {
border-color: rgba(0, 255, 136, 0.24);
background: rgba(5, 10, 8, 0.78);
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
grid-template-rows: auto minmax(0, 1fr) auto;
gap: 7px;
height: 98px;
min-height: 98px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head {
min-height: 0;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
color: var(--profile-text);
font-size: 14px;
line-height: 1.28;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head span {
max-width: 76px;
overflow: hidden;
padding: 3px 7px;
border: 1px solid rgba(0, 255, 136, 0.22);
border-radius: 999px;
background: var(--profile-accent-soft);
color: var(--profile-accent);
text-overflow: ellipsis;
white-space: nowrap;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card p {
display: -webkit-box;
min-height: 0;
max-height: none;
overflow: hidden;
color: var(--profile-muted);
line-height: 1.45;
white-space: normal;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
min-height: 0;
color: var(--profile-soft);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-state {
min-height: 240px;
border-style: dashed;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
rgba(255, 255, 255, 0.014);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-mark,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__empty-btn {
border-color: var(--profile-accent-border);
background: var(--profile-accent-soft);
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-overlay {
--profile-page: #08090b;
--profile-panel: #121416;
--profile-control: #181b1e;
--profile-border: rgba(255, 255, 255, 0.085);
--profile-border-strong: rgba(255, 255, 255, 0.15);
--profile-text: #f4f7f5;
--profile-muted: rgba(225, 235, 231, 0.64);
--profile-accent: #00ff88;
--profile-accent-soft: rgba(0, 255, 136, 0.12);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-backdrop {
background: rgba(0, 0, 0, 0.72);
backdrop-filter: blur(8px);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-panel {
border-color: var(--profile-border-strong);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.014)),
var(--profile-panel);
box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-eyebrow,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action {
color: var(--profile-accent);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-head h2 {
color: var(--profile-text);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-preview,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info p,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dl div,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-close,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action {
border-color: var(--profile-border);
background: var(--profile-control);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-actions {
border-top-color: var(--profile-border);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
var(--profile-panel);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action--primary {
border-color: rgba(0, 255, 136, 0.62);
background:
linear-gradient(180deg, rgba(0, 255, 136, 0.18), rgba(0, 255, 136, 0.11)),
var(--profile-control);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-action--secondary {
color: var(--profile-text);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info p,
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dt {
color: var(--profile-muted);
}
.web-shell[data-ui-theme="dark-green"] .profile-page__detail-info dd {
color: var(--profile-text);
}
@media (max-width: 980px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
grid-template-columns: 1fr;
width: min(760px, calc(100% - 32px));
margin-top: -42px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
align-items: start;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
grid-row: span 4;
align-items: flex-start;
text-align: left;
}
}
@media (max-width: 640px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__banner {
height: 138px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
width: min(100% - 22px, 560px);
gap: 14px;
margin-top: -28px;
padding-bottom: 84px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
display: flex;
gap: 12px;
padding: 14px;
border-radius: 16px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar-head {
align-items: center;
text-align: center;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring {
width: 82px;
height: 82px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar-ring .profile-page__avatar,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__avatar {
width: 76px;
height: 76px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary {
grid-template-columns: minmax(0, 1fr);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-summary-metric {
justify-items: start;
padding-top: 10px;
padding-left: 0;
border-top: 1px solid var(--profile-border);
border-left: 0;
text-align: left;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
display: flex;
min-height: 48px;
overflow-x: auto;
scroll-snap-type: x proximity;
scrollbar-width: none;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs::-webkit-scrollbar {
display: none;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs button {
flex: 0 0 auto;
min-width: 92px;
scroll-snap-align: start;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
padding: 13px;
border-radius: 16px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-head {
grid-template-columns: minmax(0, 1fr);
grid-template-areas:
"title"
"desc"
"meta";
align-items: start;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-desc {
white-space: normal;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__list-grid,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__review-list {
grid-template-columns: 1fr;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
grid-template-columns: 84px minmax(0, 1fr);
min-height: 112px;
padding: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
width: 84px;
height: 84px;
min-height: 84px;
max-height: 84px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
height: 84px;
min-height: 84px;
max-height: 84px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
height: 84px;
min-height: 84px;
}
}
@media (max-width: 380px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
width: min(100% - 16px, 380px);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__counts {
gap: 6px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
padding: 9px 4px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
grid-template-columns: 74px minmax(0, 1fr);
gap: 9px;
padding: 10px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview {
width: 74px;
height: 74px;
min-height: 74px;
max-height: 74px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview img,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-preview video {
height: 74px;
min-height: 74px;
max-height: 74px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-body {
gap: 5px;
height: 74px;
min-height: 74px;
}
}
/* Personal center mobile comfort pass: compact account controls and keep library navigation reachable. */
@media (max-width: 640px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard {
background:
linear-gradient(180deg, rgba(0, 255, 136, 0.035), transparent 180px),
var(--profile-page);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__body {
gap: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__sidebar {
gap: 10px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__username {
font-size: 18px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__bio-display {
min-height: 34px;
padding: 7px 11px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__count {
min-height: 58px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card {
gap: 9px;
padding: 10px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__account-card .profile-page__list-tabs button {
min-height: 40px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn {
min-height: 40px;
padding: 0 10px;
font-size: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--plan,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--primary {
grid-column: 1 / -1;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__main-tabs {
position: sticky;
top: 0;
z-index: 12;
margin-top: -1px;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-color: rgba(255, 255, 255, 0.11);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
rgba(18, 20, 22, 0.96);
box-shadow:
0 1px 0 rgba(0, 255, 136, 0.1) inset,
0 16px 34px rgba(0, 0, 0, 0.32);
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section {
gap: 12px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__section-label {
font-size: 15px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card {
border-radius: 14px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-head strong {
font-size: 13px;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__media-card .profile-page__list-card-meta {
font-size: 10px;
}
}
@media (max-width: 420px) {
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions {
grid-template-columns: 1fr;
}
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--plan,
.web-shell[data-ui-theme="dark-green"] .profile-page--dashboard .profile-page__actions .profile-page__share-btn--primary {
grid-column: auto;
}
}
/* Ecommerce generation page: keep its carousel and composer independent from
the community carousel rules that share class names. */
.web-shell[data-ui-theme="dark-green"] .ecommerce-landing-page {