:root { --radius-xs: 8px; --radius-sm: 12px; --radius: 16px; --radius-lg: 24px; --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1); --font-ui: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-mono: 'JetBrains Mono', monospace; --font-hand: 'Caveat', cursive; } :root, body.theme-midnight { --bg: #0a0a0c; --bg-alt: #0f0f13; --surface: #141418; --surface-alt: #1a1a20; --border: rgba(255, 255, 255, 0.08); --border-hover: rgba(255, 255, 255, 0.2); --text-primary: #ffffff; --text-secondary: #a1a1aa; --text-muted: #71717a; --teal: #3b82f6; --teal-light: #60a5fa; --teal-xlight: rgba(59, 130, 246, 0.15); --teal-dark: #2563eb; --teal-glow: rgba(59, 130, 246, 0.2); --folder-amber: #eab308; --folder-bg: rgba(234, 179, 8, 0.1); --icon-fill: rgba(255, 255, 255, 0.04); --icon-stroke: rgba(255, 255, 255, 0.7); --folder-fill: rgba(234, 179, 8, 0.18); --folder-shade: rgba(234, 179, 8, 0.32); --folder-stroke: rgba(234, 179, 8, 0.7); --code-tag: rgba(255, 255, 255, 0.85); --nav-bg: rgba(10, 10, 12, 0.85); --skeleton-shine: rgba(255, 255, 255, 0.04); --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.5); --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5); --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.7); --shadow-teal: 0 8px 24px rgba(59, 130, 246, 0.25); color-scheme: dark; } body.theme-ivory { --bg: #F8FAFC; --bg-alt: #F1F5F9; --surface: #FFFFFF; --surface-alt: #E2E8F0; --border: rgba(15, 23, 42, 0.1); --border-hover: rgba(37, 99, 235, 0.4); --text-primary: #0F172A; --text-secondary: #475569; --text-muted: #94A3B8; --teal: #2563EB; --teal-light: #3B82F6; --teal-xlight: rgba(37, 99, 235, 0.1); --teal-dark: #1D4ED8; --teal-glow: rgba(37, 99, 235, 0.15); --folder-amber: #D97706; --folder-bg: rgba(217, 119, 6, 0.1); --icon-fill: #FFFFFF; --icon-stroke: #475569; --folder-fill: rgba(217, 119, 6, 0.14); --folder-shade: rgba(217, 119, 6, 0.28); --folder-stroke: #D97706; --code-tag: #FFFFFF; --nav-bg: rgba(248, 250, 252, 0.95); --skeleton-shine: rgba(15, 23, 42, 0.04); --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.06); --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08); --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.1); --shadow-teal: 0 8px 24px rgba(37, 99, 235, 0.2); color-scheme: light; } body.theme-forest { --bg: #040907; --bg-alt: #0a1410; --surface: #0f2019; --surface-alt: #163026; --border: rgba(255, 255, 255, 0.08); --border-hover: rgba(16, 185, 129, 0.35); --text-primary: #ecfdf5; --text-secondary: #a7f3d0; --text-muted: #3d5f50; --teal: #10b981; --teal-light: #34d399; --teal-xlight: rgba(16, 185, 129, 0.12); --teal-dark: #059669; --teal-glow: rgba(16, 185, 129, 0.2); --folder-amber: #fbbf24; --folder-bg: rgba(251, 191, 36, 0.08); --icon-fill: rgba(255, 255, 255, 0.03); --icon-stroke: rgba(167, 243, 208, 0.7); --folder-fill: rgba(251, 191, 36, 0.16); --folder-shade: rgba(251, 191, 36, 0.3); --folder-stroke: rgba(251, 191, 36, 0.8); --code-tag: rgba(167, 243, 208, 0.9); --nav-bg: rgba(4, 9, 7, 0.88); --skeleton-shine: rgba(255, 255, 255, 0.04); --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3); --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3); --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.45); --shadow-teal: 0 8px 24px rgba(16, 185, 129, 0.3); color-scheme: dark; } *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } :root { --header-height: 64px; } .global-ambient-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: var(--bg); transition: background var(--transition); } .global-orb { position: absolute; border-radius: 50%; filter: blur(120px); animation: au-drift 18s ease-in-out infinite alternate; } .global-orb-1 { width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; top: -20%; left: -10%; background: radial-gradient(circle, var(--teal-xlight), transparent 70%); } .global-orb-2 { width: 40vw; height: 40vw; max-width: 500px; max-height: 500px; bottom: -20%; right: -10%; background: radial-gradient(circle, var(--teal-light), transparent 70%); opacity: 0.4; animation-duration: 22s; animation-delay: -5s; } .global-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.12; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 90%); mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 20%, transparent 90%); } @keyframes au-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.15); } } html { scroll-behavior: smooth; } body { font-family: var(--font-ui); background: var(--bg); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; transition: background var(--transition), color var(--transition); } .nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: auto; max-width: 95%; z-index: 1000; background: var(--nav-bg); -webkit--webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1.5px solid var(--border); border-radius: 99px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); } body.scrolled .nav { top: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--teal-glow); border-color: var(--teal); } .nav-inner { padding: 0 8px 0 20px; height: 52px; display: flex; align-items: center; justify-content: center; gap: 16px; } .nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex-shrink: 0; transition: opacity var(--transition); } .nav-brand:hover { opacity: 0.85; } .nav-brand-title { font-size: 0.95rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; margin-left: 6px; white-space: nowrap; max-width: 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s; } body.scrolled .nav-brand-title, body.in-folder .nav-brand-title, body.page-dashboard .nav-brand-title { max-width: 150px; opacity: 1; visibility: visible; transform: translateY(0); transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); } .nav-brand-title span { background: linear-gradient(135deg, var(--folder-amber), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } .nav-logo-svg { width: 26px; height: 26px; color: var(--teal); } .nav-links-desktop { display: flex; align-items: center; gap: 16px; } .nav-link-item { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 700; white-space: nowrap; transition: color var(--transition), transform var(--transition); padding: 6px 12px; border-radius: var(--radius-xs); } .nav-link-item:hover { color: var(--teal); transform: translateY(-1px); } .nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; position: relative; } .theme-toggle-btn, .options-btn, .nav-icon-btn { background: transparent; border: none; color: var(--text-secondary); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .theme-toggle-btn:hover, .options-btn:hover, .nav-icon-btn:hover { color: var(--teal); background: var(--teal-xlight); } .nav-auth-btn { background: rgba(255, 255, 255, 0.03); color: var(--text-primary); border: 1px solid transparent; padding: 0 14px; height: 34px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } .nav-auth-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--teal-light); color: var(--teal-light); transform: translateY(-1px); } body.theme-ivory .nav-auth-btn { background: rgba(0, 0, 0, 0.03); color: var(--text-primary); } body.theme-ivory .nav-auth-btn:hover { background: rgba(0, 0, 0, 0.06); border-color: var(--teal); color: var(--teal); } .highlight-link { background: var(--teal-xlight); color: var(--teal) !important; border-radius: 6px; padding: 6px 12px; } .highlight-link:hover { background: var(--teal); color: #fff !important; } .nav-user-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--teal-xlight); color: var(--teal); text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; transition: opacity 0.2s, background 0.2s, color 0.2s; border: 1px solid transparent; } .nav-user-chip:hover { opacity: 0.92; background: var(--teal); color: #fff; } .nav-user-chip:hover .nav-user-dot { background: #fff; } .nav-user-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px color-mix(in srgb, var(--teal) 20%, transparent); } .nav-user-name { white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; } @media (max-width: 640px) { .nav-user-name { display: none; } .nav-user-chip { padding: 0; width: 34px; justify-content: center; } .nav-user-dot { margin: 0; } } .nav-auth-actions { display: inline-flex; align-items: center; gap: 6px; } .nav-dash-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 0.85rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; transition: color 0.2s, border-color 0.2s, background 0.2s; } .nav-dash-btn:hover { color: var(--teal); border-color: var(--teal); background: var(--teal-xlight); } @media (max-width: 900px) { .nav-dash-btn span { display: none; } .nav-dash-btn { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; } .nav-auth-btn #authNavText { display: none; } .nav-auth-btn { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; } } @media (max-width: 640px) { .nav-dash-btn span { display: none; } .nav-dash-btn { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; } } .footer-logo-svg { width: 32px; height: 32px; color: var(--teal); } .mobile-only-item { display: none !important; } body.scrolled .mobile-only-item { display: flex !important; } .options-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 500; padding: 12px 0; overflow: hidden; opacity: 0; transform: translateY(-8px) scale(0.97); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease; } .options-dropdown.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; } .dropdown-backdrop { position: fixed; inset: 0; background: transparent; z-index: 400; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .dropdown-backdrop.open { opacity: 1; pointer-events: all; } @media (max-width: 768px) { .dropdown-backdrop { background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); } .options-dropdown { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; border-radius: 20px 20px 0 0; transform: translateY(100%); padding: 24px 16px 32px; border: none; border-top: 1px solid var(--border); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3); transition: transform 0.35s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease; } .options-dropdown.open { transform: translateY(0); opacity: 1; } .options-dropdown::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: var(--border); border-radius: 2px; } } .dropdown-section-title { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); padding: 8px 16px 4px; display: block; } .dropdown-divider { height: 1px; background: var(--border); margin: 8px 0; } .dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: var(--transition); cursor: pointer; background: transparent; border: none; width: 100%; font-family: inherit; text-align: left; } .dropdown-item:hover { background: var(--teal-xlight); color: var(--teal); } .dropdown-item-danger { color: #ef4444 !important; } .dropdown-item-danger:hover { background: rgba(239,68,68,0.1) !important; color: #ef4444 !important; } .dropdown-item svg { flex-shrink: 0; color: var(--text-muted); } .dropdown-item:hover svg { color: var(--teal); } .dropdown-contributor { padding: 10px 16px; display: flex; align-items: center; gap: 10px; } .contributor-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-xlight); border: 1px solid var(--teal); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--teal); flex-shrink: 0; } .contributor-info { display: flex; flex-direction: column; gap: 1px; } .contributor-name { font-size: 0.82rem; font-weight: 700; color: var(--text-primary); } .contributor-role { font-size: 0.7rem; color: var(--text-muted); } .nav-center { display: flex; align-items: center; border-left: 1.5px solid var(--border); padding-left: 10px; opacity: 0; width: 0; max-width: 0; overflow: hidden; pointer-events: none; transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1); } body.scrolled .nav-links-desktop { display: none !important; } body.scrolled .nav-center { opacity: 1; width: 260px; max-width: 260px; pointer-events: all; } .nav-search { position: relative; width: 100%; display: flex; align-items: center; cursor: pointer; } .nav-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; width: 12px; height: 12px; } .nav-search input { width: 100%; padding: 6px 10px 6px 28px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50px; font-size: 0.84rem; font-family: inherit; color: var(--text-primary); outline: none; transition: var(--transition); } .nav-search input:focus { border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 3px var(--teal-glow); } .hero { background: radial-gradient(ellipse 90% 70% at 50% 110%, var(--teal-glow), transparent 70%), radial-gradient(ellipse 55% 45% at 10% 35%, var(--teal-xlight), transparent 65%), radial-gradient(ellipse 40% 35% at 90% 20%, var(--teal-xlight), transparent 60%), var(--bg); border-bottom: 1px solid var(--border); padding: clamp(80px, 12vw, 130px) clamp(16px, 5vw, 48px) clamp(56px, 8vw, 88px); text-align: center; max-height: 540px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; } body.in-folder .hero { display: none; } .hero-bg-video { display: none; } .hero-content { position: relative; z-index: 2; width: 100%; max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 0; } .hero h1, .hero-title { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; color: var(--text-primary); letter-spacing: -0.05em; line-height: 1.05; margin-bottom: clamp(16px, 3vw, 24px); transition: opacity 0.4s ease, transform 0.4s ease; will-change: opacity, transform; } body.scrolled .hero-title, body.scrolled .hero h1, body.in-folder .hero-title, body.in-folder .hero h1 { opacity: 0; transform: translateY(-20px) scale(0.9); pointer-events: none; } .hero h1 span, .hero-title span { background: linear-gradient(135deg, var(--folder-amber), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: 900; } .hero-sub { font-size: clamp(0.82rem, 1.8vw, 0.95rem); color: var(--text-secondary); margin: 0 auto clamp(18px, 3vw, 28px); line-height: 1.65; max-width: 520px; } .hero-updated { font-size: 0.72rem; color: var(--text-muted); margin-top: -8px; margin-bottom: 16px; font-family: var(--font-mono); } .search-wrap { max-width: 520px; width: 100%; margin: 0 auto; position: relative; } .search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; } .search-wrap input { width: 100%; padding: clamp(11px, 2vw, 14px) 20px clamp(11px, 2vw, 14px) 48px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 50px; font-size: clamp(0.85rem, 1.5vw, 0.93rem); font-family: inherit; color: var(--text-primary); outline: none; transition: var(--transition); box-shadow: var(--shadow-sm); } .search-wrap input:focus { border-color: var(--teal); background: var(--surface); box-shadow: 0 0 0 4px var(--teal-glow); } @media (max-width: 480px) { .hero { max-height: none; } .hero-sub { display: none; } .search-wrap { max-width: 100%; } } .page { max-width: 1400px; margin: 0 auto; padding: 40px 32px 100px; min-height: calc(100vh - 64px - 140px); } body.in-folder .page { padding-top: 106px; } .back-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); margin-bottom: 20px; text-decoration: none; min-height: 40px; } .back-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-xlight); } .breadcrumb { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; flex-wrap: wrap; margin-bottom: 20px; } .breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 600; padding: 4px 8px; border-radius: var(--radius-xs); transition: var(--transition); } .breadcrumb a:hover { background: var(--teal-xlight); } .breadcrumb .sep { color: var(--text-muted); font-size: 0.75rem; } .breadcrumb .cur { color: var(--text-secondary); font-weight: 500; padding: 4px 8px; } .breadcrumb-item-wrap { position: relative; display: inline-flex; align-items: center; } .breadcrumb-arrow { background: none; border: none; color: var(--text-muted); font-size: 0.6rem; cursor: pointer; padding: 4px; margin-left: -2px; border-radius: var(--radius-xs); transition: var(--transition); } .breadcrumb-arrow:hover { color: var(--teal); background: var(--teal-xlight); } .breadcrumb-dropdown { position: absolute; top: 100%; left: 0; background: rgba(255, 255, 255, 0.95); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 8px 0; min-width: 160px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100; display: flex; flex-direction: column; max-height: 300px; overflow-y: auto; } body.theme-midnight .breadcrumb-dropdown { background: rgba(30, 41, 59, 0.95); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); border-color: rgba(255, 255, 255, 0.1); } .breadcrumb-dropdown.show { opacity: 1; visibility: visible; transform: translateY(4px); } .breadcrumb-dropdown a { padding: 8px 16px; border-radius: 0; display: block; color: var(--text-secondary); font-weight: 500; } .breadcrumb-dropdown a:hover { background: var(--bg-hover); color: var(--teal); } .section-title { font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; display: flex; flex-direction: column; gap: 2px; } .info-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.82rem; color: var(--text-secondary); flex-wrap: wrap; gap: 12px; } .info-bar strong { color: var(--text-primary); } .info-pill { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50px; padding: 4px 14px; font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); } .toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .sort-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; } .sort-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50px; font-size: 0.75rem; font-weight: 600; font-family: inherit; color: var(--text-secondary); cursor: pointer; transition: var(--transition); white-space: nowrap; } .sort-btn:hover, .sort-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-xlight); } .sort-arrow { font-size: 0.75rem; } .view-divider { width: 1px; height: 18px; background: var(--border); margin: 0 4px; } .view-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-xs); cursor: pointer; color: var(--text-secondary); transition: var(--transition); } .view-btn:hover, .view-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-xlight); } .select-mode-bar { display: none; align-items: center; gap: 12px; padding: 10px 16px; background: var(--teal); border-radius: var(--radius-sm); margin-bottom: 16px; color: #fff; font-size: 0.85rem; font-weight: 600; } .select-mode-bar.visible { display: flex; } .select-count { flex: 1; } .select-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50px; color: #fff; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: inherit; } .select-action-btn:hover { background: rgba(255, 255, 255, 0.3); } .select-cancel-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; padding: 6px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: var(--transition); } .select-cancel-btn:hover { background: rgba(255, 255, 255, 0.15); } .file-card { position: relative; } .card-checkbox-wrap { position: absolute; top: 8px; left: 8px; z-index: 10; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } body.select-mode .card-checkbox-wrap { opacity: 1; pointer-events: all; } body.select-mode .file-card { cursor: default; } .file-card.selected { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-glow), var(--shadow-sm); } .file-card.selected::before { transform: scaleX(1); } .custom-cb { display: none; } .custom-cb-label { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--border); background: var(--surface); cursor: pointer; transition: all 0.2s ease; box-shadow: var(--shadow-xs); } .custom-cb-label svg { opacity: 0; transition: opacity 0.15s ease; color: #fff; } .custom-cb:checked+.custom-cb-label { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); } .custom-cb:checked+.custom-cb-label svg { opacity: 1; } .custom-cb-label:hover { border-color: var(--teal); background: var(--teal-xlight); } .list-row-cb-wrap { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; } body.select-mode .list-row-cb-wrap { display: flex; } body.select-mode .list-row { cursor: default; grid-template-columns: 24px 32px 1fr 100px 80px auto; } body.select-mode .file-list-header { grid-template-columns: 24px 32px 1fr 100px 80px auto; } @media (max-width: 768px) { body.select-mode .list-row { grid-template-columns: 24px 28px 1fr 64px auto; } body.select-mode .file-list-header { grid-template-columns: 24px 28px 1fr 64px auto; } } @media (max-width: 480px) { body.select-mode .list-row { grid-template-columns: 24px 28px 1fr auto; } } .list-row.selected { border-color: var(--teal); background: var(--teal-xlight); box-shadow: inset 3px 0 0 var(--teal), var(--shadow-xs); transform: translateX(3px); } .file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; } .file-grid { perspective: 1000px; } .file-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px 16px; cursor: pointer; transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; overflow: hidden; box-shadow: var(--shadow-xs); min-height: 170px; animation: card-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) backwards; transform-style: preserve-3d; will-change: transform; max-width: 280px; width: 100%; } .file-card::after, .contributor-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient( 320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--glow-color, rgba(99, 102, 241, 0.16)), transparent 65% ); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 1; } .file-card:hover::after, .contributor-card:hover::after { opacity: 1; } @keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } .file-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; z-index: 2; } .file-card:hover::before { transform: scaleX(1); } .file-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); } .file-card.folder:hover { border-color: var(--folder-amber); box-shadow: 0 10px 24px rgba(245, 158, 11, 0.12); } .file-card.folder:hover::before { background: var(--folder-amber); } body.select-mode .file-card:hover { transform: none !important; } .file-icon { font-size: 2.2rem; line-height: 1; transition: transform var(--transition); display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--bg-alt); border-radius: var(--radius-sm); border: 1px solid var(--border); flex-shrink: 0; } .file-icon svg, .file-icon img { width: 34px; height: 34px; display: block; object-fit: contain; } .file-card:hover .file-icon { transform: scale(1.06); } .file-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); overflow-wrap: anywhere; line-height: 1.4; margin-bottom: auto; } .card-meta-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 4px; gap: 4px; } .file-meta { font-size: 0.72rem; color: var(--text-secondary); font-family: var(--font-mono); font-weight: 500; } .card-actions { display: flex; align-items: center; gap: 4px; } .card-action-btn { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-secondary); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .card-action-btn:hover { color: var(--teal); background: var(--teal-xlight); border-color: var(--teal); } .file-list { display: flex; flex-direction: column; gap: 4px; } .file-list-header { display: grid; grid-template-columns: 32px 1fr 100px 80px auto; gap: 12px; padding: 8px 16px; font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); margin-bottom: 6px; } .list-row { display: grid; grid-template-columns: 32px 1fr 100px 80px auto; gap: 12px; align-items: center; padding: 10px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); animation: card-in 0.25s ease backwards; } .list-row:hover { border-color: var(--border-hover); background: var(--bg-alt); transform: translateX(2px); } .list-row.folder:hover { border-color: var(--folder-amber); background: var(--folder-bg); } .list-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: var(--radius-xs); border: 1px solid var(--border); flex-shrink: 0; } .list-icon svg, .list-icon img { width: 20px; height: 20px; object-fit: contain; display: block; } .list-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-type { font-size: 0.75rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-size { font-size: 0.75rem; color: var(--text-secondary); text-align: right; white-space: nowrap; font-family: var(--font-mono); } .list-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; } .list-action-btn { background: transparent; border: 1px solid transparent; color: var(--text-secondary); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; transition: var(--transition); } .list-action-btn:hover { color: var(--teal); background: var(--teal-xlight); border-color: var(--teal); } .preview-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 15, 30, 0.7); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 20px; } .preview-modal.show { opacity: 1; pointer-events: all; } .modal-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 1200px; height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-md); transform: translateY(24px) scale(0.97); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); overflow: hidden; } .preview-modal.show .modal-content { transform: translateY(0) scale(1); } .modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--bg-alt); } .modal-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; } .modal-actions { display: flex; align-items: center; gap: 8px; } .compare-modal { position: fixed; inset: 0; background: rgba(10, 15, 30, 0.7); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 2100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 20px; } .compare-modal.show { opacity: 1; pointer-events: all; } .compare-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 1200px; height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-md); overflow: hidden; transform: translateY(24px) scale(0.97); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); } .compare-modal.show .compare-panel { transform: translateY(0) scale(1); } .compare-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-alt); } .compare-title { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .compare-subtitle { font-size: 0.78rem; color: var(--text-secondary); margin: 3px 0 0; font-weight: 500; } .compare-toolbar { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; background: var(--bg); } .compare-label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; color: var(--text-secondary); } .compare-select { min-width: min(560px, 100%); max-width: 100%; background: var(--surface); color: var(--text-primary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; outline: none; } .compare-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; } .compare-pane { min-height: 0; display: flex; flex-direction: column; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; } .compare-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); } .compare-pane-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--teal-xlight); padding: 4px 10px; border-radius: 999px; flex-shrink: 0; } .compare-pane-head strong { font-size: 0.88rem; line-height: 1.4; word-break: break-word; text-align: right; color: var(--text-primary); } .compare-pane-body { flex: 1; min-height: 0; overflow: auto; padding: 16px; background: var(--bg); display: flex; align-items: center; justify-content: center; } .compare-frame { width: 100%; height: 100%; min-height: 440px; border: 0; border-radius: 16px; background: var(--surface); } .compare-image, .compare-video { width: 100%; max-height: 100%; border-radius: 16px; object-fit: contain; background: var(--surface); } .compare-audio-wrap, .compare-empty { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--text-secondary); } .compare-media-icon, .compare-empty-icon { font-size: 2.5rem; } .compare-audio { width: min(420px, 100%); } .compare-code-wrap { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); } .compare-code-header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); } .compare-lang-badge { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--teal-xlight); color: var(--teal); } .compare-code-name { font-size: 0.82rem; color: var(--text-secondary); word-break: break-word; } .compare-code-body { flex: 1; min-height: 0; display: grid; grid-template-columns: auto 1fr; overflow: auto; background: var(--bg); } .compare-code-lines { padding: 14px 10px 14px 14px; font-family: var(--font-mono); font-size: 0.74rem; line-height: 1.6; color: var(--text-muted); text-align: right; border-right: 1px solid var(--border); -webkit-user-select: none; user-select: none; white-space: pre; } .compare-code-pre { margin: 0; padding: 14px; overflow: auto; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.6; white-space: pre; } .modal-btn, .modal-close { background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); width: 36px; height: 36px; border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); } .modal-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-xlight); } .modal-close { font-size: 1.4rem; } .modal-close:hover { background: #ef4444; border-color: #ef4444; color: white; } .modal-body { flex: 1; overflow: hidden; padding: 20px; background: var(--bg); display: flex; align-items: center; justify-content: center; } .modal-footer { padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg-alt); font-size: 0.75rem; color: var(--text-secondary); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; } .pdf-iframe { width: 100%; height: 100%; border: none; border-radius: var(--radius-sm); background: #fff; } .image-preview { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); } .media-preview-container { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 12px; } .video-preview { width: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); background: #000; } .custom-player-container { position: relative; width: 100%; max-width: 960px; margin: 0 auto; background: #000; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; } .custom-player-video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; } .custom-player-bigplay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.35) 100%); z-index: 2; opacity: 0; transition: opacity 0.18s ease; pointer-events: none; } .custom-player-bigplay.cp-show { opacity: 1; pointer-events: auto; } .custom-player-bigplay svg { width: 84px; height: 84px; padding: 20px; background: rgba(255,255,255,0.16); border: 2px solid rgba(255,255,255,0.85); border-radius: 50%; -webkit--webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 8px 32px rgba(0,0,0,0.45); transition: transform 0.18s ease, background 0.18s ease; } .custom-player-bigplay:hover svg { transform: scale(1.06); background: rgba(255,255,255,0.24); } .custom-player-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 14px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); color: #fff; z-index: 3; transition: opacity 0.18s ease, transform 0.18s ease; } .custom-player-container.cp-cursor-hide .custom-player-controls { opacity: 0; transform: translateY(8px); pointer-events: none; } .custom-player-container.cp-cursor-hide { cursor: none; } .cp-progress-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .cp-time { font-size: 0.74rem; color: rgba(255,255,255,0.92); font-variant-numeric: tabular-nums; min-width: 44px; text-align: center; } .cp-progress { flex: 1; position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; } .cp-buffer, .cp-played { position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 4px; width: 0%; border-radius: 2px; pointer-events: none; } .cp-buffer { background: rgba(255,255,255,0.32); } .cp-played { background: linear-gradient(90deg, var(--teal), var(--teal-dark)); } .cp-thumb { position: absolute; top: 50%; left: 100%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.12s ease, transform 0.12s ease; pointer-events: none; } .cp-progress:hover .cp-thumb, .cp-progress:active .cp-thumb { opacity: 1; } .cp-progress:hover .cp-buffer, .cp-progress:hover .cp-played { height: 6px; } .cp-controls-row { display: flex; align-items: center; gap: 6px; } .cp-spacer { flex: 1; } .cp-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; background: transparent; border: none; color: #fff; cursor: pointer; border-radius: 6px; transition: background 0.12s ease; font-size: 0.78rem; font-weight: 600; } .cp-btn:hover { background: rgba(255,255,255,0.14); } .cp-btn svg { width: 18px; height: 18px; fill: currentColor; } .cp-btn.cp-play svg.cp-icon-pause { display: none; } .cp-btn.cp-play.cp-playing svg.cp-icon-play { display: none; } .cp-btn.cp-play.cp-playing svg.cp-icon-pause { display: inline; } .cp-mute svg.cp-vol-wave, .cp-mute svg.cp-vol-wave-2 { opacity: 1; transition: opacity 0.12s ease; } .cp-mute.cp-muted svg.cp-vol-wave, .cp-mute.cp-muted svg.cp-vol-wave-2 { opacity: 0; } .cp-mute svg.cp-icon-muted { display: none; } .cp-mute.cp-muted svg.cp-icon-muted { display: inline; } .cp-mute.cp-muted svg.cp-icon-vol { display: none; } .cp-btn.cp-play svg { width: 22px; height: 22px; } .cp-volume { display: flex; align-items: center; gap: 4px; position: relative; } .cp-volume-slider { -webkit-appearance: none; appearance: none; width: 0; opacity: 0; height: 4px; background: rgba(255,255,255,0.32); border-radius: 2px; outline: none; transition: width 0.18s ease, opacity 0.18s ease; cursor: pointer; } .cp-volume:hover .cp-volume-slider { width: 72px; opacity: 1; } .cp-volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; cursor: pointer; border: 2px solid var(--teal); } .cp-volume-slider::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; cursor: pointer; border: 2px solid var(--teal); } .cp-speed-wrap { position: relative; margin-left: 4px; } .cp-speed-btn { min-width: 44px; font-variant-numeric: tabular-nums; } .cp-speed-menu { position: absolute; bottom: calc(100% + 8px); right: 0; min-width: 92px; background: rgba(20,22,30,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 6px; display: none; flex-direction: column; gap: 2px; box-shadow: 0 12px 28px rgba(0,0,0,0.55); -webkit--webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: 10; } .cp-speed-menu.cp-show { display: flex; } .cp-speed-menu button { background: transparent; border: none; color: rgba(255,255,255,0.85); padding: 8px 12px; text-align: left; border-radius: 6px; cursor: pointer; font-size: 0.82rem; font-variant-numeric: tabular-nums; } .cp-speed-menu button:hover { background: rgba(255,255,255,0.1); color: #fff; } .cp-speed-menu button.cp-speed-active { background: var(--teal); color: #fff; } .cp-fullscreen { margin-left: auto; } .cp-fullscreen.cp-fs-active { color: var(--teal); } .custom-audio-player { width: 100%; max-width: 480px; margin: 16px auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 24px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--text-primary); } .cap-art { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,0.18); color: #fff; } .cap-art svg { width: 36px; height: 36px; fill: #fff; } .cap-art.cp-playing { animation: cap-spin 6s linear infinite; } @keyframes cap-spin { to { transform: rotate(360deg); } } .cap-track-info { text-align: center; width: 100%; } .cap-track-title { font-size: 0.95rem; font-weight: 700; margin: 0 0 4px; color: var(--text-primary); word-break: break-word; } .cap-track-meta { font-size: 0.78rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; } .custom-audio-player .custom-player-audio { display: none; } .custom-audio-player .custom-player-controls { position: relative; background: var(--bg-alt); border-radius: var(--radius-md); padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--border); color: var(--text-primary); width: 100%; } .custom-audio-player .cp-buffer { background: var(--teal-xlight); } .custom-audio-player .cp-played { background: linear-gradient(90deg, var(--teal), var(--teal-dark)); } .custom-audio-player .cp-thumb { background: var(--teal); border-color: #fff; } .custom-audio-player .cp-progress { background: var(--border); border-radius: 2px; height: 6px; } .custom-audio-player .cp-time { color: var(--text-secondary); } .custom-audio-player .cp-btn { color: var(--text-primary); } .custom-audio-player .cp-btn:hover { background: var(--bg-alt); } .custom-audio-player .cp-volume-slider { background: var(--border); } .custom-audio-player .cp-volume-slider::-webkit-slider-thumb { border-color: var(--teal); } .custom-audio-player .cp-volume-slider::-moz-range-thumb { border-color: var(--teal); } .custom-audio-player .cp-speed-menu { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-md); } .custom-audio-player .cp-speed-menu button { color: var(--text-primary); } .custom-audio-player .cp-speed-menu button:hover { background: var(--bg-alt); } .custom-audio-player .cp-speed-menu button.cp-speed-active { background: var(--teal); color: #fff; } @media (max-width: 600px) { .custom-player-bigplay svg { width: 64px; height: 64px; padding: 14px; } .custom-player-controls { padding: 10px 12px; } .cp-btn { min-width: 32px; height: 32px; } .cp-volume:hover .cp-volume-slider { width: 48px; } .custom-audio-player { padding: 18px 16px 14px; } .cap-art { width: 72px; height: 72px; } } .code-preview-pre { width: 100%; height: 100%; margin: 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: auto; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.5; color: var(--text-primary); text-align: left; white-space: pre-wrap; word-break: break-all; } .modal-download-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 400px; width: 100%; box-shadow: var(--shadow-sm); } .modal-download-card-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); } .modal-download-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); word-break: break-all; } .modal-download-card p { font-size: 0.78rem; color: var(--text-secondary); } .modal-download-btn { padding: 10px 24px; background: var(--teal); color: white; border: none; border-radius: 50px; font-weight: 600; font-size: 0.82rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: var(--transition); } .modal-download-btn:hover { background: var(--teal-dark); } .spinner-loader { color: var(--text-secondary); font-size: 0.85rem; font-weight: 500; } .loading-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; } .skeleton { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); height: 144px; animation: shimmer 1.6s ease-in-out infinite; position: relative; overflow: hidden; } .skeleton::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, transparent, var(--skeleton-shine), transparent); animation: sweep 1.6s ease-in-out infinite; } @keyframes sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } @keyframes shimmer { 0%, 100% { opacity: .7 } 50% { opacity: 1 } } .empty-state, .error-state { text-align: center; padding: 80px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); } .empty-state .e-icon, .error-state .e-icon { font-size: 2.8rem; margin-bottom: 16px; } .empty-state h3, .error-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; } .empty-state p, .error-state p { color: var(--text-secondary); font-size: 0.87rem; max-width: 380px; margin: 0 auto; line-height: 1.65; } .retry-btn { margin-top: 24px; padding: 10px 26px; background: var(--teal); color: #fff; border: none; border-radius: 50px; font-family: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow-teal); } .retry-btn:hover { background: var(--teal-dark); transform: translateY(-1px); } .footer { border-top: 1px solid var(--border); padding: 56px 40px 32px; background: var(--surface); transition: background var(--transition); font-family: var(--font-mono); } .footer-cta-banner { padding: 0; display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; } .footer-cta-text { display: flex; flex-direction: column; gap: 4px; text-align: left; } .footer-cta-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; letter-spacing: 0.04em; line-height: 1.3; text-transform: uppercase; font-family: inherit; } .footer-cta-subtitle { font-size: 0.78rem; color: var(--text-secondary); font-weight: 500; text-transform: none; letter-spacing: 0.02em; } .footer-cta-btn { background: #000000; color: #ffffff; border: 1px solid var(--border); padding: 10px 24px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-mono); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); white-space: nowrap; margin: 0; } body.theme-ivory .footer-cta-btn { background: #111111; color: #ffffff; border-color: #333333; } .footer-cta-btn:hover { background: var(--teal); border-color: var(--teal); color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 24px var(--teal-glow); } .footer-logo-wrap { color: var(--teal); border: 1.5px solid var(--teal); border-radius: var(--radius); width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--teal-xlight); box-shadow: 0 8px 24px var(--teal-glow); transition: var(--transition); } .footer-logo-wrap:hover { transform: translateY(-2px); box-shadow: 0 12px 28px var(--teal-glow); } .footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 2.2fr auto; gap: 40px; align-items: center; } .footer-column h4 { font-size: 0.75rem; font-weight: 700; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px; margin-top: 0; font-family: inherit; } .footer-column { display: flex; flex-direction: column; justify-content: center; } .footer-column ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; } .footer-column ul li a { color: var(--text-secondary); text-decoration: none; font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; transition: color var(--transition); font-family: inherit; } .footer-column ul li a:hover { color: var(--teal); } .footer-logo-column { display: flex; justify-content: flex-end; align-items: center; } .footer-circle-logo { width: 110px; height: 110px; display: flex; align-items: center; justify-content: center; } .footer-divider { max-width: 1100px; height: 1px; background: var(--border); margin: 24px auto; } .footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; color: var(--text-secondary); letter-spacing: 0.12em; text-transform: uppercase; font-family: inherit; } .footer-bottom-left { display: flex; gap: 40px; } .footer-bottom-center { display: flex; gap: 8px; align-items: center; } .footer-bottom-center strong { color: var(--text-primary); font-weight: 700; } @media (max-width: 768px) { .footer { padding: 40px 24px 24px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-cta-banner { grid-column: span 2; order: -1; margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; text-align: center; } .footer-logo-column { grid-column: span 2; justify-content: center; margin-top: 16px; order: 3; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } .footer-bottom-left { gap: 24px; } } @media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; text-align: left; } .footer-column ul { align-items: flex-start; } .footer-cta-banner { grid-column: span 2; order: -1; text-align: center; justify-content: center; display: flex; flex-direction: column; align-items: center; } .footer-logo-column { grid-column: span 2; justify-content: center; margin-top: 16px; order: 3; } .footer-bottom-left { flex-direction: column; gap: 8px; align-items: center; } } .about-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 15, 30, 0.75); -webkit--webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); z-index: 3001; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 16px; } .about-modal.show { opacity: 1; pointer-events: all; } .about-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 600px; max-height: 88vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-md); transform: translateY(24px) scale(0.97); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); } .about-modal.show .about-panel { transform: translateY(0) scale(1); } .about-hero { padding: 28px 28px 24px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface-alt) 100%); border-bottom: 1px solid var(--border); flex-shrink: 0; } .about-hero::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--teal-glow), transparent 70%); pointer-events: none; } .about-hero-top { display: flex; align-items: flex-start; justify-content: space-between; } .about-logo-wrap { width: 52px; height: 52px; border-radius: var(--radius); background: var(--teal-xlight); border: 1.5px solid var(--teal); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px var(--teal-glow); flex-shrink: 0; } .about-close { background: transparent; border: 1px solid var(--border); color: var(--text-muted); width: 32px; height: 32px; border-radius: var(--radius-xs); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .about-close:hover { background: #ef4444; border-color: #ef4444; color: #fff; } .about-hero h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-primary); margin: 14px 0 6px; letter-spacing: -0.03em; line-height: 1.2; } .about-hero h2 span { color: var(--teal); } .about-hero p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; max-width: 440px; margin: 0; } .about-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; } .about-pill { font-size: 0.65rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; border: 1px solid var(--border); color: var(--text-secondary); background: var(--bg-alt); text-transform: uppercase; letter-spacing: 0.06em; } .about-pill.accent { background: var(--teal-xlight); color: var(--teal); border-color: var(--teal); } .about-body { overflow-y: auto; padding: 0; flex: 1; } .about-section { padding: 20px 28px; border-bottom: 1px solid var(--border); } .about-section:last-child { border-bottom: none; } .about-section-label { font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; } .about-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); } .about-motto-card { position: relative; padding: 20px; background: linear-gradient(135deg, var(--teal-xlight) 0%, rgba(99, 102, 241, 0.03) 100%); border: 1px solid var(--border-hover); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; } .about-motto-glow { position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--teal-glow), transparent 70%); pointer-events: none; } .about-motto-quote { font-family: var(--font-hand); font-size: 1.65rem; font-weight: 700; color: var(--teal-light); margin-bottom: 6px; line-height: 1.1; } .about-motto-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; position: relative; z-index: 1; } .about-benefits-grid { display: flex; flex-direction: column; gap: 12px; } .about-benefit-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); } .about-benefit-item:hover { border-color: var(--border-hover); transform: translateX(2px); } .about-benefit-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); margin-top: 6px; flex-shrink: 0; box-shadow: 0 0 8px var(--teal); } .about-benefit-title { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; } .about-benefit-desc { display: block; font-size: 0.72rem; color: var(--text-secondary); line-height: 1.4; } .about-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; } .about-feature-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-alt); transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease; } .about-feature-item:hover { border-color: var(--teal); background: var(--surface); transform: translateY(-2px); } .about-feature-icon { flex: 0 0 auto; min-width: 42px; padding: 5px 7px; border: 1px solid var(--teal); border-radius: 999px; color: var(--teal); background: var(--teal-xlight); font-size: 0.58rem; font-weight: 800; line-height: 1; letter-spacing: 0.03em; text-align: center; text-transform: uppercase; } .about-feature-text { color: var(--text-primary); font-size: 0.76rem; font-weight: 750; line-height: 1.2; } .about-feature-sub { margin-top: 3px; color: var(--text-muted); font-size: 0.65rem; line-height: 1.35; } .about-stack { display: flex; flex-wrap: wrap; gap: 6px; } .about-stack-tag { font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-secondary); transition: var(--transition); } .about-stack-tag:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-xlight); } .about-stats { display: flex; gap: 8px; padding: 16px 28px; background: linear-gradient(180deg, transparent, var(--bg-alt)); } .about-stat { flex: 1; text-align: center; padding: 12px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); } .about-stat:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-xs); } .about-stat-num { font-size: 1.25rem; font-weight: 800; color: var(--teal-light); line-height: 1; font-family: var(--font-mono); } .about-stat-label { font-size: 0.6rem; color: var(--text-muted); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; } .about-footer-row { padding: 14px 28px; border-top: 1px solid var(--border); background: var(--bg-alt); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .about-footer-text { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); } .about-footer-link { font-size: 0.75rem; font-weight: 600; color: var(--teal); text-decoration: none; font-family: inherit; cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid var(--teal); border-radius: 50px; background: var(--teal-xlight); transition: var(--transition); } .about-footer-link:hover { background: var(--teal); color: #fff; } button.about-footer-link { -webkit-appearance: none; appearance: none; } .border-bottom-divider { border-bottom: 1px solid var(--border); } .about-stack-indigo { border-color: #6366f1; color: #6366f1; } .about-stack-ivory { border-color: #4f46e5; color: #4f46e5; } .about-stack-forest { border-color: #10b981; color: #10b981; } .maintenance-list { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; } .maintenance-icon { font-size: 2.5rem; } .maintenance-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin: 0; } .maintenance-text { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; margin: 0; max-width: 280px; } .dropdown-item-split { display: flex; justify-content: space-between; align-items: center; width: 100%; } .dropdown-item-left { display: flex; align-items: center; gap: 10px; } .dropdown-version-badge { font-size: 0.65rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--teal-xlight); color: var(--teal); border: 1px solid var(--teal); opacity: 0.85; } #nativeContributeForm input:focus, #nativeContributeForm select:focus, #nativeContributeForm textarea:focus, #temp-gf-url:focus { border-color: var(--teal) !important; box-shadow: 0 0 0 3px var(--teal-glow) !important; background: var(--surface) !important; } .download-verify-panel { max-width: 400px; min-height: 250px; } .download-verify-hero { padding: 24px 24px 16px; } .download-verify-title { font-size: 1.25rem; margin-top: 12px; } .download-verify-text { font-size: 0.8rem; margin-bottom: 0; } .download-verify-body { padding: 16px 24px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; } .download-verify-body .contribute-turnstile-container { margin-top: 0; } .contribute-panel { max-width: 650px; height: 90vh; } .contribute-hero { padding: 20px 24px 16px; } .contribute-tabs-container { display: flex; gap: 8px; margin-top: 16px; background: var(--bg-alt); padding: 4px; border-radius: var(--radius-xs); border: 1px solid var(--border); } .contribute-tab-btn { flex: 1; text-align: center; justify-content: center; padding: 6px 12px; border-radius: 6px; font-weight: 600; font-size: 0.8rem; margin: 0; } .contribute-tab-active { background: var(--surface); color: var(--teal); border: 1px solid var(--border); } .contribute-tab-inactive { background: transparent; color: var(--text-secondary); } .contribute-body { padding: 20px 24px; } .contribute-form { display: flex; flex-direction: column; gap: 14px; } .contribute-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .contribute-form-group { display: flex; flex-direction: column; gap: 4px; } .contribute-form-label { font-size: 0.72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; } .contribute-form-input { padding: 10px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-primary); font-family: inherit; font-size: 0.82rem; outline: none; transition: var(--transition); } .contribute-form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15); background: var(--surface); } select.contribute-form-input { cursor: pointer; } textarea.contribute-form-input { resize: vertical; } .contribute-submit-btn { margin-top: 6px; width: 100%; } .contribute-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; } .contribute-turnstile-container { margin-top: 16px; display: flex; justify-content: center; min-height: 65px; } .contribute-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(20, 184, 166, 0.05); border: 1px dashed rgba(20, 184, 166, 0.2); font-size: 0.74rem; color: var(--text-secondary); font-weight: 500; line-height: 1.4; } .contribute-note-icon { color: var(--teal); flex-shrink: 0; opacity: 0.85; } .contribute-quick-view-hidden { display: none; } .contribute-gf-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 20px; border: 1.5px dashed var(--border); border-radius: var(--radius); gap: 12px; } .contribute-gf-icon { font-size: 3rem; } .contribute-gf-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); } .contribute-gf-text { font-size: 0.8rem; color: var(--text-secondary); max-width: 380px; line-height: 1.5; } .contribute-gf-input-row { display: flex; gap: 8px; width: 100%; max-width: 440px; margin-top: 10px; } .contribute-gf-input { flex: 1; padding: 10px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-primary); font-family: inherit; font-size: 0.82rem; outline: none; transition: var(--transition); } .contribute-gf-load-btn { margin: 0; padding: 10px 18px; font-size: 0.8rem; border-radius: var(--radius-xs); } .contribute-iframe { width: 100%; height: 480px; border: none; border-radius: var(--radius-sm); background: #ffffff; display: block; transition: filter var(--transition), mix-blend-mode var(--transition); filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(1.1); mix-blend-mode: lighten; } body.theme-forest .contribute-iframe { filter: invert(1) hue-rotate(120deg) brightness(0.95) contrast(1.1); mix-blend-mode: lighten; } body.theme-ivory .contribute-iframe { filter: none; mix-blend-mode: normal; } @media (max-width: 480px) { .about-feature-grid { grid-template-columns: 1fr; } .about-hero { padding: 20px; } .about-section { padding: 16px 20px; } .about-feature-grid { grid-template-columns: 1fr; } .about-stats { flex-wrap: wrap; } .about-stat { min-width: 50%; } .about-footer-row { padding: 12px 20px; } } .contributors-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10, 15, 30, 0.65); -webkit--webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; } .contributors-modal.show { opacity: 1; pointer-events: all; } .contributors-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto; overflow-x: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border); transform: translateY(24px) scale(0.97); transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .contributors-modal.show .contributors-panel { transform: translateY(0) scale(1); } .contributors-panel::-webkit-scrollbar { width: 8px; } .contributors-panel::-webkit-scrollbar-track { background: transparent; } .contributors-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; } .contributors-close-fab { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 5; transition: all 0.2s ease; -webkit--webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } .contributors-close-fab:hover { background: #ef4444; border-color: #ef4444; color: white; transform: rotate(90deg); } .contributors-hero { position: relative; padding: 36px 28px 28px; text-align: center; overflow: hidden; } .contributors-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 18% 20%, var(--teal-glow) 0%, transparent 45%), radial-gradient(circle at 82% 80%, rgba(99, 102, 241, 0.18) 0%, transparent 50%), linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%); opacity: 0.9; z-index: 0; } .contributors-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 18px 18px; opacity: 0.5; } .contributors-hero-content { position: relative; z-index: 1; } .contributors-hero-icon { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 8px 24px var(--teal-glow); transform: rotate(-3deg); } .contributors-hero-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin: 0 0 8px; line-height: 1.2; } .contributors-hero-sub { font-size: 0.85rem; color: var(--text-secondary); max-width: 420px; margin: 0 auto; line-height: 1.5; } .contributors-stats { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); } .contributors-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; } .contributors-stat-num { font-size: 1.25rem; font-weight: 800; color: var(--teal); letter-spacing: -0.02em; line-height: 1; } .contributors-stat-label { font-size: 0.65rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; } .contributors-stat-divider { width: 1px; height: 24px; background: var(--border); } .contributors-featured-wrap { padding: 22px 24px 0; } .contributors-featured-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 12px; } .contributors-featured-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-xlight); animation: pulseDot 2s ease-in-out infinite; } @keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 4px var(--teal-xlight); } 50% { box-shadow: 0 0 0 7px transparent; } } .contributors-featured { display: flex; align-items: center; gap: 16px; padding: 18px; background: linear-gradient(135deg, var(--teal-xlight) 0%, transparent 100%), var(--bg-alt); border: 1px solid var(--teal); border-radius: 16px; position: relative; overflow: hidden; } .contributors-featured::before { content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px; background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%); pointer-events: none; } .contributors-featured-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border: 3px solid var(--surface); box-shadow: 0 6px 20px var(--teal-glow); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: white; flex-shrink: 0; position: relative; z-index: 1; } .contributors-featured-info { flex: 1; min-width: 0; position: relative; z-index: 1; } .contributors-featured-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; } .contributors-featured-role { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 8px; } .contributors-featured-tags { display: flex; gap: 6px; flex-wrap: wrap; } .contributors-featured-tag { font-size: 0.62rem; font-weight: 700; padding: 3px 8px; border-radius: 50px; background: var(--surface); color: var(--teal); border: 1px solid var(--teal); text-transform: uppercase; letter-spacing: 0.06em; } .contributors-featured-action { flex-shrink: 0; color: var(--teal); width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--teal); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; position: relative; z-index: 1; } .contributors-featured-action:hover { background: var(--teal); color: white; transform: scale(1.08); } .contributors-list { padding: 20px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } .contributor-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; transition: all 0.2s ease; cursor: default; position: relative; } .contributor-card:hover { border-color: var(--teal); background: var(--surface); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); } .contributor-avatar-lg { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: 0 4px 12px var(--teal-glow); object-fit: cover; } .contributor-detail { flex: 1; min-width: 0; } .contributor-detail-name { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .contributor-detail-role { font-size: 0.7rem; color: var(--text-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .contributor-badge { font-size: 0.6rem; font-weight: 700; padding: 3px 7px; border-radius: 50px; background: var(--teal-xlight); color: var(--teal); border: 1px solid var(--teal); text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; } .contributor-linkedin-btn { color: #0284c7; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); transition: all 0.2s ease; background: var(--surface); flex-shrink: 0; } .contributor-linkedin-btn:hover { color: white; background: #0077b5; border-color: #0077b5; transform: scale(1.08); } .contributors-cta { padding: 18px 24px 22px; border-top: 1px solid var(--border); text-align: center; background: var(--bg-alt); } .contributors-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 50px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; border: none; font-size: 0.85rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px var(--teal-glow); transition: all 0.2s ease; } .contributors-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px var(--teal-glow-strong); } .contributors-cta-btn:active { transform: translateY(0); } .contributors-cta-note { margin: 8px 0 0; font-size: 0.72rem; color: var(--text-muted); } .contributors-footer { padding: 14px 20px; border-top: 1px solid var(--border); background: var(--bg-alt); font-size: 0.75rem; color: var(--text-muted); text-align: center; } .toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--surface); color: var(--text-primary); padding: 12px 22px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; z-index: 10000; pointer-events: none; opacity: 0; transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28); max-width: 90vw; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); -webkit--webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); } .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .toast-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .toast.toast-success { border-color: rgba(20, 184, 166, 0.3); background: rgba(9, 12, 21, 0.85); color: var(--teal-light); } .toast.toast-success .toast-icon { color: var(--teal); } .toast.toast-error { border-color: rgba(239, 68, 68, 0.4); background: rgba(9, 12, 21, 0.85); color: #fca5a5; } .toast.toast-error .toast-icon { color: #ef4444; } .toast.toast-warning { border-color: rgba(245, 158, 11, 0.4); background: rgba(9, 12, 21, 0.85); color: #fde047; } .toast.toast-warning .toast-icon { color: #f59e0b; } @media (max-width: 768px) { .nav-links-desktop { display: none !important; } .mobile-only-item { display: flex !important; } .contribute-form-row-2 { grid-template-columns: 1fr; gap: 14px; } .nav { top: 10px; width: calc(100% - 20px); } body.scrolled .nav { top: 6px; } .nav-inner { padding: 0 16px; height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 8px; } .nav-right { border-left: none; padding-left: 0; } body.scrolled .nav-center { width: 120px; max-width: 120px; } .hero { padding: 96px 16px 28px; } .hero h1 { font-size: clamp(1.4rem, 6vw, 1.8rem); } .hero-sub { font-size: 0.85rem; } .search-wrap { max-width: 100%; } .page { padding: 20px 16px 60px; min-height: calc(100vh - 56px - 140px); } .file-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; } .file-card { padding: 16px 12px 14px; gap: 8px; } .file-name { font-size: 0.78rem; } .file-list-header { grid-template-columns: 28px 1fr 64px auto; padding: 8px 12px; } .file-list-header .list-type { display: none; } .list-row { grid-template-columns: 28px 1fr 64px auto; padding: 10px 12px; } .list-type { display: none; } .list-row:hover { transform: none; } .toolbar { gap: 6px; width: 100%; justify-content: flex-start; } .sort-btn { padding: 6px 10px; font-size: 0.7rem; } .breadcrumb { font-size: 0.78rem; } .breadcrumb-dropdown { position: fixed; top: auto; bottom: 0; left: 0; right: 0; width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(100%); max-height: 50vh; padding: 16px 0 32px 0; box-shadow: 0 -10px 40px rgba(0,0,0,0.15); z-index: 1000; } .breadcrumb-dropdown.show { transform: translateY(0); } .breadcrumb-dropdown a { padding: 14px 24px; font-size: 0.95rem; } .back-btn { width: 100%; justify-content: center; margin-bottom: 12px; min-height: 44px; } .info-bar { flex-direction: column; align-items: flex-start; gap: 10px; } .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; } .footer-column { display: flex; flex-direction: column; align-items: center; } .footer-column ul { align-items: center; } .footer-cta-banner { justify-content: center; text-align: center; display: flex; flex-direction: column; align-items: center; } .footer-logo-column { justify-content: center; } .footer-bottom { flex-direction: column; gap: 16px; text-align: center; } .modal-content { height: 90vh; max-height: 90vh; } } @media (max-width: 480px) { .file-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .file-card { padding: 14px 8px 12px; min-height: 155px; } .file-list-header { display: none; } .list-row { grid-template-columns: 28px 1fr auto; gap: 8px; } .list-size { display: none; } .sort-label { display: none; } .toolbar { gap: 4px; justify-content: flex-start; } .view-divider { margin: 0 2px; } .contributors-panel { max-width: 100%; border-radius: 16px; max-height: 92vh; } .contributors-hero { padding: 28px 18px 22px; } .contributors-hero-title { font-size: 1.25rem; } .contributors-hero-sub { font-size: 0.78rem; } .contributors-stats { padding: 12px 16px; gap: 10px; } .contributors-stat-num { font-size: 1.05rem; } .contributors-stat-label { font-size: 0.58rem; } .contributors-featured-wrap { padding: 18px 16px 0; } .contributors-featured { padding: 14px; gap: 12px; } .contributors-featured-avatar { width: 56px; height: 56px; } .contributors-featured-name { font-size: 1rem; } .contributors-list { padding: 14px 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; } .contributor-card { padding: 10px 12px; gap: 10px; } .contributor-avatar-lg { width: 36px; height: 36px; font-size: 0.78rem; } .contributor-detail-name { font-size: 0.85rem; } .contributor-badge { font-size: 0.6rem; padding: 2px 6px; } .about-modal { padding: 10px; } .about-panel { max-height: 92vh; border-radius: var(--radius); } .about-hero { padding: 20px 20px 16px; } .about-hero h2 { font-size: 1.3rem; } .about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 12px 20px; } .about-section { padding: 16px 20px; } .about-motto-quote { font-size: 1.45rem; } .about-footer-row { padding: 12px 20px; flex-direction: column; align-items: center; text-align: center; gap: 8px; } } .badge-new { display: inline-block; background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 4px; font-size: 0.6rem; font-weight: 700; padding: 1px 4px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; box-shadow: 0 0 8px rgba(16, 185, 129, 0.2); animation: pulse-new 2s infinite alternate; } @keyframes pulse-new { from { box-shadow: 0 0 4px rgba(16, 185, 129, 0.1); } to { box-shadow: 0 0 12px rgba(16, 185, 129, 0.4); } } .contribute-recaptcha-container { display: flex; justify-content: center; margin: 15px 0; } .pdf-viewer-container { display: flex; flex-direction: column; width: 100%; height: 100%; gap: 12px; } .pdf-file-title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text-primary); font-family: var(--font-ui); font-size: 0.82rem; font-weight: 700; text-align: center; box-shadow: var(--shadow-xs); } .pdf-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; background: var(--bg-alt); padding: 8px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); flex-shrink: 0; } .pdf-control-btn { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-primary); width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); } .pdf-control-btn:hover { background: var(--teal-xlight); border-color: var(--teal); color: var(--teal); } .pdf-page-indicator { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); -webkit-user-select: none; user-select: none; padding: 0 4px; } .pdf-controls-divider { width: 1px; height: 20px; background: var(--border); margin: 0 6px; } .pdf-canvas-container { flex: 1; overflow: auto; display: flex; justify-content: center; align-items: flex-start; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); padding: 16px; min-height: 0; height: 100%; position: relative; } .pdf-canvas-container #pdf-render-canvas { position: relative; z-index: 1; } #pdf-draw-canvas { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2; pointer-events: auto; cursor: crosshair; touch-action: none; } #pdf-render-canvas { display: block; max-width: 100%; height: auto !important; box-shadow: var(--shadow-sm); border-radius: 4px; background: #fff; } .filter-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 50px; color: var(--text-secondary); padding: 6px 14px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: var(--transition); outline: none; } .filter-pill:hover { border-color: var(--border-hover); color: var(--text-primary); background: var(--bg-alt); } .filter-pill.active { background: var(--teal-xlight); border-color: var(--teal); color: var(--teal); } .search-scope-toggle input[type="checkbox"] { accent-color: var(--teal); cursor: pointer; } @media (max-width: 768px) { .pdf-controls { gap: 6px; padding: 6px 10px; width: 100%; justify-content: space-between; } .pdf-control-btn { width: 28px; height: 28px; } .pdf-page-indicator { font-size: 0.72rem; } .pdf-controls-divider { height: 14px; margin: 0 2px; } .pdf-canvas-container { padding: 8px; border-radius: var(--radius-sm); } .filter-pill { padding: 4px 10px; font-size: 0.72rem; } .search-scope-toggle { font-size: 0.72rem; } } @keyframes fadeInSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .fade-in-slide { animation: fadeInSlide 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .pomodoro-nav-widget { position: relative; display: inline-block; } #pomoBtn { display: flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 0.8rem; font-weight: 700; } .pomo-nav-time { font-family: var(--font-mono); color: var(--teal); animation: pomoPulse 2s infinite ease-in-out; } @keyframes pomoPulse { 0%, 100% { opacity: 0.95; } 50% { opacity: 0.65; } } .pomo-panel { position: absolute; right: 0; top: 48px; width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; gap: 12px; z-index: 1010; animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; } @keyframes dropdownFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .pomo-panel.show { display: flex; } .pomo-header { display: flex; justify-content: space-between; align-items: center; } .pomo-header h4 { font-size: 0.82rem; color: var(--text-primary); margin: 0; } .pomo-close-btn { background: none; border: none; color: var(--text-secondary); font-size: 1.1rem; cursor: pointer; line-height: 1; } .pomo-timer-display { font-size: 1.8rem; font-weight: 800; font-family: var(--font-mono); text-align: center; color: var(--text-primary); padding: 6px 0; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); } .pomo-mode-select { display: flex; gap: 6px; } .pomo-mode-btn { flex: 1; padding: 4px; font-size: 0.72rem; font-weight: 600; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); cursor: pointer; transition: var(--transition); } .pomo-mode-btn.active { background: var(--teal); color: #ffffff; border-color: var(--teal); } .pomo-controls { display: flex; gap: 6px; } .pomo-control-btn { flex: 1; padding: 6px; font-size: 0.78rem; cursor: pointer; } .pdf-draw-toolbar { display: none; align-items: center; gap: 6px; } .draw-tool-btn.active { background: var(--teal) !important; color: #ffffff !important; } .color-picker-wrapper { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); overflow: hidden; cursor: pointer; } .color-picker-wrapper input[type="color"] { position: absolute; top: -5px; left: -5px; width: 34px; height: 34px; border: none; padding: 0; cursor: pointer; background: none; } .modal-actions-divider { width: 1px; height: 18px; background: var(--border); margin: 0 4px; } #pdf-draw-canvas.draw-canvas { cursor: cell; } body.zen-active .nav, body.zen-active .hero, body.zen-active .info-bar, body.zen-active .footer { display: none !important; } body.zen-active .preview-modal { background: var(--bg) !important; padding: 0 !important; } body.zen-active .modal-content { border: none !important; border-radius: 0 !important; width: 100vw !important; max-width: 100vw !important; height: 100vh !important; max-height: 100vh !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; } body.zen-active .modal-header { border-bottom: 1px solid var(--border) !important; padding: 8px 16px !important; flex-shrink: 0 !important; -webkit-backdrop-filter: blur(12px) !important; backdrop-filter: blur(12px) !important; background: rgba(0,0,0,0.35) !important; } body.zen-active .modal-title { font-size: 0.8rem !important; opacity: 0.6 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40vw; } body.zen-active .modal-body { flex: 1 !important; height: 0 !important; max-height: none !important; overflow: hidden !important; padding: 0 !important; background: var(--bg) !important; } body.zen-active .modal-footer { display: none !important; } body.zen-active .pdf-viewer-container { height: 100% !important; gap: 0 !important; } body.zen-active .pdf-controls { border-radius: 0 !important; border-left: none !important; border-right: none !important; border-top: none !important; background: var(--surface) !important; } body.zen-active .pdf-canvas-container { flex: 1 !important; height: 0 !important; max-height: none !important; border-radius: 0 !important; border: none !important; padding: 0 !important; background: #1a1a1a !important; overflow: auto !important; } body.zen-active .pdf-canvas-container::-webkit-scrollbar { width: 5px; height: 5px; } body.zen-active .pdf-canvas-container::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 99px; } body.zen-active #modalZenBtn { color: var(--teal) !important; background: var(--teal-xlight) !important; } #pdfDrawToolbar { display: none; } #modalZenBtn { display: none; } .code-viewer-container { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #0f0f15; width: 100%; height: 100%; align-self: stretch; min-height: 480px; } .code-viewer-header { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid rgba(255, 255, 255, 0.06); } .code-lang-badge { font-size: 0.72rem; font-weight: 700; font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; background: var(--teal-xlight); color: var(--teal); padding: 3px 10px; border-radius: var(--radius-xs); } .code-copy-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 0.72rem; font-weight: 600; border-radius: var(--radius-xs); cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: #e2e8f0; transition: var(--transition); font-family: var(--font-mono); } .code-copy-btn:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; border-color: rgba(255, 255, 255, 0.2); } .code-viewer-body { flex: 1; display: flex; overflow: auto; position: relative; } .code-line-numbers { display: flex; flex-direction: column; align-items: flex-end; padding: 16px 10px 16px 16px; background: rgba(0, 0, 0, 0.15); border-right: 1px solid rgba(255, 255, 255, 0.04); font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.6; color: #4a4a6a; -webkit-user-select: none; user-select: none; text-align: right; min-width: 25px; position: sticky; left: 0; z-index: 1; } .code-pre { flex: 1; margin: 0; padding: 16px; background: transparent; overflow: visible; text-align: left; } .code-pre code { font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.6; color: #e2e8f0; white-space: pre; word-break: normal; } .cmdkp-overlay { position: fixed; inset: 0; background: rgba(5, 8, 18, 0.65); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); z-index: 4001; display: flex; align-items: flex-start; justify-content: center; padding: 80px 16px 16px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } .cmdkp-overlay.show { opacity: 1; pointer-events: all; } .cmdkp-panel { width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; max-height: 70vh; transform: translateY(-12px) scale(0.98); transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); } .cmdkp-overlay.show .cmdkp-panel { transform: translateY(0) scale(1); } .cmdkp-input-wrap { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--surface-alt); flex-shrink: 0; } .cmdkp-input-wrap svg { flex-shrink: 0; color: var(--text-muted); } #cmdkpInput { flex: 1; background: transparent; border: none; outline: none; font-family: var(--font-ui); font-size: 1.05rem; font-weight: 500; color: var(--text-primary); caret-color: var(--teal); } #cmdkpInput::placeholder { color: var(--text-muted); font-weight: 400; } .cmdkp-esc { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); background: var(--bg-alt); text-transform: uppercase; letter-spacing: 0.5px; } .cmdkp-results { flex: 1; overflow-y: auto; padding: 6px 0; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .cmdkp-results::-webkit-scrollbar { width: 6px; } .cmdkp-results::-webkit-scrollbar-track { background: transparent; } .cmdkp-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; } .cmdkp-group-label { font-family: var(--font-ui); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); padding: 14px 18px 6px; position: sticky; top: 0; background: var(--surface); z-index: 1; } .cmdkp-item { display: flex; align-items: center; gap: 14px; padding: 10px 18px; cursor: pointer; border-left: 3px solid transparent; transition: background 0.1s ease, border-color 0.1s ease; -webkit-user-select: none; user-select: none; min-height: 48px; } .cmdkp-item:hover { background: var(--bg-alt); } .cmdkp-item.selected { background: var(--teal-xlight); border-left-color: var(--teal); } .cmdkp-item-icon { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-weight: 700; color: var(--teal); } .cmdkp-item-icon.file { background: var(--teal-xlight); } .cmdkp-item-icon.dir { background: var(--folder-bg); color: var(--folder-amber); } .cmdkp-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .cmdkp-item-label { font-family: var(--font-ui); font-size: 0.92rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cmdkp-item-sublabel { font-family: var(--font-ui); font-size: 0.76rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cmdkp-item-hint { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; padding: 3px 7px; border-radius: 5px; background: var(--bg-alt); color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; } .cmdkp-empty { padding: 32px 24px; text-align: center; color: var(--text-muted); font-size: 0.88rem; } .cmdkp-empty-icon { font-size: 1.8rem; margin-bottom: 8px; opacity: 0.6; } .cmdkp-footer { display: flex; align-items: center; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--border); background: var(--surface-alt); font-family: var(--font-ui); font-size: 0.72rem; color: var(--text-muted); flex-shrink: 0; } .cmdkp-footer kbd { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; padding: 2px 6px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-alt); color: var(--text-secondary); margin-right: 4px; } .cmdkp-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-alt); font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; color: var(--text-muted); margin-left: 8px; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; } .cmdkp-trigger:hover { border-color: var(--teal); color: var(--teal); } .cmdkp-trigger kbd { font-size: 0.65rem; } @media (max-width: 768px) { .cmdkp-overlay { padding: 0; align-items: flex-end; } .cmdkp-panel { max-width: 100%; max-height: 85vh; border-radius: var(--radius) var(--radius) 0 0; transform: translateY(100%); } .cmdkp-overlay.show .cmdkp-panel { transform: translateY(0); } .cmdkp-trigger { display: none; } } .offline-banner { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 10px; padding: 8px 14px; background: var(--folder-amber); color: #1a1a1a; border-radius: 999px; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; box-shadow: var(--shadow-md); z-index: 5000; animation: offline-slide-in 0.3s ease-out; } .offline-banner:not([hidden]) { display: flex !important; } @keyframes offline-slide-in { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } } .offline-icon { font-size: 1rem; } .offline-dismiss { background: transparent; border: none; color: inherit; font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 0 0 4px; opacity: 0.7; font-family: var(--font-ui); } .offline-dismiss:hover { opacity: 1; } @media (max-width: 1024px) { } @media (max-width: 768px) { .offline-banner { top: 70px; font-size: 0.75rem; padding: 6px 12px; max-width: calc(100% - 24px); } } .share-sheet-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); z-index: 7000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.2s ease; } .share-sheet-overlay.show { opacity: 1; } .share-sheet-overlay[hidden] { display: none; } .share-sheet { width: 100%; max-width: 460px; background: var(--surface); border-top-left-radius: 24px; border-top-right-radius: 24px; padding: 14px 20px 24px; box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.5), 0 -2px 8px rgba(0, 0, 0, 0.25); transform: translateY(100%); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1); border-top: 1px solid var(--border); } .share-sheet-overlay.show .share-sheet { transform: translateY(0); } .share-sheet-handle { width: 44px; height: 5px; background: var(--border); border-radius: 3px; margin: 0 auto 16px; } .share-sheet-head { text-align: center; margin-bottom: 18px; padding: 0 8px; } .share-sheet-eyebrow { font-family: var(--font-ui); font-size: 0.66rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; } .share-sheet-name { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .share-sheet-path { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .share-sheet-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; margin-bottom: 14px; } .share-sheet-actions:has(.share-btn-native[hidden]) { grid-template-columns: repeat(4, 1fr); } .share-sheet-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; color: var(--text-primary); font-family: var(--font-ui); font-size: 0.74rem; font-weight: 600; cursor: pointer; transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; -webkit-tap-highlight-color: transparent; min-height: 86px; position: relative; overflow: hidden; } .share-sheet-btn[hidden] { display: none; } .share-sheet-btn:hover { transform: translateY(-2px); border-color: var(--border-hover); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); } .share-sheet-btn:active { transform: translateY(0); } .share-sheet-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: transform 0.18s ease; } .share-sheet-btn:hover .share-sheet-ico { transform: scale(1.08); } .share-btn-whatsapp .share-sheet-ico { background: rgba(37, 211, 102, 0.12); color: #25D366; } .share-btn-whatsapp:hover { border-color: rgba(37, 211, 102, 0.4); } .share-btn-whatsapp:hover .share-sheet-ico { background: #25D366; color: #ffffff; } .share-btn-telegram .share-sheet-ico { background: rgba(0, 136, 204, 0.12); color: #0088cc; } .share-btn-telegram:hover { border-color: rgba(0, 136, 204, 0.4); } .share-btn-telegram:hover .share-sheet-ico { background: #0088cc; color: #ffffff; } .share-btn-copy .share-sheet-ico { background: rgba(99, 102, 241, 0.12); color: var(--teal); } .share-btn-copy:hover { border-color: var(--teal); } .share-btn-copy:hover .share-sheet-ico { background: var(--teal); color: #ffffff; } .share-btn-native .share-sheet-ico { background: rgba(161, 161, 170, 0.12); color: var(--text-secondary); } .share-btn-native:hover { border-color: var(--border-hover); } .share-btn-native:hover .share-sheet-ico { background: var(--text-secondary); color: var(--surface); } .share-sheet-label { font-family: var(--font-ui); font-size: 0.74rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.1px; } .share-sheet-btn:hover .share-sheet-label { color: var(--text-primary); } .share-sheet-cancel { display: block; width: 100%; padding: 13px; background: transparent; border: 1px solid var(--border); border-radius: 14px; color: var(--text-secondary); font-family: var(--font-ui); font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; } .share-sheet-cancel:hover { color: var(--text-primary); border-color: var(--text-secondary); background: var(--bg-alt); } @media (min-width: 769px) { .share-sheet-overlay { align-items: center; } .share-sheet { border-radius: 20px; padding: 22px 22px 20px; max-width: 440px; transform: translateY(8px) scale(0.96); opacity: 0; transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35); } .share-sheet-overlay.show .share-sheet { transform: translateY(0) scale(1); opacity: 1; } .share-sheet-handle { display: none; } .share-sheet-head { margin-bottom: 16px; } .share-sheet-name { font-size: 1.08rem; } .share-sheet-btn { padding: 14px 8px; min-height: 80px; } .share-sheet-ico { width: 38px; height: 38px; } } .dup-pill-host { display: inline-block; margin-left: 6px; } .dup-pill { display: inline-block; padding: 2px 8px; font-family: var(--font-ui); font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 999px; background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); cursor: pointer; transition: background 0.12s ease, transform 0.1s ease; line-height: 1.4; } body.theme-ivory .dup-pill { color: #a16207; } .dup-pill:hover { background: rgba(234, 179, 8, 0.25); transform: translateY(-1px); } .dup-list { grid-column: 1 / -1; background: var(--bg-alt); border: 1px dashed var(--border); border-radius: 12px; padding: 10px 12px; margin: -4px 12px 12px; display: flex; flex-direction: column; gap: 6px; animation: dup-slide 0.18s ease-out; } .list-row + .dup-list { grid-column: 1 / -1; } @keyframes dup-slide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } .dup-list-head { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; } .dup-list-head strong { color: var(--text-secondary); text-transform: none; letter-spacing: 0; } .dup-list-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; text-align: left; cursor: pointer; transition: border-color 0.12s ease, transform 0.1s ease; } .dup-list-item:hover { border-color: var(--teal); transform: translateY(-1px); } .dup-list-icon { font-size: 1rem; } .dup-list-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } @media (max-width: 480px) { .dup-pill { font-size: 0.6rem; padding: 2px 6px; } } .vault-icon { display: block; width: 100%; height: 100%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12)); transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; } .file-card:hover .vault-icon, .list-row:hover .vault-icon { transform: translateY(-2px) scale(1.04); } .file-card.folder.selected .vault-icon { filter: drop-shadow(0 0 8px var(--folder-shade)); } .file-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--border); transition: border-color 0.18s ease, transform var(--transition); } .file-card:hover .file-icon { border-color: var(--border-hover); } .list-icon { background: transparent !important; border: none !important; width: 28px !important; height: 28px !important; } @media (max-width: 768px) { .file-icon { width: 42px; height: 42px; padding: 3px; } .list-icon { width: 24px !important; height: 24px !important; } } .changelog-slot { margin-bottom: 24px; } .changelog-slot[hidden] { display: none; } .whats-new { position: relative; max-width: 1100px; margin: 0 auto 24px; padding: 24px 24px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate; } .whats-new::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, var(--teal-xlight), transparent 60%); opacity: 0.6; z-index: -1; pointer-events: none; } .whats-new-head { margin-bottom: 16px; } .whats-new-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--teal); margin-bottom: 8px; } .whats-new-spark { font-size: 0.9rem; display: inline-block; animation: whats-new-pulse 2.4s ease-in-out infinite; } @keyframes whats-new-pulse { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.15) rotate(-10deg); } } .whats-new-title { font-family: var(--font-ui); font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 700; color: var(--text-primary); margin: 0 0 4px; letter-spacing: -0.2px; } .whats-new-sub { font-family: var(--font-ui); font-size: 0.84rem; color: var(--text-muted); margin: 0; } .whats-new-sub strong { color: var(--text-secondary); } .whats-new-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; } .whats-new-item { margin: 0; } .whats-new-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; color: var(--text-primary); font-family: var(--font-ui); cursor: pointer; text-align: left; transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease; } .whats-new-link:hover { border-color: var(--teal); background: var(--surface-alt); transform: translateY(-1px); } .whats-new-icon { flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--surface); border-radius: 9px; padding: 3px; } .whats-new-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .whats-new-name { font-size: 0.86rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .whats-new-where { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--text-muted); } .whats-new-tag { font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; font-size: 0.62rem; padding: 2px 6px; border-radius: 999px; background: var(--teal-xlight); color: var(--teal); } .whats-new-time { font-family: var(--font-mono); font-size: 0.66rem; } .whats-new-arrow { color: var(--text-muted); font-size: 1.1rem; font-weight: 400; line-height: 1; transition: transform 0.15s ease, color 0.15s ease; } .whats-new-link:hover .whats-new-arrow { color: var(--teal); transform: translateX(3px); } .whats-new-more { margin-top: 12px; padding: 8px 12px; background: var(--bg-alt); border: 1px dashed var(--border); border-radius: 10px; text-align: center; font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-muted); font-weight: 600; } body.in-folder .changelog-slot { display: none; } @media (max-width: 640px) { .whats-new { margin: 0 12px 18px; padding: 18px 16px 14px; } .whats-new-list { grid-template-columns: 1fr; } .whats-new-link { padding: 9px 10px; } .whats-new-icon { width: 32px; height: 32px; } .whats-new-name { font-size: 0.82rem; } } .download-safety-panel { position: relative; max-width: 470px; padding: 30px; overflow: hidden; } .download-safety-topline { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), #67e8f9, var(--teal)); } .download-safety-close { position: absolute; top: 16px; right: 16px; z-index: 1; } .download-safety-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--teal); background: var(--teal-xlight); border: 1px solid rgba(99, 102, 241, 0.32); border-radius: 17px; box-shadow: 0 12px 28px var(--teal-xlight); } .download-safety-icon svg { width: 27px; height: 27px; } .download-safety-eyebrow { margin: 20px 0 6px; color: var(--teal); font-family: var(--font-mono); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } .download-safety-panel h2 { margin: 0; color: var(--text-primary); font-size: 1.45rem; letter-spacing: -.035em; } .download-safety-intro { margin: 8px 0 20px; color: var(--text-secondary); font-size: .88rem; line-height: 1.55; } .download-safety-source { display: flex; align-items: center; gap: 11px; padding: 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; } .download-safety-source-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: var(--text-secondary); background: var(--surface); border-radius: 10px; } .download-safety-source-icon svg { width: 18px; height: 18px; } .download-safety-source-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 2px; } .download-safety-source-copy span, .download-safety-file-label { color: var(--text-muted); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; } .download-safety-source-copy strong { overflow: hidden; color: var(--text-primary); font-family: var(--font-mono); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; } .download-safety-status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; font-size: .64rem; font-weight: 800; white-space: nowrap; } .download-safety-status.is-trusted { color: #10b981; background: rgba(16,185,129,.12); } .download-safety-status.is-external { color: #f59e0b; background: rgba(245,158,11,.13); } .download-safety-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent); } .download-safety-file { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; padding: 12px 2px 2px; } .download-safety-file strong { overflow: hidden; color: var(--text-primary); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; } .download-safety-detail { margin: 12px 0 18px; color: var(--text-secondary); font-size: .79rem; line-height: 1.55; } .download-safety-actions { display: grid; grid-template-columns: .76fr 1.24fr; gap: 10px; } .download-safety-actions button { min-height: 44px; border-radius: 12px; font: 700 .79rem var(--font-ui); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; } .download-safety-actions button:hover { transform: translateY(-1px); } .download-safety-cancel { color: var(--text-secondary); background: transparent; border: 1px solid var(--border); } .download-safety-cancel:hover { color: var(--text-primary); border-color: var(--text-muted); } .download-safety-continue { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border: 0; box-shadow: 0 10px 22px var(--teal-xlight); } .download-safety-continue svg { width: 16px; height: 16px; } .download-safety-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--text-muted); font-size: .68rem; text-align: center; } .download-safety-footnote svg { width: 13px; height: 13px; flex: 0 0 auto; } @media (max-width: 480px) { .download-safety-panel { padding: 26px 20px 20px; } .download-safety-source { align-items: flex-start; } .download-safety-status { align-self: center; } .download-safety-status-label { display: none; } .download-safety-actions { grid-template-columns: 1fr; } .download-safety-continue { order: -1; } } .select-mode-bar { flex-direction: column; gap: 10px; padding: 12px 16px; } .select-bar-top { display: flex; align-items: center; gap: 10px; width: 100%; flex-wrap: wrap; } .select-bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; } .size-budget-row { width: 100%; display: flex; flex-direction: column; gap: 5px; } .size-budget-labels { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; } .size-budget-used { font-weight: 800; color: #fff; letter-spacing: 0.02em; } .size-budget-hint { color: rgba(255,255,255,0.65); font-size: 0.7rem; font-style: italic; } .size-budget-bar-track { width: 100%; height: 5px; background: rgba(255,255,255,0.2); border-radius: 99px; overflow: hidden; } .size-budget-bar-fill { width: 0%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55)); transition: width 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s ease; } .size-budget-bar-fill.warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); } .size-budget-bar-fill.danger { background: linear-gradient(90deg, #f87171, #ef4444); } @media (max-width: 480px) { .select-bar-top { gap: 6px; } .size-budget-hint { display: none; } } .auto-theme-chip { position: fixed; bottom: 80px; right: 20px; display: flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; color: #fff; background: rgba(30,30,50,0.88); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 9000; pointer-events: none; opacity: 0; transform: translateY(8px) scale(0.95); transition: opacity 0.35s ease, transform 0.35s ease; } .auto-theme-chip.show { opacity: 1; transform: translateY(0) scale(1); } .auto-theme-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; } .auto-theme-chip.day .auto-theme-chip-dot { color: #fbbf24; } .auto-theme-chip.night .auto-theme-chip-dot { color: #818cf8; } .did-you-mean-wrap { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2, rgba(99,102,241,0.08)); border: 1px solid var(--teal-xlight, rgba(99,102,241,0.18)); border-radius: 12px; margin-bottom: 10px; font-size: 0.82rem; color: var(--text-secondary); flex-wrap: wrap; animation: fadeSlideIn 0.3s ease both; } .did-you-mean-label { opacity: 0.75; white-space: nowrap; } .did-you-mean-suggestion { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; background: var(--teal); color: #fff; border-radius: 99px; font-weight: 700; font-size: 0.79rem; cursor: pointer; border: none; font-family: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; box-shadow: 0 2px 8px rgba(99,102,241,0.25); } .did-you-mean-suggestion:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,0.35); } .did-you-mean-suggestion svg { width: 12px; height: 12px; opacity: 0.85; } @keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } } .new-files-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); color: #fff; border: 1px solid rgba(129,140,248,0.3); border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 14px; min-width: 280px; max-width: min(90vw, 420px); box-shadow: 0 8px 32px rgba(99,102,241,0.35), 0 2px 8px rgba(0,0,0,0.3); z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1); -webkit--webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } .new-files-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; } .new-files-toast-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(129,140,248,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; } .new-files-toast-body { flex: 1; min-width: 0; } .new-files-toast-title { font-weight: 800; font-size: 0.85rem; margin-bottom: 2px; letter-spacing: 0.01em; } .new-files-toast-sub { font-size: 0.73rem; color: rgba(255,255,255,0.65); line-height: 1.4; } .new-files-toast-close { background: transparent; border: none; color: rgba(255,255,255,0.5); cursor: pointer; padding: 4px; border-radius: 6px; line-height: 1; font-size: 16px; transition: color 0.15s; flex-shrink: 0; } .new-files-toast-close:hover { color: #fff; } .new-files-toast-badge { display: inline-block; background: rgba(129,140,248,0.25); border-radius: 99px; padding: 1px 7px; font-size: 0.68rem; font-weight: 800; color: #a5b4fc; margin-left: 4px; vertical-align: middle; } @media (max-width: 480px) { .new-files-toast { bottom: 16px; min-width: 0; width: calc(100vw - 32px); } } .context-menu { position: fixed; z-index: 10000; width: 200px; background: rgba(20, 24, 34, 0.85); -webkit--webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 6px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); transform-origin: top left; transform: scale(0.95); opacity: 0; pointer-events: none; transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease; } .context-menu.show { transform: scale(1); opacity: 1; pointer-events: auto; } .context-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; width: 100%; font-size: 0.85rem; font-weight: 500; color: var(--text-primary); background: transparent; border: none; border-radius: 6px; cursor: pointer; text-align: left; transition: background 0.15s ease, color 0.15s ease; } .context-menu-item svg { color: var(--text-secondary); transition: color 0.15s ease; } .context-menu-item:hover { background: var(--teal-xlight); color: var(--teal); } .context-menu-item:hover svg { color: var(--teal); color: var(--text-muted); } .whats-new-tag { font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; font-size: 0.62rem; padding: 2px 6px; border-radius: 999px; background: var(--teal-xlight); color: var(--teal); } .whats-new-time { font-family: var(--font-mono); font-size: 0.66rem; } .whats-new-arrow { color: var(--text-muted); font-size: 1.1rem; font-weight: 400; line-height: 1; transition: transform 0.15s ease, color 0.15s ease; } .whats-new-link:hover .whats-new-arrow { color: var(--teal); transform: translateX(3px); } .whats-new-more { margin-top: 12px; padding: 8px 12px; background: var(--bg-alt); border: 1px dashed var(--border); border-radius: 10px; text-align: center; font-family: var(--font-ui); font-size: 0.78rem; color: var(--text-muted); font-weight: 600; } body.in-folder .changelog-slot { display: none; } @media (max-width: 640px) { .whats-new { margin: 0 12px 18px; padding: 18px 16px 14px; } .whats-new-list { grid-template-columns: 1fr; } .whats-new-link { padding: 9px 10px; } .whats-new-icon { width: 32px; height: 32px; } .whats-new-name { font-size: 0.82rem; } } .download-safety-panel { position: relative; max-width: 470px; padding: 30px; overflow: hidden; } .download-safety-topline { position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--teal), #67e8f9, var(--teal)); } .download-safety-close { position: absolute; top: 16px; right: 16px; z-index: 1; } .download-safety-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--teal); background: var(--teal-xlight); border: 1px solid rgba(99, 102, 241, 0.32); border-radius: 17px; box-shadow: 0 12px 28px var(--teal-xlight); } .download-safety-icon svg { width: 27px; height: 27px; } .download-safety-eyebrow { margin: 20px 0 6px; color: var(--teal); font-family: var(--font-mono); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; } .download-safety-panel h2 { margin: 0; color: var(--text-primary); font-size: 1.45rem; letter-spacing: -.035em; } .download-safety-intro { margin: 8px 0 20px; color: var(--text-secondary); font-size: .88rem; line-height: 1.55; } .download-safety-source { display: flex; align-items: center; gap: 11px; padding: 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; } .download-safety-source-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: var(--text-secondary); background: var(--surface); border-radius: 10px; } .download-safety-source-icon svg { width: 18px; height: 18px; } .download-safety-source-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 2px; } .download-safety-source-copy span, .download-safety-file-label { color: var(--text-muted); font-family: var(--font-mono); font-size: .64rem; letter-spacing: .05em; text-transform: uppercase; } .download-safety-source-copy strong { overflow: hidden; color: var(--text-primary); font-family: var(--font-mono); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; } .download-safety-status { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; font-size: .64rem; font-weight: 800; white-space: nowrap; } .download-safety-status.is-trusted { color: #10b981; background: rgba(16,185,129,.12); } .download-safety-status.is-external { color: #f59e0b; background: rgba(245,158,11,.13); } .download-safety-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.16); box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent); } .download-safety-file { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; padding: 12px 2px 2px; } .download-safety-file strong { overflow: hidden; color: var(--text-primary); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; } .download-safety-detail { margin: 12px 0 18px; color: var(--text-secondary); font-size: .79rem; line-height: 1.55; } .download-safety-actions { display: grid; grid-template-columns: .76fr 1.24fr; gap: 10px; } .download-safety-actions button { min-height: 44px; border-radius: 12px; font: 700 .79rem var(--font-ui); cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; } .download-safety-actions button:hover { transform: translateY(-1px); } .download-safety-cancel { color: var(--text-secondary); background: transparent; border: 1px solid var(--border); } .download-safety-cancel:hover { color: var(--text-primary); border-color: var(--text-muted); } .download-safety-continue { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border: 0; box-shadow: 0 10px 22px var(--teal-xlight); } .download-safety-continue svg { width: 16px; height: 16px; } .download-safety-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--text-muted); font-size: .68rem; text-align: center; } .download-safety-footnote svg { width: 13px; height: 13px; flex: 0 0 auto; } @media (max-width: 480px) { .download-safety-panel { padding: 26px 20px 20px; } .download-safety-source { align-items: flex-start; } .download-safety-status { align-self: center; } .download-safety-status-label { display: none; } .download-safety-actions { grid-template-columns: 1fr; } .download-safety-continue { order: -1; } } .file-card.keyboard-focus, .list-row.keyboard-focus { border-color: var(--teal) !important; box-shadow: 0 0 0 2px var(--teal) !important; background: var(--teal-xlight) !important; } .select-mode-bar { flex-direction: column; gap: 10px; padding: 12px 16px; } .select-bar-top { display: flex; align-items: center; gap: 10px; width: 100%; flex-wrap: wrap; } .select-bar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; } .size-budget-row { width: 100%; display: flex; flex-direction: column; gap: 5px; } .size-budget-labels { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; } .size-budget-used { font-weight: 800; color: #fff; letter-spacing: 0.02em; } .size-budget-hint { color: rgba(255,255,255,0.65); font-size: 0.7rem; font-style: italic; } .size-budget-bar-track { width: 100%; height: 5px; background: rgba(255,255,255,0.2); border-radius: 99px; overflow: hidden; } .size-budget-bar-fill { width: 0%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55)); transition: width 0.4s cubic-bezier(0.4,0,0.2,1), background 0.3s ease; } .size-budget-bar-fill.warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); } .size-budget-bar-fill.danger { background: linear-gradient(90deg, #f87171, #ef4444); } @media (max-width: 480px) { .select-bar-top { gap: 6px; } .size-budget-hint { display: none; } } .auto-theme-chip { position: fixed; bottom: 80px; right: 20px; display: flex; align-items: center; gap: 7px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; color: #fff; background: rgba(30,30,50,0.88); -webkit--webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 9000; pointer-events: none; opacity: 0; transform: translateY(8px) scale(0.95); transition: opacity 0.35s ease, transform 0.35s ease; } .auto-theme-chip.show { opacity: 1; transform: translateY(0) scale(1); } .auto-theme-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; } .auto-theme-chip.day .auto-theme-chip-dot { color: #fbbf24; } .auto-theme-chip.night .auto-theme-chip-dot { color: #818cf8; } .did-you-mean-wrap { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2, rgba(99,102,241,0.08)); border: 1px solid var(--teal-xlight, rgba(99,102,241,0.18)); border-radius: 12px; margin-bottom: 10px; font-size: 0.82rem; color: var(--text-secondary); flex-wrap: wrap; animation: fadeSlideIn 0.3s ease both; } .did-you-mean-label { opacity: 0.75; white-space: nowrap; } .did-you-mean-suggestion { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; background: var(--teal); color: #fff; border-radius: 99px; font-weight: 700; font-size: 0.79rem; cursor: pointer; border: none; font-family: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; box-shadow: 0 2px 8px rgba(99,102,241,0.25); } .did-you-mean-suggestion:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,0.35); } .did-you-mean-suggestion svg { width: 12px; height: 12px; opacity: 0.85; } @keyframes fadeSlideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } } .new-files-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); color: #fff; border: 1px solid rgba(129,140,248,0.3); border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 14px; min-width: 280px; max-width: min(90vw, 420px); box-shadow: 0 8px 32px rgba(99,102,241,0.35), 0 2px 8px rgba(0,0,0,0.3); z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1); -webkit--webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } .new-files-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; } .new-files-toast-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(129,140,248,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; } .new-files-toast-body { flex: 1; min-width: 0; } .new-files-toast-title { font-weight: 800; font-size: 0.85rem; margin-bottom: 2px; letter-spacing: 0.01em; } .new-files-toast-sub { font-size: 0.73rem; color: rgba(255,255,255,0.65); line-height: 1.4; } .new-files-toast-close { background: transparent; border: none; color: rgba(255,255,255,0.5); cursor: pointer; padding: 4px; border-radius: 6px; line-height: 1; font-size: 16px; transition: color 0.15s; flex-shrink: 0; } .new-files-toast-close:hover { color: #fff; } .new-files-toast-badge { display: inline-block; background: rgba(129,140,248,0.25); border-radius: 99px; padding: 1px 7px; font-size: 0.68rem; font-weight: 800; color: #a5b4fc; margin-left: 4px; vertical-align: middle; } @media (max-width: 480px) { .new-files-toast { bottom: 16px; min-width: 0; width: calc(100vw - 32px); } } .context-menu { position: fixed; z-index: 10000; width: 200px; background: rgba(20, 24, 34, 0.85); -webkit--webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 6px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4); transform-origin: top left; transform: scale(0.95); opacity: 0; pointer-events: none; transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease; } .context-menu.show { transform: scale(1); opacity: 1; pointer-events: auto; } .context-menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; width: 100%; font-size: 0.85rem; font-weight: 500; color: var(--text-primary); background: transparent; border: none; border-radius: 6px; cursor: pointer; text-align: left; transition: background 0.15s ease, color 0.15s ease; } .context-menu-item svg { color: var(--text-secondary); transition: color 0.15s ease; } .context-menu-item:hover { background: var(--teal-xlight); color: var(--teal); } .context-menu-item:hover svg { color: var(--teal); } .context-menu-divider { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 4px 0; } .ptr-indicator { position: absolute; top: 10px; left: 50%; transform: translateX(-50%) translateY(-60px); width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; } .ptr-spinner { width: 24px; height: 24px; animation: ptr-rotate 2s linear infinite; stroke: var(--teal); display: none; } .ptr-spinner .path { stroke-dasharray: 1, 200; stroke-dashoffset: 0; animation: ptr-dash 1.5s ease-in-out infinite; stroke-linecap: round; } @keyframes ptr-rotate { 100% { transform: rotate(360deg); } } @keyframes ptr-dash { 0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; } 50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; } 100% { stroke-dasharray: 89, 200; stroke-dashoffset: -124px; } } .db-grid-container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-top: 24px; } @media (max-width: 900px) { .db-grid-container { grid-template-columns: 1fr; } } .db-grid-left { display: flex; flex-direction: column; gap: 24px; } .db-grid-right { display: flex; flex-direction: column; gap: 24px; } .db-card { background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04); } .dark-theme .db-card { background: rgba(18, 18, 18, 0.5); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); } .db-section-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--text-primary); } .db-account-card { display: flex; flex-direction: column; gap: 20px; } .db-account-info { display: flex; align-items: center; gap: 16px; } .db-account-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--folder-amber)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; } .db-account-info-text strong { display: block; font-size: 1.05rem; color: var(--text-primary); } .db-account-info-text span { font-size: 0.85rem; color: var(--text-secondary); } .db-activity-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 16px 0; color: var(--text-primary); } .db-activity-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; } .db-activity-item { display: flex; align-items: flex-start; gap: 12px; } .db-activity-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--teal-xlight); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .db-activity-icon svg { width: 16px; height: 16px; } .db-activity-text strong { display: block; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 2px; } .db-activity-text span { font-size: 0.8rem; color: var(--text-secondary); } .db-storage-card { background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(46, 204, 113, 0.05)); border: 1px solid rgba(99, 102, 241, 0.2); } .db-storage-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .db-storage-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--text-primary); } .db-storage-header span { font-size: 0.85rem; font-weight: 600; color: var(--teal); } .db-storage-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 12px; } .db-storage-progress { height: 100%; background: linear-gradient(90deg, var(--teal), var(--folder-amber)); border-radius: 4px; } .db-storage-card p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; } .db-btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-primary); padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.2s ease; width: 100%; } .db-btn-outline:hover { background: var(--surface); border-color: var(--text-secondary); } .dark-theme .db-btn-outline:hover { background: rgba(255, 255, 255, 0.05); } body.page-landing .page { display: none !important; } body.page-browse .hero { display: none !important; } .landing-sections { position: relative; z-index: 10; max-width: 1200px; margin: 0 auto; padding: 60px 24px 100px; display: flex; flex-direction: column; gap: 100px; } body.page-browse .landing-sections { display: none !important; } .section-container { display: flex; flex-direction: column; align-items: center; text-align: center; } .section-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 50px; color: var(--text-primary); } .section-title span { background: linear-gradient(135deg, var(--folder-amber), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; } .features-grid, .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; width: 100%; } .feature-card, .step-item { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px 24px; display: flex; flex-direction: column; align-items: center; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); } .feature-card::before, .step-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 60%); opacity: 0; transition: opacity 0.4s ease; pointer-events: none; } .feature-card:hover, .step-item:hover { transform: translateY(-10px); border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); } .feature-card:hover::before, .step-item:hover::before { opacity: 1; } .feature-icon { font-size: 3rem; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; background: rgba(255, 255, 255, 0.04); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.08); } .step-num { font-size: 2.5rem; font-weight: 900; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; background: linear-gradient(135deg, var(--folder-amber), var(--teal)); color: #fff; border-radius: 50%; box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4); } .feature-card h3, .step-item h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); } .feature-card p, .step-item p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); } body:not(.page-landing) .landing-sections { display: none !important; } .hero-cta-btn { display: inline-flex; align-items: center; background: var(--text-primary); color: var(--bg); padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .hero-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); opacity: 0.9; } .dashboard-wrap { max-width: 1000px; margin: 0 auto; padding-top: 100px; } .db-welcome { margin-bottom: 32px; text-align: center; } .db-welcome h2 { font-size: 2.2rem; font-weight: 800; background: linear-gradient(135deg, var(--text-primary), var(--text-secondary)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; } .db-welcome p { color: var(--text-secondary); font-size: 1.05rem; } .db-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; } .db-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .db-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); } .db-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .text-amber { color: var(--folder-amber); } .stat-group { display: flex; gap: 40px; } .stat-item { display: flex; flex-direction: column; } .stat-val { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1.1; } .stat-lbl { font-size: 0.85rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; } .db-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; } .db-card h3 { font-size: 1.25rem; font-weight: 700; } .budget-badge { font-family: var(--font-mono); font-size: 0.85rem; padding: 4px 10px; border-radius: 99px; background: var(--teal-xlight); color: var(--teal-light); font-weight: 700; } .budget-bar-track { height: 10px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin-bottom: 12px; } .budget-bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-light)); border-radius: 99px; box-shadow: var(--shadow-teal); } .budget-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; } .types-card h3 { margin-bottom: 20px; } .community-chart-card { } .types-list { display: flex; flex-direction: column; gap: 12px; } .type-item { display: flex; justify-content: space-between; align-items: center; } .type-badge { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; } .pdf-badge { background: rgba(239, 68, 68, 0.15); color: #ef4444; } .doc-badge { background: rgba(59, 130, 246, 0.15); color: #3b82f6; } .media-badge { background: rgba(16, 185, 129, 0.15); color: #10b981; } .other-badge { background: rgba(107, 114, 128, 0.15); color: #9ca3af; } .type-count { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; } .action-card { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08)); border-color: rgba(59, 130, 246, 0.2); cursor: pointer; } .action-card:hover { border-color: var(--teal); background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(99, 102, 241, 0.14)); } .action-card-content h3 { font-size: 1.4rem; background: linear-gradient(135deg, #fff, var(--teal-light)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 4px; } .action-card-content p { color: var(--text-secondary); font-size: 0.95rem; } .action-card-arrow { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--shadow-teal); } .action-card:hover .action-card-arrow { transform: translateX(6px); background: var(--teal-light); } @media (max-width: 768px) { .db-grid { grid-template-columns: 1fr; } .action-card { grid-column: span 1; } .dashboard-wrap { padding-top: 80px; } .db-welcome h2 { font-size: 1.8rem; } } :where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--teal-light, #60a5fa); outline-offset: 2px; border-radius: 6px; } .nav-burger { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius-sm, 12px); background: transparent; border: 1px solid transparent; color: var(--text-secondary, #a1a1aa); cursor: pointer; transition: var(--transition, .25s cubic-bezier(.4,0,.2,1)); } .nav-burger:hover { color: var(--text-primary, #fff); background: rgba(255,255,255,.06); } .nav-burger .ico-close { display: none; } body.nav-open .nav-burger .ico-menu { display: none; } body.nav-open .nav-burger .ico-close { display: block; } .drawer-backdrop { position: fixed; inset: 0; z-index: 998; background: rgba(5,5,10,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s ease; } .nav-drawer { position: fixed; top: 0; right: 0; z-index: 999; width: min(320px, 86vw); height: 100dvh; padding-bottom: env(safe-area-inset-bottom, 0); background: var(--surface-alt, #1a1a20); border-left: 1px solid var(--border, rgba(255,255,255,.08)); box-shadow: -24px 0 60px rgba(0,0,0,.5); transform: translateX(105%); transition: transform .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; } body.nav-open .drawer-backdrop { opacity: 1; pointer-events: auto; } body.nav-open .nav-drawer { transform: translateX(0); } .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--border, rgba(255,255,255,.08)); } .drawer-title { font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; color: var(--text-muted, #71717a); } .drawer-close { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: transparent; border: none; color: var(--text-secondary, #a1a1aa); cursor: pointer; transition: var(--transition, .25s cubic-bezier(.4,0,.2,1)); } .drawer-close:hover { color: var(--text-primary, #fff); background: rgba(255,255,255,.07); } .drawer-links { display: flex; flex-direction: column; gap: .15rem; padding: .8rem; } .drawer-sep { border: none; border-top: 1px solid var(--border, rgba(255,255,255,.08)); margin: .55rem .4rem; } .drawer-link { display: flex; align-items: center; gap: .75rem; min-height: 46px; padding: .6rem .85rem; border-radius: var(--radius-sm, 12px); background: transparent; border: none; color: var(--text-secondary, #a1a1aa); font: 600 .95rem var(--font-ui, 'Outfit', sans-serif); text-align: left; text-decoration: none; cursor: pointer; width: 100%; transition: var(--transition, .25s cubic-bezier(.4,0,.2,1)); } .drawer-link svg { flex-shrink: 0; } .drawer-link:hover { color: var(--text-primary, #fff); background: rgba(255,255,255,.05); } .drawer-link:active { transform: scale(.985); } .drawer-link[data-nav="dashboard"].active, .drawer-link[data-nav="browse"].active { color: var(--teal-light, #60a5fa); background: var(--teal-xlight, rgba(59,130,246,.15)); } .drawer-auth { margin-top: auto; color: var(--teal-light, #60a5fa) !important; } .drawer-links { padding-bottom: max(.8rem, env(safe-area-inset-bottom, 0)); } .drawer-auth { margin-top: .35rem; } #navDashBtn.active, #navBrowseBtn.active { color: var(--teal-light, #60a5fa); background: var(--teal-xlight, rgba(59,130,246,.15)); } @media (max-width: 920px) { .nav-burger { display: inline-flex; } .nav-links-desktop { display: none !important; } #navDashBtn, #navBrowseBtn, #optionsBtn, #dropdownBackdrop, #optionsDropdown { display: none !important; } .nav-center { display: none !important; } } @media (prefers-reduced-motion: reduce) { .nav-drawer, .drawer-backdrop { transition: none; } } .fv-footer { border-top: 1px solid var(--border, rgba(255,255,255,.08)); } .fv-footer-inner { max-width: 1200px; margin: 0 auto; padding: 2.8rem clamp(1.2rem, 4vw, 3rem) 2.2rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.4rem; align-items: start; } .fv-f-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-primary, #fff); text-decoration: none; font-size: 1.15rem; font-weight: 800; } .fv-f-logo svg { width: 28px; height: 28px; color: var(--teal, #3b82f6); } .fv-f-logo b { color: var(--teal-light, #60a5fa); } .fv-f-tag { margin-top: .9rem; color: var(--text-muted, #71717a); font-size: .92rem; line-height: 1.7; max-width: 26rem; } .fv-f-col h4 { margin: .25rem 0 .95rem; font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted, #71717a); } .fv-f-col ul { list-style: none; display: grid; gap: .55rem; } .fv-f-col a, .fv-f-btn { color: var(--text-secondary, #a1a1aa); text-decoration: none; font-size: .93rem; font-weight: 500; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; transition: color .16s ease; } .fv-f-col a:hover, .fv-f-btn:hover { color: var(--teal-light, #60a5fa); } .fv-f-bottom { border-top: 1px solid var(--border, rgba(255,255,255,.06)); text-align: center; padding: 1.15rem; color: var(--text-muted, #71717a); font-size: .84rem; } @media (max-width: 820px) { .fv-footer-inner { grid-template-columns: 1fr; gap: 1.9rem; padding-top: 2.2rem; } } .db-card-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; } .db-card-header h3 { margin: 0; } .live-badge { display: inline-flex; align-items: center; gap: .45rem; } .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: fvPulseDot 1.8s ease-in-out infinite; } @keyframes fvPulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.72); } } .quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .65rem; } .quick-tile { display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .65rem .8rem; border-radius: var(--radius-sm, 12px); background: rgba(255,255,255,.03); border: 1px solid var(--border, rgba(255,255,255,.08)); color: var(--text-secondary, #a1a1aa); font: 600 .88rem var(--font-ui, 'Outfit', sans-serif); text-decoration: none; transition: var(--transition, .25s cubic-bezier(.4,0,.2,1)); } .quick-tile svg { color: var(--folder-amber, #eab308); flex-shrink: 0; } .quick-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .quick-tile:hover { color: var(--text-primary, #fff); border-color: var(--border-hover, rgba(255,255,255,.2)); background: rgba(255,255,255,.055); transform: translateY(-2px); } .recent-list { list-style: none; display: grid; gap: .4rem; } .recent-list a { display: flex; align-items: center; gap: .7rem; min-height: 46px; padding: .55rem .75rem; border-radius: var(--radius-sm, 12px); color: var(--text-secondary, #a1a1aa); text-decoration: none; transition: var(--transition, .25s cubic-bezier(.4,0,.2,1)); } .recent-list a:hover { color: var(--text-primary, #fff); background: rgba(255,255,255,.045); } .recent-list a svg { flex-shrink: 0; opacity: .75; } .r-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .9rem; color: var(--text-primary, #fff); } .r-meta { flex-shrink: 0; font-size: .78rem; color: var(--text-muted, #71717a); } .db-empty { color: var(--text-muted, #71717a); font-size: .9rem; line-height: 1.6; padding: .4rem 0; } @media (max-width: 700px) { .quick-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } .r-meta { display: block; } .recent-list a { flex-wrap: wrap; row-gap: .15rem; } .recent-list a svg { display: none; } } @media (prefers-reduced-motion: reduce) { .live-badge i { animation: none; } .quick-tile:hover { transform: none; } } .nav-user-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--teal); background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--text-primary); font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; white-space: nowrap; } .db-welcome-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .db-name-edit-btn { background: none; border: 1px dashed var(--border); color: var(--text-muted); font-family: var(--font-hand); font-size: 0.95rem; padding: 1px 10px; border-radius: 99px; cursor: pointer; transition: var(--transition); } .db-name-edit-btn:hover { color: var(--teal); border-color: var(--teal); } .db-name-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } .db-name-form input { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-family: var(--font-ui); font-size: 0.88rem; padding: 7px 12px; min-width: 200px; } .db-name-form input:focus { outline: none; border-color: var(--teal); } .db-name-save, .db-name-cancel { border-radius: var(--radius-sm); padding: 7px 16px; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition); } .db-name-save { background: var(--teal); border: none; color: #fff; } .db-name-save:hover { background: var(--teal-light); } .db-name-cancel { background: transparent; border: 1.5px solid var(--border); color: var(--text-secondary); } .db-name-cancel:hover { border-color: var(--text-muted); } .budget-big { font-size: 1.9rem; font-weight: 700; font-family: var(--font-ui); color: var(--text-primary); margin: 6px 0 4px; } .db-subnote { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; } @media (prefers-reduced-motion: reduce) { .db-name-edit-btn, .db-name-save, .db-name-cancel { transition: none; } } .fv-progress-panel { position: fixed; right: 20px; bottom: 20px; z-index: 999999; max-width: min(360px, calc(100vw - 32px)); filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35)); } .fv-progress-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; color: var(--text-primary); font-family: var(--font-ui); } .fv-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; } .fv-progress-title { font-size: 0.9rem; font-weight: 600; } .fv-progress-track { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; } .fv-progress-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal-light), var(--teal)); transition: width 0.2s ease; } .fv-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; } .fv-progress-label { font-size: 0.78rem; color: var(--text-secondary); } .fv-progress-pct { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--teal); } .fv-progress-note { display: block; margin-top: 12px; font-size: 0.72rem; color: var(--text-muted); line-height: 1.4; } .fv-progress-success .fv-progress-fill { background: linear-gradient(90deg, #34d399, #10b981); } .fv-progress-success .fv-progress-title { color: currentColor; } @keyframes fvProgressPop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .fv-progress-card { animation: fvProgressPop 0.25s cubic-bezier(0.16, 1, 0.3, 1); } :focus-visible { outline: 2px solid var(--accent, #6366f1) !important; outline-offset: 3px !important; } button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--accent, #6366f1) !important; outline-offset: 2px !important; } @media (max-width: 768px) { button, .nav-link-item, .quick-tile, .drawer-link { min-height: 44px; } } .fv-toast-container { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: calc(100vw - 32px); } .fv-toast { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-family: var(--font-ui, 'Outfit', sans-serif); font-size: 0.88rem; font-weight: 600; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); animation: fvToastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); transition: opacity 0.25s ease, transform 0.25s ease; } .fv-toast-offline { background: rgba(30, 24, 18, 0.92); border: 1px solid rgba(245, 158, 11, 0.4); color: #fef3c7; } .fv-toast-online { background: rgba(15, 30, 24, 0.92); border: 1px solid rgba(16, 185, 129, 0.4); color: #d1fae5; } @keyframes fvToastSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } .fv-error-card { background: var(--surface, rgba(17, 20, 34, 0.75)); border: 1px solid rgba(239, 68, 68, 0.25); border-radius: var(--radius-lg, 16px); padding: 28px 24px; text-align: center; margin: 20px 0; } .fv-error-card h4 { color: #f87171; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; } .fv-error-card p { color: var(--text-secondary, #94a3b8); font-size: 0.88rem; margin-bottom: 18px; } .fv-retry-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--accent, #6366f1), #8b5cf6); color: #ffffff; border: none; border-radius: 10px; padding: 9px 20px; font-family: var(--font-ui, 'Outfit', sans-serif); font-size: 0.88rem; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3); transition: transform 0.16s ease, box-shadow 0.16s ease; } .fv-retry-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45); } #fvCrashModal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; background: rgba(7, 8, 16, 0.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 20px; } .fv-crash-card { background: var(--surface, #111422); border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 20px; max-width: 420px; width: 100%; padding: 32px 28px; text-align: center; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); } .fv-crash-card svg { width: 48px; height: 48px; color: #ef4444; margin-bottom: 16px; } .fv-crash-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-main, #f8fafc); margin-bottom: 8px; } .fv-crash-card p { font-size: 0.92rem; color: var(--text-secondary, #94a3b8); margin-bottom: 24px; line-height: 1.5; } .preview-modal .modal-content { background: var(--surface, #0f172a); border: 1px solid var(--border, rgba(255, 255, 255, 0.1)); border-radius: 16px; width: 92vw; max-width: 520px; height: auto; max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05); overflow: hidden; } .preview-modal .modal-header { padding: 16px 20px; border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08)); display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.02); } .preview-modal .modal-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary, #f8fafc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; margin-right: 12px; } .preview-modal .modal-close { background: transparent; border: none; color: var(--text-secondary, #94a3b8); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; } .preview-modal .modal-close:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary, #ffffff); } .preview-modal .modal-body { padding: 24px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto; max-height: calc(85vh - 70px); } .clean-file-modal-content { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 20px; } .pdf-front-page-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; padding: 8px 0; } .pdf-front-page-card { position: relative; background: #ffffff; border-radius: 8px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2), 4px 4px 0px 0px rgba(255, 255, 255, 0.08), 8px 8px 0px 0px rgba(255, 255, 255, 0.04); max-height: 360px; max-width: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform 0.2s ease; } .pdf-front-page-card:hover { transform: translateY(-2px); } .pdf-front-page-img { max-height: 360px; max-width: 100%; object-fit: contain; display: block; border-radius: 8px; } .pdf-thumb-loader { padding: 60px 30px; color: #475569; font-size: 0.88rem; font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 12px; } .image-modal-preview-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; } .clean-image-preview { max-height: 340px; max-width: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); } .file-type-card-wrapper { display: flex; align-items: center; justify-content: center; padding: 16px 0; } .file-type-card { width: 140px; height: 170px; background: var(--bg-alt, #1e293b); border: 1px solid var(--border, rgba(255, 255, 255, 0.1)); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 3px 3px 0 0 rgba(255, 255, 255, 0.05); position: relative; transition: transform 0.2s ease; } .file-type-card:hover { transform: translateY(-2px); } .file-type-icon-lg { display: flex; align-items: center; justify-content: center; color: var(--primary, #6366f1); } .file-type-icon-lg svg { width: 48px; height: 48px; } .file-type-badge-pill { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 6px; background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); } .file-type-card.pdf-badge .file-type-badge-pill { background: rgba(239, 68, 68, 0.15); color: #f87171; border-color: rgba(239, 68, 68, 0.3); } .file-type-card.doc-badge .file-type-badge-pill { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); } .file-type-card.xls-badge .file-type-badge-pill { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); } .file-type-card.ppt-badge .file-type-badge-pill { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border-color: rgba(245, 158, 11, 0.3); } .file-modal-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; } .file-modal-typename { font-size: 0.9rem; font-weight: 600; color: var(--text-primary, #f1f5f9); } .file-modal-size { font-size: 0.8rem; color: var(--text-secondary, #94a3b8); } .file-modal-download-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 280px; padding: 12px 24px; background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); color: #ffffff; font-size: 0.95rem; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); } .file-modal-download-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%); } .file-modal-download-btn:active { transform: translateY(0); } @media (max-width: 640px) { .preview-modal .modal-content { width: 95vw; max-height: 90vh; border-radius: 14px; } .pdf-front-page-card { max-height: 270px; max-width: 210px; } .pdf-front-page-img { max-height: 270px; } .clean-image-preview { max-height: 250px; } .file-modal-download-btn { max-width: 100%; padding: 13px 20px; } }