You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1266 lines
24 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Pretendard:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
/* ============================================================
DESIGN TOKENS
============================================================ */
:root {
--color-bg: #09090b;
--color-surface: rgba(255, 255, 255, 0.04);
--color-surface-hover: rgba(255, 255, 255, 0.08);
--color-border: rgba(255, 255, 255, 0.08);
--color-border-strong: rgba(255, 255, 255, 0.16);
--color-text: #fafafa;
--color-text-muted: rgba(255, 255, 255, 0.45);
--color-text-subtle: rgba(255, 255, 255, 0.25);
--color-primary: #7c3aed;
--color-primary-hover: #6d28d9;
--color-primary-glow: rgba(124, 58, 237, 0.4);
--color-accent: #a78bfa;
--color-error: #ef4444;
--color-warning: #f59e0b;
--color-success: #10b981;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-xl: 24px;
--shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
--shadow-card: 0 4px 24px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.4);
--shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.8);
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
--font-sans: 'Pretendard', 'Inter', -apple-system, system-ui, sans-serif;
}
/* ============================================================
RESET & BASE
============================================================ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body, #root {
height: 100%;
overflow: hidden;
}
body {
font-family: var(--font-sans);
background: var(--color-bg);
color: var(--color-text);
-webkit-font-smoothing: antialiased;
user-select: none;
}
.app-root {
width: 100vw;
height: 100vh;
overflow: hidden;
position: relative;
}
/* ============================================================
URL INPUT SCREEN
============================================================ */
.url-input-screen {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
background:
radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.18) 0%, transparent 60%),
var(--color-bg);
overflow-y: auto;
padding: 40px 20px;
}
.url-input-container {
width: 100%;
max-width: 640px;
margin: auto 0;
display: flex;
flex-direction: column;
gap: 28px;
}
/* Hero */
.hero-section {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
}
.app-logo {
display: flex;
align-items: center;
gap: 12px;
font-size: 28px;
font-weight: 700;
letter-spacing: -0.5px;
}
.app-logo svg {
width: 48px;
height: 48px;
border-radius: 12px;
filter: drop-shadow(0 4px 16px rgba(124, 58, 237, 0.4));
}
.hero-subtitle {
color: var(--color-text-muted);
font-size: 14px;
line-height: 1.6;
}
/* URL Form */
.url-form {
display: flex;
flex-direction: column;
gap: 10px;
}
.input-row {
display: flex;
gap: 8px;
}
.url-field {
flex: 1;
height: 48px;
background: rgba(255, 255, 255, 0.06);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
color: var(--color-text);
font-family: var(--font-sans);
font-size: 14px;
padding: 0 16px;
outline: none;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.url-field:focus {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px var(--color-primary-glow);
background: rgba(255, 255, 255, 0.08);
}
.url-field::placeholder {
color: var(--color-text-subtle);
}
.load-btn {
height: 48px;
padding: 0 20px;
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
flex-shrink: 0;
}
/* Buttons */
.btn-primary {
background: linear-gradient(135deg, var(--color-primary), #4f46e5);
color: white;
border: none;
border-radius: var(--radius-md);
font-family: var(--font-sans);
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.btn-primary:hover:not(:disabled) {
background: linear-gradient(135deg, var(--color-primary-hover), #4338ca);
box-shadow: 0 4px 20px var(--color-primary-glow);
transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
transform: translateY(0);
}
.btn-primary:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.btn-ghost {
background: transparent;
border: 1px solid var(--color-border);
color: var(--color-text-muted);
border-radius: var(--radius-sm);
padding: 6px 12px;
font-family: var(--font-sans);
font-size: 13px;
cursor: pointer;
transition: all var(--transition-fast);
}
.btn-ghost:hover {
background: var(--color-surface-hover);
color: var(--color-text);
border-color: var(--color-border-strong);
}
.btn-ghost:disabled {
opacity: 0.35;
cursor: not-allowed;
}
.icon-btn {
padding: 6px;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
}
/* Spinner */
.spinner {
width: 18px;
height: 18px;
border: 2px solid rgba(255,255,255,0.3);
border-top-color: white;
border-radius: 50%;
animation: spin 0.7s linear infinite;
display: inline-block;
}
.loading-spinner-large {
width: 48px;
height: 48px;
border: 4px solid rgba(255,255,255,0.1);
border-top-color: var(--color-primary);
border-radius: 50%;
animation: spin 0.8s ease-in-out infinite;
margin-bottom: 24px;
}
.full-loading-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(8px);
z-index: 100;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: white;
animation: fadeIn var(--transition-fast);
}
.full-loading-overlay .loading-text {
font-size: 16px;
font-weight: 500;
letter-spacing: 0.5px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Error Banner */
.boundary-warning {
position: absolute;
top: 80px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.8);
color: white;
padding: 12px 24px;
border-radius: 8px;
font-size: 15px;
z-index: 90;
pointer-events: none;
animation: fadeIn var(--transition-fast);
}
.error-banner {
background: rgba(239, 68, 68, 0.1);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: var(--radius-md);
padding: 10px 14px;
font-size: 13px;
color: #fca5a5;
display: flex;
align-items: flex-start;
gap: 8px;
line-height: 1.5;
}
.error-banner.cf-blocked {
background: rgba(245, 158, 11, 0.1);
border-color: rgba(245, 158, 11, 0.3);
color: #fcd34d;
flex-wrap: wrap;
}
.error-banner svg {
flex-shrink: 0;
margin-top: 1px;
}
/* Navigation status toast (shown over the manga viewer during chapter turns,
so a failed/slow reload doesn't yank the reader back to the URL screen) */
.nav-status-toast {
position: fixed;
top: 16px;
left: 50%;
transform: translateX(-50%);
z-index: 50;
max-width: 420px;
width: calc(100% - 32px);
}
/* HTML Input Panel */
.html-input-panel {
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}
.html-input-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.html-input-header h3 {
font-size: 15px;
font-weight: 600;
}
.html-input-hint {
font-size: 12px;
color: var(--color-text-muted);
line-height: 1.6;
}
.html-textarea {
width: 100%;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
color: var(--color-text);
font-family: 'Courier New', monospace;
font-size: 12px;
padding: 10px;
resize: vertical;
outline: none;
transition: border-color var(--transition-fast);
}
.html-textarea:focus {
border-color: var(--color-primary);
}
kbd {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 4px;
padding: 1px 5px;
font-family: var(--font-sans);
font-size: 11px;
color: var(--color-text-muted);
}
/* History Section */
.history-section {
display: flex;
flex-direction: column;
gap: 8px;
}
.history-header {
display: flex;
align-items: center;
justify-content: space-between;
}
.history-title {
font-size: 12px;
font-weight: 600;
color: var(--color-text-subtle);
text-transform: uppercase;
letter-spacing: 0.08em;
}
.clear-history-btn {
font-size: 11px;
color: var(--color-text-subtle);
padding: 2px 6px;
border-radius: var(--radius-sm);
cursor: pointer;
}
.clear-history-btn:hover {
color: var(--color-danger, #ef4444);
}
.history-list {
display: flex;
flex-direction: column;
gap: 4px;
}
.history-item-wrapper {
display: flex;
align-items: center;
gap: 4px;
width: 100%;
}
.history-item-wrapper .history-item {
flex: 1;
}
.history-delete-btn {
background: transparent;
border: none;
color: var(--color-text-subtle);
font-size: 13px;
padding: 8px;
border-radius: var(--radius-md);
cursor: pointer;
opacity: 0.4;
transition: all var(--transition-fast);
}
.history-item-wrapper:hover .history-delete-btn {
opacity: 1;
}
.history-delete-btn:hover {
background: rgba(239, 68, 68, 0.15);
color: var(--color-danger, #ef4444);
}
.history-item {
background: transparent;
border: 1px solid transparent;
border-radius: var(--radius-md);
padding: 8px 12px;
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
transition: all var(--transition-fast);
text-align: left;
color: var(--color-text-muted);
}
.history-item:hover {
background: var(--color-surface-hover);
border-color: var(--color-border);
color: var(--color-text);
}
.history-info {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
}
.history-title-row {
display: flex;
align-items: center;
gap: 6px;
overflow: hidden;
}
.history-manga-title {
font-size: 13px;
font-weight: 600;
color: var(--color-text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-url-sub {
font-size: 11px;
color: var(--color-text-subtle);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Toolbar Title and Episode Badge */
.toolbar-title-container {
display: flex;
align-items: center;
gap: 8px;
max-width: 360px;
min-width: 0;
}
.toolbar-title-name {
font-size: 13px;
font-weight: 600;
color: var(--color-text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.episode-badge {
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #ffffff;
font-size: 11px;
font-weight: 700;
padding: 2px 7px;
border-radius: 12px;
white-space: nowrap;
flex-shrink: 0;
box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}
.episode-badge.sm {
font-size: 10px;
padding: 1px 6px;
}
/* Chapter Transition Toast */
.chapter-toast {
position: absolute;
top: 24px;
left: 50%;
transform: translateX(-50%);
z-index: 100;
background: rgba(15, 15, 20, 0.88);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
padding: 10px 18px;
border-radius: 30px;
display: flex;
align-items: center;
gap: 10px;
pointer-events: none;
animation: toastFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.chapter-toast.warning-toast {
border-color: rgba(245, 158, 11, 0.4);
background: rgba(30, 25, 15, 0.92);
}
.toast-warning-text {
color: #fbbf24;
font-size: 14px;
font-weight: 600;
}
.toast-badge {
background: linear-gradient(135deg, #7c3aed, #4f46e5);
color: #fff;
font-size: 12px;
font-weight: 700;
padding: 3px 9px;
border-radius: 12px;
white-space: nowrap;
}
.toast-title {
color: #f3f4f6;
font-size: 14px;
font-weight: 600;
max-width: 320px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@keyframes toastFadeIn {
from {
opacity: 0;
transform: translate(-50%, -12px) scale(0.95);
}
to {
opacity: 1;
transform: translate(-50%, 0) scale(1);
}
}
.history-url {
flex: 1;
font-size: 13px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.history-time {
font-size: 11px;
color: var(--color-text-subtle);
white-space: nowrap;
flex-shrink: 0;
}
/* Keyboard hints */
.keyboard-hints {
display: flex;
justify-content: center;
gap: 20px;
color: var(--color-text-subtle);
font-size: 11px;
}
.keyboard-hints span {
display: flex;
align-items: center;
gap: 4px;
}
/* ============================================================
MANGA VIEWER
============================================================ */
.manga-viewer {
width: 100vw;
height: 100vh;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
cursor: none; /* hide cursor during reading */
}
.manga-viewer:hover {
cursor: default;
}
/* Page stage */
.viewer-stage {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
}
.spread-mode {
gap: 0;
}
.spread-mode .manga-page:first-child {
justify-content: flex-end;
}
.spread-mode .manga-page:last-child {
justify-content: flex-start;
}
.single-mode {
gap: 0;
}
/* Individual manga page */
.manga-page {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
overflow: hidden;
flex-shrink: 0;
}
.manga-page.fit-width {
width: 50%;
max-width: 50vw;
}
.single-mode .manga-page.fit-width {
width: 100%;
max-width: 90vw;
}
.manga-page.fit-height {
height: 100vh;
}
.manga-page.fit-original {
overflow: auto;
max-width: 50vw;
max-height: 100vh;
}
.single-mode .manga-page.fit-original {
max-width: 100vw;
}
.manga-page img {
object-fit: contain;
display: block;
pointer-events: none;
}
/* Allow Upscale Mode (Default: stretch to fill container) */
.manga-page.allow-upscale.fit-width img {
width: 100%;
height: auto;
max-width: none;
max-height: none;
}
.manga-page.allow-upscale.fit-height img {
height: 100%;
width: auto;
max-width: none;
max-height: none;
}
/* No Upscale Mode (Limit max dimensions to native image size) */
.manga-page.no-upscale.fit-width img {
width: auto;
max-width: 100%;
height: auto;
max-height: 100%;
}
.manga-page.no-upscale.fit-height img {
height: auto;
max-height: 100%;
width: auto;
max-width: 100%;
}
/* Page loading / error states */
.page-placeholder,
.page-error {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
min-height: 200px;
min-width: 200px;
color: var(--color-text-muted);
font-size: 13px;
}
.page-spinner {
animation: spin 1s linear infinite;
}
.page-spinner svg {
width: 40px;
height: 40px;
}
.spin {
animation: spin 1s linear infinite;
}
/* Click zones (invisible overlay) */
.click-zones {
position: absolute;
inset: 0;
display: flex;
pointer-events: none;
z-index: 2;
}
.zone {
flex: 1;
height: 100%;
}
/* Progress bar */
.progress-bar-container {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 2px;
background: rgba(255, 255, 255, 0.08);
z-index: 10;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
transition: width var(--transition-smooth);
border-radius: 0 2px 2px 0;
}
/* ============================================================
VIEWER TOOLBAR
============================================================ */
.viewer-toolbar {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 20;
display: flex;
align-items: center;
gap: 8px;
padding: 0 16px;
height: 56px;
background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, transparent 100%);
backdrop-filter: blur(8px);
transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}
.toolbar-visible {
opacity: 1;
transform: translateY(0);
}
.toolbar-hidden {
opacity: 0;
transform: translateY(-100%);
pointer-events: none;
}
.toolbar-left,
.toolbar-right {
display: flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
}
.toolbar-center {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-width: 0;
}
.toolbar-title {
font-size: 13px;
font-weight: 600;
color: var(--color-text);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 300px;
}
.page-indicator {
font-size: 11px;
color: var(--color-text-muted);
font-variant-numeric: tabular-nums;
}
/* Toolbar buttons */
.toolbar-btn {
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--color-text);
border-radius: var(--radius-sm);
width: 34px;
height: 34px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all var(--transition-fast);
flex-shrink: 0;
}
.toolbar-btn:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.2);
}
.toolbar-btn:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.chapter-nav-btn {
width: auto;
padding: 0 10px;
font-size: 12px;
font-weight: 500;
gap: 4px;
}
/* Toggle groups */
.toggle-group {
display: flex;
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
overflow: hidden;
}
.toggle-btn {
background: transparent;
border: none;
color: var(--color-text-muted);
padding: 6px 10px;
font-family: var(--font-sans);
font-size: 11px;
font-weight: 600;
cursor: pointer;
transition: all var(--transition-fast);
display: flex;
align-items: center;
justify-content: center;
min-width: 34px;
height: 34px;
}
.toggle-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: var(--color-text);
}
.toggle-btn.active {
background: var(--color-primary);
color: white;
}
/* Side navigation buttons */
.page-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 20;
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.15);
color: white;
width: 40px;
height: 72px;
border-radius: var(--radius-md);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all var(--transition-fast);
backdrop-filter: blur(8px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.page-nav-btn svg {
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.page-nav-prev {
left: 12px;
}
.page-nav-next {
right: 12px;
}
.page-nav-btn:hover:not(:disabled) {
background: rgba(0, 0, 0, 0.6);
border-color: rgba(255, 255, 255, 0.3);
transform: translateY(-50%) scale(1.05);
}
.page-nav-btn.disabled,
.page-nav-btn:disabled {
opacity: 0.2;
cursor: not-allowed;
}
/* ============================================================
SETTINGS PANEL
============================================================ */
.settings-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(4px);
z-index: 50;
display: flex;
align-items: center;
justify-content: flex-end;
animation: fadeIn var(--transition-smooth);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.settings-panel {
width: 360px;
height: 100%;
background: #111113;
border-left: 1px solid var(--color-border);
display: flex;
flex-direction: column;
overflow-y: auto;
box-shadow: var(--shadow-panel);
animation: slideIn var(--transition-smooth);
}
@keyframes slideIn {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
.settings-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 20px 16px;
border-bottom: 1px solid var(--color-border);
position: sticky;
top: 0;
background: #111113;
z-index: 1;
}
.settings-header h2 {
font-size: 16px;
font-weight: 700;
}
.settings-body {
padding: 16px 20px;
display: flex;
flex-direction: column;
gap: 24px;
flex: 1;
}
.settings-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.settings-label {
font-size: 12px;
font-weight: 600;
color: var(--color-text-muted);
text-transform: uppercase;
letter-spacing: 0.07em;
display: flex;
align-items: center;
gap: 4px;
}
.settings-hint {
font-weight: 400;
text-transform: none;
letter-spacing: 0;
color: var(--color-accent);
}
.settings-desc {
font-size: 12px;
color: var(--color-text-subtle);
line-height: 1.6;
}
/* Option Cards */
.option-grid {
display: grid;
gap: 8px;
}
.option-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.option-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.option-card {
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
padding: 12px 8px;
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
cursor: pointer;
transition: all var(--transition-fast);
color: var(--color-text-muted);
}
.option-card svg {
width: 40px;
height: 40px;
}
.option-card span {
font-size: 13px;
font-weight: 600;
color: var(--color-text);
}
.option-card small {
font-size: 11px;
color: var(--color-text-muted);
}
.option-card.compact {
padding: 10px 8px;
gap: 4px;
}
.option-card.compact svg {
display: none;
}
.option-card:hover {
background: rgba(255, 255, 255, 0.08);
border-color: var(--color-border-strong);
color: var(--color-text);
}
.option-card.selected {
background: rgba(124, 58, 237, 0.15);
border-color: var(--color-primary);
color: var(--color-primary);
}
.option-card.selected span {
color: var(--color-accent);
}
/* Offset control */
.offset-control {
display: flex;
align-items: center;
gap: 8px;
}
.offset-slider {
flex: 1;
-webkit-appearance: none;
appearance: none;
height: 4px;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
outline: none;
cursor: pointer;
}
.offset-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 18px;
height: 18px;
background: var(--color-primary);
border-radius: 50%;
cursor: pointer;
box-shadow: 0 0 8px var(--color-primary-glow);
transition: transform var(--transition-fast);
}
.offset-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
.offset-value {
font-size: 13px;
font-weight: 600;
color: var(--color-accent);
min-width: 28px;
text-align: right;
}
/* Color swatches */
.color-options {
display: flex;
gap: 12px;
}
.color-swatch {
width: 40px;
height: 40px;
border-radius: 50%;
border: 2px solid transparent;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-fast);
}
.color-swatch:hover {
transform: scale(1.1);
}
.color-swatch.selected {
border-color: var(--color-primary);
box-shadow: 0 0 0 3px var(--color-primary-glow);
}
/* Settings footer (shortcuts) */
.settings-footer {
border-top: 1px solid var(--color-border);
padding: 16px 20px 24px;
display: flex;
flex-direction: column;
gap: 12px;
}
.shortcuts-title {
font-size: 12px;
font-weight: 600;
color: var(--color-text-subtle);
text-transform: uppercase;
letter-spacing: 0.07em;
}
.shortcuts-grid {
display: grid;
grid-template-columns: auto 1fr;
gap: 6px 16px;
font-size: 12px;
color: var(--color-text-muted);
}
.shortcuts-grid kbd {
font-size: 11px;
}
/* ============================================================
SCROLLBAR
============================================================ */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.25);
}