3808 lines
71 KiB
SCSS
3808 lines
71 KiB
SCSS
.personal-page-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: var(--theme-overlay-scrim);
|
||
backdrop-filter: blur(12px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 400;
|
||
padding: 20px;
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
will-change: opacity, backdrop-filter;
|
||
}
|
||
|
||
.personal-page-card {
|
||
width: min(96vw, 1020px);
|
||
height: calc(100vh - 40px);
|
||
max-height: 760px;
|
||
background: var(--theme-surface-card);
|
||
border-radius: 24px;
|
||
border: 1px solid var(--theme-control-border);
|
||
box-shadow: var(--theme-shadow-strong);
|
||
padding: 40px;
|
||
text-align: left;
|
||
color: var(--claude-text);
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.personal-page-header {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.personal-page-actions {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.personal-page-header h2 {
|
||
font-size: 24px;
|
||
margin: 0;
|
||
}
|
||
|
||
.personal-page-header p {
|
||
margin: 6px 0 0;
|
||
color: var(--claude-text-secondary);
|
||
font-size: 14px;
|
||
}
|
||
|
||
.personal-page-close {
|
||
align-self: flex-start;
|
||
padding: 8px 18px;
|
||
border-radius: 999px;
|
||
border: none;
|
||
background: linear-gradient(135deg, var(--claude-accent) 0%, var(--claude-accent-strong) 100%);
|
||
color: #fffdf8;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
box-shadow: 0 14px 28px rgba(189, 93, 58, 0.2);
|
||
transition:
|
||
transform 0.2s ease,
|
||
box-shadow 0.2s ease;
|
||
}
|
||
|
||
.personal-page-close:hover {
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 18px 34px rgba(189, 93, 58, 0.3);
|
||
}
|
||
|
||
.personal-page-logout {
|
||
align-self: flex-start;
|
||
padding: 8px 16px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
background: var(--theme-surface-soft);
|
||
color: var(--claude-text);
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
transition:
|
||
background 0.2s ease,
|
||
box-shadow 0.2s ease;
|
||
}
|
||
|
||
.personal-page-logout:hover {
|
||
background: var(--theme-surface-strong);
|
||
box-shadow: var(--theme-shadow-soft);
|
||
}
|
||
|
||
.personalization-body {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 20px;
|
||
flex: 1 1 auto;
|
||
min-height: 0;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.personal-toggle {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 16px 18px;
|
||
border-radius: 16px;
|
||
background: var(--theme-surface-muted);
|
||
border: 1px solid var(--theme-control-border);
|
||
}
|
||
|
||
.toggle-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
}
|
||
|
||
.toggle-title {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.toggle-desc {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.toggle-switch {
|
||
position: relative;
|
||
width: 46px;
|
||
height: 26px;
|
||
}
|
||
|
||
.toggle-switch input {
|
||
opacity: 0;
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
|
||
.switch-slider {
|
||
position: absolute;
|
||
inset: 0;
|
||
background-color: var(--theme-switch-track);
|
||
border-radius: 30px;
|
||
transition: background-color 0.2s ease;
|
||
}
|
||
|
||
.switch-slider::before {
|
||
content: '';
|
||
position: absolute;
|
||
left: 4px;
|
||
top: 4px;
|
||
width: 18px;
|
||
height: 18px;
|
||
border-radius: 50%;
|
||
background: #fff;
|
||
transition: transform 0.2s ease;
|
||
}
|
||
|
||
.toggle-switch input:checked + .switch-slider {
|
||
background: var(--claude-accent);
|
||
}
|
||
|
||
.toggle-switch input:checked + .switch-slider::before {
|
||
transform: translateX(20px);
|
||
}
|
||
|
||
.personal-toggle-row {
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.toggle-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 12px 14px;
|
||
border-radius: 14px;
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-muted);
|
||
cursor: pointer;
|
||
transition:
|
||
border-color 0.2s ease,
|
||
box-shadow 0.2s ease,
|
||
background 0.2s ease;
|
||
position: relative;
|
||
}
|
||
|
||
.toggle-row:hover {
|
||
border-color: var(--theme-control-border);
|
||
box-shadow: none;
|
||
background: var(--theme-surface-muted);
|
||
}
|
||
|
||
.toggle-row:focus-within {
|
||
border-color: var(--theme-control-border);
|
||
box-shadow: none;
|
||
}
|
||
|
||
.toggle-row input {
|
||
position: absolute;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.toggle-row .fancy-check {
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: 6px;
|
||
background: transparent;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: none;
|
||
transition: opacity 0.2s ease;
|
||
}
|
||
|
||
.toggle-row .fancy-check svg {
|
||
width: 22px;
|
||
height: 22px;
|
||
overflow: visible;
|
||
}
|
||
|
||
.fancy-path {
|
||
fill: none;
|
||
stroke: var(--claude-text-secondary);
|
||
stroke-width: 5;
|
||
stroke-linecap: round;
|
||
stroke-linejoin: round;
|
||
transition:
|
||
stroke-dasharray 0.5s ease,
|
||
stroke-dashoffset 0.5s ease,
|
||
stroke 0.2s ease;
|
||
stroke-dasharray: 241 9999999;
|
||
stroke-dashoffset: 0;
|
||
}
|
||
|
||
.toggle-row input:checked + .fancy-check {
|
||
background: transparent;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.toggle-row input:checked + .fancy-check .fancy-path {
|
||
stroke: var(--claude-accent);
|
||
stroke-dasharray: 70.5096664428711 9999999;
|
||
stroke-dashoffset: -262.2723388671875;
|
||
}
|
||
|
||
.toggle-row span {
|
||
color: var(--claude-text);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.personalization-layout {
|
||
display: grid;
|
||
grid-template-columns: 200px minmax(0, 1fr);
|
||
gap: 20px;
|
||
align-items: stretch;
|
||
min-height: 0;
|
||
flex: 1 1 auto;
|
||
height: 100%;
|
||
}
|
||
|
||
.personal-page-tabs {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
padding: 20px;
|
||
border-radius: 20px;
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-soft);
|
||
align-self: flex-start;
|
||
height: auto;
|
||
max-height: 72vh;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
flex-wrap: nowrap;
|
||
-ms-overflow-style: none; /* IE/Edge */
|
||
scrollbar-width: none; /* Firefox */
|
||
}
|
||
.personal-page-tabs::-webkit-scrollbar {
|
||
width: 0;
|
||
height: 0;
|
||
}
|
||
|
||
.personal-tab-button {
|
||
border: none;
|
||
border-radius: 16px;
|
||
padding: 14px 18px;
|
||
text-align: left;
|
||
font-weight: 600;
|
||
background: transparent;
|
||
color: var(--claude-text-secondary);
|
||
cursor: pointer;
|
||
transition:
|
||
background 0.2s ease,
|
||
color 0.2s ease,
|
||
box-shadow 0.2s ease;
|
||
}
|
||
|
||
.personal-tab-desc {
|
||
display: block;
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
color: var(--claude-text-tertiary);
|
||
margin-top: 2px;
|
||
letter-spacing: 0.4px;
|
||
}
|
||
|
||
.personal-tab-button.active {
|
||
background: var(--theme-tab-active);
|
||
color: var(--claude-accent);
|
||
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
|
||
}
|
||
|
||
.personal-tab-button:focus-visible {
|
||
outline: 2px solid rgba(189, 93, 58, 0.4);
|
||
outline-offset: 2px;
|
||
}
|
||
|
||
.personalization-content-shell {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 0;
|
||
flex: 1 1 auto;
|
||
height: 100%;
|
||
}
|
||
|
||
.personalization-content {
|
||
position: relative;
|
||
overflow-y: auto;
|
||
border-radius: 24px;
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-soft);
|
||
min-height: 0;
|
||
flex: 1 1 auto;
|
||
height: 100%;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
|
||
.personalization-content::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.personalization-content .personal-page {
|
||
width: 100%;
|
||
padding: 16px 26px 26px;
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
.personalization-layout {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.personal-page-tabs {
|
||
flex-direction: row;
|
||
padding: 14px;
|
||
height: auto;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.personal-tab-button {
|
||
flex: 1;
|
||
text-align: center;
|
||
}
|
||
}
|
||
|
||
/* 手机端完整适配 */
|
||
@media (max-width: 768px) {
|
||
.personal-page-overlay {
|
||
padding: 0;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.personal-page-card {
|
||
width: 100%;
|
||
height: 100%;
|
||
max-height: none;
|
||
border-radius: 0;
|
||
padding: 16px;
|
||
padding-top: 60px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.personal-page-header {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 12px;
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.personal-page-header h2 {
|
||
font-size: 20px;
|
||
}
|
||
|
||
.personal-page-header p {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.personal-page-actions {
|
||
flex-direction: row;
|
||
width: 100%;
|
||
gap: 8px;
|
||
}
|
||
|
||
.personal-page-logout,
|
||
.personal-page-close {
|
||
flex: 1;
|
||
padding: 10px 16px;
|
||
font-size: 13px;
|
||
text-align: center;
|
||
}
|
||
|
||
.personalization-body {
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.personal-form {
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.personalization-layout {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
|
||
.personal-page-tabs {
|
||
flex-direction: row;
|
||
padding: 8px;
|
||
height: auto;
|
||
max-height: none;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
flex-wrap: nowrap;
|
||
gap: 8px;
|
||
border-radius: 12px;
|
||
flex-shrink: 0;
|
||
-webkit-overflow-scrolling: touch;
|
||
scroll-behavior: smooth;
|
||
touch-action: pan-x;
|
||
overscroll-behavior-x: contain;
|
||
}
|
||
|
||
.personal-tab-button {
|
||
flex: 0 0 auto;
|
||
min-width: 100px;
|
||
padding: 10px 14px;
|
||
text-align: center;
|
||
white-space: nowrap;
|
||
font-size: 13px;
|
||
touch-action: pan-x;
|
||
}
|
||
|
||
.personal-tab-desc {
|
||
display: none;
|
||
}
|
||
|
||
.personalization-content-shell {
|
||
flex: 1;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.personalization-content {
|
||
flex: 1;
|
||
min-height: 0;
|
||
border-radius: 12px;
|
||
padding: 0;
|
||
/* 允许内部横向滚动 */
|
||
touch-action: pan-y pan-x;
|
||
}
|
||
|
||
.personalization-content .personal-page {
|
||
padding: 12px;
|
||
height: 100%;
|
||
overflow-y: auto;
|
||
/* 允许内部横向滚动 */
|
||
touch-action: pan-y pan-x;
|
||
}
|
||
|
||
.personalization-sections {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.personal-left-column,
|
||
.personal-right-column {
|
||
width: 100%;
|
||
max-width: none;
|
||
}
|
||
|
||
.personal-section {
|
||
padding: 14px;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.personal-field {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.personal-field input {
|
||
padding: 10px 12px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.personal-toggle {
|
||
padding: 14px;
|
||
border-radius: 12px;
|
||
}
|
||
|
||
.toggle-title {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.toggle-desc {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.consideration-list {
|
||
max-height: 200px;
|
||
}
|
||
|
||
.consideration-item {
|
||
padding: 10px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.tone-preset-row {
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
}
|
||
|
||
.tone-preset-buttons {
|
||
width: 100%;
|
||
}
|
||
|
||
.tone-preset-buttons button {
|
||
font-size: 12px;
|
||
padding: 6px 12px;
|
||
}
|
||
|
||
.behavior-section {
|
||
padding: 0;
|
||
border-radius: 0;
|
||
overflow: visible;
|
||
}
|
||
|
||
.behavior-field {
|
||
gap: 12px;
|
||
overflow: visible;
|
||
}
|
||
|
||
.field-title {
|
||
font-size: 15px;
|
||
}
|
||
|
||
.field-desc,
|
||
.behavior-desc {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.run-mode-options {
|
||
display: flex !important;
|
||
grid-template-columns: none;
|
||
flex-direction: row;
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
gap: 10px;
|
||
padding-bottom: 8px;
|
||
scroll-snap-type: x mandatory;
|
||
-webkit-overflow-scrolling: touch;
|
||
/* 确保容器可以滚动 */
|
||
width: 100%;
|
||
max-width: 100%;
|
||
/* 关键:允许触摸滚动 */
|
||
touch-action: pan-x;
|
||
overscroll-behavior-x: contain;
|
||
}
|
||
|
||
.run-mode-options::-webkit-scrollbar {
|
||
height: 4px;
|
||
}
|
||
|
||
.run-mode-options::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
.run-mode-options::-webkit-scrollbar-thumb {
|
||
background: rgba(121, 109, 94, 0.3);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.run-mode-card {
|
||
flex: 0 0 280px;
|
||
min-width: 280px;
|
||
max-width: 280px;
|
||
padding: 12px;
|
||
border-radius: 12px;
|
||
scroll-snap-align: start;
|
||
/* 防止卡片内的触摸事件干扰滚动 */
|
||
touch-action: pan-x;
|
||
}
|
||
|
||
.run-mode-title {
|
||
font-size: 14px;
|
||
}
|
||
|
||
.run-mode-desc {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.run-mode-badge {
|
||
font-size: 11px;
|
||
padding: 2px 6px;
|
||
}
|
||
|
||
.thinking-presets {
|
||
display: flex;
|
||
flex-direction: row;
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
gap: 8px;
|
||
padding-bottom: 8px;
|
||
scroll-snap-type: x mandatory;
|
||
-webkit-overflow-scrolling: touch;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
touch-action: pan-x;
|
||
overscroll-behavior-x: contain;
|
||
}
|
||
|
||
.thinking-presets::-webkit-scrollbar {
|
||
height: 4px;
|
||
}
|
||
|
||
.thinking-presets::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
.thinking-presets::-webkit-scrollbar-thumb {
|
||
background: rgba(121, 109, 94, 0.3);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.thinking-presets button {
|
||
flex: 0 0 auto;
|
||
min-width: 100px;
|
||
max-width: 150px;
|
||
padding: 10px;
|
||
scroll-snap-align: start;
|
||
touch-action: pan-x;
|
||
}
|
||
|
||
.thinking-input-row {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 10px;
|
||
}
|
||
|
||
.thinking-input-row label {
|
||
width: 100%;
|
||
}
|
||
|
||
.thinking-input-row input {
|
||
width: 100%;
|
||
}
|
||
|
||
.tool-category-grid {
|
||
gap: 8px;
|
||
}
|
||
|
||
.tool-category-chip {
|
||
padding: 8px 10px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.personal-form-actions {
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
padding: 12px 0 0;
|
||
}
|
||
|
||
.personal-form-actions .primary {
|
||
width: 100%;
|
||
padding: 12px 20px;
|
||
}
|
||
|
||
.personal-status-group {
|
||
width: 100%;
|
||
justify-content: center;
|
||
}
|
||
|
||
.personal-actions-row {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
.personal-actions-row .personal-form-actions {
|
||
max-width: none;
|
||
width: 100%;
|
||
}
|
||
|
||
.theme-grid {
|
||
display: flex;
|
||
flex-direction: row;
|
||
overflow-x: auto;
|
||
overflow-y: hidden;
|
||
gap: 12px;
|
||
padding-bottom: 8px;
|
||
scroll-snap-type: x mandatory;
|
||
-webkit-overflow-scrolling: touch;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
touch-action: pan-x;
|
||
overscroll-behavior-x: contain;
|
||
}
|
||
|
||
.theme-grid::-webkit-scrollbar {
|
||
height: 4px;
|
||
}
|
||
|
||
.theme-grid::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
|
||
.theme-grid::-webkit-scrollbar-thumb {
|
||
background: rgba(121, 109, 94, 0.3);
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.theme-card {
|
||
flex: 0 0 260px;
|
||
min-width: 260px;
|
||
max-width: 260px;
|
||
padding: 14px;
|
||
scroll-snap-align: start;
|
||
touch-action: pan-x;
|
||
}
|
||
|
||
.experiment-hero {
|
||
grid-template-columns: 1fr;
|
||
gap: 16px;
|
||
}
|
||
|
||
.experiment-visual {
|
||
min-height: 160px;
|
||
border-radius: 20px;
|
||
}
|
||
|
||
.experiment-copy h3 {
|
||
font-size: 20px;
|
||
}
|
||
|
||
.experiment-toggle-card {
|
||
padding: 16px;
|
||
border-radius: 16px;
|
||
}
|
||
|
||
.experiment-toggle-info h4 {
|
||
font-size: 16px;
|
||
}
|
||
|
||
.experiment-note {
|
||
padding: 14px 16px;
|
||
border-radius: 14px;
|
||
}
|
||
|
||
.admin-monitor-panel {
|
||
padding: 16px;
|
||
border-radius: 16px;
|
||
}
|
||
|
||
.admin-monitor-title-row h3 {
|
||
font-size: 18px;
|
||
}
|
||
|
||
.admin-monitor-desc {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.admin-monitor-actions {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.admin-monitor-button {
|
||
width: 100%;
|
||
justify-content: center;
|
||
padding: 12px 20px;
|
||
}
|
||
|
||
.section-note {
|
||
font-size: 11px;
|
||
}
|
||
}
|
||
|
||
.behavior-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 24px;
|
||
background: transparent;
|
||
border-radius: 0;
|
||
padding: 0;
|
||
border: none;
|
||
}
|
||
|
||
.behavior-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.behavior-field-header {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
|
||
.behavior-field-header .field-title {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.behavior-field-header .field-desc {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.experiment-page {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 28px;
|
||
background: var(--theme-surface-soft);
|
||
border-radius: 24px;
|
||
border: 1px solid var(--theme-control-border);
|
||
padding: 28px 30px;
|
||
}
|
||
|
||
.experiment-hero {
|
||
display: grid;
|
||
grid-template-columns: minmax(240px, 1fr) minmax(0, 1.4fr);
|
||
gap: 28px;
|
||
align-items: center;
|
||
}
|
||
|
||
.experiment-visual {
|
||
position: relative;
|
||
border-radius: 32px;
|
||
min-height: 220px;
|
||
overflow: hidden;
|
||
background: radial-gradient(
|
||
circle at 20% 20%,
|
||
rgba(255, 255, 255, 0.65),
|
||
rgba(104, 147, 255, 0.2)
|
||
)
|
||
rgba(28, 27, 41, 0.95);
|
||
box-shadow:
|
||
0 25px 60px rgba(24, 20, 37, 0.45),
|
||
inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
||
}
|
||
|
||
.experiment-visual::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
|
||
mix-blend-mode: screen;
|
||
}
|
||
|
||
.experiment-visual-glow {
|
||
position: absolute;
|
||
width: 140%;
|
||
height: 140%;
|
||
background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 60%);
|
||
filter: blur(50px);
|
||
transform: translate(-15%, -20%);
|
||
opacity: 0.8;
|
||
animation: experimentDrift 8s ease-in-out infinite alternate;
|
||
}
|
||
|
||
.experiment-grid {
|
||
position: absolute;
|
||
inset: 0;
|
||
background-image:
|
||
linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
|
||
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
|
||
background-size: 32px 32px;
|
||
opacity: 0.4;
|
||
}
|
||
|
||
.experiment-orb {
|
||
position: absolute;
|
||
width: 120px;
|
||
height: 120px;
|
||
border-radius: 50%;
|
||
filter: blur(1px);
|
||
background: radial-gradient(circle, rgba(98, 178, 255, 0.8), rgba(255, 255, 255, 0));
|
||
animation: experimentDrift 10s ease-in-out infinite alternate;
|
||
}
|
||
|
||
.experiment-orb.orb-one {
|
||
top: 20%;
|
||
left: 14%;
|
||
}
|
||
|
||
.experiment-orb.orb-two {
|
||
bottom: 10%;
|
||
right: 8%;
|
||
background: radial-gradient(circle, rgba(255, 166, 122, 0.85), rgba(255, 255, 255, 0));
|
||
}
|
||
|
||
.experiment-copy h3 {
|
||
font-size: 24px;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.experiment-copy p {
|
||
color: var(--claude-text-secondary);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.experiment-subtitle {
|
||
text-transform: uppercase;
|
||
font-size: 12px;
|
||
letter-spacing: 0.4em;
|
||
color: var(--claude-accent);
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.experiment-toggle-card {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 16px;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
border-radius: 22px;
|
||
border: 1px solid var(--theme-control-border);
|
||
padding: 20px 24px;
|
||
background: var(--theme-surface-muted);
|
||
box-shadow: var(--theme-shadow-mid);
|
||
}
|
||
|
||
.experiment-toggle-info h4 {
|
||
margin: 0 0 6px;
|
||
font-size: 18px;
|
||
}
|
||
|
||
.experiment-toggle-info p {
|
||
margin: 0;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.experiment-toggle .toggle-text {
|
||
max-width: 320px;
|
||
}
|
||
|
||
.experiment-note {
|
||
border-radius: 18px;
|
||
padding: 18px 22px;
|
||
background: var(--theme-surface-muted);
|
||
border: 1px dashed var(--theme-control-border-strong);
|
||
}
|
||
|
||
.experiment-note p {
|
||
margin-bottom: 10px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.experiment-hint-list {
|
||
margin: 0;
|
||
padding-left: 20px;
|
||
line-height: 1.6;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
/* Liquid glass overlay */
|
||
.liquid-glass-stage {
|
||
position: fixed;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
z-index: 1200;
|
||
}
|
||
|
||
.liquid-glass-panel {
|
||
position: absolute;
|
||
pointer-events: auto;
|
||
border-radius: 150px;
|
||
overflow: hidden;
|
||
box-shadow:
|
||
0 4px 8px rgba(0, 0, 0, 0.25),
|
||
0 -10px 25px inset rgba(0, 0, 0, 0.15),
|
||
0 -1px 4px 1px inset rgba(255, 255, 255, 0.74);
|
||
cursor: grab;
|
||
background: rgba(3, 6, 14, 0.22);
|
||
touch-action: none;
|
||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||
}
|
||
|
||
.liquid-glass-panel:active {
|
||
cursor: grabbing;
|
||
}
|
||
|
||
.liquid-glass-panel::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: -15%;
|
||
background:
|
||
radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 55%),
|
||
radial-gradient(circle at 80% 5%, rgba(128, 183, 255, 0.18), transparent 60%);
|
||
opacity: 0.6;
|
||
pointer-events: none;
|
||
z-index: 1;
|
||
}
|
||
|
||
.liquid-glass-panel::after {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 0;
|
||
background:
|
||
linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
|
||
repeating-linear-gradient(140deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 6px);
|
||
mix-blend-mode: screen;
|
||
opacity: 0.4;
|
||
pointer-events: none;
|
||
z-index: 1;
|
||
}
|
||
|
||
.liquid-glass-panel > * {
|
||
position: relative;
|
||
z-index: 2;
|
||
}
|
||
|
||
.liquid-glass-svg {
|
||
position: absolute;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.liquid-glass-specular {
|
||
position: absolute;
|
||
inset: 0;
|
||
border-radius: inherit;
|
||
pointer-events: none;
|
||
background:
|
||
radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.4), transparent 58%),
|
||
radial-gradient(circle at 70% 8%, rgba(255, 200, 150, 0.22), transparent 55%),
|
||
radial-gradient(circle at 45% 120%, rgba(140, 180, 255, 0.35), transparent 45%);
|
||
mix-blend-mode: screen;
|
||
opacity: 0.85;
|
||
}
|
||
|
||
.liquid-glass-empty {
|
||
position: absolute;
|
||
inset: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 12px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
color: rgba(255, 255, 255, 0.65);
|
||
text-align: center;
|
||
padding: 0 24px;
|
||
}
|
||
|
||
.liquid-glass-toolbar {
|
||
position: fixed;
|
||
right: 20px;
|
||
bottom: 20px;
|
||
display: flex;
|
||
gap: 10px;
|
||
pointer-events: auto;
|
||
z-index: 1210;
|
||
}
|
||
|
||
.liquid-glass-btn {
|
||
border: none;
|
||
border-radius: 999px;
|
||
padding: 9px 18px;
|
||
font-size: 13px;
|
||
color: white;
|
||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12));
|
||
backdrop-filter: blur(18px);
|
||
cursor: pointer;
|
||
transition:
|
||
transform 0.15s ease,
|
||
background 0.2s ease;
|
||
}
|
||
|
||
.liquid-glass-btn:hover:not(:disabled) {
|
||
transform: translateY(-1px);
|
||
background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
|
||
}
|
||
|
||
.liquid-glass-btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.liquid-glass-btn.ghost {
|
||
background: rgba(15, 15, 25, 0.6);
|
||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||
}
|
||
|
||
.liquid-glass-btn.ghost:hover {
|
||
background: rgba(15, 15, 25, 0.75);
|
||
}
|
||
|
||
@keyframes experimentDrift {
|
||
from {
|
||
transform: translate(-5%, -5%) scale(1);
|
||
}
|
||
to {
|
||
transform: translate(5%, 5%) scale(1.05);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 960px) {
|
||
.experiment-hero {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.run-mode-options {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.run-mode-options {
|
||
display: flex !important;
|
||
grid-template-columns: none;
|
||
}
|
||
}
|
||
|
||
.run-mode-card {
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 16px;
|
||
background: var(--theme-surface-soft);
|
||
padding: 16px;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
transition:
|
||
border-color 0.2s ease,
|
||
box-shadow 0.2s ease,
|
||
transform 0.2s ease;
|
||
width: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 6px;
|
||
}
|
||
|
||
.run-mode-card:hover {
|
||
border-color: var(--claude-accent);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.run-mode-card.active {
|
||
border-color: var(--claude-accent);
|
||
background: var(--theme-tab-active);
|
||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.run-mode-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.run-mode-title {
|
||
font-weight: 600;
|
||
font-size: 15px;
|
||
color: var(--claude-text);
|
||
}
|
||
|
||
.run-mode-badge {
|
||
font-size: 12px;
|
||
color: var(--claude-accent);
|
||
font-weight: 600;
|
||
background: var(--theme-badge-bg);
|
||
border-radius: 999px;
|
||
padding: 2px 8px;
|
||
}
|
||
|
||
.run-mode-desc {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.thinking-presets {
|
||
display: flex;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.thinking-presets button {
|
||
flex: 1;
|
||
min-width: 100px;
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 12px;
|
||
padding: 10px 12px;
|
||
background: var(--theme-surface-strong);
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 4px;
|
||
font-weight: 600;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.thinking-presets button.active {
|
||
border-color: var(--claude-accent);
|
||
color: var(--claude-accent);
|
||
background: var(--theme-tab-active);
|
||
}
|
||
|
||
.thinking-presets button small {
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.thinking-input-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
.thinking-input-row label {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.thinking-input-row input {
|
||
width: 120px;
|
||
padding: 8px 10px;
|
||
border-radius: 8px;
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
}
|
||
|
||
.thinking-hint {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.behavior-hint {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.strict-skill-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(220px, 1fr));
|
||
gap: 10px;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.strict-skill-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.link-button {
|
||
border: none;
|
||
background: none;
|
||
color: var(--claude-accent);
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tool-category-grid {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
}
|
||
|
||
.tool-category-chip {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 8px 12px;
|
||
border-radius: 12px;
|
||
background: var(--theme-chip-bg);
|
||
border: 1px solid var(--theme-chip-border);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.tool-category-chip input {
|
||
accent-color: var(--claude-accent);
|
||
}
|
||
|
||
.global-actions {
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
gap: 16px;
|
||
}
|
||
|
||
/* ========================================= */
|
||
/* 主题切换 */
|
||
/* ========================================= */
|
||
|
||
.theme-page {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 18px;
|
||
background: transparent;
|
||
border-radius: 0;
|
||
border: none;
|
||
padding: 0;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.theme-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.theme-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.theme-header h3 {
|
||
margin: 0 0 6px;
|
||
}
|
||
|
||
.theme-header p {
|
||
margin: 0;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.theme-badge {
|
||
padding: 6px 12px;
|
||
border-radius: 12px;
|
||
background: var(--theme-badge-bg);
|
||
color: var(--claude-accent);
|
||
font-weight: 700;
|
||
font-size: 12px;
|
||
letter-spacing: 0.08em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.theme-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
gap: 14px;
|
||
}
|
||
|
||
.theme-card {
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 16px;
|
||
padding: 14px 16px;
|
||
background: var(--theme-surface-strong);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
transition:
|
||
border-color 0.2s ease,
|
||
box-shadow 0.2s ease,
|
||
transform 0.2s ease;
|
||
}
|
||
|
||
.theme-card:hover {
|
||
border-color: var(--claude-accent);
|
||
box-shadow: var(--theme-shadow-soft);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.theme-card.active {
|
||
border-color: var(--claude-accent);
|
||
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
|
||
background: var(--theme-tab-active);
|
||
}
|
||
|
||
.theme-card-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 10px;
|
||
}
|
||
|
||
.theme-dot-row {
|
||
display: inline-flex;
|
||
gap: 6px;
|
||
align-items: center;
|
||
}
|
||
|
||
.theme-dot {
|
||
width: 18px;
|
||
height: 18px;
|
||
border-radius: 50%;
|
||
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
||
}
|
||
|
||
.theme-check {
|
||
font-weight: 700;
|
||
color: var(--claude-accent);
|
||
font-size: 16px;
|
||
}
|
||
|
||
.theme-card-body h4 {
|
||
margin: 0 0 4px;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.theme-card-body p {
|
||
margin: 0;
|
||
color: var(--claude-text-secondary);
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.theme-note {
|
||
margin: 0;
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
/* ========================================= */
|
||
/* 移动端面板入口 */
|
||
/* ========================================= */
|
||
|
||
.mobile-panel-trigger {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
z-index: 1500;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 10px;
|
||
pointer-events: none;
|
||
opacity: 1;
|
||
transition: opacity 0.2s ease;
|
||
padding: 0;
|
||
}
|
||
|
||
.mobile-panel-trigger.is-hidden {
|
||
opacity: 0;
|
||
}
|
||
|
||
.mobile-panel-topbar {
|
||
background: var(--chat-surface-color, #ffffff);
|
||
padding: 6px 12px;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
box-shadow: none;
|
||
pointer-events: auto;
|
||
position: relative;
|
||
height: 44px;
|
||
}
|
||
|
||
.mobile-panel-topbar::after {
|
||
content: '';
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
bottom: -8px;
|
||
height: 16px;
|
||
background: var(--chat-surface-color, #ffffff);
|
||
mask-image: linear-gradient(
|
||
180deg,
|
||
rgba(0, 0, 0, 1) 0%,
|
||
rgba(0, 0, 0, 0.6) 55%,
|
||
rgba(0, 0, 0, 0) 100%
|
||
);
|
||
-webkit-mask-image: linear-gradient(
|
||
180deg,
|
||
rgba(0, 0, 0, 1) 0%,
|
||
rgba(0, 0, 0, 0.6) 55%,
|
||
rgba(0, 0, 0, 0) 100%
|
||
);
|
||
backdrop-filter: blur(14px);
|
||
-webkit-backdrop-filter: blur(14px);
|
||
pointer-events: none;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.mobile-panel-topbar {
|
||
height: 36px;
|
||
padding: 3px 10px;
|
||
gap: 6px;
|
||
}
|
||
|
||
.mobile-panel-topbar::after {
|
||
bottom: -8px;
|
||
height: 16px;
|
||
}
|
||
}
|
||
|
||
.mobile-panel-fab {
|
||
width: 32px;
|
||
height: 32px;
|
||
border: none;
|
||
padding: 0;
|
||
border-radius: 8px;
|
||
background: transparent;
|
||
color: var(--claude-text);
|
||
cursor: pointer;
|
||
pointer-events: auto;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: none;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.mobile-panel-fab img {
|
||
width: 22px;
|
||
height: 22px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.mobile-panel-fab {
|
||
width: 30px;
|
||
height: 30px;
|
||
}
|
||
|
||
.mobile-panel-fab img {
|
||
width: 22px;
|
||
height: 22px;
|
||
}
|
||
}
|
||
|
||
.mobile-panel-menu {
|
||
pointer-events: auto;
|
||
display: grid;
|
||
grid-auto-flow: column;
|
||
gap: 8px;
|
||
padding: 8px 10px;
|
||
border-radius: 999px;
|
||
background: var(--theme-mobile-menu);
|
||
backdrop-filter: blur(10px);
|
||
box-shadow: var(--theme-mobile-menu-shadow);
|
||
align-self: flex-start;
|
||
}
|
||
|
||
/* 新的下拉菜单样式 */
|
||
.mobile-panel-menu--dropdown {
|
||
position: fixed;
|
||
top: 52px;
|
||
left: 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
padding: 12px;
|
||
border-radius: 14px;
|
||
background: rgba(255, 255, 255, 0.96);
|
||
box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
|
||
backdrop-filter: blur(8px);
|
||
min-width: 200px;
|
||
z-index: 1600;
|
||
}
|
||
|
||
.mobile-menu-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 10px 12px;
|
||
border-radius: 12px;
|
||
background: transparent;
|
||
border: 1px solid transparent;
|
||
cursor: pointer;
|
||
transition: all 0.18s ease;
|
||
color: #0f172a;
|
||
text-align: left;
|
||
}
|
||
|
||
.mobile-menu-item:hover {
|
||
background: #f6f7fb;
|
||
}
|
||
|
||
.mobile-menu-item .item-label {
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
flex: 1;
|
||
}
|
||
|
||
/* 统一所有图标容器宽度为 30px,确保文字左对齐 */
|
||
.mobile-menu-icon {
|
||
width: 24px !important;
|
||
height: 24px !important;
|
||
min-width: 30px;
|
||
max-width: 30px;
|
||
flex-shrink: 0;
|
||
display: block;
|
||
}
|
||
|
||
/* 对话记录图标特殊尺寸,但容器宽度保持 30px */
|
||
.mobile-menu-item:nth-child(1) svg.mobile-menu-icon {
|
||
width: 30px !important;
|
||
height: 30px !important;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
/* 个人空间图标稍大一点 */
|
||
.mobile-menu-item--personal img.mobile-menu-icon {
|
||
width: 26px !important;
|
||
height: 26px !important;
|
||
}
|
||
|
||
.mobile-topbar-title {
|
||
flex: 1;
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
color: #0f172a;
|
||
font-family: 'Iowan Old Style', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
|
||
text-align: right;
|
||
margin-left: auto;
|
||
padding-top: 4px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.mobile-topbar-title {
|
||
padding-top: 3px;
|
||
}
|
||
}
|
||
|
||
.mobile-topbar-selector {
|
||
pointer-events: auto;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 4px 0 0 0;
|
||
border-radius: 0;
|
||
border: none;
|
||
background: transparent;
|
||
box-shadow: none;
|
||
color: #0f172a;
|
||
font-weight: 600;
|
||
font-size: 14px;
|
||
line-height: 1.35;
|
||
font-family: 'Iowan Old Style', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
||
cursor: pointer;
|
||
transition: color 0.15s ease;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.mobile-topbar-selector {
|
||
padding: 3px 0 0 0;
|
||
}
|
||
}
|
||
|
||
.mobile-topbar-selector:hover {
|
||
color: #111827;
|
||
}
|
||
|
||
.mobile-topbar-selector:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.mobile-topbar-selector.open {
|
||
color: #111827;
|
||
}
|
||
|
||
.mobile-selector-label {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
|
||
.mobile-selector-model {
|
||
font-weight: 700;
|
||
}
|
||
|
||
.mobile-selector-sep {
|
||
opacity: 0.6;
|
||
}
|
||
|
||
.mobile-selector-mode {
|
||
font-weight: 500;
|
||
color: rgba(15, 23, 42, 0.8);
|
||
}
|
||
|
||
.mobile-menu-btn {
|
||
width: 44px;
|
||
height: 44px;
|
||
border-radius: 50%;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--claude-text);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.mobile-menu-btn img,
|
||
.mobile-menu-svg {
|
||
width: 26px;
|
||
height: 26px;
|
||
display: block;
|
||
}
|
||
|
||
.mobile-menu-btn--conversation .mobile-menu-svg {
|
||
width: 30px;
|
||
height: 30px;
|
||
transition: color 0.2s ease;
|
||
}
|
||
|
||
.mobile-panel-menu-enter-active,
|
||
.mobile-panel-menu-leave-active {
|
||
transition:
|
||
opacity 0.2s ease,
|
||
transform 0.2s ease;
|
||
}
|
||
|
||
.mobile-panel-menu-enter-from,
|
||
.mobile-panel-menu-leave-to {
|
||
opacity: 0;
|
||
transform: translateY(-8px) scale(0.95);
|
||
}
|
||
|
||
/* ========================================= */
|
||
/* 移动端半覆盖面板 */
|
||
/* ========================================= */
|
||
|
||
.mobile-panel-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: var(--theme-overlay-scrim);
|
||
backdrop-filter: blur(6px);
|
||
z-index: 2000;
|
||
display: flex;
|
||
align-items: stretch;
|
||
padding: 0;
|
||
}
|
||
|
||
.mobile-panel-overlay--left {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.mobile-panel-overlay--right {
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.mobile-panel-sheet {
|
||
width: 100%;
|
||
height: 100%;
|
||
background: var(--claude-left-rail);
|
||
border-radius: 0;
|
||
box-shadow: none;
|
||
padding: 0;
|
||
padding-top: 44px;
|
||
position: relative;
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.mobile-panel-sheet--conversation,
|
||
.mobile-panel-sheet--workspace {
|
||
background: var(--claude-left-rail);
|
||
}
|
||
|
||
.mobile-panel-sheet--conversation {
|
||
background: var(--claude-left-rail);
|
||
width: min(420px, 65vw);
|
||
max-width: 65vw;
|
||
}
|
||
|
||
.mobile-panel-sheet--workspace {
|
||
width: fit-content;
|
||
min-width: min(420px, 60vw);
|
||
max-width: 100vw;
|
||
}
|
||
|
||
.mobile-panel-sheet--approval {
|
||
background: var(--claude-panel);
|
||
width: min(460px, 92vw);
|
||
max-width: 92vw;
|
||
padding-top: 0;
|
||
}
|
||
|
||
.mobile-panel-sheet--focus {
|
||
background: var(--claude-panel);
|
||
}
|
||
|
||
.mobile-overlay-close {
|
||
position: absolute;
|
||
top: 10px;
|
||
right: 10px;
|
||
width: 32px;
|
||
height: 32px;
|
||
border-radius: 16px;
|
||
border: none;
|
||
background: rgba(0, 0, 0, 0.08);
|
||
color: var(--claude-text);
|
||
font-size: 18px;
|
||
cursor: pointer;
|
||
z-index: 5;
|
||
}
|
||
|
||
.mobile-overlay-content {
|
||
margin-top: 0;
|
||
flex: 1;
|
||
width: 100%;
|
||
height: calc(100% - 44px);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.mobile-panel-sheet .conversation-sidebar,
|
||
.mobile-panel-sheet .sidebar,
|
||
.mobile-panel-sheet .right-sidebar {
|
||
width: 100% !important;
|
||
max-width: 100%;
|
||
min-width: 0;
|
||
height: 100%;
|
||
border: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.mobile-panel-sheet .conversation-sidebar {
|
||
height: 100%;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.mobile-panel-sheet .left-sidebar,
|
||
.mobile-panel-sheet .right-sidebar {
|
||
display: flex !important;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.mobile-panel-sheet .conversation-sidebar {
|
||
position: relative;
|
||
transform: none !important;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.mobile-panel-sheet .conversation-sidebar.collapsed {
|
||
transform: none !important;
|
||
}
|
||
|
||
.mobile-panel-sheet .sidebar-header {
|
||
position: static;
|
||
border: none;
|
||
padding: 12px 16px 0;
|
||
}
|
||
|
||
.mobile-panel-sheet .focused-files,
|
||
.mobile-panel-sheet .approval-panel-body {
|
||
padding-top: 8px;
|
||
}
|
||
}
|
||
|
||
.mobile-panel-overlay-enter-active,
|
||
.mobile-panel-overlay-leave-active {
|
||
transition: opacity 0.25s ease;
|
||
}
|
||
|
||
.mobile-panel-overlay-enter-from,
|
||
.mobile-panel-overlay-leave-to {
|
||
opacity: 0;
|
||
}
|
||
|
||
.mobile-panel-overlay .mobile-panel-sheet {
|
||
transform: translateX(0);
|
||
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
||
}
|
||
|
||
/* 桌面端审批:覆盖弹窗,不挤压主布局 */
|
||
.desktop-approval-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 2100;
|
||
background: var(--theme-overlay-scrim);
|
||
backdrop-filter: blur(6px);
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.desktop-approval-sheet {
|
||
height: 100%;
|
||
max-width: 92vw;
|
||
background: var(--claude-panel);
|
||
box-shadow: -10px 0 28px rgba(0, 0, 0, 0.22);
|
||
overflow: hidden;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.desktop-approval-sheet .sidebar.right-sidebar {
|
||
width: 100% !important;
|
||
min-width: 0;
|
||
height: 100%;
|
||
transition: none !important;
|
||
transform: none !important;
|
||
}
|
||
|
||
.desktop-approval-fade-enter-active,
|
||
.desktop-approval-fade-leave-active {
|
||
transition: opacity 0.2s ease;
|
||
}
|
||
|
||
.desktop-approval-fade-enter-from,
|
||
.desktop-approval-fade-leave-to {
|
||
opacity: 0;
|
||
}
|
||
|
||
.desktop-approval-fade-enter-active .desktop-approval-sheet,
|
||
.desktop-approval-fade-leave-active .desktop-approval-sheet {
|
||
transition:
|
||
transform 0.22s ease,
|
||
opacity 0.22s ease;
|
||
}
|
||
|
||
.desktop-approval-fade-enter-from .desktop-approval-sheet,
|
||
.desktop-approval-fade-leave-to .desktop-approval-sheet {
|
||
transform: translateX(14px);
|
||
opacity: 0.96;
|
||
}
|
||
|
||
.mobile-panel-overlay--left.mobile-panel-overlay-enter-from .mobile-panel-sheet,
|
||
.mobile-panel-overlay--left.mobile-panel-overlay-leave-to .mobile-panel-sheet {
|
||
transform: translateX(-28px);
|
||
}
|
||
|
||
.mobile-panel-overlay--right.mobile-panel-overlay-enter-from .mobile-panel-sheet,
|
||
.mobile-panel-overlay--right.mobile-panel-overlay-leave-to .mobile-panel-sheet {
|
||
transform: translateX(28px);
|
||
}
|
||
.confirm-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: var(--theme-overlay-scrim);
|
||
backdrop-filter: blur(12px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 20px;
|
||
z-index: 2200;
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
will-change: opacity, backdrop-filter;
|
||
}
|
||
|
||
.confirm-modal {
|
||
width: min(360px, 100%);
|
||
background: var(--theme-surface-card);
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
border-radius: 18px;
|
||
padding: 24px;
|
||
box-shadow: var(--theme-shadow-soft);
|
||
transition:
|
||
transform 0.25s ease,
|
||
opacity 0.25s ease;
|
||
}
|
||
|
||
.confirm-title {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.confirm-message {
|
||
font-size: 14px;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.confirm-warning {
|
||
margin-top: 10px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
color: #ef4444;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.confirm-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 12px;
|
||
margin-top: 24px;
|
||
}
|
||
|
||
.confirm-actions--confirm-left .confirm-button--confirm {
|
||
order: 1;
|
||
}
|
||
|
||
.confirm-actions--confirm-left .confirm-button--cancel {
|
||
order: 2;
|
||
}
|
||
|
||
.confirm-button {
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
background: transparent;
|
||
color: var(--claude-text);
|
||
border-radius: 10px;
|
||
padding: 8px 20px;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.confirm-button--primary {
|
||
background: var(--claude-accent);
|
||
border-color: var(--claude-accent-strong);
|
||
color: #fff;
|
||
}
|
||
|
||
.confirm-button--danger {
|
||
background: #dc2626;
|
||
border-color: #b91c1c;
|
||
color: #fff;
|
||
}
|
||
|
||
.subagent-activity-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: var(--theme-overlay-scrim);
|
||
backdrop-filter: blur(10px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 20px;
|
||
z-index: 2200;
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
}
|
||
|
||
.subagent-activity-modal {
|
||
width: 720px;
|
||
height: 70vh;
|
||
background: var(--theme-surface-card);
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
border-radius: 18px;
|
||
padding: 20px 22px;
|
||
box-shadow: var(--theme-shadow-soft);
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.subagent-activity-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.subagent-activity-title {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.subagent-activity-close {
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--claude-text);
|
||
font-size: 20px;
|
||
cursor: pointer;
|
||
padding: 4px 8px;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.subagent-activity-close:hover {
|
||
background: var(--theme-control-bg);
|
||
}
|
||
|
||
.subagent-activity-meta {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
font-size: 13px;
|
||
color: var(--claude-text-secondary);
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.subagent-activity-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.subagent-stop-btn {
|
||
border: 1px solid rgba(239, 68, 68, 0.4);
|
||
background: rgba(239, 68, 68, 0.12);
|
||
color: #ef4444;
|
||
border-radius: 10px;
|
||
font-size: 12px;
|
||
padding: 4px 10px;
|
||
cursor: pointer;
|
||
transition:
|
||
background 0.2s ease,
|
||
border-color 0.2s ease;
|
||
}
|
||
|
||
.subagent-stop-btn:hover:not(:disabled) {
|
||
background: rgba(239, 68, 68, 0.18);
|
||
border-color: rgba(239, 68, 68, 0.55);
|
||
}
|
||
|
||
.subagent-stop-btn:disabled {
|
||
opacity: 0.55;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.subagent-activity-status {
|
||
padding: 2px 8px;
|
||
border-radius: 999px;
|
||
background: rgba(59, 130, 246, 0.15);
|
||
color: #3b82f6;
|
||
text-transform: uppercase;
|
||
font-size: 11px;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.subagent-activity-status.completed {
|
||
background: rgba(16, 185, 129, 0.15);
|
||
color: #10b981;
|
||
}
|
||
|
||
.subagent-activity-status.failed,
|
||
.subagent-activity-status.timeout,
|
||
.subagent-activity-status.terminated,
|
||
.subagent-activity-status.cancelled {
|
||
background: rgba(239, 68, 68, 0.15);
|
||
color: #ef4444;
|
||
}
|
||
|
||
.subagent-activity-body {
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
padding: 8px 0;
|
||
}
|
||
|
||
.subagent-activity-empty,
|
||
.subagent-activity-error {
|
||
color: var(--claude-text-secondary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.subagent-activity-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.subagent-activity-item {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 6px 0;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.subagent-activity-text {
|
||
color: var(--claude-text);
|
||
line-height: 1.4;
|
||
word-break: break-all;
|
||
}
|
||
|
||
.subagent-activity-state {
|
||
flex-shrink: 0;
|
||
font-size: 12px;
|
||
padding: 2px 8px;
|
||
border-radius: 999px;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.03em;
|
||
background: rgba(59, 130, 246, 0.12);
|
||
color: #3b82f6;
|
||
}
|
||
|
||
.subagent-activity-state.completed {
|
||
background: rgba(16, 185, 129, 0.15);
|
||
color: #10b981;
|
||
}
|
||
|
||
.subagent-activity-state.failed {
|
||
background: rgba(239, 68, 68, 0.15);
|
||
color: #ef4444;
|
||
}
|
||
|
||
.bg-command-modal {
|
||
width: min(980px, 92vw);
|
||
}
|
||
|
||
.bg-command-output {
|
||
margin: 0;
|
||
width: 100%;
|
||
min-height: 100%;
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 12px;
|
||
background: var(--theme-surface-soft);
|
||
color: var(--claude-text);
|
||
padding: 14px;
|
||
font-size: 12px;
|
||
line-height: 1.5;
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
overflow: auto;
|
||
}
|
||
|
||
.confirm-dialog-fade-enter-active,
|
||
.confirm-dialog-fade-leave-active {
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
}
|
||
|
||
.confirm-dialog-fade-enter-from,
|
||
.confirm-dialog-fade-leave-to {
|
||
opacity: 0;
|
||
backdrop-filter: blur(0px);
|
||
}
|
||
|
||
.confirm-dialog-fade-enter-active .confirm-modal,
|
||
.confirm-dialog-fade-leave-active .confirm-modal {
|
||
transition:
|
||
transform 0.25s ease,
|
||
opacity 0.25s ease;
|
||
}
|
||
|
||
.confirm-dialog-fade-enter-from .confirm-modal,
|
||
.confirm-dialog-fade-leave-to .confirm-modal {
|
||
transform: translateY(18px) scale(0.97);
|
||
opacity: 0;
|
||
}
|
||
|
||
.personal-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 18px;
|
||
flex: 1;
|
||
min-height: 0;
|
||
height: 100%;
|
||
}
|
||
|
||
.personalization-sections {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
|
||
gap: 18px;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.personal-left-column {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 0;
|
||
}
|
||
|
||
.personal-left-column .personal-section {
|
||
height: 100%;
|
||
}
|
||
|
||
.personal-section {
|
||
flex: 1 1 0;
|
||
min-width: 240px;
|
||
background: var(--theme-surface-soft);
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 18px;
|
||
padding: 16px 18px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.personal-right-column {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 14px;
|
||
min-width: 0;
|
||
align-self: stretch;
|
||
height: 100%;
|
||
}
|
||
|
||
.personal-right-column > .personal-form-actions {
|
||
margin-top: auto;
|
||
}
|
||
|
||
.personal-section.personal-considerations .personal-field {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.personal-section.personal-considerations .consideration-list {
|
||
max-height: 260px;
|
||
min-height: 220px;
|
||
flex: 1;
|
||
overflow-y: auto;
|
||
scrollbar-width: none;
|
||
-ms-overflow-style: none;
|
||
}
|
||
|
||
.personal-section.personal-considerations .consideration-list::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.personal-section.personal-considerations .consideration-item {
|
||
background: var(--theme-surface-strong);
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
.personalization-sections {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 18px;
|
||
}
|
||
|
||
.personal-right-column,
|
||
.personal-left-column {
|
||
width: 100%;
|
||
max-width: none;
|
||
}
|
||
}
|
||
|
||
.personal-field {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.personal-field input {
|
||
width: 100%;
|
||
padding: 10px 14px;
|
||
border-radius: 12px;
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
background: var(--theme-surface-soft);
|
||
font-size: 14px;
|
||
}
|
||
|
||
.personal-field input:focus {
|
||
outline: 2px solid rgba(189, 93, 58, 0.35);
|
||
border-color: rgba(189, 93, 58, 0.6);
|
||
}
|
||
|
||
.tone-preset-row {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
font-size: 13px;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.tone-preset-buttons {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.tone-preset-buttons button {
|
||
padding: 4px 10px;
|
||
border-radius: 999px;
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-strong);
|
||
font-size: 13px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tone-preset-buttons button:hover {
|
||
border-color: var(--claude-accent);
|
||
color: var(--claude-accent);
|
||
}
|
||
|
||
.consideration-input {
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
.consideration-input input {
|
||
flex: 1;
|
||
}
|
||
|
||
.consideration-add {
|
||
width: 38px;
|
||
height: 38px;
|
||
border-radius: 12px;
|
||
border: none;
|
||
background: var(--claude-accent);
|
||
color: #fffdf8;
|
||
font-size: 20px;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.consideration-add:disabled {
|
||
opacity: 0.4;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.consideration-list {
|
||
list-style: none;
|
||
margin: 6px 0 0;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.consideration-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 10px 12px;
|
||
border-radius: 12px;
|
||
border: 1px dashed var(--theme-control-border-strong);
|
||
background: var(--theme-surface-soft);
|
||
cursor: grab;
|
||
}
|
||
|
||
.drag-handle {
|
||
font-size: 16px;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.consideration-text {
|
||
flex: 1;
|
||
font-size: 14px;
|
||
color: var(--claude-text);
|
||
}
|
||
|
||
.consideration-remove {
|
||
border: none;
|
||
background: none;
|
||
font-size: 18px;
|
||
line-height: 1;
|
||
cursor: pointer;
|
||
color: #d64545;
|
||
padding: 0 4px;
|
||
}
|
||
|
||
.consideration-hint,
|
||
.consideration-limit {
|
||
font-size: 13px;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.personal-form-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-top: auto;
|
||
padding: 12px 0 0;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.personal-form-actions.card-aligned {
|
||
padding: 0;
|
||
margin-top: auto;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
@media (max-width: 1024px) {
|
||
.personal-form-actions.card-aligned {
|
||
margin-top: 12px;
|
||
}
|
||
}
|
||
|
||
.personal-actions-row {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
margin-top: 18px;
|
||
}
|
||
|
||
.personal-actions-row .personal-form-actions {
|
||
width: 100%;
|
||
max-width: 420px;
|
||
padding: 0;
|
||
}
|
||
|
||
@media (min-width: 1025px) {
|
||
.personal-actions-row .personal-form-actions {
|
||
max-width: calc(50% - 9px);
|
||
}
|
||
}
|
||
|
||
.personal-status-group {
|
||
flex: 0 0 auto;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
min-height: 22px;
|
||
}
|
||
|
||
.personal-form-actions .primary {
|
||
padding: 10px 20px;
|
||
border: none;
|
||
border-radius: 999px;
|
||
background: linear-gradient(135deg, var(--claude-accent) 0%, var(--claude-accent-strong) 100%);
|
||
color: #fff;
|
||
font-weight: 600;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.personal-form-actions .primary:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.personal-form-actions .status {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.personal-form-actions .status.success {
|
||
color: #0f9d58;
|
||
}
|
||
|
||
.personal-form-actions .status.error {
|
||
color: #d64545;
|
||
}
|
||
|
||
.personal-status-fade-enter-active,
|
||
.personal-status-fade-leave-active {
|
||
transition: opacity 0.25s ease;
|
||
}
|
||
|
||
.personal-status-fade-enter-from,
|
||
.personal-status-fade-leave-to {
|
||
opacity: 0;
|
||
}
|
||
|
||
.personalization-loading {
|
||
padding: 32px 0;
|
||
text-align: center;
|
||
color: var(--claude-text-secondary);
|
||
font-size: 14px;
|
||
}
|
||
|
||
.personal-page-vertical-enter-active,
|
||
.personal-page-vertical-leave-active {
|
||
transition:
|
||
opacity 0.35s ease,
|
||
transform 0.35s ease;
|
||
}
|
||
|
||
.personal-page-vertical-enter-from {
|
||
opacity: 0;
|
||
transform: translateY(26px);
|
||
}
|
||
|
||
.personal-page-vertical-leave-to {
|
||
opacity: 0;
|
||
transform: translateY(-26px);
|
||
}
|
||
|
||
.personal-page-fade-enter-active,
|
||
.personal-page-fade-leave-active {
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
}
|
||
|
||
.personal-page-fade-enter-from,
|
||
.personal-page-fade-leave-to {
|
||
opacity: 0;
|
||
backdrop-filter: blur(0);
|
||
}
|
||
|
||
.personal-page-overlay.personal-page-fade-enter-active .personal-page-card,
|
||
.personal-page-overlay.personal-page-fade-leave-active .personal-page-card {
|
||
transition:
|
||
transform 0.25s ease,
|
||
opacity 0.25s ease;
|
||
}
|
||
|
||
.personal-page-overlay.personal-page-fade-enter-from .personal-page-card,
|
||
.personal-page-overlay.personal-page-fade-leave-to .personal-page-card {
|
||
transform: translateY(18px) scale(0.985);
|
||
opacity: 0;
|
||
}
|
||
|
||
/* 通用覆盖层淡入动画(复用个人空间动效) */
|
||
.overlay-fade-enter-active,
|
||
.overlay-fade-leave-active {
|
||
transition:
|
||
opacity 0.25s ease,
|
||
backdrop-filter 0.25s ease;
|
||
}
|
||
.overlay-fade-enter-from,
|
||
.overlay-fade-leave-to {
|
||
opacity: 0;
|
||
backdrop-filter: blur(0);
|
||
}
|
||
.overlay-fade-enter-active > *:first-child,
|
||
.overlay-fade-leave-active > *:first-child {
|
||
transition:
|
||
transform 0.25s ease,
|
||
opacity 0.25s ease;
|
||
}
|
||
.overlay-fade-enter-from > *:first-child,
|
||
.overlay-fade-leave-to > *:first-child {
|
||
transform: translateY(18px) scale(0.985);
|
||
opacity: 0;
|
||
}
|
||
|
||
/* 彩蛋灌水特效 */
|
||
.easter-egg-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
pointer-events: none;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: center;
|
||
opacity: 0;
|
||
transition: opacity 0.6s ease;
|
||
z-index: 80;
|
||
}
|
||
|
||
.easter-egg-overlay.active {
|
||
opacity: 1;
|
||
}
|
||
.panel-card {
|
||
border-left: 1px solid var(--claude-border);
|
||
padding: 0 0 0 0;
|
||
}
|
||
.app-loading-state {
|
||
min-height: calc(var(--app-viewport, 100vh) - 160px);
|
||
padding: 60px 20px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 28px;
|
||
text-align: center;
|
||
color: var(--claude-text);
|
||
}
|
||
|
||
.loading-animation {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.loading-copy {
|
||
margin-top: 48px;
|
||
}
|
||
.loading-copy h2 {
|
||
margin: 0;
|
||
font-size: 24px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.loading-copy p {
|
||
margin: 6px 0 0;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.loading-refresh-btn {
|
||
margin-top: 14px;
|
||
border: 1px solid var(--claude-border);
|
||
border-radius: 10px;
|
||
background: var(--claude-panel);
|
||
color: var(--claude-text);
|
||
padding: 8px 14px;
|
||
font-size: 13px;
|
||
cursor: pointer;
|
||
transition:
|
||
transform 0.18s ease,
|
||
box-shadow 0.18s ease;
|
||
}
|
||
|
||
.loading-refresh-btn:hover {
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 8px 20px rgba(61, 57, 41, 0.14);
|
||
}
|
||
|
||
.boxes {
|
||
--size: 34px;
|
||
--duration: 900ms;
|
||
--box-primary: var(--claude-accent);
|
||
--box-secondary: var(--claude-accent-strong, #d07b4c);
|
||
--box-tertiary: #f8d7c0;
|
||
height: calc(var(--size) * 2);
|
||
width: calc(var(--size) * 3);
|
||
position: relative;
|
||
transform-style: preserve-3d;
|
||
transform-origin: 50% 50%;
|
||
margin-top: calc(var(--size) * -1.5);
|
||
transform: rotateX(60deg) rotateZ(45deg) rotateY(0deg) translateZ(0px);
|
||
}
|
||
|
||
.boxes .box {
|
||
width: var(--size);
|
||
height: var(--size);
|
||
top: 0;
|
||
left: 0;
|
||
position: absolute;
|
||
transform-style: preserve-3d;
|
||
}
|
||
|
||
.boxes .box:nth-child(1) {
|
||
transform: translate(100%, 0);
|
||
animation: box1 var(--duration) linear infinite;
|
||
}
|
||
|
||
.boxes .box:nth-child(2) {
|
||
transform: translate(0, 100%);
|
||
animation: box2 var(--duration) linear infinite;
|
||
}
|
||
|
||
.boxes .box:nth-child(3) {
|
||
transform: translate(100%, 100%);
|
||
animation: box3 var(--duration) linear infinite;
|
||
}
|
||
|
||
.boxes .box:nth-child(4) {
|
||
transform: translate(200%, 0);
|
||
animation: box4 var(--duration) linear infinite;
|
||
}
|
||
|
||
.boxes .box > div {
|
||
--background: var(--box-primary);
|
||
--top: auto;
|
||
--right: auto;
|
||
--bottom: auto;
|
||
--left: auto;
|
||
--translateZ: calc(var(--size) / 2);
|
||
--rotateY: 0deg;
|
||
--rotateX: 0deg;
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: var(--background);
|
||
top: var(--top);
|
||
right: var(--right);
|
||
bottom: var(--bottom);
|
||
left: var(--left);
|
||
border-radius: 6px;
|
||
transform: rotateY(var(--rotateY)) rotateX(var(--rotateX)) translateZ(var(--translateZ));
|
||
}
|
||
|
||
.boxes .box > div:nth-child(1) {
|
||
--top: 0;
|
||
--left: 0;
|
||
}
|
||
|
||
.boxes .box > div:nth-child(2) {
|
||
--background: var(--box-secondary);
|
||
--right: 0;
|
||
--rotateY: 90deg;
|
||
}
|
||
|
||
.boxes .box > div:nth-child(3) {
|
||
--background: var(--box-tertiary);
|
||
--rotateX: -90deg;
|
||
}
|
||
|
||
.boxes .box > div:nth-child(4) {
|
||
--background: rgba(255, 255, 255, 0.95);
|
||
--top: 0;
|
||
--left: 0;
|
||
--translateZ: calc(var(--size) * 3 * -1);
|
||
}
|
||
|
||
@keyframes box1 {
|
||
0%,
|
||
50% {
|
||
transform: translate(100%, 0);
|
||
}
|
||
|
||
100% {
|
||
transform: translate(200%, 0);
|
||
}
|
||
}
|
||
|
||
@keyframes box2 {
|
||
0% {
|
||
transform: translate(0, 100%);
|
||
}
|
||
|
||
50% {
|
||
transform: translate(0, 0);
|
||
}
|
||
|
||
100% {
|
||
transform: translate(100%, 0);
|
||
}
|
||
}
|
||
|
||
@keyframes box3 {
|
||
0%,
|
||
50% {
|
||
transform: translate(100%, 100%);
|
||
}
|
||
|
||
100% {
|
||
transform: translate(0, 100%);
|
||
}
|
||
}
|
||
|
||
@keyframes box4 {
|
||
0% {
|
||
transform: translate(200%, 0);
|
||
}
|
||
|
||
50% {
|
||
transform: translate(200%, 100%);
|
||
}
|
||
|
||
100% {
|
||
transform: translate(100%, 100%);
|
||
}
|
||
}
|
||
|
||
/* 明亮主题:移除光晕效果 */
|
||
body[data-theme='light'] {
|
||
.experiment-visual-glow,
|
||
.experiment-orb {
|
||
display: none;
|
||
}
|
||
|
||
.experiment-visual {
|
||
background: var(--theme-surface-card);
|
||
box-shadow: var(--theme-shadow-soft);
|
||
}
|
||
|
||
.stadium-shell.is-focused,
|
||
.stadium-shell.has-text,
|
||
.stadium-shell.is-multiline.is-focused,
|
||
.stadium-shell.is-multiline.has-text {
|
||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
/* 按钮背景色 - 使用浅灰色 */
|
||
.stadium-btn.send-btn {
|
||
background: #ececec;
|
||
color: #0d0d0d;
|
||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||
}
|
||
|
||
.stadium-btn.send-btn:hover:not(:disabled) {
|
||
background: #e0e0e0;
|
||
}
|
||
|
||
.stadium-btn.send-btn .send-icon {
|
||
border-left-color: #0d0d0d;
|
||
}
|
||
|
||
.stadium-btn.send-btn .stop-icon {
|
||
background-color: #0d0d0d;
|
||
}
|
||
|
||
.menu-entry:hover:not(:disabled) {
|
||
background: #f5f5f5;
|
||
}
|
||
|
||
.menu-entry.active {
|
||
background: #ececec;
|
||
}
|
||
|
||
/* 机器人图标保持黑色 */
|
||
.status-logo {
|
||
color: #0d0d0d;
|
||
}
|
||
|
||
/* 思考模式切换按钮 - 统一浅灰色背景,只有图标变化 */
|
||
.mode-indicator {
|
||
background: #ececec !important;
|
||
color: #0d0d0d;
|
||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.mode-indicator:hover {
|
||
background: #e0e0e0 !important;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
|
||
}
|
||
|
||
.mode-indicator:focus-visible {
|
||
box-shadow:
|
||
0 0 0 2px rgba(0, 0, 0, 0.1),
|
||
0 2px 4px rgba(0, 0, 0, 0.12);
|
||
}
|
||
|
||
.mode-indicator .icon {
|
||
color: #0d0d0d;
|
||
}
|
||
|
||
/* 返回工作区按钮 - 移除光晕 */
|
||
.personal-page-close {
|
||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||
}
|
||
|
||
.personal-page-close:hover {
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
|
||
}
|
||
|
||
/* 个人空间选择栏 - 文字颜色 */
|
||
.run-mode-title {
|
||
color: #0d0d0d !important;
|
||
}
|
||
|
||
.run-mode-desc {
|
||
color: #676767 !important;
|
||
}
|
||
|
||
/* 去掉选中后的文字变色 */
|
||
.run-mode-card.active .run-mode-title {
|
||
color: #0d0d0d !important;
|
||
}
|
||
|
||
.run-mode-card.active .run-mode-desc {
|
||
color: #676767 !important;
|
||
}
|
||
|
||
.run-mode-card:hover .run-mode-title {
|
||
color: #0d0d0d !important;
|
||
}
|
||
|
||
.run-mode-card:hover .run-mode-desc {
|
||
color: #676767 !important;
|
||
}
|
||
|
||
/* 个人空间左侧选项卡 - 文字颜色保持灰色,不随选中状态变化 */
|
||
.personal-tab-button {
|
||
color: #676767 !important;
|
||
}
|
||
|
||
.personal-tab-button.active {
|
||
color: #676767 !important;
|
||
}
|
||
|
||
/* 删除按钮 - 使用深灰色 */
|
||
.conversation-action-btn.delete-btn {
|
||
background: #6b6b6b !important;
|
||
}
|
||
|
||
.conversation-action-btn.delete-btn:hover {
|
||
background: #5a5a5a !important;
|
||
}
|
||
|
||
/* 个人空间 - consideration 删除按钮 */
|
||
.consideration-remove {
|
||
color: #6b6b6b !important;
|
||
}
|
||
|
||
.consideration-remove:hover {
|
||
color: #0d0d0d !important;
|
||
}
|
||
|
||
/* 个人空间 - 整体背景色为侧边栏颜色,选项卡和卡片为白色 */
|
||
.personal-page-card {
|
||
background: #f9f9f9 !important;
|
||
}
|
||
|
||
.personal-section {
|
||
background: #ffffff !important;
|
||
}
|
||
|
||
.personal-tab-button {
|
||
background: #ffffff !important;
|
||
}
|
||
|
||
.personal-tab-button:hover {
|
||
background: #f5f5f5 !important;
|
||
}
|
||
|
||
.personal-tab-button.active {
|
||
background: #ffffff !important;
|
||
}
|
||
}
|
||
|
||
/* 暗色主题:移除光晕效果和彩色 */
|
||
body[data-theme='dark'] {
|
||
.experiment-visual-glow,
|
||
.experiment-orb {
|
||
display: none;
|
||
}
|
||
|
||
.experiment-visual {
|
||
background: var(--theme-surface-card);
|
||
box-shadow: var(--theme-shadow-soft);
|
||
}
|
||
|
||
.stadium-shell.is-focused,
|
||
.stadium-shell.has-text,
|
||
.stadium-shell.is-multiline.is-focused,
|
||
.stadium-shell.is-multiline.has-text {
|
||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
|
||
}
|
||
|
||
/* 输入栏 - 改为灰黑色 */
|
||
.stadium-shell {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.stadium-shell.is-focused,
|
||
.stadium-shell.has-text {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.15);
|
||
}
|
||
|
||
/* 输入框文字颜色 */
|
||
.stadium-input {
|
||
color: #ffffff;
|
||
}
|
||
|
||
.stadium-input::placeholder {
|
||
color: #707070;
|
||
}
|
||
|
||
/* 按钮背景色 - 使用浅一些的灰色 */
|
||
.stadium-btn.send-btn {
|
||
background: #3a3a3a;
|
||
color: #ffffff;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.stadium-btn.send-btn:hover:not(:disabled) {
|
||
background: #454545;
|
||
}
|
||
|
||
.stadium-btn.send-btn .send-icon {
|
||
border-left-color: #ffffff;
|
||
}
|
||
|
||
.stadium-btn.send-btn .stop-icon {
|
||
background-color: #ffffff;
|
||
}
|
||
|
||
/* 快捷菜单 - 改为灰黑色 */
|
||
.quick-menu {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.quick-submenu {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.menu-entry:hover:not(:disabled) {
|
||
background: #353535;
|
||
}
|
||
|
||
.menu-entry.active {
|
||
background: #353535;
|
||
}
|
||
|
||
/* 机器人图标保持白色 */
|
||
.status-logo {
|
||
color: #ffffff;
|
||
}
|
||
|
||
/* 思考模式切换按钮 - 统一深灰色背景,只有图标变化 */
|
||
.mode-indicator {
|
||
background: #2a2a2a !important;
|
||
color: #ffffff;
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.mode-indicator:hover {
|
||
background: #353535 !important;
|
||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
|
||
}
|
||
|
||
.mode-indicator:focus-visible {
|
||
box-shadow:
|
||
0 0 0 2px rgba(255, 255, 255, 0.1),
|
||
0 3px 6px rgba(0, 0, 0, 0.4);
|
||
}
|
||
|
||
.mode-indicator .icon {
|
||
color: #ffffff;
|
||
}
|
||
|
||
/* 返回工作区按钮 - 移除光晕 */
|
||
.personal-page-close {
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.personal-page-close:hover {
|
||
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
|
||
}
|
||
|
||
/* 个人空间选择栏 - 文字颜色 */
|
||
.run-mode-title {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.run-mode-desc {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
/* 去掉选中后的文字变色 */
|
||
.run-mode-card.active .run-mode-title {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.run-mode-card.active .run-mode-desc {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
.run-mode-card:hover .run-mode-title {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.run-mode-card:hover .run-mode-desc {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
/* 个人空间左侧选项卡 - 暗色模式下文字白色,不随选中状态变化 */
|
||
.personal-tab-button {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.personal-tab-button.active {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 个人空间左侧选项卡描述文字 */
|
||
.personal-tab-desc {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
/* 空对话欢迎语 - 白色 */
|
||
.blank-hero-text {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 删除按钮 - 使用浅灰色 */
|
||
.conversation-action-btn.delete-btn {
|
||
background: #6b6b6b !important;
|
||
}
|
||
|
||
.conversation-action-btn.delete-btn:hover {
|
||
background: #7a7a7a !important;
|
||
}
|
||
|
||
/* 顶部栏 - 黑色背景,白色字体 */
|
||
.conversation-ribbon {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
.conversation-ribbon::after {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
.mobile-topbar-title {
|
||
color: #ffffff !important;
|
||
text-shadow: none !important;
|
||
}
|
||
|
||
.mobile-topbar-selector {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-topbar-selector:hover {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-topbar-selector.open {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-selector-model {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-selector-mode {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
/* 手机端顶部栏 - 黑色背景 */
|
||
.mobile-panel-topbar {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
.mobile-panel-topbar::after {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
/* 手机端顶部栏菜单按钮 - 白色图标 */
|
||
.mobile-panel-fab {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-panel-fab img {
|
||
filter: brightness(0) invert(1) !important;
|
||
}
|
||
|
||
/* 手机端展开菜单 - 黑色背景 */
|
||
.mobile-panel-menu {
|
||
background: #000000 !important;
|
||
}
|
||
|
||
/* 新的下拉菜单样式 - 暗色主题 */
|
||
.mobile-panel-menu--dropdown {
|
||
background: #2a2a2a !important;
|
||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5) !important;
|
||
}
|
||
|
||
.mobile-menu-item {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-menu-item:hover {
|
||
background: #3a3a3a !important;
|
||
}
|
||
|
||
/* 图标颜色反转为白色 */
|
||
.mobile-menu-icon {
|
||
filter: brightness(0) invert(1) !important;
|
||
}
|
||
|
||
/* 手机端菜单按钮 - SVG 白色 */
|
||
.mobile-menu-btn {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.mobile-menu-svg {
|
||
filter: brightness(0) invert(1) !important;
|
||
}
|
||
|
||
.mobile-menu-btn img {
|
||
filter: brightness(0) invert(1) !important;
|
||
}
|
||
|
||
/* 用量统计 - 数字白色 */
|
||
.stat-value {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 对话区域顶部的模型选择器 - 白色字体 */
|
||
.conversation-ribbon__selector {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.conversation-ribbon__selector:hover {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.conversation-ribbon__selector.open {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.selector-model {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.selector-mode {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
.conversation-ribbon__text {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 模型选择下拉菜单 - 和输入栏一样的底色 */
|
||
.model-mode-dropdown {
|
||
background: #2a2a2a !important;
|
||
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5) !important;
|
||
}
|
||
|
||
.dropdown-title {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
.dropdown-item {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.dropdown-item:hover:not(.disabled) {
|
||
background: #3a3a3a !important;
|
||
}
|
||
|
||
.item-label {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.item-desc {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
/* 个人空间 - consideration 列表项的虚线边框 */
|
||
.consideration-item {
|
||
border-color: #6b6b6b !important;
|
||
}
|
||
|
||
/* 个人空间 - consideration 删除按钮 */
|
||
.consideration-remove {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
.consideration-remove:hover {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 个人空间 - 整体背景色为对话区域颜色,选项卡和卡片为纯黑色 */
|
||
.personal-page-card {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
.personal-section {
|
||
background: #000000 !important;
|
||
}
|
||
|
||
.personal-tab-button {
|
||
background: #000000 !important;
|
||
}
|
||
|
||
.personal-tab-button:hover {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
.personal-tab-button.active {
|
||
background: #1a1a1a !important;
|
||
}
|
||
|
||
/* 快捷菜单 - 和输入栏一样的底色 */
|
||
.quick-menu {
|
||
background: #2a2a2a !important;
|
||
border-color: rgba(255, 255, 255, 0.1) !important;
|
||
}
|
||
|
||
.quick-submenu {
|
||
background: #2a2a2a !important;
|
||
border-color: rgba(255, 255, 255, 0.1) !important;
|
||
}
|
||
|
||
.menu-entry {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
.menu-entry:hover:not(:disabled) {
|
||
background: #3a3a3a !important;
|
||
}
|
||
|
||
.menu-entry.active {
|
||
background: #3a3a3a !important;
|
||
}
|
||
|
||
.menu-entry .entry-arrow {
|
||
color: #a0a0a0 !important;
|
||
}
|
||
|
||
.submenu-label {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
/* 用户消息块 - 使用浅灰色 */
|
||
.user-message .message-text {
|
||
background: #2a2a2a;
|
||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
/* AI 消息块 - 使用浅灰色 */
|
||
.assistant-message .message-text {
|
||
background: #2a2a2a;
|
||
border-left-color: #505050;
|
||
}
|
||
|
||
/* 思考块和工具块 - 使用更深的颜色(类似选中状态) */
|
||
.thinking-block,
|
||
.tool-block,
|
||
.collapsible-block {
|
||
background: #1a1a1a;
|
||
}
|
||
|
||
.collapsible-header {
|
||
background: #1a1a1a;
|
||
}
|
||
|
||
.collapsible-header:hover {
|
||
background: #202020;
|
||
}
|
||
|
||
/* 代码块 - 代码区域纯黑底+白字 */
|
||
.code-block-wrapper {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.text-output pre {
|
||
background: #0a0a0a !important;
|
||
color: #ffffff;
|
||
}
|
||
|
||
.text-output pre code {
|
||
background: transparent !important;
|
||
color: #ffffff;
|
||
}
|
||
|
||
/* 滚动锁定按钮 */
|
||
.scroll-lock-btn {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.scroll-lock-btn:hover {
|
||
background: #353535;
|
||
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
|
||
}
|
||
|
||
.scroll-lock-toggle.locked .scroll-lock-btn {
|
||
border-color: rgba(255, 255, 255, 0.2);
|
||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
||
}
|
||
|
||
.scroll-lock-toggle.locked .scroll-lock-btn img {
|
||
filter: brightness(0) invert(1);
|
||
}
|
||
|
||
.scroll-lock-toggle.locked .scroll-lock-btn svg {
|
||
stroke: #ffffff;
|
||
}
|
||
|
||
/* 左侧面板头部(文件/待办事项/子智能体标签栏) */
|
||
.sidebar-header {
|
||
background: #1a1a1a;
|
||
}
|
||
|
||
/* 移动端审批面板 - 移除所有背景让内容顶头 */
|
||
.mobile-panel-sheet--approval .sidebar.right-sidebar {
|
||
background: transparent !important;
|
||
}
|
||
|
||
.mobile-panel-sheet--approval .sidebar-header,
|
||
.mobile-panel-sheet--approval .sidebar .sidebar-header {
|
||
background: transparent !important;
|
||
padding: 0 16px !important;
|
||
}
|
||
|
||
.sidebar-manage-btn {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.sidebar-manage-btn:hover {
|
||
background: #353535;
|
||
border-color: rgba(255, 255, 255, 0.15);
|
||
}
|
||
|
||
.sidebar-view-toggle {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.sidebar-view-toggle:hover {
|
||
background: #353535;
|
||
}
|
||
|
||
.panel-menu {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.panel-menu button.active {
|
||
background: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.todo-empty,
|
||
.sub-agent-empty,
|
||
.file-tree-empty {
|
||
background: #1a1a1a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.todo-task {
|
||
background: #2a2a2a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.folder-header,
|
||
.file-node {
|
||
background: transparent;
|
||
}
|
||
|
||
.folder-header:hover {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
.file-node.file-leaf:hover {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
/* 聚焦文件面板 */
|
||
.file-tab {
|
||
background: #1a1a1a;
|
||
border-color: rgba(255, 255, 255, 0.1);
|
||
}
|
||
|
||
.tab-header {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
.file-content {
|
||
background: #0a0a0a;
|
||
}
|
||
|
||
.file-content code {
|
||
color: #ffffff;
|
||
}
|
||
|
||
.focus-close-btn {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
.focus-close-btn:hover {
|
||
background: #353535;
|
||
}
|
||
|
||
.approval-close-btn {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
.approval-close-btn:hover {
|
||
background: #353535;
|
||
}
|
||
|
||
/* 表格 */
|
||
.text-output .text-content table {
|
||
background: #2a2a2a;
|
||
}
|
||
|
||
.text-output .text-content thead {
|
||
background: #1a1a1a;
|
||
}
|
||
}
|
||
|
||
.tutorial-page {
|
||
display: flex;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.tutorial-intro-content {
|
||
width: 100%;
|
||
padding: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 16px;
|
||
}
|
||
|
||
.tutorial-intro-eyebrow {
|
||
margin: 0;
|
||
font-size: 12px;
|
||
color: var(--claude-text-tertiary);
|
||
letter-spacing: 0.06em;
|
||
}
|
||
|
||
.tutorial-intro-header h3 {
|
||
margin: 6px 0 8px;
|
||
font-size: 24px;
|
||
}
|
||
|
||
.tutorial-intro-desc,
|
||
.tutorial-intro-hint,
|
||
.tutorial-status-text,
|
||
.tutorial-feature-item p {
|
||
margin: 0;
|
||
color: var(--claude-text-secondary);
|
||
line-height: 1.55;
|
||
}
|
||
|
||
.tutorial-intro-features {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
.tutorial-feature-item {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: flex-start;
|
||
padding: 12px;
|
||
border: 1px solid var(--theme-control-border);
|
||
border-radius: 14px;
|
||
background: var(--theme-surface-strong);
|
||
}
|
||
|
||
.tutorial-feature-item h4 {
|
||
margin: 0 0 4px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.tutorial-feature-icon {
|
||
font-size: 18px;
|
||
}
|
||
|
||
.tutorial-status-badge {
|
||
display: inline-flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
border-radius: 999px;
|
||
padding: 6px 12px;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.tutorial-status-badge.success {
|
||
color: #fff;
|
||
background: linear-gradient(135deg, var(--claude-success), #4c8f5f);
|
||
}
|
||
|
||
.tutorial-intro-actions {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.tutorial-start-button {
|
||
align-self: flex-start;
|
||
border: none;
|
||
border-radius: 999px;
|
||
padding: 10px 20px;
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
color: #fff;
|
||
background: linear-gradient(135deg, var(--claude-accent), var(--claude-accent-strong));
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tutorial-start-button:hover {
|
||
transform: translateY(-1px);
|
||
box-shadow: var(--theme-shadow-soft);
|
||
}
|
||
|
||
.tutorial-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 3200;
|
||
pointer-events: auto;
|
||
touch-action: none;
|
||
}
|
||
|
||
.tutorial-click-blocker {
|
||
position: fixed;
|
||
inset: 0;
|
||
pointer-events: auto;
|
||
background: transparent;
|
||
z-index: 0;
|
||
}
|
||
|
||
.tutorial-mask {
|
||
position: fixed;
|
||
background: transparent;
|
||
pointer-events: auto;
|
||
z-index: 1;
|
||
}
|
||
|
||
.tutorial-highlight {
|
||
position: fixed;
|
||
border-radius: 12px;
|
||
border: 2px solid rgba(255, 255, 255, 0.98);
|
||
box-shadow:
|
||
0 0 0 1px rgba(0, 0, 0, 0.5),
|
||
0 10px 34px rgba(0, 0, 0, 0.35);
|
||
pointer-events: none;
|
||
z-index: 2;
|
||
}
|
||
|
||
.tutorial-click-effect {
|
||
position: fixed;
|
||
width: 18px;
|
||
height: 18px;
|
||
border-radius: 50%;
|
||
border: 2px solid rgba(47, 129, 247, 0.9);
|
||
pointer-events: none;
|
||
z-index: 3;
|
||
animation: tutorialClickPulse 0.45s ease;
|
||
}
|
||
|
||
@keyframes tutorialClickPulse {
|
||
0% {
|
||
opacity: 1;
|
||
transform: scale(0.6);
|
||
}
|
||
100% {
|
||
opacity: 0;
|
||
transform: scale(1.8);
|
||
}
|
||
}
|
||
|
||
.tutorial-popover {
|
||
position: fixed;
|
||
width: min(360px, calc(100vw - 24px));
|
||
border-radius: 14px;
|
||
border: 1px solid var(--theme-control-border-strong);
|
||
background: var(--theme-surface-card);
|
||
color: var(--claude-text);
|
||
box-shadow: var(--theme-shadow-strong);
|
||
padding: 14px 14px 12px;
|
||
pointer-events: auto;
|
||
z-index: 4;
|
||
}
|
||
|
||
.tutorial-popover.is-hidden {
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
}
|
||
|
||
.tutorial-popover__header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.tutorial-popover__step {
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.tutorial-popover__close {
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-soft);
|
||
color: var(--claude-text);
|
||
border-radius: 999px;
|
||
padding: 4px 10px;
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tutorial-popover__title {
|
||
margin: 0;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.tutorial-popover__desc {
|
||
margin: 8px 0 0;
|
||
font-size: 13px;
|
||
line-height: 1.58;
|
||
color: var(--claude-text-secondary);
|
||
}
|
||
|
||
.tutorial-popover__hint,
|
||
.tutorial-popover__warn {
|
||
margin: 10px 0 0;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.tutorial-popover__hint {
|
||
color: var(--claude-accent-strong);
|
||
}
|
||
|
||
.tutorial-popover__warn {
|
||
color: #dc6a53;
|
||
}
|
||
|
||
.tutorial-popover__actions {
|
||
margin-top: 12px;
|
||
display: flex;
|
||
gap: 8px;
|
||
justify-content: flex-end;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.tutorial-btn {
|
||
border: none;
|
||
border-radius: 10px;
|
||
padding: 7px 12px;
|
||
font-size: 12px;
|
||
font-weight: 700;
|
||
color: #fff;
|
||
background: linear-gradient(135deg, var(--claude-accent), var(--claude-accent-strong));
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tutorial-btn:disabled {
|
||
opacity: 0.65;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.tutorial-btn--ghost {
|
||
color: var(--claude-text);
|
||
border: 1px solid var(--theme-control-border);
|
||
background: var(--theme-surface-soft);
|
||
}
|