- {detectingCuts ? "Detecting camera switchesβ¦" : cuts.length ? `${cuts.length} camera switch${cuts.length > 1 ? "es" : ""} detected β a keyframe near one snaps to it` : "No camera switches detected"}
+ {detectingCuts ? "Detecting camera switchesβ¦" : cuts.length ? `${cuts.length} camera switch${cuts.length > 1 ? "es" : ""} detected. A keyframe near one snaps to it.` : "No camera switches detected"}
-
π¬
-
diff --git a/src/ui/client/ThumbnailTemplate.tsx b/src/ui/client/ThumbnailTemplate.tsx
index 74fa22e..6938fd7 100644
--- a/src/ui/client/ThumbnailTemplate.tsx
+++ b/src/ui/client/ThumbnailTemplate.tsx
@@ -17,13 +17,13 @@ const GROUPS: { group: string; items: Field[] }[] = [
{ k: "box_width", t: "text" }, { k: "box_min_height", t: "text" },
{ k: "box_border_width", t: "num" }, { k: "box_fill_color", t: "color" }, { k: "box_padding", t: "text" },
]},
- { group: "Headline β line 1", items: [
+ { group: "Headline: line 1", items: [
{ k: "text_color", t: "color" }, { k: "line1_color", t: "color" },
{ k: "line1_font_size", t: "text" }, { k: "line1_font_weight", t: "num" },
{ k: "line1_letter_spacing", t: "text" }, { k: "line1_line_height", t: "num" },
{ k: "line1_margin_bottom", t: "text" }, { k: "line1_uppercase", t: "bool" }, { k: "line1_nowrap", t: "bool" },
]},
- { group: "Highlight β line 2", items: [
+ { group: "Highlight: line 2", items: [
{ k: "accent_color", t: "color" }, { k: "line2_text_color", t: "color" },
{ k: "line2_font_size", t: "text" }, { k: "line2_font_weight", t: "num" },
{ k: "line2_font_style", t: "select", opts: ["italic", "normal"] },
@@ -73,7 +73,7 @@ export default function ThumbnailTemplate() {
try {
const r = await api("/thumbnail-config", { method: "PUT", body: JSON.stringify(cfg) });
if (r.error) throw new Error(r.error);
- setMsg("Saved β new thumbnails use this template");
+ setMsg("Saved. New thumbnails use this template");
} catch (e: any) { setMsg(`Save failed: ${e.message}`); } finally { setBusy(null); }
};
@@ -93,7 +93,7 @@ export default function ThumbnailTemplate() {
const r = await api("/thumbnail-config", { method: "PUT", body: JSON.stringify(parsed) });
if (r.error) throw new Error(r.error);
await load();
- setMsg("Imported β new thumbnails use this template");
+ setMsg("Imported. New thumbnails use this template");
} catch (e: any) { setMsg(`Import failed: ${e.message}`); } finally { setBusy(null); }
};
diff --git a/src/ui/client/index.html b/src/ui/client/index.html
index 2713439..163016a 100644
--- a/src/ui/client/index.html
+++ b/src/ui/client/index.html
@@ -4,7 +4,7 @@
-
Podcli β AI Podcast Clip Studio
+
Podcli - AI podcast clip studio
diff --git a/src/ui/public/css/styles.css b/src/ui/public/css/styles.css
index c96cca1..5e35d5e 100644
--- a/src/ui/public/css/styles.css
+++ b/src/ui/public/css/styles.css
@@ -36,7 +36,7 @@
--radius-sm: 8px;
--radius-lg: 16px;
--ease: cubic-bezier(0.4, 0, 0.2, 1);
- --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
+ --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
--font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
@@ -48,11 +48,17 @@ body {
font-family: var(--font-sans);
background: var(--bg); color: var(--text); min-height: 100vh;
-webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #000; }
+:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
+
/* βββ Landing patterns: glass surfaces βββ */
.glass {
background: var(--glass-bg);
@@ -72,11 +78,11 @@ body {
.img-outline { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
/* βββ Layout βββ */
-.app { max-width: 1080px; margin: 0 auto; padding: 48px 32px 96px; }
+.app { max-width: 1080px; margin: 0 auto; padding: 48px 32px 96px; background: #0D0B0D; }
.header { margin-bottom: 36px; }
.logo { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; color: var(--text3); margin-bottom: 10px; text-transform: uppercase; text-decoration: none; }
.logo span { color: var(--accent); }
-h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.15; }
+h1 { font-size: 28px; font-weight: 700; letter-spacing: 0; line-height: 1.15; }
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.main-col { min-width: 0; }
.preview-col { position: relative; }
@@ -131,10 +137,12 @@ h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1
display: flex; flex-direction: column; align-items: center;
padding: 0 20px; text-align: center;
font-family: Arial, Helvetica, sans-serif;
- line-height: 1.35; transition: all 0.3s var(--ease);
+ line-height: 1.35;
+ transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.style-preview .sp-word {
- display: inline; transition: all 0.25s var(--ease);
+ display: inline;
+ transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.style-preview .sp-logo {
position: absolute; top: 14px; left: 14px;
@@ -166,7 +174,7 @@ h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1
padding: 5px 10px; background: var(--surface);
border: 1px solid var(--border); border-radius: 8px;
font-size: 11px; color: var(--text2); font-weight: 500;
- transition: all 0.2s var(--ease);
+ transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.preview-tag strong { color: var(--text); font-weight: 600; text-transform: capitalize; }
.preview-tag.changed { border-color: var(--accent); background: var(--accent-subtle); }
@@ -196,12 +204,14 @@ h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.1
display: flex; flex-direction: column; align-items: center;
padding: 0 8px; text-align: center; pointer-events: none;
font-family: Arial, Helvetica, sans-serif; line-height: 1.3;
- z-index: 2; transition: all 0.2s var(--ease);
+ z-index: 2;
+ transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), bottom 0.2s var(--ease), top 0.2s var(--ease);
max-height: 32%; /* never grow beyond the lower-third caption zone */
overflow: hidden;
}
.phone-frame .phone-caption .pc-word {
- display: inline; transition: all 0.2s var(--ease);
+ display: inline;
+ transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.phone-frame .phone-gradient {
position: absolute; inset: auto 0 0 0; height: 50%;
@@ -403,6 +413,14 @@ input[type="text"], input[type="number"], input[type="password"], select, textar
input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle);
}
+input[type="text"]:focus-visible,
+input[type="number"]:focus-visible,
+input[type="password"]:focus-visible,
+select:focus-visible,
+textarea:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
textarea {
font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
font-size: 12px; resize: vertical; min-height: 120px; line-height: 1.7;
@@ -432,18 +450,18 @@ select {
.btn-primary:disabled { opacity: 0.25; cursor: not-allowed; }
.btn-ghost {
background: var(--surface3); color: var(--text);
- box-shadow: 0 4px 0 0 var(--bg), 0 9px 16px -7px rgba(0, 0, 0, 0.7),
- 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.10);
+ box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9,
+ 0 0 0 1px #ffffff14, inset 0 1px #ffffff24;
}
.btn-ghost:hover:not(:disabled) { background: #2c2c34; }
.btn-ghost:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-danger {
background: var(--surface3); color: var(--text2);
- box-shadow: 0 4px 0 0 var(--bg), 0 9px 16px -7px rgba(0, 0, 0, 0.7),
- 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.10);
+ box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9,
+ 0 0 0 1px #ffffff14, inset 0 1px #ffffff24;
}
-.btn-danger:hover:not(:disabled) { color: var(--red); box-shadow: 0 4px 0 0 var(--bg), 0 9px 16px -7px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--red-border), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
+.btn-danger:hover:not(:disabled) { color: var(--red); box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9, 0 0 0 1px var(--red-border), inset 0 1px #ffffff24; }
.btn-danger:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 1px var(--red-border), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.btn-danger:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: var(--radius-sm); }
@@ -472,7 +490,8 @@ select {
.drop-zone {
border: 1.5px dashed var(--border); border-radius: var(--radius);
padding: 32px 20px; text-align: center; cursor: pointer;
- transition: all 0.2s var(--ease); position: relative; overflow: hidden;
+ transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
+ position: relative; overflow: hidden;
}
.drop-zone:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.012); }
.drop-zone.drag-over { border-color: var(--accent); background: var(--accent-subtle); box-shadow: 0 0 0 4px var(--accent-subtle); }
@@ -502,7 +521,8 @@ select {
flex: 1; text-align: center; padding: 8px 12px;
border-radius: calc(var(--radius) - 3px); font-size: 13px;
font-weight: 600; color: var(--text2); cursor: pointer;
- transition: all 0.2s var(--ease); user-select: none;
+ transition: background 0.2s var(--ease), color 0.2s var(--ease);
+ user-select: none;
}
.tab:hover:not(.active) { color: var(--text); }
.tab.active { background: var(--accent); color: #fff; }
@@ -527,7 +547,7 @@ select {
width: 18px; height: 18px; border-radius: 50%; border: none;
background: transparent; color: var(--text3); font-size: 14px;
cursor: pointer; flex-shrink: 0; padding: 0; line-height: 1;
- transition: all 0.15s var(--ease);
+ transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.asset-pill-x:hover { background: var(--surface); color: var(--red); }
.asset-add {
@@ -536,7 +556,7 @@ select {
border: 1px dashed var(--border); border-radius: 20px;
font-size: 12px; color: var(--text3); cursor: pointer;
font-family: inherit; font-weight: 500;
- transition: all 0.15s var(--ease);
+ transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.asset-add:hover:not(:disabled) { border-color: var(--border-hover); color: var(--text2); }
@@ -554,7 +574,7 @@ select {
display: block; width: 100%; text-align: left; padding: 6px 10px;
background: none; border: none; color: var(--text2); font-size: 12px;
font-family: inherit; cursor: pointer; border-radius: 6px;
- transition: all 0.1s var(--ease);
+ transition: background 0.1s var(--ease), color 0.1s var(--ease);
}
.overflow-menu-item:hover { background: var(--surface2); color: var(--text); }
@@ -571,7 +591,8 @@ select {
display: flex; align-items: center; gap: 12px;
padding: 12px 14px; margin-bottom: 4px;
background: var(--surface); border: 1px solid var(--border);
- border-radius: var(--radius); transition: all 0.15s var(--ease);
+ border-radius: var(--radius);
+ transition: border-color 0.15s var(--ease), background 0.15s var(--ease), opacity 0.15s var(--ease);
cursor: pointer;
}
.clip-item:hover { border-color: var(--border-hover); }
@@ -582,7 +603,9 @@ select {
width: 20px; height: 20px; border-radius: 6px;
border: 1.5px solid var(--border); display: flex;
align-items: center; justify-content: center;
- cursor: pointer; transition: all 0.15s var(--ease); flex-shrink: 0;
+ cursor: pointer;
+ transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
+ flex-shrink: 0;
}
.checkbox:hover { border-color: var(--accent); }
.checkbox.checked { background: var(--accent); border-color: var(--accent); }
@@ -631,9 +654,10 @@ select {
}
.mcp-hints-icon {
width: 20px; height: 20px; border-radius: 6px;
- background: linear-gradient(135deg, #7c5ae0 0%, #a855f7 100%);
+ background: var(--accent-subtle);
+ border: 1px solid var(--accent-glow);
display: flex; align-items: center; justify-content: center;
- font-size: 10px; color: #fff; font-weight: 800; flex-shrink: 0;
+ font-size: 10px; color: var(--accent); font-weight: 800; flex-shrink: 0;
}
.mcp-hints-title {
font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
@@ -649,7 +673,8 @@ select {
display: flex; align-items: center; gap: 10px;
padding: 9px 12px; background: var(--bg);
border: 1px solid var(--border); border-radius: var(--radius-sm);
- cursor: pointer; transition: all 0.15s var(--ease);
+ cursor: pointer;
+ transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease), opacity 0.15s var(--ease);
user-select: none;
}
.mcp-hint:hover {
@@ -671,7 +696,7 @@ select {
width: 24px; height: 24px; border-radius: 6px;
background: transparent; border: none; color: var(--text3);
cursor: pointer; flex-shrink: 0; font-size: 12px;
- transition: all 0.15s var(--ease);
+ transition: background 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease-out);
}
.mcp-hint-copy:hover { background: var(--surface2); color: var(--text); }
.mcp-hint-category {
@@ -691,7 +716,7 @@ select {
font-size: 13px; font-weight: 600; color: var(--text2);
text-decoration: none; padding: 6px 14px;
border-radius: var(--radius-sm); border: 1px solid var(--border);
- transition: all 0.15s var(--ease);
+ transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-link:hover { border-color: var(--border-hover); color: var(--text); }
.subtitle { font-size: 14px; color: var(--text2); margin-top: 8px; line-height: 1.6; }
@@ -704,11 +729,13 @@ select {
border-radius: var(--radius-sm);
font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text2);
}
+.knowledge-drop-zone { margin-bottom: 10px; }
.file-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.file-card {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius); padding: 16px; cursor: pointer;
- transition: all 0.15s var(--ease); position: relative;
+ transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
+ position: relative;
}
.file-card:hover { border-color: var(--border-hover); }
.file-card.active { border-color: var(--accent); background: var(--accent-subtle); }
@@ -722,13 +749,17 @@ select {
.file-delete {
position: absolute; top: 10px; right: 10px;
width: 22px; height: 22px; border-radius: 6px;
- background: transparent; border: 1px solid transparent;
+ background: var(--surface3); border: 0;
color: var(--text3); cursor: pointer; font-size: 13px;
display: flex; align-items: center; justify-content: center;
- transition: all 0.15s var(--ease); opacity: 0;
+ box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9,
+ 0 0 0 1px #ffffff14, inset 0 1px #ffffff24;
+ transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), background 0.15s var(--ease), color 0.15s var(--ease), opacity 0.15s var(--ease);
+ opacity: 0;
}
.file-card:hover .file-delete { opacity: 1; }
-.file-delete:hover { border-color: var(--red-border); color: var(--red); background: var(--red-subtle); }
+.file-delete:hover { color: var(--red); background: var(--red-subtle); box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9, 0 0 0 1px var(--red-border), inset 0 1px #ffffff24; }
+.file-delete:active { transform: translateY(4px); box-shadow: 0 0 0 1px var(--red-border), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.editor-panel {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius); overflow: hidden; margin-top: 20px;
@@ -758,6 +789,11 @@ select {
outline: none;
}
.new-file-input:focus { border-color: var(--accent); }
+.new-file-input:focus-visible,
+.editor-textarea:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+}
.new-file-input::placeholder { color: var(--text3); }
.toast {
position: fixed; bottom: 24px; right: 24px;
@@ -807,13 +843,93 @@ select {
}
.code-filename { font-size: 11px; font-weight: 600; color: var(--text2); font-family: 'JetBrains Mono', monospace; }
.copy-btn {
+ position: relative; overflow: hidden;
padding: 4px 10px; font-size: 11px; font-weight: 600;
font-family: inherit; color: var(--text2); background: transparent;
border: 1px solid var(--border); border-radius: 6px; cursor: pointer;
- transition: all 0.15s var(--ease);
+ min-width: 70px;
+ transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease-out);
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
-.copy-btn.copied { border-color: var(--green); color: var(--green); }
+.copy-button {
+ position: relative; overflow: hidden;
+ --copy-text-dur: 150ms;
+ --copy-text-y: 4px;
+ --copy-text-blur: 2px;
+ --copy-icon-dur: 250ms;
+ --copy-icon-scale: 0.25;
+ --copy-swap-ease: ease-in-out;
+}
+.btn.copy-button {
+ min-width: 76px;
+}
+.copy-button-layer {
+ display: inline-flex; align-items: center; justify-content: center; gap: 5px;
+ transition:
+ opacity var(--copy-text-dur) var(--copy-swap-ease),
+ transform var(--copy-text-dur) var(--copy-swap-ease),
+ filter var(--copy-text-dur) var(--copy-swap-ease);
+}
+.copy-button-success {
+ position: absolute; inset: 0;
+ opacity: 0; transform: translateY(var(--copy-text-y)); filter: blur(var(--copy-text-blur));
+}
+.copy-button.is-copied {
+ border-color: var(--green-border); color: var(--green);
+}
+.copy-button.is-copied .copy-button-idle {
+ opacity: 0; transform: translateY(calc(var(--copy-text-y) * -1)); filter: blur(var(--copy-text-blur));
+}
+.copy-button.is-copied .copy-button-success {
+ opacity: 1; transform: translateY(0); filter: blur(0);
+}
+.copy-button-icon {
+ width: 13px; height: 13px; flex-shrink: 0;
+ stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
+ transition:
+ opacity var(--copy-icon-dur) var(--copy-swap-ease),
+ transform var(--copy-icon-dur) var(--copy-swap-ease),
+ filter var(--copy-icon-dur) var(--copy-swap-ease);
+}
+.copy-button-success .copy-button-icon {
+ opacity: 0;
+ transform: scale(var(--copy-icon-scale));
+ filter: blur(var(--copy-text-blur));
+}
+.copy-button.is-copied .copy-button-idle .copy-button-icon {
+ opacity: 0;
+ transform: scale(var(--copy-icon-scale));
+ filter: blur(var(--copy-text-blur));
+}
+.copy-button.is-copied .copy-button-success .copy-button-icon {
+ opacity: 1;
+ transform: scale(1);
+ filter: blur(0);
+}
+.copy-button.is-icon-only {
+ min-width: 0; padding: 0;
+}
+.copy-button.is-icon-only .copy-button-layer {
+ width: 100%; height: 100%;
+}
+.copy-button.is-icon-only .copy-button-success {
+ display: flex;
+}
+@media (prefers-reduced-motion: reduce) {
+ .copy-button-layer,
+ .copy-button-icon {
+ transition: opacity 120ms var(--ease);
+ transform: none;
+ filter: none;
+ }
+ .copy-button-success,
+ .copy-button.is-copied .copy-button-idle,
+ .copy-button-success .copy-button-icon,
+ .copy-button.is-copied .copy-button-idle .copy-button-icon {
+ transform: none;
+ filter: none;
+ }
+}
pre {
padding: 16px; overflow-x: auto; font-family: 'JetBrains Mono', monospace;
font-size: 12.5px; line-height: 1.7; color: var(--text); tab-size: 2;
@@ -895,7 +1011,8 @@ pre .punct { color: var(--text2); }
width: 36px; height: 20px; border-radius: 10px;
background: var(--surface2); border: 1px solid var(--border);
cursor: pointer; position: relative;
- transition: all 0.2s var(--ease); flex-shrink: 0;
+ transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
+ flex-shrink: 0;
}
.toggle.on {
background: var(--accent); border-color: var(--accent);
@@ -916,6 +1033,10 @@ input[type="range"] {
background: var(--surface2); outline: none;
cursor: pointer;
}
+input[type="range"]:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 6px;
+}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; appearance: none;
width: 14px; height: 14px; border-radius: 50%;
@@ -985,7 +1106,7 @@ input[type="range"]::-webkit-slider-thumb {
border: 1px solid var(--border); border-radius: var(--radius-sm);
font-size: 11px; font-weight: 600; color: var(--text2);
cursor: pointer; font-family: inherit;
- transition: all 0.15s var(--ease);
+ transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.energy-btn:hover:not(:disabled) { border-color: var(--border-hover); color: var(--text); }
.energy-btn:disabled { opacity: 0.4; cursor: not-allowed; }
@@ -1060,9 +1181,10 @@ input[type="range"]::-webkit-slider-thumb {
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.clip-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.12s, transform 0.12s; }
.clip-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
-.clip-card-del { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; padding: 0; display: flex; align-items: center; justify-content: center; border: none; border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.55); color: #fff; cursor: pointer; opacity: 0; transition: opacity 0.12s var(--ease), background 0.12s var(--ease); }
+.clip-card-del { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; padding: 0; display: flex; align-items: center; justify-content: center; border: none; border-radius: var(--radius-sm); background: var(--surface3); color: #fff; cursor: pointer; opacity: 0; box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9, 0 0 0 1px #ffffff14, inset 0 1px #ffffff24; transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out), opacity 0.12s var(--ease), background 0.12s var(--ease), color 0.12s var(--ease); }
.clip-card:hover .clip-card-del { opacity: 1; }
-.clip-card-del:hover:not(:disabled) { background: var(--red); }
+.clip-card-del:hover:not(:disabled) { background: var(--red-subtle); color: var(--red); box-shadow: 0 5px #1a1a1f, 0 11px 18px -5px #000000d9, 0 0 0 1px var(--red-border), inset 0 1px #ffffff24; }
+.clip-card-del:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 1px var(--red-border), inset 0 1px 0 rgba(255, 255, 255, 0.10); }
.clip-card-del:disabled { opacity: 0.4; cursor: default; }
.clip-card-media { aspect-ratio: 9 / 16; width: 100%; display: block; object-fit: cover; background: #000; }
.clip-card-media.empty { display: flex; align-items: center; justify-content: center; color: var(--text3); font-size: 22px; }
@@ -1143,13 +1265,16 @@ input[type="range"]::-webkit-slider-thumb {
.thumb-variation { transition: border-color 0.15s var(--ease), transform 0.12s var(--ease); }
.thumb-variation:hover { transform: translateY(-2px); }
.thumb-stage img, .clip-card-media { transition: opacity 0.3s var(--ease); }
- .sidebar-link { transition: background 0.14s var(--ease), color 0.14s var(--ease), padding-left 0.14s var(--ease); }
- .sidebar-link:hover { padding-left: 15px; }
+ .sidebar-link { transition: background 0.14s var(--ease), color 0.14s var(--ease), transform 0.14s var(--ease); }
+ .sidebar-link:hover { transform: translateX(2px); }
.set-note { animation: riseIn 0.25s var(--ease) both; }
}
/* ββ Polish: balanced headings, image outlines, tabular figures ββ */
h1, h2, h3 { text-wrap: balance; }
+p, li, figcaption, blockquote, .subtitle, .file-preview, .card-desc, .int-row .desc, .set-note, .empty-state {
+ text-wrap: pretty;
+}
.clip-card-media, .thumb-stage img, .thumb-variation img { outline: 1px solid rgba(255, 255, 255, 0.1); outline-offset: -1px; }
.clip-card-meta, .clip-meta span, .clip-card-title { font-variant-numeric: tabular-nums; }