Files
omniai-web/src/styles/pages/script-review-showcase.css
T
ludan 52677e33f1 feat: 首页响应式视觉升级与全局UI细节打磨
本次提交包含以下改进:

## 1. 首页轮播卡片响应式重构 (HomePage.tsx + home.css)
- 将旋转木马卡片偏移量从固定px值改为clamp()流式单位,随视口宽度自适应缩放
- 使用calc(0px - ...)替代乘法计算方向偏移,兼容CSS变量传递
- 轮播舞台新增mask-image渐变遮罩,边缘卡片自然淡出
- 非激活卡片增加saturate/brightness滤镜,强化主次视觉层级
- 激活卡与非激活卡分别设置图片filter效果
- 移除旧carousel-card-label样式
- 多断点适配:1200px/980px/720px/480px逐级调整卡片尺寸和舞台高度

## 2. 首页入口按钮重设计 (HomePage.tsx + home.css)
- 按钮文案从'新手/老手/电商'改为'快速生成/专业创作/电商出图'
- 每个按钮新增small副标题('新手友好'/'画布工作流'/'商品视觉')
- 主按钮(专业创作)使用渐变绿色背景+发光阴影,新建--primary small样式
- 普通按钮玻璃态背景+内阴影,hover绿色边框高亮
- 720px以下单列全宽布局,按钮居中

## 3. 首页全页视觉强化 (home.css)
- Scrim层三重渐变叠加+radial光晕
- Hero区域文字text-shadow + text-wrap: balance排版
- Feature页面::before叠加渐变遮罩
- Feature Visual卡片增加边框/阴影/背景三层嵌套
- Experience区域斜向分割线装饰背景
- Cookie Consent弹窗玻璃态重设计,移动端自适应

## 4. 首页工具盒区域打磨 (toolbox.css)
- 全新CSS变量(--toolbox-radius-card/inner)
- 工具盒整体深色渐变背景+radial光晕
- Shell容器max-width + clamp流式padding
- 左侧品牌区域标题/brand-icon/subtitle重设计
- 工具列表项、工作流卡片统一玻璃态风格
- 工具卡片hover上浮4px+绿色边框+阴影增强
- @media: 1160px/980px/680px/420px四断点响应式

## 5. 工具盒卡片布局简化 (MorePage.tsx + more.css)
- 核心工具卡片移除独立icon区域,改为单列网格布局
- 普通工具卡片隐藏.more-card__icon(近期记录除外)
- 预览图aspect-ratio从16/9改为4/3,内边距优化
- 移动端移除featured-icon相关样式

## 6. 脚本评审Showcase响应式改造 (script-review-showcase.css)
- 主容器从@media切换为@container查询,跟随父容器自适应
- 新增880px/720px/560px三档container断点
- 图表列在720px以下改为水平进度条布局(bar从垂直改水平)
- 图表列增加卡片边框/圆角/背景
- 品牌区域、评分标签、流程卡片逐级压缩
- @media保留外层padding控制

## 7. 通知中心UI修复 (dark-green.css)
- notification-center改为inline-flex定位锚点
- 面板改为absolute+flex列布局,修复定位偏移
- 列表flex自适应高度+overscroll-behavior: contain
- 移动端面板右偏移clamp适配,箭头位置同步
- 高度单位从vh改为dvh,避免移动浏览器地址栏干扰
2026-06-09 14:22:37 +08:00

912 lines
19 KiB
CSS

/* ===== Script Review Showcase ===== */
.omni-script-review-showcase {
--srs-green: #00ff88;
--srs-mint: #22f0c0;
--srs-cyan: #4fc3f7;
--srs-red: #ff4d67;
--srs-amber: #d49319;
--srs-bg: #05070d;
--srs-panel: rgba(255, 255, 255, 0.04);
--srs-panel-strong: rgba(255, 255, 255, 0.06);
--srs-border: rgba(0, 255, 136, 0.08);
--srs-border-soft: rgba(0, 255, 136, 0.08);
--srs-text: #e8eaef;
--srs-muted: #9aa1b8;
--srs-dim: #62697f;
position: relative;
isolation: isolate;
container-type: inline-size;
display: grid;
grid-template-columns: minmax(300px, 0.72fr) minmax(0, 2.28fr);
gap: clamp(26px, 3.1cqw, 56px);
width: 100%;
height: 100%;
min-height: 0;
overflow: hidden;
border-radius: inherit;
background:
radial-gradient(ellipse 78% 58% at 50% 40%, rgba(0, 255, 136, 0.026) 0%, transparent 70%),
radial-gradient(ellipse 58% 46% at 80% 70%, rgba(42, 159, 212, 0.02) 0%, transparent 62%),
linear-gradient(180deg, #070b10 0%, #05080d 100%);
color: var(--srs-text);
font-family: "Inter", "Noto Sans SC", sans-serif;
padding: clamp(28px, 3.7cqw, 70px);
}
.omni-script-review-showcase::before,
.omni-script-review-showcase::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
}
.omni-script-review-showcase::before {
z-index: -2;
background: linear-gradient(180deg, rgba(0, 255, 136, 0.05), transparent 18%);
opacity: 0.22;
}
.omni-script-review-showcase::after {
z-index: -1;
opacity: 0.26;
background:
radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
radial-gradient(circle at 72% 8%, rgba(79, 195, 247, 0.35) 0 1px, transparent 2px),
radial-gradient(circle at 98% 28%, rgba(255, 255, 255, 0.32) 0 1px, transparent 2px),
radial-gradient(circle at 34% 96%, rgba(0, 255, 136, 0.32) 0 1px, transparent 2px);
}
.srs-left-panel,
.srs-results-panel {
position: relative;
z-index: 1;
min-width: 0;
}
.srs-left-panel {
display: grid;
grid-template-rows: auto 1fr auto;
gap: clamp(22px, 2.4cqw, 44px);
min-height: 0;
padding-block: clamp(8px, 1.4cqw, 24px);
}
.srs-brand-section {
display: grid;
gap: clamp(22px, 2.3cqw, 38px);
}
.srs-brand-section h1 {
max-width: 8em;
margin: 0;
background: linear-gradient(135deg, var(--srs-green), var(--srs-mint), var(--srs-cyan));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
font-size: clamp(38px, 3.7cqw, 72px);
font-weight: 950;
letter-spacing: 0;
line-height: 1.12;
}
.srs-brand-section p {
max-width: 430px;
margin: 0;
color: var(--srs-muted);
font-size: clamp(16px, 1.12cqw, 22px);
font-weight: 760;
letter-spacing: 0;
line-height: 1.9;
}
.srs-point-list {
display: grid;
align-content: center;
gap: clamp(12px, 1.1cqw, 20px);
min-height: 0;
}
.srs-point-card {
display: grid;
grid-template-columns: clamp(42px, 3cqw, 58px) minmax(0, 1fr);
align-items: center;
gap: clamp(14px, 1.1cqw, 20px);
min-height: clamp(78px, 5.4cqw, 108px);
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: clamp(14px, 1.2cqw, 22px);
}
.srs-point-icon {
display: grid;
width: clamp(42px, 3cqw, 58px);
height: clamp(42px, 3cqw, 58px);
place-items: center;
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(0, 255, 136, 0.08);
color: var(--srs-green);
font-size: clamp(16px, 1.2cqw, 24px);
font-weight: 900;
}
.srs-point-card h3 {
margin: 0 0 4px;
color: var(--srs-text);
font-size: clamp(16px, 1.18cqw, 22px);
font-weight: 900;
letter-spacing: 0;
line-height: 1.22;
}
.srs-point-card p {
margin: 0;
color: var(--srs-dim);
font-size: clamp(12px, 0.88cqw, 16px);
font-weight: 650;
letter-spacing: 0;
line-height: 1.5;
}
.srs-flow-card {
display: grid;
grid-template-columns: repeat(7, auto);
align-items: center;
justify-content: space-between;
gap: clamp(6px, 0.7cqw, 14px);
min-height: clamp(86px, 6.4cqw, 116px);
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: var(--srs-muted);
padding: clamp(14px, 1.3cqw, 22px);
}
.srs-flow-card span {
display: grid;
justify-items: center;
gap: 4px;
color: var(--srs-text);
font-size: clamp(12px, 0.9cqw, 16px);
font-weight: 840;
letter-spacing: 0;
text-align: center;
white-space: nowrap;
}
.srs-flow-card span::after {
content: "Process";
color: var(--srs-dim);
font-size: clamp(10px, 0.72cqw, 13px);
font-weight: 650;
}
.srs-flow-card b {
color: var(--srs-green);
font-size: clamp(12px, 0.9cqw, 16px);
font-weight: 900;
}
.srs-results-panel {
display: grid;
grid-template-rows: minmax(96px, auto) minmax(320px, 1fr) minmax(180px, 0.86fr);
gap: clamp(14px, 1.25cqw, 24px);
min-height: 0;
}
/* Score Hero */
.srs-score-hero {
position: relative;
display: grid;
grid-template-columns: minmax(260px, 0.72fr) 1px minmax(0, 1.28fr);
align-items: center;
gap: clamp(18px, 1.8cqw, 34px);
min-height: clamp(112px, 7.6cqw, 150px);
overflow: hidden;
border: 1px solid var(--srs-border);
border-radius: 8px;
background:
linear-gradient(90deg, rgba(0, 255, 136, 0.14), rgba(79, 195, 247, 0.08)),
rgba(18, 23, 49, 0.88);
padding: clamp(18px, 1.7cqw, 30px);
box-shadow:
0 24px 58px rgba(0, 0, 0, 0.24),
inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.srs-score-circle {
display: grid;
flex: 0 0 auto;
width: clamp(82px, 5.8cqw, 118px);
height: clamp(82px, 5.8cqw, 118px);
place-items: center;
border-radius: 50%;
background: conic-gradient(var(--srs-green) 0deg, var(--srs-green) calc(77 * 3.6deg), rgba(255, 255, 255, 0.08) calc(77 * 3.6deg));
box-shadow: 0 0 34px rgba(0, 255, 136, 0.2);
animation: srs-glow 3s ease-in-out infinite;
}
@keyframes srs-glow {
0%,
100% {
box-shadow: 0 0 30px rgba(0, 255, 136, 0.16);
}
50% {
box-shadow: 0 0 42px rgba(0, 255, 136, 0.28);
}
}
.srs-score-circle-inner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: calc(100% - 18px);
height: calc(100% - 18px);
border-radius: 50%;
background: rgba(18, 23, 49, 0.98);
}
.srs-score-num {
color: var(--srs-text);
font-size: clamp(30px, 2.3cqw, 44px);
font-weight: 950;
letter-spacing: 0;
line-height: 0.92;
}
.srs-score-left {
display: flex;
align-items: center;
gap: clamp(16px, 1.5cqw, 28px);
min-width: 0;
}
.srs-score-den {
color: var(--srs-dim);
font-size: clamp(10px, 0.78cqw, 14px);
font-weight: 720;
}
.srs-score-meta {
display: grid;
gap: clamp(8px, 0.7cqw, 12px);
min-width: 0;
}
.srs-score-grade {
color: var(--srs-green);
font-size: clamp(24px, 2.15cqw, 42px);
font-weight: 950;
letter-spacing: 0;
line-height: 1;
}
.srs-score-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.srs-score-tag {
display: inline-flex;
align-items: center;
min-height: clamp(24px, 1.5cqw, 30px);
border: 1px solid var(--srs-border);
border-radius: 6px;
background: rgba(0, 255, 136, 0.06);
color: var(--srs-green);
padding: 0 clamp(10px, 0.9cqw, 16px);
font-size: clamp(11px, 0.82cqw, 15px);
font-weight: 820;
white-space: nowrap;
}
.srs-score-divider {
width: 1px;
height: 78%;
background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.11), transparent);
}
.srs-score-right {
min-width: 0;
}
.srs-score-proj {
margin-bottom: clamp(8px, 0.7cqw, 12px);
color: var(--srs-dim);
font-size: clamp(12px, 0.96cqw, 17px);
font-weight: 800;
letter-spacing: 0;
}
.srs-score-summary {
color: var(--srs-muted);
font-size: clamp(15px, 1.12cqw, 22px);
font-weight: 750;
letter-spacing: 0;
line-height: 1.68;
}
/* Chart Card */
.srs-chart-card {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
min-height: 0;
border: 1px solid var(--srs-border);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 4px 20px rgba(0, 0, 0, 0.18),
inset 0 1px 0 rgba(255, 255, 255, 0.03);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
padding: clamp(10px, 0.8cqw, 18px) clamp(24px, 2cqw, 42px) clamp(6px, 0.5cqw, 12px);
}
.srs-chart-title {
color: var(--srs-muted);
font-size: clamp(13px, 0.95cqw, 18px);
font-weight: 900;
letter-spacing: 0.08em;
line-height: 1.2;
text-transform: uppercase;
}
.srs-chart-body {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
align-items: end;
gap: clamp(22px, 3cqw, 64px);
min-height: 0;
padding-top: clamp(10px, 0.8cqw, 18px);
padding-bottom: 0;
}
.srs-chart-col {
display: grid;
grid-template-rows: minmax(100px, 1fr) auto;
align-items: end;
justify-items: center;
gap: 4px;
height: 100%;
min-width: 0;
}
.srs-chart-bar-wrap {
position: relative;
display: flex;
align-items: flex-end;
justify-content: center;
width: 100%;
height: 100%;
min-height: clamp(80px, 12cqw, 220px);
}
.srs-chart-bar-bg,
.srs-chart-bar-fill {
width: min(100%, clamp(60px, 4.8cqw, 96px));
border-radius: 10px 10px 0 0;
}
.srs-chart-bar-bg {
position: absolute;
left: 50%;
bottom: 0;
height: 100%;
background: rgba(255, 255, 255, 0.05);
transform: translateX(-50%);
}
.srs-chart-bar-fill {
position: relative;
z-index: 1;
background: linear-gradient(180deg, var(--srs-green), #08d879);
box-shadow: 0 0 32px rgba(0, 255, 136, 0.18);
transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.srs-chart-bar-fill.is-perfect {
background: linear-gradient(180deg, #00ff88, #04f28b);
box-shadow: 0 0 42px rgba(0, 255, 136, 0.32);
}
.srs-chart-bar-fill.is-low {
background: linear-gradient(180deg, #b98218, #7e5c21);
box-shadow: 0 0 22px rgba(212, 147, 25, 0.18);
}
.srs-chart-bar-score {
position: absolute;
top: -32px;
left: 50%;
display: inline-flex;
align-items: baseline;
gap: 2px;
color: #ffffff;
font-size: clamp(18px, 1.35cqw, 26px);
font-weight: 950;
letter-spacing: 0;
line-height: 1;
transform: translateX(-50%);
white-space: nowrap;
}
.srs-chart-bar-sub {
color: rgba(255, 255, 255, 0.7);
font-size: clamp(12px, 0.85cqw, 16px);
font-weight: 760;
}
.srs-chart-bar-star {
color: #ffffff;
font-size: clamp(12px, 0.9cqw, 16px);
}
.srs-chart-col-name {
overflow-wrap: anywhere;
max-width: 100%;
color: var(--srs-text);
font-size: clamp(13px, 1cqw, 18px);
font-weight: 920;
letter-spacing: 0;
line-height: 1.22;
}
.srs-chart-bar-fill {
position: relative;
z-index: 1;
background: linear-gradient(180deg, var(--srs-green), #08d879);
box-shadow: 0 0 32px rgba(0, 255, 136, 0.18);
transition: height 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.srs-chart-bar-fill.is-perfect {
background: linear-gradient(180deg, #00ff88, #04f28b);
box-shadow: 0 0 42px rgba(0, 255, 136, 0.32);
}
.srs-chart-bar-fill.is-low {
background: linear-gradient(180deg, #b98218, #7e5c21);
box-shadow: 0 0 22px rgba(212, 147, 25, 0.18);
}
/* Triple Section */
.srs-triple-section {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(14px, 1.25cqw, 24px);
min-height: 0;
}
.srs-section-card {
position: relative;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: clamp(10px, 0.9cqw, 16px);
min-height: 0;
overflow: hidden auto;
scrollbar-width: none;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
background: rgba(255, 255, 255, 0.04);
box-shadow:
0 2px 12px rgba(0, 0, 0, 0.15),
inset 0 1px 0 rgba(255, 255, 255, 0.02);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: clamp(14px, 1.2cqw, 24px);
transition:
transform 220ms ease,
border-color 220ms ease,
box-shadow 220ms ease;
}
.srs-section-card::-webkit-scrollbar {
display: none;
}
.srs-section-card:hover {
transform: translateY(-2px);
}
.srs-section-card.is-highlight {
border-color: rgba(0, 255, 136, 0.18);
background:
linear-gradient(180deg, rgba(0, 255, 136, 0.08), transparent 42%),
rgba(9, 22, 19, 0.86);
}
.srs-section-card.is-highlight:hover {
box-shadow: 0 16px 42px rgba(0, 255, 136, 0.08);
}
.srs-section-card.is-weakness {
border-color: rgba(255, 77, 103, 0.22);
background:
linear-gradient(180deg, rgba(255, 77, 103, 0.08), transparent 42%),
rgba(20, 15, 23, 0.88);
}
.srs-section-card.is-weakness:hover {
box-shadow: 0 16px 42px rgba(255, 77, 103, 0.06);
}
.srs-section-card.is-optimize {
border-color: rgba(79, 195, 247, 0.22);
background:
linear-gradient(180deg, rgba(79, 195, 247, 0.08), transparent 42%),
rgba(12, 20, 30, 0.88);
}
.srs-section-card.is-optimize:hover {
box-shadow: 0 16px 42px rgba(79, 195, 247, 0.07);
}
.srs-section-header {
display: flex;
align-items: center;
gap: clamp(10px, 0.8cqw, 14px);
}
.srs-section-icon {
display: grid;
width: clamp(26px, 1.9cqw, 36px);
height: clamp(26px, 1.9cqw, 36px);
place-items: center;
border-radius: 8px;
font-size: clamp(12px, 0.86cqw, 16px);
font-weight: 900;
}
.is-highlight .srs-section-icon {
background: rgba(0, 255, 136, 0.1);
color: var(--srs-green);
}
.is-weakness .srs-section-icon {
background: rgba(217, 58, 82, 0.1);
color: var(--srs-red);
}
.is-optimize .srs-section-icon {
background: rgba(42, 159, 212, 0.1);
color: var(--srs-cyan);
}
.srs-section-label {
font-size: clamp(16px, 1.12cqw, 22px);
font-weight: 920;
letter-spacing: 0;
}
.is-highlight .srs-section-label {
color: var(--srs-green);
}
.is-weakness .srs-section-label {
color: var(--srs-red);
}
.is-optimize .srs-section-label {
color: var(--srs-cyan);
}
.srs-section-list {
display: grid;
gap: clamp(8px, 0.7cqw, 12px);
min-height: 0;
}
.srs-section-item {
display: grid;
gap: 6px;
min-width: 0;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
background: rgba(255, 255, 255, 0.03);
padding: clamp(10px, 0.9cqw, 16px);
}
.srs-section-item-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
}
.srs-section-item-dim {
min-width: 0;
overflow-wrap: anywhere;
color: var(--srs-text);
font-size: clamp(13px, 0.92cqw, 18px);
font-weight: 900;
letter-spacing: 0;
line-height: 1.18;
}
.srs-section-item-score {
flex: 0 0 auto;
font-size: clamp(12px, 0.88cqw, 16px);
font-weight: 900;
line-height: 1.18;
}
.srs-section-item-score.is-green {
color: var(--srs-green);
}
.srs-section-item-score.is-red {
color: var(--srs-red);
}
.srs-section-item-text {
display: -webkit-box;
overflow: hidden;
color: var(--srs-dim);
font-size: clamp(11px, 0.78cqw, 15px);
font-weight: 680;
letter-spacing: 0;
line-height: 1.42;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.srs-section-item-badge {
flex: 0 0 auto;
border-radius: 6px;
padding: 3px 8px;
font-size: clamp(10px, 0.72cqw, 13px);
font-weight: 850;
line-height: 1;
}
.srs-section-item-badge.badge-red {
background: rgba(255, 77, 103, 0.12);
color: var(--srs-red);
}
.srs-section-item-badge.badge-orange {
background: rgba(212, 147, 25, 0.13);
color: #ffbd35;
}
@container (max-width: 1120px) {
.srs-left-panel {
grid-template-rows: auto auto auto;
gap: 16px;
padding-block: 0;
}
.srs-brand-section h1,
.srs-brand-section p {
max-width: none;
}
.srs-point-list {
grid-template-columns: repeat(3, minmax(0, 1fr));
align-content: stretch;
}
.srs-flow-card {
justify-content: start;
}
.srs-results-panel {
grid-template-rows: auto minmax(300px, auto) auto;
}
}
@container (max-width: 880px) {
.srs-brand-section {
gap: 12px;
}
.srs-brand-section h1 {
max-width: 100%;
font-size: clamp(28px, 8cqw, 44px);
}
.srs-brand-section p {
font-size: clamp(14px, 3.2cqw, 17px);
line-height: 1.65;
}
.srs-point-card {
min-height: 0;
border-radius: 10px;
}
.srs-results-panel {
gap: 14px;
}
.srs-score-hero {
grid-template-columns: 1fr;
gap: 14px;
}
.srs-score-divider {
display: none;
}
.srs-triple-section,
.srs-point-list {
grid-template-columns: 1fr;
}
.srs-score-summary {
font-size: clamp(13px, 3cqw, 16px);
line-height: 1.55;
}
}
@container (max-width: 720px) {
.srs-chart-card {
padding: 16px;
}
.srs-chart-title {
letter-spacing: 0.04em;
}
.srs-chart-body {
grid-template-columns: 1fr;
gap: 12px;
padding-top: 14px;
}
.srs-chart-col {
grid-template-columns: minmax(94px, 0.36fr) minmax(0, 1fr);
grid-template-rows: auto;
align-items: center;
justify-items: stretch;
min-height: 46px;
border: 1px solid rgba(255, 255, 255, 0.055);
border-radius: 10px;
background: rgba(255, 255, 255, 0.03);
padding: 10px;
}
.srs-chart-bar-wrap {
grid-column: 2;
grid-row: 1;
width: 100%;
height: 16px;
min-height: 16px;
}
.srs-chart-bar-bg,
.srs-chart-bar-fill {
width: 100%;
height: 100% !important;
border-radius: 999px;
}
.srs-chart-bar-bg {
left: 0;
transform: none;
}
.srs-chart-bar-fill {
transform-origin: left center;
}
.srs-chart-col:nth-child(1) .srs-chart-bar-fill { width: 80%; }
.srs-chart-col:nth-child(2) .srs-chart-bar-fill { width: 80%; }
.srs-chart-col:nth-child(3) .srs-chart-bar-fill { width: 100%; }
.srs-chart-col:nth-child(4) .srs-chart-bar-fill { width: 80%; }
.srs-chart-col:nth-child(5) .srs-chart-bar-fill { width: 66%; }
.srs-chart-col:nth-child(6) .srs-chart-bar-fill { width: 53%; }
.srs-chart-bar-score {
top: 50%;
right: 8px;
left: auto;
font-size: 12px;
transform: translateY(-50%);
}
.srs-chart-bar-sub,
.srs-chart-bar-star {
font-size: 10px;
}
.srs-chart-col-label {
grid-column: 1;
grid-row: 1;
text-align: left;
}
.srs-chart-col-name {
font-size: 13px;
}
.srs-chart-col-desc {
display: none;
}
.srs-triple-section {
gap: 12px;
}
.srs-section-card {
overflow: visible;
}
.srs-section-item-text {
display: block;
overflow: visible;
-webkit-line-clamp: initial;
}
}
@container (max-width: 560px) {
.srs-flow-card {
grid-template-columns: 1fr;
justify-items: stretch;
}
.srs-flow-card b {
display: none;
}
.srs-score-left {
align-items: flex-start;
flex-direction: column;
}
.srs-score-tags {
gap: 6px;
}
.srs-score-tag {
min-height: 24px;
padding-inline: 9px;
}
.srs-chart-col {
grid-template-columns: 1fr;
gap: 8px;
}
.srs-chart-bar-wrap,
.srs-chart-col-label {
grid-column: 1;
grid-row: auto;
}
}
@media (max-width: 1120px) {
.omni-script-review-showcase {
grid-template-columns: 1fr;
gap: clamp(16px, 2.8vw, 24px);
overflow-y: visible;
padding: clamp(20px, 3vw, 34px);
}
}
@media (max-width: 880px) {
.omni-script-review-showcase {
padding: clamp(16px, 3.8vw, 24px);
}
}
@media (max-width: 560px) {
.omni-script-review-showcase {
padding: 16px;
}
}