* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-tap-highlight-color: transparent; outline: none; } :root { --bg-window: rgb(245, 245, 247); --bg-nav: rgb(255, 255, 255); --bg-panel: rgb(255, 255, 255); --bg-hover: rgba(0, 0, 0, 0.05); --text-primary: rgb(29, 29, 31); --text-secondary: rgb(134, 134, 139); --text-on-accent: rgb(255, 255, 255); --border-color: rgb(210, 210, 215); --accent-color: rgb(0, 122, 255); --accent-alpha: rgba(0, 122, 255, 0.1); --accent-shadow: rgba(0, 122, 255, 0.2); --accent-hover: rgba(0, 122, 255, 0.3); --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.04); } body { background-color: transparent; margin: 0; padding: 0; width: 100vw; height: 100vh; overflow: hidden; display: flex; justify-content: center; align-items: center; color: var(--text-primary); } .app-container { width: 100vw; height: 100vh; display: flex; flex-direction: column; overflow: hidden; background-color: var(--bg-window); } .navigate-window { height: 44px; background-color: var(--bg-nav); display: flex; justify-content: space-between; align-items: center; padding: 0 10px 0 20px; border-bottom: 1px solid var(--border-color); transition: background-color 0.3s; } .navigate-title { font-size: 17px; font-weight: 600; letter-spacing: -0.2px; } .window-controls { display: flex; gap: 4px; -webkit-app-region: no-drag; } .ctrl-btn { width: 46px; height: 32px; border: none; background: transparent; border-radius: 6px; cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background-color 0.15s; color: var(--text-secondary); } .ctrl-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); } #close_button:hover { background-color: #ff3b30; color: var(--text-on-accent); } .theme-svg { width: 16px; height: 16px; } .main-layout { display: flex; height: calc(100% - 44px); } .options-window { width: 64px; background-color: var(--bg-nav); display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 12px; border-right: 1px solid var(--border-color); transition: background-color 0.3s; } .nav-btn { width: 44px; height: 44px; border: none; background: transparent; border-radius: 10px; cursor: pointer; display: flex; justify-content: center; align-items: center; color: var(--text-secondary); transition: all 0.2s; position: relative; } .nav-btn svg { width: 22px; height: 22px; } .nav-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); } .nav-btn.active { background-color: var(--accent-alpha); color: var(--accent-color); } .spacer { flex-grow: 1; } .content-window { flex-grow: 1; position: relative; overflow: hidden; } .page { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 28px 32px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s ease, transform 0.25s ease; display: flex; flex-direction: column; } .page.active { opacity: 1; visibility: visible; transform: translateY(0); } .state-widget { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; color: var(--accent-color); } .state-title { font-size: 24px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.5px; } .log-widget { flex-grow: 1; margin-top: 20px; } .license-widget { flex-grow: 1; } .log-text, .license-text { width: 100%; height: 100%; border: 1px solid var(--border-color); border-radius: 12px; background-color: var(--bg-panel); color: var(--text-primary); resize: none; padding: 16px; font-size: 13px; line-height: 1.6; white-space: pre; overflow-x: auto; } .progress-widget { height: 70px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 16px; } .header-group { flex: 1; min-width: 0; } .header-group h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; white-space: nowrap; } .header-group p { font-size: 14px; color: var(--text-secondary); margin-top: 4px; white-space: nowrap; overflow-x: auto; padding-bottom: 4px; } .modern-action-group { display: flex; gap: 12px; align-items: center; flex-shrink: 0; } .modern-select { appearance: none; } .modern-select:hover, .modern-select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2); } .modern-btn { padding: 8px 20px; border: 1px solid var(--border-color); border-radius: 10px; background-color: transparent; color: var(--text-primary); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; } .modern-btn:hover { background-color: var(--bg-hover); } .primary-btn { background-color: var(--accent-color); color: var(--text-on-accent); border: none; box-shadow: 0 2px 4px var(--accent-shadow); } .primary-btn:hover { box-shadow: 0 4px 8px var(--accent-hover); transform: translateY(-1px); background-color: var(--accent-color); opacity: 0.95; } .primary-btn:active { transform: translateY(0); opacity: 0.8; } .danger-btn { color: #ff3b30; border-color: #ff3b30; } .danger-btn:hover { background-color: rgba(255, 59, 48, 0.1); } .hidden { display: none !important; } .scan-content { flex-grow: 1; min-height: 0; display: flex; flex-direction: column; } .virus-widget { width: 100%; flex-grow: 1; min-height: 0; border: 1px solid var(--border-color); border-radius: 12px; background-color: var(--bg-panel); overflow-y: auto; overflow-x: auto; } .virus-list { list-style: none; padding: 0; margin: 0; min-width: max-content; } .list-widget { display: flex; flex-direction: column; height: 100%; overflow-y: auto; padding-right: 12px; gap: 12px; } .list-item { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-radius: 16px; background-color: var(--bg-panel); border: 1px solid var(--border-color); transition: background-color 0.2s; gap: 16px; } .item-icon { width: 40px; height: 40px; flex: 0 0 40px; stroke-width: 1.5; color: var(--accent-color); pointer-events: none; } .item-icon-compact { transform: scale(0.9); } .item-icon-repair { transform: translateX(2px) scale(1.1); } .item-icon ~ :is(.toggle-switch, .icon-action-btn) { flex-shrink: 0; } .item-info { flex: 1; min-width: 0; overflow-x: auto; padding-bottom: 2px; } .list-item[data-target]:hover, .list-item[data-action]:hover, #about_window .list-item:is(:hover, :focus-within) { background-color: var(--bg-hover); } .item-info h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; white-space: nowrap; } .item-info p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; white-space: nowrap; } .toggle-switch { position: relative; display: inline-block; width: 50px; height: 28px; } .toggle-switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border-color); transition: .3s; border-radius: 28px; } .slider:before { position: absolute; content: ""; height: 24px; width: 24px; left: 2px; bottom: 2px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .toggle-switch input:checked + .slider { background-color: var(--accent-color); } .toggle-switch input:checked + .slider:before { transform: translateX(22px); } .icon-action-btn { width: 32px; height: 32px; border-radius: 8px; border: none; background-color: transparent; color: var(--text-secondary); cursor: pointer; display: flex; justify-content: center; align-items: center; transition: background-color 0.2s; } .icon-action-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); } .icon-action-btn svg { width: 20px; height: 20px; } .sub-header-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; width: 100%; } .sub-header-toolbar h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.5px; white-space: nowrap; } .icon-btn { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 6px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; } .icon-btn:hover { background-color: var(--bg-hover); color: var(--text-primary); } .icon-btn svg { width: 24px; height: 24px; } .search-box { display: flex; align-items: center; background-color: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 10px; padding: 0 14px; width: 200px; transition: border-color 0.2s, box-shadow 0.2s; } .search-box:focus-within { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-shadow); } .search-box svg { width: 18px; height: 18px; color: var(--text-secondary); } .search-box input { border: none; background: transparent; color: var(--text-primary); padding: 10px; outline: none; width: 100%; font-size: 14px; } .flex-grow { flex-grow: 1; min-height: 0; } .manage-widget { border: 1px solid var(--border-color); border-radius: 12px; background-color: var(--bg-panel); overflow-y: auto; overflow-x: auto; } .manage-list { list-style: none; padding: 0; margin: 0; min-width: max-content; } .manage-list-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-color); transition: background-color 0.2s; } .manage-list-item:last-child { border-bottom: none; } .manage-list-item:hover { background-color: var(--bg-hover); } .manage-list-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-color); cursor: pointer; flex-shrink: 0; } .manage-list-item-content { flex-grow: 1; min-width: 0; font-size: 14px; color: var(--text-primary); white-space: nowrap; } .custom-select-wrapper { position: relative; min-width: 100px; display: inline-grid; vertical-align: middle; user-select: none; } select.hidden + .custom-select-wrapper { display: none !important; } .custom-select-trigger { grid-area: 1 / 1; display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--border-color); background-color: var(--bg-panel); color: var(--text-primary); font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; gap: 12px; box-sizing: border-box; } .custom-select-phantom { grid-area: 1 / 1; visibility: hidden; pointer-events: none; display: grid; padding: 8px 16px; font-size: 14px; font-weight: 500; box-sizing: border-box; } .custom-select-phantom span { grid-area: 1 / 1; white-space: nowrap; padding-right: 28px; } .custom-select-wrapper.open .custom-select-trigger, .custom-select-trigger:hover { border-color: var(--accent-color); box-shadow: 0 0 0 2px var(--accent-shadow); } .custom-select-icon { display: flex; align-items: center; color: var(--text-secondary); transition: transform 0.3s ease; } .custom-select-wrapper.open .custom-select-icon { transform: rotate(180deg); } .custom-select-icon svg { width: 16px; height: 16px; } .custom-select-options { position: fixed; display: none; width: max-content; background-color: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 10px; box-shadow: var(--shadow-sm); z-index: 1000; list-style: none; margin: 0; padding: 6px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; overflow-wrap: anywhere; } .custom-select-options.open { display: block; } @media (prefers-reduced-motion: no-preference) { .custom-select-options.open { animation: select-options-enter 160ms ease-out; } @keyframes select-options-enter { from { opacity: 0; transform: translateY(var(--select-enter-offset)); } to { opacity: 1; transform: translateY(0); } } } .custom-select-option { padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--text-primary); transition: background-color 0.2s, color 0.2s; text-align: center; } .custom-select-option:hover { background-color: var(--bg-hover); } .custom-select-option.selected { background-color: var(--accent-alpha); color: var(--accent-color); font-weight: 600; } .home-top-widget { display: flex; align-items: center; height: 200px; gap: 24px; width: 100%; } .quick-actions { flex: 0 0 calc(50% + 40px); min-width: 0; display: flex; flex-direction: column; gap: 12px; height: 100%; justify-content: center; } .quick-actions .list-item { gap: 12px; } #loading_overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #e0e0e0; display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.4s ease, visibility 0.4s ease; } #loading_overlay.fade-out { opacity: 0; visibility: hidden; } #loading_overlay.startup-error { padding: 28px; background-color: #f5f5f7; color: #1d1d1f; } .startup-error-box { max-width: 520px; padding: 24px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; background: #ffffff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); } .startup-error-box h1 { margin: 0 0 10px; font-size: 18px; font-weight: 700; } .startup-error-box p { margin: 0; font-size: 13px; line-height: 1.6; color: #515154; word-break: break-word; } .spinner { animation: rotate 2s linear infinite; width: 50px; height: 50px; } .spinner .path { stroke: #86868b; stroke-linecap: round; animation: dash 1.5s ease-in-out infinite; } @keyframes rotate { 100% { transform: rotate(360deg); } } @keyframes dash { 0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; } 50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; } 100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; } } .app-container.fade-in { opacity: 1 !important; } .manage-list-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border-color); background-color: var(--bg-panel); font-weight: 600; font-size: 13px; color: var(--text-secondary); position: sticky; top: 0; z-index: 10; } .manage-list-header input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-color); cursor: pointer; flex-shrink: 0; } .header-cols-container, .manage-list-item-content { display: flex; flex-grow: 1; min-width: 0; gap: 16px; align-items: center; } .col-header { position: relative; cursor: pointer; display: flex; align-items: center; padding: 0 8px; border-right: 1px solid var(--border-color); background-color: var(--bg-panel); user-select: none; -webkit-user-select: none; } .col-header:last-child { border-right: none; } .header-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-grow: 1; } .manage-list-header, .col-header, .col-resizer { user-select: none; -webkit-user-select: none; } .col-resizer { position: absolute; right: -5px; top: 0; bottom: 0; width: 10px; cursor: col-resize; z-index: 10; background-color: transparent !important; } .col-resizer::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background-color: transparent; transition: background-color 0.2s; } .col-resizer:hover::after, .col-resizer.resizing::after { background-color: var(--text-secondary) !important; opacity: 0.6; } body.resizing-active, body.resizing-active * { user-select: none !important; -webkit-user-select: none !important; cursor: col-resize !important; } .col-resizer:hover { background-color: var(--accent-color); opacity: 0.5; } .col-header:hover { color: var(--text-primary); } .sort-icon { font-size: 10px; margin-left: 4px; color: var(--accent-color); width: 12px; } .row-col { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--text-primary); } .custom-context-menu { position: absolute; z-index: 10000; background-color: var(--bg-panel); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); padding: 4px; display: none; min-width: 160px; } .custom-context-menu.show { display: block; } .custom-context-menu-item { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-size: 13px; color: var(--text-primary); transition: background-color 0.2s; } .custom-context-menu-item:hover { background-color: var(--bg-hover); } .custom-context-menu-item svg { width: 16px; height: 16px; color: var(--text-secondary); } ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); } @media (prefers-reduced-motion: no-preference) { :is(.nav-btn, .icon-action-btn, .icon-btn, .ctrl-btn, .search-box) > svg { transform-origin: center; transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); } :is(.nav-btn, .icon-action-btn):not(:disabled):is(:hover, :focus-visible) > svg { transform: scale(1.08); } .list-item:is(:hover, :focus-within) > .icon-action-btn:not(:disabled) > svg { transform: translateX(3px); } .icon-btn[data-target]:not(:disabled):is(:hover, :focus-visible) > svg { transform: translateX(-3px); } .ctrl-btn:not(:disabled):is(:hover, :focus-visible) > svg { transform: scale(1.1); } .search-box:focus-within > svg { transform: rotate(-8deg) scale(1.08); } :is(.nav-btn, .ctrl-btn, .icon-action-btn):not(:disabled):active > svg, .icon-btn[data-target]:not(:disabled):active > svg, .list-item:active > .icon-action-btn:not(:disabled) > svg { transform: scale(0.92); transition-duration: 100ms; } .app-container.fade-in #home_window.active .state-icon > polyline { animation: pyas-check-draw 300ms ease-in backwards; } @keyframes pyas-check-draw { from { stroke-dasharray: 12 12; stroke-dashoffset: 12; } to { stroke-dasharray: 12 12; stroke-dashoffset: 0; } } }