#wp-root { position: fixed; inset: 0; z-index: 9999999; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); font-family: var(--font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif); animation: wp-fade-in 0.2s ease-out; }
#wp-sheet { background: var(--card, #18181f); border-radius: 20px; width: 100%; max-width: 400px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: wp-fade-up 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
#wp-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 12px; }
#wp-title { color: var(--text, #fff); font-size: 18px; font-weight: 600; margin: 0; }
#wp-close { background: none; border: none; color: var(--text-3, #888); cursor: pointer; padding: 4px; }
#wp-main { flex: 1; overflow-y: auto; padding: 0 24px 24px; }
/* Кастомный скроллбар */
#wp-main::-webkit-scrollbar { width: 4px; }
#wp-main::-webkit-scrollbar-track { background: transparent; }
#wp-main::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 4px; }
#wp-main::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }

#wp-grid { display: flex; flex-direction: column; gap: 8px; }
.wp-compact { display: flex; align-items: center; height: 64px; padding: 0 16px; background: var(--surface, #262633); border-radius: 12px; cursor: pointer; transition: background 0.2s; border: none; width: 100%; text-align: left; }
.wp-compact:hover { background: var(--surface-2, #303042); }
.wp-compact-icon-wrap { position: relative; width: 44px; height: 44px; margin-right: 12px; flex-shrink: 0; }
.wp-compact-icon-main { width: 44px; height: 44px; border-radius: 50% !important; object-fit: contain !important; padding: 4px !important; background: transparent; box-sizing: border-box; border: none !important; outline: none !important; box-shadow: none !important; }
.wp-compact-icon-sub { position: absolute; bottom: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50% !important; background: var(--surface, #262633); padding: 2px; border: 2px solid var(--card, #1e1e24) !important; object-fit: contain !important; box-sizing: border-box; outline: none !important; box-shadow: none !important; }
.wp-compact-name { color: #e8eaf0 !important; font-size: 16px !important; font-weight: 500 !important; flex: 1; letter-spacing: 0.2px; }
.wp-compact-arrow { width: 6px; height: 6px; border-right: 2px solid var(--text-3, #888); border-bottom: 2px solid var(--text-3, #888); transform: rotate(-45deg); }
@media (max-width: 768px) { .wp-compact-arrow { display: none; } .wp-compact { -webkit-tap-highlight-color: transparent; } .wp-compact:hover { background: var(--surface, #262633); } }
@keyframes wp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes wp-fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }